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 "SwitchView"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "SwitchView"
ABI
ABI objects
Getter at block 23580141
ETH_ADDRESS() view returns (address)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
ZERO_ADDRESS() view returns (address)
0x0000000000000000000000000000000000000000
dexCount() view returns (uint256)
1
otherToken() view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
owner() view returns (address)
0x46fd07da395799f113a7584563b8cb886f33c2bc
pathCount() view returns (uint256)
2
pathSplit() view returns (uint256)
1
weth() view returns (address)
0x4200000000000000000000000000000000000006
Read-only
calculate(struct ISwitchViewCalculateArgs args) view returns (uint256[] rets)
factories(uint256) view returns (address)
getExpectedReturn(address fromToken, address destToken, uint256 amount, uint256 parts) view returns (uint256 returnAmount, uint256[] distribution)
State-modifying
Events renounceOwnership()
setFactories(address[] _factories)
setOtherToken(address _otherToken)
setPathCount(uint256 _pathCount)
setPathSplit(uint256 _pathSplit)
setWETH(address _weth)
transferOwnership(address newOwner)
FactoriesSet(address[] _factories)
OtherTokenSet(address _otherToken)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PathCountSet(uint256 _pathCount)
PathSplitSet(uint256 _pathSplit)
WETHSet(address _weth)
constructor(address _weth, address _otherToken, uint256 _pathCount, uint256 _pathSplit, address[] _factories)
This contract contains no fallback and receive objects.
This contract contains no error objects.