SwitchAcrossV3

Verified contract

Active on Ethereum with 306 txns
Deployed by via 0x3c2b4293 at 20666817
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $121.23
ERC-20
Value $0.19
ERC-20
Value $0
0x673aac965651a65291a44ec0dfaac0e7c284cc3affa3d5d36c53f050b540f5ea
0x382060539da9c70ac1ec263bca57a4648e3ceca51d2106d92b39935ef36ef6df
0xa2d75be53d4294310ef1223da1536706032c969e5a5f2498aa60d9063c56bb75
0x20976e2231596779695720afcfca55620bf9b07cfb9f28dde73979fd5bbf3ad1
0xd07b9f35cbe0d708a9cb1463e741a3cb55a6adc46c3bef50d066e5ed865943ca
0xb048586bd218f31605254eb22c55ea2b9efbf2ee1566131c6b40aeb8612f23ee
0x858dd7149b27c48bed57e2af4386a0907a656ea2215bed6f5d4adf59a7e99536
0xa70b773fb96e45cabcf98987724a73bb83a39bdce9b8dd633438587fe4fb1c71
0x26e99432e21fbcc09864857d31c7c83eb2761370c2517f74565a7186d9cb44db
0x6b39b82620ced911796cad4a081b537485bc7527ff27ff6cad199ba6a5554c15

Functions
Getter at block 21273780
ETH_ADDRESS(view returns (address)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
FEE_BASE(view returns (uint256)
10000
ZERO_ADDRESS(view returns (address)
0x0000000000000000000000000000000000000000
acrossSpokePool(view returns (address)
0x5c7bcd6e7de5423a257d81b442095a1a6ced35c5
defaultSwingCut(view returns (uint256)
1500
dexCount(view returns (uint256)
3
feeCollector(view returns (address)
0x28b9089b5f2724c1898e7dbb04a96c8c177fe46d
otherToken(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
owner(view returns (address)
0x13c3418ee44270382b85c2865133c0ffacead6c7
pathCount(view returns (uint256)
2
pathSplit(view returns (uint256)
2
reward(view returns (address)
0x13c3418ee44270382b85c2865133c0ffacead6c7
switchEvent(view returns (address)
0x410f724847c92bc3cdacbcd4922f1d7833ec280a
switchView(view returns (address)
0x6b4aafe0a2c03b223b73a681b544b1617a976ccb
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
addressInAllowlist(address address_view returns (bool)
allowlist(addressview returns (bool)
factories(uint256view returns (address)
getExpectedReturn(address fromTokenaddress destTokenuint256 amountuint256 partsview returns (uint256 returnAmountuint256[] distribution)
getFeeInfo(uint256 amountaddress partneruint256 partnerFeeRateview returns (uint256 partnerFeeuint256 remainAmount)
getTokenBalance(address tokenview returns (uint256 amount)
State-modifying
addToAllowlist(address address_
addToAllowlistBatch(address[] addresses
handleV3AcrossMessage(address tokenSentuint256 amountaddress relayerbytes message
remoteSwap(struct SwitchAcrossV3AcrossSwapRequest muint256 amountaddress token
removeFromAllowlist(address address_
removeFromAllowlistBatch(address[] addresses
renounceOwnership(
setAcrossSpokePool(address _acrossSpokePool
setDefaultSwingCut(uint256 _defaultSwingCut
setFactories(address[] _factories
setFeeCollector(address _feeCollector
setOtherToken(address _otherToken
setPathCount(uint256 _pathCount
setPathSplit(uint256 _pathSplit
setReward(address _reward
setSwitchEvent(address _switchEvent
setWETH(address _weth
swap(struct SwitchV2SwapArgs swapArgspayable returns (uint256 returnAmount)
swapByAcross(struct SwitchAcrossV3SwapArgsAcross swapArgspayable 
transferByAcross(struct SwitchAcrossV3TransferArgsAcross transferArgspayable 
transferOwnership(address newOwner
transferToken(address tokenuint256 amountaddress recipient
Events
AcrossSpokePoolSet(address acrossSpokePool
DefaultSwingCutSet(uint256 defaultSwingCut
FactoriesSet(address[] _factories
FeeCollectorSet(address feeCollector
OtherTokenSet(address _otherToken
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PathCountSet(uint256 _pathCount
PathSplitSet(uint256 _pathSplit
RewardSet(address reward
SwitchEventSet(address switchEvent
WETHSet(address _weth
Constructor
constructor(address _wethaddress _otherTokenuint256[] _pathCountAndSplitaddress[] _factoriesaddress[] _switchViewAndEventAddressesaddress _feeCollectoraddress _acrossSpokePool
Fallback and receive
fallback(
Errors
Forbidden(