SwapFeeRouter

Verified contract

Active on Ethereum with 527 txns
Deployed by via 0xfd30526d at 15917579
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $42.33
ERC-20
Value $38.85
ERC-20
Value $37.21
ERC-20
Value $33.88
ERC-20
Value $29.92
ERC-20
Value $20.02
ERC-20
Value $19.98
ERC-20
Value $15.41
ERC-20
Value $12.7
ERC-20
Value $12.22
0xdfd8a891d7cf45d592e8161805a4bf0dfb3371d2ddff2f9bce23e5d89f53907d
0x00e7a75dd7688b4580d47185467071e2f0b060d8a8727526dacaeca562a8d847
0x7f7dffed3ae4a1819a9b7a0a0d569d73ee8540000154709c9f5944a5f8929bdb
0x2ecd5685a2d4e0bf42ca10919ae37dbffdf278f788a3f728151b208493c3ec95
0xdff0dbab765be973526dab5a2ef6d350f2bcd347b7015b4514a711ecce4abf86
0xdb071262aa20300aa1ab24bfba2d5fa39ec2102fc5afd27fef862a49bef2507e
0xcc8f82b8b715befca1b00fe4414b62cba80fa1c399e9b19ce3c1084a4b855b63
0x332735d2e937b0a4d8adc3c7ff7733f43bc0441dbada86bfda7f1cbd906be08e
0xc75dfa9fa1ebde3698e1c4ecf799741f668dd5c0d51fb8edb825861500257a42
0xeb1455b2a442beecee840e1f736963b57ccd6c3548cc279cd6f0960fc413efda

Functions
Getter at block 20862539
feeBasisPoints(view returns (uint256)
50
owner(view returns (address)
0xde23cdb3c846e04a369964cbab24ff03c567a7a8
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getAmountWithFees(uint256 amountWithoutFees_uint256 feeBasisPoints_pure returns (uint256 amountWithFees_)
getAmountWithoutFees(uint256 amountWithFees_uint256 feeBasisPoints_pure returns (uint256 amountWithoutFees_)
isWhitelisted(addressview returns (bool)
State-modifying
acceptOwnership(
addToWhitelist(address[] whitelist_
pullETH(address destination_
pullToken(address token_address destination_
pullTokens(address[] tokens_address destination_
removeFromWhitelist(address[] whitelist_
setFee(uint256 feeBasisPoints_
setPendingOwner(address pendingOwner_
swapFromEthWithFeesOnInput(uint256 feeBasisPoints_address swapContract_bytes swapCallData_payable 
swapFromEthWithFeesOnOutput(address outAsset_uint256 feeBasisPoints_address swapContract_bytes swapCallData_payable 
swapToEthWithFeesOnInput(address inAsset_uint256 swapAmount_uint256 feeBasisPoints_address swapContract_address tokenPuller_bytes swapCallData_
swapToEthWithFeesOnOutput(address inAsset_uint256 swapAmount_uint256 feeBasisPoints_address swapContract_address tokenPuller_bytes swapCallData_
swapWithFeesOnInput(address inAsset_uint256 swapAmount_uint256 feeBasisPoints_address swapContract_address tokenPuller_bytes swapCallData_
swapWithFeesOnOutput(address inAsset_uint256 swapAmount_address outAsset_uint256 feeBasisPoints_address swapContract_address tokenPuller_bytes swapCallData_
Events
ContractAddedToWhitelist(address indexed contract_
ContractRemovedFromWhitelist(address indexed contract_
ETHPulled(address indexed destination_uint256 amount_
FeeSet(uint256 feeBasisPoints_
OwnerSet(address indexed newOwner_
PendingOwnerSet(address indexed pendingOwner_
TokensPulled(address indexed token_address indexed destination_uint256 amount_
Constructor
constructor(address owner_uint256 feeBasisPoints_address[] whitelist_
Fallback and receive
receive(
Errors
ContractNotWhitelisted(address callee
ETHTransferFailed(bytes errorData
FeeBasisPointsNotRespected(uint256 expectedFeeBasisPoints_uint256 actualFeeBasisPoints_
RenterAttempted(
SwapCallFailed(bytes errorData
Unauthorized(
ZeroAddress(