import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { Params } from "./wasmx_pb.js"; import { ContractRegistrationRequest } from "./proposal_pb.js"; /** * MsgExecuteContractCompat submits the given message data to a smart contract, * compatible with EIP712 * * @generated from message injective.wasmx.v1.MsgExecuteContractCompat */ export declare class MsgExecuteContractCompat extends Message { /** * Sender is the that actor that signed the messages * * @generated from field: string sender = 1; */ sender: string; /** * Contract is the address of the smart contract * * @generated from field: string contract = 2; */ contract: string; /** * Msg json encoded message to be passed to the contract * * @generated from field: string msg = 3; */ msg: string; /** * Funds coins that are transferred to the contract on execution * * @generated from field: string funds = 4; */ funds: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.wasmx.v1.MsgExecuteContractCompat"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgExecuteContractCompat; static fromJson(jsonValue: JsonValue, options?: Partial): MsgExecuteContractCompat; static fromJsonString(jsonString: string, options?: Partial): MsgExecuteContractCompat; static equals(a: MsgExecuteContractCompat | PlainMessage | undefined, b: MsgExecuteContractCompat | PlainMessage | undefined): boolean; } /** * MsgExecuteContractCompatResponse returns execution result data. * * @generated from message injective.wasmx.v1.MsgExecuteContractCompatResponse */ export declare class MsgExecuteContractCompatResponse extends Message { /** * Data contains bytes to returned from the contract * * @generated from field: bytes data = 1; */ data: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.wasmx.v1.MsgExecuteContractCompatResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgExecuteContractCompatResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgExecuteContractCompatResponse; static fromJsonString(jsonString: string, options?: Partial): MsgExecuteContractCompatResponse; static equals(a: MsgExecuteContractCompatResponse | PlainMessage | undefined, b: MsgExecuteContractCompatResponse | PlainMessage | undefined): boolean; } /** * @generated from message injective.wasmx.v1.MsgUpdateContract */ export declare class MsgUpdateContract extends Message { /** * @generated from field: string sender = 1; */ sender: string; /** * Unique Identifier for contract instance to be registered. * * @generated from field: string contract_address = 2; */ contractAddress: string; /** * Maximum gas to be used for the smart contract execution. * * @generated from field: uint64 gas_limit = 3; */ gasLimit: bigint; /** * gas price to be used for the smart contract execution. * * @generated from field: uint64 gas_price = 4; */ gasPrice: bigint; /** * optional - admin account that will be allowed to perform any changes * * @generated from field: string admin_address = 5; */ adminAddress: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.wasmx.v1.MsgUpdateContract"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateContract; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateContract; static fromJsonString(jsonString: string, options?: Partial): MsgUpdateContract; static equals(a: MsgUpdateContract | PlainMessage | undefined, b: MsgUpdateContract | PlainMessage | undefined): boolean; } /** * @generated from message injective.wasmx.v1.MsgUpdateContractResponse */ export declare class MsgUpdateContractResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.wasmx.v1.MsgUpdateContractResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateContractResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateContractResponse; static fromJsonString(jsonString: string, options?: Partial): MsgUpdateContractResponse; static equals(a: MsgUpdateContractResponse | PlainMessage | undefined, b: MsgUpdateContractResponse | PlainMessage | undefined): boolean; } /** * @generated from message injective.wasmx.v1.MsgActivateContract */ export declare class MsgActivateContract extends Message { /** * @generated from field: string sender = 1; */ sender: string; /** * Unique Identifier for contract instance to be activated. * * @generated from field: string contract_address = 2; */ contractAddress: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.wasmx.v1.MsgActivateContract"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgActivateContract; static fromJson(jsonValue: JsonValue, options?: Partial): MsgActivateContract; static fromJsonString(jsonString: string, options?: Partial): MsgActivateContract; static equals(a: MsgActivateContract | PlainMessage | undefined, b: MsgActivateContract | PlainMessage | undefined): boolean; } /** * @generated from message injective.wasmx.v1.MsgActivateContractResponse */ export declare class MsgActivateContractResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.wasmx.v1.MsgActivateContractResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgActivateContractResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgActivateContractResponse; static fromJsonString(jsonString: string, options?: Partial): MsgActivateContractResponse; static equals(a: MsgActivateContractResponse | PlainMessage | undefined, b: MsgActivateContractResponse | PlainMessage | undefined): boolean; } /** * @generated from message injective.wasmx.v1.MsgDeactivateContract */ export declare class MsgDeactivateContract extends Message { /** * @generated from field: string sender = 1; */ sender: string; /** * Unique Identifier for contract instance to be deactivated. * * @generated from field: string contract_address = 2; */ contractAddress: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.wasmx.v1.MsgDeactivateContract"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgDeactivateContract; static fromJson(jsonValue: JsonValue, options?: Partial): MsgDeactivateContract; static fromJsonString(jsonString: string, options?: Partial): MsgDeactivateContract; static equals(a: MsgDeactivateContract | PlainMessage | undefined, b: MsgDeactivateContract | PlainMessage | undefined): boolean; } /** * @generated from message injective.wasmx.v1.MsgDeactivateContractResponse */ export declare class MsgDeactivateContractResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.wasmx.v1.MsgDeactivateContractResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgDeactivateContractResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgDeactivateContractResponse; static fromJsonString(jsonString: string, options?: Partial): MsgDeactivateContractResponse; static equals(a: MsgDeactivateContractResponse | PlainMessage | undefined, b: MsgDeactivateContractResponse | PlainMessage | undefined): boolean; } /** * @generated from message injective.wasmx.v1.MsgUpdateParams */ export declare class MsgUpdateParams extends Message { /** * authority is the address of the governance account. * * @generated from field: string authority = 1; */ authority: string; /** * params defines the wasmx parameters to update. * * NOTE: All parameters must be supplied. * * @generated from field: injective.wasmx.v1.Params params = 2; */ params?: Params; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.wasmx.v1.MsgUpdateParams"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParams; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParams; static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParams; static equals(a: MsgUpdateParams | PlainMessage | undefined, b: MsgUpdateParams | PlainMessage | undefined): boolean; } /** * @generated from message injective.wasmx.v1.MsgUpdateParamsResponse */ export declare class MsgUpdateParamsResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.wasmx.v1.MsgUpdateParamsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgUpdateParamsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgUpdateParamsResponse; static fromJsonString(jsonString: string, options?: Partial): MsgUpdateParamsResponse; static equals(a: MsgUpdateParamsResponse | PlainMessage | undefined, b: MsgUpdateParamsResponse | PlainMessage | undefined): boolean; } /** * @generated from message injective.wasmx.v1.MsgRegisterContract */ export declare class MsgRegisterContract extends Message { /** * @generated from field: string sender = 1; */ sender: string; /** * @generated from field: injective.wasmx.v1.ContractRegistrationRequest contract_registration_request = 2; */ contractRegistrationRequest?: ContractRegistrationRequest; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.wasmx.v1.MsgRegisterContract"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgRegisterContract; static fromJson(jsonValue: JsonValue, options?: Partial): MsgRegisterContract; static fromJsonString(jsonString: string, options?: Partial): MsgRegisterContract; static equals(a: MsgRegisterContract | PlainMessage | undefined, b: MsgRegisterContract | PlainMessage | undefined): boolean; } /** * @generated from message injective.wasmx.v1.MsgRegisterContractResponse */ export declare class MsgRegisterContractResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "injective.wasmx.v1.MsgRegisterContractResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MsgRegisterContractResponse; static fromJson(jsonValue: JsonValue, options?: Partial): MsgRegisterContractResponse; static fromJsonString(jsonString: string, options?: Partial): MsgRegisterContractResponse; static equals(a: MsgRegisterContractResponse | PlainMessage | undefined, b: MsgRegisterContractResponse | PlainMessage | undefined): boolean; } //# sourceMappingURL=tx_pb.d.ts.map