SwitchView

Verified contract

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

No balances found for "SwitchView"

No transactions found for "SwitchView"


Functions
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 argsview returns (uint256[] rets)
factories(uint256view returns (address)
getExpectedReturn(address fromTokenaddress destTokenuint256 amountuint256 partsview returns (uint256 returnAmountuint256[] distribution)
State-modifying
renounceOwnership(
setFactories(address[] _factories
setOtherToken(address _otherToken
setPathCount(uint256 _pathCount
setPathSplit(uint256 _pathSplit
setWETH(address _weth
transferOwnership(address newOwner
Events
FactoriesSet(address[] _factories
OtherTokenSet(address _otherToken
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PathCountSet(uint256 _pathCount
PathSplitSet(uint256 _pathSplit
WETHSet(address _weth
Constructor
constructor(address _wethaddress _otherTokenuint256 _pathCountuint256 _pathSplitaddress[] _factories
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.