MaviaOFTAdapter

Verified contract

Active on Ethereum with 920 txns
Deployed by via 0x5f2a16c8 at 19294730
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $10,422,621.12
0x57d8eb814d995c06a668a407d81fe49a480a906deadda62636f3c94f8211ed52
0xbb34e88cd164ada98da24cb3cf0049e60e68dba651d1455c40a3504c8cacf42a
0x19c41db7dd5a40575a88980219dd73f1cf9cbdb72faf33f11133e518568e77ad
0x634c75bc2b1a0c57c3f10ba2bd03a94b0f32c45ece35cc1b70a4bb64c4badd68
0x8ed58a5cfc4791d0cadf44db740fbc9867e7b61a7d70b7889fa958e5177dba46
0x8dfe993a5aaea2f647ef69ba43fb4df7f9dae594d273ce255fe20f25c1673aa0
0x8d49cf9890eb2581f9f8fdf6c5cba61be7b08c681f7ec6559f8ca48fcd420706
0x1b9ce77aa5aad0cf7f1bb137c209b3b302dc5c3283450e98d8bb8c05daf26e4c
0x8e17a5e0806a2763b69e98825dc945f0eb7eb0ab73e0ec4deeda972afc134e5b
0x53473a91de4534070fcf317221daa05a93994d6b66e404b55e39b461d0a19168

Functions
Getter at block 21178378
SEND(view returns (uint16)
1
SEND_AND_CALL(view returns (uint16)
2
approvalRequired(pure returns (bool)
true
composeMsgSender(view returns (address sender)
0xe6c2b672b3eb64a1f460adcd9676a3b6c67abd4d
decimalConversionRate(view returns (uint256)
1000000000000
endpoint(view returns (address)
0x1a44076050125825900e736c501f859c50fe728c
msgInspector(view returns (address)
0x0000000000000000000000000000000000000000
oApp(view returns (address)
0xe6c2b672b3eb64a1f460adcd9676a3b6c67abd4d
oAppVersion(pure returns (uint64 senderVersionuint64 receiverVersion)
(senderVersion=1, receiverVersion=1)
oftVersion(pure returns (bytes4 interfaceIduint64 version)
(interfaceId=0x02e49c2c, version=1)
owner(view returns (address)
0xed43eaa4add5fcbf009e3e2d362a217745a11cf3
preCrime(view returns (address)
0x0000000000000000000000000000000000000000
sharedDecimals(pure returns (uint8)
6
token(view returns (address)
0x24fcfc492c1393274b6bcd568ac9e225bec93584
Read-only
allowInitializePath(struct Origin originview returns (bool)
combineOptions(uint32 _eiduint16 _msgTypebytes _extraOptionsview returns (bytes)
enforcedOptions(uint32 eiduint16 msgTypeview returns (bytes enforcedOption)
isPeer(uint32 _eidbytes32 _peerview returns (bool)
nextNonce(uint32bytes32view returns (uint64 nonce)
peers(uint32 eidview returns (bytes32 peer)
quoteOFT(struct SendParam _sendParamview returns (struct OFTLimit oftLimitstruct OFTFeeDetail[] oftFeeDetailsstruct OFTReceipt oftReceipt)
quoteSend(struct SendParam _sendParambool _payInLzTokenview returns (struct MessagingFee msgFee)
State-modifying
lzReceive(struct Origin _originbytes32 _guidbytes _messageaddress _executorbytes _extraDatapayable 
lzReceiveAndRevert(struct InboundPacket[] _packetspayable 
lzReceiveSimulate(struct Origin _originbytes32 _guidbytes _messageaddress _executorbytes _extraDatapayable 
renounceOwnership(
send(struct SendParam _sendParamstruct MessagingFee _feeaddress _refundAddresspayable returns (struct MessagingReceipt msgReceiptstruct OFTReceipt oftReceipt)
setDelegate(address _delegate
setEnforcedOptions(struct EnforcedOptionParam[] _enforcedOptions
setMsgInspector(address _msgInspector
setPeer(uint32 _eidbytes32 _peer
setPreCrime(address _preCrime
transferOwnership(address newOwner
Events
EnforcedOptionSet(struct EnforcedOptionParam[] _enforcedOptions
MsgInspectorSet(address inspector
OFTReceived(bytes32 indexed guiduint32 srcEidaddress indexed toAddressuint256 amountLD
OFTSent(bytes32 indexed guiduint32 dstEidaddress indexed fromAddressuint256 amountLD
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PeerSet(uint32 eidbytes32 peer
PreCrimeSet(address preCrimeAddress
Constructor
constructor(address _tokenaddress _layerZeroEndpointaddress _owner
Fallback and receive

This contract contains no fallback and receive objects.

Errors
InvalidDelegate(
InvalidEndpointCall(
InvalidLocalDecimals(
InvalidOptions(bytes options
LzTokenUnavailable(
NoPeer(uint32 eid
NotEnoughNative(uint256 msgValue
OnlyEndpoint(address addr
OnlyPeer(uint32 eidbytes32 sender
OnlySelf(
SimulationResult(bytes result
SlippageExceeded(uint256 amountLDuint256 minAmountLD