Verified contractExactUNLICENSED
PangeaOFT
Address0x76cb4d2cd8b587dd57a9ce8a1a67bbe2230b76ea
- Balance
0 ETH
- Transactions
154
- Compiler
solc 0.8.30
- Same code
331 more contracts
Details
- Compiler
- solc 0.8.30+commit.73712a01
- Language
- solidity
- Optimization
- Yes, 200 runs
- EVM version
- cancun
- Via IR
- yes
- License
- UNLICENSED
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 26,242,395
- Creation transaction
- 0x90dd13b7f4…2659b3f15a
- Main copy (most transactions)
- 0x6434e57e…b75196ea
Read39
- BRIDGE_FEE_BPS() → (uint16)
- SEND() → (uint16)
- SEND_AND_CALL() → (uint16)
- allowInitializePath(tuple) → (bool)
- allowance(address,address) → (uint256)
- approvalRequired() → (bool)
- balanceOf(address) → (uint256)
- bridgeFeeTo() → (address)
- combineOptions(uint32,uint16,bytes) → (bytes)
- creator() → (address)
- decimalConversionRate() → (uint256)
- decimals() → (uint8)
- endpoint() → (address)
- enforcedOptions(uint32,uint16) → (bytes)
- isComposeMsgSender(tuple,bytes,address) → (bool)
- isPeer(uint32,bytes32) → (bool)
- launchSlice() → (uint256)
- launchTotal() → (uint256)
- localSupply() → (uint256)
- metadataAuthority() → (address)
- metadataURI() → (string)
- msgInspector() → (address)
- name() → (string)
- nextNonce(uint32,bytes32) → (uint64)
- oApp() → (address)
- oAppVersion() → (uint64,uint64)
- oftVersion() → (bytes4,uint64)
- owner() → (address)
- peers(uint32) → (bytes32)
- pendingMetadataAuthority() → (address)
- preCrime() → (address)
- quoteOFT(tuple) → (tuple,tuple[],tuple)
- quoteSend(tuple,bool) → (tuple)
- reportedSupply() → (uint256)
- sharedDecimals() → (uint8)
- supplyReporter() → (address)
- symbol() → (string)
- token() → (address)
- totalSupply() → (uint256)
Write18
- acceptMetadataAuthority()
- approve(address,uint256) → (bool)
- lzReceive(tuple,bytes32,bytes,address,bytes)
- lzReceiveAndRevert(tuple[])
- lzReceiveSimulate(tuple,bytes32,bytes,address,bytes)
- proposeMetadataAuthority(address)
- renounceOwnership()
- reportSupply(uint256)
- send(tuple,tuple,address) → (tuple,tuple)
- setDelegate(address)
- setEnforcedOptions(tuple[])
- setMetadataURI(string)
- setMsgInspector(address)
- setPeer(uint32,bytes32)
- setPreCrime(address)
- transfer(address,uint256) → (bool)
- transferFrom(address,address,uint256) → (bool)
- transferOwnership(address)
Events13
- Approval(address,address,uint256)
- EnforcedOptionSet(tuple[])
- MetadataAuthorityChanged(address,address)
- MetadataAuthorityProposed(address,address)
- MetadataURISet(string)
- MsgInspectorSet(address)
- OFTReceived(bytes32,uint32,address,uint256)
- OFTSent(bytes32,uint32,address,uint256,uint256)
- OwnershipTransferred(address,address)
- PeerSet(uint32,bytes32)
- PreCrimeSet(address)
- SupplyReported(uint256,uint256)
- Transfer(address,address,uint256)
Errors32
- AmountSDOverflowed(uint256)
- AmountTooSmallToBridge(uint256)
- ERC20InsufficientAllowance(address,uint256,uint256)
- ERC20InsufficientBalance(address,uint256,uint256)
- ERC20InvalidApprover(address)
- ERC20InvalidReceiver(address)
- ERC20InvalidSender(address)
- ERC20InvalidSpender(address)
- InvalidDelegate()
- InvalidEndpointCall()
- InvalidLocalDecimals()
- InvalidOptions(bytes)
- LzTokenUnavailable()
- NoBridgeFeeRecipient()
- NoPeer(uint32)
- NotEnoughNative(uint256)
- NotMetadataAuthority()
- NotPendingAuthority()
- NotSupplyReporter()
- NothingToMint()
- OnlyEndpoint(address)
- OnlyPeer(uint32,bytes32)
- OnlySelf()
- OwnableInvalidOwner(address)
- OwnableUnauthorizedAccount(address)
- ReportAboveLaunchTotal(uint256,uint256)
- ReportBelowLocalSupply(uint256,uint256)
- SafeERC20FailedOperation(address)
- SimulationResult(bytes)
- SliceExceedsLaunchTotal(uint256,uint256)
- SlippageExceeded(uint256,uint256)
- ZeroAuthority()
ABI as JSON
[
{
"type": "constructor",
"inputs": [
{
"name": "name_",
"type": "string",
"internalType": "string"
},
{
"name": "symbol_",
"type": "string",
"internalType": "string"
},
{
"name": "launchTotal_",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "creator_",
"type": "address",
"internalType": "address"
},
{
"name": "metadataURI_",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "nonpayable"
},
{
"name": "AmountSDOverflowed",
"type": "error",
"inputs": [
{
"name": "amountSD",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "AmountTooSmallToBridge",
"type": "error",
"inputs": [
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "ERC20InsufficientAllowance",
"type": "error",
"inputs": [
{
"name": "spender",
"type": "address",
"internalType": "address"
},
{
"name": "allowance",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "needed",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "ERC20InsufficientBalance",
"type": "error",
"inputs": [
{
"name": "sender",
"type": "address",
"internalType": "address"
},
{
"name": "balance",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "needed",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "ERC20InvalidApprover",
"type": "error",
"inputs": [
{
"name": "approver",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "ERC20InvalidReceiver",
"type": "error",
"inputs": [
{
"name": "receiver",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "ERC20InvalidSender",
"type": "error",
"inputs": [
{
"name": "sender",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "ERC20InvalidSpender",
"type": "error",
"inputs": [
{
"name": "spender",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "InvalidDelegate",
"type": "error",
"inputs": []
},
{
"name": "InvalidEndpointCall",
"type": "error",
"inputs": []
},
{
"name": "InvalidLocalDecimals",
"type": "error",
"inputs": []
},
{
"name": "InvalidOptions",
"type": "error",
"inputs": [
{
"name": "options",
"type": "bytes",
"internalType": "bytes"
}
]
},
{
"name": "LzTokenUnavailable",
"type": "error",
"inputs": []
},
{
"name": "NoBridgeFeeRecipient",
"type": "error",
"inputs": []
},
{
"name": "NoPeer",
"type": "error",
"inputs": [
{
"name": "eid",
"type": "uint32",
"internalType": "uint32"
}
]
},
{
"name": "NotEnoughNative",
"type": "error",
"inputs": [
{
"name": "msgValue",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "NotMetadataAuthority",
"type": "error",
"inputs": []
},
{
"name": "NotPendingAuthority",
"type": "error",
"inputs": []
},
{
"name": "NotSupplyReporter",
"type": "error",
"inputs": []
},
{
"name": "NothingToMint",
"type": "error",
"inputs": []
},
{
"name": "OnlyEndpoint",
"type": "error",
"inputs": [
{
"name": "addr",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "OnlyPeer",
"type": "error",
"inputs": [
{
"name": "eid",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "sender",
"type": "bytes32",
"internalType": "bytes32"
}
]
},
{
"name": "OnlySelf",
"type": "error",
"inputs": []
},
{
"name": "OwnableInvalidOwner",
"type": "error",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "OwnableUnauthorizedAccount",
"type": "error",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "ReportAboveLaunchTotal",
"type": "error",
"inputs": [
{
"name": "reported",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "total",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "ReportBelowLocalSupply",
"type": "error",
"inputs": [
{
"name": "reported",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "local",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "SafeERC20FailedOperation",
"type": "error",
"inputs": [
{
"name": "token",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "SimulationResult",
"type": "error",
"inputs": [
{
"name": "result",
"type": "bytes",
"internalType": "bytes"
}
]
},
{
"name": "SliceExceedsLaunchTotal",
"type": "error",
"inputs": [
{
"name": "slice",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "total",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "SlippageExceeded",
"type": "error",
"inputs": [
{
"name": "amountLD",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "minAmountLD",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "ZeroAuthority",
"type": "error",
"inputs": []
},
{
"name": "Approval",
"type": "event",
"inputs": [
{
"name": "owner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "spender",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "value",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "EnforcedOptionSet",
"type": "event",
"inputs": [
{
"name": "_enforcedOptions",
"type": "tuple[]",
"indexed": false,
"components": [
{
"name": "eid",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "msgType",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "options",
"type": "bytes",
"internalType": "bytes"
}
],
"internalType": "struct EnforcedOptionParam[]"
}
],
"anonymous": false
},
{
"name": "MetadataAuthorityChanged",
"type": "event",
"inputs": [
{
"name": "from",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "to",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "MetadataAuthorityProposed",
"type": "event",
"inputs": [
{
"name": "from",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "to",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "MetadataURISet",
"type": "event",
"inputs": [
{
"name": "uri",
"type": "string",
"indexed": false,
"internalType": "string"
}
],
"anonymous": false
},
{
"name": "MsgInspectorSet",
"type": "event",
"inputs": [
{
"name": "inspector",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "OFTReceived",
"type": "event",
"inputs": [
{
"name": "guid",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "srcEid",
"type": "uint32",
"indexed": false,
"internalType": "uint32"
},
{
"name": "toAddress",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "amountReceivedLD",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "OFTSent",
"type": "event",
"inputs": [
{
"name": "guid",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "dstEid",
"type": "uint32",
"indexed": false,
"internalType": "uint32"
},
{
"name": "fromAddress",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "amountSentLD",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "amountReceivedLD",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "OwnershipTransferred",
"type": "event",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "PeerSet",
"type": "event",
"inputs": [
{
"name": "eid",
"type": "uint32",
"indexed": false,
"internalType": "uint32"
},
{
"name": "peer",
"type": "bytes32",
"indexed": false,
"internalType": "bytes32"
}
],
"anonymous": false
},
{
"name": "PreCrimeSet",
"type": "event",
"inputs": [
{
"name": "preCrimeAddress",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "SupplyReported",
"type": "event",
"inputs": [
{
"name": "oldSupply",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "newSupply",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "Transfer",
"type": "event",
"inputs": [
{
"name": "from",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "to",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "value",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "BRIDGE_FEE_BPS",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint16",
"internalType": "uint16"
}
],
"stateMutability": "view"
},
{
"name": "SEND",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint16",
"internalType": "uint16"
}
],
"stateMutability": "view"
},
{
"name": "SEND_AND_CALL",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint16",
"internalType": "uint16"
}
],
"stateMutability": "view"
},
{
"name": "acceptMetadataAuthority",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "allowInitializePath",
"type": "function",
"inputs": [
{
"name": "origin",
"type": "tuple",
"components": [
{
"name": "srcEid",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "sender",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "nonce",
"type": "uint64",
"internalType": "uint64"
}
],
"internalType": "struct Origin"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "allowance",
"type": "function",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
},
{
"name": "spender",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "approvalRequired",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "pure"
},
{
"name": "approve",
"type": "function",
"inputs": [
{
"name": "spender",
"type": "address",
"internalType": "address"
},
{
"name": "value",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "nonpayable"
},
{
"name": "balanceOf",
"type": "function",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "bridgeFeeTo",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "combineOptions",
"type": "function",
"inputs": [
{
"name": "_eid",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "_msgType",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_extraOptions",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [
{
"name": "",
"type": "bytes",
"internalType": "bytes"
}
],
"stateMutability": "view"
},
{
"name": "creator",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "decimalConversionRate",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "decimals",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint8",
"internalType": "uint8"
}
],
"stateMutability": "pure"
},
{
"name": "endpoint",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract ILayerZeroEndpointV2"
}
],
"stateMutability": "view"
},
{
"name": "enforcedOptions",
"type": "function",
"inputs": [
{
"name": "eid",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "msgType",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [
{
"name": "enforcedOption",
"type": "bytes",
"internalType": "bytes"
}
],
"stateMutability": "view"
},
{
"name": "isComposeMsgSender",
"type": "function",
"inputs": [
{
"name": "",
"type": "tuple",
"components": [
{
"name": "srcEid",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "sender",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "nonce",
"type": "uint64",
"internalType": "uint64"
}
],
"internalType": "struct Origin"
},
{
"name": "",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "_sender",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "isPeer",
"type": "function",
"inputs": [
{
"name": "_eid",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "_peer",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "launchSlice",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "launchTotal",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "localSupply",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "lzReceive",
"type": "function",
"inputs": [
{
"name": "_origin",
"type": "tuple",
"components": [
{
"name": "srcEid",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "sender",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "nonce",
"type": "uint64",
"internalType": "uint64"
}
],
"internalType": "struct Origin"
},
{
"name": "_guid",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "_message",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "_executor",
"type": "address",
"internalType": "address"
},
{
"name": "_extraData",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"name": "lzReceiveAndRevert",
"type": "function",
"inputs": [
{
"name": "_packets",
"type": "tuple[]",
"components": [
{
"name": "origin",
"type": "tuple",
"components": [
{
"name": "srcEid",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "sender",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "nonce",
"type": "uint64",
"internalType": "uint64"
}
],
"internalType": "struct Origin"
},
{
"name": "dstEid",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "receiver",
"type": "address",
"internalType": "address"
},
{
"name": "guid",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "value",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "executor",
"type": "address",
"internalType": "address"
},
{
"name": "message",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "extraData",
"type": "bytes",
"internalType": "bytes"
}
],
"internalType": "struct InboundPacket[]"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"name": "lzReceiveSimulate",
"type": "function",
"inputs": [
{
"name": "_origin",
"type": "tuple",
"components": [
{
"name": "srcEid",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "sender",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "nonce",
"type": "uint64",
"internalType": "uint64"
}
],
"internalType": "struct Origin"
},
{
"name": "_guid",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "_message",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "_executor",
"type": "address",
"internalType": "address"
},
{
"name": "_extraData",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"name": "metadataAuthority",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "metadataURI",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"name": "msgInspector",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "name",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"name": "nextNonce",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "nonce",
"type": "uint64",
"internalType": "uint64"
}
],
"stateMutability": "view"
},
{
"name": "oApp",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "oAppVersion",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "senderVersion",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "receiverVersion",
"type": "uint64",
"internalType": "uint64"
}
],
"stateMutability": "pure"
},
{
"name": "oftVersion",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "interfaceId",
"type": "bytes4",
"internalType": "bytes4"
},
{
"name": "version",
"type": "uint64",
"internalType": "uint64"
}
],
"stateMutability": "pure"
},
{
"name": "owner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "peers",
"type": "function",
"inputs": [
{
"name": "eid",
"type": "uint32",
"internalType": "uint32"
}
],
"outputs": [
{
"name": "peer",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"name": "pendingMetadataAuthority",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "preCrime",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "proposeMetadataAuthority",
"type": "function",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "quoteOFT",
"type": "function",
"inputs": [
{
"name": "_sendParam",
"type": "tuple",
"components": [
{
"name": "dstEid",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "to",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "amountLD",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "minAmountLD",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "extraOptions",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "composeMsg",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "oftCmd",
"type": "bytes",
"internalType": "bytes"
}
],
"internalType": "struct SendParam"
}
],
"outputs": [
{
"name": "oftLimit",
"type": "tuple",
"components": [
{
"name": "minAmountLD",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maxAmountLD",
"type": "uint256",
"internalType": "uint256"
}
],
"internalType": "struct OFTLimit"
},
{
"name": "oftFeeDetails",
"type": "tuple[]",
"components": [
{
"name": "feeAmountLD",
"type": "int256",
"internalType": "int256"
},
{
"name": "description",
"type": "string",
"internalType": "string"
}
],
"internalType": "struct OFTFeeDetail[]"
},
{
"name": "oftReceipt",
"type": "tuple",
"components": [
{
"name": "amountSentLD",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "amountReceivedLD",
"type": "uint256",
"internalType": "uint256"
}
],
"internalType": "struct OFTReceipt"
}
],
"stateMutability": "view"
},
{
"name": "quoteSend",
"type": "function",
"inputs": [
{
"name": "_sendParam",
"type": "tuple",
"components": [
{
"name": "dstEid",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "to",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "amountLD",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "minAmountLD",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "extraOptions",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "composeMsg",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "oftCmd",
"type": "bytes",
"internalType": "bytes"
}
],
"internalType": "struct SendParam"
},
{
"name": "_payInLzToken",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [
{
"name": "msgFee",
"type": "tuple",
"components": [
{
"name": "nativeFee",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "lzTokenFee",
"type": "uint256",
"internalType": "uint256"
}
],
"internalType": "struct MessagingFee"
}
],
"stateMutability": "view"
},
{
"name": "renounceOwnership",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "reportSupply",
"type": "function",
"inputs": [
{
"name": "newSupply",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "reportedSupply",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "send",
"type": "function",
"inputs": [
{
"name": "_sendParam",
"type": "tuple",
"components": [
{
"name": "dstEid",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "to",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "amountLD",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "minAmountLD",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "extraOptions",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "composeMsg",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "oftCmd",
"type": "bytes",
"internalType": "bytes"
}
],
"internalType": "struct SendParam"
},
{
"name": "_fee",
"type": "tuple",
"components": [
{
"name": "nativeFee",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "lzTokenFee",
"type": "uint256",
"internalType": "uint256"
}
],
"internalType": "struct MessagingFee"
},
{
"name": "_refundAddress",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "msgReceipt",
"type": "tuple",
"components": [
{
"name": "guid",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "nonce",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "fee",
"type": "tuple",
"components": [
{
"name": "nativeFee",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "lzTokenFee",
"type": "uint256",
"internalType": "uint256"
}
],
"internalType": "struct MessagingFee"
}
],
"internalType": "struct MessagingReceipt"
},
{
"name": "oftReceipt",
"type": "tuple",
"components": [
{
"name": "amountSentLD",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "amountReceivedLD",
"type": "uint256",
"internalType": "uint256"
}
],
"internalType": "struct OFTReceipt"
}
],
"stateMutability": "payable"
},
{
"name": "setDelegate",
"type": "function",
"inputs": [
{
"name": "_delegate",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setEnforcedOptions",
"type": "function",
"inputs": [
{
"name": "_enforcedOptions",
"type": "tuple[]",
"components": [
{
"name": "eid",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "msgType",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "options",
"type": "bytes",
"internalType": "bytes"
}
],
"internalType": "struct EnforcedOptionParam[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setMetadataURI",
"type": "function",
"inputs": [
{
"name": "uri",
"type": "string",
"internalType": "string"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setMsgInspector",
"type": "function",
"inputs": [
{
"name": "_msgInspector",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setPeer",
"type": "function",
"inputs": [
{
"name": "_eid",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "_peer",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setPreCrime",
"type": "function",
"inputs": [
{
"name": "_preCrime",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "sharedDecimals",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint8",
"internalType": "uint8"
}
],
"stateMutability": "view"
},
{
"name": "supplyReporter",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "symbol",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"name": "token",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "totalSupply",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "transfer",
"type": "function",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "value",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "nonpayable"
},
{
"name": "transferFrom",
"type": "function",
"inputs": [
{
"name": "from",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "value",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "nonpayable"
},
{
"name": "transferOwnership",
"type": "function",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.