ForwardingSwapProxy

Verified contract

Active on Ethereum with 49 txns
Deployed by via 0xc0604c2b at 15400906
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "ForwardingSwapProxy"

0x8b5fe8bf9bb63aadf21f8ad9cdd950abb3e8b660082a3bb5c0b7ca7e807be6f5
0x54f593a420ec360cc2d405ed9bb71564e815965350beb87a429785abf66e6e63
0x18667e319918009e0ff8f3ea14bb1818c3a1d9113d2f880e999e3f1eddfc1ce3
0xaf6d09ed4ac3d61371da4e6bc465e74386adce929a2da13e1282e8b5805cbc03
0x8e3ee8d7fd3cc0575a938b36e5690cb0759080efacf8dfafab673c6b9cafa280
0x441872ccfe747d14d349a086db82326b36ae8ce8507fe8bf9227b2080785ccbf
0xc565203f37596223a0285b7df53c3d442c05c013a5fa79e65aa75a3e069d3bbb
0x6fc92e450e535f056450773da73f9a969a68ca2c3fa68bbcb8012417235a35ad
0xcfae3f009e1c1dea4efcafb94fe596399f72e12b56446b00f53086e8dbd67d3c
0x2d9ace084665312ad06da6f56e99954797253cd05a09019cf1db6ba4ecacd16c

Functions
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 _tokenuint256 _amountuint256 _gasRefundview returns (uint256 feeTotalInETHuint256 feeTotalInToken)
getChainlinkRate(address _fromTokenaddress _toTokenview returns (uint256 exchangeRate)
getExchangeRate(address _fromTokenaddress _toTokenview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getUniswapV2Rate(address _fromTokenaddress _toTokenview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isEth(address _tokenpure returns (bool)
isWhitelisted(address _addressview returns (bool)
scaleAmountFromDecimals(uint256 _amountuint8 _inputDecimalsuint8 _outputDecimalspure returns (uint256)
scaleAmountFromTokenDecimals(address _tokenuint256 _amountuint8 _inputDecimalsview returns (uint256 amount)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addToWhitelist(address _address
grantRole(bytes32 roleaddress account
proxySwapWithFee(address _fromTokenaddress _toTokenstruct IForwardingSwapProxySwapParams _swapParamsuint256 _gasRefunduint256 _minimumReturnAmountpayable 
removeFromWhitelist(address _address
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setContractPaused(bool _pauseContract
setFee(uint256 _fee
setVault(address _vault
withdrawERC20(address _token
Events
AddedToWhitelist(address indexed contractAddress
Paused(address account
RemovedFromWhitelist(address indexed contractAddress
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetFee(address indexed fromuint256 fee
Unpaused(address account
VaultSet(address vaultaddress indexed setter
Constructor
constructor(address _admin
Fallback and receive
receive(
Errors
PRBMath__MulDivFixedPointOverflow(uint256 prod1
PRBMath__MulDivOverflow(uint256 prod1uint256 denominator