ForwardingSwapProxy
Verified contract
Active on
Ethereum with 49 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "ForwardingSwapProxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 15993746 | 2 years ago | | | 0 | 0.00055578564 | |
| 15914612 | 2 years ago | | | 0 | 0.0015283750 | |
| 15914069 | 2 years ago | | | 0 | 0.0043969664 | |
| 15914067 | 2 years ago | | | 0 | 0.0042126275 | |
| 15887030 | 2 years ago | | | 0 | 0.0030545267 | |
| 15887001 | 2 years ago | | | 0 | 0.0027685544 | |
| 15876993 | 2 years ago | | | 0.009 | 0.0052142793 | |
| 15876848 | 2 years ago | | | 0 | 0.0034600060 | |
| 15876829 | 2 years ago | | | 0 | 0.0077065877 | |
| 15876762 | 2 years ago | | | 0.016 | 0.0059791151 |
ABI
ABI objects
Getter at block 21394952
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
WETH() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
ethContract() view returns (address)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
feePercentage() view returns (uint256)
50000000000000000
feedRegistry() view returns (address)
0x47fb2585d2c56fe188d0e6ec628a38b74fceeedf
paused() view returns (bool)
true
uniswapV2Router() view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
vault() view returns (address)
0xaeac332b9de01d01448754e884db3b070ae3c761
Read-only
calculatePercentageFeeInETH(address _token, uint256 _amount, uint256 _gasRefund) view returns (uint256 feeTotalInETH, uint256 feeTotalInToken)
getChainlinkRate(address _fromToken, address _toToken) view returns (uint256 exchangeRate)
getExchangeRate(address _fromToken, address _toToken) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
getUniswapV2Rate(address _fromToken, address _toToken) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
isEth(address _token) pure returns (bool)
isWhitelisted(address _address) view returns (bool)
scaleAmountFromDecimals(uint256 _amount, uint8 _inputDecimals, uint8 _outputDecimals) pure returns (uint256)
scaleAmountFromTokenDecimals(address _token, uint256 _amount, uint8 _inputDecimals) view returns (uint256 amount)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addToWhitelist(address _address)
grantRole(bytes32 role, address account)
proxySwapWithFee(address _fromToken, address _toToken, struct IForwardingSwapProxySwapParams _swapParams, uint256 _gasRefund, uint256 _minimumReturnAmount) payable
removeFromWhitelist(address _address)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setContractPaused(bool _pauseContract)
setFee(uint256 _fee)
setVault(address _vault)
withdrawERC20(address _token)
AddedToWhitelist(address indexed contractAddress)
Paused(address account)
RemovedFromWhitelist(address indexed contractAddress)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SetFee(address indexed from, uint256 fee)
Unpaused(address account)
VaultSet(address vault, address indexed setter)
constructor(address _admin)
receive()
PRBMath__MulDivFixedPointOverflow(uint256 prod1)
PRBMath__MulDivOverflow(uint256 prod1, uint256 denominator)