MayanSwift

Verified contract

Active on Ethereum with 35,405 txns
Deployed by via 0x8d90b06e at 20377948
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $58,326.72
ERC-20
Value $37,744.79
0x1bd2b272831cfd866c6740cd69d1b5d3d744c9b182a5e94258e2c0c2992222ac
0x75753346e0891023a22ffd05bd9734c3e2102f6114244520a07f6dd57a1c6e26
0x36ad04eac32b4c73734f22b91f953c0396f190e97c8c7c54f59ae037a4ba4a91
0xe5224c1c21def2d61b5b1589a2761a829bade4135e65ba20f12ad69964cabcf9
0xd0f44203d87a407e9c8c26a56a80fbc2dab9ee318355d38353c3829668030ff7
0xcf8f14ea4e35a6b2c9a81e3efc6a6a78c5739421398622d5f251322d5056e31a
0x38c9573a9e6e34e55fa5afb6b6bfcd282eab5156253eb394c666ecaff0c69d0b
0xed29e84868b47c0570dfb0c02692b143674ed8815bfe4f0d857e0c2fb5ef8672
0x8258c4a0503ef74e5c464c7393f754b55f47fcc474e22e53d467e8217e5acf1a
0x62b6f9b21ca2dde18b79ab89ed0e19632609854dbba6f6227be7ea538c83e38b

Functions
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[] orderHashesview returns (struct MayanSwiftOrder[])
orders(bytes32view returns (uint8 statusuint64 amountInuint16 destChainId)
parseFulfillPayload(bytes encodedpure returns (struct MayanSwiftFulfillMsg fulfillMsg)
parseRefundPayload(bytes encodedpure returns (struct MayanSwiftRefundMsg refundMsg)
parseUnlockPayload(bytes encodedpure returns (struct MayanSwiftUnlockMsg unlockMsg)
unlockMsgs(bytes32view returns (uint8 actionbytes32 orderHashuint16 srcChainIdbytes32 tokenInbytes32 recipient)
State-modifying
cancelOrder(bytes32 tokenInstruct MayanSwiftOrderParams paramsuint16 srcChainIduint8 protocolBpsbytes32 cancelerpayable returns (uint64 sequence)
changeGuardian(address newGuardian
claimGuardian(
createOrderWithEth(struct MayanSwiftOrderParams paramspayable returns (bytes32 orderHash)
createOrderWithSig(address tokenInuint256 amountInstruct MayanSwiftOrderParams paramsuint256 submissionFeebytes signedOrderHashstruct MayanSwiftPermitParams permitParamsreturns (bytes32 orderHash)
createOrderWithToken(address tokenInuint256 amountInstruct MayanSwiftOrderParams paramsreturns (bytes32 orderHash)
fulfillOrder(uint256 fulfillAmountbytes encodedVmbytes32 recepientbool batchpayable returns (uint64 sequence)
fulfillSimple(uint256 fulfillAmountbytes32 orderHashuint16 srcChainIdbytes32 tokenInuint8 protocolBpsstruct MayanSwiftOrderParams paramsbytes32 recepientbool batchpayable returns (uint64 sequence)
postBatch(bytes32[] orderHashespayable returns (uint64 sequence)
refundOrder(bytes encodedVm
setConsistencyLevel(uint8 _consistencyLevel
setFeeManager(address _feeManager
setPause(bool _pause
unlockBatch(bytes encodedVm
unlockSingle(bytes encodedVm
Events
OrderCanceled(bytes32 keyuint64 sequence
OrderCreated(bytes32 key
OrderFulfilled(bytes32 keyuint64 sequenceuint256 netAmount
OrderRefunded(bytes32 keyuint256 netAmount
OrderUnlocked(bytes32 key
Constructor
constructor(address _wormholeaddress _feeManageruint16 _auctionChainIdbytes32 _auctionAddrbytes32 _solanaEmitteruint8 _consistencyLevel
Fallback and receive
receive(
Errors
DeadlineViolation(
DuplicateOrder(
FeesTooHigh(
InvalidAction(
InvalidAmount(
InvalidAuctionMode(
InvalidBpsFee(
InvalidDestChain(
InvalidEmitterAddress(
InvalidEmitterChain(
InvalidEvmAddr(
InvalidGasDrop(
InvalidOrderHash(
InvalidOrderStatus(
InvalidSrcChain(
InvalidWormholeFee(
OrderNotExists(
Paused(
SmallAmountIn(
Unauthorized(