SwitchHopCCTP
Verified contract
Active on
Ethereum with 52 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x6b4a…6ccb
0x410f…280a
Balances ($0.00)
No balances found for "SwitchHopCCTP"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21088733 | a day ago | | | 0 | 0.0049608026 | |
| 21082535 | 2 days ago | | | 0.21 | 0.0019179837 | |
| 21082290 | 2 days ago | | | 0.5 | 0.0020696746 | |
| 21014009 | 12 days ago | | | 0.015 | 0.0016400620 | |
| 21012522 | 12 days ago | | | 0 | 0.0024181599 | |
| 20968547 | 18 days ago | | | 0.015 | 0.0048474457 | |
| 20943292 | 22 days ago | | | 0 | 0.0096372557 | |
| 20936315 | 23 days ago | | | 0.05 | 0.010584856 | |
| 20911093 | a month ago | | | 0 | 0.0016082930 | |
| 20877528 | a month ago | | | 0 | 0.0017461640 |
ABI
ABI objects
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(address) view returns (bool)
factories(uint256) view returns (address)
getExpectedReturn(address fromToken, address destToken, uint256 amount, uint256 parts) view returns (uint256 returnAmount, uint256[] distribution)
getFeeInfo(uint256 amount, address partner, uint256 partnerFeeRate) view returns (uint256 partnerFee, uint256 remainAmount)
getTokenBalance(address token) view returns (uint256 amount)
State-modifying
Events 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 swapArgs) payable returns (uint256 returnAmount)
swapByHop(struct SwitchHopCCTPSwapArgsHop swapArgs) payable
transferByHop(struct SwitchHopCCTPTransferArgsHop transferArgs) payable
transferOwnership(address newOwner)
transferToken(address token, uint256 amount, address recipient)
DefaultSwingCutSet(uint256 defaultSwingCut)
FactoriesSet(address[] _factories)
FeeCollectorSet(address feeCollector)
NativeWrapSet(address _nativeWrap)
OtherTokenSet(address _otherToken)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PathCountSet(uint256 _pathCount)
PathSplitSet(uint256 _pathSplit)
RewardSet(address reward)
SwitchEventSet(address switchEvent)
WETHSet(address _weth)
constructor(address _weth, address _busdc, address _nusdc, address _otherToken, uint256[] _pathCountAndSplit, address[] _factories, address _switchViewAddress, address _switchEventAddress, address _feeCollector)
fallback()
Forbidden()