Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($144.96)
Native
Value
$45.12
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.013438 | $3,358.11 |
$45.12 | |
USDC | ERC-20 | 99.735209 | $1.001 |
$99.83 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 15451847 | 2 years ago | | | 0 | 0.00047378062 | |
| 15451792 | 2 years ago | | | 0 | 0.0015450239 | |
| 15446189 | 2 years ago | | | 0 | 0.00075823261 | |
| 15446187 | 2 years ago | | | 0 | 0.00091728478 | |
| 15261629 | 2 years ago | | | 0 | 0.0031631459 | |
| 15261562 | 2 years ago | | | 0 | 0.0032190873 | |
| 15224146 | 2 years ago | | | 0 | 0.0010005101 | |
| 15224119 | 2 years ago | | | 0 | 0.00067590307 | |
| 15185264 | 2 years ago | | | 0 | 0.00028622368 | |
| 15185262 | 2 years ago | | | 0 | 0.00028622280 |
ABI
ABI objects
Getter at block 21167640
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
ETHER_ADDRESS() view returns (address)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
ROLE_MANAGER() view returns (bytes32)
0xf206625bad3d9112d5609b8d356e6fbd514cd1f69980d4ce2b3e6e68e1789ace
ROLE_OWNER() view returns (bytes32)
0x9f4e1c871d5fdd0aee1cd182666698a4492b24c6832aac230d07b11046af5a89
ROLE_STAFF() view returns (bytes32)
0x358933fb1b4f9e62c7cd3651025ad8825acb20ebbb23b09160e3867d71501ddd
ROLE_YPOOL_WORKER() view returns (bytes32)
0x43ccaf94e5a0ff213b32419bf56f27f93e4170af0c4867ff3412f6aa5a22daf0
aggregator() view returns (address)
0x1aadfee7f123c1005185c98086af38ae18a16a58
chainId() view returns (uint32)
1
paused() view returns (bool)
true
supervisor() view returns (address)
0xe445fc44a267dfb02ea116ad43f6788e91df44c8
swapId() view returns (uint256)
6
swapValidatorXYChain() view returns (address)
0xee1dc36185c460f8078e149f61e37f23a2120048
Read-only
YPoolSupoortedToken(address) view returns (bool)
YPoolVaults(address) view returns (address)
feeStructures(bytes32) view returns (bool isSet, uint256 gas, uint256 min, uint256 max, uint256 rate, uint256 decimals)
getEverClosed(uint32 _chainId, uint256 _swapId) view returns (bool)
getFeeStructure(uint32 _chainId, address _token) view returns (struct XSwapperFeeStructure)
getRoleAdmin(bytes32 role) view returns (bytes32)
getSwapRequest(uint256 _swapId) view returns (struct XSwapperSwapRequest)
hasRole(bytes32 role, address account) view returns (bool)
maxYPoolTokenSwapAmount(address) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
swapRequests(uint256) view returns (uint32 toChainId, uint256 swapId, address receiver, address sender, uint256 YPoolTokenAmount, uint256 xyFee, uint256 gasFee, address YPoolToken, uint8 status)
State-modifying
Events batchClaim(uint256[] _swapIds, address _YPoolToken, bytes[] signatures)
claim(uint256 _swapId, bytes[] signatures)
closeSwap(struct IAggregatorSwapDescription swapDesc, bytes aggregatorData, uint32 fromChainId, uint256 fromSwapId) payable
grantRole(bytes32 role, address account)
lockCloseSwap(uint32 fromChainId, uint256 fromSwapId, bytes[] signatures)
pause()
refund(uint256 _swapId, address gasFeeReceiver, bytes[] signatures)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setAggregator(address _aggregator)
setFeeStructure(uint32 _toChainId, address _supportedToken, uint256 _gas, uint256 _min, uint256 _max, uint256 rate, uint256 decimals)
setMaxYPoolTokenSwapAmount(address _supportedToken, uint256 amount)
setSwapValidatorXYChain(address _swapValidatorXYChain)
setYPoolVault(address _supportedToken, address _vault, bool _isSet)
swap(struct IAggregatorSwapDescription swapDesc, bytes aggregatorData, struct XSwapperToChainDescription toChainDesc) payable
unpause()
AggregatorSet(address _aggregator)
CloseSwapCompleted(uint8 _swapResult, uint32 _fromChainId, uint256 _fromSwapId)
FeeStructureSet(uint32 _toChainId, address _YPoolToken, uint256 _gas, uint256 _min, uint256 _max, uint256 _rate, uint256 _decimals)
Paused(address account)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SwapCompleted(uint8 _closeType, struct XSwapperSwapRequest _swapRequest)
SwapRequested(uint256 _swapId, struct XSwapperToChainDescription _toChainDesc, address _fromToken, address _YPoolToken, uint256 _YPoolTokenAmount, address _receiver, uint256 _xyFee, uint256 _gasFee)
SwapValidatorXYChainSet(address _swapValidatorXYChain)
SwappedForUser(address _fromToken, uint256 _fromTokenAmount, address _toToken, uint256 _toTokenAmountOut, address _receiver)
Unpaused(address account)
YPoolVaultSet(address _supportedToken, address _vault, bool _isSet)
constructor(address owner, address manager, address staff, address worker, address _supervisor, uint32 _chainId)
receive()
This contract contains no error objects.