SimpleOFT
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Raw
Slot | Value |
---|---|
0x0000000000000000000000000000000000000000000000000000000000000000 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000001 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000002 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000003 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000004 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
Balances ($0.00)
No balances found for "SimpleOFT"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "SimpleOFT"
ABI
ABI objects
Getter at block 22751753
SEND() view returns (uint16)
1
SEND_AND_CALL() view returns (uint16)
2
approvalRequired() pure returns (bool)
false
decimalConversionRate() view returns (uint256)
1000000000000
decimals() view returns (uint8)
18
endpoint() view returns (address)
0x1a44076050125825900e736c501f859c50fe728c
msgInspector() view returns (address)
0x0000000000000000000000000000000000000000
name() view returns (string)
oApp() view returns (address)
0x2492d0006411af6c8bbb1c8afc1b0197350a79e9
oAppVersion() pure returns (uint64 senderVersion, uint64 receiverVersion)
(senderVersion=1, receiverVersion=2)
oftVersion() pure returns (bytes4 interfaceId, uint64 version)
(interfaceId=0x02e49c2c, version=1)
owner() view returns (address)
0x0000000000000000000000000000000000000000
preCrime() view returns (address)
0x0000000000000000000000000000000000000000
sharedDecimals() pure returns (uint8)
6
symbol() view returns (string)
token() view returns (address)
0x2492d0006411af6c8bbb1c8afc1b0197350a79e9
totalSupply() view returns (uint256)
0
Read-only
allowInitializePath(struct Origin origin) view returns (bool)
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
combineOptions(uint32 _eid, uint16 _msgType, bytes _extraOptions) view returns (bytes)
enforcedOptions(uint32 _eid, uint16 _msgType) view returns (bytes)
isComposeMsgSender(struct Origin, bytes, address _sender) view returns (bool)
isPeer(uint32 _eid, bytes32 _peer) view returns (bool)
nextNonce(uint32, bytes32) view returns (uint64 nonce)
peers(uint32 _eid) view returns (bytes32)
quoteOFT(struct SendParam _sendParam) view returns (struct OFTLimit oftLimit, struct OFTFeeDetail[] oftFeeDetails, struct OFTReceipt oftReceipt)
quoteSend(struct SendParam _sendParam, bool _payInLzToken) view returns (struct MessagingFee msgFee)
State-modifying
Events approve(address spender, uint256 value) returns (bool)
initialize(string _name, string _symbol, address _delegate)
lzReceive(struct Origin _origin, bytes32 _guid, bytes _message, address _executor, bytes _extraData) payable
lzReceiveAndRevert(struct InboundPacket[] _packets) payable
lzReceiveSimulate(struct Origin _origin, bytes32 _guid, bytes _message, address _executor, bytes _extraData) payable
renounceOwnership()
send(struct SendParam _sendParam, struct MessagingFee _fee, address _refundAddress) payable returns (struct MessagingReceipt msgReceipt, struct OFTReceipt oftReceipt)
setDelegate(address _delegate)
setEnforcedOptions(struct EnforcedOptionParam[] _enforcedOptions)
setMsgInspector(address _msgInspector)
setPeer(uint32 _eid, bytes32 _peer)
setPreCrime(address _preCrime)
transfer(address to, uint256 value) returns (bool)
transferFrom(address from, address to, uint256 value) returns (bool)
transferOwnership(address newOwner)
Approval(address indexed owner, address indexed spender, uint256 value)
EnforcedOptionSet(struct EnforcedOptionParam[] _enforcedOptions)
Initialized(uint64 version)
MsgInspectorSet(address inspector)
OFTReceived(bytes32 indexed guid, uint32 srcEid, address indexed toAddress, uint256 amountReceivedLD)
OFTSent(bytes32 indexed guid, uint32 dstEid, address indexed fromAddress, uint256 amountSentLD, uint256 amountReceivedLD)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PeerSet(uint32 eid, bytes32 peer)
PreCrimeSet(address preCrimeAddress)
Transfer(address indexed from, address indexed to, uint256 value)
constructor(address _lzEndpoint)
This contract contains no fallback and receive objects.
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed)
ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed)
ERC20InvalidApprover(address approver)
ERC20InvalidReceiver(address receiver)
ERC20InvalidSender(address sender)
ERC20InvalidSpender(address spender)
FailedInnerCall()
InvalidDelegate()
InvalidEndpointCall()
InvalidInitialization()
InvalidLocalDecimals()
InvalidOptions(bytes options)
LzTokenUnavailable()
NoPeer(uint32 eid)
NotEnoughNative(uint256 msgValue)
NotInitializing()
OnlyEndpoint(address addr)
OnlyPeer(uint32 eid, bytes32 sender)
OnlySelf()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
SafeERC20FailedOperation(address token)
SimulationResult(bytes result)
SlippageExceeded(uint256 amountLD, uint256 minAmountLD)