import { StoreCodeProposal, StoreCodeProposalAmino } from "../../../cosmwasm/wasm/v1/proposal_legacy"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { DeepPartial } from "../../../helpers"; export declare enum FundingMode { Unspecified = 0, SelfFunded = 1, GrantOnly = 2, Dual = 3, UNRECOGNIZED = -1 } export declare const FundingModeAmino: typeof FundingMode; export declare function fundingModeFromJSON(object: any): FundingMode; export declare function fundingModeToJSON(object: FundingMode): string; /** * @name ContractRegistrationRequestProposal * @package injective.wasmx.v1 * @see proto type: injective.wasmx.v1.ContractRegistrationRequestProposal */ export interface ContractRegistrationRequestProposal { $typeUrl?: "/injective.wasmx.v1.ContractRegistrationRequestProposal"; title: string; description: string; contractRegistrationRequest: ContractRegistrationRequest; } export interface ContractRegistrationRequestProposalProtoMsg { typeUrl: "/injective.wasmx.v1.ContractRegistrationRequestProposal"; value: Uint8Array; } /** * @name ContractRegistrationRequestProposalAmino * @package injective.wasmx.v1 * @see proto type: injective.wasmx.v1.ContractRegistrationRequestProposal */ export interface ContractRegistrationRequestProposalAmino { title: string; description: string; contract_registration_request: ContractRegistrationRequestAmino; } export interface ContractRegistrationRequestProposalAminoMsg { type: "wasmx/ContractRegistrationRequestProposal"; value: ContractRegistrationRequestProposalAmino; } /** * @name BatchContractRegistrationRequestProposal * @package injective.wasmx.v1 * @see proto type: injective.wasmx.v1.BatchContractRegistrationRequestProposal */ export interface BatchContractRegistrationRequestProposal { $typeUrl?: "/injective.wasmx.v1.BatchContractRegistrationRequestProposal"; title: string; description: string; contractRegistrationRequests: ContractRegistrationRequest[]; } export interface BatchContractRegistrationRequestProposalProtoMsg { typeUrl: "/injective.wasmx.v1.BatchContractRegistrationRequestProposal"; value: Uint8Array; } /** * @name BatchContractRegistrationRequestProposalAmino * @package injective.wasmx.v1 * @see proto type: injective.wasmx.v1.BatchContractRegistrationRequestProposal */ export interface BatchContractRegistrationRequestProposalAmino { title: string; description: string; contract_registration_requests: ContractRegistrationRequestAmino[]; } export interface BatchContractRegistrationRequestProposalAminoMsg { type: "wasmx/BatchContractRegistrationRequestProposal"; value: BatchContractRegistrationRequestProposalAmino; } /** * @name BatchContractDeregistrationProposal * @package injective.wasmx.v1 * @see proto type: injective.wasmx.v1.BatchContractDeregistrationProposal */ export interface BatchContractDeregistrationProposal { $typeUrl?: "/injective.wasmx.v1.BatchContractDeregistrationProposal"; title: string; description: string; contracts: string[]; } export interface BatchContractDeregistrationProposalProtoMsg { typeUrl: "/injective.wasmx.v1.BatchContractDeregistrationProposal"; value: Uint8Array; } /** * @name BatchContractDeregistrationProposalAmino * @package injective.wasmx.v1 * @see proto type: injective.wasmx.v1.BatchContractDeregistrationProposal */ export interface BatchContractDeregistrationProposalAmino { title: string; description: string; contracts: string[]; } export interface BatchContractDeregistrationProposalAminoMsg { type: "wasmx/BatchContractDeregistrationProposal"; value: BatchContractDeregistrationProposalAmino; } /** * @name ContractRegistrationRequest * @package injective.wasmx.v1 * @see proto type: injective.wasmx.v1.ContractRegistrationRequest */ export interface ContractRegistrationRequest { $typeUrl?: "/injective.wasmx.v1.ContractRegistrationRequest"; /** * Unique Identifier for contract instance to be registered. */ contractAddress: string; /** * Maximum gas to be used for the smart contract execution. */ gasLimit: bigint; /** * gas price to be used for the smart contract execution. */ gasPrice: bigint; 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: bigint; /** * 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 ContractRegistrationRequestProtoMsg { typeUrl: "/injective.wasmx.v1.ContractRegistrationRequest"; value: Uint8Array; } /** * @name ContractRegistrationRequestAmino * @package injective.wasmx.v1 * @see proto type: injective.wasmx.v1.ContractRegistrationRequest */ export interface ContractRegistrationRequestAmino { /** * Unique Identifier for contract instance to be registered. */ contract_address: string; /** * Maximum gas to be used for the smart contract execution. */ gas_limit: string; /** * gas price to be used for the smart contract execution. */ gas_price: string; should_pin_contract: boolean; /** * if true contract owner can update it, if false only current code_id will be * allowed to be executed */ is_migration_allowed: boolean; /** * code_id of the contract being registered - will be verified upon every * execution but only if is_migration_allowed is false */ code_id: string; /** * Optional address of admin account (that will be allowed to pause or update * contract params) */ admin_address: string; /** * Optional address of the contract that grants fees. Must be set if * funding_mode is other than SelfFunded */ granter_address: string; /** * Specifies how the contract will fund its execution */ funding_mode: FundingMode; } export interface ContractRegistrationRequestAminoMsg { type: "/injective.wasmx.v1.ContractRegistrationRequest"; value: ContractRegistrationRequestAmino; } /** * @name BatchStoreCodeProposal * @package injective.wasmx.v1 * @see proto type: injective.wasmx.v1.BatchStoreCodeProposal */ export interface BatchStoreCodeProposal { $typeUrl?: "/injective.wasmx.v1.BatchStoreCodeProposal"; title: string; description: string; proposals: StoreCodeProposal[]; } export interface BatchStoreCodeProposalProtoMsg { typeUrl: "/injective.wasmx.v1.BatchStoreCodeProposal"; value: Uint8Array; } /** * @name BatchStoreCodeProposalAmino * @package injective.wasmx.v1 * @see proto type: injective.wasmx.v1.BatchStoreCodeProposal */ export interface BatchStoreCodeProposalAmino { title: string; description: string; proposals: StoreCodeProposalAmino[]; } export interface BatchStoreCodeProposalAminoMsg { type: "wasmx/BatchStoreCodeProposal"; value: BatchStoreCodeProposalAmino; } /** * @name ContractRegistrationRequestProposal * @package injective.wasmx.v1 * @see proto type: injective.wasmx.v1.ContractRegistrationRequestProposal */ export declare const ContractRegistrationRequestProposal: { typeUrl: string; aminoType: string; is(o: any): o is ContractRegistrationRequestProposal; isAmino(o: any): o is ContractRegistrationRequestProposalAmino; encode(message: ContractRegistrationRequestProposal, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ContractRegistrationRequestProposal; fromPartial(object: DeepPartial): ContractRegistrationRequestProposal; fromAmino(object: ContractRegistrationRequestProposalAmino): ContractRegistrationRequestProposal; toAmino(message: ContractRegistrationRequestProposal): ContractRegistrationRequestProposalAmino; fromAminoMsg(object: ContractRegistrationRequestProposalAminoMsg): ContractRegistrationRequestProposal; toAminoMsg(message: ContractRegistrationRequestProposal): ContractRegistrationRequestProposalAminoMsg; fromProtoMsg(message: ContractRegistrationRequestProposalProtoMsg): ContractRegistrationRequestProposal; toProto(message: ContractRegistrationRequestProposal): Uint8Array; toProtoMsg(message: ContractRegistrationRequestProposal): ContractRegistrationRequestProposalProtoMsg; registerTypeUrl(): void; }; /** * @name BatchContractRegistrationRequestProposal * @package injective.wasmx.v1 * @see proto type: injective.wasmx.v1.BatchContractRegistrationRequestProposal */ export declare const BatchContractRegistrationRequestProposal: { typeUrl: string; aminoType: string; is(o: any): o is BatchContractRegistrationRequestProposal; isAmino(o: any): o is BatchContractRegistrationRequestProposalAmino; encode(message: BatchContractRegistrationRequestProposal, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): BatchContractRegistrationRequestProposal; fromPartial(object: DeepPartial): BatchContractRegistrationRequestProposal; fromAmino(object: BatchContractRegistrationRequestProposalAmino): BatchContractRegistrationRequestProposal; toAmino(message: BatchContractRegistrationRequestProposal): BatchContractRegistrationRequestProposalAmino; fromAminoMsg(object: BatchContractRegistrationRequestProposalAminoMsg): BatchContractRegistrationRequestProposal; toAminoMsg(message: BatchContractRegistrationRequestProposal): BatchContractRegistrationRequestProposalAminoMsg; fromProtoMsg(message: BatchContractRegistrationRequestProposalProtoMsg): BatchContractRegistrationRequestProposal; toProto(message: BatchContractRegistrationRequestProposal): Uint8Array; toProtoMsg(message: BatchContractRegistrationRequestProposal): BatchContractRegistrationRequestProposalProtoMsg; registerTypeUrl(): void; }; /** * @name BatchContractDeregistrationProposal * @package injective.wasmx.v1 * @see proto type: injective.wasmx.v1.BatchContractDeregistrationProposal */ export declare const BatchContractDeregistrationProposal: { typeUrl: string; aminoType: string; is(o: any): o is BatchContractDeregistrationProposal; isAmino(o: any): o is BatchContractDeregistrationProposalAmino; encode(message: BatchContractDeregistrationProposal, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): BatchContractDeregistrationProposal; fromPartial(object: DeepPartial): BatchContractDeregistrationProposal; fromAmino(object: BatchContractDeregistrationProposalAmino): BatchContractDeregistrationProposal; toAmino(message: BatchContractDeregistrationProposal): BatchContractDeregistrationProposalAmino; fromAminoMsg(object: BatchContractDeregistrationProposalAminoMsg): BatchContractDeregistrationProposal; toAminoMsg(message: BatchContractDeregistrationProposal): BatchContractDeregistrationProposalAminoMsg; fromProtoMsg(message: BatchContractDeregistrationProposalProtoMsg): BatchContractDeregistrationProposal; toProto(message: BatchContractDeregistrationProposal): Uint8Array; toProtoMsg(message: BatchContractDeregistrationProposal): BatchContractDeregistrationProposalProtoMsg; registerTypeUrl(): void; }; /** * @name ContractRegistrationRequest * @package injective.wasmx.v1 * @see proto type: injective.wasmx.v1.ContractRegistrationRequest */ export declare const ContractRegistrationRequest: { typeUrl: string; is(o: any): o is ContractRegistrationRequest; isAmino(o: any): o is ContractRegistrationRequestAmino; encode(message: ContractRegistrationRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ContractRegistrationRequest; fromPartial(object: DeepPartial): ContractRegistrationRequest; fromAmino(object: ContractRegistrationRequestAmino): ContractRegistrationRequest; toAmino(message: ContractRegistrationRequest): ContractRegistrationRequestAmino; fromAminoMsg(object: ContractRegistrationRequestAminoMsg): ContractRegistrationRequest; fromProtoMsg(message: ContractRegistrationRequestProtoMsg): ContractRegistrationRequest; toProto(message: ContractRegistrationRequest): Uint8Array; toProtoMsg(message: ContractRegistrationRequest): ContractRegistrationRequestProtoMsg; registerTypeUrl(): void; }; /** * @name BatchStoreCodeProposal * @package injective.wasmx.v1 * @see proto type: injective.wasmx.v1.BatchStoreCodeProposal */ export declare const BatchStoreCodeProposal: { typeUrl: string; aminoType: string; is(o: any): o is BatchStoreCodeProposal; isAmino(o: any): o is BatchStoreCodeProposalAmino; encode(message: BatchStoreCodeProposal, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): BatchStoreCodeProposal; fromPartial(object: DeepPartial): BatchStoreCodeProposal; fromAmino(object: BatchStoreCodeProposalAmino): BatchStoreCodeProposal; toAmino(message: BatchStoreCodeProposal): BatchStoreCodeProposalAmino; fromAminoMsg(object: BatchStoreCodeProposalAminoMsg): BatchStoreCodeProposal; toAminoMsg(message: BatchStoreCodeProposal): BatchStoreCodeProposalAminoMsg; fromProtoMsg(message: BatchStoreCodeProposalProtoMsg): BatchStoreCodeProposal; toProto(message: BatchStoreCodeProposal): Uint8Array; toProtoMsg(message: BatchStoreCodeProposal): BatchStoreCodeProposalProtoMsg; registerTypeUrl(): void; };