UNPKG

@sei-js/evm

Version:

TypeScript library for EVM interactions on the Sei blockchain

32 lines (31 loc) 1.09 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GOVERNANCE_PRECOMPILE_ABI = exports.GOVERNANCE_PRECOMPILE_ADDRESS = void 0; /** * The address of the Governance precompile contract. * @category Cosmos Interoperability */ exports.GOVERNANCE_PRECOMPILE_ADDRESS = '0x0000000000000000000000000000000000001006'; /** * The ABI for the Governance precompile contract. * @category Cosmos Interoperability */ exports.GOVERNANCE_PRECOMPILE_ABI = [ { inputs: [{ internalType: 'uint64', name: 'proposalID', type: 'uint64' }], name: 'deposit', outputs: [{ internalType: 'bool', name: 'success', type: 'bool' }], stateMutability: 'payable', type: 'function' }, { inputs: [ { internalType: 'uint64', name: 'proposalID', type: 'uint64' }, { internalType: 'int32', name: 'option', type: 'int32' } ], name: 'vote', outputs: [{ internalType: 'bool', name: 'success', type: 'bool' }], stateMutability: 'nonpayable', type: 'function' } ];