@malda-protocol/protocol-config
Version:
Centralized contract addresses, constants, and token configurations for Malda Protocol
64 lines (63 loc) • 2.16 kB
JavaScript
export const GAS_HELPER_ABI = [
{
inputs: [{ internalType: 'address', name: '_owner', type: 'address' }],
stateMutability: 'nonpayable',
type: 'constructor',
},
{ inputs: [{ internalType: 'address', name: 'owner', type: 'address' }], name: 'OwnableInvalidOwner', type: 'error' },
{
inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
name: 'OwnableUnauthorizedAccount',
type: 'error',
},
{
anonymous: false,
inputs: [
{ indexed: true, internalType: 'uint32', name: 'dstChainid', type: 'uint32' },
{ indexed: false, internalType: 'uint256', name: 'amount', type: 'uint256' },
],
name: 'GasFeeUpdated',
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: 'uint32', name: '', type: 'uint32' }],
name: 'gasFees',
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'owner',
outputs: [{ internalType: 'address', name: '', type: 'address' }],
stateMutability: 'view',
type: 'function',
},
{ inputs: [], name: 'renounceOwnership', outputs: [], stateMutability: 'nonpayable', type: 'function' },
{
inputs: [
{ internalType: 'uint32', name: 'dstChainId', type: 'uint32' },
{ internalType: 'uint256', name: 'amount', type: 'uint256' },
],
name: 'setGasFee',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }],
name: 'transferOwnership',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
];