Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xc02a…6cc2
0xc02a…6cc2
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 21157846
ETH_ADDRESS() view returns (address)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
ZERO_ADDRESS() view returns (address)
0x0000000000000000000000000000000000000000
dexCount() view returns (uint256)
3
otherToken() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
owner() view returns (address)
0xe2b6f88dcc3c95f1b0c0682eaa2efa03e1f2d6f7
pathCount() view returns (uint256)
2
pathSplit() view returns (uint256)
2
weth() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
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.