MayanSwift
Verified contract
Active on
Ethereum with 35,405 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($96,071.51)
Native
Value
$58,326.72
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 18.627357 | $3,131.24 |
$58,326.72 | |
USDC | ERC-20 | 37.754757K | $0.999736 |
$37,744.79 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21199876 | 4 minutes ago | | | 0 | 0.0039970709 | |
| 21199875 | 4 minutes ago | | | 0 | 0.0044511023 | |
| 21199867 | 5 minutes ago | | | 0.010686726 | 0.0030733587 | |
| 21199858 | 7 minutes ago | | | 0.9739544 | 0.0029494503 | |
| 21199847 | 9 minutes ago | | | 0 | 0.0039056629 | |
| 21199822 | 14 minutes ago | | | 0 | 0.0041130232 | |
| 21199778 | 23 minutes ago | | | 0 | 0.0036464871 | |
| 21199729 | 33 minutes ago | | | 0 | 0.0036407676 | |
| 21199669 | an hour ago | | | 0 | 0.0040351860 | |
| 21199637 | an hour ago | | | 0 | 0.0039030358 |
ABI
ABI objects
Getter at block 21199892
auctionAddr() view returns (bytes32)
0x34cdc6b2623f36d60ae820e95b60f764e81ec2cd3b57b77e3f8e25ddd43ac373
auctionChainId() view returns (uint16)
1
consistencyLevel() view returns (uint8)
1
feeManager() view returns (address)
0xf93191d350117723dbeda5484a3b0996d285cecf
guardian() view returns (address)
0x95d50ebee133c14e2355c7a72b254b3b6eeed6bc
nextGuardian() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
solanaEmitter() view returns (bytes32)
0x23b1261d67d23099d43d0ad07a71b81d1e3c8c1d95da4c609b543ce7143fc069
wormhole() view returns (address)
0x98f3c9e6e3face36baad05fe09d375ef1464288b
Read-only
getOrders(bytes32[] orderHashes) view returns (struct MayanSwiftOrder[])
orders(bytes32) view returns (uint8 status, uint64 amountIn, uint16 destChainId)
parseFulfillPayload(bytes encoded) pure returns (struct MayanSwiftFulfillMsg fulfillMsg)
parseRefundPayload(bytes encoded) pure returns (struct MayanSwiftRefundMsg refundMsg)
parseUnlockPayload(bytes encoded) pure returns (struct MayanSwiftUnlockMsg unlockMsg)
unlockMsgs(bytes32) view returns (uint8 action, bytes32 orderHash, uint16 srcChainId, bytes32 tokenIn, bytes32 recipient)
State-modifying
Events cancelOrder(bytes32 tokenIn, struct MayanSwiftOrderParams params, uint16 srcChainId, uint8 protocolBps, bytes32 canceler) payable returns (uint64 sequence)
changeGuardian(address newGuardian)
claimGuardian()
createOrderWithEth(struct MayanSwiftOrderParams params) payable returns (bytes32 orderHash)
createOrderWithSig(address tokenIn, uint256 amountIn, struct MayanSwiftOrderParams params, uint256 submissionFee, bytes signedOrderHash, struct MayanSwiftPermitParams permitParams) returns (bytes32 orderHash)
createOrderWithToken(address tokenIn, uint256 amountIn, struct MayanSwiftOrderParams params) returns (bytes32 orderHash)
fulfillOrder(uint256 fulfillAmount, bytes encodedVm, bytes32 recepient, bool batch) payable returns (uint64 sequence)
fulfillSimple(uint256 fulfillAmount, bytes32 orderHash, uint16 srcChainId, bytes32 tokenIn, uint8 protocolBps, struct MayanSwiftOrderParams params, bytes32 recepient, bool batch) payable returns (uint64 sequence)
postBatch(bytes32[] orderHashes) payable returns (uint64 sequence)
refundOrder(bytes encodedVm)
setConsistencyLevel(uint8 _consistencyLevel)
setFeeManager(address _feeManager)
setPause(bool _pause)
unlockBatch(bytes encodedVm)
unlockSingle(bytes encodedVm)
OrderCanceled(bytes32 key, uint64 sequence)
OrderCreated(bytes32 key)
OrderFulfilled(bytes32 key, uint64 sequence, uint256 netAmount)
OrderRefunded(bytes32 key, uint256 netAmount)
OrderUnlocked(bytes32 key)
constructor(address _wormhole, address _feeManager, uint16 _auctionChainId, bytes32 _auctionAddr, bytes32 _solanaEmitter, uint8 _consistencyLevel)
receive()
DeadlineViolation()
DuplicateOrder()
FeesTooHigh()
InvalidAction()
InvalidAmount()
InvalidAuctionMode()
InvalidBpsFee()
InvalidDestChain()
InvalidEmitterAddress()
InvalidEmitterChain()
InvalidEvmAddr()
InvalidGasDrop()
InvalidOrderHash()
InvalidOrderStatus()
InvalidSrcChain()
InvalidWormholeFee()
OrderNotExists()
Paused()
SmallAmountIn()
Unauthorized()