/** * This file was automatically generated by @cosmwasm/ts-codegen@1.10.0. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run the @cosmwasm/ts-codegen generate command to regenerate this file. */ import { CosmWasmClient, SigningCosmWasmClient, ExecuteResult } from "@cosmjs/cosmwasm-stargate"; import { Coin, StdFee } from "@cosmjs/amino"; import { Uint128, Logo, Binary, MinterResponse, Expiration, AllAccountsResponse, AllAllowancesResponse, AllSpenderAllowancesResponse, AllowanceResponse, BalanceResponse, DownloadLogoResponse, MarketingInfoResponse, TokenInfoResponse } from "./StardexToken.types"; export interface StardexTokenReadOnlyInterface { contractAddress: string; balance: ({ address }: { address: string; }) => Promise; tokenInfo: () => Promise; minter: () => Promise; allowance: ({ owner, spender }: { owner: string; spender: string; }) => Promise; allAllowances: ({ limit, owner, startAfter }: { limit?: number; owner: string; startAfter?: string; }) => Promise; allSpenderAllowances: ({ limit, spender, startAfter }: { limit?: number; spender: string; startAfter?: string; }) => Promise; allAccounts: ({ limit, startAfter }: { limit?: number; startAfter?: string; }) => Promise; marketingInfo: () => Promise; downloadLogo: () => Promise; } export declare class StardexTokenQueryClient implements StardexTokenReadOnlyInterface { client: CosmWasmClient; contractAddress: string; constructor(client: CosmWasmClient, contractAddress: string); balance: ({ address }: { address: string; }) => Promise; tokenInfo: () => Promise; minter: () => Promise; allowance: ({ owner, spender }: { owner: string; spender: string; }) => Promise; allAllowances: ({ limit, owner, startAfter }: { limit?: number | undefined; owner: string; startAfter?: string | undefined; }) => Promise; allSpenderAllowances: ({ limit, spender, startAfter }: { limit?: number | undefined; spender: string; startAfter?: string | undefined; }) => Promise; allAccounts: ({ limit, startAfter }: { limit?: number | undefined; startAfter?: string | undefined; }) => Promise; marketingInfo: () => Promise; downloadLogo: () => Promise; } export interface StardexTokenInterface extends StardexTokenReadOnlyInterface { contractAddress: string; sender: string; transfer: ({ amount, recipient }: { amount: Uint128; recipient: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; burn: ({ amount }: { amount: Uint128; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; send: ({ amount, contract, msg }: { amount: Uint128; contract: string; msg: Binary; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; increaseAllowance: ({ amount, expires, spender }: { amount: Uint128; expires?: Expiration; spender: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; decreaseAllowance: ({ amount, expires, spender }: { amount: Uint128; expires?: Expiration; spender: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; transferFrom: ({ amount, owner, recipient }: { amount: Uint128; owner: string; recipient: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; sendFrom: ({ amount, contract, msg, owner }: { amount: Uint128; contract: string; msg: Binary; owner: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; burnFrom: ({ amount, owner }: { amount: Uint128; owner: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; mint: ({ amount, recipient }: { amount: Uint128; recipient: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; updateMinter: ({ newMinter }: { newMinter?: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; updateMarketing: ({ description, marketing, project }: { description?: string; marketing?: string; project?: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; uploadLogo: (logo: Logo, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; } export declare class StardexTokenClient extends StardexTokenQueryClient implements StardexTokenInterface { client: SigningCosmWasmClient; sender: string; contractAddress: string; constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string); transfer: ({ amount, recipient }: { amount: Uint128; recipient: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; burn: ({ amount }: { amount: Uint128; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; send: ({ amount, contract, msg }: { amount: Uint128; contract: string; msg: Binary; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; increaseAllowance: ({ amount, expires, spender }: { amount: Uint128; expires?: Expiration | undefined; spender: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; decreaseAllowance: ({ amount, expires, spender }: { amount: Uint128; expires?: Expiration | undefined; spender: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; transferFrom: ({ amount, owner, recipient }: { amount: Uint128; owner: string; recipient: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; sendFrom: ({ amount, contract, msg, owner }: { amount: Uint128; contract: string; msg: Binary; owner: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; burnFrom: ({ amount, owner }: { amount: Uint128; owner: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; mint: ({ amount, recipient }: { amount: Uint128; recipient: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; updateMinter: ({ newMinter }: { newMinter?: string | undefined; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; updateMarketing: ({ description, marketing, project }: { description?: string | undefined; marketing?: string | undefined; project?: string | undefined; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; uploadLogo: (logo: Logo, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; }