@qso-soft/shared
Version:
Shared library for QSO-soft
185 lines • 6.65 kB
JavaScript
export const polyhedraAbi = [
{
anonymous: false,
inputs: [{ indexed: false, internalType: 'uint8', name: 'version', type: 'uint8' }],
name: 'Initialized',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, internalType: 'uint64', name: 'nonce', type: 'uint64' },
{ indexed: true, internalType: 'uint32', name: 'srcChainId', type: 'uint32' },
{ indexed: false, internalType: 'address', name: 'sender', type: 'address' },
{ indexed: false, internalType: 'address', name: 'recipient', type: 'address' },
{ indexed: false, internalType: 'string', name: 'message', type: 'string' },
],
name: 'MessageReceived',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, internalType: 'uint64', name: 'nonce', type: 'uint64' },
{ indexed: true, internalType: 'uint32', name: 'dstChainId', type: 'uint32' },
{ indexed: false, internalType: 'address', name: 'sender', type: 'address' },
{ indexed: false, internalType: 'address', name: 'recipient', type: 'address' },
{ indexed: false, internalType: 'string', name: 'message', type: 'string' },
],
name: 'MessageSend',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: false, internalType: 'uint16', name: 'chainId', type: 'uint16' },
{ indexed: false, internalType: 'uint256', name: 'fee', type: 'uint256' },
],
name: 'NewFee',
type: 'event',
},
{
anonymous: false,
inputs: [
{ indexed: true, internalType: 'address', name: 'previousOwner', type: 'address' },
{ indexed: true, internalType: 'address', name: 'newOwner', type: 'address' },
],
name: 'OwnershipTransferred',
type: 'event',
},
{
inputs: [{ internalType: 'uint16', name: '', type: 'uint16' }],
name: 'bridgeHandle',
outputs: [{ internalType: 'contract IBridgeHandle', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'chainId',
outputs: [{ internalType: 'uint16', name: '', type: 'uint16' }],
stateMutability: 'view',
type: 'function',
},
{ inputs: [], name: 'claimFees', outputs: [], stateMutability: 'nonpayable', type: 'function' },
{
inputs: [
{ internalType: 'uint16', name: 'dstChainId', type: 'uint16' },
{ internalType: 'address', name: 'recipient', type: 'address' },
{ internalType: 'string', name: 'message', type: 'string' },
{ internalType: 'bytes', name: 'adapterParams', type: 'bytes' },
],
name: 'estimateFee',
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint16', name: '', type: 'uint16' }],
name: 'fees',
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint16', name: '_chainId', type: 'uint16' }],
name: 'initialize',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'maxLength',
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{ internalType: 'address', name: '', type: 'address' },
{ internalType: 'uint256', name: '', type: 'uint256' },
],
name: 'messages',
outputs: [
{ internalType: 'address', name: 'sender', type: 'address' },
{ internalType: 'string', name: 'message', type: 'string' },
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [{ internalType: 'uint16', name: '', type: 'uint16' }],
name: 'nonce',
outputs: [{ internalType: 'uint64', name: '', type: 'uint64' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'owner',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{ internalType: 'uint16', name: 'srcChainId', type: 'uint16' },
{ internalType: 'address', name: 'srcAddress', type: 'address' },
{ internalType: 'uint64', name: 'nonce', type: 'uint64' },
{ internalType: 'bytes', name: 'payload', type: 'bytes' },
],
name: 'receiveMessage',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{ inputs: [], name: 'renounceOwnership', outputs: [], stateMutability: 'nonpayable', type: 'function' },
{
inputs: [
{ internalType: 'uint16', name: 'dstChainId', type: 'uint16' },
{ internalType: 'address', name: 'recipient', type: 'address' },
{ internalType: 'string', name: 'message', type: 'string' },
{ internalType: 'bytes', name: '_adapterParams', type: 'bytes' },
],
name: 'sendMessage',
outputs: [],
stateMutability: 'payable',
type: 'function',
},
{
inputs: [
{ internalType: 'uint16', name: '_dstChainId', type: 'uint16' },
{ internalType: 'address', name: '_bridgeHandle', type: 'address' },
],
name: 'setBridgeHandle',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{ internalType: 'uint16', name: '_dstChainId', type: 'uint16' },
{ internalType: 'uint256', name: '_fee', type: 'uint256' },
],
name: 'setFee',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [{ internalType: 'uint256', name: '_maxLength', type: 'uint256' }],
name: 'setMsgLength',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }],
name: 'transferOwnership',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
];
//# sourceMappingURL=polyhedra.js.map