SwapERC20

Verified contract

Active on Ethereum with 27 txns
Deployed by via 0x67939f0f at 19341464
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "SwapERC20"

0xdd5919ba6391d4f02231610f6276eb617fd275ab14e0f4ec2dc74fe3a391223a
0xdd754d33295d9489a8eb49ad45f59f26d6f0da4a6c0f3c9f14598ba5725f670c
0x02ab4d96698fe22aa75f6a45e142857b259f1bc98492c9bf6f5efbfd1a1ef24d
0x29409f6e41ac3493d5c6678901c4f8939708d13a08dbe458a63794ca9edc8fc1
0xfdf76c09f1f7484bcbcb0e117a81a2cd7b6efb21d6dd3b0238a16150439e32e8
0xc8c947d12c38cebd43f41328225aa34a333d531197481e15c1aeedf39a27f089
0x8487780b4beae1f74916c2b484db42381a26c0d08f3af1dee12cf873669f4676
0xd2f4f46a43498857b7df15f87454fb5fedcac86e4966b58cb612b41d7b0b32a5
0x1ba560a57f06390f30c8a6bd52605651a983eab31e6fe5a4cc276a9498c4aa6c
0x8ea604bf7cf65f562a5c64907bc414542a6eeb4957a7a040366e65d8adcd7fdd

Functions
Getter at block 21244968
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 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] 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(addressview returns (address)
calculateBonus(uint256 stakingBalanceuint256 feeAmountview returns (uint256)
calculateProtocolFee(address walletuint256 amountview returns (uint256)
check(address senderWalletuint256 nonceuint256 expiryaddress signerWalletaddress signerTokenuint256 signerAmountaddress senderTokenuint256 senderAmountuint8 vbytes32 rbytes32 sview returns (bytes32[])
nonceUsed(address signeruint256 nonceview returns (bool)
ownershipHandoverExpiresAt(address pendingOwnerview returns (uint256 result)
State-modifying
authorize(address signatory
cancel(uint256[] nonces
cancelOwnershipHandover(payable 
completeOwnershipHandover(address pendingOwnerpayable 
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 recipientuint256 nonceuint256 expiryaddress signerWalletaddress signerTokenuint256 signerAmountaddress senderTokenuint256 senderAmountuint8 vbytes32 rbytes32 s
swapAnySender(address recipientuint256 nonceuint256 expiryaddress signerWalletaddress signerTokenuint256 signerAmountaddress senderTokenuint256 senderAmountuint8 vbytes32 rbytes32 s
swapLight(uint256 nonceuint256 expiryaddress signerWalletaddress signerTokenuint256 signerAmountaddress senderTokenuint256 senderAmountuint8 vbytes32 rbytes32 s
transferOwnership(address newOwnerpayable 
Events
Authorize(address indexed signeraddress indexed signerWallet
Cancel(uint256 indexed nonceaddress indexed signerWallet
OwnershipHandoverCanceled(address indexed pendingOwner
OwnershipHandoverRequested(address indexed pendingOwner
OwnershipTransferred(address indexed oldOwneraddress indexed newOwner
Revoke(address indexed signeraddress 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 nonceaddress indexed signerWallet
Constructor
constructor(uint256 _protocolFeeuint256 _protocolFeeLightaddress _protocolFeeWalletuint256 _bonusScaleuint256 _bonusMax
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyInitialized(
ChainIdChanged(
InvalidFee(
InvalidFeeLight(
InvalidFeeWallet(
InvalidStaking(
MaxTooHigh(
NewOwnerIsZeroAddress(
NoHandoverRequest(
NonceAlreadyUsed(uint256 arg0
OrderExpired(
ScaleTooHigh(
SignatoryInvalid(
SignatureInvalid(
TransferFromFailed(
Unauthorized(