SwitchAcrossV3
Verified contract
Active on
Ethereum with 306 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 ($121.42)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 0.036975 | $3,278.67 |
$121.23 | |
USDT | ERC-20 | 0.1895 | $1.00 |
$0.19 | |
DAI | ERC-20 | 0 | $0.999828 |
$0 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21269861 | 13 hours ago | | | 1.394 | 0.0011377584 | |
| 21266169 | a day ago | | | 0.1 | 0.0050999183 | |
| 21264119 | a day ago | | | 0.64 | 0.0015659461 | |
| 21261757 | 2 days ago | | | 5.3598 | 0.00092924972 | |
| 21240588 | 5 days ago | | | 0.1 | 0.0016608329 | |
| 21238712 | 5 days ago | | | 0 | 0.0029190229 | |
| 21229079 | 6 days ago | | | 0.2 | 0.0014943573 | |
| 21224869 | 7 days ago | | | 0 | 0.0028419114 | |
| 21223922 | 7 days ago | | | 0.8 | 0.0056665009 | |
| 21223452 | 7 days ago | | | 0.28 | 0.0033255548 |
ABI
ABI objects
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(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)
handleV3AcrossMessage(address tokenSent, uint256 amount, address relayer, bytes message)
remoteSwap(struct SwitchAcrossV3AcrossSwapRequest m, uint256 amount, address 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 swapArgs) payable returns (uint256 returnAmount)
swapByAcross(struct SwitchAcrossV3SwapArgsAcross swapArgs) payable
transferByAcross(struct SwitchAcrossV3TransferArgsAcross transferArgs) payable
transferOwnership(address newOwner)
transferToken(address token, uint256 amount, address recipient)
AcrossSpokePoolSet(address acrossSpokePool)
DefaultSwingCutSet(uint256 defaultSwingCut)
FactoriesSet(address[] _factories)
FeeCollectorSet(address feeCollector)
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 _otherToken, uint256[] _pathCountAndSplit, address[] _factories, address[] _switchViewAndEventAddresses, address _feeCollector, address _acrossSpokePool)
fallback()
Forbidden()