import _m0 from "protobufjs/minimal.js"; import { StoreCodeProposal } from "../../../cosmwasm/wasm/v1/proposal_legacy"; export declare const protobufPackage = "injective.wasmx.v1"; export declare const FundingMode: { readonly Unspecified: 0; readonly SelfFunded: 1; readonly GrantOnly: 2; readonly Dual: 3; readonly UNRECOGNIZED: -1; }; export type FundingMode = typeof FundingMode[keyof typeof FundingMode]; export declare function fundingModeFromJSON(object: any): FundingMode; export declare function fundingModeToJSON(object: FundingMode): string; export interface ContractRegistrationRequestProposal { title: string; description: string; contractRegistrationRequest: ContractRegistrationRequest | undefined; } export interface BatchContractRegistrationRequestProposal { title: string; description: string; contractRegistrationRequests: ContractRegistrationRequest[]; } export interface BatchContractDeregistrationProposal { title: string; description: string; contracts: string[]; } export interface ContractRegistrationRequest { /** Unique Identifier for contract instance to be registered. */ contractAddress: string; /** Maximum gas to be used for the smart contract execution. */ gasLimit: string; /** gas price to be used for the smart contract execution. */ gasPrice: string; shouldPinContract: boolean; /** * if true contract owner can update it, if false only current code_id will be * allowed to be executed */ isMigrationAllowed: boolean; /** * code_id of the contract being registered - will be verified upon every * execution but only if is_migration_allowed is false */ codeId: string; /** * Optional address of admin account (that will be allowed to pause or update * contract params) */ adminAddress: string; /** * Optional address of the contract that grants fees. Must be set if * funding_mode is other than SelfFunded */ granterAddress: string; /** Specifies how the contract will fund its execution */ fundingMode: FundingMode; } export interface BatchStoreCodeProposal { title: string; description: string; proposals: StoreCodeProposal[]; } export declare const ContractRegistrationRequestProposal: { encode(message: ContractRegistrationRequestProposal, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ContractRegistrationRequestProposal; fromJSON(object: any): ContractRegistrationRequestProposal; toJSON(message: ContractRegistrationRequestProposal): unknown; create(base?: DeepPartial): ContractRegistrationRequestProposal; fromPartial(object: DeepPartial): ContractRegistrationRequestProposal; }; export declare const BatchContractRegistrationRequestProposal: { encode(message: BatchContractRegistrationRequestProposal, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): BatchContractRegistrationRequestProposal; fromJSON(object: any): BatchContractRegistrationRequestProposal; toJSON(message: BatchContractRegistrationRequestProposal): unknown; create(base?: DeepPartial): BatchContractRegistrationRequestProposal; fromPartial(object: DeepPartial): BatchContractRegistrationRequestProposal; }; export declare const BatchContractDeregistrationProposal: { encode(message: BatchContractDeregistrationProposal, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): BatchContractDeregistrationProposal; fromJSON(object: any): BatchContractDeregistrationProposal; toJSON(message: BatchContractDeregistrationProposal): unknown; create(base?: DeepPartial): BatchContractDeregistrationProposal; fromPartial(object: DeepPartial): BatchContractDeregistrationProposal; }; export declare const ContractRegistrationRequest: { encode(message: ContractRegistrationRequest, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ContractRegistrationRequest; fromJSON(object: any): ContractRegistrationRequest; toJSON(message: ContractRegistrationRequest): unknown; create(base?: DeepPartial): ContractRegistrationRequest; fromPartial(object: DeepPartial): ContractRegistrationRequest; }; export declare const BatchStoreCodeProposal: { encode(message: BatchStoreCodeProposal, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): BatchStoreCodeProposal; fromJSON(object: any): BatchStoreCodeProposal; toJSON(message: BatchStoreCodeProposal): unknown; create(base?: DeepPartial): BatchStoreCodeProposal; fromPartial(object: DeepPartial): BatchStoreCodeProposal; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export {};