export interface ProtobufAny { "@type"?: string; } export interface RpcStatus { /** @format int32 */ code?: number; message?: string; details?: ProtobufAny[]; } export interface Tokenmngrv2Burn { /** @format uint64 */ id?: string; creator?: string; /** * Coin defines a token with a denomination and an amount. * * NOTE: The amount field is an Int which implements the custom method * signatures required by gogoproto. */ amount?: V1Beta1Coin; } export interface Tokenmngrv2Mintperm { token?: string; address?: string; creator?: string; } export interface Tokenmngrv2Options { defaultMintee?: string; } /** * Params defines the parameters for the module. */ export declare type Tokenmngrv2Params = object; export interface Tokenmngrv2Token { name?: string; base?: string; /** * Coin defines a token with a denomination and an amount. * * NOTE: The amount field is an Int which implements the custom method * signatures required by gogoproto. */ maxSupply?: V1Beta1Coin; mintee?: string; creator?: string; } export interface Tokenmngrv2TokenBurn { /** * Coin defines a token with a denomination and an amount. * * NOTE: The amount field is an Int which implements the custom method * signatures required by gogoproto. */ amount?: V1Beta1Coin; } /** * Coin defines a token with a denomination and an amount. NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto. */ export interface V1Beta1Coin { denom?: string; amount?: string; } /** * message SomeRequest { Foo some_parameter = 1; PageRequest pagination = 2; } */ export interface V1Beta1PageRequest { /** * key is a value returned in PageResponse.next_key to begin * querying the next page most efficiently. Only one of offset or key * should be set. * @format byte */ key?: string; /** * offset is a numeric offset that can be used when key is unavailable. * It is less efficient than using key. Only one of offset or key should * be set. * @format uint64 */ offset?: string; /** * limit is the total number of results to be returned in the result page. * If left empty it will default to a value to be set by each app. * @format uint64 */ limit?: string; /** * count_total is set to true to indicate that the result set should include * a count of the total number of items available for pagination in UIs. * count_total is only respected when offset is used. It is ignored when key * is set. */ count_total?: boolean; /** * reverse is set to true if results are to be returned in the descending order. * * Since: cosmos-sdk 0.43 */ reverse?: boolean; } /** * PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; } */ export interface V1Beta1PageResponse { /** @format byte */ next_key?: string; /** @format uint64 */ total?: string; } export interface V2MsgBurnResponse { /** @format uint64 */ id?: string; } export declare type V2MsgCreateMintpermResponse = object; export declare type V2MsgCreateOptionsResponse = object; export declare type V2MsgCreateTokenResponse = object; export declare type V2MsgDeleteMintpermResponse = object; export declare type V2MsgDeleteOptionsResponse = object; export declare type V2MsgDeleteTokenResponse = object; export declare type V2MsgMintResponse = object; export interface V2MsgSendWrapTokenResponse { receiver?: string; amount?: string; } export interface V2MsgUnwrapTokenResponse { /** * Coin defines a token with a denomination and an amount. * * NOTE: The amount field is an Int which implements the custom method * signatures required by gogoproto. */ amount?: V1Beta1Coin; } export declare type V2MsgUpdateMintpermResponse = object; export declare type V2MsgUpdateOptionsResponse = object; export declare type V2MsgUpdateTokenResponse = object; export interface V2MsgWrapTokenResponse { /** * Coin defines a token with a denomination and an amount. * * NOTE: The amount field is an Int which implements the custom method * signatures required by gogoproto. */ amount?: V1Beta1Coin; } export interface V2QueryAllMintpermResponse { mintperm?: Tokenmngrv2Mintperm[]; /** * PageResponse is to be embedded in gRPC response messages where the * corresponding request message has used PageRequest. * * message SomeResponse { * repeated Bar results = 1; * PageResponse page = 2; * } */ pagination?: V1Beta1PageResponse; } export interface V2QueryAllTokenBurnResponse { tokenBurn?: Tokenmngrv2TokenBurn[]; /** * PageResponse is to be embedded in gRPC response messages where the * corresponding request message has used PageRequest. * * message SomeResponse { * repeated Bar results = 1; * PageResponse page = 2; * } */ pagination?: V1Beta1PageResponse; } export interface V2QueryAllTokenResponse { token?: Tokenmngrv2Token[]; /** * PageResponse is to be embedded in gRPC response messages where the * corresponding request message has used PageRequest. * * message SomeResponse { * repeated Bar results = 1; * PageResponse page = 2; * } */ pagination?: V1Beta1PageResponse; } export interface V2QueryBurnsResponse { Burn?: Tokenmngrv2Burn[]; /** * PageResponse is to be embedded in gRPC response messages where the * corresponding request message has used PageRequest. * * message SomeResponse { * repeated Bar results = 1; * PageResponse page = 2; * } */ pagination?: V1Beta1PageResponse; } export interface V2QueryGetMintpermResponse { mintperm?: Tokenmngrv2Mintperm; } export interface V2QueryGetOptionsResponse { Options?: Tokenmngrv2Options; } export interface V2QueryGetTokenBurnResponse { tokenBurn?: Tokenmngrv2TokenBurn; } export interface V2QueryGetTokenResponse { token?: Tokenmngrv2Token; } /** * QueryParamsResponse is response type for the Query/Params RPC method. */ export interface V2QueryParamsResponse { /** params holds all the parameters of this module. */ params?: Tokenmngrv2Params; } export declare type QueryParamsType = Record; export declare type ResponseFormat = keyof Omit; export interface FullRequestParams extends Omit { /** set parameter to `true` for call `securityWorker` for this request */ secure?: boolean; /** request path */ path: string; /** content type of request body */ type?: ContentType; /** query params */ query?: QueryParamsType; /** format of response (i.e. response.json() -> format: "json") */ format?: keyof Omit; /** request body */ body?: unknown; /** base url */ baseUrl?: string; /** request cancellation token */ cancelToken?: CancelToken; } export declare type RequestParams = Omit; export interface ApiConfig { baseUrl?: string; baseApiParams?: Omit; securityWorker?: (securityData: SecurityDataType) => RequestParams | void; } export interface HttpResponse extends Response { data: D; error: E; } declare type CancelToken = Symbol | string | number; export declare enum ContentType { Json = "application/json", FormData = "multipart/form-data", UrlEncoded = "application/x-www-form-urlencoded" } export declare class HttpClient { baseUrl: string; private securityData; private securityWorker; private abortControllers; private baseApiParams; constructor(apiConfig?: ApiConfig); setSecurityData: (data: SecurityDataType) => void; private addQueryParam; protected toQueryString(rawQuery?: QueryParamsType): string; protected addQueryParams(rawQuery?: QueryParamsType): string; private contentFormatters; private mergeRequestParams; private createAbortSignal; abortRequest: (cancelToken: CancelToken) => void; request: ({ body, secure, path, type, query, format, baseUrl, cancelToken, ...params }: FullRequestParams) => Promise>; } /** * @title tokenmngr/v2/burn.proto * @version version not set */ export declare class Api extends HttpClient { /** * No description * * @tags Query * @name QueryMintpermAll * @summary Queries a list of Mintperm items. * @request GET:/thesixnetwork/six-protocol/tokenmngr/mintperm */ queryMintpermAll: (query?: { "pagination.key"?: string; "pagination.offset"?: string; "pagination.limit"?: string; "pagination.count_total"?: boolean; "pagination.reverse"?: boolean; }, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryMintperm * @summary Queries a Mintperm by index. * @request GET:/thesixnetwork/six-protocol/tokenmngr/mintperm/{token}/{address} */ queryMintperm: (token: string, address: string, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryOptions * @summary Queries a Options by index. * @request GET:/thesixnetwork/six-protocol/tokenmngr/options */ queryOptions: (params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryParams * @summary Parameters queries the parameters of the module. * @request GET:/thesixnetwork/six-protocol/tokenmngr/params */ queryParams: (params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryTokenAll * @summary Queries a list of Token items. * @request GET:/thesixnetwork/six-protocol/tokenmngr/token */ queryTokenAll: (query?: { "pagination.key"?: string; "pagination.offset"?: string; "pagination.limit"?: string; "pagination.count_total"?: boolean; "pagination.reverse"?: boolean; }, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryToken * @summary Queries a Token by index. * @request GET:/thesixnetwork/six-protocol/tokenmngr/token/{name} */ queryToken: (name: string, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryBurns * @summary Queries a list of Burns items. * @request GET:/thesixnetwork/sixprotocol/tokenmngr/burns */ queryBurns: (query?: { "pagination.key"?: string; "pagination.offset"?: string; "pagination.limit"?: string; "pagination.count_total"?: boolean; "pagination.reverse"?: boolean; }, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryTokenBurnAll * @summary Queries a list of TokenBurn items. * @request GET:/thesixnetwork/sixprotocol/tokenmngr/token_burn */ queryTokenBurnAll: (query?: { "pagination.key"?: string; "pagination.offset"?: string; "pagination.limit"?: string; "pagination.count_total"?: boolean; "pagination.reverse"?: boolean; }, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryTokenBurn * @summary Queries a TokenBurn by index. * @request GET:/thesixnetwork/sixprotocol/tokenmngr/token_burn/{token} */ queryTokenBurn: (token: string, params?: RequestParams) => Promise>; } export {};