import { grpc } from "@improbable-eng/grpc-web"; import Long from "long"; import _m0 from "protobufjs/minimal"; import { Coin } from "../../../cosmos/base/v1beta1/coin"; export declare const protobufPackage = "terra.wasm.v1beta1"; /** * MsgStoreCode represents a message to submit * Wasm code to the system */ export interface MsgStoreCode { /** Sender is the that actor that signed the messages */ sender: string; /** WASMByteCode can be raw or gzip compressed */ wasmByteCode: Uint8Array; } /** MsgStoreCodeResponse defines the Msg/StoreCode response type. */ export interface MsgStoreCodeResponse { /** CodeID is the reference to the stored WASM code */ codeId: Long; } /** * MsgMigrateCode represents a message to submit * Wasm code to the system */ export interface MsgMigrateCode { /** CodeID is the migration target code id */ codeId: Long; /** Sender is the that actor that signed the messages */ sender: string; /** WASMByteCode can be raw or gzip compressed */ wasmByteCode: Uint8Array; } /** MsgMigrateCodeResponse defines the Msg/MigrateCode response type. */ export interface MsgMigrateCodeResponse { } /** * MsgInstantiateContract represents a message to create * a new smart contract instance for the given * code id. */ export interface MsgInstantiateContract { /** Sender is an sender address */ sender: string; /** Admin is an optional admin address who can migrate the contract */ admin: string; /** CodeID is the reference to the stored WASM code */ codeId: Long; /** InitMsg json encoded message to be passed to the contract on instantiation */ initMsg: Uint8Array; /** InitCoins that are transferred to the contract on execution */ initCoins: Coin[]; } /** MsgInstantiateContractResponse defines the Msg/InstantiateContract response type. */ export interface MsgInstantiateContractResponse { /** ContractAddress is the bech32 address of the new contract instance. */ contractAddress: string; /** Data contains base64-encoded bytes to returned from the contract */ data: Uint8Array; } /** * MsgExecuteContract represents a message to * submits the given message data to a smart contract. */ export interface MsgExecuteContract { /** Sender is the that actor that signed the messages */ sender: string; /** Contract is the address of the smart contract */ contract: string; /** ExecuteMsg json encoded message to be passed to the contract */ executeMsg: Uint8Array; /** Coins that are transferred to the contract on execution */ coins: Coin[]; } /** MsgExecuteContractResponse defines the Msg/ExecuteContract response type. */ export interface MsgExecuteContractResponse { /** Data contains base64-encoded bytes to returned from the contract */ data: Uint8Array; } /** * MsgMigrateContract represents a message to * runs a code upgrade/ downgrade for a smart contract */ export interface MsgMigrateContract { /** Admin is the current contract admin */ admin: string; /** Contract is the address of the smart contract */ contract: string; /** NewCodeID references the new WASM code */ newCodeId: Long; /** MigrateMsg is json encoded message to be passed to the contract on migration */ migrateMsg: Uint8Array; } /** MsgMigrateContractResponse defines the Msg/MigrateContract response type. */ export interface MsgMigrateContractResponse { /** Data contains base64-encoded bytes to returned from the contract */ data: Uint8Array; } /** * MsgUpdateContractAdmin represents a message to * sets a new admin for a smart contract */ export interface MsgUpdateContractAdmin { /** Admin is the current contract admin */ admin: string; /** NewAdmin is the new contract admin */ newAdmin: string; /** Contract is the address of the smart contract */ contract: string; } /** MsgUpdateContractAdminResponse defines the Msg/UpdateContractAdmin response type. */ export interface MsgUpdateContractAdminResponse { } /** * MsgClearContractAdmin represents a message to * clear admin address from a smart contract */ export interface MsgClearContractAdmin { /** Admin is the current contract admin */ admin: string; /** Contract is the address of the smart contract */ contract: string; } /** MsgClearContractAdminResponse defines the Msg/ClearContractAdmin response type. */ export interface MsgClearContractAdminResponse { } export declare const MsgStoreCode: { encode(message: MsgStoreCode, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgStoreCode; fromJSON(object: any): MsgStoreCode; toJSON(message: MsgStoreCode): unknown; create]: never; }>(base?: I | undefined): MsgStoreCode; fromPartial]: never; }>(object: I_1): MsgStoreCode; }; export declare const MsgStoreCodeResponse: { encode(message: MsgStoreCodeResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgStoreCodeResponse; fromJSON(object: any): MsgStoreCodeResponse; toJSON(message: MsgStoreCodeResponse): unknown; create Long.Long; and: (other: string | number | Long.Long) => Long.Long; compare: (other: string | number | Long.Long) => number; comp: (other: string | number | Long.Long) => number; divide: (divisor: string | number | Long.Long) => Long.Long; div: (divisor: string | number | Long.Long) => Long.Long; equals: (other: string | number | Long.Long) => boolean; eq: (other: string | number | Long.Long) => boolean; getHighBits: () => number; getHighBitsUnsigned: () => number; getLowBits: () => number; getLowBitsUnsigned: () => number; getNumBitsAbs: () => number; greaterThan: (other: string | number | Long.Long) => boolean; gt: (other: string | number | Long.Long) => boolean; greaterThanOrEqual: (other: string | number | Long.Long) => boolean; gte: (other: string | number | Long.Long) => boolean; isEven: () => boolean; isNegative: () => boolean; isOdd: () => boolean; isPositive: () => boolean; isZero: () => boolean; lessThan: (other: string | number | Long.Long) => boolean; lt: (other: string | number | Long.Long) => boolean; lessThanOrEqual: (other: string | number | Long.Long) => boolean; lte: (other: string | number | Long.Long) => boolean; modulo: (other: string | number | Long.Long) => Long.Long; mod: (other: string | number | Long.Long) => Long.Long; multiply: (multiplier: string | number | Long.Long) => Long.Long; mul: (multiplier: string | number | Long.Long) => Long.Long; negate: () => Long.Long; neg: () => Long.Long; not: () => Long.Long; notEquals: (other: string | number | Long.Long) => boolean; neq: (other: string | number | Long.Long) => boolean; or: (other: string | number | Long.Long) => Long.Long; shiftLeft: (numBits: number | Long.Long) => Long.Long; shl: (numBits: number | Long.Long) => Long.Long; shiftRight: (numBits: number | Long.Long) => Long.Long; shr: (numBits: number | Long.Long) => Long.Long; shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long; shru: (numBits: number | Long.Long) => Long.Long; subtract: (subtrahend: string | number | Long.Long) => Long.Long; sub: (subtrahend: string | number | Long.Long) => Long.Long; toInt: () => number; toNumber: () => number; toBytes: (le?: boolean | undefined) => number[]; toBytesLE: () => number[]; toBytesBE: () => number[]; toSigned: () => Long.Long; toString: (radix?: number | undefined) => string; toUnsigned: () => Long.Long; xor: (other: string | number | Long.Long) => Long.Long; } & { [K in Exclude]: never; }) | undefined; } & { [K_1 in Exclude]: never; }>(base?: I | undefined): MsgStoreCodeResponse; fromPartial Long.Long; and: (other: string | number | Long.Long) => Long.Long; compare: (other: string | number | Long.Long) => number; comp: (other: string | number | Long.Long) => number; divide: (divisor: string | number | Long.Long) => Long.Long; div: (divisor: string | number | Long.Long) => Long.Long; equals: (other: string | number | Long.Long) => boolean; eq: (other: string | number | Long.Long) => boolean; getHighBits: () => number; getHighBitsUnsigned: () => number; getLowBits: () => number; getLowBitsUnsigned: () => number; getNumBitsAbs: () => number; greaterThan: (other: string | number | Long.Long) => boolean; gt: (other: string | number | Long.Long) => boolean; greaterThanOrEqual: (other: string | number | Long.Long) => boolean; gte: (other: string | number | Long.Long) => boolean; isEven: () => boolean; isNegative: () => boolean; isOdd: () => boolean; isPositive: () => boolean; isZero: () => boolean; lessThan: (other: string | number | Long.Long) => boolean; lt: (other: string | number | Long.Long) => boolean; lessThanOrEqual: (other: string | number | Long.Long) => boolean; lte: (other: string | number | Long.Long) => boolean; modulo: (other: string | number | Long.Long) => Long.Long; mod: (other: string | number | Long.Long) => Long.Long; multiply: (multiplier: string | number | Long.Long) => Long.Long; mul: (multiplier: string | number | Long.Long) => Long.Long; negate: () => Long.Long; neg: () => Long.Long; not: () => Long.Long; notEquals: (other: string | number | Long.Long) => boolean; neq: (other: string | number | Long.Long) => boolean; or: (other: string | number | Long.Long) => Long.Long; shiftLeft: (numBits: number | Long.Long) => Long.Long; shl: (numBits: number | Long.Long) => Long.Long; shiftRight: (numBits: number | Long.Long) => Long.Long; shr: (numBits: number | Long.Long) => Long.Long; shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long; shru: (numBits: number | Long.Long) => Long.Long; subtract: (subtrahend: string | number | Long.Long) => Long.Long; sub: (subtrahend: string | number | Long.Long) => Long.Long; toInt: () => number; toNumber: () => number; toBytes: (le?: boolean | undefined) => number[]; toBytesLE: () => number[]; toBytesBE: () => number[]; toSigned: () => Long.Long; toString: (radix?: number | undefined) => string; toUnsigned: () => Long.Long; xor: (other: string | number | Long.Long) => Long.Long; } & { [K_2 in Exclude]: never; }) | undefined; } & { [K_3 in Exclude]: never; }>(object: I_1): MsgStoreCodeResponse; }; export declare const MsgMigrateCode: { encode(message: MsgMigrateCode, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgMigrateCode; fromJSON(object: any): MsgMigrateCode; toJSON(message: MsgMigrateCode): unknown; create Long.Long; and: (other: string | number | Long.Long) => Long.Long; compare: (other: string | number | Long.Long) => number; comp: (other: string | number | Long.Long) => number; divide: (divisor: string | number | Long.Long) => Long.Long; div: (divisor: string | number | Long.Long) => Long.Long; equals: (other: string | number | Long.Long) => boolean; eq: (other: string | number | Long.Long) => boolean; getHighBits: () => number; getHighBitsUnsigned: () => number; getLowBits: () => number; getLowBitsUnsigned: () => number; getNumBitsAbs: () => number; greaterThan: (other: string | number | Long.Long) => boolean; gt: (other: string | number | Long.Long) => boolean; greaterThanOrEqual: (other: string | number | Long.Long) => boolean; gte: (other: string | number | Long.Long) => boolean; isEven: () => boolean; isNegative: () => boolean; isOdd: () => boolean; isPositive: () => boolean; isZero: () => boolean; lessThan: (other: string | number | Long.Long) => boolean; lt: (other: string | number | Long.Long) => boolean; lessThanOrEqual: (other: string | number | Long.Long) => boolean; lte: (other: string | number | Long.Long) => boolean; modulo: (other: string | number | Long.Long) => Long.Long; mod: (other: string | number | Long.Long) => Long.Long; multiply: (multiplier: string | number | Long.Long) => Long.Long; mul: (multiplier: string | number | Long.Long) => Long.Long; negate: () => Long.Long; neg: () => Long.Long; not: () => Long.Long; notEquals: (other: string | number | Long.Long) => boolean; neq: (other: string | number | Long.Long) => boolean; or: (other: string | number | Long.Long) => Long.Long; shiftLeft: (numBits: number | Long.Long) => Long.Long; shl: (numBits: number | Long.Long) => Long.Long; shiftRight: (numBits: number | Long.Long) => Long.Long; shr: (numBits: number | Long.Long) => Long.Long; shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long; shru: (numBits: number | Long.Long) => Long.Long; subtract: (subtrahend: string | number | Long.Long) => Long.Long; sub: (subtrahend: string | number | Long.Long) => Long.Long; toInt: () => number; toNumber: () => number; toBytes: (le?: boolean | undefined) => number[]; toBytesLE: () => number[]; toBytesBE: () => number[]; toSigned: () => Long.Long; toString: (radix?: number | undefined) => string; toUnsigned: () => Long.Long; xor: (other: string | number | Long.Long) => Long.Long; } & { [K in Exclude]: never; }) | undefined; sender?: string | undefined; wasmByteCode?: Uint8Array | undefined; } & { [K_1 in Exclude]: never; }>(base?: I | undefined): MsgMigrateCode; fromPartial Long.Long; and: (other: string | number | Long.Long) => Long.Long; compare: (other: string | number | Long.Long) => number; comp: (other: string | number | Long.Long) => number; divide: (divisor: string | number | Long.Long) => Long.Long; div: (divisor: string | number | Long.Long) => Long.Long; equals: (other: string | number | Long.Long) => boolean; eq: (other: string | number | Long.Long) => boolean; getHighBits: () => number; getHighBitsUnsigned: () => number; getLowBits: () => number; getLowBitsUnsigned: () => number; getNumBitsAbs: () => number; greaterThan: (other: string | number | Long.Long) => boolean; gt: (other: string | number | Long.Long) => boolean; greaterThanOrEqual: (other: string | number | Long.Long) => boolean; gte: (other: string | number | Long.Long) => boolean; isEven: () => boolean; isNegative: () => boolean; isOdd: () => boolean; isPositive: () => boolean; isZero: () => boolean; lessThan: (other: string | number | Long.Long) => boolean; lt: (other: string | number | Long.Long) => boolean; lessThanOrEqual: (other: string | number | Long.Long) => boolean; lte: (other: string | number | Long.Long) => boolean; modulo: (other: string | number | Long.Long) => Long.Long; mod: (other: string | number | Long.Long) => Long.Long; multiply: (multiplier: string | number | Long.Long) => Long.Long; mul: (multiplier: string | number | Long.Long) => Long.Long; negate: () => Long.Long; neg: () => Long.Long; not: () => Long.Long; notEquals: (other: string | number | Long.Long) => boolean; neq: (other: string | number | Long.Long) => boolean; or: (other: string | number | Long.Long) => Long.Long; shiftLeft: (numBits: number | Long.Long) => Long.Long; shl: (numBits: number | Long.Long) => Long.Long; shiftRight: (numBits: number | Long.Long) => Long.Long; shr: (numBits: number | Long.Long) => Long.Long; shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long; shru: (numBits: number | Long.Long) => Long.Long; subtract: (subtrahend: string | number | Long.Long) => Long.Long; sub: (subtrahend: string | number | Long.Long) => Long.Long; toInt: () => number; toNumber: () => number; toBytes: (le?: boolean | undefined) => number[]; toBytesLE: () => number[]; toBytesBE: () => number[]; toSigned: () => Long.Long; toString: (radix?: number | undefined) => string; toUnsigned: () => Long.Long; xor: (other: string | number | Long.Long) => Long.Long; } & { [K_2 in Exclude]: never; }) | undefined; sender?: string | undefined; wasmByteCode?: Uint8Array | undefined; } & { [K_3 in Exclude]: never; }>(object: I_1): MsgMigrateCode; }; export declare const MsgMigrateCodeResponse: { encode(_: MsgMigrateCodeResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgMigrateCodeResponse; fromJSON(_: any): MsgMigrateCodeResponse; toJSON(_: MsgMigrateCodeResponse): unknown; create]: never; }>(base?: I | undefined): MsgMigrateCodeResponse; fromPartial]: never; }>(_: I_1): MsgMigrateCodeResponse; }; export declare const MsgInstantiateContract: { encode(message: MsgInstantiateContract, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgInstantiateContract; fromJSON(object: any): MsgInstantiateContract; toJSON(message: MsgInstantiateContract): unknown; create Long.Long; and: (other: string | number | Long.Long) => Long.Long; compare: (other: string | number | Long.Long) => number; comp: (other: string | number | Long.Long) => number; divide: (divisor: string | number | Long.Long) => Long.Long; div: (divisor: string | number | Long.Long) => Long.Long; equals: (other: string | number | Long.Long) => boolean; eq: (other: string | number | Long.Long) => boolean; getHighBits: () => number; getHighBitsUnsigned: () => number; getLowBits: () => number; getLowBitsUnsigned: () => number; getNumBitsAbs: () => number; greaterThan: (other: string | number | Long.Long) => boolean; gt: (other: string | number | Long.Long) => boolean; greaterThanOrEqual: (other: string | number | Long.Long) => boolean; gte: (other: string | number | Long.Long) => boolean; isEven: () => boolean; isNegative: () => boolean; isOdd: () => boolean; isPositive: () => boolean; isZero: () => boolean; lessThan: (other: string | number | Long.Long) => boolean; lt: (other: string | number | Long.Long) => boolean; lessThanOrEqual: (other: string | number | Long.Long) => boolean; lte: (other: string | number | Long.Long) => boolean; modulo: (other: string | number | Long.Long) => Long.Long; mod: (other: string | number | Long.Long) => Long.Long; multiply: (multiplier: string | number | Long.Long) => Long.Long; mul: (multiplier: string | number | Long.Long) => Long.Long; negate: () => Long.Long; neg: () => Long.Long; not: () => Long.Long; notEquals: (other: string | number | Long.Long) => boolean; neq: (other: string | number | Long.Long) => boolean; or: (other: string | number | Long.Long) => Long.Long; shiftLeft: (numBits: number | Long.Long) => Long.Long; shl: (numBits: number | Long.Long) => Long.Long; shiftRight: (numBits: number | Long.Long) => Long.Long; shr: (numBits: number | Long.Long) => Long.Long; shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long; shru: (numBits: number | Long.Long) => Long.Long; subtract: (subtrahend: string | number | Long.Long) => Long.Long; sub: (subtrahend: string | number | Long.Long) => Long.Long; toInt: () => number; toNumber: () => number; toBytes: (le?: boolean | undefined) => number[]; toBytesLE: () => number[]; toBytesBE: () => number[]; toSigned: () => Long.Long; toString: (radix?: number | undefined) => string; toUnsigned: () => Long.Long; xor: (other: string | number | Long.Long) => Long.Long; } & { [K in Exclude]: never; }) | undefined; initMsg?: Uint8Array | undefined; initCoins?: ({ denom?: string | undefined; amount?: string | undefined; }[] & ({ denom?: string | undefined; amount?: string | undefined; } & { denom?: string | undefined; amount?: string | undefined; } & { [K_1 in Exclude]: never; })[] & { [K_2 in Exclude]: never; }) | undefined; } & { [K_3 in Exclude]: never; }>(base?: I | undefined): MsgInstantiateContract; fromPartial Long.Long; and: (other: string | number | Long.Long) => Long.Long; compare: (other: string | number | Long.Long) => number; comp: (other: string | number | Long.Long) => number; divide: (divisor: string | number | Long.Long) => Long.Long; div: (divisor: string | number | Long.Long) => Long.Long; equals: (other: string | number | Long.Long) => boolean; eq: (other: string | number | Long.Long) => boolean; getHighBits: () => number; getHighBitsUnsigned: () => number; getLowBits: () => number; getLowBitsUnsigned: () => number; getNumBitsAbs: () => number; greaterThan: (other: string | number | Long.Long) => boolean; gt: (other: string | number | Long.Long) => boolean; greaterThanOrEqual: (other: string | number | Long.Long) => boolean; gte: (other: string | number | Long.Long) => boolean; isEven: () => boolean; isNegative: () => boolean; isOdd: () => boolean; isPositive: () => boolean; isZero: () => boolean; lessThan: (other: string | number | Long.Long) => boolean; lt: (other: string | number | Long.Long) => boolean; lessThanOrEqual: (other: string | number | Long.Long) => boolean; lte: (other: string | number | Long.Long) => boolean; modulo: (other: string | number | Long.Long) => Long.Long; mod: (other: string | number | Long.Long) => Long.Long; multiply: (multiplier: string | number | Long.Long) => Long.Long; mul: (multiplier: string | number | Long.Long) => Long.Long; negate: () => Long.Long; neg: () => Long.Long; not: () => Long.Long; notEquals: (other: string | number | Long.Long) => boolean; neq: (other: string | number | Long.Long) => boolean; or: (other: string | number | Long.Long) => Long.Long; shiftLeft: (numBits: number | Long.Long) => Long.Long; shl: (numBits: number | Long.Long) => Long.Long; shiftRight: (numBits: number | Long.Long) => Long.Long; shr: (numBits: number | Long.Long) => Long.Long; shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long; shru: (numBits: number | Long.Long) => Long.Long; subtract: (subtrahend: string | number | Long.Long) => Long.Long; sub: (subtrahend: string | number | Long.Long) => Long.Long; toInt: () => number; toNumber: () => number; toBytes: (le?: boolean | undefined) => number[]; toBytesLE: () => number[]; toBytesBE: () => number[]; toSigned: () => Long.Long; toString: (radix?: number | undefined) => string; toUnsigned: () => Long.Long; xor: (other: string | number | Long.Long) => Long.Long; } & { [K_4 in Exclude]: never; }) | undefined; initMsg?: Uint8Array | undefined; initCoins?: ({ denom?: string | undefined; amount?: string | undefined; }[] & ({ denom?: string | undefined; amount?: string | undefined; } & { denom?: string | undefined; amount?: string | undefined; } & { [K_5 in Exclude]: never; })[] & { [K_6 in Exclude]: never; }) | undefined; } & { [K_7 in Exclude]: never; }>(object: I_1): MsgInstantiateContract; }; export declare const MsgInstantiateContractResponse: { encode(message: MsgInstantiateContractResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgInstantiateContractResponse; fromJSON(object: any): MsgInstantiateContractResponse; toJSON(message: MsgInstantiateContractResponse): unknown; create]: never; }>(base?: I | undefined): MsgInstantiateContractResponse; fromPartial]: never; }>(object: I_1): MsgInstantiateContractResponse; }; export declare const MsgExecuteContract: { encode(message: MsgExecuteContract, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgExecuteContract; fromJSON(object: any): MsgExecuteContract; toJSON(message: MsgExecuteContract): unknown; create]: never; })[] & { [K_1 in Exclude]: never; }) | undefined; } & { [K_2 in Exclude]: never; }>(base?: I | undefined): MsgExecuteContract; fromPartial]: never; })[] & { [K_4 in Exclude]: never; }) | undefined; } & { [K_5 in Exclude]: never; }>(object: I_1): MsgExecuteContract; }; export declare const MsgExecuteContractResponse: { encode(message: MsgExecuteContractResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgExecuteContractResponse; fromJSON(object: any): MsgExecuteContractResponse; toJSON(message: MsgExecuteContractResponse): unknown; create]: never; }>(base?: I | undefined): MsgExecuteContractResponse; fromPartial]: never; }>(object: I_1): MsgExecuteContractResponse; }; export declare const MsgMigrateContract: { encode(message: MsgMigrateContract, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgMigrateContract; fromJSON(object: any): MsgMigrateContract; toJSON(message: MsgMigrateContract): unknown; create Long.Long; and: (other: string | number | Long.Long) => Long.Long; compare: (other: string | number | Long.Long) => number; comp: (other: string | number | Long.Long) => number; divide: (divisor: string | number | Long.Long) => Long.Long; div: (divisor: string | number | Long.Long) => Long.Long; equals: (other: string | number | Long.Long) => boolean; eq: (other: string | number | Long.Long) => boolean; getHighBits: () => number; getHighBitsUnsigned: () => number; getLowBits: () => number; getLowBitsUnsigned: () => number; getNumBitsAbs: () => number; greaterThan: (other: string | number | Long.Long) => boolean; gt: (other: string | number | Long.Long) => boolean; greaterThanOrEqual: (other: string | number | Long.Long) => boolean; gte: (other: string | number | Long.Long) => boolean; isEven: () => boolean; isNegative: () => boolean; isOdd: () => boolean; isPositive: () => boolean; isZero: () => boolean; lessThan: (other: string | number | Long.Long) => boolean; lt: (other: string | number | Long.Long) => boolean; lessThanOrEqual: (other: string | number | Long.Long) => boolean; lte: (other: string | number | Long.Long) => boolean; modulo: (other: string | number | Long.Long) => Long.Long; mod: (other: string | number | Long.Long) => Long.Long; multiply: (multiplier: string | number | Long.Long) => Long.Long; mul: (multiplier: string | number | Long.Long) => Long.Long; negate: () => Long.Long; neg: () => Long.Long; not: () => Long.Long; notEquals: (other: string | number | Long.Long) => boolean; neq: (other: string | number | Long.Long) => boolean; or: (other: string | number | Long.Long) => Long.Long; shiftLeft: (numBits: number | Long.Long) => Long.Long; shl: (numBits: number | Long.Long) => Long.Long; shiftRight: (numBits: number | Long.Long) => Long.Long; shr: (numBits: number | Long.Long) => Long.Long; shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long; shru: (numBits: number | Long.Long) => Long.Long; subtract: (subtrahend: string | number | Long.Long) => Long.Long; sub: (subtrahend: string | number | Long.Long) => Long.Long; toInt: () => number; toNumber: () => number; toBytes: (le?: boolean | undefined) => number[]; toBytesLE: () => number[]; toBytesBE: () => number[]; toSigned: () => Long.Long; toString: (radix?: number | undefined) => string; toUnsigned: () => Long.Long; xor: (other: string | number | Long.Long) => Long.Long; } & { [K in Exclude]: never; }) | undefined; migrateMsg?: Uint8Array | undefined; } & { [K_1 in Exclude]: never; }>(base?: I | undefined): MsgMigrateContract; fromPartial Long.Long; and: (other: string | number | Long.Long) => Long.Long; compare: (other: string | number | Long.Long) => number; comp: (other: string | number | Long.Long) => number; divide: (divisor: string | number | Long.Long) => Long.Long; div: (divisor: string | number | Long.Long) => Long.Long; equals: (other: string | number | Long.Long) => boolean; eq: (other: string | number | Long.Long) => boolean; getHighBits: () => number; getHighBitsUnsigned: () => number; getLowBits: () => number; getLowBitsUnsigned: () => number; getNumBitsAbs: () => number; greaterThan: (other: string | number | Long.Long) => boolean; gt: (other: string | number | Long.Long) => boolean; greaterThanOrEqual: (other: string | number | Long.Long) => boolean; gte: (other: string | number | Long.Long) => boolean; isEven: () => boolean; isNegative: () => boolean; isOdd: () => boolean; isPositive: () => boolean; isZero: () => boolean; lessThan: (other: string | number | Long.Long) => boolean; lt: (other: string | number | Long.Long) => boolean; lessThanOrEqual: (other: string | number | Long.Long) => boolean; lte: (other: string | number | Long.Long) => boolean; modulo: (other: string | number | Long.Long) => Long.Long; mod: (other: string | number | Long.Long) => Long.Long; multiply: (multiplier: string | number | Long.Long) => Long.Long; mul: (multiplier: string | number | Long.Long) => Long.Long; negate: () => Long.Long; neg: () => Long.Long; not: () => Long.Long; notEquals: (other: string | number | Long.Long) => boolean; neq: (other: string | number | Long.Long) => boolean; or: (other: string | number | Long.Long) => Long.Long; shiftLeft: (numBits: number | Long.Long) => Long.Long; shl: (numBits: number | Long.Long) => Long.Long; shiftRight: (numBits: number | Long.Long) => Long.Long; shr: (numBits: number | Long.Long) => Long.Long; shiftRightUnsigned: (numBits: number | Long.Long) => Long.Long; shru: (numBits: number | Long.Long) => Long.Long; subtract: (subtrahend: string | number | Long.Long) => Long.Long; sub: (subtrahend: string | number | Long.Long) => Long.Long; toInt: () => number; toNumber: () => number; toBytes: (le?: boolean | undefined) => number[]; toBytesLE: () => number[]; toBytesBE: () => number[]; toSigned: () => Long.Long; toString: (radix?: number | undefined) => string; toUnsigned: () => Long.Long; xor: (other: string | number | Long.Long) => Long.Long; } & { [K_2 in Exclude]: never; }) | undefined; migrateMsg?: Uint8Array | undefined; } & { [K_3 in Exclude]: never; }>(object: I_1): MsgMigrateContract; }; export declare const MsgMigrateContractResponse: { encode(message: MsgMigrateContractResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgMigrateContractResponse; fromJSON(object: any): MsgMigrateContractResponse; toJSON(message: MsgMigrateContractResponse): unknown; create]: never; }>(base?: I | undefined): MsgMigrateContractResponse; fromPartial]: never; }>(object: I_1): MsgMigrateContractResponse; }; export declare const MsgUpdateContractAdmin: { encode(message: MsgUpdateContractAdmin, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUpdateContractAdmin; fromJSON(object: any): MsgUpdateContractAdmin; toJSON(message: MsgUpdateContractAdmin): unknown; create]: never; }>(base?: I | undefined): MsgUpdateContractAdmin; fromPartial]: never; }>(object: I_1): MsgUpdateContractAdmin; }; export declare const MsgUpdateContractAdminResponse: { encode(_: MsgUpdateContractAdminResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgUpdateContractAdminResponse; fromJSON(_: any): MsgUpdateContractAdminResponse; toJSON(_: MsgUpdateContractAdminResponse): unknown; create]: never; }>(base?: I | undefined): MsgUpdateContractAdminResponse; fromPartial]: never; }>(_: I_1): MsgUpdateContractAdminResponse; }; export declare const MsgClearContractAdmin: { encode(message: MsgClearContractAdmin, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgClearContractAdmin; fromJSON(object: any): MsgClearContractAdmin; toJSON(message: MsgClearContractAdmin): unknown; create]: never; }>(base?: I | undefined): MsgClearContractAdmin; fromPartial]: never; }>(object: I_1): MsgClearContractAdmin; }; export declare const MsgClearContractAdminResponse: { encode(_: MsgClearContractAdminResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MsgClearContractAdminResponse; fromJSON(_: any): MsgClearContractAdminResponse; toJSON(_: MsgClearContractAdminResponse): unknown; create]: never; }>(base?: I | undefined): MsgClearContractAdminResponse; fromPartial]: never; }>(_: I_1): MsgClearContractAdminResponse; }; /** Msg defines the oracle Msg service. */ export interface Msg { /** StoreCode to submit Wasm code to the system */ StoreCode(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** MigrateCode to submit new version Wasm code to the system */ MigrateCode(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** Instantiate creates a new smart contract instance for the given code id. */ InstantiateContract(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** Execute submits the given message data to a smart contract */ ExecuteContract(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** Migrate runs a code upgrade/ downgrade for a smart contract */ MigrateContract(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** UpdateContractAdmin sets a new admin for a smart contract */ UpdateContractAdmin(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** ClearContractAdmin remove admin flag from a smart contract */ ClearContractAdmin(request: DeepPartial, metadata?: grpc.Metadata): Promise; } export declare class MsgClientImpl implements Msg { private readonly rpc; constructor(rpc: Rpc); StoreCode(request: DeepPartial, metadata?: grpc.Metadata): Promise; MigrateCode(request: DeepPartial, metadata?: grpc.Metadata): Promise; InstantiateContract(request: DeepPartial, metadata?: grpc.Metadata): Promise; ExecuteContract(request: DeepPartial, metadata?: grpc.Metadata): Promise; MigrateContract(request: DeepPartial, metadata?: grpc.Metadata): Promise; UpdateContractAdmin(request: DeepPartial, metadata?: grpc.Metadata): Promise; ClearContractAdmin(request: DeepPartial, metadata?: grpc.Metadata): Promise; } export declare const MsgDesc: { serviceName: string; }; export declare const MsgStoreCodeDesc: UnaryMethodDefinitionish; export declare const MsgMigrateCodeDesc: UnaryMethodDefinitionish; export declare const MsgInstantiateContractDesc: UnaryMethodDefinitionish; export declare const MsgExecuteContractDesc: UnaryMethodDefinitionish; export declare const MsgMigrateContractDesc: UnaryMethodDefinitionish; export declare const MsgUpdateContractAdminDesc: UnaryMethodDefinitionish; export declare const MsgClearContractAdminDesc: UnaryMethodDefinitionish; interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition { requestStream: any; responseStream: any; } declare type UnaryMethodDefinitionish = UnaryMethodDefinitionishR; interface Rpc { unary(methodDesc: T, request: any, metadata: grpc.Metadata | undefined): Promise; } export declare class GrpcWebImpl { private host; private options; constructor(host: string, options: { transport?: grpc.TransportFactory; debug?: boolean; metadata?: grpc.Metadata; upStreamRetryCodes?: number[]; }); unary(methodDesc: T, _request: any, metadata: grpc.Metadata | undefined): Promise; } declare var tsProtoGlobalThis: any; declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export declare type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; declare type KeysOfUnion = T extends T ? keyof T : never; export declare type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & { [K in Exclude>]: never; }; export declare class GrpcWebError extends tsProtoGlobalThis.Error { code: grpc.Code; metadata: grpc.Metadata; constructor(message: string, code: grpc.Code, metadata: grpc.Metadata); } export {};