SwapFeeRouter

Verified contract

Active on Ethereum with 721 txns
Deployed by via 0x70dedcab at 18676158
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $2,157.64
ERC-20
Value $484.74
ERC-20
Value $386.94
ERC-20
Value $343
ERC-20
Value $149.6
ERC-20
Value $97.39
ERC-20
Value $66.78
ERC-20
Value $46.49
ERC-20
Value $40.01
ERC-20
Value $32.85
0x01d91f6dc01113eb203a9dd3e8eb29cbdc790747cb0a33a5451c350833f3a676
0x0b56f6f49fe6f0057cbd25629df82037d7788484e7b5ed25ccf4243cd99dbe81
0x2f53cccfee0cb39870497e5b8dbe8c528bd4e4aebdfd81375abbddbfda559c6b
0x67a09f751141009332a9d9254c74ec732da5fbf21bae924813f6691f0bb9059b
0x3f94029b027146e0b84560966cc36dab25b25d2975687da63d86d2f6e643cf5b
0x442b3eff80186f878a9d7732dd27d856156032bc1e7b4c9b7abbee3acfe5b906
0xbb5667e7118a0091ab7387ad93912ac3ccabb3a6cf03eebe0a9f1de8991082fb
0xbd00ced67d3de1549011280f477ac3a8a521703a45627ee951987fa850840c83
0x25dabb425672262ac09c7e4cacf894bd1774197ce2a26cb9ee743995640e19d7
0xf9aa3a2c34718dbf8f3fbb3b093bdbe355dd5ee8b485ea2b5ac1e7e5b76f4a02

Functions
Getter at block 20860495
feeBasisPoints(view returns (uint256)
0
owner(view returns (address)
0x8597a795366eb248e081418b6fa7b1ffb788796d
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_payable 
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(