OFTAdapterImplementation

Verified contract

Active on Ethereum with 97 txns
Deployed by via 0x3b5f7e0f at 21304962
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $39,046.93
0x135b4dd507e9df06f0c37ad7abafad25443782bf69247881dfeec29839fbe97d
0x7a0db9764738e848b1b0f89b7b162f458c101ba2fc99c8d5f5da65facf7dd706
0xe2a959ef83d64571a1cf0554b9f4809e0173eeb45ebb84bde1a9c35349d5ea8e
0x4033231d1aa5a10a997cbe6521d426eac872f2bfcbe2a74edd07826ad2a63195
0x9aa677e311cf6dbc2787323d749818a764a82ec0fd4490aa64f97acec01ddc0e
0xba965e86e53b4eabd15650f95c15622cc04b63c2317f5bcd3fd5a14fa3179465
0xf639107bfb5ecd28773b6f12ba208d385c20ed60ae801520eeeae3095614a1f0
0xe85498bad2a2787adf5aedda21ae09f505fa3429d9056eb0398f5e9765f1b729
0x0f1406fe2b03a00a26df49c0fbc116c57d1da1f70b0d97ba00d1a00c6572974d
0xdd804287e8786e86095fc7a41bc013acc21ab3683da642be2b5ae5ed19790b0c

Functions
Getter at block 21407815
SEND(view returns (uint16)
1
SEND_AND_CALL(view returns (uint16)
2
approvalRequired(pure returns (bool)
true
decimalConversionRate(view returns (uint256)
1000000000000
endpoint(view returns (address)
0x1a44076050125825900e736c501f859c50fe728c
msgInspector(view returns (address)
0x0000000000000000000000000000000000000000
oApp(view returns (address)
0xa80f36ba18c7f721f3f7acdbcdefd3a86869a036
oAppVersion(pure returns (uint64 senderVersionuint64 receiverVersion)
(senderVersion=1, receiverVersion=2)
oftVersion(pure returns (bytes4 interfaceIduint64 version)
(interfaceId=0x02e49c2c, version=1)
owner(view returns (address)
0x0743eb3b57c0ec36a48dc5cec88d13a7dac9203a
preCrime(view returns (address)
0x0000000000000000000000000000000000000000
sharedDecimals(view returns (uint8)
6
token(view returns (address)
0xd5eb7e91ae88ea2550f9bfd04208399c95df4dc7
Read-only
allowInitializePath(struct Origin_0 originview returns (bool)
combineOptions(uint32 _eiduint16 _msgTypebytes _extraOptionsview returns (bytes)
enforcedOptions(uint32 eiduint16 msgTypeview returns (bytes enforcedOption)
isComposeMsgSender(struct Origin_0bytesaddress _senderview returns (bool)
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_0 msgFee)
State-modifying
lzReceive(struct Origin_0 _originbytes32 _guidbytes _messageaddress _executorbytes _extraDatapayable 
lzReceiveAndRevert(struct InboundPacket[] _packetspayable 
lzReceiveSimulate(struct Origin_0 _originbytes32 _guidbytes _messageaddress _executorbytes _extraDatapayable 
renounceOwnership(
send(struct SendParam _sendParamstruct MessagingFee_0 _feeaddress _refundAddresspayable returns (struct MessagingReceipt_0 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 amountReceivedLD
OFTSent(bytes32 indexed guiduint32 dstEidaddress indexed fromAddressuint256 amountSentLDuint256 amountReceivedLD
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PeerSet(uint32 eidbytes32 peer
PreCrimeSet(address preCrimeAddress
Constructor
constructor(address _tokenaddress _lzEndpointaddress _delegate
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
FailedInnerCall(
InvalidDelegate(
InvalidEndpointCall(
InvalidLocalDecimals(
InvalidOptions(bytes options
LzTokenUnavailable(
NoPeer(uint32 eid
NotEnoughNative(uint256 msgValue
OnlyEndpoint(address addr
OnlyPeer(uint32 eidbytes32 sender
OnlySelf(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
SafeERC20FailedOperation(address token
SimulationResult(bytes result
SlippageExceeded(uint256 amountLDuint256 minAmountLD