protocol/packages/0x.js/docs/reference.mdx
xianny deffdabc30 Revert "Updated CHANGELOGS & MD docs"
This reverts commit f65d8cc32529564a374fcd4674fa88493652ba0d.
2019-11-05 17:06:05 -08:00

20567 lines
829 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Class: DevUtilsContract
## Constructors
\+ **new DevUtilsContract**(`address`: string, `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults?`: `Partial<TxData>`, `logDecodeDependencies?`: undefined | object, `deployedBytecode`: string | undefined): *[DevUtilsContract](#class-devutilscontract)*
*Overrides void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:5507](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L5507)*
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`address` | string | - |
`supportedProvider` | [SupportedProvider](#supportedprovider) | - |
`txDefaults?` | `Partial<TxData>` | - |
`logDecodeDependencies?` | undefined \| object | - |
`deployedBytecode` | string \| undefined | DevUtilsContract.deployedBytecode |
**Returns:** *[DevUtilsContract](#class-devutilscontract)*
## Properties
### abi
• **abi**: *[ContractAbi](#contractabi)*
Defined in base-contract/lib/src/index.d.ts:27
___
### address
• **address**: *string*
Defined in base-contract/lib/src/index.d.ts:28
___
Args
• **constructorArgs**: *any[]*
Defined in base-contract/lib/src/index.d.ts:30
___
### contractName
• **contractName**: *string*
Defined in base-contract/lib/src/index.d.ts:29
___
### `Static` deployedBytecode
▪ **deployedBytecode**: *string* = "0x608060405234801561001057600080fd5b506004361061025c5760003560e01c80639a7e752611610145578063cafd3a07116100bd578063d3d862d11161008c578063e4e6e7da11610071578063e4e6e7da1461063a578063e77286eb1461065b578063ee4f5a941461067d5761025c565b8063d3d862d114610605578063e25cabf7146106185761025c565b8063cafd3a071461059e578063d001c5dc146105bf578063d186037f146105d2578063d3637905146105e55761025c565b8063a6627e9f11610114578063b43cffe1116100f9578063b43cffe114610548578063bbb2dcf61461055b578063bc03f9641461057d5761025c565b8063a6627e9f14610512578063acaedc74146105255761025c565b80639a7e7526146104985780639eadc835146104bb578063a0901e51146104df578063a5cd62ba146104f25761025c565b8063459be5e2116101d85780636f83188e116101a75780637b66ad341161018c5780637b66ad34146104515780637d727512146104725780638f4ce479146104855761025c565b80636f83188e1461040d5780637914b2ec146104305761025c565b8063459be5e21461038a5780634dfdac20146103ab578063590aa875146103cb57806365129042146103eb5761025c565b80632322cf761161022f578063327d305411610214578063327d30541461033257806332aae3ad146103455780633db6dc61146103675761025c565b80632322cf76146102f0578063314853ff146103105761025c565b806302d0aec31461026157806304a5618a1461028b5780630d7b7d76146102ad578063165979e1146102ce575b600080fd5b61027461026f3660046149dd565b61069f565b6040516102829291906152e4565b60405180910390f35b61029e6102993660046149dd565b6106fb565b60405161028293929190615387565b6102c06102bb366004614565565b6107a9565b604051610282929190615292565b6102e16102dc3660046149dd565b6107cb565b604051610282939291906154c2565b6103036102fe366004614565565b610828565b6040516102829190615731565b61032361031e3660046149dd565b610850565b604051610282939291906152b9565b6102c06103403660046149dd565b610897565b6103586103533660046149dd565b6108d9565b60405161028293929190615438565b61037a6103753660046149dd565b61092c565b6040516102829493929190615258565b61039d6103983660046149dd565b610976565b6040516102829291906154ab565b6103be6103b936600461448c565b6109cc565b60405161028291906151f2565b6103de6103d936600461435d565b610a4f565b60405161028291906153e7565b6103fe6103f93660046149dd565b610ad3565b60405161028293929190614fdf565b61042061041b3660046149dd565b610b0d565b6040516102829493929190615535565b61044361043e3660046149dd565b61164e565b604051610282929190615301565b61046461045f3660046149dd565b611686565b604051610282929190614fc5565b610303610480366004614565565b6116be565b6104436104933660046149dd565b611dd3565b6104ab6104a63660046149dd565b611e63565b60405161028294939291906154f1565b6104ce6104c93660046149dd565b611ec4565b604051610282959493929190615324565b6103be6104ed3660046145d4565b611f6f565b61050561050036600461463a565b611fe8565b60405161028291906150f9565b6103de6105203660046145a9565b6120ac565b6105386105333660046149dd565b612133565b6040516102829493929190615055565b6103de6105563660046144da565b61216f565b61056e6105693660046149dd565b6121fc565b604051610282939291906153b2565b61059061058b3660046149dd565b6122a9565b6040516102829291906152a0565b6105b16105ac3660046149dd565b6122e2565b604051610282929190615528565b6103be6105cd36600461448c565b612330565b6103036105e0366004614565565b61239e565b6105f86105f3366004614a94565b6129e1565b60405161028291906154dd565b6103de6106133660046147e2565b612f7e565b61062b6106263660046146be565b612fb6565b60405161028293929190615146565b61064d61064836600461448c565b6130ee565b604051610282929190615233565b61066e610669366004614aec565b613107565b604051610282939291906156d5565b61069061068b3660046149dd565b613341565b60405161028293929190615481565b6000806106b3836106ae61337e565b6133a2565b60006106cc60048551866133fc9092919063ffffffff16565b8060200190516106df9190810190614990565b909350905060ff811660068111156106f357fe5b915050915091565b6000808061070f848263ffffffff61343f16565b92506001600160e01b031983167f02571792000000000000000000000000000000000000000000000000000000001461077d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107749061569e565b60405180910390fd5b61078e84601063ffffffff61347316565b91506107a184602463ffffffff6134a616565b929491935050565b6000806107b684846116be565b91506107c2848461239e565b90509250929050565b60008060006107dc846106ae6134b2565b60006107f560048651876133fc9092919063ffffffff16565b8060200190516108089190810190614d20565b9094509250905060ff8116600281111561081e57fe5b9350509193909250565b600080600061083785856107a9565b9150915061084582826134d6565b925050505b92915050565b6000606080610861846106ae6134ec565b835161087790859060049063ffffffff6133fc16565b80602001905161088a9190810190614930565b9196909550909350915050565b6000806108a6836106ae613510565b82516108bc90849060049063ffffffff6133fc16565b8060200190516108cf91908101906148d2565b9094909350915050565b60008060606108ea846106ae613534565b600061090360048651876133fc9092919063ffffffff16565b8060200190516109169190810190614cd4565b9094509250905060ff8116600181111561081e57fe5b60008060608061093e856106ae613558565b845161095490869060049063ffffffff6133fc16565b806020019051610967919081019061488e565b92989197509550909350915050565b600080610985836106ae61357c565b600061099e60048551866133fc9092919063ffffffff16565b8060200190516109b19190810190614c07565b9250905060ff811660038111156109c457fe5b925050915091565b6060600082519050806040519080825280602002602001820160405280156109fe578160200160208202803883390190505b50915060005b818114610a4757610a2885858381518110610a1b57fe5b602002602001015161239e565b838281518110610a3457fe5b6020908102919091010152600101610a04565b505092915050565b6040516060907ff47261b00000000000000000000000000000000000000000000000000000000090610a85908490602401614fb1565b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166001600160e01b0319909316929092179091529050919050565b6000806000610ae4846106ae6135a0565b8351610afa90859060049063ffffffff6133fc16565b80602001905161088a91908101906143b2565b60608080806000610b24868263ffffffff61343f16565b90506001600160e01b031981167fdedfc1f1000000000000000000000000000000000000000000000000000000001415610b95576040518060400160405280601181526020017f626174636843616e63656c4f72646572730000000000000000000000000000008152509450611124565b6001600160e01b031981167f9694a402000000000000000000000000000000000000000000000000000000001415610c04576040518060400160405280600f81526020017f626174636846696c6c4f726465727300000000000000000000000000000000008152509450611124565b6001600160e01b031981167f8ea8dfe4000000000000000000000000000000000000000000000000000000001415610c73576040518060400160405280601681526020017f626174636846696c6c4f72646572734e6f5468726f77000000000000000000008152509450611124565b6001600160e01b031981167fbeee2e14000000000000000000000000000000000000000000000000000000001415610ce2576040518060400160405280601581526020017f626174636846696c6c4f724b696c6c4f726465727300000000000000000000008152509450611124565b6001600160e01b031981167f2da62987000000000000000000000000000000000000000000000000000000001415610d51576040518060400160405280600b81526020017f63616e63656c4f726465720000000000000000000000000000000000000000008152509450611124565b6001600160e01b031981167f9b44d556000000000000000000000000000000000000000000000000000000001415610dc0576040518060400160405280600981526020017f66696c6c4f7264657200000000000000000000000000000000000000000000008152509450611124565b6001600160e01b031981167fe14b58c4000000000000000000000000000000000000000000000000000000001415610e2f576040518060400160405280600f81526020017f66696c6c4f724b696c6c4f7264657200000000000000000000000000000000008152509450611124565b6001600160e01b031981167f78d29ac1000000000000000000000000000000000000000000000000000000001415610e9e576040518060400160405280601681526020017f6d61726b65744275794f72646572734e6f5468726f77000000000000000000008152509450611124565b6001600160e01b031981167f369da099000000000000000000000000000000000000000000000000000000001415610f0d576040518060400160405280601781526020017f6d61726b657453656c6c4f72646572734e6f5468726f770000000000000000008152509450611124565b6001600160e01b031981167f8bc8efb3000000000000000000000000000000000000000000000000000000001415610f7c576040518060400160405280601981526020017f6d61726b65744275794f726465727346696c6c4f724b696c6c000000000000008152509450611124565b6001600160e01b031981167fa6c3bf33000000000000000000000000000000000000000000000000000000001415610feb576040518060400160405280601a81526020017f6d61726b657453656c6c4f726465727346696c6c4f724b696c6c0000000000008152509450611124565b6001600160e01b031981167f88ec79fb00000000000000000000000000000000000000000000000000000000141561105a576040518060400160405280600b81526020017f6d617463684f72646572730000000000000000000000000000000000000000008152509450611124565b6001600160e01b031981167f4f9559b10000000000000000000000000000000000000000000000000000000014806110bb57506001600160e01b031981167f2280c91000000000000000000000000000000000000000000000000000000000145b156110f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077490615630565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610774906155f9565b6001600160e01b031981167fdedfc1f10000000000000000000000000000000000000000000000000000000014156111c957855161116c90879060049063ffffffff6135c416565b80602001905161117f9190810190614607565b604080516000808252602082019092529195505b50604080516000808252602082019092529194506111c1565b60608152602001906001900390816111ac5790505b509150611646565b6001600160e01b031981167fbeee2e1400000000000000000000000000000000000000000000000000000000148061122a57506001600160e01b031981167f9694a40200000000000000000000000000000000000000000000000000000000145b8061125e57506001600160e01b031981167f8ea8dfe400000000000000000000000000000000000000000000000000000000145b156112785761126c86613644565b91955093509150611646565b6001600160e01b031981167f2da629870000000000000000000000000000000000000000000000000000000014156113605760408051600180825281830190925290816020015b6112c7613c90565b8152602001906001900390816112bf57505086519094506112f290879060049063ffffffff6135c416565b8060200190516113059190810190614a61565b8460008151811061131257fe5b602002602001018190525060006040519080825280602002602001820160405280156111935781602001602082028038833901905050604080516000808252602082019092529194506111c1565b6001600160e01b031981167fe14b58c40000000000000000000000000000000000000000000000000000000014806113c157506001600160e01b031981167f9b44d55600000000000000000000000000000000000000000000000000000000145b156113cf5761126c86613673565b6001600160e01b031981167f78d29ac100000000000000000000000000000000000000000000000000000000148061143057506001600160e01b031981167f369da09900000000000000000000000000000000000000000000000000000000145b8061146457506001600160e01b031981167f8bc8efb300000000000000000000000000000000000000000000000000000000145b8061149857506001600160e01b031981167fa6c3bf3300000000000000000000000000000000000000000000000000000000145b156114a65761126c8661376d565b6001600160e01b031981167f88ec79fb000000000000000000000000000000000000000000000000000000001415611646576114e0613c90565b6114e8613c90565b60608061150260048b518c6135c49092919063ffffffff16565b8060200190516115159190810190614b43565b604080516002808252606082019092529498509296509094509250816020015b61153d613c90565b815260200190600190039081611535579050509750838860008151811061156057fe5b6020026020010181905250828860018151811061157957fe5b602090810291909101015260408051600280825260608201909252908160200160208202803883390190505096508360a00151876000815181106115b957fe5b6020026020010181815250508260a00151876001815181106115d757fe5b60209081029190910101526040805160028082526060820190925290816020015b60608152602001906001900390816115f8579050509550818660008151811061161d57fe5b6020026020010181905250808660018151811061163657fe5b6020026020010181905250505050505b509193509193565b60008061165d836106ae6137e1565b825161167390849060049063ffffffff6133fc16565b8060200190516108cf91908101906149b4565b600080611695836106ae613805565b82516116ab90849060049063ffffffff6133fc16565b8060200190516108cf9190810190614379565b6000806116d1838263ffffffff61343f16565b90506001600160e01b031981167ff47261b000000000000000000000000000000000000000000000000000000000141561184657600061171884601063ffffffff61347316565b6040519091506060907f70a082310000000000000000000000000000000000000000000000000000000090611751908890602401614fb1565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050905060006060836001600160a01b0316836040516117cc9190614f95565b600060405180830381855afa9150503d8060008114611807576040519150601f19603f3d011682016040523d82523d6000602084013e61180c565b606091505b509150915081801561181f575080516020145b61182a57600061183b565b61183b81600063ffffffff6134a616565b955050505050611dcc565b6001600160e01b031981167f025717920000000000000000000000000000000000000000000000000000000014156119e157600080611884856106fb565b6040519194509250606091507f6352211e00000000000000000000000000000000000000000000000000000000906118c0908490602401615731565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050905060006060846001600160a01b03168360405161193b9190614f95565b600060405180830381855afa9150503d8060008114611976576040519150601f19603f3d011682016040523d82523d6000602084013e61197b565b606091505b50915091506000828015611990575081516020145b61199b5760006119ac565b6119ac82600c63ffffffff61347316565b9050896001600160a01b0316816001600160a01b0316146119ce5760006119d1565b60015b60ff169750505050505050611dcc565b6001600160e01b031981167fa7cb5fb7000000000000000000000000000000000000000000000000000000001415611bc4576000606080611a2186611ec4565b5081519296509094509250905060005b818114611bba5783516060907efdd58e00000000000000000000000000000000000000000000000000000000908b90879085908110611a6c57fe5b6020026020010151604051602401611a85929190615089565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050905060006060876001600160a01b031683604051611b009190614f95565b600060405180830381855afa9150503d8060008114611b3b576040519150601f19603f3d011682016040523d82523d6000602084013e611b40565b606091505b50915091506000828015611b55575081516020145b611b60576000611b71565b611b7182600063ffffffff6134a616565b90506000878681518110611b8157fe5b60200260200101518281611b9157fe5b0490508b811080611ba057508b155b15611ba957809b505b505060019093019250611a31915050565b5050505050611dcc565b6001600160e01b031981167fc339d10a000000000000000000000000000000000000000000000000000000001415611d15576040516060907fa85e59e40000000000000000000000000000000000000000000000000000000090611c33908690600090819081906024016153fa565b60408051601f198184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166001600160e01b03199094169390931790925260045491519092506000916001600160a01b031690611c9a908490614f95565b600060405180830381855afa9150503d8060008114611cd5576040519150601f19603f3d011682016040523d82523d6000602084013e611cda565b606091505b5050905080611cea576000611d0c565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5b93505050611dcc565b6001600160e01b031981167f94cfcdd7000000000000000000000000000000000000000000000000000000001415611dcc57606080611d53856121fc565b80519194509250905060005b818114611dc7576000611d8589858481518110611d7857fe5b60200260200101516116be565b90506000858381518110611d9557fe5b60200260200101518281611da557fe5b04905087811080611db4575087155b15611dbd578097505b5050600101611d5f565b505050505b5092915050565b600080611de6838263ffffffff61343f16565b91506001600160e01b031982167ff47261b00000000000000000000000000000000000000000000000000000000014611e4b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107749061569e565b611e5c83601063ffffffff61347316565b9050915091565b60008060006060611e76856106ae613829565b6000611e8f60048751886133fc9092919063ffffffff16565b806020019051611ea29190810190614c76565b91965094509250905060ff81166006811115611eba57fe5b9450509193509193565b60008060608080611edb868563ffffffff61343f16565b94506001600160e01b031985167fa7cb5fb70000000000000000000000000000000000000000000000000000000014611f40576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107749061569e565b505050506024828101516044840151606485015160848601519496929591820184019490820184019391010190565b6060808251604051908082528060200260200182016040528015611f9d578160200160208202803883390190505b50905060005b83518114611dcc57838181518110611fb757fe5b60200260200101516001600160a01b031631828281518110611fd557fe5b6020908102919091010152600101611fa3565b60606000845190508060405190808252806020026020018201604052801561201a578160200160208202803883390190505b50915060005b8181146120a25761206b86828151811061203657fe5b602002602001015186838151811061204a57fe5b602002602001015186848151811061205e57fe5b60200260200101516129e1565b83828151811061207757fe5b6020026020010190600481111561208a57fe5b9081600481111561209757fe5b905250600101612020565b50505b9392505050565b6040516060907f0257179200000000000000000000000000000000000000000000000000000000906120e49085908590602401615089565b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166001600160e01b031990931692909217909152905092915050565b60006060806060612146856106ae61384d565b845161215c90869060049063ffffffff6133fc16565b80602001905161096791908101906143f4565b6040516060907fa7cb5fb700000000000000000000000000000000000000000000000000000000906121ab908790879087908790602401615003565b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166001600160e01b0319909316929092179091529050949350505050565b6000606080612211848463ffffffff61343f16565b92506001600160e01b031983167f94cfcdd70000000000000000000000000000000000000000000000000000000014612276576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107749061569e565b835161228c90859060049063ffffffff6135c416565b80602001905161229f9190810190614817565b9395909450915050565b600060606122b9836106ae613871565b82516122cf90849060049063ffffffff6133fc16565b8060200190516108cf91908101906148f5565b6000806122f1836106ae613895565b600061230a60048551866133fc9092919063ffffffff16565b80602001905161231d9190810190614c07565b9250905060ff811660018111156109c457fe5b606060008251905080604051908082528060200260200182016040528015612362578160200160208202803883390190505b50915060005b818114610a475761237f85858381518110611d7857fe5b83828151811061238b57fe5b6020908102919091010152600101612368565b6000806123b1838263ffffffff61343f16565b90506001600160e01b031981167f94cfcdd7000000000000000000000000000000000000000000000000000000001415612463576060806123f1856121fc565b80519194509250905060005b81811461245857600061241689858481518110610a1b57fe5b9050600085838151811061242657fe5b6020026020010151828161243657fe5b04905087811080612445575087155b1561244e578097505b50506001016123fd565b5061084a9350505050565b6001600160e01b031981167ff47261b00000000000000000000000000000000000000000000000000000000014156124ee5760006124a884601063ffffffff61347316565b6001546040519192506060917fdd62ed3e00000000000000000000000000000000000000000000000000000000916117519189916001600160a01b031690602401614fc5565b6001600160e01b031981167f025717920000000000000000000000000000000000000000000000000000000014156127de5760008061252c856106fb565b600254604051929550909350606092507fe985e9c50000000000000000000000000000000000000000000000000000000091612578918a916001600160a01b0390911690602401614fc5565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050905060006060846001600160a01b0316836040516125f39190614f95565b600060405180830381855afa9150503d806000811461262e576040519150601f19603f3d011682016040523d82523d6000602084013e612633565b606091505b509150915081158061264757508051602014155b80612663575061265e81600063ffffffff6134a616565b600114155b156127b1576040516060907f081812fc000000000000000000000000000000000000000000000000000000009061269e908790602401615731565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050509050856001600160a01b0316816040516127159190614f95565b600060405180830381855afa9150503d8060008114612750576040519150601f19603f3d011682016040523d82523d6000602084013e612755565b606091505b509093509150828015612769575081516020145b801561279857506002546001600160a01b031661278d83600c63ffffffff61347316565b6001600160a01b0316145b6127a35760006127a6565b60015b60ff16975050611bba565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff96505050505050611dcc565b6001600160e01b031981167fa7cb5fb700000000000000000000000000000000000000000000000000000000141561298657600061281b84611ec4565b5050600354604051929450606093507fe985e9c50000000000000000000000000000000000000000000000000000000092612865925089916001600160a01b031690602401614fc5565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050905060006060836001600160a01b0316836040516128e09190614f95565b600060405180830381855afa9150503d806000811461291b576040519150601f19603f3d011682016040523d82523d6000602084013e612920565b606091505b5091509150818015612933575080516020145b801561294f575061294b81600063ffffffff6134a616565b6001145b61295a57600061183b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff955050505050611dcc565b6001600160e01b031981167fc339d10a000000000000000000000000000000000000000000000000000000001415611dcc57507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9392505050565b60006129eb613d23565b612a7c8584600560009054906101000a90046001600160a01b03166001600160a01b0316631ce4c78b6040518163ffffffff1660e01b815260040160206040518083038186803b158015612a3e57600080fd5b505afa158015612a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250612a769190810190614bef565b3a6138b9565b60408051600480825260a0820190925291925060609190816020015b6060815260200190600190039081612a9857505060408051600480825260a082019092529192506060919060208201608080388339505060408051600480825260a08201909252929350606092915060208201608080388339505060408051600480825260a0820190925292935060609291506020820160808038833901905050905088610160015184600081518110612b2e57fe5b60200260200101819052508783600081518110612b4757fe5b60200260200101906001600160a01b031690816001600160a01b031681525050886000015182600081518110612b7957fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508681600081518110612ba757fe5b60200260200101818152505088610140015184600181518110612bc657fe5b6020026020010181905250886000015183600181518110612be357fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508782600181518110612c1157fe5b60200260200101906001600160a01b031690816001600160a01b031681525050846000015181600181518110612c4357fe5b602002602001018181525050886101a0015184600281518110612c6257fe5b60200260200101819052508783600281518110612c7b57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050886040015182600281518110612cad57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050846060015181600281518110612cdf57fe5b60200260200101818152505088610180015184600381518110612cfe57fe5b6020026020010181905250886000015183600381518110612d1b57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050886040015182600381518110612d4d57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050846040015181600381518110612d7f57fe5b60209081029190910101526040516060907fb04fbddd0000000000000000000000000000000000000000000000000000000090612dc69087908790879087906024016150a2565b60408051601f198184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166001600160e01b03199094169390931790925260055491519092506060916001600160a01b031690612e2d908490614f95565b6000604051808303816000865af19150503d8060008114612e6a576040519150601f19603f3d011682016040523d82523d6000602084013e612e6f565b606091505b50915060009050612e86828263ffffffff61343f16565b9050612e90613534565b6001600160e01b031982811691161415612ed2576000612eaf836108d9565b5091505060ff81166004811115612ec257fe5b99505050505050505050506120a5565b612eda6134ec565b6001600160e01b031982811691161415612f0d576000612ef983610850565b509091505060ff81166004811115612ec257fe5b815160208301207ff43f26ea5a94b478394a975e856464913dc1a8a1ca70939d974aa7c238aa0ce01415612f4c576004985050505050505050506120a5565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610774906155c2565b6040516060907f94cfcdd700000000000000000000000000000000000000000000000000000000906120e49085908590602401615205565b606080606060008551905080604051908082528060200260200182016040528015612ffb57816020015b612fe8613d52565b815260200190600190039081612fe05790505b50935080604051908082528060200260200182016040528015613028578160200160208202803883390190505b50925080604051908082528060200260200182016040528015613055578160200160208202803883390190505b50915060005b8181146130e55761309287828151811061307157fe5b602002602001015187838151811061308557fe5b6020026020010151613107565b87518890859081106130a057fe5b602002602001018785815181106130b357fe5b602002602001018786815181106130c657fe5b931515602094850291909101909301929092529190525260010161305b565b50509250925092565b6060806130fb8484612330565b91506107c284846109cc565b61310f613d52565b600080546040517f9d3fa4b900000000000000000000000000000000000000000000000000000000815282916001600160a01b031690639d3fa4b9906131599088906004016156f9565b60606040518083038186803b15801561317157600080fd5b505afa158015613185573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506131a99190810190614a10565b85516000546040517fa12dcc6f00000000000000000000000000000000000000000000000000000000815292955090916001600160a01b039091169063a12dcc6f906131fb908990899060040161570c565b60206040518083038186803b15801561321357600080fd5b505afa158015613227573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061324b919081019061486e565b9150600061325e82886101400151610828565b60a088015160c08901516101808a01516101408b01519394509192909160009161328d9163ffffffff61393016565b156132ba576132b3846132ad848d6080015161395590919063ffffffff16565b85613971565b9050613313565b816132ce576132b3848b6080015185613971565b60006132df868c6101800151610828565b905060006132f2868d6080015187613971565b90506000613301838688613971565b905061330d82826134d6565b93505050505b61333361332d89604001518561399b90919063ffffffff16565b826134d6565b965050505050509250925092565b6000806000613352846106ae6139ba565b600061336b60048651876133fc9092919063ffffffff16565b8060200190516108089190810190614c34565b7ffdb6ca8d0000000000000000000000000000000000000000000000000000000090565b60006133af83600061343f565b90506001600160e01b0319808216908316146133f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077490615667565b505050565b60608183111561341a5761341a613415600085856139de565b613a4d565b83518211156134335761343361341560018487516139de565b50819003910190815290565b600081600401835110156134605761346061341560038551856004016139de565b5001602001516001600160e01b03191690565b600081601401835110156134945761349461341560048551856014016139de565b5001601401516001600160a01b031690565b60006120a58383613a55565b7f18e4b1410000000000000000000000000000000000000000000000000000000090565b60008183106134e557816120a5565b5090919050565b7f4678472b0000000000000000000000000000000000000000000000000000000090565b7fb6555d6f0000000000000000000000000000000000000000000000000000000090565b7f488219a60000000000000000000000000000000000000000000000000000000090565b7f1b8388f70000000000000000000000000000000000000000000000000000000090565b7fe94a7ed00000000000000000000000000000000000000000000000000000000090565b7f4ad312750000000000000000000000000000000000000000000000000000000090565b6060818311156135dd576135dd613415600085856139de565b83518211156135f6576135f661341560018487516139de565b8282036040519080825280601f01601f191660200182016040528015613623576020820181803883390190505b5090506120a561363282613a7f565b8461363c87613a7f565b018351613a85565b606080606061366060048551866135c49092919063ffffffff16565b80602001905161088a9190810190614715565b60408051600180825281830190925260609182918291816020015b613696613c90565b81526020019060019003908161368e5750506040805160018082528183019092529194506020808301908038833901905050604080516001808252818301909252919350816020015b60608152602001906001900390816136df575050845190915061370c90859060049063ffffffff6135c416565b80602001905161371f9190810190614b9c565b8560008151811061372c57fe5b602002602001018560008151811061374057fe5b602002602001018560008151811061375457fe5b6020908102919091010192909252919052529193909250565b6040805160018082528183019092526060918291829160208083019080388339505085519193506137a99186915060049063ffffffff6135c416565b8060200190516137bc919081019061478f565b845185906000906137c957fe5b60209081029190910101919091529095929450925050565b7f11c7b7200000000000000000000000000000000000000000000000000000000090565b7fa15c0d060000000000000000000000000000000000000000000000000000000090565b7f7e5a23180000000000000000000000000000000000000000000000000000000090565b7f5bd0428d0000000000000000000000000000000000000000000000000000000090565b7f20d11f610000000000000000000000000000000000000000000000000000000090565b7ff59851840000000000000000000000000000000000000000000000000000000090565b6138c1613d23565b6020810184905260a085015160808601516138dd918691613b2a565b815260a085015160c08601516138f4918691613b2a565b604082015260a085015160e086015161390e918691613b2a565b6060820152613923828463ffffffff613b5e16565b6080820152949350505050565b6000815183511480156120a55750508051602091820120825192909101919091201490565b6000828201838110156120a5576120a561341560008686613b8b565b600061399383613987868563ffffffff613b5e16565b9063ffffffff613baa16565b949350505050565b6000828211156139b4576139b461341560028585613b8b565b50900390565b7fe53c76c80000000000000000000000000000000000000000000000000000000090565b6060632800659560e01b8484846040516024016139fd939291906154cf565b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166001600160e01b03199093169290921790915290509392505050565b805160208201fd5b60008160200183511015613a7657613a7661341560058551856020016139de565b50016020015190565b60200190565b6020811015613aaf576001816020036101000a0380198351168185511680821786525050506133f7565b82821415613abc576133f7565b82821115613af65760208103905080820181840181515b82851015613aee578451865260209586019590940193613ad3565b9052506133f7565b60208103905080820181840183515b81861215613b215782518252601f199283019290910190613b05565b85525050505050565b6000613b37848484613bd4565b15613b4a57613b4a613415858585613c3a565b61399383613987868563ffffffff613b5e16565b600082613b6d5750600061084a565b82820282848281613b7a57fe5b04146120a5576120a5613415600186865b606063e946c1bb60e01b8484846040516024016139fd93929190615460565b600081613bc057613bc061341560038585613b8b565b6000828481613bcb57fe5b04949350505050565b600082613be657613be6613415613c59565b811580613bf1575083155b15613bfe575060006120a5565b60008380613c0857fe5b8584099050613c1d858463ffffffff613b5e16565b613c2f826103e863ffffffff613b5e16565b101595945050505050565b606063339f3de260e01b8484846040516024016139fd9392919061573a565b60408051808201909152600481527fa791837c00000000000000000000000000000000000000000000000000000000602082015290565b604051806101c0016040528060006001600160a01b0316815260200160006001600160a01b0316815260200160006001600160a01b0316815260200160006001600160a01b03168152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001606081526020016060815260200160608152602001606081525090565b6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b604080516060810182526000808252602082018190529181019190915290565b803561084a81615816565b805161084a81615816565b600082601f830112613d98578081fd5b8135613dab613da682615777565b615750565b818152915060208083019084810181840286018201871015613dcc57600080fd5b60005b84811015611dc7578135613de281615816565b84529282019290820190600101613dcf565b600082601f830112613e04578081fd5b8151613e12613da682615777565b8181529150602080830190840160005b83811015613e4f57613e3a8760208451890101614074565b83526020928301929190910190600101613e22565b5050505092915050565b600082601f830112613e69578081fd5b8135613e77613da682615777565b8181529150602080830190840160005b83811015613e4f57613e9f8760208435890101614026565b83526020928301929190910190600101613e87565b600082601f830112613ec4578081fd5b8151613ed2613da682615777565b8181529150602080830190840160005b83811015613e4f57613efa8760208451890101614209565b83526020928301929190910190600101613ee2565b600082601f830112613f1f578081fd5b8135613f2d613da682615777565b8181529150602080830190840160005b83811015613e4f57613f5587602084358901016140ba565b83526020928301929190910190600101613f3d565b600082601f830112613f7a578081fd5b8151613f88613da682615777565b818152915060208083019084810181840286018201871015613fa957600080fd5b60005b84811015611dc757815184529282019290820190600101613fac565b600082601f830112613fd8578081fd5b8135613fe6613da682615777565b81815291506020808301908481018184028601820187101561400757600080fd5b60005b84811015611dc75781358452928201929082019060010161400a565b600082601f830112614036578081fd5b8135614044613da682615797565b915080825283602082850101111561405b57600080fd5b8060208401602084013760009082016020015292915050565b600082601f830112614084578081fd5b8151614092613da682615797565b91508082528360208285010111156140a957600080fd5b611dcc8160208401602086016157bb565b60006101c08083850312156140cd578182fd5b6140d681615750565b9150506140e38383613d72565b81526140f28360208401613d72565b60208201526141048360408401613d72565b60408201526141168360608401613d72565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013567ffffffffffffffff8082111561417857600080fd5b61418486838701614026565b838501526101609250828501359150808211156141a057600080fd5b6141ac86838701614026565b838501526101809250828501359150808211156141c857600080fd5b6141d486838701614026565b838501526101a09250828501359150808211156141f057600080fd5b506141fd85828601614026565b82840152505092915050565b60006101c080838503121561421c578182fd5b61422581615750565b9150506142328383613d7d565b81526142418360208401613d7d565b60208201526142538360408401613d7d565b60408201526142658360608401613d7d565b60608201526080820151608082015260a082015160a082015260c082015160c082015260e082015160e08201526101008083015181830152506101208083015181830152506101408083015167ffffffffffffffff808211156142c757600080fd5b6142d386838701614074565b838501526101609250828501519150808211156142ef57600080fd5b6142fb86838701614074565b8385015261018092508285015191508082111561431757600080fd5b61432386838701614074565b838501526101a092508285015191508082111561433f57600080fd5b506141fd85828601614074565b805160ff8116811461084a57600080fd5b60006020828403121561436e578081fd5b81356120a581615816565b6000806040838503121561438b578081fd5b825161439681615816565b60208401519092506143a781615816565b809150509250929050565b6000806000606084860312156143c6578081fd5b83516143d181615816565b60208501519093506143e281615816565b80925050604084015190509250925092565b60008060008060808587031215614409578182fd5b845161441481615816565b602086015190945067ffffffffffffffff80821115614431578384fd5b61443d88838901614074565b94506040870151915080821115614452578384fd5b61445e88838901614074565b93506060870151915080821115614473578283fd5b5061448087828801614074565b91505092959194509250565b6000806040838503121561449e578182fd5b82356144a981615816565b9150602083013567ffffffffffffffff8111156144c4578182fd5b6144d085828601613e59565b9150509250929050565b600080600080608085870312156144ef578182fd5b84356144fa81615816565b9350602085013567ffffffffffffffff80821115614516578384fd5b61452288838901613fc8565b94506040870135915080821115614537578384fd5b61454388838901613fc8565b93506060870135915080821115614558578283fd5b5061448087828801614026565b60008060408385031215614577578182fd5b823561458281615816565b9150602083013567ffffffffffffffff81111561459d578182fd5b6144d085828601614026565b600080604083850312156145bb578182fd5b82356145c681615816565b946020939093013593505050565b6000602082840312156145e5578081fd5b813567ffffffffffffffff8111156145fb578182fd5b61399384828501613d88565b600060208284031215614618578081fd5b815167ffffffffffffffff81111561462e578182fd5b61399384828501613eb4565b60008060006060848603121561464e578081fd5b833567ffffffffffffffff80821115614665578283fd5b61467187838801613f0f565b94506020860135915080821115614686578283fd5b61469287838801613d88565b935060408601359150808211156146a7578283fd5b506146b486828701613fc8565b9150509250925092565b600080604083850312156146d0578182fd5b823567ffffffffffffffff808211156146e7578384fd5b6146f386838701613f0f565b93506020850135915080821115614708578283fd5b506144d085828601613e59565b600080600060608486031215614729578081fd5b835167ffffffffffffffff80821115614740578283fd5b61474c87838801613eb4565b94506020860151915080821115614761578283fd5b61476d87838801613f6a565b93506040860151915080821115614782578283fd5b506146b486828701613df4565b6000806000606084860312156147a3578081fd5b835167ffffffffffffffff808211156147ba578283fd5b6147c687838801613eb4565b9450602086015193506040860151915080821115614782578283fd5b600080604083850312156147f4578182fd5b823567ffffffffffffffff8082111561480b578384fd5b6146f386838701613fc8565b60008060408385031215614829578182fd5b825167ffffffffffffffff80821115614840578384fd5b61484c86838701613f6a565b93506020850151915080821115614861578283fd5b506144d085828601613df4565b60006020828403121561487f578081fd5b815180151581146120a5578182fd5b600080600080608085870312156148a3578182fd5b8451935060208501516148b581615816565b604086015190935067ffffffffffffffff80821115614452578384fd5b600080604083850312156148e4578182fd5b505080516020909101519092909150565b60008060408385031215614907578182fd5b82519150602083015167ffffffffffffffff811115614924578182fd5b6144d085828601614074565b600080600060608486031215614944578081fd5b83519250602084015167ffffffffffffffff80821115614962578283fd5b61496e87838801614074565b93506040860151915080821115614983578283fd5b506146b486828701614074565b600080604083850312156149a2578182fd5b8251915060208301516143a78161582b565b600080604083850312156149c6578182fd5b82516001600160e01b031981168114614396578283fd5b6000602082840312156149ee578081fd5b813567ffffffffffffffff811115614a04578182fd5b61399384828501614026565b60006060828403128015614a22578182fd5b8015614a2c578182fd5b50614a376060615750565b8251614a428161582b565b8152602083810151908201526040928301519281019290925250919050565b600060208284031215614a72578081fd5b815167ffffffffffffffff811115614a88578182fd5b61399384828501614209565b600080600060608486031215614aa8578081fd5b833567ffffffffffffffff811115614abe578182fd5b614aca868287016140ba565b9350506020840135614adb81615816565b929592945050506040919091013590565b60008060408385031215614afe578182fd5b823567ffffffffffffffff80821115614b15578384fd5b614b21868387016140ba565b93506020850135915080821115614b36578283fd5b506144d085828601614026565b60008060008060808587031215614b58578182fd5b845167ffffffffffffffff80821115614b6f578384fd5b614b7b88838901614209565b95506020870151915080821115614b90578384fd5b61443d88838901614209565b600080600060608486031215614bb0578081fd5b835167ffffffffffffffff80821115614bc7578283fd5b614bd387838801614209565b9450602086015193506040860151915080821115614983578283fd5b600060208284031215614c00578081fd5b5051919050565b60008060408385031215614c19578182fd5b8251614c248161582b565b6020939093015192949293505050565b600080600060608486031215614c48578081fd5b8351614c538161582b565b602085015160408601519194509250614c6b81615816565b809150509250925092565b60008060008060808587031215614c8b578182fd5b614c95868661434c565b9350602085015192506040850151614cac81615816565b606086015190925067ffffffffffffffff811115614cc8578182fd5b61448087828801614074565b600080600060608486031215614ce8578081fd5b614cf2858561434c565b925060208401519150604084015167ffffffffffffffff811115614d14578182fd5b6146b486828701614074565b600080600060608486031215614d34578081fd5b614d3e858561434c565b925060208401519150604084015190509250925092565b1515815260200190565b6000614d6b8383614e78565b505060600190565b6001600160a01b03169052565b6000815180845260208401935060208301825b82811015614dba5781516001600160a01b0316865260209586019590910190600101614d93565b5093949350505050565b600081518084526020840180819550602083028101915060208501845b84811015614e0f578284038852614df9848351614e4c565b6020988901989094509190910190600101614de1565b50919695505050505050565b6000815180845260208401935060208301825b82811015614dba578151865260209586019590910190600101614e2e565b60008151808452614e648160208601602086016157bb565b601f01601f19169290920160200192915050565b805160ff16825260208082015190830152604090810151910152565b60006101c0614ea4848451614d73565b6020830151614eb66020860182614d73565b506040830151614ec96040860182614d73565b506060830151614edc6060860182614d73565b506080830151608085015260a083015160a085015260c083015160c085015260e083015160e0850152610100808401518186015250610120808401518186015250610140808401518282870152614f3583870182614e4c565b91505061016091508184015185820383870152614f528282614e4c565b925050506101808084015185830382870152614f6e8382614e4c565b9150506101a091508184015185820383870152614f8b8282614e4c565b9695505050505050565b60008251614fa78184602087016157bb565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b60006001600160a01b0386168252608060208301526150256080830186614e1b565b82810360408401526150378186614e1b565b83810360608501526150498186614e4c565b98975050505050505050565b60006001600160a01b0386168252608060208301526150776080830186614e4c565b82810360408401526150378186614e4c565b6001600160a01b03929092168252602082015260400190565b6000608082526150b56080830187614dc4565b82810360208401526150c78187614d80565b83810360408501526150d98187614d80565b91505082810360608401526150ee8185614e1b565b979650505050505050565b602080825282518282018190526000918401906040840190835b8181101561513b5783516005811061512757fe5b835260209384019390920191600101615113565b509095945050505050565b6000606082016060835280865161515d8184615731565b9150602088019250835b8181101561518b5761517a838551614d5f565b602094909401939250600101615167565b5050838103602085015261519f8187614e1b565b91505082810360408401528084516151b78184615731565b9150602086019250835b818110156151e5576151d4838551614d55565b6020949094019392506001016151c1565b5090979650505050505050565b6000602082526120a56020830184614e1b565b6000604082526152186040830185614e1b565b828103602084015261522a8185614dc4565b95945050505050565b6000604082526152466040830185614e1b565b828103602084015261522a8185614e1b565b60008582526001600160a01b0385166020830152608060408301526152806080830185614e4c565b82810360608401526150ee8185614e4c565b918252602082015260400190565b6000838252604060208301526139936040830184614e4c565b6000848252606060208301526152d26060830185614e4c565b8281036040840152614f8b8185614e4c565b828152604081016152f48361580c565b8260208301529392505050565b6001600160e01b03199290921682526001600160a01b0316602082015260400190565b60006001600160e01b0319871682526001600160a01b038616602083015260a0604083015261535660a0830186614e1b565b82810360608401526153688186614e1b565b838103608085015261537a8186614e4c565b9998505050505050505050565b6001600160e01b03199390931683526001600160a01b03919091166020830152604082015260600190565b60006001600160e01b031985168252606060208301526153d56060830185614e1b565b8281036040840152614f8b8185614dc4565b6000602082526120a56020830184614e4c565b60006080825261540d6080830187614e4c565b6001600160a01b03958616602084015293909416604082015260ff9190911660609091015292915050565b6000615443856157eb565b8482528360208301526060604083015261522a6060830184614e4c565b6060810161546d856157f8565b938152602081019290925260409091015290565b6060810161548e85615802565b93815260208101929092526001600160a01b031660409091015290565b604081016154b8846157f8565b9281526020015290565b6060810161546d85615802565b606081016008851061546d57fe5b60208101600583106154eb57fe5b91905290565b60006154fc8661580c565b8582528460208301526001600160a01b038416604083015260806060830152614f8b6080830184614e4c565b604081016154b8846157eb565b6000608082526155486080830187614e4c565b602083820381850152818751808452828401915082838202850101838a01865b8381101561559657601f19878403018552615584838351614e94565b94860194925090850190600101615568565b505086810360408801526155aa818a614e1b565b94505050505082810360608401526150ee8185614dc4565b60208082526013908201527f554e4b4e4f574e5f52455455524e5f4441544100000000000000000000000000604082015260600190565b60208082526019908201527f554e4b4e4f574e5f46554e4354494f4e5f53454c4543544f5200000000000000604082015260600190565b6020808252600d908201527f554e494d504c454d454e54454400000000000000000000000000000000000000604082015260600190565b6020808252600c908201527f4241445f53454c4543544f520000000000000000000000000000000000000000604082015260600190565b6020808252600e908201527f57524f4e475f50524f58595f4944000000000000000000000000000000000000604082015260600190565b60a081016156e38286614e78565b8360608301528215156080830152949350505050565b6000602082526120a56020830184614e94565b60006040825261571f6040830185614e94565b828103602084015261522a8185614e4c565b90815260200190565b9283526020830191909152604082015260600190565b60405181810167ffffffffffffffff8111828210171561576f57600080fd5b604052919050565b600067ffffffffffffffff82111561578d578081fd5b5060209081020190565b600067ffffffffffffffff8211156157ad578081fd5b50601f01601f191660200190565b60005b838110156157d65781810151838201526020016157be565b838111156157e5576000848401525b50505050565b600281106157f557fe5b50565b600481106157f557fe5b600381106157f557fe5b600781106157f557fe5b6001600160a01b03811681146157f557600080fd5b60ff811681146157f557600080fdfea365627a7a723158200ea049525ebc74d73f3bf7858c601bd21168267b0dfb4abbdb7787cfd7233a2c6c6578706572696d656e74616cf564736f6c634300050c0040"
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:31](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L31)*
## Methods
### evmExecAsync
▸ **evmExecAsync**(`input`: `Buffer`): *`Promise<string>`*
Defined in base-contract/lib/src/index.d.ts:42
**Parameters:**
Name | Type |
------ | ------ |
`input` | `Buffer` |
**Returns:** *`Promise<string>`*
___
### `Static` ABI
▸ **ABI**(): *[ContractAbi](#contractabi)*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:4241](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L4241)*
**Returns:** *[ContractAbi](#contractabi)*
The contract ABI
___
### `Static` deployAsync
▸ **deployAsync**(`bytecode`: string, `abi`: [ContractAbi](#contractabi), `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults`: `Partial<TxData>`, `logDecodeDependencies`: object, `_exchange`: string): *`Promise<DevUtilsContract>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:4194](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L4194)*
**Parameters:**
Name | Type |
------ | ------ |
`bytecode` | string |
`abi` | [ContractAbi](#contractabi) |
`supportedProvider` | [SupportedProvider](#supportedprovider) |
`txDefaults` | `Partial<TxData>` |
`logDecodeDependencies` | object |
`_exchange` | string |
**Returns:** *`Promise<DevUtilsContract>`*
___
### `Static` deployFrom0xArtifactAsync
▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults`: `Partial<TxData>`, `logDecodeDependencies`: object, `_exchange`: string): *`Promise<DevUtilsContract>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:4161](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L4161)*
**Parameters:**
Name | Type |
------ | ------ |
`artifact` | `ContractArtifact` \| `SimpleContractArtifact` |
`supportedProvider` | [SupportedProvider](#supportedprovider) |
`txDefaults` | `Partial<TxData>` |
`logDecodeDependencies` | object |
`_exchange` | string |
**Returns:** *`Promise<DevUtilsContract>`*
___
### `Static` strictArgumentEncodingCheck
▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string*
Defined in base-contract/lib/src/index.d.ts:41
**Parameters:**
Name | Type |
------ | ------ |
`inputAbi` | `DataItem`[] |
`args` | any[] |
**Returns:** *string*
## Object literals
### decodeAssetProxyDispatchError
#### ▪ **decodeAssetProxyDispatchError**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:36](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L36)*
Decompose an ABI-encoded AssetProxyDispatchError.
#### callAsync
▸ **callAsync**(`encoded`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[number, string, string]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:44](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L44)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`encoded` | string | - | ABI-encoded revert error. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[number, string, string]>`*
errorCode The error code.orderHash Hash of the order being dispatched.assetData Asset data of the order being dispatched.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[number, string, string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:109](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L109)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[number, string, string]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:97](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L97)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`encoded`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:84](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L84)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`encoded` | string | ABI-encoded revert error. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### decodeAssetProxyExistsError
#### ▪ **decodeAssetProxyExistsError**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:120](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L120)*
Decompose an ABI-encoded AssetProxyExistsError.
#### callAsync
▸ **callAsync**(`encoded`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[string, string]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:128](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L128)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`encoded` | string | - | ABI-encoded revert error. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[string, string]>`*
assetProxyId Id of asset proxy.assetProxyAddress The address of the asset proxy.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[string, string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:193](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L193)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[string, string]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:181](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L181)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`encoded`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:168](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L168)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`encoded` | string | ABI-encoded revert error. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### decodeAssetProxyTransferError
#### ▪ **decodeAssetProxyTransferError**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:204](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L204)*
Decompose an ABI-encoded AssetProxyTransferError.
#### callAsync
▸ **callAsync**(`encoded`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[string, string, string]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:212](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L212)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`encoded` | string | - | ABI-encoded revert error. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[string, string, string]>`*
orderHash Hash of the order being dispatched.assetData Asset data of the order being dispatched.errorData ABI-encoded revert data from the asset proxy.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[string, string, string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:277](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L277)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[string, string, string]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:265](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L265)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`encoded`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:252](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L252)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`encoded` | string | ABI-encoded revert error. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### decodeEIP1271SignatureError
#### ▪ **decodeEIP1271SignatureError**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:288](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L288)*
Decompose an ABI-encoded SignatureValidatorError.
#### callAsync
▸ **callAsync**(`encoded`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[string, string, string, string]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:296](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L296)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`encoded` | string | - | ABI-encoded revert error. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[string, string, string, string]>`*
signerAddress The expected signer of the hash.signature The full signature bytes.errorData The revert data thrown by the validator contract.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[string, string, string, string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:361](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L361)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[string, string, string, string]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:349](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L349)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`encoded`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:336](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L336)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`encoded` | string | ABI-encoded revert error. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### decodeERC1155AssetData
#### ▪ **decodeERC1155AssetData**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:374](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L374)*
Decode ERC-1155 asset data from the format described in the AssetProxy contract specification.
#### callAsync
▸ **callAsync**(`assetData`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[string, string, BigNumber[], BigNumber[], string]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:383](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L383)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`assetData` | string | - | AssetProxy-compliant asset data describing an ERC-1155 set of assets. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[string, string, BigNumber[], BigNumber[], string]>`*
The ERC-1155 AssetProxy identifier, the address of the ERC-1155 contract hosting the assets, an array of the identifiers of the assets to be traded, an array of asset amounts to be traded, and callback data. Each element of the arrays corresponds to the same-indexed element of the other array. Return values specified as &#x60;memory&#x60; are returned as pointers to locations within the memory of the input parameter &#x60;assetData&#x60;.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[string, string, `BigNumber`[], `BigNumber`[], string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:449](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L449)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[string, string, `BigNumber`[], `BigNumber`[], string]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:437](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L437)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`assetData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:426](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L426)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string | AssetProxy-compliant asset data describing an ERC-1155 set of assets. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### decodeERC20AssetData
#### ▪ **decodeERC20AssetData**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:462](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L462)*
Decode ERC-20 asset data from the format described in the AssetProxy contract specification.
#### callAsync
▸ **callAsync**(`assetData`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[string, string]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:470](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L470)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`assetData` | string | - | AssetProxy-compliant asset data describing an ERC-20 asset. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[string, string]>`*
The ERC-20 AssetProxy identifier, and the address of the ERC-20 contract hosting this asset.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[string, string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:533](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L533)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[string, string]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:521](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L521)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`assetData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:510](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L510)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string | AssetProxy-compliant asset data describing an ERC-20 asset. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### decodeERC721AssetData
#### ▪ **decodeERC721AssetData**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:544](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L544)*
Decode ERC-721 asset data from the format described in the AssetProxy contract specification.
#### callAsync
▸ **callAsync**(`assetData`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[string, string, BigNumber]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:553](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L553)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`assetData` | string | - | AssetProxy-compliant asset data describing an ERC-721 asset. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[string, string, BigNumber]>`*
The ERC-721 AssetProxy identifier, the address of the ERC-721 contract hosting this asset, and the identifier of the specific asset to be traded.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[string, string, `BigNumber`]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:617](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L617)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[string, string, `BigNumber`]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:605](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L605)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`assetData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:594](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L594)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string | AssetProxy-compliant asset data describing an ERC-721 asset. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### decodeExchangeInvalidContextError
#### ▪ **decodeExchangeInvalidContextError**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:628](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L628)*
Decompose an ABI-encoded OrderStatusError.
#### callAsync
▸ **callAsync**(`encoded`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[number, string, string]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:636](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L636)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`encoded` | string | - | ABI-encoded revert error. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[number, string, string]>`*
errorCode Error code that corresponds to invalid maker, taker, or sender.orderHash The order hash.contextAddress The maker, taker, or sender address
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[number, string, string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:701](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L701)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[number, string, string]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:689](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L689)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`encoded`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:676](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L676)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`encoded` | string | ABI-encoded revert error. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### decodeFillError
#### ▪ **decodeFillError**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:712](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L712)*
Decompose an ABI-encoded FillError.
#### callAsync
▸ **callAsync**(`encoded`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[number, string]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:720](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L720)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`encoded` | string | - | ABI-encoded revert error. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[number, string]>`*
errorCode The error code.orderHash The order hash.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[number, string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:783](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L783)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[number, string]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:771](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L771)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`encoded`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:760](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L760)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`encoded` | string | ABI-encoded revert error. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### decodeIncompleteFillError
#### ▪ **decodeIncompleteFillError**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:794](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L794)*
Decompose an ABI-encoded IncompleteFillError.
#### callAsync
▸ **callAsync**(`encoded`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[number, BigNumber, BigNumber]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:802](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L802)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`encoded` | string | - | ABI-encoded revert error. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[number, BigNumber, BigNumber]>`*
orderHash Hash of the order being filled.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[number, `BigNumber`, `BigNumber`]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:867](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L867)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[number, `BigNumber`, `BigNumber`]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:855](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L855)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`encoded`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:842](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L842)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`encoded` | string | ABI-encoded revert error. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### decodeMultiAssetData
#### ▪ **decodeMultiAssetData**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:878](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L878)*
Decode multi-asset data from the format described in the AssetProxy contract specification.
#### callAsync
▸ **callAsync**(`assetData`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[string, BigNumber[], string[]]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:886](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L886)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`assetData` | string | - | AssetProxy-compliant data describing a multi-asset basket. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[string, BigNumber[], string[]]>`*
The Multi-Asset AssetProxy identifier, an array of the amounts of the assets to be traded, and an array of the AssetProxy-compliant data describing each asset to be traded. Each element of the arrays corresponds to the same-indexed element of the other array.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[string, `BigNumber`[], string[]]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:949](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L949)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[string, `BigNumber`[], string[]]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:937](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L937)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`assetData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:926](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L926)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string | AssetProxy-compliant data describing a multi-asset basket. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### decodeNegativeSpreadError
#### ▪ **decodeNegativeSpreadError**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:962](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L962)*
Decompose an ABI-encoded NegativeSpreadError.
#### callAsync
▸ **callAsync**(`encoded`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[string, string]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:970](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L970)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`encoded` | string | - | ABI-encoded revert error. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[string, string]>`*
leftOrderHash Hash of the left order being matched.rightOrderHash Hash of the right order being matched.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[string, string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1035](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1035)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[string, string]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1023](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1023)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`encoded`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1010](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1010)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`encoded` | string | ABI-encoded revert error. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### decodeOrderEpochError
#### ▪ **decodeOrderEpochError**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1046](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1046)*
Decompose an ABI-encoded OrderEpochError.
#### callAsync
▸ **callAsync**(`encoded`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[string, string, BigNumber]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1054](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1054)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`encoded` | string | - | ABI-encoded revert error. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[string, string, BigNumber]>`*
makerAddress The order maker.orderSenderAddress The order sender.currentEpoch The current epoch for the maker.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[string, string, `BigNumber`]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1117](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1117)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[string, string, `BigNumber`]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1105](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1105)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`encoded`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1094](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1094)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`encoded` | string | ABI-encoded revert error. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### decodeOrderStatusError
#### ▪ **decodeOrderStatusError**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1128](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1128)*
Decompose an ABI-encoded OrderStatusError.
#### callAsync
▸ **callAsync**(`encoded`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[string, number]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1136](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1136)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`encoded` | string | - | ABI-encoded revert error. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[string, number]>`*
orderHash The order hash.orderStatus The order status.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[string, number]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1199](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1199)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[string, number]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1187](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1187)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`encoded`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1176](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1176)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`encoded` | string | ABI-encoded revert error. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### decodeSignatureError
#### ▪ **decodeSignatureError**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1210](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1210)*
Decompose an ABI-encoded SignatureError.
#### callAsync
▸ **callAsync**(`encoded`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[number, string, string, string]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1218](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1218)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`encoded` | string | - | ABI-encoded revert error. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[number, string, string, string]>`*
errorCode The error code.signerAddress The expected signer of the hash.signature The full signature.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[number, string, string, string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1281](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1281)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[number, string, string, string]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1269](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1269)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`encoded`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1258](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1258)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`encoded` | string | ABI-encoded revert error. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### decodeSignatureValidatorNotApprovedError
#### ▪ **decodeSignatureValidatorNotApprovedError**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1294](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1294)*
Decompose an ABI-encoded SignatureValidatorNotApprovedError.
#### callAsync
▸ **callAsync**(`encoded`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[string, string]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1302](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1302)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`encoded` | string | - | ABI-encoded revert error. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[string, string]>`*
signerAddress The expected signer of the hash.validatorAddress The expected validator.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[string, string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1370](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1370)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[string, string]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1358](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1358)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`encoded`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1344](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1344)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`encoded` | string | ABI-encoded revert error. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### decodeSignatureWalletError
#### ▪ **decodeSignatureWalletError**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1381](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1381)*
Decompose an ABI-encoded SignatureWalletError.
#### callAsync
▸ **callAsync**(`encoded`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[string, string, string, string]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1389](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1389)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`encoded` | string | - | ABI-encoded revert error. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[string, string, string, string]>`*
errorCode The error code.signerAddress The expected signer of the hash.signature The full signature bytes.errorData The revert data thrown by the validator contract.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[string, string, string, string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1454](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1454)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[string, string, string, string]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1442](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1442)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`encoded`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1429](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1429)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`encoded` | string | ABI-encoded revert error. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### decodeTransactionError
#### ▪ **decodeTransactionError**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1467](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1467)*
Decompose an ABI-encoded TransactionError.
#### callAsync
▸ **callAsync**(`encoded`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[number, string]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1475](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1475)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`encoded` | string | - | ABI-encoded revert error. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[number, string]>`*
errorCode The error code.transactionHash Hash of the transaction.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[number, string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1538](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1538)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[number, string]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1526](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1526)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`encoded`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1515](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1515)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`encoded` | string | ABI-encoded revert error. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### decodeTransactionExecutionError
#### ▪ **decodeTransactionExecutionError**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1549](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1549)*
Decompose an ABI-encoded TransactionExecutionError.
#### callAsync
▸ **callAsync**(`encoded`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[string, string]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1557](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1557)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`encoded` | string | - | ABI-encoded revert error. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[string, string]>`*
transactionHash Hash of the transaction.errorData Error thrown by exeucteTransaction().
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[string, string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1622](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1622)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[string, string]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1610](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1610)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`encoded`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1597](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1597)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`encoded` | string | ABI-encoded revert error. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### decodeZeroExTransactionData
#### ▪ **decodeZeroExTransactionData**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1633](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1633)*
Decodes the call data for an Exchange contract method call.
#### callAsync
▸ **callAsync**(`transactionData`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[string, Array<object>, BigNumber[], string[]]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1642](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1642)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`transactionData` | string | - | ABI-encoded calldata for an Exchange contract method call. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[string, Array<object>, BigNumber[], string[]]>`*
The name of the function called, and the parameters it was given. For single-order fills and cancels, the arrays will have just one element.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[string, `Array<object>`, `BigNumber`[], string[]]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1752](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1752)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[string, `Array<object>`, `BigNumber`[], string[]]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1740](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1740)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`transactionData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1727](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1727)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`transactionData` | string | ABI-encoded calldata for an Exchange contract method call. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### encodeERC1155AssetData
#### ▪ **encodeERC1155AssetData**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1807](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1807)*
Encode ERC-1155 asset data into the format described in the AssetProxy contract specification.
#### callAsync
▸ **callAsync**(`tokenAddress`: string, `tokenIds`: `BigNumber`[], `tokenValues`: `BigNumber`[], `callbackData`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1820](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1820)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`tokenAddress` | string | - | The address of the ERC-1155 contract hosting the asset(s) to be traded. |
`tokenIds` | `BigNumber`[] | - | The identifiers of the specific assets to be traded. |
`tokenValues` | `BigNumber`[] | - | The amounts of each asset to be traded. |
`callbackData` | string | - | Data to be passed to receiving contracts when a transfer is performed. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<string>`*
AssetProxy-compliant asset data describing the set of assets.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1908](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1908)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *string*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1896](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1896)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`tokenAddress`: string, `tokenIds`: `BigNumber`[], `tokenValues`: `BigNumber`[], `callbackData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1874](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1874)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`tokenAddress` | string | The address of the ERC-1155 contract hosting the asset(s) to be traded. |
`tokenIds` | `BigNumber`[] | The identifiers of the specific assets to be traded. |
`tokenValues` | `BigNumber`[] | The amounts of each asset to be traded. |
`callbackData` | string | Data to be passed to receiving contracts when a transfer is performed. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### encodeERC20AssetData
#### ▪ **encodeERC20AssetData**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1919](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1919)*
Encode ERC-20 asset data into the format described in the AssetProxy contract specification.
#### callAsync
▸ **callAsync**(`tokenAddress`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1928](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1928)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`tokenAddress` | string | - | The address of the ERC-20 contract hosting the asset to be traded. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<string>`*
AssetProxy-compliant data describing the asset.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1996](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1996)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *string*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1984](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1984)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`tokenAddress`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:1971](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L1971)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`tokenAddress` | string | The address of the ERC-20 contract hosting the asset to be traded. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### encodeERC721AssetData
#### ▪ **encodeERC721AssetData**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2007](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2007)*
Encode ERC-721 asset data into the format described in the AssetProxy specification.
#### callAsync
▸ **callAsync**(`tokenAddress`: string, `tokenId`: `BigNumber`, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2017](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2017)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`tokenAddress` | string | - | The address of the ERC-721 contract hosting the asset to be traded. |
`tokenId` | `BigNumber` | - | The identifier of the specific asset to be traded. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<string>`*
AssetProxy-compliant asset data describing the asset.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2091](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2091)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *string*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2079](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2079)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`tokenAddress`: string, `tokenId`: `BigNumber`): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2064](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2064)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`tokenAddress` | string | The address of the ERC-721 contract hosting the asset to be traded. |
`tokenId` | `BigNumber` | The identifier of the specific asset to be traded. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### encodeMultiAssetData
#### ▪ **encodeMultiAssetData**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2102](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2102)*
Encode data for multiple assets, per the AssetProxy contract specification.
#### callAsync
▸ **callAsync**(`amounts`: `BigNumber`[], `nestedAssetData`: string[], `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2112](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2112)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`amounts` | `BigNumber`[] | - | The amounts of each asset to be traded. |
`nestedAssetData` | string[] | - | AssetProxy-compliant data describing each asset to be traded. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<string>`*
AssetProxy-compliant data describing the set of assets.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2186](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2186)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *string*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`[]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2174](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2174)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *`BigNumber`[]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`amounts`: `BigNumber`[], `nestedAssetData`: string[]): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2159](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2159)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`amounts` | `BigNumber`[] | The amounts of each asset to be traded. |
`nestedAssetData` | string[] | AssetProxy-compliant data describing each asset to be traded. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### getAssetProxyAllowance
#### ▪ **getAssetProxyAllowance**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2197](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2197)*
Returns the number of asset(s) (described by assetData) that the corresponding AssetProxy contract is authorized to spend. When the asset data contains multiple assets (eg for Multi-Asset), the return value indicates how many complete "baskets" of those assets may be spent by all of the corresponding AssetProxy contracts.
#### callAsync
▸ **callAsync**(`ownerAddress`: string, `assetData`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<BigNumber>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2207](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2207)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`ownerAddress` | string | - | Owner of the assets specified by assetData. |
`assetData` | string | - | Details of asset, encoded per the AssetProxy contract specification. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<BigNumber>`*
Number of assets (or asset baskets) that the corresponding AssetProxy is authorized to spend.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2289](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2289)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`BigNumber`*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2277](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2277)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`ownerAddress`: string, `assetData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2262](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2262)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`ownerAddress` | string | Owner of the assets specified by assetData. |
`assetData` | string | Details of asset, encoded per the AssetProxy contract specification. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### getBalance
#### ▪ **getBalance**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2300](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2300)*
Returns the owner's balance of the assets(s) specified in assetData. When the asset data contains multiple assets (eg in ERC1155 or Multi-Asset), the return value indicates how many complete "baskets" of those assets are owned by owner.
#### callAsync
▸ **callAsync**(`ownerAddress`: string, `assetData`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<BigNumber>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2310](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2310)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`ownerAddress` | string | - | Owner of the assets specified by assetData. |
`assetData` | string | - | Details of asset, encoded per the AssetProxy contract specification. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<BigNumber>`*
Number of assets (or asset baskets) held by owner.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2392](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2392)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`BigNumber`*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2380](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2380)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`ownerAddress`: string, `assetData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2365](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2365)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`ownerAddress` | string | Owner of the assets specified by assetData. |
`assetData` | string | Details of asset, encoded per the AssetProxy contract specification. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### getBalanceAndAssetProxyAllowance
#### ▪ **getBalanceAndAssetProxyAllowance**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2403](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2403)*
Calls getBalance() and getAllowance() for assetData.
#### callAsync
▸ **callAsync**(`ownerAddress`: string, `assetData`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[BigNumber, BigNumber]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2413](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2413)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`ownerAddress` | string | - | Owner of the assets specified by assetData. |
`assetData` | string | - | Details of asset, encoded per the AssetProxy contract specification. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[BigNumber, BigNumber]>`*
Number of assets (or asset baskets) held by owner, and number of assets (or asset baskets) that the corresponding AssetProxy is authorized to spend.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[`BigNumber`, `BigNumber`]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2495](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2495)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[`BigNumber`, `BigNumber`]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string, string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2483](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2483)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string, string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`ownerAddress`: string, `assetData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2468](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2468)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`ownerAddress` | string | Owner of the assets specified by assetData. |
`assetData` | string | Details of asset, encoded per the AssetProxy contract specification. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### getBatchAssetProxyAllowances
#### ▪ **getBatchAssetProxyAllowances**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2506](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2506)*
Calls getAssetProxyAllowance() for each element of assetData.
#### callAsync
▸ **callAsync**(`ownerAddress`: string, `assetData`: string[], `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<BigNumber[]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2516](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2516)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`ownerAddress` | string | - | Owner of the assets specified by assetData. |
`assetData` | string[] | - | Array of asset details, each encoded per the AssetProxy contract specification. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<BigNumber[]>`*
An array of asset allowances from getAllowance(), with each element corresponding to the same-indexed element in the assetData input.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`[]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2598](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2598)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`BigNumber`[]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2586](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2586)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`ownerAddress`: string, `assetData`: string[]): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2571](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2571)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`ownerAddress` | string | Owner of the assets specified by assetData. |
`assetData` | string[] | Array of asset details, each encoded per the AssetProxy contract specification. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### getBatchBalances
#### ▪ **getBatchBalances**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2609](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2609)*
Calls getBalance() for each element of assetData.
#### callAsync
▸ **callAsync**(`ownerAddress`: string, `assetData`: string[], `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<BigNumber[]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2619](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2619)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`ownerAddress` | string | - | Owner of the assets specified by assetData. |
`assetData` | string[] | - | Array of asset details, each encoded per the AssetProxy contract specification. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<BigNumber[]>`*
Array of asset balances from getBalance(), with each element corresponding to the same-indexed element in the assetData input.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`[]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2701](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2701)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`BigNumber`[]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2689](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2689)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`ownerAddress`: string, `assetData`: string[]): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2674](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2674)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`ownerAddress` | string | Owner of the assets specified by assetData. |
`assetData` | string[] | Array of asset details, each encoded per the AssetProxy contract specification. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### getBatchBalancesAndAssetProxyAllowances
#### ▪ **getBatchBalancesAndAssetProxyAllowances**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2712](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2712)*
Calls getBatchBalances() and getBatchAllowances() for each element of assetData.
#### callAsync
▸ **callAsync**(`ownerAddress`: string, `assetData`: string[], `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[BigNumber[], BigNumber[]]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2722](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2722)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`ownerAddress` | string | - | Owner of the assets specified by assetData. |
`assetData` | string[] | - | Array of asset details, each encoded per the AssetProxy contract specification. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[BigNumber[], BigNumber[]]>`*
An array of asset balances from getBalance(), and an array of asset allowances from getAllowance(), with each element corresponding to the same-indexed element in the assetData input.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[`BigNumber`[], `BigNumber`[]]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2804](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2804)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[`BigNumber`[], `BigNumber`[]]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string, string[]]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2792](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2792)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string, string[]]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`ownerAddress`: string, `assetData`: string[]): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2777](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2777)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`ownerAddress` | string | Owner of the assets specified by assetData. |
`assetData` | string[] | Array of asset details, each encoded per the AssetProxy contract specification. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### getEthBalances
#### ▪ **getEthBalances**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2815](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2815)*
Batch fetches ETH balances
#### callAsync
▸ **callAsync**(`addresses`: string[], `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<BigNumber[]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2823](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2823)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`addresses` | string[] | - | Array of addresses. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<BigNumber[]>`*
Array of ETH balances.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`[]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2894](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2894)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`BigNumber`[]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string[]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2882](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2882)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string[]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`addresses`: string[]): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2871](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2871)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`addresses` | string[] | Array of addresses. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### getOrderRelevantState
#### ▪ **getOrderRelevantState**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2905](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2905)*
Fetches all order-relevant information needed to validate if the supplied order is fillable.
#### callAsync
▸ **callAsync**(`order`: object, `signature`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[object, BigNumber, boolean]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2916](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2916)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`order` | object | - | The order structure. |
`signature` | string | - | Signature provided by maker that proves the order's authenticity. `0x01` can always be provided if the signature does not need to be validated. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[object, BigNumber, boolean]>`*
The orderInfo (hash, status, and &#x60;takerAssetAmount&#x60; already filled for the given order), fillableTakerAssetAmount (amount of the order&#x27;s &#x60;takerAssetAmount&#x60; that is fillable given all on-chain state), and isValidSignature (validity of the provided signature). NOTE: If the &#x60;takerAssetData&#x60; encodes data for multiple assets, &#x60;fillableTakerAssetAmount&#x60; will represent a &quot;scaled&quot; amount, meaning it must be multiplied by all the individual asset amounts within the &#x60;takerAssetData&#x60; to get the final amount of each asset that can be filled.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[object, `BigNumber`, boolean]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3078](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3078)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[object, `BigNumber`, boolean]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[object, string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3024](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3024)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[object, string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`order`: object, `signature`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:2992](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L2992)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`order` | object | The order structure. |
`signature` | string | Signature provided by maker that proves the order's authenticity. `0x01` can always be provided if the signature does not need to be validated. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### getOrderRelevantStates
#### ▪ **getOrderRelevantStates**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3095](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3095)*
Fetches all order-relevant information needed to validate if the supplied orders are fillable.
#### callAsync
▸ **callAsync**(`orders`: `Array<object>`, `signatures`: string[], `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<[Array<object>, BigNumber[], boolean[]]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3106](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3106)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`orders` | `Array<object>` | - | Array of order structures. |
`signatures` | string[] | - | Array of signatures provided by makers that prove the authenticity of the orders. `0x01` can always be provided if a signature does not need to be validated. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<[Array<object>, BigNumber[], boolean[]]>`*
The ordersInfo (array of the hash, status, and &#x60;takerAssetAmount&#x60; already filled for each order), fillableTakerAssetAmounts (array of amounts for each order&#x27;s &#x60;takerAssetAmount&#x60; that is fillable given all on-chain state), and isValidSignature (array containing the validity of each provided signature). NOTE: If the &#x60;takerAssetData&#x60; encodes data for multiple assets, each element of &#x60;fillableTakerAssetAmounts&#x60; will represent a &quot;scaled&quot; amount, meaning it must be multiplied by all the individual asset amounts within the &#x60;takerAssetData&#x60; to get the final amount of each asset that can be filled.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *[`Array<object>`, `BigNumber`[], boolean[]]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3278](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3278)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *[`Array<object>`, `BigNumber`[], boolean[]]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[`Array<object>`, string[]]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3224](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3224)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[`Array<object>`, string[]]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`orders`: `Array<object>`, `signatures`: string[]): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3191](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3191)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order structures. |
`signatures` | string[] | Array of signatures provided by makers that prove the authenticity of the orders. `0x01` can always be provided if a signature does not need to be validated. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### getSimulatedOrderTransferResults
#### ▪ **getSimulatedOrderTransferResults**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3303](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3303)*
Simulates all of the transfers within an order and returns the index of the first failed transfer.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`order`: object, `takerAddress`: string, `takerAssetFillAmount`: `BigNumber`, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3368](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3368)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`order` | object | The order to simulate transfers for. |
`takerAddress` | string | The address of the taker that will fill the order. |
`takerAssetFillAmount` | `BigNumber` | The amount of takerAsset that the taker wished to fill. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`order`: object, `takerAddress`: string, `takerAssetFillAmount`: `BigNumber`, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3509](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3509)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`order` | object | - | The order to simulate transfers for. |
`takerAddress` | string | - | The address of the taker that will fill the order. |
`takerAssetFillAmount` | `BigNumber` | - | The amount of takerAsset that the taker wished to fill. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<number>`*
The index of the first failed transfer (or 4 if all transfers are successful).
#### estimateGasAsync
▸ **estimateGasAsync**(`order`: object, `takerAddress`: string, `takerAssetFillAmount`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3421](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3421)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`order` | object | The order to simulate transfers for. |
`takerAddress` | string | The address of the taker that will fill the order. |
`takerAssetFillAmount` | `BigNumber` | The amount of takerAsset that the taker wished to fill. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *number*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3663](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3663)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *number*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3617](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3617)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *object*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`order`: object, `takerAddress`: string, `takerAssetFillAmount`: `BigNumber`): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3583](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3583)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`order` | object | The order to simulate transfers for. |
`takerAddress` | string | The address of the taker that will fill the order. |
`takerAssetFillAmount` | `BigNumber` | The amount of takerAsset that the taker wished to fill. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`order`: object, `takerAddress`: string, `takerAssetFillAmount`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3314](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3314)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`order` | object | The order to simulate transfers for. |
`takerAddress` | string | The address of the taker that will fill the order. |
`takerAssetFillAmount` | `BigNumber` | The amount of takerAsset that the taker wished to fill. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`order`: object, `takerAddress`: string, `takerAssetFillAmount`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3464](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3464)*
**Parameters:**
Name | Type |
------ | ------ |
`order` | object |
`takerAddress` | string |
`takerAssetFillAmount` | `BigNumber` |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### getSimulatedOrdersTransferResults
#### ▪ **getSimulatedOrdersTransferResults**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3676](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3676)*
Simulates all of the transfers for each given order and returns the indices of each first failed transfer.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`orders`: `Array<object>`, `takerAddresses`: string[], `takerAssetFillAmounts`: `BigNumber`[], `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3744](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3744)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of orders to individually simulate transfers for. |
`takerAddresses` | string[] | Array of addresses of takers that will fill each order. |
`takerAssetFillAmounts` | `BigNumber`[] | Array of amounts of takerAsset that will be filled for each order. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`orders`: `Array<object>`, `takerAddresses`: string[], `takerAssetFillAmounts`: `BigNumber`[], `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<number[]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3889](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3889)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`orders` | `Array<object>` | - | Array of orders to individually simulate transfers for. |
`takerAddresses` | string[] | - | Array of addresses of takers that will fill each order. |
`takerAssetFillAmounts` | `BigNumber`[] | - | Array of amounts of takerAsset that will be filled for each order. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<number[]>`*
The indices of the first failed transfer (or 4 if all transfers are successful) for each order.
#### estimateGasAsync
▸ **estimateGasAsync**(`orders`: `Array<object>`, `takerAddresses`: string[], `takerAssetFillAmounts`: `BigNumber`[], `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3799](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3799)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of orders to individually simulate transfers for. |
`takerAddresses` | string[] | Array of addresses of takers that will fill each order. |
`takerAssetFillAmounts` | `BigNumber`[] | Array of amounts of takerAsset that will be filled for each order. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *number[]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:4048](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L4048)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *number[]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *`Array<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:4000](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L4000)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *`Array<object>`*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`orders`: `Array<object>`, `takerAddresses`: string[], `takerAssetFillAmounts`: `BigNumber`[]): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3965](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3965)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of orders to individually simulate transfers for. |
`takerAddresses` | string[] | Array of addresses of takers that will fill each order. |
`takerAssetFillAmounts` | `BigNumber`[] | Array of amounts of takerAsset that will be filled for each order. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`orders`: `Array<object>`, `takerAddresses`: string[], `takerAssetFillAmounts`: `BigNumber`[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3688](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3688)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of orders to individually simulate transfers for. |
`takerAddresses` | string[] | Array of addresses of takers that will fill each order. |
`takerAssetFillAmounts` | `BigNumber`[] | Array of amounts of takerAsset that will be filled for each order. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`orders`: `Array<object>`, `takerAddresses`: string[], `takerAssetFillAmounts`: `BigNumber`[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:3843](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L3843)*
**Parameters:**
Name | Type |
------ | ------ |
`orders` | `Array<object>` |
`takerAddresses` | string[] |
`takerAssetFillAmounts` | `BigNumber`[] |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### getTransferableAssetAmount
#### ▪ **getTransferableAssetAmount**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:4061](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L4061)*
Gets the amount of an asset transferable by the owner.
#### callAsync
▸ **callAsync**(`ownerAddress`: string, `assetData`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<BigNumber>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:4071](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L4071)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`ownerAddress` | string | - | Address of the owner of the asset. |
`assetData` | string | - | Description of tokens, per the AssetProxy contract specification. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<BigNumber>`*
The amount of the asset tranferable by the owner. NOTE: If the &#x60;assetData&#x60; encodes data for multiple assets, the &#x60;transferableAssetAmount&#x60; will represent the amount of times the entire &#x60;assetData&#x60; can be transferred. To calculate the total individual transferable amounts, this scaled &#x60;transferableAmount&#x60; must be multiplied by the individual asset amounts located within the &#x60;assetData&#x60;.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:4153](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L4153)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`BigNumber`*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:4141](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L4141)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`ownerAddress`: string, `assetData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/dev_utils.ts:4126](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/dev_utils.ts#L4126)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`ownerAddress` | string | Address of the owner of the asset. |
`assetData` | string | Description of tokens, per the AssetProxy contract specification. |
**Returns:** *string*
The ABI encoded transaction data as a string
<hr />
# Class: ERC20TokenContract
## Constructors
\+ **new ERC20TokenContract**(`address`: string, `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults?`: `Partial<TxData>`, `logDecodeDependencies?`: undefined | object, `deployedBytecode`: string | undefined): *[ERC20TokenContract](#class-erc20tokencontract)*
*Overrides void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:1282](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L1282)*
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`address` | string | - |
`supportedProvider` | [SupportedProvider](#supportedprovider) | - |
`txDefaults?` | `Partial<TxData>` | - |
`logDecodeDependencies?` | undefined \| object | - |
`deployedBytecode` | string \| undefined | ERC20TokenContract.deployedBytecode |
**Returns:** *[ERC20TokenContract](#class-erc20tokencontract)*
## Properties
#### abi
• **abi**: *[ContractAbi](#contractabi)*
Defined in base-contract/lib/src/index.d.ts:27
___
### address
• **address**: *string*
Defined in base-contract/lib/src/index.d.ts:28
___
Args
• **constructorArgs**: *any[]*
Defined in base-contract/lib/src/index.d.ts:30
___
### contractName
• **contractName**: *string*
Defined in base-contract/lib/src/index.d.ts:29
___
### `Static` deployedBytecode
▪ **deployedBytecode**: *string* = "0x608060405234801561001057600080fd5b50600436106100725760003560e01c806370a082311161005057806370a0823114610121578063a9059cbb14610154578063dd62ed3e1461018d57610072565b8063095ea7b31461007757806318160ddd146100c457806323b872dd146100de575b600080fd5b6100b06004803603604081101561008d57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356101c8565b604080519115158252519081900360200190f35b6100cc61023b565b60408051918252519081900360200190f35b6100b0600480360360608110156100f457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610241565b6100cc6004803603602081101561013757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661049d565b6100b06004803603604081101561016a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356104c5565b6100cc600480360360408110156101a357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610652565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260408120548211156102d557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f45524332305f494e53554646494349454e545f42414c414e4345000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8416600090815260016020908152604080832033845290915290205482111561037457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f45524332305f494e53554646494349454e545f414c4c4f57414e434500000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054828101101561040a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f55494e543235365f4f564552464c4f5700000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff80841660008181526020818152604080832080548801905593881680835284832080548890039055600182528483203384528252918490208054879003905583518681529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060019392505050565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b3360009081526020819052604081205482111561054357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f45524332305f494e53554646494349454e545f42414c414e4345000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205482810110156105d957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f55494e543235365f4f564552464c4f5700000000000000000000000000000000604482015290519081900360640190fd5b336000818152602081815260408083208054879003905573ffffffffffffffffffffffffffffffffffffffff871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b73ffffffffffffffffffffffffffffffffffffffff91821660009081526001602090815260408083209390941682529190915220549056fea265627a7a723158205713efa92f66e67a8d01b80af8500df66bd6e9862dcf791e587181109d8ab0c464736f6c634300050b0032"
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:51](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L51)*
## Methods
### evmExecAsync
▸ **evmExecAsync**(`input`: `Buffer`): *`Promise<string>`*
Defined in base-contract/lib/src/index.d.ts:42
**Parameters:**
Name | Type |
------ | ------ |
`input` | `Buffer` |
**Returns:** *`Promise<string>`*
___
### getLogsAsync
▸ **getLogsAsync**<**ArgsType**>(`eventName`: [ERC20TokenEvents](#enumeration-erc20tokenevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise<Array<LogWithDecodedArgs<ArgsType>>>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:1266](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L1266)*
Gets historical logs without creating a subscription
**Type parameters:**
▪ **ArgsType**: *[ERC20TokenEventArgs](#erc20tokeneventargs)*
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`eventName` | [ERC20TokenEvents](#enumeration-erc20tokenevents) | The ERC20Token contract event you would like to subscribe to. |
`blockRange` | `BlockRange` | Block range to get logs from. |
`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` |
**Returns:** *`Promise<Array<LogWithDecodedArgs<ArgsType>>>`*
Array of logs that match the parameters
___
### subscribe
▸ **subscribe**<**ArgsType**>(`eventName`: [ERC20TokenEvents](#enumeration-erc20tokenevents), `indexFilterValues`: `IndexedFilterValues`, `callback`: [EventCallback](#eventcallback)*`ArgsType`*, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:1224](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L1224)*
Subscribe to an event type emitted by the ERC20Token contract.
**Type parameters:**
▪ **ArgsType**: *[ERC20TokenEventArgs](#erc20tokeneventargs)*
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`eventName` | [ERC20TokenEvents](#enumeration-erc20tokenevents) | - | The ERC20Token contract event you would like to subscribe to. |
`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` |
`callback` | [EventCallback](#eventcallback)*`ArgsType`* | - | Callback that gets called when a log is added/removed |
`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) |
`blockPollingIntervalMs?` | undefined \| number | - | - |
**Returns:** *string*
Subscription token used later to unsubscribe
___
### unsubscribe
▸ **unsubscribe**(`subscriptionToken`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:1249](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L1249)*
Cancel a subscription
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`subscriptionToken` | string | Subscription token returned by `subscribe()` |
**Returns:** *void*
___
### unsubscribeAll
▸ **unsubscribeAll**(): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:1255](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L1255)*
Cancels all existing subscriptions
**Returns:** *void*
___
### `Static` ABI
▸ **ABI**(): *[ContractAbi](#contractabi)*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:1035](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L1035)*
**Returns:** *[ContractAbi](#contractabi)*
The contract ABI
___
### `Static` deployAsync
▸ **deployAsync**(`bytecode`: string, `abi`: [ContractAbi](#contractabi), `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults`: `Partial<TxData>`, `logDecodeDependencies`: object): *`Promise<ERC20TokenContract>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:993](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L993)*
**Parameters:**
Name | Type |
------ | ------ |
`bytecode` | string |
`abi` | [ContractAbi](#contractabi) |
`supportedProvider` | [SupportedProvider](#supportedprovider) |
`txDefaults` | `Partial<TxData>` |
`logDecodeDependencies` | object |
**Returns:** *`Promise<ERC20TokenContract>`*
___
### `Static` deployFrom0xArtifactAsync
▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults`: `Partial<TxData>`, `logDecodeDependencies`: object): *`Promise<ERC20TokenContract>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:968](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L968)*
**Parameters:**
Name | Type |
------ | ------ |
`artifact` | `ContractArtifact` \| `SimpleContractArtifact` |
`supportedProvider` | [SupportedProvider](#supportedprovider) |
`txDefaults` | `Partial<TxData>` |
`logDecodeDependencies` | object |
**Returns:** *`Promise<ERC20TokenContract>`*
___
### `Static` strictArgumentEncodingCheck
▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string*
Defined in base-contract/lib/src/index.d.ts:41
**Parameters:**
Name | Type |
------ | ------ |
`inputAbi` | `DataItem`[] |
`args` | any[] |
**Returns:** *string*
## Object literals
### allowance
#### ▪ **allowance**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:869](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L869)*
#### callAsync
▸ **callAsync**(`_owner`: string, `_spender`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<BigNumber>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:878](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L878)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`_owner` | string | - | The address of the account owning tokens |
`_spender` | string | - | The address of the account able to transfer the tokens |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<BigNumber>`*
Amount of remaining tokens allowed to spent
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:959](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L959)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`BigNumber`*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:947](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L947)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`_owner`: string, `_spender`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:932](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L932)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_owner` | string | The address of the account owning tokens |
`_spender` | string | The address of the account able to transfer the tokens |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### approve
#### ▪ **approve**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:56](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L56)*
`msg.sender` approves `_spender` to spend `_value` tokens
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:101](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L101)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_spender` | string | The address of the account able to transfer the tokens |
`_value` | `BigNumber` | The amount of wei to be approved for transfer |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`_spender`: string, `_value`: `BigNumber`, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<boolean>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:175](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L175)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`_spender` | string | - | The address of the account able to transfer the tokens |
`_value` | `BigNumber` | - | The amount of wei to be approved for transfer |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<boolean>`*
Always true if the call has enough gas to complete execution
#### estimateGasAsync
▸ **estimateGasAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:131](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L131)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_spender` | string | The address of the account able to transfer the tokens |
`_value` | `BigNumber` | The amount of wei to be approved for transfer |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *boolean*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:256](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L256)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *boolean*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:244](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L244)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`_spender`: string, `_value`: `BigNumber`): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:229](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L229)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_spender` | string | The address of the account able to transfer the tokens |
`_value` | `BigNumber` | The amount of wei to be approved for transfer |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:65](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L65)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_spender` | string | The address of the account able to transfer the tokens |
`_value` | `BigNumber` | The amount of wei to be approved for transfer |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:158](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L158)*
**Parameters:**
Name | Type |
------ | ------ |
`_spender` | string |
`_value` | `BigNumber` |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### balanceOf
#### ▪ **balanceOf**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:584](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L584)*
Query the balance of owner
#### callAsync
▸ **callAsync**(`_owner`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<BigNumber>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:592](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L592)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`_owner` | string | - | The address from which the balance will be retrieved |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<BigNumber>`*
Balance of owner
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:663](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L663)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`BigNumber`*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:651](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L651)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`_owner`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:640](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L640)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_owner` | string | The address from which the balance will be retrieved |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### totalSupply
#### ▪ **totalSupply**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:267](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L267)*
Query total supply of token
#### callAsync
▸ **callAsync**(`callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<BigNumber>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:274](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L274)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<BigNumber>`*
Total supply of token
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:338](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L338)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`BigNumber`*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:326](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L326)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *void*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:316](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L316)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Returns:** *string*
The ABI encoded transaction data as a string
___
### transfer
#### ▪ **transfer**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:674](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L674)*
send `value` token to `to` from `msg.sender`
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:716](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L716)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_to` | string | The address of the recipient |
`_value` | `BigNumber` | The amount of token to be transferred |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`_to`: string, `_value`: `BigNumber`, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<boolean>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:783](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L783)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`_to` | string | - | The address of the recipient |
`_value` | `BigNumber` | - | The amount of token to be transferred |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<boolean>`*
True if transfer was successful
#### estimateGasAsync
▸ **estimateGasAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:746](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L746)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_to` | string | The address of the recipient |
`_value` | `BigNumber` | The amount of token to be transferred |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *boolean*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:861](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L861)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *boolean*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:849](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L849)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`_to`: string, `_value`: `BigNumber`): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:834](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L834)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_to` | string | The address of the recipient |
`_value` | `BigNumber` | The amount of token to be transferred |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:683](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L683)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_to` | string | The address of the recipient |
`_value` | `BigNumber` | The amount of token to be transferred |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:766](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L766)*
**Parameters:**
Name | Type |
------ | ------ |
`_to` | string |
`_value` | `BigNumber` |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### transferFrom
#### ▪ **transferFrom**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:349](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L349)*
send `value` token to `to` from `from` on the condition it is approved by `from`
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:399](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L399)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_from` | string | The address of the sender |
`_to` | string | The address of the recipient |
`_value` | `BigNumber` | The amount of token to be transferred |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<boolean>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:486](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L486)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`_from` | string | - | The address of the sender |
`_to` | string | - | The address of the recipient |
`_value` | `BigNumber` | - | The amount of token to be transferred |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<boolean>`*
True if transfer was successful
#### estimateGasAsync
▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:437](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L437)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_from` | string | The address of the sender |
`_to` | string | The address of the recipient |
`_value` | `BigNumber` | The amount of token to be transferred |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *boolean*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:573](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L573)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *boolean*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:561](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L561)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_value`: `BigNumber`): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:544](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L544)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_from` | string | The address of the sender |
`_to` | string | The address of the recipient |
`_value` | `BigNumber` | The amount of token to be transferred |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:359](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L359)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_from` | string | The address of the sender |
`_to` | string | The address of the recipient |
`_value` | `BigNumber` | The amount of token to be transferred |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:467](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L467)*
**Parameters:**
Name | Type |
------ | ------ |
`_from` | string |
`_to` | string |
`_value` | `BigNumber` |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
<hr />
# Class: ERC721TokenContract
## Constructors
\+ **new ERC721TokenContract**(`address`: string, `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults?`: `Partial<TxData>`, `logDecodeDependencies?`: undefined | object, `deployedBytecode`: string | undefined): *[ERC721TokenContract](#class-erc721tokencontract)*
*Overrides void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1991](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1991)*
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`address` | string | - |
`supportedProvider` | [SupportedProvider](#supportedprovider) | - |
`txDefaults?` | `Partial<TxData>` | - |
`logDecodeDependencies?` | undefined \| object | - |
`deployedBytecode` | string \| undefined | ERC721TokenContract.deployedBytecode |
**Returns:** *[ERC721TokenContract](#class-erc721tokencontract)*
## Properties
#### abi
• **abi**: *[ContractAbi](#contractabi)*
Defined in base-contract/lib/src/index.d.ts:27
___
### address
• **address**: *string*
Defined in base-contract/lib/src/index.d.ts:28
___
Args
• **constructorArgs**: *any[]*
Defined in base-contract/lib/src/index.d.ts:30
___
### contractName
• **contractName**: *string*
Defined in base-contract/lib/src/index.d.ts:29
___
### `Static` deployedBytecode
▪ **deployedBytecode**: *string* = "0x608060405234801561001057600080fd5b50600436106100a35760003560e01c80636352211e11610076578063a22cb4651161005b578063a22cb46514610211578063b88d4fde1461024c578063e985e9c5146102e9576100a3565b80636352211e146101af57806370a08231146101cc576100a3565b8063081812fc146100a8578063095ea7b3146100ee57806323b872dd1461012957806342842e0e1461016c575b600080fd5b6100c5600480360360208110156100be57600080fd5b5035610338565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6101276004803603604081101561010457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610360565b005b6101276004803603606081101561013f57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610482565b6101276004803603606081101561018257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604001356107ef565b6100c5600480360360208110156101c557600080fd5b5035610989565b6101ff600480360360208110156101e257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a20565b60408051918252519081900360200190f35b6101276004803603604081101561022757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001351515610acd565b6101276004803603608081101561026257600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235811692602081013590911691604082013591908101906080810160608201356401000000008111156102aa57600080fd5b8201836020820111156102bc57600080fd5b803590602001918460018302840111640100000000831117156102de57600080fd5b509092509050610b66565b610324600480360360408110156102ff57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610d31565b604080519115158252519081900360200190f35b60009081526001602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b600061036b82610989565b90503373ffffffffffffffffffffffffffffffffffffffff8216148061039657506103968133610d31565b61040157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4552433732315f494e56414c49445f53454e4445520000000000000000000000604482015290519081900360640190fd5b60008281526001602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b73ffffffffffffffffffffffffffffffffffffffff821661050457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4552433732315f5a45524f5f544f5f4144445245535300000000000000000000604482015290519081900360640190fd5b600061050f82610989565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146105ab57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4552433732315f4f574e45525f4d49534d415443480000000000000000000000604482015290519081900360640190fd5b3360006105b784610338565b90508273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614806105f857506105f88383610d31565b8061062e57508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b61069957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4552433732315f494e56414c49445f5350454e44455200000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116156106ea57600084815260016020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555b60008481526020818152604080832080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8a811691909117909155891683526002909152902054610753906001610d6c565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600260205260408082209390935590871681522054610790906001610d90565b73ffffffffffffffffffffffffffffffffffffffff808716600081815260026020526040808220949094559251879391928a16917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050505050565b6107fa838383610482565b813b801561098357604080517f150b7a0200000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff8681166024830152604482018590526080606483015260006084830181905292519086169163150b7a029160c480830192602092919082900301818787803b15801561088f57600080fd5b505af11580156108a3573d6000803e3d6000fd5b505050506040513d60208110156108b957600080fd5b505160405190915080602f610e5b8239602f01905060405180910390207bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461098157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4552433732315f494e56414c49445f53454c4543544f52000000000000000000604482015290519081900360640190fd5b505b50505050565b60008181526020819052604081205473ffffffffffffffffffffffffffffffffffffffff1680610a1a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4552433732315f5a45524f5f4f574e4552000000000000000000000000000000604482015290519081900360640190fd5b92915050565b600073ffffffffffffffffffffffffffffffffffffffff8216610aa457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4552433732315f5a45524f5f4f574e4552000000000000000000000000000000604482015290519081900360640190fd5b5073ffffffffffffffffffffffffffffffffffffffff1660009081526002602052604090205490565b33600081815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b610b71858585610482565b833b8015610d29576040517f150b7a02000000000000000000000000000000000000000000000000000000008152336004820181815273ffffffffffffffffffffffffffffffffffffffff89811660248501526044840188905260806064850190815260848501879052600094918a169363150b7a029390928c928b928b928b929060a401848480828437600081840152601f19601f8201169050808301925050509650505050505050602060405180830381600087803b158015610c3557600080fd5b505af1158015610c49573d6000803e3d6000fd5b505050506040513d6020811015610c5f57600080fd5b505160405190915080602f610e5b8239602f01905060405180910390207bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614610d2757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4552433732315f494e56414c49445f53454c4543544f52000000000000000000604482015290519081900360640190fd5b505b505050505050565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260036020908152604080832093909416825291909152205460ff1690565b600082821115610d8a57610d8a610d8560028585610db3565b610e52565b50900390565b600082820183811015610dac57610dac610d8560008686610db3565b9392505050565b606063e946c1bb60e01b84848460405160240180846003811115610dd357fe5b60ff1681526020018381526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505090509392505050565b805160208201fdfe6f6e455243373231526563656976656428616464726573732c616464726573732c75696e743235362c627974657329a265627a7a723158204bc74831490bca4fbe1805808d58d6b0e12f618a37565e744e91d8dc73dc18b164736f6c634300050c0032"
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:61](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L61)*
## Methods
### evmExecAsync
▸ **evmExecAsync**(`input`: `Buffer`): *`Promise<string>`*
Defined in base-contract/lib/src/index.d.ts:42
**Parameters:**
Name | Type |
------ | ------ |
`input` | `Buffer` |
**Returns:** *`Promise<string>`*
___
### getLogsAsync
▸ **getLogsAsync**<**ArgsType**>(`eventName`: [ERC721TokenEvents](#enumeration-erc721tokenevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise<Array<LogWithDecodedArgs<ArgsType>>>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1975](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1975)*
Gets historical logs without creating a subscription
**Type parameters:**
▪ **ArgsType**: *[ERC721TokenEventArgs](#erc721tokeneventargs)*
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`eventName` | [ERC721TokenEvents](#enumeration-erc721tokenevents) | The ERC721Token contract event you would like to subscribe to. |
`blockRange` | `BlockRange` | Block range to get logs from. |
`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` |
**Returns:** *`Promise<Array<LogWithDecodedArgs<ArgsType>>>`*
Array of logs that match the parameters
___
### subscribe
▸ **subscribe**<**ArgsType**>(`eventName`: [ERC721TokenEvents](#enumeration-erc721tokenevents), `indexFilterValues`: `IndexedFilterValues`, `callback`: [EventCallback](#eventcallback)*`ArgsType`*, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1933](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1933)*
Subscribe to an event type emitted by the ERC721Token contract.
**Type parameters:**
▪ **ArgsType**: *[ERC721TokenEventArgs](#erc721tokeneventargs)*
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`eventName` | [ERC721TokenEvents](#enumeration-erc721tokenevents) | - | The ERC721Token contract event you would like to subscribe to. |
`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` |
`callback` | [EventCallback](#eventcallback)*`ArgsType`* | - | Callback that gets called when a log is added/removed |
`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) |
`blockPollingIntervalMs?` | undefined \| number | - | - |
**Returns:** *string*
Subscription token used later to unsubscribe
___
### unsubscribe
▸ **unsubscribe**(`subscriptionToken`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1958](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1958)*
Cancel a subscription
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`subscriptionToken` | string | Subscription token returned by `subscribe()` |
**Returns:** *void*
___
### unsubscribeAll
▸ **unsubscribeAll**(): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1964](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1964)*
Cancels all existing subscriptions
**Returns:** *void*
___
### `Static` ABI
▸ **ABI**(): *[ContractAbi](#contractabi)*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1664](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1664)*
**Returns:** *[ContractAbi](#contractabi)*
The contract ABI
___
### `Static` deployAsync
▸ **deployAsync**(`bytecode`: string, `abi`: [ContractAbi](#contractabi), `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults`: `Partial<TxData>`, `logDecodeDependencies`: object): *`Promise<ERC721TokenContract>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1622](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1622)*
**Parameters:**
Name | Type |
------ | ------ |
`bytecode` | string |
`abi` | [ContractAbi](#contractabi) |
`supportedProvider` | [SupportedProvider](#supportedprovider) |
`txDefaults` | `Partial<TxData>` |
`logDecodeDependencies` | object |
**Returns:** *`Promise<ERC721TokenContract>`*
___
### `Static` deployFrom0xArtifactAsync
▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults`: `Partial<TxData>`, `logDecodeDependencies`: object): *`Promise<ERC721TokenContract>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1597](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1597)*
**Parameters:**
Name | Type |
------ | ------ |
`artifact` | `ContractArtifact` \| `SimpleContractArtifact` |
`supportedProvider` | [SupportedProvider](#supportedprovider) |
`txDefaults` | `Partial<TxData>` |
`logDecodeDependencies` | object |
**Returns:** *`Promise<ERC721TokenContract>`*
___
### `Static` strictArgumentEncodingCheck
▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string*
Defined in base-contract/lib/src/index.d.ts:41
**Parameters:**
Name | Type |
------ | ------ |
`inputAbi` | `DataItem`[] |
`args` | any[] |
**Returns:** *string*
## Object literals
### approve
#### ▪ **approve**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:68](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L68)*
The zero address indicates there is no approved address.
Throws unless `msg.sender` is the current NFT owner, or an authorized
operator of the current owner.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`_approved`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:113](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L113)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_approved` | string | The new approved NFT controller |
`_tokenId` | `BigNumber` | The NFT to approve |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`_approved`: string, `_tokenId`: `BigNumber`, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<void>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:186](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L186)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`_approved` | string | - | The new approved NFT controller |
`_tokenId` | `BigNumber` | - | The NFT to approve |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<void>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`_approved`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:143](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L143)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_approved` | string | The new approved NFT controller |
`_tokenId` | `BigNumber` | The NFT to approve |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:267](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L267)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *void*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string, `BigNumber`]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:255](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L255)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string, `BigNumber`]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`_approved`: string, `_tokenId`: `BigNumber`): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:240](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L240)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_approved` | string | The new approved NFT controller |
`_tokenId` | `BigNumber` | The NFT to approve |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`_approved`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:77](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L77)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_approved` | string | The new approved NFT controller |
`_tokenId` | `BigNumber` | The NFT to approve |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`_approved`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:170](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L170)*
**Parameters:**
Name | Type |
------ | ------ |
`_approved` | string |
`_tokenId` | `BigNumber` |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### balanceOf
#### ▪ **balanceOf**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:279](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L279)*
NFTs assigned to the zero address are considered invalid, and this
function throws for queries about the zero address.
#### callAsync
▸ **callAsync**(`_owner`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<BigNumber>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:287](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L287)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`_owner` | string | - | An address for whom to query the balance |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<BigNumber>`*
The number of NFTs owned by &#x60;_owner&#x60;, possibly zero
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:358](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L358)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`BigNumber`*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:346](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L346)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`_owner`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:335](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L335)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_owner` | string | An address for whom to query the balance |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### getApproved
#### ▪ **getApproved**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:369](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L369)*
Throws if `_tokenId` is not a valid NFT.
#### callAsync
▸ **callAsync**(`_tokenId`: `BigNumber`, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:377](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L377)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`_tokenId` | `BigNumber` | - | The NFT to find the approved address for |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<string>`*
The approved address for this NFT, or the zero address if there is none
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:448](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L448)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *string*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:436](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L436)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *`BigNumber`*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`_tokenId`: `BigNumber`): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:425](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L425)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_tokenId` | `BigNumber` | The NFT to find the approved address for |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### isApprovedForAll
#### ▪ **isApprovedForAll**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:456](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L456)*
#### callAsync
▸ **callAsync**(`_owner`: string, `_operator`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<boolean>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:465](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L465)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`_owner` | string | - | The address that owns the NFTs |
`_operator` | string | - | The address that acts on behalf of the owner |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<boolean>`*
True if &#x60;_operator&#x60; is an approved operator for &#x60;_owner&#x60;, false otherwise
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *boolean*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:546](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L546)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *boolean*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:534](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L534)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`_owner`: string, `_operator`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:519](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L519)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_owner` | string | The address that owns the NFTs |
`_operator` | string | The address that acts on behalf of the owner |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### ownerOf
#### ▪ **ownerOf**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:558](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L558)*
NFTs assigned to zero address are considered invalid, and queries
about them do throw.
#### callAsync
▸ **callAsync**(`_tokenId`: `BigNumber`, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:566](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L566)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`_tokenId` | `BigNumber` | - | The identifier for an NFT |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<string>`*
The address of the owner of the NFT
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:637](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L637)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *string*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:625](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L625)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *`BigNumber`*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`_tokenId`: `BigNumber`): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:614](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L614)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_tokenId` | `BigNumber` | The identifier for an NFT |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### safeTransferFrom1
#### ▪ **safeTransferFrom1**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:649](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L649)*
This works identically to the other function with an extra data parameter,
except this function just sets data to "".
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:699](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L699)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_from` | string | The current owner of the NFT |
`_to` | string | The new owner |
`_tokenId` | `BigNumber` | The NFT to transfer |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<void>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:785](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L785)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`_from` | string | - | The current owner of the NFT |
`_to` | string | - | The new owner |
`_tokenId` | `BigNumber` | - | The NFT to transfer |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<void>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:737](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L737)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_from` | string | The current owner of the NFT |
`_to` | string | The new owner |
`_tokenId` | `BigNumber` | The NFT to transfer |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:872](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L872)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *void*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string, string, `BigNumber`]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:860](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L860)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string, string, `BigNumber`]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:843](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L843)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_from` | string | The current owner of the NFT |
`_to` | string | The new owner |
`_tokenId` | `BigNumber` | The NFT to transfer |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:659](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L659)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_from` | string | The current owner of the NFT |
`_to` | string | The new owner |
`_tokenId` | `BigNumber` | The NFT to transfer |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:767](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L767)*
**Parameters:**
Name | Type |
------ | ------ |
`_from` | string |
`_to` | string |
`_tokenId` | `BigNumber` |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### safeTransferFrom2
#### ▪ **safeTransferFrom2**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:889](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L889)*
Throws unless `msg.sender` is the current owner, an authorized
operator, or the approved address for this NFT. Throws if `_from` is
not the current owner. Throws if `_to` is the zero address. Throws if
`_tokenId` is not a valid NFT. When transfer is complete, this function
checks if `_to` is a smart contract (code size > 0). If so, it calls
`onERC721Received` on `_to` and throws if the return value is not
`bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:944](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L944)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_from` | string | The current owner of the NFT |
`_to` | string | The new owner |
`_tokenId` | `BigNumber` | The NFT to transfer |
`_data` | string | Additional data with no specified format, sent in call to `_to` |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<void>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1045](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1045)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`_from` | string | - | The current owner of the NFT |
`_to` | string | - | The new owner |
`_tokenId` | `BigNumber` | - | The NFT to transfer |
`_data` | string | - | Additional data with no specified format, sent in call to `_to` |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<void>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:986](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L986)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_from` | string | The current owner of the NFT |
`_to` | string | The new owner |
`_tokenId` | `BigNumber` | The NFT to transfer |
`_data` | string | Additional data with no specified format, sent in call to `_to` |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1136](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1136)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *void*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string, string, `BigNumber`, string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1124](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1124)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string, string, `BigNumber`, string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1107](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1107)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_from` | string | The current owner of the NFT |
`_to` | string | The new owner |
`_tokenId` | `BigNumber` | The NFT to transfer |
`_data` | string | Additional data with no specified format, sent in call to `_to` |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:900](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L900)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_from` | string | The current owner of the NFT |
`_to` | string | The new owner |
`_tokenId` | `BigNumber` | The NFT to transfer |
`_data` | string | Additional data with no specified format, sent in call to `_to` |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `_data`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1019](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1019)*
**Parameters:**
Name | Type |
------ | ------ |
`_from` | string |
`_to` | string |
`_tokenId` | `BigNumber` |
`_data` | string |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### setApprovalForAll
#### ▪ **setApprovalForAll**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1148](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1148)*
Emits the ApprovalForAll event. The contract MUST allow
multiple operators per owner.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`_operator`: string, `_approved`: boolean, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1193](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1193)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_operator` | string | Address to add to the set of authorized operators |
`_approved` | boolean | True if the operator is approved, false to revoke approval |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`_operator`: string, `_approved`: boolean, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<void>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1270](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1270)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`_operator` | string | - | Address to add to the set of authorized operators |
`_approved` | boolean | - | True if the operator is approved, false to revoke approval |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<void>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`_operator`: string, `_approved`: boolean, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1227](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1227)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_operator` | string | Address to add to the set of authorized operators |
`_approved` | boolean | True if the operator is approved, false to revoke approval |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1351](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1351)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *void*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string, boolean]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1339](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1339)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string, boolean]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`_operator`: string, `_approved`: boolean): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1324](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1324)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_operator` | string | Address to add to the set of authorized operators |
`_approved` | boolean | True if the operator is approved, false to revoke approval |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`_operator`: string, `_approved`: boolean, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1157](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1157)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_operator` | string | Address to add to the set of authorized operators |
`_approved` | boolean | True if the operator is approved, false to revoke approval |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`_operator`: string, `_approved`: boolean, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1254](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1254)*
**Parameters:**
Name | Type |
------ | ------ |
`_operator` | string |
`_approved` | boolean |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### transferFrom
#### ▪ **transferFrom**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1365](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1365)*
Throws unless `msg.sender` is the current owner, an authorized
operator, or the approved address for this NFT. Throws if `_from` is
not the current owner. Throws if `_to` is the zero address. Throws if
`_tokenId` is not a valid NFT.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1415](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1415)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_from` | string | The current owner of the NFT |
`_to` | string | The new owner |
`_tokenId` | `BigNumber` | The NFT to transfer |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<void>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1501](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1501)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`_from` | string | - | The current owner of the NFT |
`_to` | string | - | The new owner |
`_tokenId` | `BigNumber` | - | The NFT to transfer |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<void>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1453](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1453)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_from` | string | The current owner of the NFT |
`_to` | string | The new owner |
`_tokenId` | `BigNumber` | The NFT to transfer |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1588](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1588)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *void*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string, string, `BigNumber`]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1576](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1576)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string, string, `BigNumber`]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1559](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1559)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_from` | string | The current owner of the NFT |
`_to` | string | The new owner |
`_tokenId` | `BigNumber` | The NFT to transfer |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1375](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1375)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_from` | string | The current owner of the NFT |
`_to` | string | The new owner |
`_tokenId` | `BigNumber` | The NFT to transfer |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`_from`: string, `_to`: string, `_tokenId`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:1483](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L1483)*
**Parameters:**
Name | Type |
------ | ------ |
`_from` | string |
`_to` | string |
`_tokenId` | `BigNumber` |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
<hr />
# Class: ExchangeContract
## Constructors
\+ **new ExchangeContract**(`address`: string, `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults?`: `Partial<TxData>`, `logDecodeDependencies?`: undefined | object, `deployedBytecode`: string | undefined): *[ExchangeContract](#class-exchangecontract)*
*Overrides void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:13414](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L13414)*
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`address` | string | - |
`supportedProvider` | [SupportedProvider](#supportedprovider) | - |
`txDefaults?` | `Partial<TxData>` | - |
`logDecodeDependencies?` | undefined \| object | - |
`deployedBytecode` | string \| undefined | ExchangeContract.deployedBytecode |
**Returns:** *[ExchangeContract](#class-exchangecontract)*
## Properties
#### abi
• **abi**: *[ContractAbi](#contractabi)*
Defined in base-contract/lib/src/index.d.ts:27
___
### address
• **address**: *string*
Defined in base-contract/lib/src/index.d.ts:28
___
Args
• **constructorArgs**: *any[]*
Defined in base-contract/lib/src/index.d.ts:30
___
### contractName
• **contractName**: *string*
Defined in base-contract/lib/src/index.d.ts:29
___
### `Static` deployedBytecode
▪ **deployedBytecode**: *string* = "0x6080604052600436106102d15760003560e01c80638da5cb5b11610179578063beee2e14116100d6578063dd885e2d1161008a578063eea086ba11610064578063eea086ba14610715578063f2fde38b1461072a578063fc74896d1461074a576102d1565b8063dd885e2d146106cd578063dedfc1f1146106ef578063e14b58c414610702576102d1565b8063c26cfecd116100bb578063c26cfecd14610678578063c585bb931461068d578063d9bfa73e146106ad576102d1565b8063beee2e1414610645578063c0fa16cc14610658576102d1565b80639d3fa4b91161012d578063a6c3bf3311610112578063a6c3bf33146105ff578063b04fbddd14610612578063b718e29214610632576102d1565b80639d3fa4b9146105b2578063a12dcc6f146105df576102d1565b80639331c7421161015e5780639331c7421461056c5780639694a4021461058c5780639b44d5561461059f576102d1565b80638da5cb5b146105375780638ea8dfe41461054c576102d1565b80636a1a80fd116102325780638171c407116101e657806388ec79fb116101c057806388ec79fb146104e45780638bc8efb3146105045780638d45cd2314610517576102d1565b80638171c4071461048f57806382c174d0146104af578063850a1501146104cf576102d1565b806377fcce681161021757806377fcce681461044957806378d29ac11461045c5780637b8e35141461046f576102d1565b80636a1a80fd146104165780636fcf3e9e14610436576102d1565b80632da629871161028957806346c02d7a1161026e57806346c02d7a146103c35780634f9559b1146103d657806360704108146103e9576102d1565b80632da629871461038e578063369da099146103a3576102d1565b80632280c910116102ba5780632280c9101461032e578063288cdc911461034e5780632ac126221461036e576102d1565b80630228e168146102d65780631ce4c78b1461030c575b600080fd5b3480156102e257600080fd5b506102f66102f1366004614e64565b61076a565b60405161030391906154c4565b60405180910390f35b34801561031857600080fd5b5061032161077f565b60405161030391906154cf565b61034161033c366004615108565b610785565b60405161030391906156a0565b34801561035a57600080fd5b50610321610369366004614e64565b6107c7565b34801561037a57600080fd5b506102f6610389366004614e64565b6107d9565b6103a161039c366004614f82565b6107ee565b005b6103b66103b1366004614d60565b610812565b60405161030391906159c2565b6103a16103d1366004614e64565b610939565b6103a16103e4366004614e64565b6109ac565b3480156103f557600080fd5b50610409610404366004614eed565b610ab9565b604051610303919061535b565b610429610424366004614c40565b610b07565b604051610303919061594b565b610429610444366004614c40565b610b3f565b6103a1610457366004614b2a565b610b5d565b6103b661046a366004614d60565b610c20565b34801561047b57600080fd5b506102f661048a366004614af6565b610d70565b34801561049b57600080fd5b506102f66104aa366004614ea0565b610d90565b3480156104bb57600080fd5b506102f66104ca366004614e7c565b610def565b3480156104db57600080fd5b50610409610e0f565b6104f76104f236600461500c565b610e2b565b60405161030391906159d0565b6103b6610512366004614d60565b610e49565b34801561052357600080fd5b506102f6610532366004615108565b610e7d565b34801561054357600080fd5b50610409610ea2565b61055f61055a366004614cdc565b610ebe565b60405161030391906154b1565b34801561057857600080fd5b506103a1610587366004614e64565b610fe9565b61055f61059a366004614cdc565b611031565b6103b66105ad3660046150a8565b6110f8565b3480156105be57600080fd5b506105d26105cd366004614f82565b61111d565b6040516103039190615a12565b3480156105eb57600080fd5b506102f66105fa366004614fb5565b611201565b6103b661060d366004614d60565b611226565b34801561061e57600080fd5b506103a161062d366004614b65565b61125a565b6104f761064036600461500c565b611306565b61055f610653366004614cdc565b611324565b34801561066457600080fd5b506103a1610673366004614adb565b6113d9565b34801561068457600080fd5b5061032161147c565b34801561069957600080fd5b506103a16106a8366004614adb565b611482565b3480156106b957600080fd5b506103216106c8366004614af6565b611616565b3480156106d957600080fd5b506106e2611633565b604051610303919061562b565b6103a16106fd366004614c0d565b611657565b6103b66107103660046150a8565b611699565b34801561072157600080fd5b506104096116b4565b34801561073657600080fd5b506103a1610745366004614adb565b6116d0565b61075d610758366004614db3565b611748565b6040516103039190615433565b60056020526000908152604090205460ff1681565b60035481565b606061078f61187b565b156107a55761079e838361189d565b90506107c1565b6107ad6119b7565b6107b7838361189d565b90506107c16119f9565b92915050565b60096020526000908152604090205481565b600a6020526000908152604090205460ff1681565b6107f6611a2b565b6107ff81611a9a565b610807611ad7565b61080f611aeb565b50565b61081a614561565b61082261187b565b156108b857835160005b8181146108b157600061084c846020015187611b1590919063ffffffff16565b9050610856614561565b61088788848151811061086557fe5b60200260200101518388868151811061087a57fe5b6020026020010151611b34565b90506108938582611c75565b9450868560200151106108a75750506108b1565b505060010161082c565b5050610932565b6108c06119b7565b835160005b8181146109285760006108e5846020015187611b1590919063ffffffff16565b90506108ef614561565b6108fe88848151811061086557fe5b905061090a8582611c75565b94508685602001511061091e575050610928565b50506001016108c5565b50506109326119f9565b9392505050565b610941611a2b565b600061094b611d10565b600083815260076020908152604080832073ffffffffffffffffffffffffffffffffffffffff90941683529290522080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905550610807611ad7565b6109b4611a2b565b60006109be611d10565b9050600073ffffffffffffffffffffffffffffffffffffffff821633146109e557336109e8565b60005b73ffffffffffffffffffffffffffffffffffffffff8084166000908152600b60209081526040808320938516835292905220549091506001840190808211610a3d57610a3d610a38858584611d42565b611de7565b73ffffffffffffffffffffffffffffffffffffffff8085166000818152600b602090815260408083209488168084529490915290819020859055517f82af639571738f4ebd4268fb0363d8957ebe1bbb9e78dba5ebd69eed39b154f090610aa59086906154cf565b60405180910390a350505050610807611ad7565b7fffffffff00000000000000000000000000000000000000000000000000000000811660009081526002602052604090205473ffffffffffffffffffffffffffffffffffffffff165b919050565b610b0f614590565b610b17611a2b565b610b25858585856001611def565b9050610b2f611ad7565b610b37611aeb565b949350505050565b610b47614590565b610b4f611a2b565b610b25858585856000611def565b610b65611a2b565b6000610b6f611d10565b73ffffffffffffffffffffffffffffffffffffffff8181166000818152600860209081526040808320948916808452949091529081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168715151790555192935090917fa8656e308026eeabce8f0bc18048433252318ab80ac79da0b3d3d8697dfba89190610c039086906154c4565b60405180910390a350610c14611ad7565b610c1c611aeb565b5050565b610c28614561565b610c3061187b565b15610cee57835160005b8181146108b1578251600090610c5790879063ffffffff611b1516565b90506000610c94888481518110610c6a57fe5b602002602001015160a00151898581518110610c8257fe5b6020026020010151608001518461215c565b9050610c9e614561565b610cc2898581518110610cad57fe5b60200260200101518389878151811061087a57fe5b9050610cce8682611c75565b955087866000015110610ce3575050506108b1565b505050600101610c3a565b610cf66119b7565b835160005b818114610928578251600090610d1890879063ffffffff611b1516565b90506000610d2b888481518110610c6a57fe5b9050610d35614561565b610d44898581518110610cad57fe5b9050610d508682611c75565b955087866000015110610d6557505050610928565b505050600101610cfb565b600860209081526000928352604080842090915290825290205460ff1681565b600080610d9e85858561217e565b90506005816008811115610dae57fe5b1480610dc557506007816008811115610dc357fe5b145b15610dda57610dda610a3860058787876121fd565b610de6818686866122a5565b95945050505050565b600760209081526000928352604080842090915290825290205460ff1681565b60045473ffffffffffffffffffffffffffffffffffffffff1681565b610e336145b8565b610e3b611a2b565b610b25858585856000612515565b610e51614561565b610e5c848484610c20565b9050828160000151101561093257610932610a386000858460000151612602565b600080610e956001548561262190919063ffffffff16565b9050610b37848285612635565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b6060610ec861187b565b15610f6b578351604080518281526020808402820101909152818015610f0857816020015b610ef5614561565b815260200190600190039081610eed5790505b50915060005b8181146108b157610f4c868281518110610f2457fe5b6020026020010151868381518110610f3857fe5b602002602001015186848151811061087a57fe5b838281518110610f5857fe5b6020908102919091010152600101610f0e565b610f736119b7565b8351604080518281526020808402820101909152818015610fae57816020015b610f9b614561565b815260200190600190039081610f935790505b50915060005b81811461092857610fca868281518110610f2457fe5b838281518110610fd657fe5b6020908102919091010152600101610fb4565b610ff16126bb565b7f3a3e76d7a75e198aef1f53137e4f2a8a2ec74e2e9526db8404d08ccc9f1e621d60035482604051611024929190615543565b60405180910390a1600355565b606061103b611a2b565b835160408051828152602080840282010190915281801561107657816020015b611063614561565b81526020019060019003908161105b5790505b50915060005b8181146110e6576110c786828151811061109257fe5b60200260200101518683815181106110a657fe5b60200260200101518684815181106110ba57fe5b6020026020010151612702565b8382815181106110d357fe5b602090810291909101015260010161107c565b50506110f0611ad7565b610932611aeb565b611100614561565b611108611a2b565b611113848484612702565b90506110f0611ad7565b6111256145ec565b61112e826127a4565b60408301526020820152608082015161114e5760015b60ff168152610b02565b60a082015161115e576002611144565b8160a00151816040015110611174576005611144565b8161010001514210611187576004611144565b6020808201516000908152600a909152604090205460ff16156111ab576006611144565b610120820151825173ffffffffffffffffffffffffffffffffffffffff9081166000908152600b6020908152604080832060608801519094168352929052205411156111f8576006611144565b60038152919050565b600080611219600154856127d590919063ffffffff16565b9050610b378482856127e4565b61122e614561565b611239848484610812565b9050828160200151101561093257610932610a386001858460200151612602565b835160005b8181146112ca576112c28160001b87838151811061127957fe5b602002602001015187848151811061128d57fe5b60200260200101518785815181106112a157fe5b60200260200101518786815181106112b557fe5b6020026020010151612839565b60010161125f565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fd90615914565b60405180910390fd5b61130e6145b8565b611316611a2b565b610b25858585856001612515565b606061132e611a2b565b835160408051828152602080840282010190915281801561136957816020015b611356614561565b81526020019060019003908161134e5790505b50915060005b8181146110e6576113ba86828151811061138557fe5b602002602001015186838151811061139957fe5b60200260200101518684815181106113ad57fe5b60200260200101516129f3565b8382815181106113c657fe5b602090810291909101015260010161136f565b6113e16126bb565b6004546040517fe1a5430ebec577336427f40f15822f1f36c5e3509ff209d6db9e6c9e6941cb0b9161142d9173ffffffffffffffffffffffffffffffffffffffff90911690849061537c565b60405180910390a1600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60015481565b61148a6126bb565b60008173ffffffffffffffffffffffffffffffffffffffff1663ae25532e6040518163ffffffff1660e01b815260040160206040518083038186803b1580156114d257600080fd5b505afa1580156114e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061150a9190810190614f09565b7fffffffff00000000000000000000000000000000000000000000000000000000811660009081526002602052604090205490915073ffffffffffffffffffffffffffffffffffffffff16801561156857611568610a388383612a26565b7fffffffff0000000000000000000000000000000000000000000000000000000082166000908152600260205260409081902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8616179055517fd2c6b762299c609bdb96520b58a49bfb80186934d4f71a86a367571a15c03194906116099084908690615658565b60405180910390a1505050565b600b60209081526000928352604080842090915290825290205481565b7f20c13b0b0000000000000000000000000000000000000000000000000000000081565b61165f611a2b565b805160005b81811461168f5761168783828151811061167a57fe5b6020026020010151611a9a565b600101611664565b5050610807611ad7565b6116a1614561565b6116a9611a2b565b6111138484846129f3565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b6116d86126bb565b73ffffffffffffffffffffffffffffffffffffffff8116611703576116fe610a38612ac8565b61080f565b6000805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff000000000000000000000000000000000000000090911617905550565b606061175261187b565b156117f457825160408051828152602080840282010190915260609082801561178f57816020015b606081526020019060019003908161177a5790505b50905060005b8281146117eb576117cc8682815181106117ab57fe5b60200260200101518683815181106117bf57fe5b602002602001015161189d565b8282815181106117d857fe5b6020908102919091010152600101611795565b509150506107c1565b6117fc6119b7565b825160408051828152602080840282010190915260609082801561183457816020015b606081526020019060019003908161181f5790505b50905060005b82811461186f576118508682815181106117ab57fe5b82828151811061185c57fe5b602090810291909101015260010161183a565b509150506107c16119f9565b6000547501000000000000000000000000000000000000000000900460ff1690565b606060006118b66001548561262190919063ffffffff16565b90506118c3848483612aff565b60608401516118d28180612bd3565b60008281526005602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055608087015190516060913091611920919061530e565b600060405180830381855af49150503d806000811461195b576040519150601f19603f3d011682016040523d82523d6000602084013e611960565b606091505b50915091508161197757611977610a388583612c36565b611982836000612bd3565b60405184907fa4a7329f1dd821363067e07d359e347b4af9b1efe4b6cccf13240228af3c800d90600090a29695505050505050565b600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff167501000000000000000000000000000000000000000000179055565b600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055611a29612c53565b565b60005474010000000000000000000000000000000000000000900460ff1615611a5957611a59610a38612c88565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b611aa26145ec565b611aab8261111d565b9050611ab78282612cbf565b805160ff16600314611ac9575061080f565b610c1c828260200151612d6e565b611adf61187b565b611a2957611a29612c53565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b600082821115611b2e57611b2e610a3860028585612e17565b50900390565b611b3c614561565b6040516060907f9b44d5560000000000000000000000000000000000000000000000000000000090611b7690879087908790602401615a58565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050509050600060603073ffffffffffffffffffffffffffffffffffffffff1683604051611bfe919061530e565b600060405180830381855af49150503d8060008114611c39576040519150601f19603f3d011682016040523d82523d6000602084013e611c3e565b606091505b50915091508115611c6b57805160a014611c5457fe5b80806020019051611c689190810190614f25565b93505b5050509392505050565b611c7d614561565b81518351611c909163ffffffff612e3616565b815260208083015190840151611cab9163ffffffff612e3616565b602082015260408083015190840151611cc99163ffffffff612e3616565b604082015260608083015190840151611ce79163ffffffff612e3616565b606082015260808083015190840151611d059163ffffffff612e3616565b608082015292915050565b60065460009073ffffffffffffffffffffffffffffffffffffffff16818115611d395781611d3b565b335b9250505090565b6060634ad3127560e01b848484604051602401611d61939291906153a3565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915290509392505050565b805160208201fd5b611df7614590565b8551611e0a57611e0a610a386000612e52565b8451611e1d57611e1d610a386001612e52565b8351865114611e3357611e33610a386002612e52565b8251855114611e4957611e49610a386003612e52565b8551604051908082528060200260200182016040528015611e8457816020015b611e71614561565b815260200190600190039081611e695790505b5081528451604080518281526020808402820101909152908015611ec257816020015b611eaf614561565b815260200190600190039081611ea75790505b506020820152600080611ed361460c565b88600081518110611ee057fe5b60200260200101519050611ef261460c565b88600081518110611eff57fe5b602002602001015190506000611f14836127a4565b9150506000611f22836127a4565b915050611f2d614561565b611f35614561565b611f3d6145b8565b611f7087878f8c81518110611f4e57fe5b60200260200101518f8c81518110611f6257fe5b60200260200101518f612515565b805160200151909150611f8a90869063ffffffff612e3616565b9450611fa781602001516020015185612e3690919063ffffffff16565b9350611fb7838260000151611c75565b9250611fc7828260200151611c75565b9150611fe481604001518b60400151612e3690919063ffffffff16565b60408b0152606080820151908b01516120029163ffffffff612e3616565b60608b015260a087015185106120ad578951805160018b019a859291811061202657fe5b60200260200101819052506040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525092508e5189141561208a57818a60200151898151811061207957fe5b60200260200101819052505061214b565b8e898151811061209657fe5b602002602001015196506120a9876127a4565b9550505b8560a00151841061214557818a6020015189806001019a50815181106120cf57fe5b60200260200101819052506040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525091508d5188141561212257828a600001518a8151811061207957fe5b8d888151811061212e57fe5b60200260200101519550612141866127a4565b9450505b50611f35565b505050505050505095945050505050565b6000610b3783612172868563ffffffff612ef116565b9063ffffffff612f2216565b600061218b848484612f4c565b905073ffffffffffffffffffffffffffffffffffffffff83166121b8576121b8610a3860068686866121fd565b600881818111156121c557fe5b60ff16106121dd576121dd610a3860038686866121fd565b60008160088111156121eb57fe5b141561093257610932610a3860048686865b6060637e5a231860e01b8585858560405160240161221e94939291906158b9565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091529050949350505050565b600060018560088111156122b557fe5b14156122dc5781516001146122d4576122d4610a3860028686866121fd565b506000610b37565b60028560088111156122ea57fe5b14156123e357815160421461230957612309610a3860028686866121fd565b60008260008151811061231857fe5b016020015160f81c9050600061233584600163ffffffff612f8b16565b9050600061234a85602163ffffffff612f8b16565b9050600060018885858560405160008152602001604052604051612371949392919061560d565b6020604051602081039080840390855afa158015612393573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015173ffffffffffffffffffffffffffffffffffffffff8981169116149550610b37945050505050565b60038560088111156123f157fe5b141561249e57815160421461241057612410610a3860028686866121fd565b60008260008151811061241f57fe5b016020015160f81c9050600061243c84600163ffffffff612f8b16565b9050600061245185602163ffffffff612f8b16565b90506000600188604051602001612468919061532a565b6040516020818303038152906040528051906020012085858560405160008152602001604052604051612371949392919061560d565b60048560088111156124ac57fe5b14156124c4576124bd848484612fb5565b9050610b37565b60068560088111156124d257fe5b146124d957fe5b50600083815260076020908152604080832073ffffffffffffffffffffffffffffffffffffffff8616845290915290205460ff16949350505050565b61251d6145b8565b61016080870151610140808801919091528701519086015261253d6145ec565b6125468761111d565b90506125506145ec565b6125598761111d565b90506000612565611d10565b90506125738984838a6131ab565b61257f888383896131ab565b6125938989856020015185602001516132e1565b6125ac8989856040015185604001516003543a8b61332c565b93506125c78982856020015186604001518860000151613481565b6125e08882846020015185604001518860200151613481565b6125f6836020015183602001518b8b858961355f565b50505095945050505050565b60606318e4b14160e01b848484604051602401611d619392919061589e565b60006109328261263085613706565b61378e565b60608301516000908161264985838661217e565b9050600581600881111561265957fe5b141561267b5761267461266c87876137c8565b868487613800565b92506126b2565b600781600881111561268957fe5b14156126a35761267461269c87876137c8565b83866138b4565b6126af818684876122a5565b92505b50509392505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611a2957600054611a2990610a3890339073ffffffffffffffffffffffffffffffffffffffff166138c3565b61270a614561565b6127126145ec565b61271b8561111d565b90506000612727611d10565b9050612735868383876131ab565b600061275283604001518860a00151611b1590919063ffffffff16565b9050600061276087836138e0565b905061277088826003543a6138f6565b945060008460200151905061278c89858388604001518a613481565b612798818a868961396d565b50505050509392505050565b6000806127bc600154846127d590919063ffffffff16565b6000818152600960205260409020549092509050915091565b60006109328261263085613a04565b8251600090816127f585838661217e565b9050600581600881111561280557fe5b14156128185761267461266c8787613adb565b600781600881111561282657fe5b14156126a35761267461269c8787613adb565b80156129ec57600384511161285757612857610a3860008787613b13565b6000612869858263ffffffff613b3216565b7fffffffff00000000000000000000000000000000000000000000000000000000811660009081526002602052604090205490915073ffffffffffffffffffffffffffffffffffffffff16806128c8576128c8610a3860018989613b13565b6040516060907fa85e59e400000000000000000000000000000000000000000000000000000000906129049089908990899089906024016156b3565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050509050600060608373ffffffffffffffffffffffffffffffffffffffff168360405161298c919061530e565b6000604051808303816000865af19150503d80600081146129c9576040519150601f19603f3d011682016040523d82523d6000602084013e6129ce565b606091505b5091509150816129e6576129e6610a388b8b84613b7e565b50505050505b5050505050565b6129fb614561565b612a06848484612702565b90508281602001511461093257610932610a386002858460200151612602565b60606311c7b72060e01b8383604051602401612a43929190615658565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152905092915050565b60408051808201909152600481527fe69edc3e00000000000000000000000000000000000000000000000000000000602082015290565b82602001514210612b1857612b18610a38600183613b9d565b60408301513a8114612b3257612b32610a38833a84613bba565b60065473ffffffffffffffffffffffffffffffffffffffff168015612b5e57612b5e610a388483613bd9565b60008381526005602052604090205460ff1615612b8357612b83610a38600085613b9d565b606085015173ffffffffffffffffffffffffffffffffffffffff81163314801590612bb65750612bb4868587612635565b155b15612bcb57612bcb610a3860018684896121fd565b505050505050565b73ffffffffffffffffffffffffffffffffffffffff82163314610c1c576006805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff00000000000000000000000000000000000000009091161790555050565b60606320d11f6160e01b8383604051602401612a43929190615551565b3031801561080f57604051339082156108fc029083906000818181858888f19350505050158015610c1c573d6000803e3d6000fd5b60408051808201909152600481527f0c3b823f00000000000000000000000000000000000000000000000000000000602082015290565b606082015173ffffffffffffffffffffffffffffffffffffffff1615612d1357606082015173ffffffffffffffffffffffffffffffffffffffff163314612d1357612d13610a386002836020015133613bf6565b6000612d1d611d10565b90508073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614612d6957612d69610a386000846020015184613bf6565b505050565b6000818152600a60205260409081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558281015183516101408501516101608601519351859473ffffffffffffffffffffffffffffffffffffffff9485169493909316927f02c310a9a43963ff31a754a4099cc435ed498049687539d72d7818d9b093415c92612e0b92909190339061571b565b60405180910390a45050565b606063e946c1bb60e01b848484604051602401611d6193929190615846565b60008282018381101561093257610932610a3860008686612e17565b606063d4092f4f60e01b82604051602401612e6d9190615833565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091529050919050565b600082612f00575060006107c1565b82820282848281612f0d57fe5b041461093257610932610a3860018686612e17565b600081612f3857612f38610a3860038585612e17565b6000828481612f4357fe5b04949350505050565b6000815160001415612f6857612f68610a3860028686866121fd565b81600183510381518110612f7857fe5b016020015160f81c6008811115610b3757fe5b60008160200183511015612fac57612fac610a386005855185602001613c15565b50016020015190565b8051600090612fec837fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff830163ffffffff613c3416565b6040516060907f1626ba7e00000000000000000000000000000000000000000000000000000000906130249088908790602401615551565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915290506130b3848363ffffffff613c3416565b600060608673ffffffffffffffffffffffffffffffffffffffff16836040516130dc919061530e565b600060405180830381855afa9150503d8060008114613117576040519150601f19603f3d011682016040523d82523d6000602084013e61311c565b606091505b509150915081801561312f575080516020145b15613191577fb06713810000000000000000000000000000000000000000000000000000000061316682600063ffffffff613b3216565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614945050505050610932565b6131a0610a3889898985613c38565b505050509392505050565b825160ff166003146131da576131da610a388460200151856000015160ff1660068111156131d557fe5b613c59565b606084015173ffffffffffffffffffffffffffffffffffffffff161561322e57606084015173ffffffffffffffffffffffffffffffffffffffff16331461322e5761322e610a386002856020015133613bf6565b602084015173ffffffffffffffffffffffffffffffffffffffff1615613298578173ffffffffffffffffffffffffffffffffffffffff16846020015173ffffffffffffffffffffffffffffffffffffffff161461329857613298610a386001856020015185613bf6565b8351604084015115806132b557506132b584602001518284613c76565b156129ec576132c9858560200151846127e4565b6129ec576129ec610a386000866020015184866121fd565b60a080840151908501516132fa9163ffffffff612ef116565b608080850151908601516133139163ffffffff612ef116565b101561332657613326610a388383613cc9565b50505050565b6133346145b8565b60a088015160009061334c908863ffffffff611b1516565b905060006133638a608001518b60a0015184613ce6565b9050600061337e888b60a00151611b1590919063ffffffff16565b905060006133958b608001518c60a0015184613ce6565b905085156133b2576133ab8c8c85878587613d1a565b94506133c3565b6133c08c8c85878587613dec565b94505b84515160808d015160c08e01516133db929190613ce6565b85516040015284516020015160a08d015160e08e01516133fc929190613ce6565b85516060015260208501515160808c015160c08d015161341d929190613ce6565b856020015160400181815250506134458560200151602001518c60a001518d60e00151613ce6565b6020860151606001526000613460888a63ffffffff612ef116565b86516080908101829052602088015101525050505050979650505050505050565b602081015161349790839063ffffffff612e3616565b600960008581526020019081526020016000208190555082856040015173ffffffffffffffffffffffffffffffffffffffff16866000015173ffffffffffffffffffffffffffffffffffffffff167f6869791f0a34781b29882982cc39e882768cf2c96995c2a110c577c53bc932d58861014001518961016001518a61018001518b6101a001518b338a600001518b602001518c604001518d606001518e608001516040516135509b9a99989796959493929190615767565b60405180910390a45050505050565b8351835160408087015190860151610140870151855160200151613588918b9186908890612839565b6135a28a8961014001518686896020015160200151612839565b6135bc898861018001518584896020015160400151612839565b6135d68a8961018001518685896000015160400151612839565b6135ec8a89610140015186898960400151612839565b6136028988610140015185898960600151612839565b600061361a8b8b88600001516080015188888c613e85565b905080613637578551600060809182018190526020880151909101525b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614801561368757506101a080890151908a01516136879163ffffffff613ee216565b156136c5576136c08b8a6101a0015189866136bb8b60200151606001518c6000015160600151612e3690919063ffffffff16565b612839565b6136f9565b6136df8a896101a0015189858a6020015160600151612839565b6136f98b8a6101a0015189868a6000015160600151612839565b5050505050505050505050565b608081810151825160208085015160408087015160609788015186519685019690962082517fec69816980a3a3ca4554410e60253953e9ff375ba4536a98adfa15cc71541508815294850195909552908301919091529481019490945273ffffffffffffffffffffffffffffffffffffffff9091169183019190915260a082015260c0902090565b6040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b6040516060907fde047db40000000000000000000000000000000000000000000000000000000090612a439085908590602401615a83565b8051600090601581101561381e5761381e610a3860028787876121fd565b6000613852847fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeb840163ffffffff613f0716565b73ffffffffffffffffffffffffffffffffffffffff80871660009081526008602090815260408083209385168352929052205490915060ff1661389c5761389c610a388683613f47565b6138a98188866015613f64565b979650505050505050565b6000610b378385846001613f64565b6060631de45ad160e01b8383604051602401612a4392919061537c565b60008183106138ef5781610932565b5090919050565b6138fe614561565b6020810184905260a0850151608086015161391a918691613ce6565b815260a085015160c0860151613931918691613ce6565b604082015260a085015160e086015161394b918691613ce6565b6060820152613960828463ffffffff612ef116565b6080820152949350505050565b613987848461016001518486600001518560200151612839565b6139a1848461014001518560000151858560000151612839565b6139bb84846101a001518486604001518560600151612839565b6139d984846101800151856000015186604001518560400151612839565b60006139ef85836080015186600001518661413b565b9050806129ec57600060808301525050505050565b6101408101516101608201516101808301516101a08401516000937ff80322eb8376aafb64eadf8f0d7623f22130fd9491a221e902b713cb984a753493909290916020871015613a5057fe5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe087018051610140890180516101608b0180516101808d0180516101a08f0180519d89528c5160209d8e012087528b519b8d019b909b2084528951998c01999099208152875197909a019690962088526101e085209390945290529190529252919091529050919050565b6040516060907f3efe50c80000000000000000000000000000000000000000000000000000000090612a439085908590602401615a36565b606063488219a660e01b848484604051602401611d619392919061580b565b60008160040183511015613b5357613b53610a386003855185600401613c15565b5001602001517fffffffff000000000000000000000000000000000000000000000000000000001690565b6060634678472b60e01b848484604051602401611d619392919061556a565b606063f598518460e01b8383604051602401612a439291906158fd565b606063a26dac0960e01b848484604051602401611d61939291906155f7565b606063dec4aedf60e01b8383604051602401612a439291906154d8565b606063e53c76c860e01b848484604051602401611d6193929190615867565b6060632800659560e01b848484604051602401611d61939291906158ab565b9052565b6060631b8388f760e01b8585858560405160240161221e94939291906154fc565b606063fdb6ca8d60e01b8383604051602401612a43929190615595565b600080613c84858585612f4c565b90506004816008811115613c9457fe5b1480613cab57506005816008811115613ca957fe5b145b80610de657506007816008811115613cbf57fe5b1495945050505050565b606063b6555d6f60e01b8383604051602401612a43929190615543565b6000613cf3848484614181565b15613d0657613d06610a388585856141e7565b610b3783612172868563ffffffff612ef116565b613d226145b8565b81851184841184861115613d4257613d3b898686614206565b9250613d91565b86841115613d825782518790528251602001869052608088015160a0890151613d6c919089613ce6565b6020808501805192909252905101879052613d91565b613d8e87878787614243565b92505b8115613db7576020808401510151835151613db19163ffffffff611b1516565b60408401525b8015613ddf5782516020908101519084015151613dd99163ffffffff611b1516565b60608401525b50505b9695505050505050565b613df46145b8565b82841115613e0e57613e07878484614206565b9050613e5c565b82841015613e4d5780518590528051602090810185905281015184905260a08601516080870151613e4091908661426e565b6020808301510152613e5c565b613e5985858585614243565b90505b6020808201510151815151613e769163ffffffff611b1516565b60408201529695505050505050565b60045460009073ffffffffffffffffffffffffffffffffffffffff168015613ed85730316000613eb98a84848b8b8a6142c2565b9050613ecb89848385038b8a8a6142c2565b5060019350505050613de2565b6000915050613de2565b6000815183511480156109325750508051602091820120825192909101919091201490565b60008160140183511015613f2857613f28610a386004855185601401613c15565b50016014015173ffffffffffffffffffffffffffffffffffffffff1690565b606063a15c0d0660e01b8383604051602401612a4392919061537c565b8151600090613f7b8484830363ffffffff613c3416565b6040516060907f20c13b0b0000000000000000000000000000000000000000000000000000000090613fb390889088906024016156f6565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091529050614042858363ffffffff613c3416565b600060608873ffffffffffffffffffffffffffffffffffffffff168360405161406b919061530e565b600060405180830381855afa9150503d80600081146140a6576040519150601f19603f3d011682016040523d82523d6000602084013e6140ab565b606091505b50915091508180156140be575080516020145b15614120577f20c13b0b000000000000000000000000000000000000000000000000000000006140f582600063ffffffff613b3216565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614945050505050610b37565b61412f610a388a8a8a856143fa565b50505050949350505050565b60045460009073ffffffffffffffffffffffffffffffffffffffff1680156141775761416c868230318888886142c2565b506001915050610b37565b6000915050610b37565b60008261419357614193610a3861441b565b81158061419e575083155b156141ab57506000610932565b600083806141b557fe5b85840990506141ca858463ffffffff612ef116565b6141dc826103e863ffffffff612ef116565b101595945050505050565b606063339f3de260e01b848484604051602401611d61939291906155f7565b61420e6145b8565b60208082018051859052518101839052815101839052608084015160a0850151614239919085613ce6565b8151529392505050565b61424b6145b8565b805194909452835160209081019390935282840180519290925290519091015290565b600061427b848484614452565b1561428e5761428e610a388585856141e7565b610b37836121726142a682600163ffffffff611b1516565b6142b6888763ffffffff612ef116565b9063ffffffff612e3616565b60008385106142ce5750825b6040516060907fa3b4a3270000000000000000000000000000000000000000000000000000000090614308908690869089906024016153a3565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050509050600060608873ffffffffffffffffffffffffffffffffffffffff168484604051614391919061530e565b60006040518083038185875af1925050503d80600081146143ce576040519150601f19603f3d011682016040523d82523d6000602084013e6143d3565b606091505b5091509150816143ed576143ed610a388b898989866144b6565b5050509695505050505050565b6060635bd0428d60e01b8585858560405160240161221e94939291906153d4565b60408051808201909152600481527fa791837c00000000000000000000000000000000000000000000000000000000602082015290565b60008261446457614464610a3861441b565b81158061446f575083155b1561447c57506000610932565b6000838061448657fe5b85840990508361449c818363ffffffff611b1516565b816144a357fe5b0690506141ca858463ffffffff612ef116565b60606387cb1e7560e01b86868686866040516024016144d99594939291906155b2565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152905095945050505050565b6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6040518060800160405280606081526020016060815260200160008152602001600081525090565b60405180608001604052806145cb614561565b81526020016145d8614561565b815260200160008152602001600081525090565b604080516060810182526000808252602082018190529181019190915290565b604051806101c00160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001606081526020016060815260200160608152602001606081525090565b803573ffffffffffffffffffffffffffffffffffffffff811681146107c157600080fd5b600082601f830112614707578081fd5b813561471a61471582615b14565b615aed565b81815291506020808301908481018184028601820187101561473b57600080fd5b60005b848110156147625761475088836146d3565b8452928201929082019060010161473e565b505050505092915050565b600082601f83011261477d578081fd5b813561478b61471582615b14565b8181529150602080830190840160005b838110156147c8576147b3876020843589010161488b565b8352602092830192919091019060010161479b565b5050505092915050565b600082601f8301126147e2578081fd5b81356147f061471582615b14565b8181529150602080830190840160005b838110156147c8576148188760208435890101614912565b83526020928301929190910190600101614800565b600082601f83011261483d578081fd5b813561484b61471582615b14565b81815291506020808301908481018184028601820187101561486c57600080fd5b60005b848110156147625781358452928201929082019060010161486f565b600082601f83011261489b578081fd5b813567ffffffffffffffff8111156148b1578182fd5b6148e260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601615aed565b91508082528360208285010111156148f957600080fd5b8060208401602084013760009082016020015292915050565b60006101c0808385031215614925578182fd5b61492e81615aed565b91505061493b83836146d3565b815261494a83602084016146d3565b602082015261495c83604084016146d3565b604082015261496e83606084016146d3565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013567ffffffffffffffff808211156149d057600080fd5b6149dc8683870161488b565b838501526101609250828501359150808211156149f857600080fd5b614a048683870161488b565b83850152610180925082850135915080821115614a2057600080fd5b614a2c8683870161488b565b838501526101a0925082850135915080821115614a4857600080fd5b50614a558582860161488b565b82840152505092915050565b600060a08284031215614a72578081fd5b614a7c60a0615aed565b90508135815260208201356020820152604082013560408201526060820135614aa481615b88565b6060820152608082013567ffffffffffffffff811115614ac357600080fd5b614acf8482850161488b565b60808301525092915050565b600060208284031215614aec578081fd5b61093283836146d3565b60008060408385031215614b08578081fd5b614b1284846146d3565b9150614b2184602085016146d3565b90509250929050565b60008060408385031215614b3c578182fd5b614b4684846146d3565b915060208301358015158114614b5a578182fd5b809150509250929050565b60008060008060808587031215614b7a578182fd5b843567ffffffffffffffff80821115614b91578384fd5b614b9d8883890161476d565b95506020870135915080821115614bb2578384fd5b614bbe888389016146f7565b94506040870135915080821115614bd3578384fd5b614bdf888389016146f7565b93506060870135915080821115614bf4578283fd5b50614c018782880161482d565b91505092959194509250565b600060208284031215614c1e578081fd5b813567ffffffffffffffff811115614c34578182fd5b610b37848285016147d2565b60008060008060808587031215614c55578182fd5b843567ffffffffffffffff80821115614c6c578384fd5b614c78888389016147d2565b95506020870135915080821115614c8d578384fd5b614c99888389016147d2565b94506040870135915080821115614cae578384fd5b614cba8883890161476d565b93506060870135915080821115614ccf578283fd5b50614c018782880161476d565b600080600060608486031215614cf0578081fd5b833567ffffffffffffffff80821115614d07578283fd5b614d13878388016147d2565b94506020860135915080821115614d28578283fd5b614d348783880161482d565b93506040860135915080821115614d49578283fd5b50614d568682870161476d565b9150509250925092565b600080600060608486031215614d74578081fd5b833567ffffffffffffffff80821115614d8b578283fd5b614d97878388016147d2565b9450602086013593506040860135915080821115614d49578283fd5b60008060408385031215614dc5578182fd5b823567ffffffffffffffff80821115614ddc578384fd5b81850186601f820112614ded578485fd5b80359250614dfd61471584615b14565b83815260208082019190838101885b87811015614e3557614e238c848435890101614a61565b85529382019390820190600101614e0c565b50919750880135945050505080821115614e4d578283fd5b50614e5a8582860161476d565b9150509250929050565b600060208284031215614e75578081fd5b5035919050565b60008060408385031215614e8e578182fd5b823591506020830135614b5a81615b88565b600080600060608486031215614eb4578081fd5b833592506020840135614ec681615b88565b9150604084013567ffffffffffffffff811115614ee1578182fd5b614d568682870161488b565b600060208284031215614efe578081fd5b813561093281615baa565b600060208284031215614f1a578081fd5b815161093281615baa565b600060a0828403128015614f37578182fd5b8015614f41578182fd5b50614f4c60a0615aed565b82518152602083015160208201526040830151604082015260608301516060820152608083015160808201528091505092915050565b600060208284031215614f93578081fd5b813567ffffffffffffffff811115614fa9578182fd5b610b3784828501614912565b60008060408385031215614fc7578182fd5b823567ffffffffffffffff80821115614fde578384fd5b614fea86838701614912565b93506020850135915080821115614fff578283fd5b50614e5a8582860161488b565b60008060008060808587031215615021578182fd5b843567ffffffffffffffff80821115615038578384fd5b61504488838901614912565b95506020870135915080821115615059578384fd5b61506588838901614912565b9450604087013591508082111561507a578384fd5b6150868883890161488b565b9350606087013591508082111561509b578283fd5b50614c018782880161488b565b6000806000606084860312156150bc578081fd5b833567ffffffffffffffff808211156150d3578283fd5b6150df87838801614912565b94506020860135935060408601359150808211156150fb578283fd5b50614d568682870161488b565b6000806040838503121561511a578182fd5b823567ffffffffffffffff80821115615131578384fd5b614fea86838701614a61565b73ffffffffffffffffffffffffffffffffffffffff169052565b6000815180845260208401935060208301825b828110156151935761517d8683516151e7565b60a095909501946020919091019060010161516a565b5093949350505050565b600081518084526151b5816020860160208601615b34565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b80518252602081015160208301526040810151604083015260608101516060830152608081015160808301525050565b60006101c061522784845161513d565b6020830151615239602086018261513d565b50604083015161524c604086018261513d565b50606083015161525f606086018261513d565b506080830151608085015260a083015160a085015260c083015160c085015260e083015160e08501526101008084015181860152506101208084015181860152506101408084015182828701526152b88387018261519d565b915050610160915081840151858203838701526152d5828261519d565b9250505061018080840151858303828701526152f1838261519d565b9150506101a091508184015185820383870152613de2828261519d565b60008251615320818460208701615b34565b9190910192915050565b7f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff92831681529116602082015260400190565b73ffffffffffffffffffffffffffffffffffffffff9384168152919092166020820152604081019190915260600190565b600073ffffffffffffffffffffffffffffffffffffffff8616825260806020830152615403608083018661519d565b8281036040840152615415818661519d565b8381036060850152615427818661519d565b98975050505050505050565b6000602080830181845280855180835260408601915060408482028701019250838701855b828110156154a4577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc088860301845261549285835161519d565b94509285019290850190600101615458565b5092979650505050505050565b6000602082526109326020830184615157565b901515815260200190565b90815260200190565b91825273ffffffffffffffffffffffffffffffffffffffff16602082015260400190565b600085825273ffffffffffffffffffffffffffffffffffffffff8516602083015260806040830152615531608083018561519d565b82810360608401526138a9818561519d565b918252602082015260400190565b600083825260406020830152610b37604083018461519d565b600084825260606020830152615583606083018561519d565b8281036040840152613de2818561519d565b828152604081016155a583615b7e565b8260208301529392505050565b600086825285602083015273ffffffffffffffffffffffffffffffffffffffff808616604084015280851660608401525060a060808301526138a960a083018461519d565b9283526020830191909152604082015260600190565b93845260ff9290921660208401526040830152606082015260800190565b7fffffffff0000000000000000000000000000000000000000000000000000000091909116815260200190565b7fffffffff0000000000000000000000000000000000000000000000000000000092909216825273ffffffffffffffffffffffffffffffffffffffff16602082015260400190565b600060208252610932602083018461519d565b6000608082526156c6608083018761519d565b73ffffffffffffffffffffffffffffffffffffffff95861660208401529390941660408201526060015292915050565b600060408252615709604083018561519d565b8281036020840152610de6818561519d565b60006060825261572e606083018661519d565b8281036020840152615740818661519d565b91505073ffffffffffffffffffffffffffffffffffffffff83166040830152949350505050565b600061016080835261577b8184018f61519d565b838103602085015261578d818f61519d565b91505082810360408401526157a2818d61519d565b83810360608501526157b4818d61519d565b73ffffffffffffffffffffffffffffffffffffffff9b8c16608086015299909a1660a0840152505060c081019590955260e08501939093526101008401919091526101208301526101409091015295945050505050565b600061581685615b60565b84825283602083015260606040830152610de6606083018461519d565b6020810161584083615b6a565b91905290565b6060810161585385615b6a565b938152602081019290925260409091015290565b6060810161587485615b74565b938152602081019290925273ffffffffffffffffffffffffffffffffffffffff1660409091015290565b6060810161585385615b74565b606081016008851061585357fe5b60006158c486615b7e565b85825284602083015273ffffffffffffffffffffffffffffffffffffffff8416604083015260806060830152613de2608083018461519d565b6040810161590a84615b60565b9281526020015290565b60208082526014908201527f5452414e53464552535f5355434345535346554c000000000000000000000000604082015260600190565b60006020825282516080602084015261596760a0840182615157565b602085015191507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08482030160408501526159a28183615157565b604086015160608601526060860151608086015280935050505092915050565b60a081016107c182846151e7565b6000610180820190506159e48284516151e7565b60208301516159f660a08401826151e7565b5060408301516101408301526060909201516101609091015290565b815160ff168152602080830151908201526040918201519181019190915260600190565b600060408252615a496040830185615217565b90508260208301529392505050565b600060608252615a6b6060830186615217565b8460208401528281036040840152613de2818561519d565b60006040825283516040830152602084015160608301526040840151608083015273ffffffffffffffffffffffffffffffffffffffff60608501511660a0830152608084015160a060c0840152615add60e084018261519d565b9150508260208301529392505050565b60405181810167ffffffffffffffff81118282101715615b0c57600080fd5b604052919050565b600067ffffffffffffffff821115615b2a578081fd5b5060209081020190565b60005b83811015615b4f578181015183820152602001615b37565b838111156133265750506000910152565b6002811061080f57fe5b6004811061080f57fe5b6003811061080f57fe5b6007811061080f57fe5b73ffffffffffffffffffffffffffffffffffffffff8116811461080f57600080fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461080f57600080fd5b8351602094850120835193850193909320604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f815295860194909452928401929092526060830152608082015260a090209056fea365627a7a723158206fc97c5a1d6fde6b2ada9eb4429966e52d7e2da39180893c04bf55c840b346a16c6578706572696d656e74616cf564736f6c634300050c0040"
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:110](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L110)*
## Methods
### evmExecAsync
▸ **evmExecAsync**(`input`: `Buffer`): *`Promise<string>`*
Defined in base-contract/lib/src/index.d.ts:42
**Parameters:**
Name | Type |
------ | ------ |
`input` | `Buffer` |
**Returns:** *`Promise<string>`*
___
### getLogsAsync
▸ **getLogsAsync**<**ArgsType**>(`eventName`: [ExchangeEvents](#enumeration-exchangeevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise<Array<LogWithDecodedArgs<ArgsType>>>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:13398](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L13398)*
Gets historical logs without creating a subscription
**Type parameters:**
▪ **ArgsType**: *[ExchangeEventArgs](#exchangeeventargs)*
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`eventName` | [ExchangeEvents](#enumeration-exchangeevents) | The Exchange contract event you would like to subscribe to. |
`blockRange` | `BlockRange` | Block range to get logs from. |
`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` |
**Returns:** *`Promise<Array<LogWithDecodedArgs<ArgsType>>>`*
Array of logs that match the parameters
___
### subscribe
▸ **subscribe**<**ArgsType**>(`eventName`: [ExchangeEvents](#enumeration-exchangeevents), `indexFilterValues`: `IndexedFilterValues`, `callback`: [EventCallback](#eventcallback)*`ArgsType`*, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:13356](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L13356)*
Subscribe to an event type emitted by the Exchange contract.
**Type parameters:**
▪ **ArgsType**: *[ExchangeEventArgs](#exchangeeventargs)*
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`eventName` | [ExchangeEvents](#enumeration-exchangeevents) | - | The Exchange contract event you would like to subscribe to. |
`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` |
`callback` | [EventCallback](#eventcallback)*`ArgsType`* | - | Callback that gets called when a log is added/removed |
`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) |
`blockPollingIntervalMs?` | undefined \| number | - | - |
**Returns:** *string*
Subscription token used later to unsubscribe
___
### unsubscribe
▸ **unsubscribe**(`subscriptionToken`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:13381](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L13381)*
Cancel a subscription
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`subscriptionToken` | string | Subscription token returned by `subscribe()` |
**Returns:** *void*
___
### unsubscribeAll
▸ **unsubscribeAll**(): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:13387](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L13387)*
Cancels all existing subscriptions
**Returns:** *void*
___
### `Static` ABI
▸ **ABI**(): *[ContractAbi](#contractabi)*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:10467](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L10467)*
**Returns:** *[ContractAbi](#contractabi)*
The contract ABI
___
### `Static` deployAsync
▸ **deployAsync**(`bytecode`: string, `abi`: [ContractAbi](#contractabi), `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults`: `Partial<TxData>`, `logDecodeDependencies`: object, `chainId`: `BigNumber`): *`Promise<ExchangeContract>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:10420](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L10420)*
**Parameters:**
Name | Type |
------ | ------ |
`bytecode` | string |
`abi` | [ContractAbi](#contractabi) |
`supportedProvider` | [SupportedProvider](#supportedprovider) |
`txDefaults` | `Partial<TxData>` |
`logDecodeDependencies` | object |
`chainId` | `BigNumber` |
**Returns:** *`Promise<ExchangeContract>`*
___
### `Static` deployFrom0xArtifactAsync
▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults`: `Partial<TxData>`, `logDecodeDependencies`: object, `chainId`: `BigNumber`): *`Promise<ExchangeContract>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:10394](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L10394)*
**Parameters:**
Name | Type |
------ | ------ |
`artifact` | `ContractArtifact` \| `SimpleContractArtifact` |
`supportedProvider` | [SupportedProvider](#supportedprovider) |
`txDefaults` | `Partial<TxData>` |
`logDecodeDependencies` | object |
`chainId` | `BigNumber` |
**Returns:** *`Promise<ExchangeContract>`*
___
### `Static` strictArgumentEncodingCheck
▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string*
Defined in base-contract/lib/src/index.d.ts:41
**Parameters:**
Name | Type |
------ | ------ |
`inputAbi` | `DataItem`[] |
`args` | any[] |
**Returns:** *string*
## Object literals
### EIP1271_MAGIC_VALUE
#### ▪ **EIP1271_MAGIC_VALUE**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:112](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L112)*
#### callAsync
▸ **callAsync**(`callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:118](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L118)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<string>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:182](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L182)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *string*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:170](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L170)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *void*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:160](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L160)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Returns:** *string*
The ABI encoded transaction data as a string
___
### EIP712_EXCHANGE_DOMAIN_HASH
#### ▪ **EIP712_EXCHANGE_DOMAIN_HASH**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:190](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L190)*
#### callAsync
▸ **callAsync**(`callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:196](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L196)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<string>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:260](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L260)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *string*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:248](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L248)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *void*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:238](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L238)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Returns:** *string*
The ABI encoded transaction data as a string
___
### allowedValidators
#### ▪ **allowedValidators**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:268](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L268)*
#### callAsync
▸ **callAsync**(`index_0`: string, `index_1`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<boolean>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:274](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L274)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`index_0` | string | - |
`index_1` | string | - |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<boolean>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *boolean*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:353](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L353)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *boolean*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:341](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L341)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`index_0`: string, `index_1`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:326](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L326)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type |
------ | ------ |
`index_0` | string |
`index_1` | string |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### batchCancelOrders
#### ▪ **batchCancelOrders**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:364](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L364)*
Executes multiple calls of cancelOrder.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`orders`: `Array<object>`, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:420](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L420)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`orders`: `Array<object>`, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<void>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:531](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L531)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`orders` | `Array<object>` | - | Array of order specifications. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<void>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`orders`: `Array<object>`, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:462](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L462)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:682](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L682)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *void*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[`Array<object>`]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:630](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L630)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[`Array<object>`]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`orders`: `Array<object>`): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:599](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L599)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`orders`: `Array<object>`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:372](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L372)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`orders`: `Array<object>`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:502](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L502)*
**Parameters:**
Name | Type |
------ | ------ |
`orders` | `Array<object>` |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### batchExecuteTransactions
#### ▪ **batchExecuteTransactions**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:695](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L695)*
Executes a batch of Exchange method calls in the context of signer(s).
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`transactions`: `Array<object>`, `signatures`: string[], `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:748](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L748)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`transactions` | `Array<object>` | Array of 0x transaction structures. |
`signatures` | string[] | Array of proofs that transactions have been signed by signer(s). |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`transactions`: `Array<object>`, `signatures`: string[], `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<string[]>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:846](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L846)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`transactions` | `Array<object>` | - | Array of 0x transaction structures. |
`signatures` | string[] | - | Array of proofs that transactions have been signed by signer(s). |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<string[]>`*
Array containing ABI encoded return data for each of the underlying Exchange function calls.
#### estimateGasAsync
▸ **estimateGasAsync**(`transactions`: `Array<object>`, `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:785](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L785)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`transactions` | `Array<object>` | Array of 0x transaction structures. |
`signatures` | string[] | Array of proofs that transactions have been signed by signer(s). |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *string[]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:963](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L963)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *string[]*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *`Array<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:933](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L933)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *`Array<object>`*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`transactions`: `Array<object>`, `signatures`: string[]): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:909](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L909)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`transactions` | `Array<object>` | Array of 0x transaction structures. |
`signatures` | string[] | Array of proofs that transactions have been signed by signer(s). |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`transactions`: `Array<object>`, `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:705](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L705)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`transactions` | `Array<object>` | Array of 0x transaction structures. |
`signatures` | string[] | Array of proofs that transactions have been signed by signer(s). |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`transactions`: `Array<object>`, `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:818](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L818)*
**Parameters:**
Name | Type |
------ | ------ |
`transactions` | `Array<object>` |
`signatures` | string[] |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### batchFillOrKillOrders
#### ▪ **batchFillOrKillOrders**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:976](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L976)*
Executes multiple calls of fillOrKillOrder.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`orders`: `Array<object>`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1042](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1042)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. |
`signatures` | string[] | Proofs that orders have been created by makers. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`orders`: `Array<object>`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<Array<object>>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1180](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1180)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`orders` | `Array<object>` | - | Array of order specifications. |
`takerAssetFillAmounts` | `BigNumber`[] | - | Array of desired amounts of takerAsset to sell in orders. |
`signatures` | string[] | - | Proofs that orders have been created by makers. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<Array<object>>`*
Array of amounts filled and fees paid by makers and taker.
#### estimateGasAsync
▸ **estimateGasAsync**(`orders`: `Array<object>`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1096](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1096)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. |
`signatures` | string[] | Proofs that orders have been created by makers. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`Array<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1354](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1354)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`Array<object>`*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *`Array<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1306](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1306)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *`Array<object>`*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`orders`: `Array<object>`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[]): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1271](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1271)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. |
`signatures` | string[] | Proofs that orders have been created by makers. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`orders`: `Array<object>`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:987](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L987)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. |
`signatures` | string[] | Proofs that orders have been created by makers. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`orders`: `Array<object>`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1140](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1140)*
**Parameters:**
Name | Type |
------ | ------ |
`orders` | `Array<object>` |
`takerAssetFillAmounts` | `BigNumber`[] |
`signatures` | string[] |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### batchFillOrders
#### ▪ **batchFillOrders**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1383](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1383)*
Executes multiple calls of fillOrder.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`orders`: `Array<object>`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1449](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1449)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. |
`signatures` | string[] | Proofs that orders have been created by makers. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`orders`: `Array<object>`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<Array<object>>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1587](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1587)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`orders` | `Array<object>` | - | Array of order specifications. |
`takerAssetFillAmounts` | `BigNumber`[] | - | Array of desired amounts of takerAsset to sell in orders. |
`signatures` | string[] | - | Proofs that orders have been created by makers. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<Array<object>>`*
Array of amounts filled and fees paid by makers and taker.
#### estimateGasAsync
▸ **estimateGasAsync**(`orders`: `Array<object>`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1503](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1503)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. |
`signatures` | string[] | Proofs that orders have been created by makers. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`Array<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1761](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1761)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`Array<object>`*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *`Array<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1713](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1713)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *`Array<object>`*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`orders`: `Array<object>`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[]): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1678](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1678)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. |
`signatures` | string[] | Proofs that orders have been created by makers. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`orders`: `Array<object>`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1394](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1394)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. |
`signatures` | string[] | Proofs that orders have been created by makers. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`orders`: `Array<object>`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1547](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1547)*
**Parameters:**
Name | Type |
------ | ------ |
`orders` | `Array<object>` |
`takerAssetFillAmounts` | `BigNumber`[] |
`signatures` | string[] |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### batchFillOrdersNoThrow
#### ▪ **batchFillOrdersNoThrow**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1790](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1790)*
Executes multiple calls of fillOrder. If any fill reverts, the error is caught and ignored.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`orders`: `Array<object>`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1856](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1856)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. |
`signatures` | string[] | Proofs that orders have been created by makers. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`orders`: `Array<object>`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<Array<object>>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1994](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1994)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`orders` | `Array<object>` | - | Array of order specifications. |
`takerAssetFillAmounts` | `BigNumber`[] | - | Array of desired amounts of takerAsset to sell in orders. |
`signatures` | string[] | - | Proofs that orders have been created by makers. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<Array<object>>`*
Array of amounts filled and fees paid by makers and taker.
#### estimateGasAsync
▸ **estimateGasAsync**(`orders`: `Array<object>`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1910](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1910)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. |
`signatures` | string[] | Proofs that orders have been created by makers. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`Array<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:2168](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L2168)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`Array<object>`*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *`Array<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:2120](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L2120)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *`Array<object>`*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`orders`: `Array<object>`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[]): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:2085](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L2085)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. |
`signatures` | string[] | Proofs that orders have been created by makers. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`orders`: `Array<object>`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1801](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1801)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`takerAssetFillAmounts` | `BigNumber`[] | Array of desired amounts of takerAsset to sell in orders. |
`signatures` | string[] | Proofs that orders have been created by makers. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`orders`: `Array<object>`, `takerAssetFillAmounts`: `BigNumber`[], `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:1954](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L1954)*
**Parameters:**
Name | Type |
------ | ------ |
`orders` | `Array<object>` |
`takerAssetFillAmounts` | `BigNumber`[] |
`signatures` | string[] |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### batchMatchOrders
#### ▪ **batchMatchOrders**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:2199](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L2199)*
Match complementary orders that have a profitable spread.
Each order is filled at their respective price point, and
the matcher receives a profit denominated in the left maker asset.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`leftOrders`: `Array<object>`, `rightOrders`: `Array<object>`, `leftSignatures`: string[], `rightSignatures`: string[], `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:2286](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L2286)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`leftOrders` | `Array<object>` | Set of orders with the same maker / taker asset. |
`rightOrders` | `Array<object>` | Set of orders to match against `leftOrders` |
`leftSignatures` | string[] | Proof that left orders were created by the left makers. |
`rightSignatures` | string[] | Proof that right orders were created by the right makers. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`leftOrders`: `Array<object>`, `rightOrders`: `Array<object>`, `leftSignatures`: string[], `rightSignatures`: string[], `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:2486](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L2486)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`leftOrders` | `Array<object>` | - | Set of orders with the same maker / taker asset. |
`rightOrders` | `Array<object>` | - | Set of orders to match against `leftOrders` |
`leftSignatures` | string[] | - | Proof that left orders were created by the left makers. |
`rightSignatures` | string[] | - | Proof that right orders were created by the right makers. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<object>`*
batchMatchedFillResults Amounts filled and profit generated.
#### estimateGasAsync
▸ **estimateGasAsync**(`leftOrders`: `Array<object>`, `rightOrders`: `Array<object>`, `leftSignatures`: string[], `rightSignatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:2360](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L2360)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`leftOrders` | `Array<object>` | Set of orders with the same maker / taker asset. |
`rightOrders` | `Array<object>` | Set of orders to match against `leftOrders` |
`leftSignatures` | string[] | Proof that left orders were created by the left makers. |
`rightSignatures` | string[] | Proof that right orders were created by the right makers. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:2714](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L2714)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *object*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *`Array<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:2666](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L2666)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *`Array<object>`*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`leftOrders`: `Array<object>`, `rightOrders`: `Array<object>`, `leftSignatures`: string[], `rightSignatures`: string[]): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:2614](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L2614)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`leftOrders` | `Array<object>` | Set of orders with the same maker / taker asset. |
`rightOrders` | `Array<object>` | Set of orders to match against `leftOrders` |
`leftSignatures` | string[] | Proof that left orders were created by the left makers. |
`rightSignatures` | string[] | Proof that right orders were created by the right makers. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`leftOrders`: `Array<object>`, `rightOrders`: `Array<object>`, `leftSignatures`: string[], `rightSignatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:2212](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L2212)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`leftOrders` | `Array<object>` | Set of orders with the same maker / taker asset. |
`rightOrders` | `Array<object>` | Set of orders to match against `leftOrders` |
`leftSignatures` | string[] | Proof that left orders were created by the left makers. |
`rightSignatures` | string[] | Proof that right orders were created by the right makers. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`leftOrders`: `Array<object>`, `rightOrders`: `Array<object>`, `leftSignatures`: string[], `rightSignatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:2421](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L2421)*
**Parameters:**
Name | Type |
------ | ------ |
`leftOrders` | `Array<object>` |
`rightOrders` | `Array<object>` |
`leftSignatures` | string[] |
`rightSignatures` | string[] |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### batchMatchOrdersWithMaximalFill
#### ▪ **batchMatchOrdersWithMaximalFill**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:2766](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L2766)*
Match complementary orders that have a profitable spread.
Each order is maximally filled at their respective price point, and
the matcher receives a profit denominated in either the left maker asset,
right maker asset, or a combination of both.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`leftOrders`: `Array<object>`, `rightOrders`: `Array<object>`, `leftSignatures`: string[], `rightSignatures`: string[], `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:2853](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L2853)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`leftOrders` | `Array<object>` | Set of orders with the same maker / taker asset. |
`rightOrders` | `Array<object>` | Set of orders to match against `leftOrders` |
`leftSignatures` | string[] | Proof that left orders were created by the left makers. |
`rightSignatures` | string[] | Proof that right orders were created by the right makers. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`leftOrders`: `Array<object>`, `rightOrders`: `Array<object>`, `leftSignatures`: string[], `rightSignatures`: string[], `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3053](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3053)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`leftOrders` | `Array<object>` | - | Set of orders with the same maker / taker asset. |
`rightOrders` | `Array<object>` | - | Set of orders to match against `leftOrders` |
`leftSignatures` | string[] | - | Proof that left orders were created by the left makers. |
`rightSignatures` | string[] | - | Proof that right orders were created by the right makers. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<object>`*
batchMatchedFillResults Amounts filled and profit generated.
#### estimateGasAsync
▸ **estimateGasAsync**(`leftOrders`: `Array<object>`, `rightOrders`: `Array<object>`, `leftSignatures`: string[], `rightSignatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:2927](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L2927)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`leftOrders` | `Array<object>` | Set of orders with the same maker / taker asset. |
`rightOrders` | `Array<object>` | Set of orders to match against `leftOrders` |
`leftSignatures` | string[] | Proof that left orders were created by the left makers. |
`rightSignatures` | string[] | Proof that right orders were created by the right makers. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3281](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3281)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *object*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *`Array<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3233](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3233)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *`Array<object>`*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`leftOrders`: `Array<object>`, `rightOrders`: `Array<object>`, `leftSignatures`: string[], `rightSignatures`: string[]): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3181](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3181)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`leftOrders` | `Array<object>` | Set of orders with the same maker / taker asset. |
`rightOrders` | `Array<object>` | Set of orders to match against `leftOrders` |
`leftSignatures` | string[] | Proof that left orders were created by the left makers. |
`rightSignatures` | string[] | Proof that right orders were created by the right makers. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`leftOrders`: `Array<object>`, `rightOrders`: `Array<object>`, `leftSignatures`: string[], `rightSignatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:2779](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L2779)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`leftOrders` | `Array<object>` | Set of orders with the same maker / taker asset. |
`rightOrders` | `Array<object>` | Set of orders to match against `leftOrders` |
`leftSignatures` | string[] | Proof that left orders were created by the left makers. |
`rightSignatures` | string[] | Proof that right orders were created by the right makers. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`leftOrders`: `Array<object>`, `rightOrders`: `Array<object>`, `leftSignatures`: string[], `rightSignatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:2988](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L2988)*
**Parameters:**
Name | Type |
------ | ------ |
`leftOrders` | `Array<object>` |
`rightOrders` | `Array<object>` |
`leftSignatures` | string[] |
`rightSignatures` | string[] |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### cancelOrder
#### ▪ **cancelOrder**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3330](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3330)*
After calling, the order can not be filled anymore.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`order`: object, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3385](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3385)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`order` | object | Order struct containing order specifications. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`order`: object, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<void>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3494](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3494)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`order` | object | - | Order struct containing order specifications. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<void>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`order`: object, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3426](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3426)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`order` | object | Order struct containing order specifications. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3641](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3641)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *void*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[object]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3589](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3589)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[object]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`order`: object): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3561](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3561)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`order` | object | Order struct containing order specifications. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`order`: object, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3338](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3338)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`order` | object | Order struct containing order specifications. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`order`: object, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3465](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3465)*
**Parameters:**
Name | Type |
------ | ------ |
`order` | object |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### cancelOrdersUpTo
#### ▪ **cancelOrdersUpTo**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3655](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3655)*
Cancels all orders created by makerAddress with a salt less than or equal to the targetOrderEpoch
and senderAddress equal to msg.sender (or null address if msg.sender == makerAddress).
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`targetOrderEpoch`: `BigNumber`, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3692](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3692)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`targetOrderEpoch` | `BigNumber` | Orders created with a salt less or equal to this value will be cancelled. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`targetOrderEpoch`: `BigNumber`, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<void>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3754](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3754)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`targetOrderEpoch` | `BigNumber` | - | Orders created with a salt less or equal to this value will be cancelled. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<void>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`targetOrderEpoch`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3720](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3720)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`targetOrderEpoch` | `BigNumber` | Orders created with a salt less or equal to this value will be cancelled. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3828](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3828)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *void*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[`BigNumber`]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3816](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3816)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[`BigNumber`]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`targetOrderEpoch`: `BigNumber`): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3803](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3803)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`targetOrderEpoch` | `BigNumber` | Orders created with a salt less or equal to this value will be cancelled. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`targetOrderEpoch`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3664](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3664)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`targetOrderEpoch` | `BigNumber` | Orders created with a salt less or equal to this value will be cancelled. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`targetOrderEpoch`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3739](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3739)*
**Parameters:**
Name | Type |
------ | ------ |
`targetOrderEpoch` | `BigNumber` |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### cancelled
#### ▪ **cancelled**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3836](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3836)*
#### callAsync
▸ **callAsync**(`index_0`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<boolean>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3842](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3842)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`index_0` | string | - |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<boolean>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *boolean*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3912](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3912)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *boolean*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3900](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3900)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`index_0`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3889](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3889)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type |
------ | ------ |
`index_0` | string |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### currentContextAddress
#### ▪ **currentContextAddress**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3920](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3920)*
#### callAsync
▸ **callAsync**(`callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3926](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3926)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<string>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3990](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3990)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *string*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3978](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3978)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *void*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:3968](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L3968)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Returns:** *string*
The ABI encoded transaction data as a string
___
### executeTransaction
#### ▪ **executeTransaction**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4001](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4001)*
Executes an Exchange method call in the context of signer.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`transaction`: object, `signature`: string, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4051](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4051)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`transaction` | object | 0x transaction structure. |
`signature` | string | Proof that transaction has been signed by signer. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`transaction`: object, `signature`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4141](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4141)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`transaction` | object | - | 0x transaction structure. |
`signature` | string | - | Proof that transaction has been signed by signer. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<string>`*
ABI encoded return data of the underlying Exchange function call.
#### estimateGasAsync
▸ **estimateGasAsync**(`transaction`: object, `signature`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4086](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4086)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`transaction` | object | 0x transaction structure. |
`signature` | string | Proof that transaction has been signed by signer. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4253](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4253)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *string*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4225](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4225)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *object*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`transaction`: object, `signature`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4202](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4202)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`transaction` | object | 0x transaction structure. |
`signature` | string | Proof that transaction has been signed by signer. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`transaction`: object, `signature`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4010](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4010)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`transaction` | object | 0x transaction structure. |
`signature` | string | Proof that transaction has been signed by signer. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`transaction`: object, `signature`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4118](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4118)*
**Parameters:**
Name | Type |
------ | ------ |
`transaction` | object |
`signature` | string |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### fillOrKillOrder
#### ▪ **fillOrKillOrder**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4266](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4266)*
Fills the input order. Reverts if exact takerAssetFillAmount not filled.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4329](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4329)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`order` | object | Order struct containing order specifications. |
`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. |
`signature` | string | Proof that order has been created by maker. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4462](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4462)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`order` | object | - | Order struct containing order specifications. |
`takerAssetFillAmount` | `BigNumber` | - | Desired amount of takerAsset to sell. |
`signature` | string | - | Proof that order has been created by maker. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<object>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4381](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4381)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`order` | object | Order struct containing order specifications. |
`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. |
`signature` | string | Proof that order has been created by maker. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4627](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4627)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *object*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4581](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4581)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *object*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4547](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4547)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`order` | object | Order struct containing order specifications. |
`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. |
`signature` | string | Proof that order has been created by maker. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4276](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4276)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`order` | object | Order struct containing order specifications. |
`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. |
`signature` | string | Proof that order has been created by maker. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4424](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4424)*
**Parameters:**
Name | Type |
------ | ------ |
`order` | object |
`takerAssetFillAmount` | `BigNumber` |
`signature` | string |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### fillOrder
#### ▪ **fillOrder**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4654](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4654)*
Fills the input order.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4717](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4717)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`order` | object | Order struct containing order specifications. |
`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. |
`signature` | string | Proof that order has been created by maker. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4846](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4846)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`order` | object | - | Order struct containing order specifications. |
`takerAssetFillAmount` | `BigNumber` | - | Desired amount of takerAsset to sell. |
`signature` | string | - | Proof that order has been created by maker. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<object>`*
Amounts filled and fees paid by maker and taker.
#### estimateGasAsync
▸ **estimateGasAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4764](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4764)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`order` | object | Order struct containing order specifications. |
`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. |
`signature` | string | Proof that order has been created by maker. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5011](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5011)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *object*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4965](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4965)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *object*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4931](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4931)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`order` | object | Order struct containing order specifications. |
`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. |
`signature` | string | Proof that order has been created by maker. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4664](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4664)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`order` | object | Order struct containing order specifications. |
`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. |
`signature` | string | Proof that order has been created by maker. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`order`: object, `takerAssetFillAmount`: `BigNumber`, `signature`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:4807](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L4807)*
**Parameters:**
Name | Type |
------ | ------ |
`order` | object |
`takerAssetFillAmount` | `BigNumber` |
`signature` | string |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### filled
#### ▪ **filled**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5035](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5035)*
#### callAsync
▸ **callAsync**(`index_0`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<BigNumber>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5041](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5041)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`index_0` | string | - |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<BigNumber>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5111](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5111)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`BigNumber`*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5099](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5099)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`index_0`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5088](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5088)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type |
------ | ------ |
`index_0` | string |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### getAssetProxy
#### ▪ **getAssetProxy**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5122](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5122)*
Gets an asset proxy.
#### callAsync
▸ **callAsync**(`assetProxyId`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5130](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5130)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`assetProxyId` | string | - | Id of the asset proxy. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<string>`*
The asset proxy registered to assetProxyId. Returns 0x0 if no proxy is registered.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5201](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5201)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *string*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5189](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5189)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`assetProxyId`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5178](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5178)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetProxyId` | string | Id of the asset proxy. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### getOrderInfo
#### ▪ **getOrderInfo**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5212](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5212)*
Gets information about an order: status, hash, and amount filled.
#### callAsync
▸ **callAsync**(`order`: object, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5220](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5220)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`order` | object | - | Order to gather information on. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<object>`*
OrderInfo Information about the order and its state. See LibOrder.OrderInfo for a complete description.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5365](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5365)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *object*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5319](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5319)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *object*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`order`: object): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5291](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5291)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`order` | object | Order to gather information on. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### isValidHashSignature
#### ▪ **isValidHashSignature**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5384](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5384)*
Verifies that a hash has been signed by the given signer.
#### callAsync
▸ **callAsync**(`hash`: string, `signerAddress`: string, `signature`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<boolean>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5394](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5394)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`hash` | string | - | Any 32-byte hash. |
`signerAddress` | string | - | Address that should have signed the given hash. |
`signature` | string | - | Proof that the hash has been signed by signer. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<boolean>`*
isValid &#x60;true&#x60; if the signature is valid for the given hash and signer.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *boolean*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5480](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5480)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *boolean*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5468](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5468)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`hash`: string, `signerAddress`: string, `signature`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5452](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5452)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`hash` | string | Any 32-byte hash. |
`signerAddress` | string | Address that should have signed the given hash. |
`signature` | string | Proof that the hash has been signed by signer. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### isValidOrderSignature
#### ▪ **isValidOrderSignature**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5491](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5491)*
Verifies that a signature for an order is valid.
#### callAsync
▸ **callAsync**(`order`: object, `signature`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<boolean>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5500](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5500)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`order` | object | - | The order. |
`signature` | string | - | Proof that the order has been signed by signer. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<boolean>`*
isValid &#x60;true&#x60; if the signature is valid for the given order and signer.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *boolean*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5648](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5648)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *boolean*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5602](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5602)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *object*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`order`: object, `signature`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5570](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5570)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`order` | object | The order. |
`signature` | string | Proof that the order has been signed by signer. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### isValidTransactionSignature
#### ▪ **isValidTransactionSignature**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5661](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5661)*
Verifies that a signature for a transaction is valid.
#### callAsync
▸ **callAsync**(`transaction`: object, `signature`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<boolean>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5670](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5670)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`transaction` | object | - | The transaction. |
`signature` | string | - | Proof that the order has been signed by signer. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<boolean>`*
isValid &#x60;true&#x60; if the signature is valid for the given transaction and signer.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *boolean*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5782](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5782)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *boolean*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5754](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5754)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *object*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`transaction`: object, `signature`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5731](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5731)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`transaction` | object | The transaction. |
`signature` | string | Proof that the order has been signed by signer. |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### marketBuyOrdersFillOrKill
#### ▪ **marketBuyOrdersFillOrKill**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5796](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5796)*
Calls marketBuyOrdersNoThrow then reverts if < makerAssetFillAmount has been bought.
NOTE: This function does not enforce that the makerAsset is the same for each order.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`orders`: `Array<object>`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5860](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5860)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`makerAssetFillAmount` | `BigNumber` | Minimum amount of makerAsset to buy. |
`signatures` | string[] | Proofs that orders have been signed by makers. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`orders`: `Array<object>`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5996](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5996)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`orders` | `Array<object>` | - | Array of order specifications. |
`makerAssetFillAmount` | `BigNumber` | - | Minimum amount of makerAsset to buy. |
`signatures` | string[] | - | Proofs that orders have been signed by makers. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<object>`*
Amounts filled and fees paid by makers and taker.
#### estimateGasAsync
▸ **estimateGasAsync**(`orders`: `Array<object>`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5913](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5913)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`makerAssetFillAmount` | `BigNumber` | Minimum amount of makerAsset to buy. |
`signatures` | string[] | Proofs that orders have been signed by makers. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6165](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6165)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *object*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *`Array<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6117](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6117)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *`Array<object>`*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`orders`: `Array<object>`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[]): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6082](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6082)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`makerAssetFillAmount` | `BigNumber` | Minimum amount of makerAsset to buy. |
`signatures` | string[] | Proofs that orders have been signed by makers. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`orders`: `Array<object>`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5806](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5806)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`makerAssetFillAmount` | `BigNumber` | Minimum amount of makerAsset to buy. |
`signatures` | string[] | Proofs that orders have been signed by makers. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`orders`: `Array<object>`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:5957](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L5957)*
**Parameters:**
Name | Type |
------ | ------ |
`orders` | `Array<object>` |
`makerAssetFillAmount` | `BigNumber` |
`signatures` | string[] |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### marketBuyOrdersNoThrow
#### ▪ **marketBuyOrdersNoThrow**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6194](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6194)*
Executes multiple calls of fillOrder until total amount of makerAsset is bought by taker.
If any fill reverts, the error is caught and ignored.
NOTE: This function does not enforce that the makerAsset is the same for each order.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`orders`: `Array<object>`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6258](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6258)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to buy. |
`signatures` | string[] | Proofs that orders have been signed by makers. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`orders`: `Array<object>`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6394](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6394)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`orders` | `Array<object>` | - | Array of order specifications. |
`makerAssetFillAmount` | `BigNumber` | - | Desired amount of makerAsset to buy. |
`signatures` | string[] | - | Proofs that orders have been signed by makers. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<object>`*
Amounts filled and fees paid by makers and taker.
#### estimateGasAsync
▸ **estimateGasAsync**(`orders`: `Array<object>`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6311](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6311)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to buy. |
`signatures` | string[] | Proofs that orders have been signed by makers. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6563](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6563)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *object*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *`Array<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6515](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6515)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *`Array<object>`*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`orders`: `Array<object>`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[]): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6480](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6480)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to buy. |
`signatures` | string[] | Proofs that orders have been signed by makers. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`orders`: `Array<object>`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6204](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6204)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`makerAssetFillAmount` | `BigNumber` | Desired amount of makerAsset to buy. |
`signatures` | string[] | Proofs that orders have been signed by makers. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`orders`: `Array<object>`, `makerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6355](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6355)*
**Parameters:**
Name | Type |
------ | ------ |
`orders` | `Array<object>` |
`makerAssetFillAmount` | `BigNumber` |
`signatures` | string[] |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### marketSellOrdersFillOrKill
#### ▪ **marketSellOrdersFillOrKill**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6591](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6591)*
Calls marketSellOrdersNoThrow then reverts if < takerAssetFillAmount has been sold.
NOTE: This function does not enforce that the takerAsset is the same for each order.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`orders`: `Array<object>`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6655](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6655)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`takerAssetFillAmount` | `BigNumber` | Minimum amount of takerAsset to sell. |
`signatures` | string[] | Proofs that orders have been signed by makers. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`orders`: `Array<object>`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6791](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6791)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`orders` | `Array<object>` | - | Array of order specifications. |
`takerAssetFillAmount` | `BigNumber` | - | Minimum amount of takerAsset to sell. |
`signatures` | string[] | - | Proofs that orders have been signed by makers. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<object>`*
Amounts filled and fees paid by makers and taker.
#### estimateGasAsync
▸ **estimateGasAsync**(`orders`: `Array<object>`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6708](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6708)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`takerAssetFillAmount` | `BigNumber` | Minimum amount of takerAsset to sell. |
`signatures` | string[] | Proofs that orders have been signed by makers. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6960](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6960)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *object*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *`Array<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6912](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6912)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *`Array<object>`*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`orders`: `Array<object>`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[]): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6877](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6877)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`takerAssetFillAmount` | `BigNumber` | Minimum amount of takerAsset to sell. |
`signatures` | string[] | Proofs that orders have been signed by makers. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`orders`: `Array<object>`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6601](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6601)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`takerAssetFillAmount` | `BigNumber` | Minimum amount of takerAsset to sell. |
`signatures` | string[] | Proofs that orders have been signed by makers. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`orders`: `Array<object>`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6752](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6752)*
**Parameters:**
Name | Type |
------ | ------ |
`orders` | `Array<object>` |
`takerAssetFillAmount` | `BigNumber` |
`signatures` | string[] |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### marketSellOrdersNoThrow
#### ▪ **marketSellOrdersNoThrow**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6989](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6989)*
Executes multiple calls of fillOrder until total amount of takerAsset is sold by taker.
If any fill reverts, the error is caught and ignored.
NOTE: This function does not enforce that the takerAsset is the same for each order.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`orders`: `Array<object>`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:7053](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L7053)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. |
`signatures` | string[] | Proofs that orders have been signed by makers. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`orders`: `Array<object>`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:7189](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L7189)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`orders` | `Array<object>` | - | Array of order specifications. |
`takerAssetFillAmount` | `BigNumber` | - | Desired amount of takerAsset to sell. |
`signatures` | string[] | - | Proofs that orders have been signed by makers. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<object>`*
Amounts filled and fees paid by makers and taker.
#### estimateGasAsync
▸ **estimateGasAsync**(`orders`: `Array<object>`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:7106](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L7106)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. |
`signatures` | string[] | Proofs that orders have been signed by makers. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:7358](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L7358)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *object*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *`Array<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:7310](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L7310)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *`Array<object>`*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`orders`: `Array<object>`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[]): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:7275](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L7275)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. |
`signatures` | string[] | Proofs that orders have been signed by makers. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`orders`: `Array<object>`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:6999](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L6999)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orders` | `Array<object>` | Array of order specifications. |
`takerAssetFillAmount` | `BigNumber` | Desired amount of takerAsset to sell. |
`signatures` | string[] | Proofs that orders have been signed by makers. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`orders`: `Array<object>`, `takerAssetFillAmount`: `BigNumber`, `signatures`: string[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:7150](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L7150)*
**Parameters:**
Name | Type |
------ | ------ |
`orders` | `Array<object>` |
`takerAssetFillAmount` | `BigNumber` |
`signatures` | string[] |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### matchOrders
#### ▪ **matchOrders**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:7388](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L7388)*
Match two complementary orders that have a profitable spread.
Each order is filled at their respective price point. However, the calculations are
carried out as though the orders are both being filled at the right order's price point.
The profit made by the left order goes to the taker (who matched the two orders).
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:7469](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L7469)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`leftOrder` | object | First order to match. |
`rightOrder` | object | Second order to match. |
`leftSignature` | string | Proof that order was created by the left maker. |
`rightSignature` | string | Proof that order was created by the right maker. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:7655](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L7655)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`leftOrder` | object | - | First order to match. |
`rightOrder` | object | - | Second order to match. |
`leftSignature` | string | - | Proof that order was created by the left maker. |
`rightSignature` | string | - | Proof that order was created by the right maker. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<object>`*
matchedFillResults Amounts filled and fees paid by maker and taker of matched orders.
#### estimateGasAsync
▸ **estimateGasAsync**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:7539](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L7539)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`leftOrder` | object | First order to match. |
`rightOrder` | object | Second order to match. |
`leftSignature` | string | Proof that order was created by the left maker. |
`rightSignature` | string | Proof that order was created by the right maker. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:7875](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L7875)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *object*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:7829](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L7829)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *object*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:7779](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L7779)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`leftOrder` | object | First order to match. |
`rightOrder` | object | Second order to match. |
`leftSignature` | string | Proof that order was created by the left maker. |
`rightSignature` | string | Proof that order was created by the right maker. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:7399](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L7399)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`leftOrder` | object | First order to match. |
`rightOrder` | object | Second order to match. |
`leftSignature` | string | Proof that order was created by the left maker. |
`rightSignature` | string | Proof that order was created by the right maker. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:7598](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L7598)*
**Parameters:**
Name | Type |
------ | ------ |
`leftOrder` | object |
`rightOrder` | object |
`leftSignature` | string |
`rightSignature` | string |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### matchOrdersWithMaximalFill
#### ▪ **matchOrdersWithMaximalFill**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:7927](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L7927)*
Match two complementary orders that have a profitable spread.
Each order is maximally filled at their respective price point, and
the matcher receives a profit denominated in either the left maker asset,
right maker asset, or a combination of both.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8008](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8008)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`leftOrder` | object | First order to match. |
`rightOrder` | object | Second order to match. |
`leftSignature` | string | Proof that order was created by the left maker. |
`rightSignature` | string | Proof that order was created by the right maker. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<object>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8200](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8200)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`leftOrder` | object | - | First order to match. |
`rightOrder` | object | - | Second order to match. |
`leftSignature` | string | - | Proof that order was created by the left maker. |
`rightSignature` | string | - | Proof that order was created by the right maker. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<object>`*
matchedFillResults Amounts filled by maker and taker of matched orders.
#### estimateGasAsync
▸ **estimateGasAsync**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8078](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8078)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`leftOrder` | object | First order to match. |
`rightOrder` | object | Second order to match. |
`leftSignature` | string | Proof that order was created by the left maker. |
`rightSignature` | string | Proof that order was created by the right maker. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8420](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8420)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *object*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8374](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8374)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *object*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8324](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8324)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`leftOrder` | object | First order to match. |
`rightOrder` | object | Second order to match. |
`leftSignature` | string | Proof that order was created by the left maker. |
`rightSignature` | string | Proof that order was created by the right maker. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:7938](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L7938)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`leftOrder` | object | First order to match. |
`rightOrder` | object | Second order to match. |
`leftSignature` | string | Proof that order was created by the left maker. |
`rightSignature` | string | Proof that order was created by the right maker. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`leftOrder`: object, `rightOrder`: object, `leftSignature`: string, `rightSignature`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8137](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8137)*
**Parameters:**
Name | Type |
------ | ------ |
`leftOrder` | object |
`rightOrder` | object |
`leftSignature` | string |
`rightSignature` | string |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### orderEpoch
#### ▪ **orderEpoch**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8466](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8466)*
#### callAsync
▸ **callAsync**(`index_0`: string, `index_1`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<BigNumber>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8472](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8472)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`index_0` | string | - |
`index_1` | string | - |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<BigNumber>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8551](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8551)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`BigNumber`*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8539](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8539)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`index_0`: string, `index_1`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8524](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8524)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type |
------ | ------ |
`index_0` | string |
`index_1` | string |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### owner
#### ▪ **owner**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8559](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8559)*
#### callAsync
▸ **callAsync**(`callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8565](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8565)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<string>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8629](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8629)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *string*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8617](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8617)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *void*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8607](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8607)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Returns:** *string*
The ABI encoded transaction data as a string
___
### preSign
#### ▪ **preSign**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8641](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8641)*
Approves a hash on-chain.
After presigning a hash, the preSign signature type will become valid for that hash and signer.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`hash`: string, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8676](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8676)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`hash` | string | Any 32-byte hash. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`hash`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<void>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8733](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8733)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`hash` | string | - | Any 32-byte hash. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<void>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`hash`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8703](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8703)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`hash` | string | Any 32-byte hash. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8800](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8800)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *void*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8788](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8788)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`hash`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8777](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8777)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`hash` | string | Any 32-byte hash. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`hash`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8649](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8649)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`hash` | string | Any 32-byte hash. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`hash`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8722](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8722)*
**Parameters:**
Name | Type |
------ | ------ |
`hash` | string |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### preSigned
#### ▪ **preSigned**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8808](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8808)*
#### callAsync
▸ **callAsync**(`index_0`: string, `index_1`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<boolean>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8814](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8814)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`index_0` | string | - |
`index_1` | string | - |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<boolean>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *boolean*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8893](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8893)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *boolean*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8881](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8881)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`index_0`: string, `index_1`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8866](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8866)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type |
------ | ------ |
`index_0` | string |
`index_1` | string |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### protocolFeeCollector
#### ▪ **protocolFeeCollector**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8901](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8901)*
#### callAsync
▸ **callAsync**(`callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8907](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8907)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<string>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8971](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8971)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *string*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8959](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8959)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *void*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8949](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8949)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Returns:** *string*
The ABI encoded transaction data as a string
___
### protocolFeeMultiplier
#### ▪ **protocolFeeMultiplier**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8979](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8979)*
#### callAsync
▸ **callAsync**(`callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<BigNumber>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:8985](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L8985)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<BigNumber>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9049](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9049)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`BigNumber`*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9037](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9037)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *void*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9027](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9027)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Returns:** *string*
The ABI encoded transaction data as a string
___
### registerAssetProxy
#### ▪ **registerAssetProxy**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9061](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9061)*
Registers an asset proxy to its asset proxy id.
Once an asset proxy is registered, it cannot be unregistered.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`assetProxy`: string, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9096](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9096)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetProxy` | string | Address of new asset proxy to register. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`assetProxy`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<void>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9156](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9156)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`assetProxy` | string | - | Address of new asset proxy to register. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<void>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`assetProxy`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9123](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9123)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetProxy` | string | Address of new asset proxy to register. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9229](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9229)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *void*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9217](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9217)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`assetProxy`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9204](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9204)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetProxy` | string | Address of new asset proxy to register. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`assetProxy`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9069](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9069)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetProxy` | string | Address of new asset proxy to register. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`assetProxy`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9142](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9142)*
**Parameters:**
Name | Type |
------ | ------ |
`assetProxy` | string |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### setProtocolFeeCollectorAddress
#### ▪ **setProtocolFeeCollectorAddress**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9240](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9240)*
Allows the owner to update the protocolFeeCollector address.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`updatedProtocolFeeCollector`: string, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9282](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9282)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`updatedProtocolFeeCollector` | string | The updated protocolFeeCollector contract address. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`updatedProtocolFeeCollector`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<void>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9355](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9355)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`updatedProtocolFeeCollector` | string | - | The updated protocolFeeCollector contract address. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<void>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`updatedProtocolFeeCollector`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9313](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9313)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`updatedProtocolFeeCollector` | string | The updated protocolFeeCollector contract address. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9431](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9431)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *void*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9419](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9419)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`updatedProtocolFeeCollector`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9406](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9406)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`updatedProtocolFeeCollector` | string | The updated protocolFeeCollector contract address. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`updatedProtocolFeeCollector`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9249](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9249)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`updatedProtocolFeeCollector` | string | The updated protocolFeeCollector contract address. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`updatedProtocolFeeCollector`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9337](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9337)*
**Parameters:**
Name | Type |
------ | ------ |
`updatedProtocolFeeCollector` | string |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### setProtocolFeeMultiplier
#### ▪ **setProtocolFeeMultiplier**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9442](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9442)*
Allows the owner to update the protocol fee multiplier.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`updatedProtocolFeeMultiplier`: `BigNumber`, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9482](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9482)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`updatedProtocolFeeMultiplier` | `BigNumber` | The updated protocol fee multiplier. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`updatedProtocolFeeMultiplier`: `BigNumber`, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<void>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9553](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9553)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`updatedProtocolFeeMultiplier` | `BigNumber` | - | The updated protocol fee multiplier. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<void>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`updatedProtocolFeeMultiplier`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9512](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9512)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`updatedProtocolFeeMultiplier` | `BigNumber` | The updated protocol fee multiplier. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9628](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9628)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *void*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[`BigNumber`]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9616](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9616)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[`BigNumber`]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`updatedProtocolFeeMultiplier`: `BigNumber`): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9603](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9603)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`updatedProtocolFeeMultiplier` | `BigNumber` | The updated protocol fee multiplier. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`updatedProtocolFeeMultiplier`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9450](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9450)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`updatedProtocolFeeMultiplier` | `BigNumber` | The updated protocol fee multiplier. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`updatedProtocolFeeMultiplier`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9536](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9536)*
**Parameters:**
Name | Type |
------ | ------ |
`updatedProtocolFeeMultiplier` | `BigNumber` |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### setSignatureValidatorApproval
#### ▪ **setSignatureValidatorApproval**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9640](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9640)*
Approves/unnapproves a Validator contract to verify signatures on signer's behalf
using the `Validator` signature type.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`validatorAddress`: string, `approval`: boolean, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9685](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9685)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`validatorAddress` | string | Address of Validator contract. |
`approval` | boolean | Approval or disapproval of Validator contract. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`validatorAddress`: string, `approval`: boolean, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<void>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9766](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9766)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`validatorAddress` | string | - | Address of Validator contract. |
`approval` | boolean | - | Approval or disapproval of Validator contract. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<void>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`validatorAddress`: string, `approval`: boolean, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9719](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9719)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`validatorAddress` | string | Address of Validator contract. |
`approval` | boolean | Approval or disapproval of Validator contract. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9847](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9847)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *void*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string, boolean]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9835](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9835)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string, boolean]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`validatorAddress`: string, `approval`: boolean): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9820](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9820)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`validatorAddress` | string | Address of Validator contract. |
`approval` | boolean | Approval or disapproval of Validator contract. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`validatorAddress`: string, `approval`: boolean, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9649](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9649)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`validatorAddress` | string | Address of Validator contract. |
`approval` | boolean | Approval or disapproval of Validator contract. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`validatorAddress`: string, `approval`: boolean, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9746](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9746)*
**Parameters:**
Name | Type |
------ | ------ |
`validatorAddress` | string |
`approval` | boolean |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### simulateDispatchTransferFromCalls
#### ▪ **simulateDispatchTransferFromCalls**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9858](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9858)*
This function may be used to simulate any amount of transfers As they would occur through the Exchange contract. Note that this function will always revert, even if all transfers are successful. However, it may be used with eth_call or with a try/catch pattern in order to simulate the results of the transfers.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`assetData`: string[], `fromAddresses`: string[], `toAddresses`: string[], `amounts`: `BigNumber`[], `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9919](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9919)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string[] | Array of asset details, each encoded per the AssetProxy contract specification. |
`fromAddresses` | string[] | Array containing the `from` addresses that correspond with each transfer. |
`toAddresses` | string[] | Array containing the `to` addresses that correspond with each transfer. |
`amounts` | `BigNumber`[] | Array containing the amounts that correspond to each transfer. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`assetData`: string[], `fromAddresses`: string[], `toAddresses`: string[], `amounts`: `BigNumber`[], `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<void>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:10033](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L10033)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`assetData` | string[] | - | Array of asset details, each encoded per the AssetProxy contract specification. |
`fromAddresses` | string[] | - | Array containing the `from` addresses that correspond with each transfer. |
`toAddresses` | string[] | - | Array containing the `to` addresses that correspond with each transfer. |
`amounts` | `BigNumber`[] | - | Array containing the amounts that correspond to each transfer. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<void>`*
This function does not return a value. However, it will always revert with &#x60;Error(&quot;TRANSFERS_SUCCESSFUL&quot;)&#x60; if all of the transfers were successful.
#### estimateGasAsync
▸ **estimateGasAsync**(`assetData`: string[], `fromAddresses`: string[], `toAddresses`: string[], `amounts`: `BigNumber`[], `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9965](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9965)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string[] | Array of asset details, each encoded per the AssetProxy contract specification. |
`fromAddresses` | string[] | Array containing the `from` addresses that correspond with each transfer. |
`toAddresses` | string[] | Array containing the `to` addresses that correspond with each transfer. |
`amounts` | `BigNumber`[] | Array containing the amounts that correspond to each transfer. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:10135](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L10135)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *void*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string[], string[], string[], `BigNumber`[]]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:10121](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L10121)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string[], string[], string[], `BigNumber`[]]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`assetData`: string[], `fromAddresses`: string[], `toAddresses`: string[], `amounts`: `BigNumber`[]): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:10099](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L10099)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string[] | Array of asset details, each encoded per the AssetProxy contract specification. |
`fromAddresses` | string[] | Array containing the `from` addresses that correspond with each transfer. |
`toAddresses` | string[] | Array containing the `to` addresses that correspond with each transfer. |
`amounts` | `BigNumber`[] | Array containing the amounts that correspond to each transfer. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`assetData`: string[], `fromAddresses`: string[], `toAddresses`: string[], `amounts`: `BigNumber`[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9873](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9873)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string[] | Array of asset details, each encoded per the AssetProxy contract specification. |
`fromAddresses` | string[] | Array containing the `from` addresses that correspond with each transfer. |
`toAddresses` | string[] | Array containing the `to` addresses that correspond with each transfer. |
`amounts` | `BigNumber`[] | Array containing the amounts that correspond to each transfer. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`assetData`: string[], `fromAddresses`: string[], `toAddresses`: string[], `amounts`: `BigNumber`[], `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:9996](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L9996)*
**Parameters:**
Name | Type |
------ | ------ |
`assetData` | string[] |
`fromAddresses` | string[] |
`toAddresses` | string[] |
`amounts` | `BigNumber`[] |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### transactionsExecuted
#### ▪ **transactionsExecuted**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:10145](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L10145)*
#### callAsync
▸ **callAsync**(`index_0`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<boolean>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:10151](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L10151)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`index_0` | string | - |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<boolean>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *boolean*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:10221](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L10221)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *boolean*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:10209](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L10209)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`index_0`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:10198](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L10198)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type |
------ | ------ |
`index_0` | string |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### transferOwnership
#### ▪ **transferOwnership**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:10229](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L10229)*
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`newOwner`: string, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:10262](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L10262)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`newOwner` | string | - |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`newOwner`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<void>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:10317](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L10317)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`newOwner` | string | - |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<void>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`newOwner`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:10288](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L10288)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`newOwner` | string | - |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:10385](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L10385)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *void*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[string]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:10373](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L10373)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[string]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`newOwner`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:10360](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L10360)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type |
------ | ------ |
`newOwner` | string |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`newOwner`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:10236](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L10236)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`newOwner` | string | - |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`newOwner`: string, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:10307](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L10307)*
**Parameters:**
Name | Type |
------ | ------ |
`newOwner` | string |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
<hr />
# Class: IValidatorContract
## Constructors
\+ **new IValidatorContract**(`address`: string, `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults?`: `Partial<TxData>`, `logDecodeDependencies?`: undefined | object, `deployedBytecode`: string | undefined): *[IValidatorContract](#class-ivalidatorcontract)*
*Overrides void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/i_validator.ts:238](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/i_validator.ts#L238)*
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`address` | string | - |
`supportedProvider` | [SupportedProvider](#supportedprovider) | - |
`txDefaults?` | `Partial<TxData>` | - |
`logDecodeDependencies?` | undefined \| object | - |
`deployedBytecode` | string \| undefined | IValidatorContract.deployedBytecode |
**Returns:** *[IValidatorContract](#class-ivalidatorcontract)*
## Properties
#### abi
• **abi**: *[ContractAbi](#contractabi)*
Defined in base-contract/lib/src/index.d.ts:27
___
### address
• **address**: *string*
Defined in base-contract/lib/src/index.d.ts:28
___
Args
• **constructorArgs**: *any[]*
Defined in base-contract/lib/src/index.d.ts:30
___
### contractName
• **contractName**: *string*
Defined in base-contract/lib/src/index.d.ts:29
___
### `Static` deployedBytecode
▪ **deployedBytecode**: *string | undefined*
*Defined in [abi-gen-wrappers/src/generated-wrappers/i_validator.ts:31](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/i_validator.ts#L31)*
## Methods
### evmExecAsync
▸ **evmExecAsync**(`input`: `Buffer`): *`Promise<string>`*
Defined in base-contract/lib/src/index.d.ts:42
**Parameters:**
Name | Type |
------ | ------ |
`input` | `Buffer` |
**Returns:** *`Promise<string>`*
___
### `Static` ABI
▸ **ABI**(): *[ContractAbi](#contractabi)*
*Defined in [abi-gen-wrappers/src/generated-wrappers/i_validator.ts:207](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/i_validator.ts#L207)*
**Returns:** *[ContractAbi](#contractabi)*
The contract ABI
___
### `Static` deployAsync
▸ **deployAsync**(`bytecode`: string, `abi`: [ContractAbi](#contractabi), `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults`: `Partial<TxData>`, `logDecodeDependencies`: object): *`Promise<IValidatorContract>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/i_validator.ts:165](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/i_validator.ts#L165)*
**Parameters:**
Name | Type |
------ | ------ |
`bytecode` | string |
`abi` | [ContractAbi](#contractabi) |
`supportedProvider` | [SupportedProvider](#supportedprovider) |
`txDefaults` | `Partial<TxData>` |
`logDecodeDependencies` | object |
**Returns:** *`Promise<IValidatorContract>`*
___
### `Static` deployFrom0xArtifactAsync
▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults`: `Partial<TxData>`, `logDecodeDependencies`: object): *`Promise<IValidatorContract>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/i_validator.ts:140](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/i_validator.ts#L140)*
**Parameters:**
Name | Type |
------ | ------ |
`artifact` | `ContractArtifact` \| `SimpleContractArtifact` |
`supportedProvider` | [SupportedProvider](#supportedprovider) |
`txDefaults` | `Partial<TxData>` |
`logDecodeDependencies` | object |
**Returns:** *`Promise<IValidatorContract>`*
___
### `Static` strictArgumentEncodingCheck
▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string*
Defined in base-contract/lib/src/index.d.ts:41
**Parameters:**
Name | Type |
------ | ------ |
`inputAbi` | `DataItem`[] |
`args` | any[] |
**Returns:** *string*
## Object literals
### isValidSignature
#### ▪ **isValidSignature**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/i_validator.ts:35](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/i_validator.ts#L35)*
Verifies that a signature is valid.
#### callAsync
▸ **callAsync**(`hash`: string, `signerAddress`: string, `signature`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/i_validator.ts:45](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/i_validator.ts#L45)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`hash` | string | - | Message hash that is signed. |
`signerAddress` | string | - | Address that should have signed the given hash. |
`signature` | string | - | Proof of signing. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<string>`*
Magic bytes4 value if the signature is valid. Magic value is bytes4(keccak256(&quot;isValidValidatorSignature(address,bytes32,address,bytes)&quot;))
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/i_validator.ts:132](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/i_validator.ts#L132)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *string*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/i_validator.ts:120](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/i_validator.ts#L120)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`hash`: string, `signerAddress`: string, `signature`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/i_validator.ts:103](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/i_validator.ts#L103)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`hash` | string | Message hash that is signed. |
`signerAddress` | string | Address that should have signed the given hash. |
`signature` | string | Proof of signing. |
**Returns:** *string*
The ABI encoded transaction data as a string
<hr />
# Class: IWalletContract
## Constructors
\+ **new IWalletContract**(`address`: string, `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults?`: `Partial<TxData>`, `logDecodeDependencies?`: undefined | object, `deployedBytecode`: string | undefined): *[IWalletContract](#class-iwalletcontract)*
*Overrides void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/i_wallet.ts:224](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/i_wallet.ts#L224)*
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`address` | string | - |
`supportedProvider` | [SupportedProvider](#supportedprovider) | - |
`txDefaults?` | `Partial<TxData>` | - |
`logDecodeDependencies?` | undefined \| object | - |
`deployedBytecode` | string \| undefined | IWalletContract.deployedBytecode |
**Returns:** *[IWalletContract](#class-iwalletcontract)*
## Properties
#### abi
• **abi**: *[ContractAbi](#contractabi)*
Defined in base-contract/lib/src/index.d.ts:27
___
### address
• **address**: *string*
Defined in base-contract/lib/src/index.d.ts:28
___
Args
• **constructorArgs**: *any[]*
Defined in base-contract/lib/src/index.d.ts:30
___
### contractName
• **contractName**: *string*
Defined in base-contract/lib/src/index.d.ts:29
___
### `Static` deployedBytecode
▪ **deployedBytecode**: *string | undefined*
*Defined in [abi-gen-wrappers/src/generated-wrappers/i_wallet.ts:31](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/i_wallet.ts#L31)*
## Methods
### evmExecAsync
▸ **evmExecAsync**(`input`: `Buffer`): *`Promise<string>`*
Defined in base-contract/lib/src/index.d.ts:42
**Parameters:**
Name | Type |
------ | ------ |
`input` | `Buffer` |
**Returns:** *`Promise<string>`*
___
### `Static` ABI
▸ **ABI**(): *[ContractAbi](#contractabi)*
*Defined in [abi-gen-wrappers/src/generated-wrappers/i_wallet.ts:197](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/i_wallet.ts#L197)*
**Returns:** *[ContractAbi](#contractabi)*
The contract ABI
___
### `Static` deployAsync
▸ **deployAsync**(`bytecode`: string, `abi`: [ContractAbi](#contractabi), `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults`: `Partial<TxData>`, `logDecodeDependencies`: object): *`Promise<IWalletContract>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/i_wallet.ts:155](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/i_wallet.ts#L155)*
**Parameters:**
Name | Type |
------ | ------ |
`bytecode` | string |
`abi` | [ContractAbi](#contractabi) |
`supportedProvider` | [SupportedProvider](#supportedprovider) |
`txDefaults` | `Partial<TxData>` |
`logDecodeDependencies` | object |
**Returns:** *`Promise<IWalletContract>`*
___
### `Static` deployFrom0xArtifactAsync
▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults`: `Partial<TxData>`, `logDecodeDependencies`: object): *`Promise<IWalletContract>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/i_wallet.ts:130](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/i_wallet.ts#L130)*
**Parameters:**
Name | Type |
------ | ------ |
`artifact` | `ContractArtifact` \| `SimpleContractArtifact` |
`supportedProvider` | [SupportedProvider](#supportedprovider) |
`txDefaults` | `Partial<TxData>` |
`logDecodeDependencies` | object |
**Returns:** *`Promise<IWalletContract>`*
___
### `Static` strictArgumentEncodingCheck
▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string*
Defined in base-contract/lib/src/index.d.ts:41
**Parameters:**
Name | Type |
------ | ------ |
`inputAbi` | `DataItem`[] |
`args` | any[] |
**Returns:** *string*
## Object literals
### isValidSignature
#### ▪ **isValidSignature**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/i_wallet.ts:35](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/i_wallet.ts#L35)*
Validates a hash with the `Wallet` signature type.
#### callAsync
▸ **callAsync**(`hash`: string, `signature`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/i_wallet.ts:44](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/i_wallet.ts#L44)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`hash` | string | - | Message hash that is signed. |
`signature` | string | - | Proof of signing. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<string>`*
magicValue &#x60;bytes4(0xb0671381)&#x60; if the signature check succeeds.
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/i_wallet.ts:122](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/i_wallet.ts#L122)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *string*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/i_wallet.ts:110](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/i_wallet.ts#L110)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`hash`: string, `signature`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/i_wallet.ts:95](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/i_wallet.ts#L95)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`hash` | string | Message hash that is signed. |
`signature` | string | Proof of signing. |
**Returns:** *string*
The ABI encoded transaction data as a string
<hr />
# Class: WETH9Contract
## Constructors
\+ **new WETH9Contract**(`address`: string, `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults?`: `Partial<TxData>`, `logDecodeDependencies?`: undefined | object, `deployedBytecode`: string | undefined): *[WETH9Contract](#class-weth9contract)*
*Overrides void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1877](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1877)*
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`address` | string | - |
`supportedProvider` | [SupportedProvider](#supportedprovider) | - |
`txDefaults?` | `Partial<TxData>` | - |
`logDecodeDependencies?` | undefined \| object | - |
`deployedBytecode` | string \| undefined | WETH9Contract.deployedBytecode |
**Returns:** *[WETH9Contract](#class-weth9contract)*
## Properties
#### abi
• **abi**: *[ContractAbi](#contractabi)*
Defined in base-contract/lib/src/index.d.ts:27
___
### address
• **address**: *string*
Defined in base-contract/lib/src/index.d.ts:28
___
Args
• **constructorArgs**: *any[]*
Defined in base-contract/lib/src/index.d.ts:30
___
### contractName
• **contractName**: *string*
Defined in base-contract/lib/src/index.d.ts:29
___
### `Static` deployedBytecode
▪ **deployedBytecode**: *string* = "0x6080604052600436106100925760003560e01c63ffffffff16806306fdde031461009c578063095ea7b31461012657806318160ddd1461016b57806323b872dd146101925780632e1a7d4d146101c9578063313ce567146101e157806370a082311461020c57806395d89b411461023a578063a9059cbb1461024f578063d0e30db014610092578063dd62ed3e14610280575b61009a6102b4565b005b3480156100a857600080fd5b506100b1610303565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100eb5781810151838201526020016100d3565b50505050905090810190601f1680156101185780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561013257600080fd5b5061015773ffffffffffffffffffffffffffffffffffffffff600435166024356103af565b604080519115158252519081900360200190f35b34801561017757600080fd5b50610180610422565b60408051918252519081900360200190f35b34801561019e57600080fd5b5061015773ffffffffffffffffffffffffffffffffffffffff60043581169060243516604435610427565b3480156101d557600080fd5b5061009a6004356105c7565b3480156101ed57600080fd5b506101f661065c565b6040805160ff9092168252519081900360200190f35b34801561021857600080fd5b5061018073ffffffffffffffffffffffffffffffffffffffff60043516610665565b34801561024657600080fd5b506100b1610677565b34801561025b57600080fd5b5061015773ffffffffffffffffffffffffffffffffffffffff600435166024356106ef565b34801561028c57600080fd5b5061018073ffffffffffffffffffffffffffffffffffffffff60043581169060243516610703565b33600081815260036020908152604091829020805434908101909155825190815291517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9281900390910190a2565b6000805460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f810184900484028201840190925281815292918301828280156103a75780601f1061037c576101008083540402835291602001916103a7565b820191906000526020600020905b81548152906001019060200180831161038a57829003601f168201915b505050505081565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b303190565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602052604081205482111561045957600080fd5b73ffffffffffffffffffffffffffffffffffffffff841633148015906104cf575073ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14155b156105495773ffffffffffffffffffffffffffffffffffffffff8416600090815260046020908152604080832033845290915290205482111561051157600080fd5b73ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020805483900390555b73ffffffffffffffffffffffffffffffffffffffff808516600081815260036020908152604080832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b336000908152600360205260409020548111156105e357600080fd5b33600081815260036020526040808220805485900390555183156108fc0291849190818181858888f19350505050158015610622573d6000803e3d6000fd5b5060408051828152905133917f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65919081900360200190a250565b60025460ff1681565b60036020526000908152604090205481565b60018054604080516020600284861615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f810184900484028201840190925281815292918301828280156103a75780601f1061037c576101008083540402835291602001916103a7565b60006106fc338484610427565b9392505050565b6004602090815260009283526040808420909152908252902054815600a165627a7a723058201ebe888a6b56dd871f599adbe0f19ec3c29c28aec0685788dfac9b37a99fc9d20029"
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:67](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L67)*
## Methods
### evmExecAsync
▸ **evmExecAsync**(`input`: `Buffer`): *`Promise<string>`*
Defined in base-contract/lib/src/index.d.ts:42
**Parameters:**
Name | Type |
------ | ------ |
`input` | `Buffer` |
**Returns:** *`Promise<string>`*
___
### getLogsAsync
▸ **getLogsAsync**<**ArgsType**>(`eventName`: [WETH9Events](#enumeration-weth9events), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise<Array<LogWithDecodedArgs<ArgsType>>>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1861](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1861)*
Gets historical logs without creating a subscription
**Type parameters:**
▪ **ArgsType**: *[WETH9EventArgs](#weth9eventargs)*
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`eventName` | [WETH9Events](#enumeration-weth9events) | The WETH9 contract event you would like to subscribe to. |
`blockRange` | `BlockRange` | Block range to get logs from. |
`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` |
**Returns:** *`Promise<Array<LogWithDecodedArgs<ArgsType>>>`*
Array of logs that match the parameters
___
### subscribe
▸ **subscribe**<**ArgsType**>(`eventName`: [WETH9Events](#enumeration-weth9events), `indexFilterValues`: `IndexedFilterValues`, `callback`: [EventCallback](#eventcallback)*`ArgsType`*, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1819](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1819)*
Subscribe to an event type emitted by the WETH9 contract.
**Type parameters:**
▪ **ArgsType**: *[WETH9EventArgs](#weth9eventargs)*
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`eventName` | [WETH9Events](#enumeration-weth9events) | - | The WETH9 contract event you would like to subscribe to. |
`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` |
`callback` | [EventCallback](#eventcallback)*`ArgsType`* | - | Callback that gets called when a log is added/removed |
`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) |
`blockPollingIntervalMs?` | undefined \| number | - | - |
**Returns:** *string*
Subscription token used later to unsubscribe
___
### unsubscribe
▸ **unsubscribe**(`subscriptionToken`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1844](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1844)*
Cancel a subscription
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`subscriptionToken` | string | Subscription token returned by `subscribe()` |
**Returns:** *void*
___
### unsubscribeAll
▸ **unsubscribeAll**(): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1850](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1850)*
Cancels all existing subscriptions
**Returns:** *void*
___
### `Static` ABI
▸ **ABI**(): *[ContractAbi](#contractabi)*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1522](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1522)*
**Returns:** *[ContractAbi](#contractabi)*
The contract ABI
___
### `Static` deployAsync
▸ **deployAsync**(`bytecode`: string, `abi`: [ContractAbi](#contractabi), `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults`: `Partial<TxData>`, `logDecodeDependencies`: object): *`Promise<WETH9Contract>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1480](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1480)*
**Parameters:**
Name | Type |
------ | ------ |
`bytecode` | string |
`abi` | [ContractAbi](#contractabi) |
`supportedProvider` | [SupportedProvider](#supportedprovider) |
`txDefaults` | `Partial<TxData>` |
`logDecodeDependencies` | object |
**Returns:** *`Promise<WETH9Contract>`*
___
### `Static` deployFrom0xArtifactAsync
▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults`: `Partial<TxData>`, `logDecodeDependencies`: object): *`Promise<WETH9Contract>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1455](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1455)*
**Parameters:**
Name | Type |
------ | ------ |
`artifact` | `ContractArtifact` \| `SimpleContractArtifact` |
`supportedProvider` | [SupportedProvider](#supportedprovider) |
`txDefaults` | `Partial<TxData>` |
`logDecodeDependencies` | object |
**Returns:** *`Promise<WETH9Contract>`*
___
### `Static` strictArgumentEncodingCheck
▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string*
Defined in base-contract/lib/src/index.d.ts:41
**Parameters:**
Name | Type |
------ | ------ |
`inputAbi` | `DataItem`[] |
`args` | any[] |
**Returns:** *string*
## Object literals
### allowance
#### ▪ **allowance**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1361](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1361)*
#### callAsync
▸ **callAsync**(`index_0`: string, `index_1`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<BigNumber>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1367](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1367)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`index_0` | string | - |
`index_1` | string | - |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<BigNumber>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1446](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1446)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`BigNumber`*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1434](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1434)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`index_0`: string, `index_1`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1419](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1419)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type |
------ | ------ |
`index_0` | string |
`index_1` | string |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### approve
#### ▪ **approve**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:147](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L147)*
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`guy`: string, `wad`: `BigNumber`, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:181](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L181)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`guy` | string | - |
`wad` | `BigNumber` | - |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`guy`: string, `wad`: `BigNumber`, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<boolean>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:243](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L243)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`guy` | string | - |
`wad` | `BigNumber` | - |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<boolean>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`guy`: string, `wad`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:209](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L209)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`guy` | string | - |
`wad` | `BigNumber` | - |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *boolean*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:319](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L319)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *boolean*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:307](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L307)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`guy`: string, `wad`: `BigNumber`): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:292](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L292)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type |
------ | ------ |
`guy` | string |
`wad` | `BigNumber` |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`guy`: string, `wad`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:154](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L154)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`guy` | string | - |
`wad` | `BigNumber` | - |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`guy`: string, `wad`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:229](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L229)*
**Parameters:**
Name | Type |
------ | ------ |
`guy` | string |
`wad` | `BigNumber` |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### balanceOf
#### ▪ **balanceOf**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:861](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L861)*
#### callAsync
▸ **callAsync**(`index_0`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<BigNumber>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:867](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L867)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`index_0` | string | - |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<BigNumber>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:939](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L939)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`BigNumber`*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:927](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L927)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`index_0`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:914](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L914)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type |
------ | ------ |
`index_0` | string |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### decimals
#### ▪ **decimals**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:783](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L783)*
#### callAsync
▸ **callAsync**(`callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:789](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L789)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<number>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *number*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:853](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L853)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *number*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:841](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L841)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *void*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:831](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L831)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Returns:** *string*
The ABI encoded transaction data as a string
___
### deposit
#### ▪ **deposit**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1205](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1205)*
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1237](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1237)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<void>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1289](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1289)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<void>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1261](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1261)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1353](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1353)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *void*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1341](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1341)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *void*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1331](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1331)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1212](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1212)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1279](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1279)*
**Parameters:**
Name | Type |
------ | ------ |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### name
#### ▪ **name**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:69](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L69)*
#### callAsync
▸ **callAsync**(`callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:75](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L75)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<string>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:139](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L139)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *string*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:127](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L127)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *void*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:117](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L117)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Returns:** *string*
The ABI encoded transaction data as a string
___
### symbol
#### ▪ **symbol**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:947](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L947)*
#### callAsync
▸ **callAsync**(`callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:953](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L953)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<string>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1017](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1017)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *string*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1005](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1005)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *void*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:995](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L995)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Returns:** *string*
The ABI encoded transaction data as a string
___
### totalSupply
#### ▪ **totalSupply**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:327](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L327)*
#### callAsync
▸ **callAsync**(`callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<BigNumber>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:333](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L333)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<BigNumber>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:397](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L397)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`BigNumber`*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:385](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L385)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *void*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:375](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L375)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Returns:** *string*
The ABI encoded transaction data as a string
___
### transfer
#### ▪ **transfer**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1025](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1025)*
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`dst`: string, `wad`: `BigNumber`, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1059](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1059)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`dst` | string | - |
`wad` | `BigNumber` | - |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`dst`: string, `wad`: `BigNumber`, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<boolean>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1121](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1121)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`dst` | string | - |
`wad` | `BigNumber` | - |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<boolean>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`dst`: string, `wad`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1087](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1087)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`dst` | string | - |
`wad` | `BigNumber` | - |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *boolean*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1197](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1197)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *boolean*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1185](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1185)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`dst`: string, `wad`: `BigNumber`): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1170](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1170)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type |
------ | ------ |
`dst` | string |
`wad` | `BigNumber` |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`dst`: string, `wad`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1032](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1032)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`dst` | string | - |
`wad` | `BigNumber` | - |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`dst`: string, `wad`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:1107](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L1107)*
**Parameters:**
Name | Type |
------ | ------ |
`dst` | string |
`wad` | `BigNumber` |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### transferFrom
#### ▪ **transferFrom**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:405](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L405)*
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`src`: string, `dst`: string, `wad`: `BigNumber`, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:449](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L449)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`src` | string | - |
`dst` | string | - |
`wad` | `BigNumber` | - |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`src`: string, `dst`: string, `wad`: `BigNumber`, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<boolean>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:529](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L529)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`src` | string | - |
`dst` | string | - |
`wad` | `BigNumber` | - |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<boolean>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`src`: string, `dst`: string, `wad`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:484](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L484)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`src` | string | - |
`dst` | string | - |
`wad` | `BigNumber` | - |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *boolean*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:613](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L613)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *boolean*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:601](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L601)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`src`: string, `dst`: string, `wad`: `BigNumber`): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:584](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L584)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type |
------ | ------ |
`src` | string |
`dst` | string |
`wad` | `BigNumber` |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`src`: string, `dst`: string, `wad`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:412](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L412)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`src` | string | - |
`dst` | string | - |
`wad` | `BigNumber` | - |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`src`: string, `dst`: string, `wad`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:514](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L514)*
**Parameters:**
Name | Type |
------ | ------ |
`src` | string |
`dst` | string |
`wad` | `BigNumber` |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### withdraw
#### ▪ **withdraw**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:621](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L621)*
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`wad`: `BigNumber`, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:654](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L654)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`wad` | `BigNumber` | - |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`wad`: `BigNumber`, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<void>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:709](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L709)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`wad` | `BigNumber` | - |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<void>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`wad`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:680](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L680)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`wad` | `BigNumber` | - |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:775](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L775)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *void*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *[`BigNumber`]*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:763](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L763)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *[`BigNumber`]*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`wad`: `BigNumber`): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:752](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L752)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type |
------ | ------ |
`wad` | `BigNumber` |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`wad`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:628](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L628)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`wad` | `BigNumber` | - |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`wad`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:699](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L699)*
**Parameters:**
Name | Type |
------ | ------ |
`wad` | `BigNumber` |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
<hr />
# Class: ZRXTokenContract
## Constructors
\+ **new ZRXTokenContract**(`address`: string, `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults?`: `Partial<TxData>`, `logDecodeDependencies?`: undefined | object, `deployedBytecode`: string | undefined): *[ZRXTokenContract](#class-zrxtokencontract)*
*Overrides void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:1512](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L1512)*
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`address` | string | - |
`supportedProvider` | [SupportedProvider](#supportedprovider) | - |
`txDefaults?` | `Partial<TxData>` | - |
`logDecodeDependencies?` | undefined \| object | - |
`deployedBytecode` | string \| undefined | ZRXTokenContract.deployedBytecode |
**Returns:** *[ZRXTokenContract](#class-zrxtokencontract)*
## Properties
#### abi
• **abi**: *[ContractAbi](#contractabi)*
Defined in base-contract/lib/src/index.d.ts:27
___
### address
• **address**: *string*
Defined in base-contract/lib/src/index.d.ts:28
___
Args
• **constructorArgs**: *any[]*
Defined in base-contract/lib/src/index.d.ts:30
___
### contractName
• **contractName**: *string*
Defined in base-contract/lib/src/index.d.ts:29
___
### `Static` deployedBytecode
▪ **deployedBytecode**: *string* = "0x606060405236156100965763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610098578063095ea7b31461014657806318160ddd1461018657806323b872dd146101a8578063313ce567146101ee57806370a082311461021457806395d89b411461024f578063a9059cbb146102fd578063dd62ed3e1461033d575bfe5b34156100a057fe5b6100a861037e565b60408051602080825283518183015283519192839290830191850190808383821561010c575b80518252602083111561010c577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016100ce565b505050905090810190601f1680156101385780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561014e57fe5b61017273ffffffffffffffffffffffffffffffffffffffff600435166024356103b5565b604080519115158252519081900360200190f35b341561018e57fe5b61019661042d565b60408051918252519081900360200190f35b34156101b057fe5b61017273ffffffffffffffffffffffffffffffffffffffff60043581169060243516604435610433565b604080519115158252519081900360200190f35b34156101f657fe5b6101fe6105d4565b6040805160ff9092168252519081900360200190f35b341561021c57fe5b61019673ffffffffffffffffffffffffffffffffffffffff600435166105d9565b60408051918252519081900360200190f35b341561025757fe5b6100a8610605565b60408051602080825283518183015283519192839290830191850190808383821561010c575b80518252602083111561010c577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016100ce565b505050905090810190601f1680156101385780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561030557fe5b61017273ffffffffffffffffffffffffffffffffffffffff6004351660243561063c565b604080519115158252519081900360200190f35b341561034557fe5b61019673ffffffffffffffffffffffffffffffffffffffff60043581169060243516610727565b60408051918252519081900360200190f35b60408051808201909152601181527f30782050726f746f636f6c20546f6b656e000000000000000000000000000000602082015281565b73ffffffffffffffffffffffffffffffffffffffff338116600081815260016020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60035481565b73ffffffffffffffffffffffffffffffffffffffff808416600081815260016020908152604080832033909516835293815283822054928252819052918220548390108015906104835750828110155b80156104b6575073ffffffffffffffffffffffffffffffffffffffff841660009081526020819052604090205483810110155b156105c65773ffffffffffffffffffffffffffffffffffffffff808516600090815260208190526040808220805487019055918716815220805484900390557fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8110156105585773ffffffffffffffffffffffffffffffffffffffff808616600090815260016020908152604080832033909416835292905220805484900390555b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a3600191506105cb565b600091505b5b509392505050565b601281565b73ffffffffffffffffffffffffffffffffffffffff81166000908152602081905260409020545b919050565b60408051808201909152600381527f5a52580000000000000000000000000000000000000000000000000000000000602082015281565b73ffffffffffffffffffffffffffffffffffffffff3316600090815260208190526040812054829010801590610699575073ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205482810110155b156107185773ffffffffffffffffffffffffffffffffffffffff33811660008181526020818152604080832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3506001610427565b506000610427565b5b92915050565b73ffffffffffffffffffffffffffffffffffffffff8083166000908152600160209081526040808320938516835292905220545b929150505600a165627a7a72305820d984298155c708a8164f1cbf83c7275bcc6851dd082c0404013c1f4463b238fa0029"
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:51](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L51)*
## Methods
### evmExecAsync
▸ **evmExecAsync**(`input`: `Buffer`): *`Promise<string>`*
Defined in base-contract/lib/src/index.d.ts:42
**Parameters:**
Name | Type |
------ | ------ |
`input` | `Buffer` |
**Returns:** *`Promise<string>`*
___
### getLogsAsync
▸ **getLogsAsync**<**ArgsType**>(`eventName`: [ZRXTokenEvents](#enumeration-zrxtokenevents), `blockRange`: `BlockRange`, `indexFilterValues`: `IndexedFilterValues`): *`Promise<Array<LogWithDecodedArgs<ArgsType>>>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:1496](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L1496)*
Gets historical logs without creating a subscription
**Type parameters:**
▪ **ArgsType**: *[ZRXTokenEventArgs](#zrxtokeneventargs)*
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`eventName` | [ZRXTokenEvents](#enumeration-zrxtokenevents) | The ZRXToken contract event you would like to subscribe to. |
`blockRange` | `BlockRange` | Block range to get logs from. |
`indexFilterValues` | `IndexedFilterValues` | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{_from: aUserAddressHex}` |
**Returns:** *`Promise<Array<LogWithDecodedArgs<ArgsType>>>`*
Array of logs that match the parameters
___
### subscribe
▸ **subscribe**<**ArgsType**>(`eventName`: [ZRXTokenEvents](#enumeration-zrxtokenevents), `indexFilterValues`: `IndexedFilterValues`, `callback`: [EventCallback](#eventcallback)*`ArgsType`*, `isVerbose`: boolean, `blockPollingIntervalMs?`: undefined | number): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:1454](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L1454)*
Subscribe to an event type emitted by the ZRXToken contract.
**Type parameters:**
▪ **ArgsType**: *[ZRXTokenEventArgs](#zrxtokeneventargs)*
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`eventName` | [ZRXTokenEvents](#enumeration-zrxtokenevents) | - | The ZRXToken contract event you would like to subscribe to. |
`indexFilterValues` | `IndexedFilterValues` | - | An object where the keys are indexed args returned by the event and the value is the value you are interested in. E.g `{maker: aUserAddressHex}` |
`callback` | [EventCallback](#eventcallback)*`ArgsType`* | - | Callback that gets called when a log is added/removed |
`isVerbose` | boolean | false | Enable verbose subscription warnings (e.g recoverable network issues encountered) |
`blockPollingIntervalMs?` | undefined \| number | - | - |
**Returns:** *string*
Subscription token used later to unsubscribe
___
### unsubscribe
▸ **unsubscribe**(`subscriptionToken`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:1479](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L1479)*
Cancel a subscription
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`subscriptionToken` | string | Subscription token returned by `subscribe()` |
**Returns:** *void*
___
### unsubscribeAll
▸ **unsubscribeAll**(): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:1485](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L1485)*
Cancels all existing subscriptions
**Returns:** *void*
___
### `Static` ABI
▸ **ABI**(): *[ContractAbi](#contractabi)*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:1226](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L1226)*
**Returns:** *[ContractAbi](#contractabi)*
The contract ABI
___
### `Static` deployAsync
▸ **deployAsync**(`bytecode`: string, `abi`: [ContractAbi](#contractabi), `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults`: `Partial<TxData>`, `logDecodeDependencies`: object): *`Promise<ZRXTokenContract>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:1184](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L1184)*
**Parameters:**
Name | Type |
------ | ------ |
`bytecode` | string |
`abi` | [ContractAbi](#contractabi) |
`supportedProvider` | [SupportedProvider](#supportedprovider) |
`txDefaults` | `Partial<TxData>` |
`logDecodeDependencies` | object |
**Returns:** *`Promise<ZRXTokenContract>`*
___
### `Static` deployFrom0xArtifactAsync
▸ **deployFrom0xArtifactAsync**(`artifact`: `ContractArtifact` | `SimpleContractArtifact`, `supportedProvider`: [SupportedProvider](#supportedprovider), `txDefaults`: `Partial<TxData>`, `logDecodeDependencies`: object): *`Promise<ZRXTokenContract>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:1159](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L1159)*
**Parameters:**
Name | Type |
------ | ------ |
`artifact` | `ContractArtifact` \| `SimpleContractArtifact` |
`supportedProvider` | [SupportedProvider](#supportedprovider) |
`txDefaults` | `Partial<TxData>` |
`logDecodeDependencies` | object |
**Returns:** *`Promise<ZRXTokenContract>`*
___
### `Static` strictArgumentEncodingCheck
▸ **strictArgumentEncodingCheck**(`inputAbi`: `DataItem`[], `args`: any[]): *string*
Defined in base-contract/lib/src/index.d.ts:41
**Parameters:**
Name | Type |
------ | ------ |
`inputAbi` | `DataItem`[] |
`args` | any[] |
**Returns:** *string*
## Object literals
### allowance
#### ▪ **allowance**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:1065](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L1065)*
#### callAsync
▸ **callAsync**(`_owner`: string, `_spender`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<BigNumber>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:1071](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L1071)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`_owner` | string | - |
`_spender` | string | - |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<BigNumber>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:1150](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L1150)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`BigNumber`*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:1138](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L1138)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`_owner`: string, `_spender`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:1123](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L1123)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type |
------ | ------ |
`_owner` | string |
`_spender` | string |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### approve
#### ▪ **approve**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:131](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L131)*
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:172](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L172)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_spender` | string | - |
`_value` | `BigNumber` | - |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`_spender`: string, `_value`: `BigNumber`, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<boolean>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:241](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L241)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`_spender` | string | - |
`_value` | `BigNumber` | - |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<boolean>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:200](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L200)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_spender` | string | - |
`_value` | `BigNumber` | - |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *boolean*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:320](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L320)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *boolean*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:308](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L308)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`_spender`: string, `_value`: `BigNumber`): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:293](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L293)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type |
------ | ------ |
`_spender` | string |
`_value` | `BigNumber` |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:138](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L138)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_spender` | string | - |
`_value` | `BigNumber` | - |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`_spender`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:227](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L227)*
**Parameters:**
Name | Type |
------ | ------ |
`_spender` | string |
`_value` | `BigNumber` |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### balanceOf
#### ▪ **balanceOf**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:719](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L719)*
#### callAsync
▸ **callAsync**(`_owner`: string, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<BigNumber>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:725](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L725)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`_owner` | string | - |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<BigNumber>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:795](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L795)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`BigNumber`*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:783](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L783)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`_owner`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:772](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L772)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type |
------ | ------ |
`_owner` | string |
**Returns:** *string*
The ABI encoded transaction data as a string
___
### decimals
#### ▪ **decimals**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:641](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L641)*
#### callAsync
▸ **callAsync**(`callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:647](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L647)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<number>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *number*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:711](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L711)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *number*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:699](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L699)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *void*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:689](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L689)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Returns:** *string*
The ABI encoded transaction data as a string
___
### name
#### ▪ **name**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:53](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L53)*
#### callAsync
▸ **callAsync**(`callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:59](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L59)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<string>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:123](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L123)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *string*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:111](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L111)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *void*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:101](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L101)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Returns:** *string*
The ABI encoded transaction data as a string
___
### symbol
#### ▪ **symbol**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:803](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L803)*
#### callAsync
▸ **callAsync**(`callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:809](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L809)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<string>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:873](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L873)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *string*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:861](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L861)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *void*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:851](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L851)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Returns:** *string*
The ABI encoded transaction data as a string
___
### totalSupply
#### ▪ **totalSupply**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:328](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L328)*
#### callAsync
▸ **callAsync**(`callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<BigNumber>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:334](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L334)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<BigNumber>`*
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:398](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L398)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *`BigNumber`*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *void*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:386](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L386)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *void*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:376](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L376)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Returns:** *string*
The ABI encoded transaction data as a string
___
### transfer
#### ▪ **transfer**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:881](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L881)*
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:919](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L919)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_to` | string | - |
`_value` | `BigNumber` | - |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`_to`: string, `_value`: `BigNumber`, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<boolean>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:981](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L981)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default |
------ | ------ | ------ |
`_to` | string | - |
`_value` | `BigNumber` | - |
`callData` | `Partial<CallData>` | {} |
`defaultBlock?` | [BlockParam](#blockparam) | - |
**Returns:** *`Promise<boolean>`*
#### estimateGasAsync
▸ **estimateGasAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:947](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L947)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_to` | string | - |
`_value` | `BigNumber` | - |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *boolean*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:1057](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L1057)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *boolean*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:1045](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L1045)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`_to`: string, `_value`: `BigNumber`): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:1030](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L1030)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type |
------ | ------ |
`_to` | string |
`_value` | `BigNumber` |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:888](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L888)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_to` | string | - |
`_value` | `BigNumber` | - |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`_to`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:967](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L967)*
**Parameters:**
Name | Type |
------ | ------ |
`_to` | string |
`_value` | `BigNumber` |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
___
### transferFrom
#### ▪ **transferFrom**: *object*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:409](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L409)*
ERC20 transferFrom, modified such that an allowance of MAX_UINT represents an unlimited allowance.
#### awaitTransactionSuccessAsync
▸ **awaitTransactionSuccessAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>`, `pollingIntervalMs?`: undefined | number, `timeoutMs?`: undefined | number): *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:459](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L459)*
Sends an Ethereum transaction and waits until the transaction has been successfully mined without reverting.
If the transaction was mined, but reverted, an error is thrown.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_from` | string | Address to transfer from. |
`_to` | string | Address to transfer to. |
`_value` | `BigNumber` | Amount to transfer. |
`txData?` | `Partial<TxData>` | Additional data for transaction |
`pollingIntervalMs?` | undefined \| number | Interval at which to poll for success |
`timeoutMs?` | undefined \| number | - |
**Returns:** *`PromiseWithTransactionHash<TransactionReceiptWithDecodedLogs>`*
A promise that resolves when the transaction is successful
#### callAsync
▸ **callAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `callData`: `Partial<CallData>`, `defaultBlock?`: [BlockParam](#blockparam)): *`Promise<boolean>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:546](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L546)*
Sends a read-only call to the contract method. Returns the result that would happen if one were to send an
Ethereum transaction to this method, given the current state of the blockchain. Calls do not cost gas
since they don't modify state.
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`_from` | string | - | Address to transfer from. |
`_to` | string | - | Address to transfer to. |
`_value` | `BigNumber` | - | Amount to transfer. |
`callData` | `Partial<CallData>` | {} | - |
`defaultBlock?` | [BlockParam](#blockparam) | - | - |
**Returns:** *`Promise<boolean>`*
Success of transfer.
#### estimateGasAsync
▸ **estimateGasAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<number>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:497](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L497)*
Estimates the gas cost of sending an Ethereum transaction calling this method with these arguments.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_from` | string | Address to transfer from. |
`_to` | string | Address to transfer to. |
`_value` | `BigNumber` | Amount to transfer. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<number>`*
The hash of the transaction
#### getABIDecodedReturnData
▸ **getABIDecodedReturnData**(`returnData`: string): *boolean*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:633](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L633)*
Decode the ABI-encoded return data from a transaction
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`returnData` | string | the data returned after transaction execution |
**Returns:** *boolean*
An array representing the output results in order. Keynames of nested structs are preserved.
#### getABIDecodedTransactionData
▸ **getABIDecodedTransactionData**(`callData`: string): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:621](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L621)*
Decode the ABI-encoded transaction data into its input arguments
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callData` | string | The ABI-encoded transaction data |
**Returns:** *string*
An array representing the input arguments in order. Keynames of nested structs are preserved.
#### getABIEncodedTransactionData
▸ **getABIEncodedTransactionData**(`_from`: string, `_to`: string, `_value`: `BigNumber`): *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:604](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L604)*
Returns the ABI encoded transaction data needed to send an Ethereum transaction calling this method. Before
sending the Ethereum tx, this encoded tx data can first be sent to a separate signing service or can be used
to create a 0x transaction (see protocol spec for more details).
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_from` | string | Address to transfer from. |
`_to` | string | Address to transfer to. |
`_value` | `BigNumber` | Amount to transfer. |
**Returns:** *string*
The ABI encoded transaction data as a string
#### sendTransactionAsync
▸ **sendTransactionAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:419](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L419)*
Sends an Ethereum transaction executing this method with the supplied parameters. This is a read/write
Ethereum operation and will cost gas.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`_from` | string | Address to transfer from. |
`_to` | string | Address to transfer to. |
`_value` | `BigNumber` | Amount to transfer. |
`txData?` | `Partial<TxData>` \| undefined | Additional data for transaction |
**Returns:** *`Promise<string>`*
The hash of the transaction
#### validateAndSendTransactionAsync
▸ **validateAndSendTransactionAsync**(`_from`: string, `_to`: string, `_value`: `BigNumber`, `txData?`: `Partial<TxData>` | undefined): *`Promise<string>`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:527](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L527)*
**Parameters:**
Name | Type |
------ | ------ |
`_from` | string |
`_to` | string |
`_value` | `BigNumber` |
`txData?` | `Partial<TxData>` \| undefined |
**Returns:** *`Promise<string>`*
<hr />
# Class: MetamaskSubprovider
This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine)
subprovider interface and the provider sendAsync interface.
It handles inconsistencies with Metamask implementations of various JSON RPC methods.
It forwards JSON RPC requests involving the domain of a signer (getAccounts,
sendTransaction, signMessage etc...) to the provider instance supplied at instantiation. All other requests
are passed onwards for subsequent subproviders to handle.
## Constructors
\+ **new MetamaskSubprovider**(`supportedProvider`: [SupportedProvider](#supportedprovider)): *[MetamaskSubprovider](#class-metamasksubprovider)*
*Defined in [subproviders/src/subproviders/metamask_subprovider.ts:19](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/subproviders/metamask_subprovider.ts#L19)*
Instantiates a new MetamaskSubprovider
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`supportedProvider` | [SupportedProvider](#supportedprovider) | Web3 provider that should handle all user account related requests |
**Returns:** *[MetamaskSubprovider](#class-metamasksubprovider)*
## Methods
#### emitPayloadAsync
▸ **emitPayloadAsync**(`payload`: `Partial<JSONRPCRequestPayloadWithMethod>`): *`Promise<JSONRPCResponsePayload>`*
*Defined in [subproviders/src/subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/subproviders/subprovider.ts#L55)*
Emits a JSON RPC payload that will then be handled by the ProviderEngine instance
this subprovider is a part of. The payload will cascade down the subprovider middleware
stack until finding the responsible entity for handling the request.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`payload` | `Partial<JSONRPCRequestPayloadWithMethod>` | JSON RPC payload |
**Returns:** *`Promise<JSONRPCResponsePayload>`*
JSON RPC response payload
___
### handleRequest
▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `next`: [Callback](#callback), `end`: [ErrorCallback](#errorcallback)): *`Promise<void>`*
*Overrides void*
*Defined in [subproviders/src/subproviders/metamask_subprovider.ts:39](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/subproviders/metamask_subprovider.ts#L39)*
This method conforms to the web3-provider-engine interface.
It is called internally by the ProviderEngine when it is this subproviders
turn to handle a JSON RPC request.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`payload` | `JSONRPCRequestPayload` | JSON RPC payload |
`next` | [Callback](#callback) | Callback to call if this subprovider decides not to handle the request |
`end` | [ErrorCallback](#errorcallback) | Callback to call if subprovider handled the request and wants to pass back the request. |
**Returns:** *`Promise<void>`*
___
### sendAsync
▸ **sendAsync**(`payload`: `JSONRPCRequestPayload`, `callback`: [ErrorCallback](#errorcallback)): *void*
*Defined in [subproviders/src/subproviders/metamask_subprovider.ts:117](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/subproviders/metamask_subprovider.ts#L117)*
This method conforms to the provider sendAsync interface.
Allowing the MetamaskSubprovider to be used as a generic provider (outside of Web3ProviderEngine) with the
addition of wrapping the inconsistent Metamask behaviour
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`payload` | `JSONRPCRequestPayload` | JSON RPC payload |
`callback` | [ErrorCallback](#errorcallback) | - |
**Returns:** *void*
The contents nested under the result key of the response body
___
### setEngine
▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void*
*Defined in [subproviders/src/subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/subproviders/subprovider.ts#L68)*
Set's the subprovider's engine to the ProviderEngine it is added to.
This is only called within the ProviderEngine source code, do not call
directly.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`engine` | `Web3ProviderEngine` | The ProviderEngine this subprovider is added to |
**Returns:** *void*
<hr />
# Class: RPCSubprovider
This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface.
It forwards on JSON RPC requests to the supplied `rpcUrl` endpoint
## Constructors
\+ **new RPCSubprovider**(`rpcUrl`: string, `requestTimeoutMs`: number): *[RPCSubprovider](#class-rpcsubprovider)*
*Defined in [subproviders/src/subproviders/rpc_subprovider.ts:17](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/subproviders/rpc_subprovider.ts#L17)*
**Parameters:**
Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`rpcUrl` | string | - | URL to the backing Ethereum node to which JSON RPC requests should be sent |
`requestTimeoutMs` | number | 20000 | Amount of miliseconds to wait before timing out the JSON RPC request |
**Returns:** *[RPCSubprovider](#class-rpcsubprovider)*
## Methods
### emitPayloadAsync
▸ **emitPayloadAsync**(`payload`: `Partial<JSONRPCRequestPayloadWithMethod>`): *`Promise<JSONRPCResponsePayload>`*
*Defined in [subproviders/src/subproviders/subprovider.ts:55](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/subproviders/subprovider.ts#L55)*
Emits a JSON RPC payload that will then be handled by the ProviderEngine instance
this subprovider is a part of. The payload will cascade down the subprovider middleware
stack until finding the responsible entity for handling the request.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`payload` | `Partial<JSONRPCRequestPayloadWithMethod>` | JSON RPC payload |
**Returns:** *`Promise<JSONRPCResponsePayload>`*
JSON RPC response payload
___
### handleRequest
▸ **handleRequest**(`payload`: `JSONRPCRequestPayload`, `_next`: [Callback](#callback), `end`: [ErrorCallback](#errorcallback)): *`Promise<void>`*
*Overrides void*
*Defined in [subproviders/src/subproviders/rpc_subprovider.ts:38](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/subproviders/rpc_subprovider.ts#L38)*
This method conforms to the web3-provider-engine interface.
It is called internally by the ProviderEngine when it is this subproviders
turn to handle a JSON RPC request.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`payload` | `JSONRPCRequestPayload` | JSON RPC payload |
`_next` | [Callback](#callback) | Callback to call if this subprovider decides not to handle the request |
`end` | [ErrorCallback](#errorcallback) | Callback to call if subprovider handled the request and wants to pass back the request. |
**Returns:** *`Promise<void>`*
___
### setEngine
▸ **setEngine**(`engine`: `Web3ProviderEngine`): *void*
*Defined in [subproviders/src/subproviders/subprovider.ts:68](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/subproviders/subprovider.ts#L68)*
Set's the subprovider's engine to the ProviderEngine it is added to.
This is only called within the ProviderEngine source code, do not call
directly.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`engine` | `Web3ProviderEngine` | The ProviderEngine this subprovider is added to |
**Returns:** *void*
<hr />
# Enumeration: ERC20TokenEvents
## Enumeration members
### Approval
• **Approval**: = "Approval"
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:32](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L32)*
___
### Transfer
• **Transfer**: = "Transfer"
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:31](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L31)*
<hr />
# Enumeration: ERC721TokenEvents
## Enumeration members
### Approval
• **Approval**: = "Approval"
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:34](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L34)*
___
### ApprovalForAll
• **ApprovalForAll**: = "ApprovalForAll"
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:35](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L35)*
___
### Transfer
• **Transfer**: = "Transfer"
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:36](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L36)*
<hr />
# Enumeration: ExchangeEvents
## Enumeration members
### AssetProxyRegistered
• **AssetProxyRegistered**: = "AssetProxyRegistered"
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:39](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L39)*
___
### Cancel
• **Cancel**: = "Cancel"
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:40](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L40)*
___
### CancelUpTo
• **CancelUpTo**: = "CancelUpTo"
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:41](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L41)*
___
### Fill
• **Fill**: = "Fill"
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:42](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L42)*
___
### ProtocolFeeCollectorAddress
• **ProtocolFeeCollectorAddress**: = "ProtocolFeeCollectorAddress"
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:43](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L43)*
___
### ProtocolFeeMultiplier
• **ProtocolFeeMultiplier**: = "ProtocolFeeMultiplier"
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:44](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L44)*
___
### SignatureValidatorApproval
• **SignatureValidatorApproval**: = "SignatureValidatorApproval"
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:45](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L45)*
___
### TransactionExecution
• **TransactionExecution**: = "TransactionExecution"
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:46](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L46)*
<hr />
# Enumeration: WETH9Events
## Enumeration members
### Approval
• **Approval**: = "Approval"
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:35](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L35)*
___
### Deposit
• **Deposit**: = "Deposit"
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:37](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L37)*
___
### Transfer
• **Transfer**: = "Transfer"
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:36](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L36)*
___
### Withdrawal
• **Withdrawal**: = "Withdrawal"
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:38](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L38)*
<hr />
# Enumeration: ZRXTokenEvents
## Enumeration members
### Approval
• **Approval**: = "Approval"
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:32](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L32)*
___
### Transfer
• **Transfer**: = "Transfer"
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:31](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L31)*
<hr />
# Enumeration: NetworkId
## Enumeration members
### Ganache
• **Ganache**: = 50
*Defined in [contract-addresses/src/index.ts:26](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L26)*
___
### Kovan
• **Kovan**: = 42
*Defined in [contract-addresses/src/index.ts:25](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L25)*
___
### Mainnet
• **Mainnet**: = 1
*Defined in [contract-addresses/src/index.ts:22](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L22)*
___
### Rinkeby
• **Rinkeby**: = 4
*Defined in [contract-addresses/src/index.ts:24](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L24)*
___
### Ropsten
• **Ropsten**: = 3
*Defined in [contract-addresses/src/index.ts:23](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L23)*
<hr />
# Enumeration: BlockParamLiteral
## Enumeration members
### Earliest
• **Earliest**: = "earliest"
*Defined in [ethereum-types/src/index.ts:478](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L478)*
___
### Latest
• **Latest**: = "latest"
*Defined in [ethereum-types/src/index.ts:479](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L479)*
___
### Pending
• **Pending**: = "pending"
*Defined in [ethereum-types/src/index.ts:480](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L480)*
<hr />
# Enumeration: AssetProxyId
## Enumeration members
### ERC1155
• **ERC1155**: = "0xa7cb5fb7"
*Defined in [types/src/index.ts:166](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L166)*
___
### ERC20
• **ERC20**: = "0xf47261b0"
*Defined in [types/src/index.ts:163](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L163)*
___
### ERC20Bridge
• **ERC20Bridge**: = "0xdc1600f3"
*Defined in [types/src/index.ts:168](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L168)*
___
### ERC721
• **ERC721**: = "0x02571792"
*Defined in [types/src/index.ts:164](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L164)*
___
### MultiAsset
• **MultiAsset**: = "0x94cfcdd7"
*Defined in [types/src/index.ts:165](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L165)*
___
### StaticCall
• **StaticCall**: = "0xc339d10a"
*Defined in [types/src/index.ts:167](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L167)*
<hr />
# Enumeration: SignatureType
## Enumeration members
### EIP1271Wallet
• **EIP1271Wallet**:
*Defined in [types/src/index.ts:158](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L158)*
___
### EIP712
• **EIP712**:
*Defined in [types/src/index.ts:153](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L153)*
___
### EthSign
• **EthSign**:
*Defined in [types/src/index.ts:154](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L154)*
___
### Illegal
• **Illegal**:
*Defined in [types/src/index.ts:151](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L151)*
___
### Invalid
• **Invalid**:
*Defined in [types/src/index.ts:152](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L152)*
___
### NSignatureTypes
• **NSignatureTypes**:
*Defined in [types/src/index.ts:159](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L159)*
___
### PreSigned
• **PreSigned**:
*Defined in [types/src/index.ts:157](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L157)*
___
### Validator
• **Validator**:
*Defined in [types/src/index.ts:156](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L156)*
___
### Wallet
• **Wallet**:
*Defined in [types/src/index.ts:155](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L155)*
<hr />
# Interface: ERC20TokenApprovalEventArgs
## Index
### Properties
* [_owner](#_owner)
* [_spender](#_spender)
* [_value](#_value)
## Properties
### _owner
• **_owner**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:42](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L42)*
___
### _spender
• **_spender**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:43](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L43)*
___
### _value
• **_value**: *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:44](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L44)*
<hr />
# Interface: ERC20TokenTransferEventArgs
## Index
### Properties
* [_from](#_from)
* [_to](#_to)
* [_value](#_value)
## Properties
### _from
• **_from**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:36](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L36)*
___
### _to
• **_to**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:37](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L37)*
___
### _value
• **_value**: *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:38](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L38)*
<hr />
# Interface: ERC721TokenApprovalEventArgs
## Index
### Properties
* [_approved](#_approved)
* [_owner](#_owner)
* [_tokenId](#_tokenid)
## Properties
### _approved
• **_approved**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:41](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L41)*
___
### _owner
• **_owner**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:40](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L40)*
___
### _tokenId
• **_tokenId**: *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:42](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L42)*
<hr />
# Interface: ERC721TokenApprovalForAllEventArgs
## Index
### Properties
* [_approved](#_approved)
* [_operator](#_operator)
* [_owner](#_owner)
## Properties
### _approved
• **_approved**: *boolean*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:48](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L48)*
___
### _operator
• **_operator**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:47](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L47)*
___
### _owner
• **_owner**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:46](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L46)*
<hr />
# Interface: ERC721TokenTransferEventArgs
## Index
### Properties
* [_from](#_from)
* [_to](#_to)
* [_tokenId](#_tokenid)
## Properties
### _from
• **_from**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:52](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L52)*
___
### _to
• **_to**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:53](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L53)*
___
### _tokenId
• **_tokenId**: *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:54](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L54)*
<hr />
# Interface: ExchangeAssetProxyRegisteredEventArgs
## Index
### Properties
* [assetProxy](#assetproxy)
* [id](#id)
## Properties
### assetProxy
• **assetProxy**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:51](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L51)*
___
### id
• **id**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:50](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L50)*
<hr />
# Interface: ExchangeCancelEventArgs
## Index
### Properties
* [feeRecipientAddress](#feerecipientaddress)
* [makerAddress](#makeraddress)
* [makerAssetData](#makerassetdata)
* [orderHash](#orderhash)
* [senderAddress](#senderaddress)
* [takerAssetData](#takerassetdata)
## Properties
### feeRecipientAddress
• **feeRecipientAddress**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:56](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L56)*
___
### makerAddress
• **makerAddress**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:55](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L55)*
___
### makerAssetData
• **makerAssetData**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:57](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L57)*
___
### orderHash
• **orderHash**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:60](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L60)*
___
### senderAddress
• **senderAddress**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:59](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L59)*
___
### takerAssetData
• **takerAssetData**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:58](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L58)*
<hr />
# Interface: ExchangeCancelUpToEventArgs
## Index
### Properties
* [makerAddress](#makeraddress)
* [orderEpoch](#orderepoch)
* [orderSenderAddress](#ordersenderaddress)
## Properties
### makerAddress
• **makerAddress**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:64](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L64)*
___
### orderEpoch
• **orderEpoch**: *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:66](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L66)*
___
### orderSenderAddress
• **orderSenderAddress**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:65](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L65)*
<hr />
# Interface: ExchangeFillEventArgs
## Index
### Properties
* [feeRecipientAddress](#feerecipientaddress)
* [makerAddress](#makeraddress)
* [makerAssetData](#makerassetdata)
* [makerAssetFilledAmount](#makerassetfilledamount)
* [makerFeeAssetData](#makerfeeassetdata)
* [makerFeePaid](#makerfeepaid)
* [orderHash](#orderhash)
* [protocolFeePaid](#protocolfeepaid)
* [senderAddress](#senderaddress)
* [takerAddress](#takeraddress)
* [takerAssetData](#takerassetdata)
* [takerAssetFilledAmount](#takerassetfilledamount)
* [takerFeeAssetData](#takerfeeassetdata)
* [takerFeePaid](#takerfeepaid)
## Properties
### feeRecipientAddress
• **feeRecipientAddress**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:71](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L71)*
___
### makerAddress
• **makerAddress**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:70](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L70)*
___
### makerAssetData
• **makerAssetData**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:72](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L72)*
___
### makerAssetFilledAmount
• **makerAssetFilledAmount**: *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:79](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L79)*
___
### makerFeeAssetData
• **makerFeeAssetData**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:74](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L74)*
___
### makerFeePaid
• **makerFeePaid**: *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:81](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L81)*
___
### orderHash
• **orderHash**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:76](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L76)*
___
### protocolFeePaid
• **protocolFeePaid**: *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:83](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L83)*
___
### senderAddress
• **senderAddress**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:78](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L78)*
___
### takerAddress
• **takerAddress**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:77](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L77)*
___
### takerAssetData
• **takerAssetData**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:73](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L73)*
___
### takerAssetFilledAmount
• **takerAssetFilledAmount**: *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:80](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L80)*
___
### takerFeeAssetData
• **takerFeeAssetData**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:75](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L75)*
___
### takerFeePaid
• **takerFeePaid**: *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:82](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L82)*
<hr />
# Interface: ExchangeProtocolFeeCollectorAddressEventArgs
## Index
### Properties
* [oldProtocolFeeCollector](#oldprotocolfeecollector)
* [updatedProtocolFeeCollector](#updatedprotocolfeecollector)
## Properties
### oldProtocolFeeCollector
• **oldProtocolFeeCollector**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:87](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L87)*
___
### updatedProtocolFeeCollector
• **updatedProtocolFeeCollector**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:88](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L88)*
<hr />
# Interface: ExchangeProtocolFeeMultiplierEventArgs
## Index
### Properties
* [oldProtocolFeeMultiplier](#oldprotocolfeemultiplier)
* [updatedProtocolFeeMultiplier](#updatedprotocolfeemultiplier)
## Properties
### oldProtocolFeeMultiplier
• **oldProtocolFeeMultiplier**: *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:92](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L92)*
___
### updatedProtocolFeeMultiplier
• **updatedProtocolFeeMultiplier**: *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:93](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L93)*
<hr />
# Interface: ExchangeSignatureValidatorApprovalEventArgs
## Index
### Properties
* [isApproved](#isapproved)
* [signerAddress](#signeraddress)
* [validatorAddress](#validatoraddress)
## Properties
### isApproved
• **isApproved**: *boolean*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:99](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L99)*
___
### signerAddress
• **signerAddress**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:97](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L97)*
___
### validatorAddress
• **validatorAddress**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:98](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L98)*
<hr />
# Interface: ExchangeTransactionExecutionEventArgs
## Index
### Properties
* [transactionHash](#transactionhash)
## Properties
### transactionHash
• **transactionHash**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:103](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L103)*
<hr />
# Interface: WETH9ApprovalEventArgs
## Index
### Properties
* [_owner](#_owner)
* [_spender](#_spender)
* [_value](#_value)
## Properties
### _owner
• **_owner**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:42](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L42)*
___
### _spender
• **_spender**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:43](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L43)*
___
### _value
• **_value**: *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:44](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L44)*
<hr />
# Interface: WETH9DepositEventArgs
## Index
### Properties
* [_owner](#_owner)
* [_value](#_value)
## Properties
### _owner
• **_owner**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:54](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L54)*
___
### _value
• **_value**: *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:55](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L55)*
<hr />
# Interface: WETH9TransferEventArgs
## Index
### Properties
* [_from](#_from)
* [_to](#_to)
* [_value](#_value)
## Properties
### _from
• **_from**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:48](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L48)*
___
### _to
• **_to**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:49](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L49)*
___
### _value
• **_value**: *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:50](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L50)*
<hr />
# Interface: WETH9WithdrawalEventArgs
## Index
### Properties
* [_owner](#_owner)
* [_value](#_value)
## Properties
### _owner
• **_owner**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:59](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L59)*
___
### _value
• **_value**: *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:60](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L60)*
<hr />
# Interface: ZRXTokenApprovalEventArgs
## Index
### Properties
* [_owner](#_owner)
* [_spender](#_spender)
* [_value](#_value)
## Properties
### _owner
• **_owner**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:42](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L42)*
___
### _spender
• **_spender**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:43](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L43)*
___
### _value
• **_value**: *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:44](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L44)*
<hr />
# Interface: ZRXTokenTransferEventArgs
## Index
### Properties
* [_from](#_from)
* [_to](#_to)
* [_value](#_value)
## Properties
### _from
• **_from**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:36](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L36)*
___
### _to
• **_to**: *string*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:37](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L37)*
___
### _value
• **_value**: *`BigNumber`*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:38](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L38)*
<hr />
# Interface: ContractAddresses
## Properties
### assetProxyOwner
• **assetProxyOwner**: *string*
*Defined in [contract-addresses/src/index.ts:9](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L9)*
___
### coordinator
• **coordinator**: *string*
*Defined in [contract-addresses/src/index.ts:14](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L14)*
___
### coordinatorRegistry
• **coordinatorRegistry**: *string*
*Defined in [contract-addresses/src/index.ts:13](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L13)*
___
### devUtils
• **devUtils**: *string*
*Defined in [contract-addresses/src/index.ts:18](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L18)*
___
### dutchAuction
• **dutchAuction**: *string*
*Defined in [contract-addresses/src/index.ts:12](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L12)*
___
### erc1155Proxy
• **erc1155Proxy**: *string*
*Defined in [contract-addresses/src/index.ts:17](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L17)*
___
### erc20Proxy
• **erc20Proxy**: *string*
*Defined in [contract-addresses/src/index.ts:4](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L4)*
___
### erc721Proxy
• **erc721Proxy**: *string*
*Defined in [contract-addresses/src/index.ts:5](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L5)*
___
### etherToken
• **etherToken**: *string*
*Defined in [contract-addresses/src/index.ts:7](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L7)*
___
### exchange
• **exchange**: *string*
*Defined in [contract-addresses/src/index.ts:8](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L8)*
___
### forwarder
• **forwarder**: *string*
*Defined in [contract-addresses/src/index.ts:10](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L10)*
___
### multiAssetProxy
• **multiAssetProxy**: *string*
*Defined in [contract-addresses/src/index.ts:15](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L15)*
___
### orderValidator
• **orderValidator**: *string*
*Defined in [contract-addresses/src/index.ts:11](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L11)*
___
### staticCallProxy
• **staticCallProxy**: *string*
*Defined in [contract-addresses/src/index.ts:16](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L16)*
___
### zrxToken
• **zrxToken**: *string*
*Defined in [contract-addresses/src/index.ts:6](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L6)*
<hr />
# Interface: BlockRange
## Properties
### fromBlock
• **fromBlock**: *[BlockParam](#blockparam)*
*Defined in [ethereum-types/src/index.ts:740](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L740)*
___
### toBlock
• **toBlock**: *[BlockParam](#blockparam)*
*Defined in [ethereum-types/src/index.ts:741](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L741)*
<hr />
# Interface: CallData
## Properties
### `Optional` data
• **data**? : *undefined | string*
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[data](#optional-data)*
*Defined in [ethereum-types/src/index.ts:393](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L393)*
___
### `Optional` from
• **from**? : *undefined | string*
*Defined in [ethereum-types/src/index.ts:402](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L402)*
___
### `Optional` gas
• **gas**? : *number | string | `BigNumber`*
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[gas](#optional-gas)*
*Defined in [ethereum-types/src/index.ts:391](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L391)*
___
### `Optional` gasPrice
• **gasPrice**? : *number | string | `BigNumber`*
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[gasPrice](#optional-gasprice)*
*Defined in [ethereum-types/src/index.ts:392](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L392)*
___
### `Optional` nonce
• **nonce**? : *undefined | number*
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[nonce](#optional-nonce)*
*Defined in [ethereum-types/src/index.ts:394](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L394)*
___
### `Optional` to
• **to**? : *undefined | string*
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[to](#optional-to)*
*Defined in [ethereum-types/src/index.ts:389](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L389)*
___
### `Optional` value
• **value**? : *number | string | `BigNumber`*
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[value](#optional-value)*
*Defined in [ethereum-types/src/index.ts:390](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L390)*
<hr />
# Interface: CompilerOpts
## Properties
### name
• **name**: *"solc"*
*Defined in [ethereum-types/src/index.ts:655](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L655)*
___
### settings
• **settings**: *[CompilerSettings](#class-compilersettings)*
*Defined in [ethereum-types/src/index.ts:657](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L657)*
___
### version
• **version**: *string*
*Defined in [ethereum-types/src/index.ts:656](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L656)*
<hr />
# Interface: CompilerSettings
## Properties
### `Optional` evmVersion
• **evmVersion**? : *"homestead" | "tangerineWhistle" | "spuriousDragon" | "byzantium" | "constantinople"*
*Defined in [ethereum-types/src/index.ts:689](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L689)*
___
### `Optional` libraries
• **libraries**? : *undefined | object*
*Defined in [ethereum-types/src/index.ts:691](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L691)*
___
### `Optional` metadata
• **metadata**? : *[CompilerSettingsMetadata](#class-compilersettingsmetadata)*
*Defined in [ethereum-types/src/index.ts:690](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L690)*
___
### `Optional` optimizer
• **optimizer**? : *[OptimizerSettings](#class-optimizersettings)*
*Defined in [ethereum-types/src/index.ts:688](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L688)*
___
### outputSelection
• **outputSelection**: *object*
*Defined in [ethereum-types/src/index.ts:696](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L696)*
#### Type declaration:
● \[▪ **fileName**: *string*\]: object
● \[▪ **contractName**: *string*\]: [OutputField](#outputfield)[]
___
### `Optional` remappings
• **remappings**? : *string[]*
*Defined in [ethereum-types/src/index.ts:687](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L687)*
<hr />
# Interface: CompilerSettingsMetadata
## Properties
### useLiteralContent
• **useLiteralContent**: *true*
*Defined in [ethereum-types/src/index.ts:704](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L704)*
<hr />
# Interface: ConstructorAbi
## Properties
### inputs
• **inputs**: *[DataItem](#class-dataitem)[]*
*Defined in [ethereum-types/src/index.ts:103](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L103)*
___
### payable
• **payable**: *boolean*
*Defined in [ethereum-types/src/index.ts:104](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L104)*
___
### stateMutability
• **stateMutability**: *[ConstructorStateMutability](#constructorstatemutability)*
*Defined in [ethereum-types/src/index.ts:105](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L105)*
___
### type
• **type**: *string*
*Defined in [ethereum-types/src/index.ts:102](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L102)*
<hr />
# Interface: ContractArtifact
This type defines the schema of the artifact.json file generated by Sol-compiler
schemaVersion: The version of the artifact schema
contractName: The contract name it represents
networks: Network specific information by network (address, id, constructor args, etc...)
compilerOutput: The Solidity compiler output generated from the specified compiler input
description (http://solidity.readthedocs.io/en/v0.4.24/using-the-compiler.html#compiler-input-and-output-json-description)
compiler: The compiler settings used
sourceCodes: The source code of the contract and all it's dependencies
sources: A mapping from source filePath to sourceMap id
sourceTreeHashHex: A unique hash generated from the contract source and that of it's dependencies.
If any of the sources change, the hash would change notifying us that a re-compilation is necessary
## Properties
### compiler
• **compiler**: *[CompilerOpts](#class-compileropts)*
*Inherited from [ContractVersionData](#interface-contractversiondata).[compiler](#compiler)*
*Defined in [ethereum-types/src/index.ts:641](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L641)*
___
### compilerOutput
• **compilerOutput**: *[StandardContractOutput](#class-standardcontractoutput)*
*Inherited from [ContractVersionData](#interface-contractversiondata).[compilerOutput](#compileroutput)*
*Defined in [ethereum-types/src/index.ts:651](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L651)*
___
### contractName
• **contractName**: *string*
*Defined in [ethereum-types/src/index.ts:675](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L675)*
___
### networks
• **networks**: *[ContractNetworks](#class-contractnetworks)*
*Defined in [ethereum-types/src/index.ts:676](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L676)*
___
### schemaVersion
• **schemaVersion**: *string*
*Defined in [ethereum-types/src/index.ts:674](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L674)*
___
### sourceCodes
• **sourceCodes**: *object*
*Inherited from [ContractVersionData](#interface-contractversiondata).[sourceCodes](#sourcecodes)*
*Defined in [ethereum-types/src/index.ts:647](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L647)*
#### Type declaration:
● \[▪ **sourceName**: *string*\]: string
___
### sourceTreeHashHex
• **sourceTreeHashHex**: *string*
*Inherited from [ContractVersionData](#interface-contractversiondata).[sourceTreeHashHex](#sourcetreehashhex)*
*Defined in [ethereum-types/src/index.ts:650](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L650)*
___
### sources
• **sources**: *object*
*Inherited from [ContractVersionData](#interface-contractversiondata).[sources](#sources)*
*Defined in [ethereum-types/src/index.ts:642](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L642)*
#### Type declaration:
● \[▪ **sourceName**: *string*\]: object
<hr />
# Interface: ContractNetworkData
## Properties
### address
• **address**: *string*
*Defined in [ethereum-types/src/index.ts:554](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L554)*
___
Args
• **constructorArgs**: *string*
*Defined in [ethereum-types/src/index.ts:558](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L558)*
___
### links
• **links**: *object*
*Defined in [ethereum-types/src/index.ts:555](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L555)*
#### Type declaration:
● \[▪ **linkName**: *string*\]: string
<hr />
# Interface: ContractNetworks
## Hierarchy
* **ContractVersionData**
* [ContractArtifact](#class-contractartifact)
## Properties
### compiler
• **compiler**: *[CompilerOpts](#class-compileropts)*
*Defined in [ethereum-types/src/index.ts:641](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L641)*
___
### compilerOutput
• **compilerOutput**: *[StandardContractOutput](#class-standardcontractoutput)*
*Defined in [ethereum-types/src/index.ts:651](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L651)*
___
### sourceCodes
• **sourceCodes**: *object*
*Defined in [ethereum-types/src/index.ts:647](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L647)*
#### Type declaration:
● \[▪ **sourceName**: *string*\]: string
___
### sourceTreeHashHex
• **sourceTreeHashHex**: *string*
*Defined in [ethereum-types/src/index.ts:650](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L650)*
___
### sources
• **sources**: *object*
*Defined in [ethereum-types/src/index.ts:642](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L642)*
#### Type declaration:
● \[▪ **sourceName**: *string*\]: object
<hr />
# Interface: DataItem
## Properties
### `Optional` components
• **components**? : *[DataItem](#class-dataitem)[]*
*Defined in [ethereum-types/src/index.ts:137](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L137)*
___
### name
• **name**: *string*
*Defined in [ethereum-types/src/index.ts:135](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L135)*
___
### type
• **type**: *string*
*Defined in [ethereum-types/src/index.ts:136](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L136)*
<hr />
# Interface: DecodedLogArgs
## Type parameters
▪ **A**
## Properties
### address
• **address**: *string*
*Inherited from [LogEntry](#interface-logentry).[address](#address)*
*Defined in [ethereum-types/src/index.ts:434](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L434)*
___
### args
• **args**: *`A`*
*Defined in [ethereum-types/src/index.ts:417](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L417)*
___
### blockHash
• **blockHash**: *string | null*
*Inherited from [LogEntry](#interface-logentry).[blockHash](#blockhash)*
*Defined in [ethereum-types/src/index.ts:432](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L432)*
___
### blockNumber
• **blockNumber**: *number | null*
*Inherited from [LogEntry](#interface-logentry).[blockNumber](#blocknumber)*
*Defined in [ethereum-types/src/index.ts:433](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L433)*
___
### data
• **data**: *string*
*Inherited from [LogEntry](#interface-logentry).[data](#data)*
*Defined in [ethereum-types/src/index.ts:435](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L435)*
___
### event
• **event**: *string*
*Defined in [ethereum-types/src/index.ts:416](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L416)*
___
### logIndex
• **logIndex**: *number | null*
*Inherited from [LogEntry](#interface-logentry).[logIndex](#logindex)*
*Defined in [ethereum-types/src/index.ts:429](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L429)*
___
### topics
• **topics**: *string[]*
*Inherited from [LogEntry](#interface-logentry).[topics](#topics)*
*Defined in [ethereum-types/src/index.ts:436](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L436)*
___
### transactionHash
• **transactionHash**: *string*
*Inherited from [LogEntry](#interface-logentry).[transactionHash](#transactionhash)*
*Defined in [ethereum-types/src/index.ts:431](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L431)*
___
### transactionIndex
• **transactionIndex**: *number | null*
*Inherited from [LogEntry](#interface-logentry).[transactionIndex](#transactionindex)*
*Defined in [ethereum-types/src/index.ts:430](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L430)*
<hr />
# Interface: DevdocOutput
## Properties
### `Optional` author
• **author**? : *undefined | string*
*Defined in [ethereum-types/src/index.ts:628](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L628)*
___
### methods
• **methods**: *object*
*Defined in [ethereum-types/src/index.ts:629](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L629)*
#### Type declaration:
● \[▪ **signature**: *string*\]: object
___
### `Optional` title
• **title**? : *undefined | string*
*Defined in [ethereum-types/src/index.ts:627](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L627)*
<hr />
# Interface: EIP1193Provider
## Properties
### isEIP1193
• **isEIP1193**: *boolean*
*Defined in [ethereum-types/src/index.ts:73](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L73)*
## Methods
### on
▸ **on**(`event`: [EIP1193Event](#eip1193event), `listener`: function): *this*
*Defined in [ethereum-types/src/index.ts:75](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L75)*
**Parameters:**
▪ **event**: *[EIP1193Event](#eip1193event)*
▪ **listener**: *function*
▸ (`result`: any): *void*
**Parameters:**
Name | Type |
------ | ------ |
`result` | any |
**Returns:** *this*
___
### send
▸ **send**(`method`: string, `params?`: any[]): *`Promise<any>`*
*Defined in [ethereum-types/src/index.ts:74](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L74)*
**Parameters:**
Name | Type |
------ | ------ |
`method` | string |
`params?` | any[] |
**Returns:** *`Promise<any>`*
<hr />
# Interface: EvmBytecodeOutput
## Properties
### object
• **object**: *string*
*Defined in [ethereum-types/src/index.ts:622](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L622)*
___
### sourceMap
• **sourceMap**: *string*
*Defined in [ethereum-types/src/index.ts:623](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L623)*
<hr />
# Interface: EvmOutput
## Properties
### bytecode
• **bytecode**: *[EvmBytecodeOutput](#class-evmbytecodeoutput)*
*Defined in [ethereum-types/src/index.ts:617](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L617)*
___
### deployedBytecode
• **deployedBytecode**: *[EvmBytecodeOutput](#class-evmbytecodeoutput)*
*Defined in [ethereum-types/src/index.ts:618](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L618)*
<hr />
# Interface: FallbackAbi
## Properties
### payable
• **payable**: *boolean*
*Defined in [ethereum-types/src/index.ts:112](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L112)*
___
### type
• **type**: *string*
*Defined in [ethereum-types/src/index.ts:111](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L111)*
<hr />
# Interface: GanacheProvider
## Methods
### sendAsync
▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](_ethereum_types_src_index_.jsonrpcrequestpayload.md), `callback`: [JSONRPCErrorCallback](#jsonrpcerrorcallback)): *void*
*Defined in [ethereum-types/src/index.ts:14](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L14)*
**Parameters:**
Name | Type |
------ | ------ |
`payload` | [JSONRPCRequestPayload](#class-jsonrpcrequestpayload) |
`callback` | [JSONRPCErrorCallback](#jsonrpcerrorcallback) |
**Returns:** *void*
<hr />
# Interface: JSONRPCRequestPayload
## Properties
### id
• **id**: *number*
*Defined in [ethereum-types/src/index.ts:330](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L330)*
___
### jsonrpc
• **jsonrpc**: *string*
*Defined in [ethereum-types/src/index.ts:331](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L331)*
___
### method
• **method**: *string*
*Defined in [ethereum-types/src/index.ts:329](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L329)*
___
### params
• **params**: *any[]*
*Defined in [ethereum-types/src/index.ts:328](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L328)*
<hr />
# Interface: JSONRPCResponseError
## Properties
### code
• **code**: *number*
*Defined in [ethereum-types/src/index.ts:336](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L336)*
___
### message
• **message**: *string*
*Defined in [ethereum-types/src/index.ts:335](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L335)*
<hr />
# Interface: JSONRPCResponsePayload
## Properties
### `Optional` error
• **error**? : *[JSONRPCResponseError](#class-jsonrpcresponseerror)*
*Defined in [ethereum-types/src/index.ts:343](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L343)*
___
### id
• **id**: *number*
*Defined in [ethereum-types/src/index.ts:341](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L341)*
___
### jsonrpc
• **jsonrpc**: *string*
*Defined in [ethereum-types/src/index.ts:342](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L342)*
___
### result
• **result**: *any*
*Defined in [ethereum-types/src/index.ts:340](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L340)*
<hr />
# Interface: LogWithDecodedArgs <**ArgsType**>
## Type parameters
▪ **ArgsType**: *[DecodedLogArgs](#class-decodedlogargs)*
## Properties
### address
• **address**: *string*
*Inherited from [LogEntry](#interface-logentry).[address](#address)*
*Defined in [ethereum-types/src/index.ts:434](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L434)*
___
### args
• **args**: *`ArgsType`*
*Inherited from [DecodedLogEntry](#interface-decodedlogentry).[args](#args)*
*Defined in [ethereum-types/src/index.ts:417](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L417)*
___
### blockHash
• **blockHash**: *string | null*
*Inherited from [LogEntry](#interface-logentry).[blockHash](#blockhash)*
*Defined in [ethereum-types/src/index.ts:432](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L432)*
___
### blockNumber
• **blockNumber**: *number | null*
*Inherited from [LogEntry](#interface-logentry).[blockNumber](#blocknumber)*
*Defined in [ethereum-types/src/index.ts:433](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L433)*
___
### data
• **data**: *string*
*Inherited from [LogEntry](#interface-logentry).[data](#data)*
*Defined in [ethereum-types/src/index.ts:435](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L435)*
___
### event
• **event**: *string*
*Inherited from [DecodedLogEntry](#interface-decodedlogentry).[event](#event)*
*Defined in [ethereum-types/src/index.ts:416](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L416)*
___
### logIndex
• **logIndex**: *number | null*
*Inherited from [LogEntry](#interface-logentry).[logIndex](#logindex)*
*Defined in [ethereum-types/src/index.ts:429](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L429)*
___
### topics
• **topics**: *string[]*
*Inherited from [LogEntry](#interface-logentry).[topics](#topics)*
*Defined in [ethereum-types/src/index.ts:436](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L436)*
___
### transactionHash
• **transactionHash**: *string*
*Inherited from [LogEntry](#interface-logentry).[transactionHash](#transactionhash)*
*Defined in [ethereum-types/src/index.ts:431](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L431)*
___
### transactionIndex
• **transactionIndex**: *number | null*
*Inherited from [LogEntry](#interface-logentry).[transactionIndex](#transactionindex)*
*Defined in [ethereum-types/src/index.ts:430](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L430)*
<hr />
# Interface: MethodAbi
## Properties
### constant
• **constant**: *boolean*
*Defined in [ethereum-types/src/index.ts:94](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L94)*
___
### inputs
• **inputs**: *[DataItem](#class-dataitem)[]*
*Defined in [ethereum-types/src/index.ts:92](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L92)*
___
### name
• **name**: *string*
*Defined in [ethereum-types/src/index.ts:91](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L91)*
___
### outputs
• **outputs**: *[DataItem](#class-dataitem)[]*
*Defined in [ethereum-types/src/index.ts:93](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L93)*
___
### payable
• **payable**: *boolean*
*Defined in [ethereum-types/src/index.ts:96](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L96)*
___
### stateMutability
• **stateMutability**: *[StateMutability](#statemutability)*
*Defined in [ethereum-types/src/index.ts:95](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L95)*
___
### type
• **type**: *string*
*Defined in [ethereum-types/src/index.ts:90](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L90)*
<hr />
# Interface: OptimizerSettings
## Properties
### enabled
• **enabled**: *boolean*
*Defined in [ethereum-types/src/index.ts:708](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L708)*
___
### `Optional` runs
• **runs**? : *undefined | number*
*Defined in [ethereum-types/src/index.ts:709](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L709)*
<hr />
# Interface: RevertErrorAbi
## Properties
### `Optional` arguments
• **arguments**? : *[DataItem](#class-dataitem)[]*
*Defined in [ethereum-types/src/index.ts:122](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L122)*
___
### name
• **name**: *string*
*Defined in [ethereum-types/src/index.ts:121](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L121)*
___
### type
• **type**: *"error"*
*Defined in [ethereum-types/src/index.ts:120](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L120)*
<hr />
# Interface: StandardContractOutput
## Properties
### abi
• **abi**: *[ContractAbi](#contractabi)*
*Defined in [ethereum-types/src/index.ts:564](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L564)*
___
### `Optional` devdoc
• **devdoc**? : *[DevdocOutput](#class-devdocoutput)*
*Defined in [ethereum-types/src/index.ts:566](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L566)*
___
### evm
• **evm**: *[EvmOutput](#class-evmoutput)*
*Defined in [ethereum-types/src/index.ts:565](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L565)*
<hr />
# Interface: TupleDataItem
## Properties
### components
• **components**: *[DataItem](#class-dataitem)[]*
*Overrides [DataItem](_ethereum_types_src_index_.dataitem.md).[components](#optional-components)*
*Defined in [ethereum-types/src/index.ts:141](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L141)*
___
### name
• **name**: *string*
*Inherited from [DataItem](#interface-dataitem).[name](#name)*
*Defined in [ethereum-types/src/index.ts:135](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L135)*
___
### type
• **type**: *string*
*Inherited from [DataItem](#interface-dataitem).[type](#type)*
*Defined in [ethereum-types/src/index.ts:136](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L136)*
<hr />
# Interface: TxData
## Properties
### `Optional` data
• **data**? : *undefined | string*
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[data](#optional-data)*
*Defined in [ethereum-types/src/index.ts:393](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L393)*
___
### from
• **from**: *string*
*Defined in [ethereum-types/src/index.ts:398](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L398)*
___
### `Optional` gas
• **gas**? : *number | string | `BigNumber`*
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[gas](#optional-gas)*
*Defined in [ethereum-types/src/index.ts:391](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L391)*
___
### `Optional` gasPrice
• **gasPrice**? : *number | string | `BigNumber`*
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[gasPrice](#optional-gasprice)*
*Defined in [ethereum-types/src/index.ts:392](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L392)*
___
### `Optional` nonce
• **nonce**? : *undefined | number*
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[nonce](#optional-nonce)*
*Defined in [ethereum-types/src/index.ts:394](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L394)*
___
### `Optional` to
• **to**? : *undefined | string*
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[to](#optional-to)*
*Defined in [ethereum-types/src/index.ts:389](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L389)*
___
### `Optional` value
• **value**? : *number | string | `BigNumber`*
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[value](#optional-value)*
*Defined in [ethereum-types/src/index.ts:390](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L390)*
<hr />
# Interface: TxDataPayable
## Properties
### `Optional` data
• **data**? : *undefined | string*
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[data](#optional-data)*
*Defined in [ethereum-types/src/index.ts:393](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L393)*
___
### from
• **from**: *string*
*Inherited from [TxData](#interface-txdata).[from](#from)*
*Defined in [ethereum-types/src/index.ts:398](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L398)*
___
### `Optional` gas
• **gas**? : *number | string | `BigNumber`*
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[gas](#optional-gas)*
*Defined in [ethereum-types/src/index.ts:391](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L391)*
___
### `Optional` gasPrice
• **gasPrice**? : *number | string | `BigNumber`*
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[gasPrice](#optional-gasprice)*
*Defined in [ethereum-types/src/index.ts:392](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L392)*
___
### `Optional` nonce
• **nonce**? : *undefined | number*
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[nonce](#optional-nonce)*
*Defined in [ethereum-types/src/index.ts:394](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L394)*
___
### `Optional` to
• **to**? : *undefined | string*
*Inherited from [CallTxDataBase](#interface-calltxdatabase).[to](#optional-to)*
*Defined in [ethereum-types/src/index.ts:389](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L389)*
___
### `Optional` value
• **value**? : *`BigNumber`*
*Overrides [CallTxDataBase](_ethereum_types_src_index_.calltxdatabase.md).[value](#optional-value)*
*Defined in [ethereum-types/src/index.ts:442](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L442)*
<hr />
# Interface: Web3JsV1Provider
Web3.js version 1 provider interface
This provider interface was implemented in the pre-1.0Beta releases for Web3.js.
This interface allowed sending synchonous requests, support for which was later dropped.
## Methods
### send
▸ **send**(`payload`: [JSONRPCRequestPayload](_ethereum_types_src_index_.jsonrpcrequestpayload.md)): *[JSONRPCResponsePayload](#class-jsonrpcresponsepayload)*
*Defined in [ethereum-types/src/index.ts:45](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L45)*
**Parameters:**
Name | Type |
------ | ------ |
`payload` | [JSONRPCRequestPayload](#class-jsonrpcrequestpayload) |
**Returns:** *[JSONRPCResponsePayload](#class-jsonrpcresponsepayload)*
___
### sendAsync
▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](_ethereum_types_src_index_.jsonrpcrequestpayload.md), `callback`: [JSONRPCErrorCallback](#jsonrpcerrorcallback)): *void*
*Defined in [ethereum-types/src/index.ts:44](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L44)*
**Parameters:**
Name | Type |
------ | ------ |
`payload` | [JSONRPCRequestPayload](#class-jsonrpcrequestpayload) |
`callback` | [JSONRPCErrorCallback](#jsonrpcerrorcallback) |
**Returns:** *void*
<hr />
# Interface: Web3JsV2Provider
Web3.js version 2 provider interface
This provider interface was used in a couple of Web3.js 1.0 beta releases
before the first attempts to conform to EIP1193
## Methods
### send
▸ **send**(`payload`: [JSONRPCRequestPayload](_ethereum_types_src_index_.jsonrpcrequestpayload.md), `callback`: [JSONRPCErrorCallback](#jsonrpcerrorcallback)): *void*
*Defined in [ethereum-types/src/index.ts:54](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L54)*
**Parameters:**
Name | Type |
------ | ------ |
`payload` | [JSONRPCRequestPayload](#class-jsonrpcrequestpayload) |
`callback` | [JSONRPCErrorCallback](#jsonrpcerrorcallback) |
**Returns:** *void*
<hr />
# Interface: Web3JsV3Provider
Web3.js version 3 provider interface
This provider interface was implemented with the hopes for conforming to the EIP1193 spec,
however it does not conform entirely.
## Methods
### send
▸ **send**(`method`: string, `params?`: any[]): *`Promise<any>`*
*Defined in [ethereum-types/src/index.ts:63](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L63)*
**Parameters:**
Name | Type |
------ | ------ |
`method` | string |
`params?` | any[] |
**Returns:** *`Promise<any>`*
<hr />
# Interface: ZeroExProvider
The interface for the provider used internally by 0x libraries
Any property we use from any SupportedProvider should we explicitly
add here
## Properties
### `Optional` isMetaMask
• **isMetaMask**? : *undefined | false | true*
*Defined in [ethereum-types/src/index.ts:31](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L31)*
___
### `Optional` isParity
• **isParity**? : *undefined | false | true*
*Defined in [ethereum-types/src/index.ts:32](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L32)*
___
### `Optional` isZeroExProvider
• **isZeroExProvider**? : *undefined | false | true*
*Defined in [ethereum-types/src/index.ts:30](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L30)*
## Methods
### `Optional` enable
▸ **enable**(): *`Promise<void>`*
*Defined in [ethereum-types/src/index.ts:34](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L34)*
**Returns:** *`Promise<void>`*
___
### sendAsync
▸ **sendAsync**(`payload`: [JSONRPCRequestPayload](_ethereum_types_src_index_.jsonrpcrequestpayload.md), `callback`: [JSONRPCErrorCallback](#jsonrpcerrorcallback)): *void*
*Defined in [ethereum-types/src/index.ts:35](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L35)*
**Parameters:**
Name | Type |
------ | ------ |
`payload` | [JSONRPCRequestPayload](#class-jsonrpcrequestpayload) |
`callback` | [JSONRPCErrorCallback](#jsonrpcerrorcallback) |
**Returns:** *void*
___
### `Optional` stop
▸ **stop**(): *void*
*Defined in [ethereum-types/src/index.ts:33](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L33)*
**Returns:** *void*
<hr />
# Interface: JSONRPCRequestPayloadWithMethod
## Properties
### id
• **id**: *number*
Defined in ethereum-types/lib/index.d.ts:267
___
### jsonrpc
• **jsonrpc**: *string*
Defined in ethereum-types/lib/index.d.ts:268
___
### method
• **method**: *string*
*Overrides void*
*Defined in [subproviders/src/types.ts:136](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/types.ts#L136)*
___
### params
• **params**: *any[]*
Defined in ethereum-types/lib/index.d.ts:265
<hr />
# Interface: DecodedLogEvent <**ArgsType**>
## Type parameters
▪ **ArgsType**: *`DecodedLogArgs`*
## Properties
### isRemoved
• **isRemoved**: *boolean*
*Defined in [types/src/index.ts:853](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L853)*
___
### log
• **log**: *`LogWithDecodedArgs<ArgsType>`*
*Defined in [types/src/index.ts:854](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L854)*
<hr />
# Interface: DutchAuctionData
## Properties
### assetData
• **assetData**: *[AssetData](#assetdata)*
*Defined in [types/src/index.ts:219](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L219)*
___
### beginAmount
• **beginAmount**: *`BigNumber`*
*Defined in [types/src/index.ts:221](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L221)*
___
### beginTimeSeconds
• **beginTimeSeconds**: *`BigNumber`*
*Defined in [types/src/index.ts:220](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L220)*
<hr />
# Interface: ECSignature
Elliptic Curve signature
## Properties
### r
• **r**: *string*
*Defined in [types/src/index.ts:62](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L62)*
___
### s
• **s**: *string*
*Defined in [types/src/index.ts:63](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L63)*
___
### v
• **v**: *number*
*Defined in [types/src/index.ts:61](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L61)*
<hr />
# Interface: EIP712DomainWithDefaultSchema
## Properties
### chainId
• **chainId**: *number*
*Defined in [types/src/index.ts:802](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L802)*
___
### `Optional` name
• **name**? : *undefined | string*
*Defined in [types/src/index.ts:800](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L800)*
___
### verifyingContract
• **verifyingContract**: *string*
*Defined in [types/src/index.ts:803](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L803)*
___
### `Optional` version
• **version**? : *undefined | string*
*Defined in [types/src/index.ts:801](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L801)*
<hr />
# Interface: ERC1155AssetData
## Properties
### assetProxyId
• **assetProxyId**: *string*
*Defined in [types/src/index.ts:183](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L183)*
___
### callbackData
• **callbackData**: *string*
*Defined in [types/src/index.ts:187](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L187)*
___
### tokenAddress
• **tokenAddress**: *string*
*Defined in [types/src/index.ts:184](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L184)*
___
### tokenIds
• **tokenIds**: *`BigNumber`[]*
*Defined in [types/src/index.ts:185](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L185)*
___
### tokenValues
• **tokenValues**: *`BigNumber`[]*
*Defined in [types/src/index.ts:186](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L186)*
<hr />
# Interface: ERC20AssetData
## Properties
### assetProxyId
• **assetProxyId**: *string*
*Defined in [types/src/index.ts:172](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L172)*
___
### tokenAddress
• **tokenAddress**: *string*
*Defined in [types/src/index.ts:173](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L173)*
<hr />
# Interface: ERC721AssetData
## Properties
### assetProxyId
• **assetProxyId**: *string*
*Defined in [types/src/index.ts:177](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L177)*
___
### tokenAddress
• **tokenAddress**: *string*
*Defined in [types/src/index.ts:178](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L178)*
___
### tokenId
• **tokenId**: *`BigNumber`*
*Defined in [types/src/index.ts:179](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L179)*
<hr />
# Interface: IndexedFilterValues
## Hierarchy
* **IndexSignature**
## Properties
### keyName
• **keyName**: *string*
*Defined in [types/src/index.ts:679](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L679)*
___
### keyType
• **keyType**: *[Type](#class-type)*
*Defined in [types/src/index.ts:680](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L680)*
___
### valueName
• **valueName**: *string*
*Defined in [types/src/index.ts:681](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L681)*
<hr />
# Interface: MultiAssetData
## Properties
### amounts
• **amounts**: *`BigNumber`[]*
*Defined in [types/src/index.ts:208](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L208)*
___
### assetProxyId
• **assetProxyId**: *string*
*Defined in [types/src/index.ts:207](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L207)*
___
### nestedAssetData
• **nestedAssetData**: *string[]*
*Defined in [types/src/index.ts:209](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L209)*
<hr />
# Interface: MultiAssetDataWithRecursiveDecoding
## Properties
### amounts
• **amounts**: *`BigNumber`[]*
*Defined in [types/src/index.ts:214](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L214)*
___
### assetProxyId
• **assetProxyId**: *string*
*Defined in [types/src/index.ts:213](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L213)*
___
### nestedAssetData
• **nestedAssetData**: *[SingleAssetData](#singleassetdata)[]*
*Defined in [types/src/index.ts:215](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L215)*
<hr />
# Interface: SignedOrder
## Properties
### chainId
• **chainId**: *number*
*Inherited from [Order](#interface-order).[chainId](#chainid)*
*Defined in [types/src/index.ts:14](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L14)*
___
### exchangeAddress
• **exchangeAddress**: *string*
*Inherited from [Order](#interface-order).[exchangeAddress](#exchangeaddress)*
*Defined in [types/src/index.ts:15](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L15)*
___
### expirationTimeSeconds
• **expirationTimeSeconds**: *`BigNumber`*
*Inherited from [Order](#interface-order).[expirationTimeSeconds](#expirationtimeseconds)*
*Defined in [types/src/index.ts:24](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L24)*
___
### feeRecipientAddress
• **feeRecipientAddress**: *string*
*Inherited from [Order](#interface-order).[feeRecipientAddress](#feerecipientaddress)*
*Defined in [types/src/index.ts:18](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L18)*
___
### makerAddress
• **makerAddress**: *string*
*Inherited from [Order](#interface-order).[makerAddress](#makeraddress)*
*Defined in [types/src/index.ts:16](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L16)*
___
### makerAssetAmount
• **makerAssetAmount**: *`BigNumber`*
*Inherited from [Order](#interface-order).[makerAssetAmount](#makerassetamount)*
*Defined in [types/src/index.ts:20](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L20)*
___
### makerAssetData
• **makerAssetData**: *string*
*Inherited from [Order](#interface-order).[makerAssetData](#makerassetdata)*
*Defined in [types/src/index.ts:26](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L26)*
___
### makerFee
• **makerFee**: *`BigNumber`*
*Inherited from [Order](#interface-order).[makerFee](#makerfee)*
*Defined in [types/src/index.ts:22](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L22)*
___
### makerFeeAssetData
• **makerFeeAssetData**: *string*
*Inherited from [Order](#interface-order).[makerFeeAssetData](#makerfeeassetdata)*
*Defined in [types/src/index.ts:28](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L28)*
___
### salt
• **salt**: *`BigNumber`*
*Inherited from [Order](#interface-order).[salt](#salt)*
*Defined in [types/src/index.ts:25](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L25)*
___
### senderAddress
• **senderAddress**: *string*
*Inherited from [Order](#interface-order).[senderAddress](#senderaddress)*
*Defined in [types/src/index.ts:19](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L19)*
___
### signature
• **signature**: *string*
*Defined in [types/src/index.ts:33](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L33)*
___
### takerAddress
• **takerAddress**: *string*
*Inherited from [Order](#interface-order).[takerAddress](#takeraddress)*
*Defined in [types/src/index.ts:17](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L17)*
___
### takerAssetAmount
• **takerAssetAmount**: *`BigNumber`*
*Inherited from [Order](#interface-order).[takerAssetAmount](#takerassetamount)*
*Defined in [types/src/index.ts:21](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L21)*
___
### takerAssetData
• **takerAssetData**: *string*
*Inherited from [Order](#interface-order).[takerAssetData](#takerassetdata)*
*Defined in [types/src/index.ts:27](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L27)*
___
### takerFee
• **takerFee**: *`BigNumber`*
*Inherited from [Order](#interface-order).[takerFee](#takerfee)*
*Defined in [types/src/index.ts:23](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L23)*
___
### takerFeeAssetData
• **takerFeeAssetData**: *string*
*Inherited from [Order](#interface-order).[takerFeeAssetData](#takerfeeassetdata)*
*Defined in [types/src/index.ts:29](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L29)*
<hr />
# Interface: SignedZeroExTransaction
## Properties
### data
• **data**: *string*
*Inherited from [ZeroExTransaction](#interface-zeroextransaction).[data](#data)*
*Defined in [types/src/index.ts:49](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L49)*
___
### domain
• **domain**: *[EIP712DomainWithDefaultSchema](#class-eip712domainwithdefaultschema)*
*Inherited from [ZeroExTransaction](#interface-zeroextransaction).[domain](#domain)*
*Defined in [types/src/index.ts:50](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L50)*
___
### expirationTimeSeconds
• **expirationTimeSeconds**: *`BigNumber`*
*Inherited from [ZeroExTransaction](#interface-zeroextransaction).[expirationTimeSeconds](#expirationtimeseconds)*
*Defined in [types/src/index.ts:46](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L46)*
___
### gasPrice
• **gasPrice**: *`BigNumber`*
*Inherited from [ZeroExTransaction](#interface-zeroextransaction).[gasPrice](#gasprice)*
*Defined in [types/src/index.ts:47](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L47)*
___
### salt
• **salt**: *`BigNumber`*
*Inherited from [ZeroExTransaction](#interface-zeroextransaction).[salt](#salt)*
*Defined in [types/src/index.ts:45](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L45)*
___
### signature
• **signature**: *string*
*Defined in [types/src/index.ts:54](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L54)*
___
### signerAddress
• **signerAddress**: *string*
*Inherited from [ZeroExTransaction](#interface-zeroextransaction).[signerAddress](#signeraddress)*
*Defined in [types/src/index.ts:48](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L48)*
<hr />
# Interface: SimpleContractArtifact
## Properties
### compilerOutput
• **compilerOutput**: *[SimpleStandardContractOutput](#class-simplestandardcontractoutput)*
*Defined in [types/src/index.ts:748](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L748)*
___
### contractName
• **contractName**: *string*
*Defined in [types/src/index.ts:747](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L747)*
___
### networks
• **networks**: *`ContractNetworks`*
*Defined in [types/src/index.ts:749](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L749)*
___
### schemaVersion
• **schemaVersion**: *string*
*Defined in [types/src/index.ts:746](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L746)*
<hr />
# Interface: SimpleEvmBytecodeOutput
## Properties
### object
• **object**: *string*
*Defined in [types/src/index.ts:763](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L763)*
<hr />
# Interface: SimpleEvmOutput
## Properties
### bytecode
• **bytecode**: *[SimpleEvmBytecodeOutput](#class-simpleevmbytecodeoutput)*
*Defined in [types/src/index.ts:759](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L759)*
<hr />
# Interface: SimpleStandardContractOutput
## Properties
### abi
• **abi**: *[ContractAbi](#contractabi)*
*Defined in [types/src/index.ts:753](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L753)*
___
### `Optional` devdoc
• **devdoc**? : *[DevdocOutput](#class-devdocoutput)*
*Defined in [types/src/index.ts:755](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L755)*
___
### evm
• **evm**: *[SimpleEvmOutput](#class-simpleevmoutput)*
*Defined in [types/src/index.ts:754](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L754)*
<hr />
# Interface: StaticCallAssetData
## Properties
### assetProxyId
• **assetProxyId**: *string*
*Defined in [types/src/index.ts:191](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L191)*
___
### callResultHash
• **callResultHash**: *string*
*Defined in [types/src/index.ts:194](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L194)*
___
### callTarget
• **callTarget**: *string*
*Defined in [types/src/index.ts:192](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L192)*
___
### staticCallData
• **staticCallData**: *string*
*Defined in [types/src/index.ts:193](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L193)*
<hr />
# Interface: ValidatorSignature
Validator signature components
## Properties
### signature
• **signature**: *string*
*Defined in [types/src/index.ts:71](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L71)*
___
### validatorAddress
• **validatorAddress**: *string*
*Defined in [types/src/index.ts:70](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L70)*
<hr />
# Interface: ZeroExTransaction
ZeroExTransaction for use with 0x Exchange executeTransaction
## Properties
### data
• **data**: *string*
*Defined in [types/src/index.ts:49](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L49)*
___
### domain
• **domain**: *[EIP712DomainWithDefaultSchema](#class-eip712domainwithdefaultschema)*
*Defined in [types/src/index.ts:50](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L50)*
___
### expirationTimeSeconds
• **expirationTimeSeconds**: *`BigNumber`*
*Defined in [types/src/index.ts:46](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L46)*
___
### gasPrice
• **gasPrice**: *`BigNumber`*
*Defined in [types/src/index.ts:47](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L47)*
___
### salt
• **salt**: *`BigNumber`*
*Defined in [types/src/index.ts:45](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L45)*
___
### signerAddress
• **signerAddress**: *string*
*Defined in [types/src/index.ts:48](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L48)*
<hr />
<hr />
## Type aliases
### ERC20TokenEventArgs
Ƭ **ERC20TokenEventArgs**: *[ERC20TokenTransferEventArgs](#interface-erc20tokentransfereventargs) | [ERC20TokenApprovalEventArgs](#interface-erc20tokenapprovaleventargs)*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc20_token.ts:28](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc20_token.ts#L28)*
<hr />
## Type aliases
### ERC721TokenEventArgs
Ƭ **ERC721TokenEventArgs**: *[ERC721TokenApprovalEventArgs](#interface-erc721tokenapprovaleventargs) | [ERC721TokenApprovalForAllEventArgs](#interface-erc721tokenapprovalforalleventargs) | [ERC721TokenTransferEventArgs](#interface-erc721tokentransfereventargs)*
*Defined in [abi-gen-wrappers/src/generated-wrappers/erc721_token.ts:28](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/erc721_token.ts#L28)*
<hr />
## Type aliases
### ExchangeEventArgs
Ƭ **ExchangeEventArgs**: *[ExchangeAssetProxyRegisteredEventArgs](#interface-exchangeassetproxyregisteredeventargs) | [ExchangeCancelEventArgs](#interface-exchangecanceleventargs) | [ExchangeCancelUpToEventArgs](#interface-exchangecanceluptoeventargs) | [ExchangeFillEventArgs](#interface-exchangefilleventargs) | [ExchangeProtocolFeeCollectorAddressEventArgs](#interface-exchangeprotocolfeecollectoraddresseventargs) | [ExchangeProtocolFeeMultiplierEventArgs](#interface-exchangeprotocolfeemultipliereventargs) | [ExchangeSignatureValidatorApprovalEventArgs](#interface-exchangesignaturevalidatorapprovaleventargs) | [ExchangeTransactionExecutionEventArgs](#interface-exchangetransactionexecutioneventargs)*
*Defined in [abi-gen-wrappers/src/generated-wrappers/exchange.ts:28](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/exchange.ts#L28)*
<hr />
<hr />
<hr />
## Type aliases
### WETH9EventArgs
Ƭ **WETH9EventArgs**: *[WETH9ApprovalEventArgs](#interface-weth9approvaleventargs) | [WETH9TransferEventArgs](#interface-weth9transfereventargs) | [WETH9DepositEventArgs](#interface-weth9depositeventargs) | [WETH9WithdrawalEventArgs](#interface-weth9withdrawaleventargs)*
*Defined in [abi-gen-wrappers/src/generated-wrappers/weth9.ts:28](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/weth9.ts#L28)*
<hr />
## Type aliases
### ZRXTokenEventArgs
Ƭ **ZRXTokenEventArgs**: *[ZRXTokenTransferEventArgs](#interface-zrxtokentransfereventargs) | [ZRXTokenApprovalEventArgs](#interface-zrxtokenapprovaleventargs)*
*Defined in [abi-gen-wrappers/src/generated-wrappers/zrx_token.ts:28](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/abi-gen-wrappers/src/generated-wrappers/zrx_token.ts#L28)*
<hr />
## Functions
### getContractAddressesForNetworkOrThrow
▸ **getContractAddressesForNetworkOrThrow**(`networkId`: [NetworkId](#enumeration-networkid)): *[ContractAddresses](#interface-contractaddresses)*
*Defined in [contract-addresses/src/index.ts:128](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/contract-addresses/src/index.ts#L128)*
Used to get addresses of contracts that have been deployed to either the
Ethereum mainnet or a supported testnet. Throws if there are no known
contracts deployed on the corresponding network.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`networkId` | [NetworkId](#enumeration-networkid) | The desired networkId. |
**Returns:** *[ContractAddresses](#interface-contractaddresses)*
The set of addresses for contracts which have been deployed on the
given networkId.
<hr />
## Type aliases
### AbiDefinition
Ƭ **AbiDefinition**: *[FunctionAbi](_ethereum_types_src_index_.md#functionabi) | [EventAbi](#interface-eventabi) | [RevertErrorAbi](#interface-reverterrorabi)*
*Defined in [ethereum-types/src/index.ts:80](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L80)*
___
### BlockParam
Ƭ **BlockParam**: *[BlockParamLiteral](#enumeration-blockparamliteral) | number*
*Defined in [ethereum-types/src/index.ts:483](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L483)*
___
### ConstructorStateMutability
Ƭ **ConstructorStateMutability**: *"nonpayable" | "payable"*
*Defined in [ethereum-types/src/index.ts:84](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L84)*
___
### ContractAbi
Ƭ **ContractAbi**: *[AbiDefinition](#abidefinition)[]*
*Defined in [ethereum-types/src/index.ts:78](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L78)*
___
### ContractEventArg
Ƭ **ContractEventArg**: *any*
*Defined in [ethereum-types/src/index.ts:468](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L468)*
___
### EIP1193Event
Ƭ **EIP1193Event**: *"accountsChanged" | "networkChanged" | "close" | "connect" | "notification"*
*Defined in [ethereum-types/src/index.ts:70](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L70)*
Interface for providers that conform to EIP 1193
Source: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1193.md
___
### FunctionAbi
Ƭ **FunctionAbi**: *[MethodAbi](#interface-methodabi) | [ConstructorAbi](#interface-constructorabi) | [FallbackAbi](#interface-fallbackabi)*
*Defined in [ethereum-types/src/index.ts:82](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L82)*
___
### JSONRPCErrorCallback
Ƭ **JSONRPCErrorCallback**: *function*
*Defined in [ethereum-types/src/index.ts:3](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L3)*
#### Type declaration:
▸ (`err`: `Error` | null, `result?`: [JSONRPCResponsePayload](#interface-jsonrpcresponsepayload)): *void*
**Parameters:**
Name | Type |
------ | ------ |
`err` | `Error` \| null |
`result?` | [JSONRPCResponsePayload](#interface-jsonrpcresponsepayload) |
___
### OutputField
Ƭ **OutputField**: *"*" | "ast" | "legacyAST" | "abi" | "devdoc" | "userdoc" | "metadata" | "ir" | "evm.assembly" | "evm.legacyAssembly" | "evm.bytecode.object" | "evm.bytecode.opcodes" | "evm.bytecode.sourceMap" | "evm.bytecode.linkReferences" | "evm.deployedBytecode.object" | "evm.deployedBytecode.opcodes" | "evm.deployedBytecode.sourceMap" | "evm.deployedBytecode.linkReferences" | "evm.methodIdentifiers" | "evm.gasEstimates" | "ewasm.wast" | "ewasm.wasm"*
*Defined in [ethereum-types/src/index.ts:525](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L525)*
___
### ParamDescription
Ƭ **ParamDescription**: *string*
*Defined in [ethereum-types/src/index.ts:561](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L561)*
___
### StateMutability
Ƭ **StateMutability**: *"pure" | "view" | [ConstructorStateMutability](#constructorstatemutability)*
*Defined in [ethereum-types/src/index.ts:85](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L85)*
___
### SupportedProvider
Ƭ **SupportedProvider**: *[Web3JsProvider](_ethereum_types_src_index_.md#web3jsprovider) | [GanacheProvider](#interface-ganacheprovider) | [EIP1193Provider](#interface-eip1193provider) | [ZeroExProvider](#interface-zeroexprovider)*
*Defined in [ethereum-types/src/index.ts:9](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L9)*
Do not create your own provider. Use an existing provider from a Web3 or ProviderEngine library
Read more about Providers in the guides section of the 0x docs.
___
### Web3JsProvider
Ƭ **Web3JsProvider**: *[Web3JsV1Provider](#interface-web3jsv1provider) | [Web3JsV2Provider](#interface-web3jsv2provider) | [Web3JsV3Provider](#interface-web3jsv3provider)*
*Defined in [ethereum-types/src/index.ts:11](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/ethereum-types/src/index.ts#L11)*
<hr />
## Object literals
### `Const` assetDataUtils
#### ▪ **assetDataUtils**: *object*
*Defined in [order-utils/src/asset_data_utils.ts:23](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L23)*
#### assertIsERC1155AssetData
▸ **assertIsERC1155AssetData**(`assetData`: string): *void*
*Defined in [order-utils/src/asset_data_utils.ts:397](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L397)*
Throws if the assetData is not ERC1155.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string | Hex encoded assetData string |
**Returns:** *void*
#### assertIsERC20AssetData
▸ **assertIsERC20AssetData**(`assetData`: string): *void*
*Defined in [order-utils/src/asset_data_utils.ts:353](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L353)*
Throws if the length or assetProxyId are invalid for the ERC20Proxy.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string | Hex encoded assetData string |
**Returns:** *void*
#### assertIsERC721AssetData
▸ **assertIsERC721AssetData**(`assetData`: string): *void*
*Defined in [order-utils/src/asset_data_utils.ts:375](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L375)*
Throws if the length or assetProxyId are invalid for the ERC721Proxy.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string | Hex encoded assetData string |
**Returns:** *void*
#### assertIsMultiAssetData
▸ **assertIsMultiAssetData**(`assetData`: string): *void*
*Defined in [order-utils/src/asset_data_utils.ts:419](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L419)*
Throws if the length or assetProxyId are invalid for the MultiAssetProxy.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string | Hex encoded assetData string |
**Returns:** *void*
#### assertIsStaticCallAssetData
▸ **assertIsStaticCallAssetData**(`assetData`: string): *void*
*Defined in [order-utils/src/asset_data_utils.ts:441](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L441)*
Throws if the assetData is not StaticCallData.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string | Hex encoded assetData string |
**Returns:** *void*
#### assertWordAlignedAssetData
▸ **assertWordAlignedAssetData**(`assetData`: string): *void*
*Defined in [order-utils/src/asset_data_utils.ts:463](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L463)*
Throws if the assetData is not padded to 32 bytes.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string | Hex encoded assetData string |
**Returns:** *void*
#### decodeAssetDataOrThrow
▸ **decodeAssetDataOrThrow**(`assetData`: string): *[SingleAssetData](#singleassetdata) | `MultiAssetData`*
*Defined in [order-utils/src/asset_data_utils.ts:502](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L502)*
Decode any assetData into its corresponding assetData object
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string | Hex encoded assetData string to decode |
**Returns:** *[SingleAssetData](#singleassetdata) | `MultiAssetData`*
Either a ERC20, ERC721, ERC1155, or MultiAsset assetData object
#### decodeAssetProxyId
▸ **decodeAssetProxyId**(`assetData`: string): *`AssetProxyId`*
*Defined in [order-utils/src/asset_data_utils.ts:294](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L294)*
Decode and return the assetProxyId from the assetData
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string | Hex encoded assetData string to decode |
**Returns:** *`AssetProxyId`*
The assetProxyId
#### decodeDutchAuctionData
▸ **decodeDutchAuctionData**(`dutchAuctionData`: string): *`DutchAuctionData`*
*Defined in [order-utils/src/asset_data_utils.ts:263](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L263)*
Dutch auction details are encoded with the asset data for a 0x order. This function decodes a hex
encoded assetData string, containing information both about the asset being traded and the
dutch auction.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`dutchAuctionData` | string | Hex encoded assetData string for the asset being auctioned. |
**Returns:** *`DutchAuctionData`*
An object containing the auction asset, auction begin time and auction begin amount.
#### decodeERC1155AssetData
▸ **decodeERC1155AssetData**(`assetData`: string): *`ERC1155AssetData`*
*Defined in [order-utils/src/asset_data_utils.ts:107](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L107)*
Decodes an ERC1155 assetData hex string into its corresponding ERC1155 components.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string | Hex encoded assetData string to decode |
**Returns:** *`ERC1155AssetData`*
An object containing the decoded tokenAddress, tokenIds, tokenValues, callbackData & assetProxyId
#### decodeERC20AssetData
▸ **decodeERC20AssetData**(`assetData`: string): *`ERC20AssetData`*
*Defined in [order-utils/src/asset_data_utils.ts:41](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L41)*
Decodes an ERC20 assetData hex string into its corresponding ERC20 tokenAddress & assetProxyId
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string | Hex encoded assetData string to decode |
**Returns:** *`ERC20AssetData`*
An object containing the decoded tokenAddress & assetProxyId
#### decodeERC721AssetData
▸ **decodeERC721AssetData**(`assetData`: string): *`ERC721AssetData`*
*Defined in [order-utils/src/asset_data_utils.ts:70](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L70)*
Decodes an ERC721 assetData hex string into its corresponding ERC721 tokenAddress, tokenId & assetProxyId
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string | Hex encoded assetData string to decode |
**Returns:** *`ERC721AssetData`*
An object containing the decoded tokenAddress, tokenId & assetProxyId
#### decodeMultiAssetData
▸ **decodeMultiAssetData**(`assetData`: string): *`MultiAssetData`*
*Defined in [order-utils/src/asset_data_utils.ts:149](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L149)*
Decodes a MultiAsset assetData hex string into its corresponding amounts and nestedAssetData
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string | Hex encoded assetData string to decode |
**Returns:** *`MultiAssetData`*
An object containing the decoded amounts and nestedAssetData
#### decodeMultiAssetDataRecursively
▸ **decodeMultiAssetDataRecursively**(`assetData`: string): *`MultiAssetDataWithRecursiveDecoding`*
*Defined in [order-utils/src/asset_data_utils.ts:175](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L175)*
Decodes a MultiAsset assetData hex string into its corresponding amounts and decoded nestedAssetData elements (all nested elements are flattened)
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string | Hex encoded assetData string to decode |
**Returns:** *`MultiAssetDataWithRecursiveDecoding`*
An object containing the decoded amounts and nestedAssetData
#### decodeStaticCallAssetData
▸ **decodeStaticCallAssetData**(`assetData`: string): *`StaticCallAssetData`*
*Defined in [order-utils/src/asset_data_utils.ts:225](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L225)*
Decoded StaticCall assetData into its corresponding callTarget, staticCallData, and expected callResultHash
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string | Hex encoded assetData string to decode |
**Returns:** *`StaticCallAssetData`*
An object containing the decoded callTarget, staticCallData, and expected callResultHash
#### encodeDutchAuctionAssetData
▸ **encodeDutchAuctionAssetData**(`assetData`: string, `beginTimeSeconds`: `BigNumber`, `beginAmount`: `BigNumber`): *string*
*Defined in [order-utils/src/asset_data_utils.ts:245](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L245)*
Dutch auction details are encoded with the asset data for a 0x order. This function produces a hex
encoded assetData string, containing information both about the asset being traded and the
dutch auction; which is usable in the makerAssetData or takerAssetData fields in a 0x order.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string | Hex encoded assetData string for the asset being auctioned. |
`beginTimeSeconds` | `BigNumber` | Begin time of the dutch auction. |
`beginAmount` | `BigNumber` | Starting amount being sold in the dutch auction. |
**Returns:** *string*
The hex encoded assetData string.
#### encodeERC1155AssetData
▸ **encodeERC1155AssetData**(`tokenAddress`: string, `tokenIds`: `BigNumber`[], `tokenValues`: `BigNumber`[], `callbackData`: string): *string*
*Defined in [order-utils/src/asset_data_utils.ts:91](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L91)*
Encodes a set of ERC1155 assets into an assetData string, usable in the makerAssetData or
takerAssetData fields of a 0x order.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`tokenAddress` | string | The token address of the ERC1155 contract |
`tokenIds` | `BigNumber`[] | The Id's of the ERC1155 tokens to transfer |
`tokenValues` | `BigNumber`[] | The values of each respective token Id to transfer |
`callbackData` | string | The data forwarded to a receiver, if receiver is a contract. |
**Returns:** *string*
The hex encoded assetData string
#### encodeERC20AssetData
▸ **encodeERC20AssetData**(`tokenAddress`: string): *string*
*Defined in [order-utils/src/asset_data_utils.ts:30](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L30)*
Encodes an ERC20 token address into a hex encoded assetData string, usable in the makerAssetData or
takerAssetData fields in a 0x order.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`tokenAddress` | string | The ERC20 token address to encode |
**Returns:** *string*
The hex encoded assetData string
#### encodeERC721AssetData
▸ **encodeERC721AssetData**(`tokenAddress`: string, `tokenId`: `BigNumber`): *string*
*Defined in [order-utils/src/asset_data_utils.ts:59](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L59)*
Encodes an ERC721 token address into a hex encoded assetData string, usable in the makerAssetData or
takerAssetData fields in a 0x order.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`tokenAddress` | string | The ERC721 token address to encode |
`tokenId` | `BigNumber` | The ERC721 tokenId to encode |
**Returns:** *string*
The hex encoded assetData string
#### encodeMultiAssetData
▸ **encodeMultiAssetData**(`amounts`: `BigNumber`[], `nestedAssetData`: string[]): *string*
*Defined in [order-utils/src/asset_data_utils.ts:130](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L130)*
Encodes assetData for multiple AssetProxies into a single hex encoded assetData string, usable in the makerAssetData or
takerAssetData fields in a 0x order.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`amounts` | `BigNumber`[] | Amounts of each asset that correspond to a single unit within an order. |
`nestedAssetData` | string[] | assetData strings that correspond to a valid assetProxyId. |
**Returns:** *string*
The hex encoded assetData string
#### encodeStaticCallAssetData
▸ **encodeStaticCallAssetData**(`callTarget`: string, `staticCallData`: string, `callResultHash`: string): *string*
*Defined in [order-utils/src/asset_data_utils.ts:214](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L214)*
Encodes StaticCallProxy data into an assetData hex string
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`callTarget` | string | Address of contract to call from StaticCallProxy |
`staticCallData` | string | The function data that will be called on the callTarget contract |
`callResultHash` | string | The keccak256 hash of the ABI encoded expected output of the static call |
**Returns:** *string*
The hex encoded assetData string
#### isERC1155AssetData
▸ **isERC1155AssetData**(`decodedAssetData`: [SingleAssetData](#singleassetdata) | `MultiAssetData`): *boolean*
*Defined in [order-utils/src/asset_data_utils.ts:332](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L332)*
Checks if the decoded asset data is valid ERC1155 data
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`decodedAssetData` | [SingleAssetData](#singleassetdata) \| `MultiAssetData` | The decoded asset data to check |
**Returns:** *boolean*
#### isERC20AssetData
▸ **isERC20AssetData**(`decodedAssetData`: [SingleAssetData](#singleassetdata) | `MultiAssetData`): *boolean*
*Defined in [order-utils/src/asset_data_utils.ts:318](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L318)*
Checks if the decoded asset data is valid ERC20 data
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`decodedAssetData` | [SingleAssetData](#singleassetdata) \| `MultiAssetData` | The decoded asset data to check |
**Returns:** *boolean*
#### isERC721AssetData
▸ **isERC721AssetData**(`decodedAssetData`: [SingleAssetData](#singleassetdata) | `MultiAssetData`): *boolean*
*Defined in [order-utils/src/asset_data_utils.ts:325](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L325)*
Checks if the decoded asset data is valid ERC721 data
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`decodedAssetData` | [SingleAssetData](#singleassetdata) \| `MultiAssetData` | The decoded asset data to check |
**Returns:** *boolean*
#### isMultiAssetData
▸ **isMultiAssetData**(`decodedAssetData`: [SingleAssetData](#singleassetdata) | `MultiAssetData`): *boolean*
*Defined in [order-utils/src/asset_data_utils.ts:339](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L339)*
Checks if the decoded asset data is valid MultiAsset data
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`decodedAssetData` | [SingleAssetData](#singleassetdata) \| `MultiAssetData` | The decoded asset data to check |
**Returns:** *boolean*
#### isStaticCallAssetData
▸ **isStaticCallAssetData**(`decodedAssetData`: [SingleAssetData](#singleassetdata) | `MultiAssetData`): *boolean*
*Defined in [order-utils/src/asset_data_utils.ts:346](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L346)*
Checks if the decoded asset data is valid StaticCall data
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`decodedAssetData` | [SingleAssetData](#singleassetdata) \| `MultiAssetData` | The decoded asset data to check |
**Returns:** *boolean*
#### validateAssetDataOrThrow
▸ **validateAssetDataOrThrow**(`assetData`: string): *void*
*Defined in [order-utils/src/asset_data_utils.ts:475](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/asset_data_utils.ts#L475)*
Throws if the length or assetProxyId are invalid for the corresponding AssetProxy.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`assetData` | string | Hex encoded assetData string |
**Returns:** *void*
<hr />
## Object literals
#### `Const` orderHashUtils
#### ▪ **orderHashUtils**: *object*
*Defined in [order-utils/src/order_hash.ts:12](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/order_hash.ts#L12)*
#### getOrderHashBuffer
▸ **getOrderHashBuffer**(`order`: `SignedOrder` | `Order`): *`Buffer`*
*Defined in [order-utils/src/order_hash.ts:55](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/order_hash.ts#L55)*
Computes the orderHash for a supplied order
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`order` | `SignedOrder` \| `Order` | An object that conforms to the Order or SignedOrder interface definitions. |
**Returns:** *`Buffer`*
A Buffer containing the resulting orderHash from hashing the supplied order
#### getOrderHashHex
▸ **getOrderHashHex**(`order`: `SignedOrder` | `Order`): *string*
*Defined in [order-utils/src/order_hash.ts:33](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/order_hash.ts#L33)*
Computes the orderHash for a supplied order.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`order` | `SignedOrder` \| `Order` | An object that conforms to the Order or SignedOrder interface definitions. |
**Returns:** *string*
Hex encoded string orderHash from hashing the supplied order.
#### isValidOrderHash
▸ **isValidOrderHash**(`orderHash`: string): *boolean*
*Defined in [order-utils/src/order_hash.ts:20](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/order_hash.ts#L20)*
Checks if the supplied hex encoded order hash is valid.
Note: Valid means it has the expected format, not that an order with the orderHash exists.
Use this method when processing orderHashes submitted as user input.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`orderHash` | string | Hex encoded orderHash. |
**Returns:** *boolean*
Whether the supplied orderHash has the expected format.
<hr />
## Functions
#### generatePseudoRandomSalt
▸ **generatePseudoRandomSalt**(): *`BigNumber`*
*Defined in [order-utils/src/salt.ts:9](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/salt.ts#L9)*
Generates a pseudo-random 256-bit salt.
The salt can be included in a 0x order, ensuring that the order generates a unique orderHash
and will not collide with other outstanding orders that are identical in all other parameters.
**Returns:** *`BigNumber`*
A pseudo-random 256-bit number that can be used as a salt.
<hr />
## Object literals
#### `Const` signatureUtils
#### ▪ **signatureUtils**: *object*
*Defined in [order-utils/src/signature_utils.ts:27](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/signature_utils.ts#L27)*
#### addSignedMessagePrefix
▸ **addSignedMessagePrefix**(`message`: string): *string*
*Defined in [order-utils/src/signature_utils.ts:500](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/signature_utils.ts#L500)*
Adds the relevant prefix to the message being signed.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`message` | string | Message to sign |
**Returns:** *string*
Prefixed message
#### convertECSignatureToSignatureHex
▸ **convertECSignatureToSignatureHex**(`ecSignature`: `ECSignature`): *string*
*Defined in [order-utils/src/signature_utils.ts:474](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/signature_utils.ts#L474)*
Combines ECSignature with V,R,S and the EthSign signature type for use in 0x protocol
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`ecSignature` | `ECSignature` | The ECSignature of the signed data |
**Returns:** *string*
Hex encoded string of signature (v,r,s) with Signature Type
#### convertToSignatureWithType
▸ **convertToSignatureWithType**(`signature`: string, `signatureType`: `SignatureType`): *string*
*Defined in [order-utils/src/signature_utils.ts:490](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/signature_utils.ts#L490)*
Combines the signature proof and the Signature Type.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`signature` | string | The hex encoded signature proof |
`signatureType` | `SignatureType` | The signature type, i.e EthSign, Wallet etc. |
**Returns:** *string*
Hex encoded string of signature proof with Signature Type
#### ecSignHashAsync
▸ **ecSignHashAsync**(`supportedProvider`: [SupportedProvider](#supportedprovider), `msgHash`: string, `signerAddress`: string): *`Promise<string>`*
*Defined in [order-utils/src/signature_utils.ts:417](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/signature_utils.ts#L417)*
Signs a hash using `eth_sign` and returns its elliptic curve signature and signature type.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`supportedProvider` | [SupportedProvider](#supportedprovider) | Web3 provider to use for all JSON RPC requests |
`msgHash` | string | Hex encoded message to sign. |
`signerAddress` | string | The hex encoded Ethereum address you wish to sign it with. This address must be available via the supplied Provider. |
**Returns:** *`Promise<string>`*
A hex encoded string containing the Elliptic curve signature generated by signing the msgHash and the Signature Type.
#### ecSignOrderAsync
▸ **ecSignOrderAsync**(`supportedProvider`: [SupportedProvider](#supportedprovider), `order`: `Order`, `signerAddress`: string): *`Promise<SignedOrder>`*
*Defined in [order-utils/src/signature_utils.ts:252](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/signature_utils.ts#L252)*
Signs an order and returns a SignedOrder. First `eth_signTypedData` is requested
then a fallback to `eth_sign` if not available on the supplied provider.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`supportedProvider` | [SupportedProvider](#supportedprovider) | Web3 provider to use for all JSON RPC requests |
`order` | `Order` | The Order to sign. |
`signerAddress` | string | The hex encoded Ethereum address you wish to sign it with. This address must be available via the supplied Provider. |
**Returns:** *`Promise<SignedOrder>`*
A SignedOrder containing the order and Elliptic curve signature with Signature Type.
#### ecSignTransactionAsync
▸ **ecSignTransactionAsync**(`supportedProvider`: [SupportedProvider](#supportedprovider), `transaction`: `ZeroExTransaction`, `signerAddress`: string): *`Promise<SignedZeroExTransaction>`*
*Defined in [order-utils/src/signature_utils.ts:331](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/signature_utils.ts#L331)*
Signs a transaction and returns a SignedZeroExTransaction. First `eth_signTypedData` is requested
then a fallback to `eth_sign` if not available on the supplied provider.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`supportedProvider` | [SupportedProvider](#supportedprovider) | Web3 provider to use for all JSON RPC requests |
`transaction` | `ZeroExTransaction` | The ZeroExTransaction to sign. |
`signerAddress` | string | The hex encoded Ethereum address you wish to sign it with. This address must be available via the supplied Provider. |
**Returns:** *`Promise<SignedZeroExTransaction>`*
A SignedTransaction containing the order and Elliptic curve signature with Signature Type.
#### ecSignTypedDataOrderAsync
▸ **ecSignTypedDataOrderAsync**(`supportedProvider`: [SupportedProvider](#supportedprovider), `order`: `Order`, `signerAddress`: string): *`Promise<SignedOrder>`*
*Defined in [order-utils/src/signature_utils.ts:287](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/signature_utils.ts#L287)*
Signs an order using `eth_signTypedData` and returns a SignedOrder.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`supportedProvider` | [SupportedProvider](#supportedprovider) | Web3 provider to use for all JSON RPC requests |
`order` | `Order` | The Order to sign. |
`signerAddress` | string | The hex encoded Ethereum address you wish to sign it with. This address must be available via the supplied Provider. |
**Returns:** *`Promise<SignedOrder>`*
A SignedOrder containing the order and Elliptic curve signature with Signature Type.
#### ecSignTypedDataTransactionAsync
▸ **ecSignTypedDataTransactionAsync**(`supportedProvider`: [SupportedProvider](#supportedprovider), `transaction`: `ZeroExTransaction`, `signerAddress`: string): *`Promise<SignedZeroExTransaction>`*
*Defined in [order-utils/src/signature_utils.ts:374](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/signature_utils.ts#L374)*
Signs a ZeroExTransaction using `eth_signTypedData` and returns a SignedZeroExTransaction.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`supportedProvider` | [SupportedProvider](#supportedprovider) | Web3 provider to use for all JSON RPC requests |
`transaction` | `ZeroExTransaction` | The ZeroEx Transaction to sign. |
`signerAddress` | string | The hex encoded Ethereum address you wish to sign it with. This address must be available via the supplied Provider. |
**Returns:** *`Promise<SignedZeroExTransaction>`*
A SignedZeroExTransaction containing the ZeroExTransaction and Elliptic curve signature with Signature Type.
#### isValidECSignature
▸ **isValidECSignature**(`data`: string, `signature`: `ECSignature`, `signerAddress`: string): *boolean*
*Defined in [order-utils/src/signature_utils.ts:222](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/signature_utils.ts#L222)*
Checks if the supplied elliptic curve signature corresponds to signing `data` with
the private key corresponding to `signerAddress`
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`data` | string | The hex encoded data signed by the supplied signature. |
`signature` | `ECSignature` | An object containing the elliptic curve signature parameters. |
`signerAddress` | string | The hex encoded address that signed the data, producing the supplied signature. |
**Returns:** *boolean*
Whether the ECSignature is valid.
#### isValidPresignedSignatureAsync
▸ **isValidPresignedSignatureAsync**(`supportedProvider`: [SupportedProvider](#supportedprovider), `data`: string, `signerAddress`: string, `exchangeAddress?`: undefined | string): *`Promise<boolean>`*
*Defined in [order-utils/src/signature_utils.ts:107](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/signature_utils.ts#L107)*
Verifies that the provided presigned signature is valid according to the 0x Protocol smart contracts
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`supportedProvider` | [SupportedProvider](#supportedprovider) | Web3 provider to use for all JSON RPC requests |
`data` | string | The hex encoded data signed by the supplied signature |
`signerAddress` | string | The hex encoded address that signed the data, producing the supplied signature. |
`exchangeAddress?` | undefined \| string | The address of the Exchange contract to validate the signature against. |
**Returns:** *`Promise<boolean>`*
Whether the data was preSigned by the supplied signerAddress
#### isValidSignatureAsync
▸ **isValidSignatureAsync**(`supportedProvider`: [SupportedProvider](#supportedprovider), `data`: string, `signature`: string, `signerAddress`: string, `exchangeAddress?`: undefined | string): *`Promise<boolean>`*
*Defined in [order-utils/src/signature_utils.ts:38](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/signature_utils.ts#L38)*
Verifies that the provided signature is valid according to the 0x Protocol smart contracts
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`supportedProvider` | [SupportedProvider](#supportedprovider) | Web3 provider to use for all JSON RPC requests |
`data` | string | The hex encoded data signed by the supplied signature. |
`signature` | string | A hex encoded 0x Protocol signature made up of: [TypeSpecificData][SignatureType]. E.g [vrs][SignatureType.EIP712] |
`signerAddress` | string | The hex encoded address that signed the data, producing the supplied signature. |
`exchangeAddress?` | undefined \| string | Optional address of the Exchange contract to validate the signature against. |
**Returns:** *`Promise<boolean>`*
Whether the signature is valid for the supplied signerAddress and data.
#### isValidValidatorSignatureAsync
▸ **isValidValidatorSignatureAsync**(`supportedProvider`: [SupportedProvider](#supportedprovider), `data`: string, `signature`: string, `signerAddress`: string, `exchangeAddress?`: undefined | string): *`Promise<boolean>`*
*Defined in [order-utils/src/signature_utils.ts:168](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/signature_utils.ts#L168)*
Verifies that the provided validator signature is valid according to the 0x Protocol smart contracts
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`supportedProvider` | [SupportedProvider](#supportedprovider) | Web3 provider to use for all JSON RPC requests |
`data` | string | The hex encoded data signed by the supplied signature. |
`signature` | string | A hex encoded presigned 0x Protocol signature made up of: [SignatureType.Presigned] |
`signerAddress` | string | The hex encoded address that signed the data, producing the supplied signature. |
`exchangeAddress?` | undefined \| string | The address of the Exchange contract to validate the signature against. |
**Returns:** *`Promise<boolean>`*
Whether the data was preSigned by the supplied signerAddress.
#### isValidWalletSignatureAsync
▸ **isValidWalletSignatureAsync**(`supportedProvider`: [SupportedProvider](#supportedprovider), `data`: string, `signature`: string, `signerAddress`: string): *`Promise<boolean>`*
*Defined in [order-utils/src/signature_utils.ts:139](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/signature_utils.ts#L139)*
Verifies that the provided wallet signature is valid according to the 0x Protocol smart contracts
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`supportedProvider` | [SupportedProvider](#supportedprovider) | Web3 provider to use for all JSON RPC requests |
`data` | string | The hex encoded data signed by the supplied signature. |
`signature` | string | A hex encoded presigned 0x Protocol signature made up of: [SignatureType.Presigned] |
`signerAddress` | string | The hex encoded address that signed the data, producing the supplied signature. |
**Returns:** *`Promise<boolean>`*
Whether the data was preSigned by the supplied signerAddress.
#### parseECSignature
▸ **parseECSignature**(`signature`: string): *`ECSignature`*
*Defined in [order-utils/src/signature_utils.ts:512](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/signature_utils.ts#L512)*
Parse a 0x protocol hex-encoded signature string into its ECSignature components
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`signature` | string | A hex encoded ecSignature 0x Protocol signature |
**Returns:** *`ECSignature`*
An ECSignature object with r,s,v parameters
#### parseValidatorSignature
▸ **parseValidatorSignature**(`signature`: string): *`ValidatorSignature`*
*Defined in [order-utils/src/signature_utils.ts:529](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/signature_utils.ts#L529)*
Parse a hex-encoded Validator signature into validator address and signature components
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`signature` | string | A hex encoded Validator 0x Protocol signature |
**Returns:** *`ValidatorSignature`*
A ValidatorSignature with validatorAddress and signature parameters
<hr />
## Object literals
#### `Const` transactionHashUtils
#### ▪ **transactionHashUtils**: *object*
*Defined in [order-utils/src/transaction_hash.ts:9](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/transaction_hash.ts#L9)*
#### getTransactionHashBuffer
▸ **getTransactionHashBuffer**(`transaction`: `ZeroExTransaction` | `SignedZeroExTransaction`): *`Buffer`*
*Defined in [order-utils/src/transaction_hash.ts:41](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/transaction_hash.ts#L41)*
Computes the transactionHash for a supplied 0x transaction.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`transaction` | `ZeroExTransaction` \| `SignedZeroExTransaction` | An object that conforms to the ZeroExTransaction or SignedZeroExTransaction interface definitions. |
**Returns:** *`Buffer`*
A Buffer containing the resulting transactionHash from hashing the supplied 0x transaction.
#### getTransactionHashHex
▸ **getTransactionHashHex**(`transaction`: `ZeroExTransaction` | `SignedZeroExTransaction`): *string*
*Defined in [order-utils/src/transaction_hash.ts:30](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/transaction_hash.ts#L30)*
Computes the transactionHash for a supplied 0x transaction.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`transaction` | `ZeroExTransaction` \| `SignedZeroExTransaction` | An object that conforms to the ZeroExTransaction or SignedZeroExTransaction interface definitions. |
**Returns:** *string*
Hex encoded string transactionHash from hashing the supplied order.
#### isValidTransactionHash
▸ **isValidTransactionHash**(`transactionHash`: string): *boolean*
*Defined in [order-utils/src/transaction_hash.ts:17](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/order-utils/src/transaction_hash.ts#L17)*
Checks if the supplied hex encoded 0x transaction hash is valid.
Note: Valid means it has the expected format, not that a transaction with the transactionHash exists.
Use this method when processing transactionHashes submitted as user input.
**Parameters:**
Name | Type | Description |
------ | ------ | ------ |
`transactionHash` | string | Hex encoded transactionHash. |
**Returns:** *boolean*
Whether the supplied transactionHash has the expected format.
<hr />
<hr />
<hr />
## Type aliases
#### Callback
Ƭ **Callback**: *function*
*Defined in [subproviders/src/types.ts:131](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/types.ts#L131)*
##### Type declaration:
▸ (): *void*
___
### ErrorCallback
Ƭ **ErrorCallback**: *function*
*Defined in [subproviders/src/types.ts:130](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/subproviders/src/types.ts#L130)*
#### Type declaration:
▸ (`err`: `Error` | null, `data?`: any): *void*
**Parameters:**
Name | Type |
------ | ------ |
`err` | `Error` \| null |
`data?` | any |
___
## Type aliases
### AssetData
Ƭ **AssetData**: *[SingleAssetData](_types_src_index_.md#singleassetdata) | [MultiAssetData](#interface-multiassetdata) | [MultiAssetDataWithRecursiveDecoding](#interface-multiassetdatawithrecursivedecoding)*
*Defined in [types/src/index.ts:224](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L224)*
___
### EventCallback
Ƭ **EventCallback**: *function*
*Defined in [types/src/index.ts:857](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L857)*
#### Type declaration:
▸ (`err`: null | `Error`, `log?`: [DecodedLogEvent](#interface-decodedlogevent)*`ArgsType`*): *void*
**Parameters:**
Name | Type |
------ | ------ |
`err` | null \| `Error` |
`log?` | [DecodedLogEvent](#interface-decodedlogevent)*`ArgsType`* |
___
### SingleAssetData
Ƭ **SingleAssetData**: *[ERC20AssetData](#interface-erc20assetdata) | [ERC721AssetData](#interface-erc721assetdata) | [ERC1155AssetData](#interface-erc1155assetdata) | [StaticCallAssetData](#interface-staticcallassetdata)*
*Defined in [types/src/index.ts:204](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/types/src/index.ts#L204)*
<hr />
<hr />