SwitchHopCCTP

Verified contract

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

No balances found for "SwitchHopCCTP"

0x667700278da266770a21bd40ae668caf074f7215cf4dad631963bcec353c26c8
0x9616a80953399e05f868d3350b6562f87fafe992b15ba630ecb627e23d52b390
0xc2829feebeb8c11a5466e4c3b6a1f28e77ee5395f2dda32cf7cc0cb3b3414ef3
0xea3b051883e9e14f53ae5d69cd16e1ec1b6fa8baee8a58a12ddf0d925b704807
0xe60b713d1486fc13a47c5315cfc93d5b3393994aff704f076e7eb8ff3bc85dbc
0x5dbf2be3c47a26478b4201d007051a6f173d5ce1f199f7e98e4296e0b5808008
0xea9e51dae799918295eeea9612e64e1868e45c147dc569ca2c0cd5e22199f9d7
0x9a5f8de4b08900b1709165b7f4c73b9eec9471c337fa625a8964c9f7a217b014
0xb66d84817e0cd01ab475777d26540a374b3b98b04cbabe30ff6309b55ea94ab1
0x11fa9c016498f163d7eaeee64862975578d747b919a33ca31e7c68237c2bbac0

Functions
Getter at block 21098781
ETH_ADDRESS(view returns (address)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
FEE_BASE(view returns (uint256)
10000
ZERO_ADDRESS(view returns (address)
0x0000000000000000000000000000000000000000
bridgedUsdc(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
defaultSwingCut(view returns (uint256)
1500
dexCount(view returns (uint256)
3
feeCollector(view returns (address)
0x28b9089b5f2724c1898e7dbb04a96c8c177fe46d
nativeUsdc(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
nativeWrap(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
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
removeFromAllowlist(address address_
removeFromAllowlistBatch(address[] addresses
renounceOwnership(
setDefaultSwingCut(uint256 _defaultSwingCut
setFactories(address[] _factories
setFeeCollector(address _feeCollector
setNativeWrap(address _newNativeWrap
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)
swapByHop(struct SwitchHopCCTPSwapArgsHop swapArgspayable 
transferByHop(struct SwitchHopCCTPTransferArgsHop transferArgspayable 
transferOwnership(address newOwner
transferToken(address tokenuint256 amountaddress recipient
Events
DefaultSwingCutSet(uint256 defaultSwingCut
FactoriesSet(address[] _factories
FeeCollectorSet(address feeCollector
NativeWrapSet(address _nativeWrap
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 _busdcaddress _nusdcaddress _otherTokenuint256[] _pathCountAndSplitaddress[] _factoriesaddress _switchViewAddressaddress _switchEventAddressaddress _feeCollector
Fallback and receive
fallback(
Errors
Forbidden(