SwapFeeRouter
Verified contract
Active on
Ethereum with 897 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($604.78)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
SOL | ERC-20 | 0.867655 | $148.37 |
$128.73 | |
INJ | ERC-20 | 2.133823 | $21.43 |
$45.73 | |
PENDLE | ERC-20 | 11.488508 | $3.53 |
$40.55 | |
LINK | ERC-20 | 2.48413 | $11.45 |
$28.44 | |
BAT | ERC-20 | 147.619158 | $0.19204 |
$28.35 | |
TRAC | ERC-20 | 55.060187 | $0.512905 |
$28.24 | |
TRU | ERC-20 | 282.276159 | $0.099102 |
$27.97 | |
THOR | ERC-20 | 91.349568 | $0.300587 |
$27.46 | |
GUSD | ERC-20 | 25.49 | $1.001 |
$25.52 | |
SNX | ERC-20 | 12.329983 | $1.58 |
$19.48 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19262319 | 7 months ago | | | 0 | 0.0042862582 | |
| 19262306 | 7 months ago | | | 0 | 0.0013644025 | |
| 19181247 | 7 months ago | | | 0 | 0.0077141633 | |
| 19178861 | 7 months ago | | | 0 | 0.0049992140 | |
| 19178294 | 7 months ago | | | 0 | 0.0087298125 | |
| 19178278 | 7 months ago | | | 0.0041 | 0.0056820955 | |
| 19177774 | 7 months ago | | | 0 | 0.012996083 | |
| 19174299 | 7 months ago | | | 0.87425 | 0.0035523970 | |
| 19173630 | 7 months ago | | | 1.58 | 0.0049809165 | |
| 19171830 | 7 months ago | | | 0 | 0.0058010233 |
ABI
ABI objects
Getter at block 20799494
feeBasisPoints() view returns (uint256)
0
owner() view returns (address)
0x251a2f29d2b2b87736553ca140baf3b45a32cdbc
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(address) view returns (bool)
State-modifying
Events 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_)
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(address owner_, uint256 feeBasisPoints_, address[] whitelist_)
receive()
ContractNotWhitelisted(address callee)
ETHTransferFailed(bytes errorData)
FeeBasisPointsNotRespected(uint256 expectedFeeBasisPoints_, uint256 actualFeeBasisPoints_)
RenterAttempted()
SwapCallFailed(bytes errorData)
Unauthorized()
ZeroAddress()