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 "SwapERC20"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21064752 | 16 days ago | | | 0 | 0.0016399535 | |
| 21064211 | 16 days ago | | | 0 | 0.0018808548 | |
| 20979937 | a month ago | | | 0 | 0.0025842574 | |
| 20973328 | a month ago | | | 0 | 0.0035667911 | |
| 20973306 | a month ago | | | 0 | 0.0035225434 | |
| 20973297 | a month ago | | | 0 | 0.0031918539 | |
| 20878757 | a month ago | | | 0 | 0.0017217647 | |
| 20649616 | 2 months ago | | | 0 | 0.00013407700 | |
| 20632603 | 2 months ago | | | 0 | 0.00020344027 | |
| 20536265 | 3 months ago | | | 0 | 0.00092620529 |
ABI
ABI objects
Getter at block 21176369
DOMAIN_CHAIN_ID() view returns (uint256)
1
DOMAIN_SEPARATOR() view returns (bytes32)
0xaabfe9420187d84b5cd327543506b7cbab9ba48cc6cf8f05f5865755d4921d9d
FEE_DIVISOR() view returns (uint256)
10000
ORDER_TYPEHASH() view returns (bytes32)
0xc0c0b55c946f3a31595c7c56c2fcfb240731b0e424d96f05eea86f1997ebf0d8
bonusMax() view returns (uint256)
100
bonusScale() view returns (uint256)
10
eip712Domain() view returns (bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
(fields=0x0f, name=SWAP_ERC20, version=4.3, chainId=1, verifyingContract=0xd82e10b9a4107939e55fcca9b53a9ede6cf2fc46, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
owner() view returns (address result)
0xf8bb149f9525875fa47b8cc632d368eb600faba3
protocolFee() view returns (uint256)
5
protocolFeeLight() view returns (uint256)
5
protocolFeeWallet() view returns (address)
0xad30f7eebd9bd5150a256f47da41d4403033cdf0
stakingToken() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
authorized(address) view returns (address)
calculateBonus(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 (bytes32[])
nonceUsed(address signer, uint256 nonce) view returns (bool)
ownershipHandoverExpiresAt(address pendingOwner) view returns (uint256 result)
State-modifying
Events authorize(address signatory)
cancel(uint256[] nonces)
cancelOwnershipHandover() payable
completeOwnershipHandover(address pendingOwner) payable
renounceOwnership() payable
requestOwnershipHandover() payable
revoke()
setBonusMax(uint256 _bonusMax)
setBonusScale(uint256 _bonusScale)
setProtocolFee(uint256 _protocolFee)
setProtocolFeeLight(uint256 _protocolFeeLight)
setProtocolFeeWallet(address _protocolFeeWallet)
setStaking(address _stakingToken)
swap(address recipient, uint256 nonce, uint256 expiry, address signerWallet, address signerToken, uint256 signerAmount, address senderToken, uint256 senderAmount, uint8 v, bytes32 r, bytes32 s)
swapAnySender(address recipient, uint256 nonce, uint256 expiry, address signerWallet, address signerToken, uint256 signerAmount, address senderToken, uint256 senderAmount, uint8 v, bytes32 r, bytes32 s)
swapLight(uint256 nonce, uint256 expiry, address signerWallet, address signerToken, uint256 signerAmount, address senderToken, uint256 senderAmount, uint8 v, bytes32 r, bytes32 s)
transferOwnership(address newOwner) payable
Authorize(address indexed signer, address indexed signerWallet)
Cancel(uint256 indexed nonce, address indexed signerWallet)
OwnershipHandoverCanceled(address indexed pendingOwner)
OwnershipHandoverRequested(address indexed pendingOwner)
OwnershipTransferred(address indexed oldOwner, address indexed newOwner)
Revoke(address indexed signer, address indexed signerWallet)
SetBonusMax(uint256 bonusMax)
SetBonusScale(uint256 bonusScale)
SetProtocolFee(uint256 protocolFee)
SetProtocolFeeLight(uint256 protocolFeeLight)
SetProtocolFeeWallet(address indexed feeWallet)
SetStaking(address indexed staking)
SwapERC20(uint256 indexed nonce, address indexed signerWallet)
constructor(uint256 _protocolFee, uint256 _protocolFeeLight, address _protocolFeeWallet, uint256 _bonusScale, uint256 _bonusMax)
This contract contains no fallback and receive objects.
AlreadyInitialized()
ChainIdChanged()
InvalidFee()
InvalidFeeLight()
InvalidFeeWallet()
InvalidStaking()
MaxTooHigh()
NewOwnerIsZeroAddress()
NoHandoverRequest()
NonceAlreadyUsed(uint256 arg0)
OrderExpired()
ScaleTooHigh()
SignatoryInvalid()
SignatureInvalid()
TransferFromFailed()
Unauthorized()