SoDiamond
Verified contract
Proxy
Active on
Ethereum with 2,528 txns
Unified storage
Map
Table
Raw
Constants and immutables
1
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 4 additional slots
-
variable spans 1 additional slot
-
variable spans 4 additional slots
-
variable spans 4 additional slots
Balances ($2.39)
Native
Value
$2.37
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.00101 | $2,346.07 |
$2.37 | |
USDC | ERC-20 | 0.01 | $0.999724 |
$0.01 | |
USDD | ERC-20 | 0.01 | $0.99882 |
$0.01 | |
DAI | ERC-20 | 0.001 | $0.999384 |
$0 | |
WETH | ERC-20 | 0 | $2,346.40 |
$0 | |
SOL | ERC-20 | 0 | $136.34 |
$0 | |
stETH | ERC-20 | 0 | $2,346.61 |
$0 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20884725 | 13 hours ago | | | 0.042793879 | 0.0013946090 | |
| 20884260 | 14 hours ago | | | 0.0055940214 | 0.0032926476 | |
| 20873507 | 2 days ago | | | 0 | 0.0042332941 | |
| 20858838 | 4 days ago | | | 0.010609845 | 0.0051578740 | |
| 20855703 | 5 days ago | | | 0.0036178681 | 0.0015671413 | |
| 20848499 | 6 days ago | | | 0.000039385424 | 0.0014631581 | |
| 20832045 | 8 days ago | | | 0 | 0.0067948608 | |
| 20812839 | 11 days ago | | | 0.025207754 | 0.010194793 | |
| 20800251 | 12 days ago | | | 0.099376567 | 0.0047375518 | |
| 20772715 | 16 days ago | | | 0.80044271 | 0.0085819792 |
ABI
ABI objects
Getter at block 20888519
INTERDELIMITER() view returns (uint8)
59
getTransferGas() view returns (uint256)
40000
Read-only
decodeStargatePayload(bytes stargatePayload) pure returns (struct ISoNormalizedSoData soData, struct LibSwapNormalizedSwapData[] swapDataDst)
encodeStargatePayload(struct ISoNormalizedSoData soData, struct LibSwapNormalizedSwapData[] swapDataDst) pure returns (bytes)
estimateStargateFinalAmount(struct StargateFacetStargateData stargateData, uint256 amount) view returns (uint256)
getAmountBeforeSoFee(uint256 amount) view returns (uint256)
getSgReceiveForGasPayload(struct ISoNormalizedSoData soDataNo, struct LibSwapNormalizedSwapData[] swapDataDstNo) pure returns (bytes)
getStargateFee(struct ISoNormalizedSoData soDataNo, struct StargateFacetStargateData stargateData, struct LibSwapNormalizedSwapData[] swapDataDstNo) view returns (uint256)
getStargateSoFee(uint256 amount) view returns (uint256)
State-modifying
Events executeAndCheckSwaps(struct ISoSoData soData, struct LibSwapSwapData[] swapData) returns (uint256)
executeAndCheckSwapsV2(struct ISoSoData soData, struct LibSwapSwapData[] swapData) returns (uint256)
initStargate(address stargate, uint16 chainId)
libSwap(bytes32 transactionId, struct LibSwapSwapData _swapData)
remoteSoSwap(address token, uint256 amount, struct ISoSoData soData, struct LibSwapSwapData[] swapDataDst)
setAllowedAddress(address router, bool isAllowed)
sgReceive(uint16, bytes, uint256, address token, uint256 amount, bytes payload)
sgReceiveForGas(struct ISoNormalizedSoData soDataNo, uint256 dstStargatePoolId, struct LibSwapNormalizedSwapData[] swapDataDstNo)
soSwapViaStargate(struct ISoNormalizedSoData soDataNo, struct LibSwapNormalizedSwapData[] swapDataSrcNo, struct StargateFacetStargateData stargateData, struct LibSwapNormalizedSwapData[] swapDataDstNo) payable
SetAllowedList(address router, bool isAllowed)
SoTransferCompleted(bytes32 indexed transactionId, uint256 receiveAmount)
SoTransferFailed(bytes32 indexed transactionId, string revertReason, bytes otherReason)
SoTransferStarted(bytes32 indexed transactionId)
StargateInitialized(address stargate, uint256 chainId)
constructor(address _contractOwner, address _diamondCutFacet)
fallback()
receive()
CannotBridgeToSameNetwork()
ContractCallNotAllowed()
InvalidAmount()
InvalidConfig()
InvalidContract()
NativeAssetTransferFailed()
NoSwapDataProvided()
NoSwapFromZeroBalance()
NoTransferToNullAddress()
NotSupportedSwapRouter()
NullAddrIsNotAValidSpender()
NullAddrIsNotAnERC20Token()
ReentrancyError()