see the source
CancelOrdersChallenge
Execution cost: less than 42843 gas
Deployment cost: less than 1656800 gas
Combined cost: less than 1699643 gas
Params:
- _owner of type
address
Execution cost: No bound available
Params:
- orderOperatorHashes of type
bytes32[]
- wallet of type
address
Execution cost: No bound available
Params:
- orderOperatorHash of type
bytes32
- tradeHash of type
bytes32
- wallet of type
address
Execution cost: No bound available
Params:
- oldConfiguration of type
address
- newConfiguration of type
address
Execution cost: No bound available
Params:
- oldDeployer of type
address
- newDeployer of type
address
Execution cost: No bound available
Params:
- oldOperator of type
address
- newOperator of type
address
Execution cost: No bound available
Params:
- oldAddress of type
address
- newAddress of type
address
Execution cost: No bound available
Params:
- orders of type
tuple[]
Get cancelled order hashes for given wallet in the given index range
Execution cost: No bound available
Attributes: constant
Params:
-
wallet of type
address
The wallet for which to return the nonces of cancelled orders
-
low of type
uint256
The lower inclusive index from which to extract orders
-
up of type
uint256
The upper inclusive index from which to extract orders
Returns:
The array of cancelled operator hashes
- output_0 of type
bytes32[]
Destroy this contract
Requires that msg.sender is the defined destructor
Execution cost: No bound available
Get count of wallets that have cancelled orders
Execution cost: less than 529 gas
Attributes: constant
Returns:
The count of cancelling wallets
- output_0 of type
uint256
Execution cost: less than 1154 gas
Attributes: constant
Params:
- param_0 of type
uint256
Returns:
- output_0 of type
address
Get count of cancelled orders for given wallet
Execution cost: No bound available
Attributes: constant
Params:
-
wallet of type
address
The wallet for which to return the count of cancelled orders
Returns:
The count of cancelled orders
- output_0 of type
uint256
Execution cost: No bound available
Params:
- trade of type
tuple
- wallet of type
address
Return the address that is able to initiate self-destruction
Execution cost: less than 767 gas
Attributes: constant
Returns:
- output_0 of type
address
Get current phase of a wallets cancelled order challenge
Execution cost: No bound available
Attributes: constant
Params:
-
wallet of type
address
The address of wallet for which the cancelled order challenge phase is returned
Returns:
The challenge phase
- output_0 of type
uint8
Execution cost: less than 1053 gas
Attributes: constant
Returns:
- output_0 of type
address
Execution cost: No bound available
Attributes: constant
Returns:
- output_0 of type
address
Get wallets cancelled status of order
Execution cost: No bound available
Attributes: constant
Params:
-
wallet of type
address
The ordering wallet
-
orderHash of type
bytes32
The (operator) hash of the order
Returns:
true if order is cancelled, else false
- output_0 of type
bool
Set the validator contract
Execution cost: No bound available
Params:
-
newAddress of type
address
The (address of) Validator contract instance
Set the deployer of this contract
Execution cost: No bound available
Params:
-
newDeployer of type
address
The address of the new deployer
Execution cost: less than 811 gas
Attributes: constant
Returns:
- output_0 of type
address
Set the configuration contract
Execution cost: No bound available
Params:
-
newConfiguration of type
address
The (address of) Configuration contract instance
Set the operator of this contract
Execution cost: No bound available
Params:
-
newOperator of type
address
The address of the new operator
Execution cost: No bound available
Attributes: constant
Returns:
- output_0 of type
address
Execution cost: No bound available
Attributes: constant
Params:
- param_0 of type
address
- param_1 of type
bytes32
Returns:
- output_0 of type
uint256
Execution cost: No bound available
Attributes: constant
Params:
- param_0 of type
address
- param_1 of type
uint256
Returns:
- output_0 of type
bytes32
Execution cost: less than 895 gas
Attributes: constant
Params:
- param_0 of type
address
Returns:
- output_0 of type
uint256
Execution cost: No bound available
Attributes: constant
Params:
- param_0 of type
address
- param_1 of type
bytes32
Returns:
- output_0 of type
bool
cancelOrders((uint256,address,(uint8,int256,((address,uint256),(address,uint256)),int256,(int256,int256)),((bytes32,(bytes32,bytes32,uint8)),(bytes32,(bytes32,bytes32,uint8))),uint256,uint256)[])
Cancel orders of msg.sender
Execution cost: No bound available
Params:
-
orders of type
undefined
The orders to cancel
challenge((uint256,int256,((address,uint256),(address,uint256)),int256,(uint256,address,uint256,uint8,(int256,(bytes32,bytes32),(int256,int256)),((int256,int256),(int256,int256)),((int256,(address,uint256)),(int256,(address,uint256))[])),(uint256,address,uint256,uint8,(int256,(bytes32,bytes32),(int256,int256)),((int256,int256),(int256,int256)),((int256,(address,uint256)),(int256,(address,uint256))[])),((int256,int256),(int256,int256)),(bytes32,(bytes32,bytes32,uint8)),uint256,uint256),address)
Challenge cancelled order
Execution cost: No bound available
Params:
-
trade of type
undefined
The trade that challenges a cancelled order
-
wallet of type
undefined
The concerned wallet