sUSXOFTAdapter

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xecfe30a2 at 20176613
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "sUSXOFTAdapter"

No transactions found for "sUSXOFTAdapter"


Functions
Getter at block 20792439
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
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)
0xfd7e2eacab5fd983a2189eb6a38c3ee2ad9f69df
oAppVersion(pure returns (uint64 senderVersionuint64 receiverVersion)
(senderVersion=1, receiverVersion=2)
oftVersion(pure returns (bytes4 interfaceIduint64 version)
(interfaceId=0x02e49c2c, version=1)
owner(view returns (address)
0x655284bebcc6e1dffd098ec538750d43b57bc743
paused(view returns (bool)
false
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
preCrime(view returns (address)
0x0000000000000000000000000000000000000000
sharedDecimals(view returns (uint8)
6
token(view returns (address)
0xbc404429558292ee2d769e57d57d6e74bbd2792d
Read-only
allowInitializePath(struct Origin originview returns (bool)
combineOptions(uint32 _eiduint16 _msgTypebytes _extraOptionsview returns (bytes)
enforcedOptions(uint32 eiduint16 msgTypeview returns (bytes enforcedOption)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 _roleaddress _accountview returns (bool)
isComposeMsgSender(struct Originbytesaddress _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 msgFee)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
acceptOwnership(
grantRole(bytes32 roleaddress account
initialize(address _token
lzReceive(struct Origin _originbytes32 _guidbytes _messageaddress _executorbytes _extraDatapayable 
lzReceiveAndRevert(struct InboundPacket[] _packetspayable 
lzReceiveSimulate(struct Origin _originbytes32 _guidbytes _messageaddress _executorbytes _extraDatapayable 
pause(
renounceOwnership(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
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
unpause(
Events
EnforcedOptionSet(struct EnforcedOptionParam[] _enforcedOptions
Initialized(uint8 version
MsgInspectorSet(address inspector
OFTReceived(bytes32 indexed guiduint32 srcEidaddress indexed toAddressuint256 amountReceivedLD
OFTSent(bytes32 indexed guiduint32 dstEidaddress indexed fromAddressuint256 amountSentLDuint256 amountReceivedLD
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
PeerSet(uint32 eidbytes32 peer
PreCrimeSet(address preCrimeAddress
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokenInit(address token
Unpaused(address account
Constructor
constructor(address _tokenaddress _lzEndpoint
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