SwapFeeRouter

Verified contract

Active on Ethereum with 925 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 $3,608.51
ERC-20
Value $711.43
ERC-20
Value $542.32
ERC-20
Value $409.56
ERC-20
Value $261.62
ERC-20
Value $207.34
ERC-20
Value $168.88
ERC-20
Value $158.97
ERC-20
Value $142.97
ERC-20
Value $94.65
0xacde94454de11829b22acd83f1e20a5a4517f4f3b0c47cd361efee1420266f8e
0xf12c58fd06183c11b235cdeb1c8053c03660ffe7fb543e6a567af6e38a1e0380
0x640f95a6e5ef69efc43e56f762552f660fc4ed894f9fd2f5af0b17bb7adc0f87
0xd9e96e193421de2681a6aa9541261d1d565e0e6f9c017e713639c6178c56e6a9
0x64cbe29cc81498338af216dc5ca7708ee723ab033f94ed7ac1e00cd7238440bb
0xe879ca7f6af3fa476ded32060bd229a5568d331cad1ffc09b1c9497a9cfad766
0x764b52d53a12dc0f61a98b863646763f283ab36185b2cdf4729c35d65f81c8a0
0x1ec2d48d88ff97f6323501233e3e82ae77134a49d4d6f248b20cee52faa46ee0
0x58b7fc10352ebd22cea7b3f67f095bc6f8395ec64a76bb7c0a1a123045662a95
0x4169afdbdcc8ea6f169cd95ad0f6306f0b206107c66548dfd34a35799ac66a44

Functions
Getter at block 21249449
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(