LibEIP712
constructor
Exchange
nonpayable
Inputs
(void)
Outputs
(void)
MAssetProxyDispatcher
event
AssetProxyRegistered
Inputs
| Parameter | Type | Description |
|---|---|---|
| id | bytes4 | |
| assetProxy | address |
Outputs
(void)
MExchangeCore
event
CancelUpTo
Inputs
| Parameter | Type | Description |
|---|---|---|
| makerAddress | address | |
| senderAddress | address | |
| orderEpoch | uint256 |
Outputs
(void)
event
Cancel
Inputs
| Parameter | Type | Description |
|---|---|---|
| makerAddress | address | |
| feeRecipientAddress | address | |
| senderAddress | address | |
| orderHash | bytes32 | |
| makerAssetData | bytes | |
| takerAssetData | bytes |
Outputs
(void)
event
Fill
Inputs
| Parameter | Type | Description |
|---|---|---|
| makerAddress | address | |
| feeRecipientAddress | address | |
| takerAddress | address | |
| senderAddress | address | |
| makerAssetFilledAmount | uint256 | |
| takerAssetFilledAmount | uint256 | |
| makerFeePaid | uint256 | |
| takerFeePaid | uint256 | |
| orderHash | bytes32 | |
| makerAssetData | bytes | |
| takerAssetData | bytes |
Outputs
(void)
MSignatureValidator
event
SignatureValidatorApproval
Inputs
| Parameter | Type | Description |
|---|---|---|
| signerAddress | address | |
| validatorAddress | address | |
| approved | bool |
Outputs
(void)
MixinAssetProxyDispatcher
function
registerAssetProxy
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| assetProxy | address |
Outputs
(void)
function
getAssetProxy
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| assetProxyId | bytes4 |
Outputs
| Type | Description |
|---|---|
| address |
MixinExchangeCore
function
cancelOrder
nonpayable
Restricted (nonReentrant)
Inputs
| Parameter | Type | Description |
|---|---|---|
| order | tuple |
Outputs
(void)
function
fillOrder
nonpayable
Restricted (nonReentrant)
Inputs
| Parameter | Type | Description |
|---|---|---|
| order | tuple | |
| takerAssetFillAmount | uint256 | |
| signature | bytes |
Outputs
| Type | Description |
|---|---|
| tuple |
function
cancelOrdersUpTo
nonpayable
Restricted (nonReentrant)
Inputs
| Parameter | Type | Description |
|---|---|---|
| targetOrderEpoch | uint256 |
Outputs
(void)
function
getOrderInfo
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| order | tuple |
Outputs
| Type | Description |
|---|---|
| tuple |
MixinMatchOrders
function
matchOrders
nonpayable
Restricted (nonReentrant)
Inputs
| Parameter | Type | Description |
|---|---|---|
| leftOrder | tuple | |
| rightOrder | tuple | |
| leftSignature | bytes | |
| rightSignature | bytes |
Outputs
| Type | Description |
|---|---|
| tuple |
MixinSignatureValidator
function
setSignatureValidatorApproval
nonpayable
Restricted (nonReentrant)
Inputs
| Parameter | Type | Description |
|---|---|---|
| validatorAddress | address | |
| approval | bool |
Outputs
(void)
function
preSign
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| hash | bytes32 | |
| signerAddress | address | |
| signature | bytes |
Outputs
(void)
function
isValidSignature
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| hash | bytes32 | |
| signerAddress | address | |
| signature | bytes |
Outputs
| Type | Description |
|---|---|
| bool |
MixinTransactions
function
executeTransaction
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| salt | uint256 | |
| signerAddress | address | |
| data | bytes | |
| signature | bytes |
Outputs
(void)
MixinWrapperFunctions
function
marketBuyOrders
nonpayable
Restricted (nonReentrant)
Inputs
| Parameter | Type | Description |
|---|---|---|
| orders | tuple[] | |
| makerAssetFillAmount | uint256 | |
| signatures | bytes[] |
Outputs
| Type | Description |
|---|---|
| tuple |
function
marketSellOrders
nonpayable
Restricted (nonReentrant)
Inputs
| Parameter | Type | Description |
|---|---|---|
| orders | tuple[] | |
| takerAssetFillAmount | uint256 | |
| signatures | bytes[] |
Outputs
| Type | Description |
|---|---|
| tuple |
function
fillOrKillOrder
nonpayable
Restricted (nonReentrant)
Inputs
| Parameter | Type | Description |
|---|---|---|
| order | tuple | |
| takerAssetFillAmount | uint256 | |
| signature | bytes |
Outputs
| Type | Description |
|---|---|
| tuple |
function
batchFillOrKillOrders
nonpayable
Restricted (nonReentrant)
Inputs
| Parameter | Type | Description |
|---|---|---|
| orders | tuple[] | |
| takerAssetFillAmounts | uint256[] | |
| signatures | bytes[] |
Outputs
| Type | Description |
|---|---|
| tuple |
function
batchCancelOrders
nonpayable
Restricted (nonReentrant)
Inputs
| Parameter | Type | Description |
|---|---|---|
| orders | tuple[] |
Outputs
(void)
function
batchFillOrders
nonpayable
Restricted (nonReentrant)
Inputs
| Parameter | Type | Description |
|---|---|---|
| orders | tuple[] | |
| takerAssetFillAmounts | uint256[] | |
| signatures | bytes[] |
Outputs
| Type | Description |
|---|---|
| tuple |
function
marketSellOrdersNoThrow
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| orders | tuple[] | |
| takerAssetFillAmount | uint256 | |
| signatures | bytes[] |
Outputs
| Type | Description |
|---|---|
| tuple |
function
marketBuyOrdersNoThrow
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| orders | tuple[] | |
| makerAssetFillAmount | uint256 | |
| signatures | bytes[] |
Outputs
| Type | Description |
|---|---|
| tuple |
function
batchFillOrdersNoThrow
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| orders | tuple[] | |
| takerAssetFillAmounts | uint256[] | |
| signatures | bytes[] |
Outputs
| Type | Description |
|---|---|
| tuple |
function
fillOrderNoThrow
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| order | tuple | |
| takerAssetFillAmount | uint256 | |
| signature | bytes |
Outputs
| Type | Description |
|---|---|
| tuple |
function
getOrdersInfo
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| orders | tuple[] |
Outputs
| Type | Description |
|---|---|
| tuple[] |
Ownable
function
transferOwnership
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| newOwner | address |
Outputs
(void)
function
VERSION
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| string |
function
currentContextAddress
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
EIP712_DOMAIN_HASH
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| bytes32 |
function
ZRX_ASSET_DATA
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| bytes |
function
orderEpoch
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| address | ||
| address |
Outputs
| Type | Description |
|---|---|
| uint256 |
function
owner
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
preSigned
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| bytes32 | ||
| address |
Outputs
| Type | Description |
|---|---|
| bool |
function
allowedValidators
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| address | ||
| address |
Outputs
| Type | Description |
|---|---|
| bool |
function
transactions
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| bytes32 |
Outputs
| Type | Description |
|---|---|
| bool |
function
assetProxies
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| bytes4 |
Outputs
| Type | Description |
|---|---|
| address |
function
cancelled
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| bytes32 |
Outputs
| Type | Description |
|---|---|
| bool |
function
filled
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| bytes32 |
Outputs
| Type | Description |
|---|---|
| uint256 |