Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "Swap"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17708242 | a year ago | | | 0 | 0.0038848800 | |
| 17533006 | a year ago | | | 0 | 0.0019420971 | |
| 17489412 | a year ago | | | 0 | 0.0021194777 | |
| 17439552 | a year ago | | | 0 | 0.0033740959 | |
| 17421995 | a year ago | | | 0 | 0.0054469700 | |
| 17375220 | 2 years ago | | | 0 | 0.0042194849 | |
| 17328770 | 2 years ago | | | 0 | 0.0054352292 | |
| 17328597 | 2 years ago | | | 0 | 0.0093288394 | |
| 17324862 | 2 years ago | | | 0 | 0.0081732540 | |
| 17280110 | 2 years ago | | | 0 | 0.017156684 |
ABI
ABI objects
Getter at block 21332275
DOMAIN_CHAIN_ID() view returns (uint256)
1
DOMAIN_NAME() view returns (bytes32)
0x497a7733c30c446bed91d579fce5ede8c3e0fbcdbe90a491d0a07e91d5b88b71
DOMAIN_SEPARATOR() view returns (bytes32)
0x504637c0f674c17d688f03167fcd72ae686a533b6b8dc1ab5219d6a832749525
DOMAIN_TYPEHASH() view returns (bytes32)
0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f
DOMAIN_VERSION() view returns (bytes32)
0x2a80e1ef1d7842f27f2e6be0972bb708b9a135c38860dbe73c27c3486c34f4de
FEE_DIVISOR() view returns (uint256)
10000
ORDER_TYPEHASH() view returns (bytes32)
0xff91e73ea790c2642a1cb1bf6c98e5211562aae911fd8eace405557cd7dc27a5
getChainId() view returns (uint256 id)
1
owner() view returns (address)
0xf8bb149f9525875fa47b8cc632d368eb600faba3
protocolFee() view returns (uint256)
7
protocolFeeLight() view returns (uint256)
7
protocolFeeWallet() view returns (address)
0xad30f7eebd9bd5150a256f47da41d4403033cdf0
rebateMax() view returns (uint256)
100
rebateScale() view returns (uint256)
10
staking() view returns (address)
0x6d88b09805b90dad911e5c5a512eedd984d6860b
Read-only
authorized(address) view returns (address)
calculateDiscount(uint256 stakingBalance, uint256 feeAmount) view returns (uint256)
calculateProtocolFee(address wallet, uint256 amount) view returns (uint256)
check(address senderWallet, uint256 nonce, uint256 expiry, address signerWallet, address signerToken, uint256 signerAmount, address senderToken, uint256 senderAmount, uint8 v, bytes32 r, bytes32 s) view returns (uint256, bytes32[])
nonceUsed(address signer, uint256 nonce) view returns (bool)
State-modifying
Events authorize(address signer)
buyNFT(uint256 nonce, uint256 expiry, address signerWallet, address signerToken, uint256 signerID, address senderToken, uint256 senderAmount, uint8 v, bytes32 r, bytes32 s)
cancel(uint256[] nonces)
light(uint256 nonce, uint256 expiry, address signerWallet, address signerToken, uint256 signerAmount, address senderToken, uint256 senderAmount, uint8 v, bytes32 r, bytes32 s)
renounceOwnership()
revoke()
sellNFT(uint256 nonce, uint256 expiry, address signerWallet, address signerToken, uint256 signerAmount, address senderToken, uint256 senderID, uint8 v, bytes32 r, bytes32 s)
setProtocolFee(uint256 _protocolFee)
setProtocolFeeLight(uint256 _protocolFeeLight)
setProtocolFeeWallet(address _protocolFeeWallet)
setRebateMax(uint256 _rebateMax)
setRebateScale(uint256 _rebateScale)
setStaking(address newstaking)
swap(address recipient, uint256 nonce, uint256 expiry, address signerWallet, address signerToken, uint256 signerAmount, address senderToken, uint256 senderAmount, uint8 v, bytes32 r, bytes32 s)
swapNFTs(uint256 nonce, uint256 expiry, address signerWallet, address signerToken, uint256 signerID, address senderToken, uint256 senderID, uint8 v, bytes32 r, bytes32 s)
transferOwnership(address newOwner)
Authorize(address indexed signer, address indexed signerWallet)
Cancel(uint256 indexed nonce, address indexed signerWallet)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Revoke(address indexed signer, address indexed signerWallet)
SetProtocolFee(uint256 protocolFee)
SetProtocolFeeLight(uint256 protocolFeeLight)
SetProtocolFeeWallet(address indexed feeWallet)
SetRebateMax(uint256 rebateMax)
SetRebateScale(uint256 rebateScale)
SetStaking(address indexed staking)
Swap(uint256 indexed nonce, uint256 timestamp, address indexed signerWallet, address signerToken, uint256 signerAmount, uint256 protocolFee, address indexed senderWallet, address senderToken, uint256 senderAmount)
constructor(uint256 _protocolFee, uint256 _protocolFeeLight, address _protocolFeeWallet, uint256 _rebateScale, uint256 _rebateMax, address _staking)
This contract contains no fallback and receive objects.
This contract contains no error objects.