SwitchView

Verified contract

Active on Base with 0 txns
Deployed by via 0x43786e15 at 5630420
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 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 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.