Verified contractExactMIT
IndirectOFTV2WithFee
Address0xd8ba3a437ae3e95a9be47dc2bf46a05723deed89
- Balance
0 ETH
- Transactions
121
- Compiler
solc 0.8.19
- Same code
Only this contract
Details
- Compiler
- solc 0.8.19+commit.7dd6d404
- Language
- solidity
- Optimization
- Yes, 200 runs
- EVM version
- paris
- License
- MIT
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 19,176,998
- Creation transaction
- 0xa3a11c58e1…a892c99a2a
Read31
- BP_DENOMINATOR() → (uint256)
- DEFAULT_PAYLOAD_SIZE_LIMIT() → (uint256)
- MAX_FEE() → (uint256)
- NO_EXTRA_GAS() → (uint256)
- PT_SEND() → (uint8)
- PT_SEND_AND_CALL() → (uint8)
- chainIdToFeeBps(uint16) → (uint16,bool)
- circulatingSupply() → (uint256)
- creditedPackets(uint16,bytes,uint64) → (bool)
- defaultFeeBp() → (uint16)
- estimateSendAndCallFee(uint16,bytes32,uint256,bytes,uint64,bool,bytes) → (uint256,uint256)
- estimateSendFee(uint16,bytes32,uint256,bool,bytes) → (uint256,uint256)
- failedMessages(uint16,bytes,uint64) → (bytes32)
- feeOwner() → (address)
- getConfig(uint16,uint16,address,uint256) → (bytes)
- getTrustedRemoteAddress(uint16) → (bytes)
- innerToken() → (address)
- isTrustedRemote(uint16,bytes) → (bool)
- ld2sdRate() → (uint256)
- lzEndpoint() → (address)
- minDstGasLookup(uint16,uint16) → (uint256)
- owner() → (address)
- payloadSizeLimitLookup(uint16) → (uint256)
- precrime() → (address)
- quoteOFTFee(uint16,uint256) → (uint256)
- sharedDecimals() → (uint8)
- supportsInterface(bytes4) → (bool)
- token() → (address)
- totalCreditedAmount() → (uint256)
- trustedRemoteLookup(uint16) → (bytes)
- useCustomAdapterParams() → (bool)
Write21
- callOnOFTReceived(uint16,bytes,uint64,bytes32,address,uint256,bytes,uint256)
- forceResumeReceive(uint16,bytes)
- lzReceive(uint16,bytes,uint64,bytes)
- nonblockingLzReceive(uint16,bytes,uint64,bytes)
- renounceOwnership()
- retryMessage(uint16,bytes,uint64,bytes)
- sendAndCall(address,uint16,bytes32,uint256,uint256,bytes,uint64,tuple)
- sendFrom(address,uint16,bytes32,uint256,uint256,tuple)
- setConfig(uint16,uint16,uint256,bytes)
- setDefaultFeeBp(uint16)
- setFeeBp(uint16,bool,uint16)
- setFeeOwner(address)
- setMinDstGas(uint16,uint16,uint256)
- setPayloadSizeLimit(uint16,uint256)
- setPrecrime(address)
- setReceiveVersion(uint16)
- setSendVersion(uint16)
- setTrustedRemote(uint16,bytes)
- setTrustedRemoteAddress(uint16,bytes)
- setUseCustomAdapterParams(bool)
- transferOwnership(address)
Events15
- CallOFTReceivedSuccess(uint16,bytes,uint64,bytes32)
- MessageFailed(uint16,bytes,uint64,bytes,bytes)
- NonContractAddress(address)
- OwnershipTransferred(address,address)
- ReceiveFromChain(uint16,address,uint256,address)
- RetryMessageSuccess(uint16,bytes,uint64,bytes32)
- SendToChain(uint16,address,bytes32,uint256)
- SetDefaultFeeBp(uint16)
- SetFeeBp(uint16,bool,uint16)
- SetFeeOwner(address)
- SetMinDstGas(uint16,uint16,uint256)
- SetPrecrime(address)
- SetTrustedRemote(uint16,bytes)
- SetTrustedRemoteAddress(uint16,bytes)
- SetUseCustomAdapterParams(bool)
ABI as JSON
[
{
"type": "constructor",
"inputs": [
{
"name": "_token",
"type": "address",
"internalType": "address"
},
{
"name": "_sharedDecimals",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "_lzEndpoint",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "nonpayable"
},
{
"name": "CallOFTReceivedSuccess",
"type": "event",
"inputs": [
{
"name": "_srcChainId",
"type": "uint16",
"indexed": true,
"internalType": "uint16"
},
{
"name": "_srcAddress",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
},
{
"name": "_nonce",
"type": "uint64",
"indexed": false,
"internalType": "uint64"
},
{
"name": "_hash",
"type": "bytes32",
"indexed": false,
"internalType": "bytes32"
}
],
"anonymous": false
},
{
"name": "MessageFailed",
"type": "event",
"inputs": [
{
"name": "_srcChainId",
"type": "uint16",
"indexed": false,
"internalType": "uint16"
},
{
"name": "_srcAddress",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
},
{
"name": "_nonce",
"type": "uint64",
"indexed": false,
"internalType": "uint64"
},
{
"name": "_payload",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
},
{
"name": "_reason",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
}
],
"anonymous": false
},
{
"name": "NonContractAddress",
"type": "event",
"inputs": [
{
"name": "_address",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"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": "ReceiveFromChain",
"type": "event",
"inputs": [
{
"name": "_srcChainId",
"type": "uint16",
"indexed": true,
"internalType": "uint16"
},
{
"name": "_to",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "_amount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "from",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "RetryMessageSuccess",
"type": "event",
"inputs": [
{
"name": "_srcChainId",
"type": "uint16",
"indexed": false,
"internalType": "uint16"
},
{
"name": "_srcAddress",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
},
{
"name": "_nonce",
"type": "uint64",
"indexed": false,
"internalType": "uint64"
},
{
"name": "_payloadHash",
"type": "bytes32",
"indexed": false,
"internalType": "bytes32"
}
],
"anonymous": false
},
{
"name": "SendToChain",
"type": "event",
"inputs": [
{
"name": "_dstChainId",
"type": "uint16",
"indexed": true,
"internalType": "uint16"
},
{
"name": "_from",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "_toAddress",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "_amount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "SetDefaultFeeBp",
"type": "event",
"inputs": [
{
"name": "feeBp",
"type": "uint16",
"indexed": false,
"internalType": "uint16"
}
],
"anonymous": false
},
{
"name": "SetFeeBp",
"type": "event",
"inputs": [
{
"name": "dstchainId",
"type": "uint16",
"indexed": false,
"internalType": "uint16"
},
{
"name": "enabled",
"type": "bool",
"indexed": false,
"internalType": "bool"
},
{
"name": "feeBp",
"type": "uint16",
"indexed": false,
"internalType": "uint16"
}
],
"anonymous": false
},
{
"name": "SetFeeOwner",
"type": "event",
"inputs": [
{
"name": "feeOwner",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "SetMinDstGas",
"type": "event",
"inputs": [
{
"name": "_dstChainId",
"type": "uint16",
"indexed": false,
"internalType": "uint16"
},
{
"name": "_type",
"type": "uint16",
"indexed": false,
"internalType": "uint16"
},
{
"name": "_minDstGas",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "SetPrecrime",
"type": "event",
"inputs": [
{
"name": "precrime",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "SetTrustedRemote",
"type": "event",
"inputs": [
{
"name": "_remoteChainId",
"type": "uint16",
"indexed": false,
"internalType": "uint16"
},
{
"name": "_path",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
}
],
"anonymous": false
},
{
"name": "SetTrustedRemoteAddress",
"type": "event",
"inputs": [
{
"name": "_remoteChainId",
"type": "uint16",
"indexed": false,
"internalType": "uint16"
},
{
"name": "_remoteAddress",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
}
],
"anonymous": false
},
{
"name": "SetUseCustomAdapterParams",
"type": "event",
"inputs": [
{
"name": "_useCustomAdapterParams",
"type": "bool",
"indexed": false,
"internalType": "bool"
}
],
"anonymous": false
},
{
"name": "BP_DENOMINATOR",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "DEFAULT_PAYLOAD_SIZE_LIMIT",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "MAX_FEE",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "NO_EXTRA_GAS",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "PT_SEND",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint8",
"internalType": "uint8"
}
],
"stateMutability": "view"
},
{
"name": "PT_SEND_AND_CALL",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint8",
"internalType": "uint8"
}
],
"stateMutability": "view"
},
{
"name": "callOnOFTReceived",
"type": "function",
"inputs": [
{
"name": "_srcChainId",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_srcAddress",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "_nonce",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "_from",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "_to",
"type": "address",
"internalType": "address"
},
{
"name": "_amount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_payload",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "_gasForCall",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "chainIdToFeeBps",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [
{
"name": "feeBP",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "enabled",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "circulatingSupply",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "creditedPackets",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "",
"type": "uint64",
"internalType": "uint64"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "defaultFeeBp",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint16",
"internalType": "uint16"
}
],
"stateMutability": "view"
},
{
"name": "estimateSendAndCallFee",
"type": "function",
"inputs": [
{
"name": "_dstChainId",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_toAddress",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "_amount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_payload",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "_dstGasForCall",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "_useZro",
"type": "bool",
"internalType": "bool"
},
{
"name": "_adapterParams",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [
{
"name": "nativeFee",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "zroFee",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "estimateSendFee",
"type": "function",
"inputs": [
{
"name": "_dstChainId",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_toAddress",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "_amount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_useZro",
"type": "bool",
"internalType": "bool"
},
{
"name": "_adapterParams",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [
{
"name": "nativeFee",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "zroFee",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "failedMessages",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "",
"type": "uint64",
"internalType": "uint64"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"name": "feeOwner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "forceResumeReceive",
"type": "function",
"inputs": [
{
"name": "_srcChainId",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_srcAddress",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "getConfig",
"type": "function",
"inputs": [
{
"name": "_version",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_chainId",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "_configType",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bytes",
"internalType": "bytes"
}
],
"stateMutability": "view"
},
{
"name": "getTrustedRemoteAddress",
"type": "function",
"inputs": [
{
"name": "_remoteChainId",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [
{
"name": "",
"type": "bytes",
"internalType": "bytes"
}
],
"stateMutability": "view"
},
{
"name": "innerToken",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "isTrustedRemote",
"type": "function",
"inputs": [
{
"name": "_srcChainId",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_srcAddress",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "ld2sdRate",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "lzEndpoint",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract ILayerZeroEndpoint"
}
],
"stateMutability": "view"
},
{
"name": "lzReceive",
"type": "function",
"inputs": [
{
"name": "_srcChainId",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_srcAddress",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "_nonce",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "_payload",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "minDstGasLookup",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "nonblockingLzReceive",
"type": "function",
"inputs": [
{
"name": "_srcChainId",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_srcAddress",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "_nonce",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "_payload",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "owner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "payloadSizeLimitLookup",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "precrime",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "quoteOFTFee",
"type": "function",
"inputs": [
{
"name": "_dstChainId",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_amount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "fee",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "renounceOwnership",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "retryMessage",
"type": "function",
"inputs": [
{
"name": "_srcChainId",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_srcAddress",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "_nonce",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "_payload",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"name": "sendAndCall",
"type": "function",
"inputs": [
{
"name": "_from",
"type": "address",
"internalType": "address"
},
{
"name": "_dstChainId",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_toAddress",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "_amount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_minAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_payload",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "_dstGasForCall",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "_callParams",
"type": "tuple",
"components": [
{
"name": "refundAddress",
"type": "address",
"internalType": "address payable"
},
{
"name": "zroPaymentAddress",
"type": "address",
"internalType": "address"
},
{
"name": "adapterParams",
"type": "bytes",
"internalType": "bytes"
}
],
"internalType": "struct ICommonOFT.LzCallParams"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"name": "sendFrom",
"type": "function",
"inputs": [
{
"name": "_from",
"type": "address",
"internalType": "address"
},
{
"name": "_dstChainId",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_toAddress",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "_amount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_minAmount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_callParams",
"type": "tuple",
"components": [
{
"name": "refundAddress",
"type": "address",
"internalType": "address payable"
},
{
"name": "zroPaymentAddress",
"type": "address",
"internalType": "address"
},
{
"name": "adapterParams",
"type": "bytes",
"internalType": "bytes"
}
],
"internalType": "struct ICommonOFT.LzCallParams"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"name": "setConfig",
"type": "function",
"inputs": [
{
"name": "_version",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_chainId",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_configType",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_config",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setDefaultFeeBp",
"type": "function",
"inputs": [
{
"name": "_feeBp",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setFeeBp",
"type": "function",
"inputs": [
{
"name": "_dstChainId",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_enabled",
"type": "bool",
"internalType": "bool"
},
{
"name": "_feeBp",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setFeeOwner",
"type": "function",
"inputs": [
{
"name": "_feeOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setMinDstGas",
"type": "function",
"inputs": [
{
"name": "_dstChainId",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_packetType",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_minGas",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setPayloadSizeLimit",
"type": "function",
"inputs": [
{
"name": "_dstChainId",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_size",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setPrecrime",
"type": "function",
"inputs": [
{
"name": "_precrime",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setReceiveVersion",
"type": "function",
"inputs": [
{
"name": "_version",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setSendVersion",
"type": "function",
"inputs": [
{
"name": "_version",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setTrustedRemote",
"type": "function",
"inputs": [
{
"name": "_remoteChainId",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_path",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setTrustedRemoteAddress",
"type": "function",
"inputs": [
{
"name": "_remoteChainId",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_remoteAddress",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setUseCustomAdapterParams",
"type": "function",
"inputs": [
{
"name": "_useCustomAdapterParams",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "sharedDecimals",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint8",
"internalType": "uint8"
}
],
"stateMutability": "view"
},
{
"name": "supportsInterface",
"type": "function",
"inputs": [
{
"name": "interfaceId",
"type": "bytes4",
"internalType": "bytes4"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "token",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "totalCreditedAmount",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "transferOwnership",
"type": "function",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "trustedRemoteLookup",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [
{
"name": "",
"type": "bytes",
"internalType": "bytes"
}
],
"stateMutability": "view"
},
{
"name": "useCustomAdapterParams",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.