function
transferOwnership
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
newOwner | address |
Outputs
(void)
function
transactionsExecuted
view
Inputs
Parameter | Type | Description |
---|---|---|
bytes32 |
Outputs
Type | Description |
---|---|
bool |
function
simulateDispatchTransferFromCalls
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
assetData | bytes[] | |
fromAddresses | address[] | |
toAddresses | address[] | |
amounts | uint256[] |
Outputs
(void)
function
setSignatureValidatorApproval
payable
Inputs
Parameter | Type | Description |
---|---|---|
validatorAddress | address | |
approval | bool |
Outputs
(void)
function
setProtocolFeeMultiplier
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
updatedProtocolFeeMultiplier | uint256 |
Outputs
(void)
function
setProtocolFeeCollectorAddress
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
updatedProtocolFeeCollector | address |
Outputs
(void)
function
registerAssetProxy
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
assetProxy | address |
Outputs
(void)
function
protocolFeeMultiplier
view
Inputs
(void)
Outputs
Type | Description |
---|---|
uint256 |
function
protocolFeeCollector
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
preSigned
view
Inputs
Parameter | Type | Description |
---|---|---|
bytes32 | ||
address |
Outputs
Type | Description |
---|---|
bool |
function
preSign
payable
Inputs
Parameter | Type | Description |
---|---|---|
hash | bytes32 |
Outputs
(void)
function
owner
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
orderEpoch
view
Inputs
Parameter | Type | Description |
---|---|---|
address | ||
address |
Outputs
Type | Description |
---|---|
uint256 |
function
matchOrdersWithMaximalFill
payable
Inputs
Parameter | Type | Description |
---|---|---|
leftOrder | tuple | |
rightOrder | tuple | |
leftSignature | bytes | |
rightSignature | bytes |
Outputs
Type | Description |
---|---|
tuple |
function
matchOrders
payable
Inputs
Parameter | Type | Description |
---|---|---|
leftOrder | tuple | |
rightOrder | tuple | |
leftSignature | bytes | |
rightSignature | bytes |
Outputs
Type | Description |
---|---|
tuple |
function
marketSellOrdersNoThrow
payable
Inputs
Parameter | Type | Description |
---|---|---|
orders | tuple[] | |
takerAssetFillAmount | uint256 | |
signatures | bytes[] |
Outputs
Type | Description |
---|---|
tuple |
function
marketSellOrdersFillOrKill
payable
Inputs
Parameter | Type | Description |
---|---|---|
orders | tuple[] | |
takerAssetFillAmount | uint256 | |
signatures | bytes[] |
Outputs
Type | Description |
---|---|
tuple |
function
marketBuyOrdersNoThrow
payable
Inputs
Parameter | Type | Description |
---|---|---|
orders | tuple[] | |
makerAssetFillAmount | uint256 | |
signatures | bytes[] |
Outputs
Type | Description |
---|---|
tuple |
function
marketBuyOrdersFillOrKill
payable
Inputs
Parameter | Type | Description |
---|---|---|
orders | tuple[] | |
makerAssetFillAmount | uint256 | |
signatures | bytes[] |
Outputs
Type | Description |
---|---|
tuple |
function
isValidTransactionSignature
view
Inputs
Parameter | Type | Description |
---|---|---|
transaction | tuple | |
signature | bytes |
Outputs
Type | Description |
---|---|
bool |
function
isValidOrderSignature
view
Inputs
Parameter | Type | Description |
---|---|---|
order | tuple | |
signature | bytes |
Outputs
Type | Description |
---|---|
bool |
function
isValidHashSignature
view
Inputs
Parameter | Type | Description |
---|---|---|
hash | bytes32 | |
signerAddress | address | |
signature | bytes |
Outputs
Type | Description |
---|---|
bool |
function
getOrderInfo
view
Inputs
Parameter | Type | Description |
---|---|---|
order | tuple |
Outputs
Type | Description |
---|---|
tuple |
function
getAssetProxy
view
Inputs
Parameter | Type | Description |
---|---|---|
assetProxyId | bytes4 |
Outputs
Type | Description |
---|---|
address |
function
filled
view
Inputs
Parameter | Type | Description |
---|---|---|
bytes32 |
Outputs
Type | Description |
---|---|
uint256 |
function
fillOrder
payable
Inputs
Parameter | Type | Description |
---|---|---|
order | tuple | |
takerAssetFillAmount | uint256 | |
signature | bytes |
Outputs
Type | Description |
---|---|
tuple |
function
fillOrKillOrder
payable
Inputs
Parameter | Type | Description |
---|---|---|
order | tuple | |
takerAssetFillAmount | uint256 | |
signature | bytes |
Outputs
Type | Description |
---|---|
tuple |
function
executeTransaction
payable
Inputs
Parameter | Type | Description |
---|---|---|
transaction | tuple | |
signature | bytes |
Outputs
Type | Description |
---|---|
bytes |
function
detachProtocolFeeCollector
nonpayable
Inputs
(void)
Outputs
(void)
function
currentContextAddress
view
Inputs
(void)
Outputs
Type | Description |
---|---|
address |
function
cancelled
view
Inputs
Parameter | Type | Description |
---|---|---|
bytes32 |
Outputs
Type | Description |
---|---|
bool |
function
cancelOrdersUpTo
payable
Inputs
Parameter | Type | Description |
---|---|---|
targetOrderEpoch | uint256 |
Outputs
(void)
function
cancelOrder
payable
Inputs
Parameter | Type | Description |
---|---|---|
order | tuple |
Outputs
(void)
function
batchMatchOrdersWithMaximalFill
payable
Inputs
Parameter | Type | Description |
---|---|---|
leftOrders | tuple[] | |
rightOrders | tuple[] | |
leftSignatures | bytes[] | |
rightSignatures | bytes[] |
Outputs
Type | Description |
---|---|
tuple |
function
batchMatchOrders
payable
Inputs
Parameter | Type | Description |
---|---|---|
leftOrders | tuple[] | |
rightOrders | tuple[] | |
leftSignatures | bytes[] | |
rightSignatures | bytes[] |
Outputs
Type | Description |
---|---|
tuple |
function
batchFillOrdersNoThrow
payable
Inputs
Parameter | Type | Description |
---|---|---|
orders | tuple[] | |
takerAssetFillAmounts | uint256[] | |
signatures | bytes[] |
Outputs
Type | Description |
---|---|
tuple[] |
function
batchFillOrders
payable
Inputs
Parameter | Type | Description |
---|---|---|
orders | tuple[] | |
takerAssetFillAmounts | uint256[] | |
signatures | bytes[] |
Outputs
Type | Description |
---|---|
tuple[] |
function
batchFillOrKillOrders
payable
Inputs
Parameter | Type | Description |
---|---|---|
orders | tuple[] | |
takerAssetFillAmounts | uint256[] | |
signatures | bytes[] |
Outputs
Type | Description |
---|---|
tuple[] |
function
batchExecuteTransactions
payable
Inputs
Parameter | Type | Description |
---|---|---|
transactions | tuple[] | |
signatures | bytes[] |
Outputs
Type | Description |
---|---|
bytes[] |
function
batchCancelOrders
payable
Inputs
Parameter | Type | Description |
---|---|---|
orders | tuple[] |
Outputs
(void)
function
allowedValidators
view
Inputs
Parameter | Type | Description |
---|---|---|
address | ||
address |
Outputs
Type | Description |
---|---|
bool |
function
EIP712_EXCHANGE_DOMAIN_HASH
view
Inputs
(void)
Outputs
Type | Description |
---|---|
bytes32 |
function
EIP1271_MAGIC_VALUE
view
Inputs
(void)
Outputs
Type | Description |
---|---|
bytes4 |
event
TransactionExecution
Inputs
Parameter | Type | Description |
---|---|---|
transactionHash | bytes32 |
Outputs
(void)
event
SignatureValidatorApproval
Inputs
Parameter | Type | Description |
---|---|---|
signerAddress | address | |
validatorAddress | address | |
isApproved | bool |
Outputs
(void)
event
ProtocolFeeMultiplier
Inputs
Parameter | Type | Description |
---|---|---|
oldProtocolFeeMultiplier | uint256 | |
updatedProtocolFeeMultiplier | uint256 |
Outputs
(void)
event
ProtocolFeeCollectorAddress
Inputs
Parameter | Type | Description |
---|---|---|
oldProtocolFeeCollector | address | |
updatedProtocolFeeCollector | address |
Outputs
(void)
event
OwnershipTransferred
Inputs
Parameter | Type | Description |
---|---|---|
previousOwner | address | |
newOwner | address |
Outputs
(void)
event
Fill
Inputs
Parameter | Type | Description |
---|---|---|
makerAddress | address | |
feeRecipientAddress | address | |
makerAssetData | bytes | |
takerAssetData | bytes | |
makerFeeAssetData | bytes | |
takerFeeAssetData | bytes | |
orderHash | bytes32 | |
takerAddress | address | |
senderAddress | address | |
makerAssetFilledAmount | uint256 | |
takerAssetFilledAmount | uint256 | |
makerFeePaid | uint256 | |
takerFeePaid | uint256 | |
protocolFeePaid | uint256 |
Outputs
(void)
event
CancelUpTo
Inputs
Parameter | Type | Description |
---|---|---|
makerAddress | address | |
orderSenderAddress | address | |
orderEpoch | uint256 |
Outputs
(void)
event
Cancel
Inputs
Parameter | Type | Description |
---|---|---|
makerAddress | address | |
feeRecipientAddress | address | |
makerAssetData | bytes | |
takerAssetData | bytes | |
senderAddress | address | |
orderHash | bytes32 |
Outputs
(void)
event
AssetProxyRegistered
Inputs
Parameter | Type | Description |
---|---|---|
id | bytes4 | |
assetProxy | address |
Outputs
(void)
constructor
nonpayable
Inputs
Parameter | Type | Description |
---|---|---|
chainId | uint256 |
Outputs
(void)