/** * Params defines the parameters for the coinfactory module. */ export interface Mantrachaincoinfactoryv1Beta1Params { /** * DenomCreationFee defines the fee to be charged on the creation of a new * denom. The fee is drawn from the MsgCreateDenom's sender account, and * transferred to the community pool. */ denom_creation_fee?: V1Beta1Coin[]; /** * DenomCreationGasConsume defines the gas cost for creating a new denom. * This is intended as a spam deterrence mechanism. * * See: https://github.com/CosmWasm/token-factory/issues/11 * @format uint64 */ denom_creation_gas_consume?: string; } export interface ProtobufAny { "@type"?: string; } export interface RpcStatus { /** @format int32 */ code?: number; message?: string; details?: ProtobufAny[]; } /** * 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; } /** * DenomAuthorityMetadata specifies metadata for addresses that have specific capabilities over a token factory denom. Right now there is only one Admin permission, but is planned to be extended to the future. */ export interface V1Beta1DenomAuthorityMetadata { /** Can be empty for no admin, or a valid mantrachain address */ admin?: string; } /** * DenomUnit represents a struct that describes a given denomination unit of the basic token. */ export interface V1Beta1DenomUnit { /** denom represents the string name of the given denom unit (e.g uatom). */ denom?: string; /** * exponent represents power of 10 exponent that one must * raise the base_denom to in order to equal the given DenomUnit's denom * 1 denom = 10^exponent base_denom * (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with * exponent = 6, thus: 1 atom = 10^6 uatom). * @format int64 */ exponent?: number; /** aliases is a list of string aliases for the given denom */ aliases?: string[]; } /** * Metadata represents a struct that describes a basic token. */ export interface V1Beta1Metadata { description?: string; /** denom_units represents the list of DenomUnit's for a given coin */ denom_units?: V1Beta1DenomUnit[]; /** base represents the base denom (should be the DenomUnit with exponent = 0). */ base?: string; /** * display indicates the suggested denom that should be * displayed in clients. */ display?: string; /** * name defines the name of the token (eg: Cosmos Atom) * Since: cosmos-sdk 0.43 */ name?: string; /** * symbol is the token symbol usually shown on exchanges (eg: ATOM). This can * be the same as the display. * * Since: cosmos-sdk 0.43 */ symbol?: string; /** * URI to a document (on or off-chain) that contains additional information. Optional. * * Since: cosmos-sdk 0.46 */ uri?: string; /** * URIHash is a sha256 hash of a document pointed by URI. It's used to verify that * the document didn't change. Optional. * * Since: cosmos-sdk 0.46 */ uri_hash?: string; } export declare type V1Beta1MsgBurnResponse = object; /** * MsgChangeAdminResponse defines the response structure for an executed MsgChangeAdmin message. */ export declare type V1Beta1MsgChangeAdminResponse = object; export interface V1Beta1MsgCreateDenomResponse { new_token_denom?: string; } export declare type V1Beta1MsgForceTransferResponse = object; export declare type V1Beta1MsgMintResponse = object; /** * MsgSetDenomMetadataResponse defines the response structure for an executed MsgSetDenomMetadata message. */ export declare type V1Beta1MsgSetDenomMetadataResponse = object; /** * QueryBalanceResponse is the response type for the Query/Balance RPC method. */ export interface V1Beta1QueryBalanceResponse { /** balance is the balance of the coin. */ balance?: V1Beta1Coin; } /** * QueryDenomAuthorityMetadataResponse defines the response structure for the DenomAuthorityMetadata gRPC query. */ export interface V1Beta1QueryDenomAuthorityMetadata2Response { /** * DenomAuthorityMetadata specifies metadata for addresses that have specific * capabilities over a token factory denom. Right now there is only one Admin * permission, but is planned to be extended to the future. */ authority_metadata?: V1Beta1DenomAuthorityMetadata; } /** * QueryDenomAuthorityMetadataResponse defines the response structure for the DenomAuthorityMetadata gRPC query. */ export interface V1Beta1QueryDenomAuthorityMetadataResponse { /** * DenomAuthorityMetadata specifies metadata for addresses that have specific * capabilities over a token factory denom. Right now there is only one Admin * permission, but is planned to be extended to the future. */ authority_metadata?: V1Beta1DenomAuthorityMetadata; } /** * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC method. */ export interface V1Beta1QueryDenomMetadataResponse { /** metadata describes and provides all the client information for the requested token. */ metadata?: V1Beta1Metadata; } /** * QueryDenomsFromCreatorRequest defines the response structure for the DenomsFromCreator gRPC query. */ export interface V1Beta1QueryDenomsFromCreatorResponse { denoms?: string[]; } /** * QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface V1Beta1QueryParamsResponse { /** params defines the parameters of the module. */ params?: Mantrachaincoinfactoryv1Beta1Params; } /** * QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ export interface V1Beta1QuerySupplyOfResponse { /** amount is the supply of the coin. */ amount?: V1Beta1Coin; } import { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios"; export declare type QueryParamsType = Record; 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?: ResponseType; /** request body */ body?: unknown; } export declare type RequestParams = Omit; export interface ApiConfig extends Omit { securityWorker?: (securityData: SecurityDataType | null) => Promise | AxiosRequestConfig | void; secure?: boolean; format?: ResponseType; } export declare enum ContentType { Json = "application/json", FormData = "multipart/form-data", UrlEncoded = "application/x-www-form-urlencoded" } export declare class HttpClient { instance: AxiosInstance; private securityData; private securityWorker?; private secure?; private format?; constructor({ securityWorker, secure, format, ...axiosConfig }?: ApiConfig); setSecurityData: (data: SecurityDataType | null) => void; private mergeRequestParams; private createFormData; request: ({ secure, path, type, query, format, body, ...params }: FullRequestParams) => Promise>; } /** * @title mantrachain/coinfactory/v1beta1/authorityMetadata.proto * @version version not set */ export declare class Api extends HttpClient { /** * No description * * @tags Query * @name QueryDenomAuthorityMetadata2 * @request GET:/mantrachain/coinfactory/v1beta1/creators/{creator}/subdenoms/{subdenom}/authority_metadata */ queryDenomAuthorityMetadata2: (creator: string, subdenom: string, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryBalance * @request GET:/mantrachain/coinfactory/v1beta1/creators/{creator}/subdenoms/{subdenom}/balances/{address} */ queryBalance: (creator: string, subdenom: string, address: string, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryDenomMetadata * @request GET:/mantrachain/coinfactory/v1beta1/creators/{creator}/subdenoms/{subdenom}/denoms_metadata */ queryDenomMetadata: (creator: string, subdenom: string, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QuerySupplyOf * @request GET:/mantrachain/coinfactory/v1beta1/creators/{creator}/subdenoms/{subdenom}/supply */ querySupplyOf: (creator: string, subdenom: string, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryDenomAuthorityMetadata * @summary DenomAuthorityMetadata defines a gRPC query method for fetching DenomAuthorityMetadata for a particular denom. * @request GET:/mantrachain/coinfactory/v1beta1/denoms/{denom}/authority_metadata */ queryDenomAuthorityMetadata: (denom: string, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryDenomsFromCreator * @summary DenomsFromCreator defines a gRPC query method for fetching all denominations created by a specific admin/creator. * @request GET:/mantrachain/coinfactory/v1beta1/denoms_from_creator/{creator} */ queryDenomsFromCreator: (creator: string, params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryParams * @summary Params defines a gRPC query method that returns the coinfactory module's parameters. * @request GET:/mantrachain/coinfactory/v1beta1/params */ queryParams: (params?: RequestParams) => Promise>; }