@sei-js/evm
Version:
TypeScript library for EVM interactions on the Sei blockchain
43 lines (42 loc) • 1.25 kB
TypeScript
/**
* The address of the Governance precompile contract.
* @category Cosmos Interoperability
*/
export declare const GOVERNANCE_PRECOMPILE_ADDRESS: `0x${string}`;
/**
* The ABI for the Governance precompile contract.
* @category Cosmos Interoperability
*/
export declare const GOVERNANCE_PRECOMPILE_ABI: readonly [{
readonly inputs: readonly [{
readonly internalType: "uint64";
readonly name: "proposalID";
readonly type: "uint64";
}];
readonly name: "deposit";
readonly outputs: readonly [{
readonly internalType: "bool";
readonly name: "success";
readonly type: "bool";
}];
readonly stateMutability: "payable";
readonly type: "function";
}, {
readonly inputs: readonly [{
readonly internalType: "uint64";
readonly name: "proposalID";
readonly type: "uint64";
}, {
readonly internalType: "int32";
readonly name: "option";
readonly type: "int32";
}];
readonly name: "vote";
readonly outputs: readonly [{
readonly internalType: "bool";
readonly name: "success";
readonly type: "bool";
}];
readonly stateMutability: "nonpayable";
readonly type: "function";
}];