Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "Exchange"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21206527 | 3 days ago | | | 0 | 0.0044490589 | |
| 21206000 | 3 days ago | | | 0 | 0.0049998912 | |
| 21106495 | 17 days ago | | | 0 | 0.0014832657 | |
| 21106299 | 17 days ago | | | 0 | 0.0019729115 | |
| 20985106 | a month ago | | | 0 | 0.028769375 | |
| 20870628 | 2 months ago | | | 0 | 0.010135912 | |
| 20865330 | 2 months ago | | | 0 | 0.0074463603 | |
| 20833939 | 2 months ago | | | 0 | 0.0090067665 | |
| 20734447 | 2 months ago | | | 0 | 0.0015358541 | |
| 20382754 | 4 months ago | | | 0 | 0.0027951960 |
ABI
ABI objects
Getter at block 21229680 getTxnInfos() view returns (bytes32[])
adminReceiver() view returns (address)
0xcd7cbbe5552461272adcff071ae1d37a8cf662cf
adminTransfer() view returns (address)
0xac93e157b32c0b0e83228278f359a63b633978e9
limitTime() view returns (uint256)
86400
owner() view returns (address)
0xe4bc3d251c6d4d9919cccae0da90c29935a61c7a
signerAddress() view returns (address)
0xf7cc8e287387f2b6d0141832c2f3914bb52651bf
timeExpiredSignature() view returns (uint256)
1800
Read-only
getEthSignedMessageHash(bytes32 _messageHash) pure returns (bytes32)
getExchangeInfo(address from, address to) view returns (struct ExchangeExchangeInfo)
getMessageHash(address _to, address _tokenIn, uint256 _amountIn, address _tokenOut, uint256 _amountOutMin, uint256 _timestamp, string _msgHash) pure returns (bytes32)
getTotalAmountByUser(address user, address tokenFrom, address tokenTo) view returns (uint256)
getTxnInfo(bytes32 txnId) view returns (struct ExchangeTxnInfo)
operators(address) view returns (bool)
recoverSigner(bytes32 _ethSignedMessageHash, bytes _signature) pure returns (address)
splitSignature(bytes _sig) pure returns (bytes32 r, bytes32 s, uint8 v)
txnInfos(bytes32) view returns (bytes32 txnId, address sender, address tokenIn, uint256 amountIn, address tokenOut, uint256 amountOut, struct ExchangeExchangeInfo exchangeInfo, uint8 status, uint256 timestamp)
verifySignature(address _signer, address _to, address _tokenIn, uint256 _amountIn, address _tokenOut, uint256 _amountOutMin, uint256 _timestamp, string _msgHash, bytes _signature) pure returns (bool)
State-modifying
Events addOperator(address operator)
clearTxnInfos(uint256 timestamp)
depositExchange(address tokenIn, uint256 amountIn, address tokenOut, uint256 amountOutMin, uint256 timestamp, bytes signature) payable
removeExchangeInfo(address from, address to)
removeOperator(address operator)
removeTxnInfo(bytes32 txnId)
renounceOwnership()
setAdminReceiver(address _address)
setAdminTransfer(address _address)
setExchangeInfo(address from, address to, struct ExchangeExchangeInfo exchangeInfo)
setSignerAddress(address _address)
setTimeExpiredSignature(uint256 time)
transferOwnership(address newOwner)
withdraw(uint256 amount)
withdrawExchange(bytes32 txnId, address sender, address tokenIn, uint256 amountIn, address tokenOut, uint256 amountOut, struct ExchangeExchangeInfo exchangeInfo, uint256 timestamp) payable
withdrawToken(address tokenAddress, uint256 amount)
DepositExchange(struct ExchangeTxnInfo txnInfo)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
WithdrawExchange(struct ExchangeTxnInfo txnInfo)
constructor(address _signerAddress, address _adminReceiver, address _adminTransfer)
receive()
This contract contains no error objects.