@0x/types
- Version 3.3.7
- Published
- 94.7 kB
- 3 dependencies
- Apache-2.0 license
Install
npm i @0x/types
yarn add @0x/types
pnpm add @0x/types
Overview
0x types
Index
Interfaces
Enums
ExchangeContractErrs
- BatchOrdersMustHaveAtLeastOneItem
- BatchOrdersMustHaveSameExchangeAddress
- FillBalanceAllowanceError
- InsufficientMakerAllowance
- InsufficientMakerBalance
- InsufficientMakerFeeAllowance
- InsufficientMakerFeeBalance
- InsufficientRemainingFillAmount
- InsufficientTakerAllowance
- InsufficientTakerBalance
- InsufficientTakerFeeAllowance
- InsufficientTakerFeeBalance
- MultipleMakersInSingleCancelBatchDisallowed
- MultipleTakerTokensInFillUpToDisallowed
- OrderCancelExpired
- OrderCancelled
- OrderFillAmountZero
- OrderFillExpired
- OrderFillRoundingError
- OrderRemainingFillAmountZero
- TransactionSenderIsNotFillOrderTaker
RevertReason
- AmountEqualToOneRequired
- ApprovalExpired
- AssetProxyAlreadyExists
- AssetProxyDoesNotExist
- AtLeastOneAddressDoesNotMeetBalanceThreshold
- AuctionExpired
- AuctionInvalidAmount
- AuctionInvalidBeginTime
- AuctionNotStarted
- AuthorizedAddressMismatch
- BadReceiverReturnValue
- BalanceQueryFailed
- CannotTransferToAddressZero
- ChaiBridgeDrawDaiFailed
- ChaiBridgeOnlyCallableByErc20BridgeProxy
- CompleteFillFailed
- CustomTimeLockIncomplete
- DefaultTimeLockIncomplete
- DivisionByZero
- DydxBridgeOnlyCallableByErc20BridgeProxy
- DydxBridgeUnrecognizedBridgeAction
- EqualLengthsRequired
- Erc20InsufficientAllowance
- Erc20InsufficientBalance
- Erc721InvalidSelector
- Erc721InvalidSpender
- Erc721OwnerMismatch
- Erc721ZeroOwner
- Erc721ZeroToAddress
- FailedExecution
- FeePercentageTooLarge
- FromLessThanToRequired
- IndexOutOfBounds
- InsufficientAllowance
- InsufficientEthRemaining
- InsufficientFunds
- InvalidAmount
- InvalidApprovalSignature
- InvalidAssetData
- InvalidAssetDataEnd
- InvalidAssetDataLength
- InvalidAssetProxy
- InvalidDataOffset
- InvalidFillPrice
- InvalidFreeMemoryPtr
- InvalidFunctionSelector
- InvalidIdsOffset
- InvalidMaker
- InvalidMsgValue
- InvalidNewOrderEpoch
- InvalidOrBlockedExchangeSelector
- InvalidOrderSignature
- InvalidOrigin
- InvalidSender
- InvalidSignature
- InvalidStaticCallDataOffset
- InvalidTaker
- InvalidTakerAmount
- InvalidTxHash
- InvalidTxSignature
- InvalidValuesOffset
- Length0Required
- Length65Required
- LengthGreaterThan0Required
- LengthGreaterThan131Required
- LengthGreaterThan3Required
- LengthMismatch
- LibBytesGreaterOrEqualTo20LengthRequired
- LibBytesGreaterOrEqualTo32LengthRequired
- LibBytesGreaterOrEqualTo4LengthRequired
- LibBytesGreaterOrEqualToNestedBytesLengthRequired
- LibBytesGreaterOrEqualToSourceBytesLengthRequired
- LibBytesGreaterThanZeroLengthRequired
- MakerNotWhitelisted
- NegativeSpreadRequired
- NFTNotOwnedByFromAddress
- OnlyCallableByWallet
- OnlyContractOwner
- OrderOverfill
- OrderUnfillable
- OwnersAndIdsMustHaveSameLength
- ReentrancyIllegal
- RoundingError
- SenderNotAuthorized
- SignatureIllegal
- SignatureInvalid
- SignatureUnsupported
- TakerNotWhitelisted
- TakerOverpay
- TargetAlreadyAuthorized
- TargetNotAuthorized
- TargetNotEven
- TimeLockIncomplete
- TokenAndValuesLengthMismatch
- ToLessThanLengthRequired
- TransferFailed
- TransferRejected
- TransfersSuccessful
- TriedToMintFungibleForNonFungibleToken
- TriedToMintNonFungibleForFungibleToken
- TxAlreadyExecuted
- TxFullyConfirmed
- TxNotFullyConfirmed
- Uint256Overflow
- Uint256Underflow
- UnexpectedStaticCallResult
- UnregisteredAssetProxy
- ValidatorError
- ValueGreaterThanZero
- WalletError
Type Aliases
Interfaces
interface APIOrder
interface APIOrder {}
interface Artifact
interface Artifact {}
property abi
abi: ContractAbi;
property chains
chains: { [chainId: number]: { address: string; };};
property contract_name
contract_name: ArtifactContractName;
interface Asset
interface Asset {}
interface AssetPairsItem
interface AssetPairsItem {}
property assetDataA
assetDataA: Asset;
property assetDataB
assetDataB: Asset;
interface AssetPairsRequestOpts
interface AssetPairsRequestOpts {}
property assetDataA
assetDataA?: string;
property assetDataB
assetDataB?: string;
interface BaseFunction
interface BaseFunction {}
property comment
comment?: string;
property name
name: string;
property parameters
parameters: Parameter[];
property returnComment
returnComment?: string | undefined;
property returnType
returnType: Type;
interface BaseMethod
interface BaseMethod {}
property callPath
callPath: string;
property comment
comment?: string;
property isConstructor
isConstructor: boolean;
property name
name: string;
property parameters
parameters: Parameter[];
property returnComment
returnComment?: string | undefined;
property returnType
returnType: Type;
interface BatchMatchedFillResults
interface BatchMatchedFillResults {}
property left
left: FillResults[];
property profitInLeftMakerAsset
profitInLeftMakerAsset: BigNumber;
property profitInRightMakerAsset
profitInRightMakerAsset: BigNumber;
property right
right: FillResults[];
interface CustomType
interface CustomType {}
property children
children?: CustomTypeChild[];
property comment
comment?: string;
property defaultValue
defaultValue?: string;
property indexSignature
indexSignature?: IndexSignature;
property kindString
kindString: string;
property method
method?: TypescriptMethod;
property name
name: string;
property type
type?: Type;
interface CustomTypeChild
interface CustomTypeChild {}
interface DecodedLogEvent
interface DecodedLogEvent<ArgsType extends DecodedLogArgs> {}
interface DocAgnosticFormat
interface DocAgnosticFormat {}
index signature
[sectionName: string]: DocSection;
interface DocSection
interface DocSection {}
property comment
comment: string;
property constructors
constructors: Array<TypescriptMethod | SolidityMethod>;
property events
events?: Event[];
property externalExportToLink
externalExportToLink?: ExternalExportToLink;
property functions
functions: TypescriptFunction[];
property methods
methods: Array<TypescriptMethod | SolidityMethod>;
property properties
properties: Property[];
property types
types: CustomType[];
interface DutchAuctionData
interface DutchAuctionData {}
property assetData
assetData: AssetData;
property beginAmount
beginAmount: BigNumber;
property beginTimeSeconds
beginTimeSeconds: BigNumber;
interface DutchAuctionDetails
interface DutchAuctionDetails {}
property beginAmount
beginAmount: BigNumber;
property beginTimeSeconds
beginTimeSeconds: BigNumber;
property currentAmount
currentAmount: BigNumber;
property currentTimeSeconds
currentTimeSeconds: BigNumber;
property endAmount
endAmount: BigNumber;
property endTimeSeconds
endTimeSeconds: BigNumber;
interface ECSignature
interface ECSignature {}
Elliptic Curve signature
interface EIP712DomainWithDefaultSchema
interface EIP712DomainWithDefaultSchema {}
property chainId
chainId: number;
property name
name?: string;
property verifyingContract
verifyingContract: string;
property version
version?: string;
interface EIP712Object
interface EIP712Object {}
index signature
[key: string]: EIP712ObjectValue;
interface EIP712Parameter
interface EIP712Parameter {}
interface EIP712TypedData
interface EIP712TypedData {}
property domain
domain: EIP712Object;
property message
message: EIP712Object;
property primaryType
primaryType: string;
property types
types: EIP712Types;
interface EIP712Types
interface EIP712Types {}
index signature
[key: string]: EIP712Parameter[];
interface ElementType
interface ElementType {}
property name
name: string;
property typeDocType
typeDocType: TypeDocTypes;
interface ERC1155AssetData
interface ERC1155AssetData {}
property assetProxyId
assetProxyId: string;
property callbackData
callbackData: string;
property tokenAddress
tokenAddress: string;
property tokenIds
tokenIds: BigNumber[];
property tokenValues
tokenValues: BigNumber[];
interface ERC1155AssetDataNoProxyId
interface ERC1155AssetDataNoProxyId {}
property callbackData
callbackData: string;
property tokenAddress
tokenAddress: string;
property tokenIds
tokenIds: BigNumber[];
property tokenValues
tokenValues: BigNumber[];
interface ERC20AssetData
interface ERC20AssetData {}
property assetProxyId
assetProxyId: string;
property tokenAddress
tokenAddress: string;
interface ERC20BridgeAssetData
interface ERC20BridgeAssetData {}
property assetProxyId
assetProxyId: string;
property bridgeAddress
bridgeAddress: string;
property bridgeData
bridgeData: string;
property tokenAddress
tokenAddress: string;
interface ERC721AssetData
interface ERC721AssetData {}
property assetProxyId
assetProxyId: string;
property tokenAddress
tokenAddress: string;
property tokenId
tokenId: BigNumber;
interface EventArg
interface EventArg {}
interface ExchangeProxyMetaTransaction
interface ExchangeProxyMetaTransaction {}
Exchange Proxy meta transaction struct.
property callData
callData: string;
property domain
domain: EIP712DomainWithDefaultSchema;
property expirationTimeSeconds
expirationTimeSeconds: BigNumber;
property feeAmount
feeAmount: BigNumber;
property feeToken
feeToken: string;
property maxGasPrice
maxGasPrice: BigNumber;
property minGasPrice
minGasPrice: BigNumber;
property salt
salt: BigNumber;
property sender
sender: string;
property signer
signer: string;
property value
value: BigNumber;
interface ExportNameToTypedocNames
interface ExportNameToTypedocNames {}
index signature
[exportName: string]: string[];
interface ExternalExportToLink
interface ExternalExportToLink {}
index signature
[externalExport: string]: string;
interface ExternalTypeToLink
interface ExternalTypeToLink {}
index signature
[externalTypeName: string]: string;
interface FillResults
interface FillResults {}
property makerAssetFilledAmount
makerAssetFilledAmount: BigNumber;
property makerFeePaid
makerFeePaid: BigNumber;
property protocolFeePaid
protocolFeePaid: BigNumber;
property takerAssetFilledAmount
takerAssetFilledAmount: BigNumber;
property takerFeePaid
takerFeePaid: BigNumber;
interface GeneratedDocJson
interface GeneratedDocJson {}
property metadata
metadata: Metadata;
property typedocJson
typedocJson: TypeDocNode;
property version
version: string;
interface IndexedFilterValues
interface IndexedFilterValues {}
index signature
[index: string]: ContractEventArg;
interface IndexSignature
interface IndexSignature {}
interface MatchedFillResults
interface MatchedFillResults {}
property left
left: FillResults;
property profitInLeftMakerAsset
profitInLeftMakerAsset: BigNumber;
property profitInRightMakerAsset
profitInRightMakerAsset: BigNumber;
property right
right: FillResults;
interface Metadata
interface Metadata {}
property exportPathOrder
exportPathOrder: string[];
property exportPathToTypedocNames
exportPathToTypedocNames: ExportNameToTypedocNames;
property externalExportToLink
externalExportToLink: ExternalExportToLink;
property externalTypeToLink
externalTypeToLink: ExternalTypeToLink;
interface MultiAssetData
interface MultiAssetData {}
property amounts
amounts: BigNumber[];
property assetProxyId
assetProxyId: string;
property nestedAssetData
nestedAssetData: string[];
interface MultiAssetDataWithRecursiveDecoding
interface MultiAssetDataWithRecursiveDecoding {}
property amounts
amounts: BigNumber[];
property assetProxyId
assetProxyId: string;
property nestedAssetData
nestedAssetData: SingleAssetData[];
interface ObjectMap
interface ObjectMap<T> {}
index signature
[key: string]: T;
interface Order
interface Order {}
property chainId
chainId: number;
property exchangeAddress
exchangeAddress: string;
property expirationTimeSeconds
expirationTimeSeconds: BigNumber;
property feeRecipientAddress
feeRecipientAddress: string;
property makerAddress
makerAddress: string;
property makerAssetAmount
makerAssetAmount: BigNumber;
property makerAssetData
makerAssetData: string;
property makerFee
makerFee: BigNumber;
property makerFeeAssetData
makerFeeAssetData: string;
property salt
salt: BigNumber;
property senderAddress
senderAddress: string;
property takerAddress
takerAddress: string;
property takerAssetAmount
takerAssetAmount: BigNumber;
property takerAssetData
takerAssetData: string;
property takerFee
takerFee: BigNumber;
property takerFeeAssetData
takerFeeAssetData: string;
interface OrderbookRequest
interface OrderbookRequest {}
property baseAssetData
baseAssetData: string;
property quoteAssetData
quoteAssetData: string;
interface OrderbookResponse
interface OrderbookResponse {}
interface OrderConfigRequest
interface OrderConfigRequest {}
property exchangeAddress
exchangeAddress: string;
property expirationTimeSeconds
expirationTimeSeconds: BigNumber;
property makerAddress
makerAddress: string;
property makerAssetAmount
makerAssetAmount: BigNumber;
property makerAssetData
makerAssetData: string;
property takerAddress
takerAddress: string;
property takerAssetAmount
takerAssetAmount: BigNumber;
property takerAssetData
takerAssetData: string;
interface OrderConfigResponse
interface OrderConfigResponse {}
property feeRecipientAddress
feeRecipientAddress: string;
property makerFee
makerFee: BigNumber;
property makerFeeAssetData
makerFeeAssetData: string;
property senderAddress
senderAddress: string;
property takerFee
takerFee: BigNumber;
property takerFeeAssetData
takerFeeAssetData: string;
interface OrderInfo
interface OrderInfo {}
property orderHash
orderHash: string;
property orderStatus
orderStatus: number;
property orderTakerAssetFilledAmount
orderTakerAssetFilledAmount: BigNumber;
interface OrderRelevantState
interface OrderRelevantState {}
property filledTakerAssetAmount
filledTakerAssetAmount: BigNumber;
property makerBalance
makerBalance: BigNumber;
property makerFeeBalance
makerFeeBalance: BigNumber;
property makerFeeProxyAllowance
makerFeeProxyAllowance: BigNumber;
property makerIndividualBalances
makerIndividualBalances: ObjectMap<BigNumber>;
property makerIndividualProxyAllowances
makerIndividualProxyAllowances: ObjectMap<BigNumber>;
property makerProxyAllowance
makerProxyAllowance: BigNumber;
property remainingFillableMakerAssetAmount
remainingFillableMakerAssetAmount: BigNumber;
property remainingFillableTakerAssetAmount
remainingFillableTakerAssetAmount: BigNumber;
interface OrdersChannelSubscriptionOpts
interface OrdersChannelSubscriptionOpts {}
makerAssetData: Subscribes to new orders with the specified
makerAssetData
takerAssetData: subscribes to new orders with the specifiedtakerAssetData
traderAssetData: subscribes to new orders where eithermakerAssetData
ortakerAssetData
has the value specified makerAssetProxyId: returns orders where the maker asset is of certain asset proxy id (example:0xf47261b0
for ERC20,0x02571792
for ERC721) takerAssetProxyId: returns orders where the taker asset is of certain asset proxy id(example:0xf47261b0
for ERC20,0x02571792
for ERC721) makerAssetAddress: subscribes to new orders where the contract address for the maker asset matches the value specified takerAssetAddress: subscribes to new orders where the contract address for the taker asset matches the value specified
property makerAssetAddress
makerAssetAddress?: string;
property makerAssetData
makerAssetData?: string;
property makerAssetProxyId
makerAssetProxyId?: string;
property takerAssetAddress
takerAssetAddress?: string;
property takerAssetData
takerAssetData?: string;
property takerAssetProxyId
takerAssetProxyId?: string;
property traderAssetData
traderAssetData?: string;
interface OrdersRequestOpts
interface OrdersRequestOpts {}
property exchangeAddress
exchangeAddress?: string;
property feeRecipientAddress
feeRecipientAddress?: string;
property makerAddress
makerAddress?: string;
property makerAssetAddress
makerAssetAddress?: string;
property makerAssetData
makerAssetData?: string;
property makerAssetProxyId
makerAssetProxyId?: string;
property makerFeeAssetData
makerFeeAssetData?: string;
property senderAddress
senderAddress?: string;
property takerAddress
takerAddress?: string;
property takerAssetAddress
takerAssetAddress?: string;
property takerAssetData
takerAssetData?: string;
property takerAssetProxyId
takerAssetProxyId?: string;
property takerFeeAssetData
takerFeeAssetData?: string;
property traderAddress
traderAddress?: string;
property unfillable
unfillable?: boolean;
interface OrderStateInvalid
interface OrderStateInvalid {}
property error
error: ExchangeContractErrs;
property isValid
isValid: false;
property orderHash
orderHash: string;
property transactionHash
transactionHash?: string;
interface OrderStateValid
interface OrderStateValid {}
property isValid
isValid: true;
property orderHash
orderHash: string;
property orderRelevantState
orderRelevantState: OrderRelevantState;
property transactionHash
transactionHash?: string;
interface PackageJSON
interface PackageJSON {}
property config
config?: PackageJSONConfig;
property dependencies
dependencies?: { [dependencyName: string]: string;};
property devDependencies
devDependencies?: { [dependencyName: string]: string;};
property main
main?: string;
property name
name: string;
property private
private?: boolean;
property scripts
scripts?: { [command: string]: string;};
property version
version: string;
property workspaces
workspaces?: string[];
interface PackageJSONConfig
interface PackageJSONConfig {}
property 'abis:comment'
'abis:comment'?: string;
property abis
abis?: string;
property ignoreDependencyVersions
ignoreDependencyVersions?: string;
property ignoreDependencyVersionsForPackage
ignoreDependencyVersionsForPackage?: string;
property postpublish
postpublish?: { assets?: string[]; docOmitExports?: string[]; dockerHubRepo?: string;};
interface PagedRequestOpts
interface PagedRequestOpts {}
interface PaginatedCollection
interface PaginatedCollection<T> {}
interface Parameter
interface Parameter {}
property comment
comment: string;
property defaultValue
defaultValue?: string;
property isOptional
isOptional: boolean;
property name
name: string;
property type
type: Type;
interface Property
interface Property {}
interface RequestOpts
interface RequestOpts {}
property chainId
chainId?: number;
interface SignedExchangeProxyMetaTransaction
interface SignedExchangeProxyMetaTransaction extends ExchangeProxyMetaTransaction {}
ExchangeProxyMetaTransaction
withsignature
field.
property signature
signature: string;
interface SignedOrder
interface SignedOrder extends Order {}
property signature
signature: string;
interface SignedZeroExTransaction
interface SignedZeroExTransaction extends ZeroExTransaction {}
property signature
signature: string;
interface SimpleContractArtifact
interface SimpleContractArtifact {}
property chains
chains: ContractChains;
property compilerOutput
compilerOutput: SimpleStandardContractOutput;
property contractName
contractName: string;
property schemaVersion
schemaVersion: string;
interface SimpleEvmBytecodeOutput
interface SimpleEvmBytecodeOutput {}
property object
object: string;
interface SimpleEvmOutput
interface SimpleEvmOutput {}
property bytecode
bytecode: SimpleEvmBytecodeOutput;
interface SimpleStandardContractOutput
interface SimpleStandardContractOutput {}
interface SolidityMethod
interface SolidityMethod extends BaseMethod {}
property isConstant
isConstant?: boolean;
property isFallback
isFallback?: boolean;
property isPayable
isPayable?: boolean;
interface StaticCallAssetData
interface StaticCallAssetData {}
property assetProxyId
assetProxyId: string;
property callResultHash
callResultHash: string;
property callTarget
callTarget: string;
property staticCallData
staticCallData: string;
interface Stats
interface Stats {}
property orderCount
orderCount: number;
interface Token
interface Token {}
interface TupleElement
interface TupleElement {}
interface Type
interface Type {}
property elementType
elementType?: ElementType;
property externalLink
externalLink?: string;
property indexSignature
indexSignature?: IndexSignature;
property isExportedClassReference
isExportedClassReference?: boolean;
property method
method?: TypescriptMethod;
property name
name: string;
property tupleElements
tupleElements?: Type[];
property typeArguments
typeArguments?: Type[];
property typeDocType
typeDocType: TypeDocTypes;
property types
types?: Type[];
property value
value?: string;
interface TypeDefinitionByName
interface TypeDefinitionByName {}
index signature
[typeName: string]: CustomType;
interface TypeDocFlags
interface TypeDocFlags {}
property isExported
isExported?: boolean;
property isOptional
isOptional?: boolean;
property isPublic
isPublic?: boolean;
property isStatic
isStatic?: boolean;
interface TypeDocGroup
interface TypeDocGroup {}
interface TypeDocNode
interface TypeDocNode {}
property children
children?: TypeDocNode[];
property comment
comment?: TypeDocNode;
property declaration
declaration: TypeDocNode;
property defaultValue
defaultValue?: string;
property fileName
fileName?: string;
property flags
flags?: TypeDocFlags;
property groups
groups?: TypeDocGroup[];
property id
id?: number;
property indexSignature
indexSignature?: TypeDocNode;
property kind
kind?: string;
property kindString
kindString?: string;
property line
line?: number;
property name
name?: string;
property parameters
parameters?: TypeDocNode[];
property returns
returns?: string;
property shortText
shortText?: string;
property signatures
signatures?: TypeDocNode[];
property sources
sources?: TypeDocNode[];
property text
text?: string;
property type
type?: TypeDocType;
property typeParameter
typeParameter?: TypeDocNode[];
interface TypeDocType
interface TypeDocType {}
property declaration
declaration: TypeDocNode;
property elements
elements?: TupleElement[];
property elementType
elementType?: TypeDocType;
property indexSignature
indexSignature?: TypeDocNode;
property name
name: string;
property type
type: TypeDocTypes;
property typeArguments
typeArguments?: TypeDocType[];
property types
types: TypeDocType[];
property value
value: string;
interface TypeParameter
interface TypeParameter {}
interface TypescriptFunction
interface TypescriptFunction extends BaseFunction {}
property callPath
callPath: string;
property source
source?: Source;
property typeParameter
typeParameter?: TypeParameter;
interface TypescriptMethod
interface TypescriptMethod extends BaseMethod {}
property isStatic
isStatic?: boolean;
property source
source?: Source;
property typeParameter
typeParameter?: TypeParameter;
interface UnknownOrdersChannelMessage
interface UnknownOrdersChannelMessage {}
interface UpdateOrdersChannelMessage
interface UpdateOrdersChannelMessage {}
interface ValidatorSignature
interface ValidatorSignature {}
Validator signature components
property signature
signature: string;
property validatorAddress
validatorAddress: string;
interface ZeroExTransaction
interface ZeroExTransaction {}
ZeroExTransaction for use with 0x Exchange executeTransaction
property data
data: string;
property domain
domain: EIP712DomainWithDefaultSchema;
property expirationTimeSeconds
expirationTimeSeconds: BigNumber;
property gasPrice
gasPrice: BigNumber;
property salt
salt: BigNumber;
property signerAddress
signerAddress: string;
Enums
enum AssetProxyId
enum AssetProxyId { ERC20 = '0xf47261b0', ERC721 = '0x02571792', MultiAsset = '0x94cfcdd7', ERC1155 = '0xa7cb5fb7', StaticCall = '0xc339d10a', ERC20Bridge = '0xdc1600f3',}
member ERC1155
ERC1155 = '0xa7cb5fb7'
member ERC20
ERC20 = '0xf47261b0'
member ERC20Bridge
ERC20Bridge = '0xdc1600f3'
member ERC721
ERC721 = '0x02571792'
member MultiAsset
MultiAsset = '0x94cfcdd7'
member StaticCall
StaticCall = '0xc339d10a'
enum ExchangeContractErrs
enum ExchangeContractErrs { OrderFillExpired = 'ORDER_FILL_EXPIRED', OrderCancelExpired = 'ORDER_CANCEL_EXPIRED', OrderCancelled = 'ORDER_CANCELLED', OrderFillAmountZero = 'ORDER_FILL_AMOUNT_ZERO', OrderRemainingFillAmountZero = 'ORDER_REMAINING_FILL_AMOUNT_ZERO', OrderFillRoundingError = 'ORDER_FILL_ROUNDING_ERROR', FillBalanceAllowanceError = 'FILL_BALANCE_ALLOWANCE_ERROR', InsufficientTakerBalance = 'INSUFFICIENT_TAKER_BALANCE', InsufficientTakerAllowance = 'INSUFFICIENT_TAKER_ALLOWANCE', InsufficientMakerBalance = 'INSUFFICIENT_MAKER_BALANCE', InsufficientMakerAllowance = 'INSUFFICIENT_MAKER_ALLOWANCE', InsufficientTakerFeeBalance = 'INSUFFICIENT_TAKER_FEE_BALANCE', InsufficientTakerFeeAllowance = 'INSUFFICIENT_TAKER_FEE_ALLOWANCE', InsufficientMakerFeeBalance = 'INSUFFICIENT_MAKER_FEE_BALANCE', InsufficientMakerFeeAllowance = 'INSUFFICIENT_MAKER_FEE_ALLOWANCE', TransactionSenderIsNotFillOrderTaker = 'TRANSACTION_SENDER_IS_NOT_FILL_ORDER_TAKER', MultipleMakersInSingleCancelBatchDisallowed = 'MULTIPLE_MAKERS_IN_SINGLE_CANCEL_BATCH_DISALLOWED', InsufficientRemainingFillAmount = 'INSUFFICIENT_REMAINING_FILL_AMOUNT', MultipleTakerTokensInFillUpToDisallowed = 'MULTIPLE_TAKER_TOKENS_IN_FILL_UP_TO_DISALLOWED', BatchOrdersMustHaveSameExchangeAddress = 'BATCH_ORDERS_MUST_HAVE_SAME_EXCHANGE_ADDRESS', BatchOrdersMustHaveAtLeastOneItem = 'BATCH_ORDERS_MUST_HAVE_AT_LEAST_ONE_ITEM',}
Errors originating from the 0x exchange contract
member BatchOrdersMustHaveAtLeastOneItem
BatchOrdersMustHaveAtLeastOneItem = 'BATCH_ORDERS_MUST_HAVE_AT_LEAST_ONE_ITEM'
member BatchOrdersMustHaveSameExchangeAddress
BatchOrdersMustHaveSameExchangeAddress = 'BATCH_ORDERS_MUST_HAVE_SAME_EXCHANGE_ADDRESS'
member FillBalanceAllowanceError
FillBalanceAllowanceError = 'FILL_BALANCE_ALLOWANCE_ERROR'
member InsufficientMakerAllowance
InsufficientMakerAllowance = 'INSUFFICIENT_MAKER_ALLOWANCE'
member InsufficientMakerBalance
InsufficientMakerBalance = 'INSUFFICIENT_MAKER_BALANCE'
member InsufficientMakerFeeAllowance
InsufficientMakerFeeAllowance = 'INSUFFICIENT_MAKER_FEE_ALLOWANCE'
member InsufficientMakerFeeBalance
InsufficientMakerFeeBalance = 'INSUFFICIENT_MAKER_FEE_BALANCE'
member InsufficientRemainingFillAmount
InsufficientRemainingFillAmount = 'INSUFFICIENT_REMAINING_FILL_AMOUNT'
member InsufficientTakerAllowance
InsufficientTakerAllowance = 'INSUFFICIENT_TAKER_ALLOWANCE'
member InsufficientTakerBalance
InsufficientTakerBalance = 'INSUFFICIENT_TAKER_BALANCE'
member InsufficientTakerFeeAllowance
InsufficientTakerFeeAllowance = 'INSUFFICIENT_TAKER_FEE_ALLOWANCE'
member InsufficientTakerFeeBalance
InsufficientTakerFeeBalance = 'INSUFFICIENT_TAKER_FEE_BALANCE'
member MultipleMakersInSingleCancelBatchDisallowed
MultipleMakersInSingleCancelBatchDisallowed = 'MULTIPLE_MAKERS_IN_SINGLE_CANCEL_BATCH_DISALLOWED'
member MultipleTakerTokensInFillUpToDisallowed
MultipleTakerTokensInFillUpToDisallowed = 'MULTIPLE_TAKER_TOKENS_IN_FILL_UP_TO_DISALLOWED'
member OrderCancelExpired
OrderCancelExpired = 'ORDER_CANCEL_EXPIRED'
member OrderCancelled
OrderCancelled = 'ORDER_CANCELLED'
member OrderFillAmountZero
OrderFillAmountZero = 'ORDER_FILL_AMOUNT_ZERO'
member OrderFillExpired
OrderFillExpired = 'ORDER_FILL_EXPIRED'
member OrderFillRoundingError
OrderFillRoundingError = 'ORDER_FILL_ROUNDING_ERROR'
member OrderRemainingFillAmountZero
OrderRemainingFillAmountZero = 'ORDER_REMAINING_FILL_AMOUNT_ZERO'
member TransactionSenderIsNotFillOrderTaker
TransactionSenderIsNotFillOrderTaker = 'TRANSACTION_SENDER_IS_NOT_FILL_ORDER_TAKER'
enum MarketOperation
enum MarketOperation { Sell = 'Sell', Buy = 'Buy',}
enum OrdersChannelMessageTypes
enum OrdersChannelMessageTypes { Update = 'update', Unknown = 'unknown',}
enum OrderStatus
enum OrderStatus { Invalid = 0, InvalidMakerAssetAmount = 1, InvalidTakerAssetAmount = 2, Fillable = 3, Expired = 4, FullyFilled = 5, Cancelled = 6,}
member Cancelled
Cancelled = 6
member Expired
Expired = 4
member Fillable
Fillable = 3
member FullyFilled
FullyFilled = 5
member Invalid
Invalid = 0
member InvalidMakerAssetAmount
InvalidMakerAssetAmount = 1
member InvalidTakerAssetAmount
InvalidTakerAssetAmount = 2
enum OrderTransferResults
enum OrderTransferResults { TakerAssetDataFailed = 0, MakerAssetDataFailed = 1, TakerFeeAssetDataFailed = 2, MakerFeeAssetDataFailed = 3, TransfersSuccessful = 4,}
member MakerAssetDataFailed
MakerAssetDataFailed = 1
member MakerFeeAssetDataFailed
MakerFeeAssetDataFailed = 3
member TakerAssetDataFailed
TakerAssetDataFailed = 0
member TakerFeeAssetDataFailed
TakerFeeAssetDataFailed = 2
member TransfersSuccessful
TransfersSuccessful = 4
enum RevertReason
enum RevertReason { OrderUnfillable = 'ORDER_UNFILLABLE', InvalidMaker = 'INVALID_MAKER', InvalidTaker = 'INVALID_TAKER', InvalidSender = 'INVALID_SENDER', InvalidOrderSignature = 'INVALID_ORDER_SIGNATURE', InvalidTakerAmount = 'INVALID_TAKER_AMOUNT', DivisionByZero = 'DIVISION_BY_ZERO', RoundingError = 'ROUNDING_ERROR', InvalidSignature = 'INVALID_SIGNATURE', SignatureIllegal = 'SIGNATURE_ILLEGAL', SignatureInvalid = 'SIGNATURE_INVALID', SignatureUnsupported = 'SIGNATURE_UNSUPPORTED', TakerOverpay = 'TAKER_OVERPAY', OrderOverfill = 'ORDER_OVERFILL', InvalidFillPrice = 'INVALID_FILL_PRICE', InvalidNewOrderEpoch = 'INVALID_NEW_ORDER_EPOCH', CompleteFillFailed = 'COMPLETE_FILL_FAILED', NegativeSpreadRequired = 'NEGATIVE_SPREAD_REQUIRED', ReentrancyIllegal = 'REENTRANCY_ILLEGAL', InvalidTxHash = 'INVALID_TX_HASH', InvalidTxSignature = 'INVALID_TX_SIGNATURE', FailedExecution = 'FAILED_EXECUTION', AssetProxyAlreadyExists = 'ASSET_PROXY_ALREADY_EXISTS', LengthGreaterThan0Required = 'LENGTH_GREATER_THAN_0_REQUIRED', LengthGreaterThan3Required = 'LENGTH_GREATER_THAN_3_REQUIRED', LengthGreaterThan131Required = 'LENGTH_GREATER_THAN_131_REQUIRED', Length0Required = 'LENGTH_0_REQUIRED', Length65Required = 'LENGTH_65_REQUIRED', InvalidAmount = 'INVALID_AMOUNT', TransferFailed = 'TRANSFER_FAILED', SenderNotAuthorized = 'SENDER_NOT_AUTHORIZED', TargetNotAuthorized = 'TARGET_NOT_AUTHORIZED', TargetAlreadyAuthorized = 'TARGET_ALREADY_AUTHORIZED', IndexOutOfBounds = 'INDEX_OUT_OF_BOUNDS', AuthorizedAddressMismatch = 'AUTHORIZED_ADDRESS_MISMATCH', OnlyContractOwner = 'ONLY_CONTRACT_OWNER', MakerNotWhitelisted = 'MAKER_NOT_WHITELISTED', TakerNotWhitelisted = 'TAKER_NOT_WHITELISTED', AssetProxyDoesNotExist = 'ASSET_PROXY_DOES_NOT_EXIST', LengthMismatch = 'LENGTH_MISMATCH', LibBytesGreaterThanZeroLengthRequired = 'GREATER_THAN_ZERO_LENGTH_REQUIRED', LibBytesGreaterOrEqualTo4LengthRequired = 'GREATER_OR_EQUAL_TO_4_LENGTH_REQUIRED', LibBytesGreaterOrEqualTo20LengthRequired = 'GREATER_OR_EQUAL_TO_20_LENGTH_REQUIRED', LibBytesGreaterOrEqualTo32LengthRequired = 'GREATER_OR_EQUAL_TO_32_LENGTH_REQUIRED', LibBytesGreaterOrEqualToNestedBytesLengthRequired = 'GREATER_OR_EQUAL_TO_NESTED_BYTES_LENGTH_REQUIRED', LibBytesGreaterOrEqualToSourceBytesLengthRequired = 'GREATER_OR_EQUAL_TO_SOURCE_BYTES_LENGTH_REQUIRED', Erc20InsufficientBalance = 'ERC20_INSUFFICIENT_BALANCE', Erc20InsufficientAllowance = 'ERC20_INSUFFICIENT_ALLOWANCE', FeePercentageTooLarge = 'FEE_PERCENTAGE_TOO_LARGE', ValueGreaterThanZero = 'VALUE_GREATER_THAN_ZERO', InvalidMsgValue = 'INVALID_MSG_VALUE', InsufficientEthRemaining = 'INSUFFICIENT_ETH_REMAINING', Uint256Overflow = 'UINT256_OVERFLOW', Erc721ZeroToAddress = 'ERC721_ZERO_TO_ADDRESS', Erc721OwnerMismatch = 'ERC721_OWNER_MISMATCH', Erc721InvalidSpender = 'ERC721_INVALID_SPENDER', Erc721ZeroOwner = 'ERC721_ZERO_OWNER', Erc721InvalidSelector = 'ERC721_INVALID_SELECTOR', WalletError = 'WALLET_ERROR', ValidatorError = 'VALIDATOR_ERROR', InvalidFunctionSelector = 'INVALID_FUNCTION_SELECTOR', InvalidAssetData = 'INVALID_ASSET_DATA', InvalidAssetProxy = 'INVALID_ASSET_PROXY', UnregisteredAssetProxy = 'UNREGISTERED_ASSET_PROXY', TxFullyConfirmed = 'TX_FULLY_CONFIRMED', TxNotFullyConfirmed = 'TX_NOT_FULLY_CONFIRMED', TimeLockIncomplete = 'TIME_LOCK_INCOMPLETE', InvalidFreeMemoryPtr = 'INVALID_FREE_MEMORY_PTR', AuctionInvalidAmount = 'INVALID_AMOUNT', AuctionExpired = 'AUCTION_EXPIRED', AuctionNotStarted = 'AUCTION_NOT_STARTED', AuctionInvalidBeginTime = 'INVALID_BEGIN_TIME', InvalidAssetDataEnd = 'INVALID_ASSET_DATA_END', InvalidOrBlockedExchangeSelector = 'INVALID_OR_BLOCKED_EXCHANGE_SELECTOR', BalanceQueryFailed = 'BALANCE_QUERY_FAILED', AtLeastOneAddressDoesNotMeetBalanceThreshold = 'AT_LEAST_ONE_ADDRESS_DOES_NOT_MEET_BALANCE_THRESHOLD', FromLessThanToRequired = 'FROM_LESS_THAN_TO_REQUIRED', ToLessThanLengthRequired = 'TO_LESS_THAN_LENGTH_REQUIRED', InvalidApprovalSignature = 'INVALID_APPROVAL_SIGNATURE', ApprovalExpired = 'APPROVAL_EXPIRED', InvalidOrigin = 'INVALID_ORIGIN', AmountEqualToOneRequired = 'AMOUNT_EQUAL_TO_ONE_REQUIRED', BadReceiverReturnValue = 'BAD_RECEIVER_RETURN_VALUE', CannotTransferToAddressZero = 'CANNOT_TRANSFER_TO_ADDRESS_ZERO', InsufficientAllowance = 'INSUFFICIENT_ALLOWANCE', NFTNotOwnedByFromAddress = 'NFT_NOT_OWNED_BY_FROM_ADDRESS', OwnersAndIdsMustHaveSameLength = 'OWNERS_AND_IDS_MUST_HAVE_SAME_LENGTH', TokenAndValuesLengthMismatch = 'TOKEN_AND_VALUES_LENGTH_MISMATCH', TriedToMintFungibleForNonFungibleToken = 'TRIED_TO_MINT_FUNGIBLE_FOR_NON_FUNGIBLE_TOKEN', TriedToMintNonFungibleForFungibleToken = 'TRIED_TO_MINT_NON_FUNGIBLE_FOR_FUNGIBLE_TOKEN', TransferRejected = 'TRANSFER_REJECTED', Uint256Underflow = 'UINT256_UNDERFLOW', InvalidIdsOffset = 'INVALID_IDS_OFFSET', InvalidValuesOffset = 'INVALID_VALUES_OFFSET', InvalidDataOffset = 'INVALID_DATA_OFFSET', InvalidAssetDataLength = 'INVALID_ASSET_DATA_LENGTH', InvalidStaticCallDataOffset = 'INVALID_STATIC_CALL_DATA_OFFSET', TargetNotEven = 'TARGET_NOT_EVEN', UnexpectedStaticCallResult = 'UNEXPECTED_STATIC_CALL_RESULT', TransfersSuccessful = 'TRANSFERS_SUCCESSFUL', InsufficientFunds = 'INSUFFICIENT_FUNDS', TxAlreadyExecuted = 'TX_ALREADY_EXECUTED', DefaultTimeLockIncomplete = 'DEFAULT_TIME_LOCK_INCOMPLETE', CustomTimeLockIncomplete = 'CUSTOM_TIME_LOCK_INCOMPLETE', EqualLengthsRequired = 'EQUAL_LENGTHS_REQUIRED', OnlyCallableByWallet = 'ONLY_CALLABLE_BY_WALLET', ChaiBridgeOnlyCallableByErc20BridgeProxy = 'ChaiBridge/ONLY_CALLABLE_BY_ERC20_BRIDGE_PROXY', ChaiBridgeDrawDaiFailed = 'ChaiBridge/DRAW_DAI_FAILED', DydxBridgeOnlyCallableByErc20BridgeProxy = 'DydxBridge/ONLY_CALLABLE_BY_ERC20_BRIDGE_PROXY', DydxBridgeUnrecognizedBridgeAction = 'DydxBridge/UNRECOGNIZED_BRIDGE_ACTION',}
member AmountEqualToOneRequired
AmountEqualToOneRequired = 'AMOUNT_EQUAL_TO_ONE_REQUIRED'
member ApprovalExpired
ApprovalExpired = 'APPROVAL_EXPIRED'
member AssetProxyAlreadyExists
AssetProxyAlreadyExists = 'ASSET_PROXY_ALREADY_EXISTS'
member AssetProxyDoesNotExist
AssetProxyDoesNotExist = 'ASSET_PROXY_DOES_NOT_EXIST'
member AtLeastOneAddressDoesNotMeetBalanceThreshold
AtLeastOneAddressDoesNotMeetBalanceThreshold = 'AT_LEAST_ONE_ADDRESS_DOES_NOT_MEET_BALANCE_THRESHOLD'
member AuctionExpired
AuctionExpired = 'AUCTION_EXPIRED'
member AuctionInvalidAmount
AuctionInvalidAmount = 'INVALID_AMOUNT'
member AuctionInvalidBeginTime
AuctionInvalidBeginTime = 'INVALID_BEGIN_TIME'
member AuctionNotStarted
AuctionNotStarted = 'AUCTION_NOT_STARTED'
member AuthorizedAddressMismatch
AuthorizedAddressMismatch = 'AUTHORIZED_ADDRESS_MISMATCH'
member BadReceiverReturnValue
BadReceiverReturnValue = 'BAD_RECEIVER_RETURN_VALUE'
member BalanceQueryFailed
BalanceQueryFailed = 'BALANCE_QUERY_FAILED'
member CannotTransferToAddressZero
CannotTransferToAddressZero = 'CANNOT_TRANSFER_TO_ADDRESS_ZERO'
member ChaiBridgeDrawDaiFailed
ChaiBridgeDrawDaiFailed = 'ChaiBridge/DRAW_DAI_FAILED'
member ChaiBridgeOnlyCallableByErc20BridgeProxy
ChaiBridgeOnlyCallableByErc20BridgeProxy = 'ChaiBridge/ONLY_CALLABLE_BY_ERC20_BRIDGE_PROXY'
member CompleteFillFailed
CompleteFillFailed = 'COMPLETE_FILL_FAILED'
member CustomTimeLockIncomplete
CustomTimeLockIncomplete = 'CUSTOM_TIME_LOCK_INCOMPLETE'
member DefaultTimeLockIncomplete
DefaultTimeLockIncomplete = 'DEFAULT_TIME_LOCK_INCOMPLETE'
member DivisionByZero
DivisionByZero = 'DIVISION_BY_ZERO'
member DydxBridgeOnlyCallableByErc20BridgeProxy
DydxBridgeOnlyCallableByErc20BridgeProxy = 'DydxBridge/ONLY_CALLABLE_BY_ERC20_BRIDGE_PROXY'
member DydxBridgeUnrecognizedBridgeAction
DydxBridgeUnrecognizedBridgeAction = 'DydxBridge/UNRECOGNIZED_BRIDGE_ACTION'
member EqualLengthsRequired
EqualLengthsRequired = 'EQUAL_LENGTHS_REQUIRED'
member Erc20InsufficientAllowance
Erc20InsufficientAllowance = 'ERC20_INSUFFICIENT_ALLOWANCE'
member Erc20InsufficientBalance
Erc20InsufficientBalance = 'ERC20_INSUFFICIENT_BALANCE'
member Erc721InvalidSelector
Erc721InvalidSelector = 'ERC721_INVALID_SELECTOR'
member Erc721InvalidSpender
Erc721InvalidSpender = 'ERC721_INVALID_SPENDER'
member Erc721OwnerMismatch
Erc721OwnerMismatch = 'ERC721_OWNER_MISMATCH'
member Erc721ZeroOwner
Erc721ZeroOwner = 'ERC721_ZERO_OWNER'
member Erc721ZeroToAddress
Erc721ZeroToAddress = 'ERC721_ZERO_TO_ADDRESS'
member FailedExecution
FailedExecution = 'FAILED_EXECUTION'
member FeePercentageTooLarge
FeePercentageTooLarge = 'FEE_PERCENTAGE_TOO_LARGE'
member FromLessThanToRequired
FromLessThanToRequired = 'FROM_LESS_THAN_TO_REQUIRED'
member IndexOutOfBounds
IndexOutOfBounds = 'INDEX_OUT_OF_BOUNDS'
member InsufficientAllowance
InsufficientAllowance = 'INSUFFICIENT_ALLOWANCE'
member InsufficientEthRemaining
InsufficientEthRemaining = 'INSUFFICIENT_ETH_REMAINING'
member InsufficientFunds
InsufficientFunds = 'INSUFFICIENT_FUNDS'
member InvalidAmount
InvalidAmount = 'INVALID_AMOUNT'
member InvalidApprovalSignature
InvalidApprovalSignature = 'INVALID_APPROVAL_SIGNATURE'
member InvalidAssetData
InvalidAssetData = 'INVALID_ASSET_DATA'
member InvalidAssetDataEnd
InvalidAssetDataEnd = 'INVALID_ASSET_DATA_END'
member InvalidAssetDataLength
InvalidAssetDataLength = 'INVALID_ASSET_DATA_LENGTH'
member InvalidAssetProxy
InvalidAssetProxy = 'INVALID_ASSET_PROXY'
member InvalidDataOffset
InvalidDataOffset = 'INVALID_DATA_OFFSET'
member InvalidFillPrice
InvalidFillPrice = 'INVALID_FILL_PRICE'
member InvalidFreeMemoryPtr
InvalidFreeMemoryPtr = 'INVALID_FREE_MEMORY_PTR'
member InvalidFunctionSelector
InvalidFunctionSelector = 'INVALID_FUNCTION_SELECTOR'
member InvalidIdsOffset
InvalidIdsOffset = 'INVALID_IDS_OFFSET'
member InvalidMaker
InvalidMaker = 'INVALID_MAKER'
member InvalidMsgValue
InvalidMsgValue = 'INVALID_MSG_VALUE'
member InvalidNewOrderEpoch
InvalidNewOrderEpoch = 'INVALID_NEW_ORDER_EPOCH'
member InvalidOrBlockedExchangeSelector
InvalidOrBlockedExchangeSelector = 'INVALID_OR_BLOCKED_EXCHANGE_SELECTOR'
member InvalidOrderSignature
InvalidOrderSignature = 'INVALID_ORDER_SIGNATURE'
member InvalidOrigin
InvalidOrigin = 'INVALID_ORIGIN'
member InvalidSender
InvalidSender = 'INVALID_SENDER'
member InvalidSignature
InvalidSignature = 'INVALID_SIGNATURE'
member InvalidStaticCallDataOffset
InvalidStaticCallDataOffset = 'INVALID_STATIC_CALL_DATA_OFFSET'
member InvalidTaker
InvalidTaker = 'INVALID_TAKER'
member InvalidTakerAmount
InvalidTakerAmount = 'INVALID_TAKER_AMOUNT'
member InvalidTxHash
InvalidTxHash = 'INVALID_TX_HASH'
member InvalidTxSignature
InvalidTxSignature = 'INVALID_TX_SIGNATURE'
member InvalidValuesOffset
InvalidValuesOffset = 'INVALID_VALUES_OFFSET'
member Length0Required
Length0Required = 'LENGTH_0_REQUIRED'
member Length65Required
Length65Required = 'LENGTH_65_REQUIRED'
member LengthGreaterThan0Required
LengthGreaterThan0Required = 'LENGTH_GREATER_THAN_0_REQUIRED'
member LengthGreaterThan131Required
LengthGreaterThan131Required = 'LENGTH_GREATER_THAN_131_REQUIRED'
member LengthGreaterThan3Required
LengthGreaterThan3Required = 'LENGTH_GREATER_THAN_3_REQUIRED'
member LengthMismatch
LengthMismatch = 'LENGTH_MISMATCH'
member LibBytesGreaterOrEqualTo20LengthRequired
LibBytesGreaterOrEqualTo20LengthRequired = 'GREATER_OR_EQUAL_TO_20_LENGTH_REQUIRED'
member LibBytesGreaterOrEqualTo32LengthRequired
LibBytesGreaterOrEqualTo32LengthRequired = 'GREATER_OR_EQUAL_TO_32_LENGTH_REQUIRED'
member LibBytesGreaterOrEqualTo4LengthRequired
LibBytesGreaterOrEqualTo4LengthRequired = 'GREATER_OR_EQUAL_TO_4_LENGTH_REQUIRED'
member LibBytesGreaterOrEqualToNestedBytesLengthRequired
LibBytesGreaterOrEqualToNestedBytesLengthRequired = 'GREATER_OR_EQUAL_TO_NESTED_BYTES_LENGTH_REQUIRED'
member LibBytesGreaterOrEqualToSourceBytesLengthRequired
LibBytesGreaterOrEqualToSourceBytesLengthRequired = 'GREATER_OR_EQUAL_TO_SOURCE_BYTES_LENGTH_REQUIRED'
member LibBytesGreaterThanZeroLengthRequired
LibBytesGreaterThanZeroLengthRequired = 'GREATER_THAN_ZERO_LENGTH_REQUIRED'
member MakerNotWhitelisted
MakerNotWhitelisted = 'MAKER_NOT_WHITELISTED'
member NegativeSpreadRequired
NegativeSpreadRequired = 'NEGATIVE_SPREAD_REQUIRED'
member NFTNotOwnedByFromAddress
NFTNotOwnedByFromAddress = 'NFT_NOT_OWNED_BY_FROM_ADDRESS'
member OnlyCallableByWallet
OnlyCallableByWallet = 'ONLY_CALLABLE_BY_WALLET'
member OnlyContractOwner
OnlyContractOwner = 'ONLY_CONTRACT_OWNER'
member OrderOverfill
OrderOverfill = 'ORDER_OVERFILL'
member OrderUnfillable
OrderUnfillable = 'ORDER_UNFILLABLE'
member OwnersAndIdsMustHaveSameLength
OwnersAndIdsMustHaveSameLength = 'OWNERS_AND_IDS_MUST_HAVE_SAME_LENGTH'
member ReentrancyIllegal
ReentrancyIllegal = 'REENTRANCY_ILLEGAL'
member RoundingError
RoundingError = 'ROUNDING_ERROR'
member SenderNotAuthorized
SenderNotAuthorized = 'SENDER_NOT_AUTHORIZED'
member SignatureIllegal
SignatureIllegal = 'SIGNATURE_ILLEGAL'
member SignatureInvalid
SignatureInvalid = 'SIGNATURE_INVALID'
member SignatureUnsupported
SignatureUnsupported = 'SIGNATURE_UNSUPPORTED'
member TakerNotWhitelisted
TakerNotWhitelisted = 'TAKER_NOT_WHITELISTED'
member TakerOverpay
TakerOverpay = 'TAKER_OVERPAY'
member TargetAlreadyAuthorized
TargetAlreadyAuthorized = 'TARGET_ALREADY_AUTHORIZED'
member TargetNotAuthorized
TargetNotAuthorized = 'TARGET_NOT_AUTHORIZED'
member TargetNotEven
TargetNotEven = 'TARGET_NOT_EVEN'
member TimeLockIncomplete
TimeLockIncomplete = 'TIME_LOCK_INCOMPLETE'
member TokenAndValuesLengthMismatch
TokenAndValuesLengthMismatch = 'TOKEN_AND_VALUES_LENGTH_MISMATCH'
member ToLessThanLengthRequired
ToLessThanLengthRequired = 'TO_LESS_THAN_LENGTH_REQUIRED'
member TransferFailed
TransferFailed = 'TRANSFER_FAILED'
member TransferRejected
TransferRejected = 'TRANSFER_REJECTED'
member TransfersSuccessful
TransfersSuccessful = 'TRANSFERS_SUCCESSFUL'
member TriedToMintFungibleForNonFungibleToken
TriedToMintFungibleForNonFungibleToken = 'TRIED_TO_MINT_FUNGIBLE_FOR_NON_FUNGIBLE_TOKEN'
member TriedToMintNonFungibleForFungibleToken
TriedToMintNonFungibleForFungibleToken = 'TRIED_TO_MINT_NON_FUNGIBLE_FOR_FUNGIBLE_TOKEN'
member TxAlreadyExecuted
TxAlreadyExecuted = 'TX_ALREADY_EXECUTED'
member TxFullyConfirmed
TxFullyConfirmed = 'TX_FULLY_CONFIRMED'
member TxNotFullyConfirmed
TxNotFullyConfirmed = 'TX_NOT_FULLY_CONFIRMED'
member Uint256Overflow
Uint256Overflow = 'UINT256_OVERFLOW'
member Uint256Underflow
Uint256Underflow = 'UINT256_UNDERFLOW'
member UnexpectedStaticCallResult
UnexpectedStaticCallResult = 'UNEXPECTED_STATIC_CALL_RESULT'
member UnregisteredAssetProxy
UnregisteredAssetProxy = 'UNREGISTERED_ASSET_PROXY'
member ValidatorError
ValidatorError = 'VALIDATOR_ERROR'
member ValueGreaterThanZero
ValueGreaterThanZero = 'VALUE_GREATER_THAN_ZERO'
member WalletError
WalletError = 'WALLET_ERROR'
enum SignatureType
enum SignatureType { Illegal = 0, Invalid = 1, EIP712 = 2, EthSign = 3, Wallet = 4, Validator = 5, PreSigned = 6, EIP1271Wallet = 7, NSignatureTypes = 8,}
member EIP1271Wallet
EIP1271Wallet = 7
member EIP712
EIP712 = 2
member EthSign
EthSign = 3
member Illegal
Illegal = 0
member Invalid
Invalid = 1
member NSignatureTypes
NSignatureTypes = 8
member PreSigned
PreSigned = 6
member Validator
Validator = 5
member Wallet
Wallet = 4
enum StatusCodes
enum StatusCodes { Success = 200, NotFound = 404, InternalError = 500, MethodNotAllowed = 405, GatewayTimeout = 504,}
member GatewayTimeout
GatewayTimeout = 504
member InternalError
InternalError = 500
member MethodNotAllowed
MethodNotAllowed = 405
member NotFound
NotFound = 404
member Success
Success = 200
enum TypeDocTypes
enum TypeDocTypes { Intrinsic = 'intrinsic', Reference = 'reference', Array = 'array', StringLiteral = 'stringLiteral', Reflection = 'reflection', Union = 'union', TypeParameter = 'typeParameter', Intersection = 'intersection', Tuple = 'tuple', Unknown = 'unknown',}
member Array
Array = 'array'
member Intersection
Intersection = 'intersection'
member Intrinsic
Intrinsic = 'intrinsic'
member Reference
Reference = 'reference'
member Reflection
Reflection = 'reflection'
member StringLiteral
StringLiteral = 'stringLiteral'
member Tuple
Tuple = 'tuple'
member TypeParameter
TypeParameter = 'typeParameter'
member Union
Union = 'union'
member Unknown
Unknown = 'unknown'
enum WebsocketClientEventType
enum WebsocketClientEventType { Connect = 'connect', ConnectFailed = 'connectFailed',}
member Connect
Connect = 'connect'
member ConnectFailed
ConnectFailed = 'connectFailed'
enum WebsocketConnectionEventType
enum WebsocketConnectionEventType { Close = 'close', Error = 'error', Message = 'message',}
Type Aliases
type ArtifactContractName
type ArtifactContractName = | 'ZRX' | 'TokenTransferProxy' | 'TokenRegistry' | 'Token' | 'Exchange' | 'EtherToken';
type AssetData
type AssetData = | SingleAssetData | MultiAssetData | MultiAssetDataWithRecursiveDecoding;
type AssetPairsResponse
type AssetPairsResponse = PaginatedCollection<AssetPairsItem>;
type DoneCallback
type DoneCallback = (err?: Error) => void;
type EIP712ObjectValue
type EIP712ObjectValue = string | number | EIP712Object;
type EventCallback
type EventCallback<ArgsType extends DecodedLogArgs> = ( err: null | Error, log?: DecodedLogEvent<ArgsType>) => void;
type FeeRecipientsResponse
type FeeRecipientsResponse = PaginatedCollection<string>;
type OrdersChannelMessage
type OrdersChannelMessage = UpdateOrdersChannelMessage | UnknownOrdersChannelMessage;
type OrdersResponse
type OrdersResponse = PaginatedCollection<APIOrder>;
type OrderState
type OrderState = OrderStateValid | OrderStateInvalid;
type SingleAssetData
type SingleAssetData = | ERC20AssetData | ERC20BridgeAssetData | ERC721AssetData | ERC1155AssetData | StaticCallAssetData;
Package Files (1)
Dependencies (3)
Dev Dependencies (5)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@0x/types
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@0x/types)
- HTML<a href="https://www.jsdocs.io/package/@0x/types"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 6898 ms. - Missing or incorrect documentation? Open an issue for this package.