import _m0 from "protobufjs/minimal.js"; import { Coin } from "../../../cosmos/base/v1beta1/coin"; export declare const protobufPackage = "injective.exchange.v2"; /** spot authz messages */ export interface CreateSpotLimitOrderAuthz { /** the subaccount ID */ subaccountId: string; /** the market IDs */ marketIds: string[]; } export interface CreateSpotMarketOrderAuthz { /** the subaccount ID */ subaccountId: string; /** the market IDs */ marketIds: string[]; } export interface BatchCreateSpotLimitOrdersAuthz { /** the subaccount ID */ subaccountId: string; /** the market IDs */ marketIds: string[]; } export interface CancelSpotOrderAuthz { /** the subaccount ID */ subaccountId: string; /** the market IDs */ marketIds: string[]; } export interface BatchCancelSpotOrdersAuthz { /** the subaccount ID */ subaccountId: string; /** the market IDs */ marketIds: string[]; } /** derivative authz messages */ export interface CreateDerivativeLimitOrderAuthz { /** the subaccount ID */ subaccountId: string; /** the market IDs */ marketIds: string[]; } export interface CreateDerivativeMarketOrderAuthz { /** the subaccount ID */ subaccountId: string; /** the market IDs */ marketIds: string[]; } export interface BatchCreateDerivativeLimitOrdersAuthz { /** the subaccount ID */ subaccountId: string; /** the market IDs */ marketIds: string[]; } export interface CancelDerivativeOrderAuthz { subaccountId: string; marketIds: string[]; } export interface BatchCancelDerivativeOrdersAuthz { /** the subaccount ID */ subaccountId: string; /** the market IDs */ marketIds: string[]; } /** common authz message used in both spot & derivative markets */ export interface BatchUpdateOrdersAuthz { /** the subaccount ID */ subaccountId: string; /** the spot market IDs */ spotMarkets: string[]; /** the derivative market IDs */ derivativeMarkets: string[]; } /** * GenericExchangeAuthorization gives the grantee permissions to execute * the provided Exchange method on behalf of the granter's account. */ export interface GenericExchangeAuthorization { /** Msg, identified by it's type URL, to grant permissions to the grantee */ msg: string; /** * SpendLimit is the maximum amount of tokens that the grantee can spend on * behalf of the granter. If not set, there is no spend limit. */ spendLimit: Coin[]; } export declare const CreateSpotLimitOrderAuthz: { encode(message: CreateSpotLimitOrderAuthz, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateSpotLimitOrderAuthz; fromJSON(object: any): CreateSpotLimitOrderAuthz; toJSON(message: CreateSpotLimitOrderAuthz): unknown; create(base?: DeepPartial): CreateSpotLimitOrderAuthz; fromPartial(object: DeepPartial): CreateSpotLimitOrderAuthz; }; export declare const CreateSpotMarketOrderAuthz: { encode(message: CreateSpotMarketOrderAuthz, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateSpotMarketOrderAuthz; fromJSON(object: any): CreateSpotMarketOrderAuthz; toJSON(message: CreateSpotMarketOrderAuthz): unknown; create(base?: DeepPartial): CreateSpotMarketOrderAuthz; fromPartial(object: DeepPartial): CreateSpotMarketOrderAuthz; }; export declare const BatchCreateSpotLimitOrdersAuthz: { encode(message: BatchCreateSpotLimitOrdersAuthz, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): BatchCreateSpotLimitOrdersAuthz; fromJSON(object: any): BatchCreateSpotLimitOrdersAuthz; toJSON(message: BatchCreateSpotLimitOrdersAuthz): unknown; create(base?: DeepPartial): BatchCreateSpotLimitOrdersAuthz; fromPartial(object: DeepPartial): BatchCreateSpotLimitOrdersAuthz; }; export declare const CancelSpotOrderAuthz: { encode(message: CancelSpotOrderAuthz, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CancelSpotOrderAuthz; fromJSON(object: any): CancelSpotOrderAuthz; toJSON(message: CancelSpotOrderAuthz): unknown; create(base?: DeepPartial): CancelSpotOrderAuthz; fromPartial(object: DeepPartial): CancelSpotOrderAuthz; }; export declare const BatchCancelSpotOrdersAuthz: { encode(message: BatchCancelSpotOrdersAuthz, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): BatchCancelSpotOrdersAuthz; fromJSON(object: any): BatchCancelSpotOrdersAuthz; toJSON(message: BatchCancelSpotOrdersAuthz): unknown; create(base?: DeepPartial): BatchCancelSpotOrdersAuthz; fromPartial(object: DeepPartial): BatchCancelSpotOrdersAuthz; }; export declare const CreateDerivativeLimitOrderAuthz: { encode(message: CreateDerivativeLimitOrderAuthz, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateDerivativeLimitOrderAuthz; fromJSON(object: any): CreateDerivativeLimitOrderAuthz; toJSON(message: CreateDerivativeLimitOrderAuthz): unknown; create(base?: DeepPartial): CreateDerivativeLimitOrderAuthz; fromPartial(object: DeepPartial): CreateDerivativeLimitOrderAuthz; }; export declare const CreateDerivativeMarketOrderAuthz: { encode(message: CreateDerivativeMarketOrderAuthz, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CreateDerivativeMarketOrderAuthz; fromJSON(object: any): CreateDerivativeMarketOrderAuthz; toJSON(message: CreateDerivativeMarketOrderAuthz): unknown; create(base?: DeepPartial): CreateDerivativeMarketOrderAuthz; fromPartial(object: DeepPartial): CreateDerivativeMarketOrderAuthz; }; export declare const BatchCreateDerivativeLimitOrdersAuthz: { encode(message: BatchCreateDerivativeLimitOrdersAuthz, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): BatchCreateDerivativeLimitOrdersAuthz; fromJSON(object: any): BatchCreateDerivativeLimitOrdersAuthz; toJSON(message: BatchCreateDerivativeLimitOrdersAuthz): unknown; create(base?: DeepPartial): BatchCreateDerivativeLimitOrdersAuthz; fromPartial(object: DeepPartial): BatchCreateDerivativeLimitOrdersAuthz; }; export declare const CancelDerivativeOrderAuthz: { encode(message: CancelDerivativeOrderAuthz, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CancelDerivativeOrderAuthz; fromJSON(object: any): CancelDerivativeOrderAuthz; toJSON(message: CancelDerivativeOrderAuthz): unknown; create(base?: DeepPartial): CancelDerivativeOrderAuthz; fromPartial(object: DeepPartial): CancelDerivativeOrderAuthz; }; export declare const BatchCancelDerivativeOrdersAuthz: { encode(message: BatchCancelDerivativeOrdersAuthz, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): BatchCancelDerivativeOrdersAuthz; fromJSON(object: any): BatchCancelDerivativeOrdersAuthz; toJSON(message: BatchCancelDerivativeOrdersAuthz): unknown; create(base?: DeepPartial): BatchCancelDerivativeOrdersAuthz; fromPartial(object: DeepPartial): BatchCancelDerivativeOrdersAuthz; }; export declare const BatchUpdateOrdersAuthz: { encode(message: BatchUpdateOrdersAuthz, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): BatchUpdateOrdersAuthz; fromJSON(object: any): BatchUpdateOrdersAuthz; toJSON(message: BatchUpdateOrdersAuthz): unknown; create(base?: DeepPartial): BatchUpdateOrdersAuthz; fromPartial(object: DeepPartial): BatchUpdateOrdersAuthz; }; export declare const GenericExchangeAuthorization: { encode(message: GenericExchangeAuthorization, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): GenericExchangeAuthorization; fromJSON(object: any): GenericExchangeAuthorization; toJSON(message: GenericExchangeAuthorization): unknown; create(base?: DeepPartial): GenericExchangeAuthorization; fromPartial(object: DeepPartial): GenericExchangeAuthorization; }; 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 {};