/** * This file was automatically generated by @cosmwasm/ts-codegen@0.26.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 { Binary, Expiration, Empty, AllNftInfoResponseForEmpty, OwnerOfResponse, NftInfoResponseForEmpty, OperatorsResponse, TokensResponse, ApprovalResponse, ApprovalsResponse, ContractInfoResponse, Null, MinterResponse, NumTokensResponse, OperatorResponse, OwnershipForString } from "./Cw721Base.types"; export interface Cw721BaseReadOnlyInterface { contractAddress: string; ownerOf: ({ includeExpired, tokenId, }: { includeExpired?: boolean; tokenId: string; }) => Promise; approval: ({ includeExpired, spender, tokenId, }: { includeExpired?: boolean; spender: string; tokenId: string; }) => Promise; approvals: ({ includeExpired, tokenId, }: { includeExpired?: boolean; tokenId: string; }) => Promise; operator: ({ includeExpired, operator, owner, }: { includeExpired?: boolean; operator: string; owner: string; }) => Promise; allOperators: ({ includeExpired, limit, owner, startAfter, }: { includeExpired?: boolean; limit?: number; owner: string; startAfter?: string; }) => Promise; numTokens: () => Promise; contractInfo: () => Promise; nftInfo: ({ tokenId, }: { tokenId: string; }) => Promise; allNftInfo: ({ includeExpired, tokenId, }: { includeExpired?: boolean; tokenId: string; }) => Promise; tokens: ({ limit, owner, startAfter, }: { limit?: number; owner: string; startAfter?: string; }) => Promise; allTokens: ({ limit, startAfter, }: { limit?: number; startAfter?: string; }) => Promise; minter: () => Promise; extension: ({ msg }: { msg: Empty; }) => Promise; ownership: () => Promise; } export declare class Cw721BaseQueryClient implements Cw721BaseReadOnlyInterface { client: CosmWasmClient; contractAddress: string; constructor(client: CosmWasmClient, contractAddress: string); ownerOf: ({ includeExpired, tokenId, }: { includeExpired?: boolean; tokenId: string; }) => Promise; approval: ({ includeExpired, spender, tokenId, }: { includeExpired?: boolean; spender: string; tokenId: string; }) => Promise; approvals: ({ includeExpired, tokenId, }: { includeExpired?: boolean; tokenId: string; }) => Promise; operator: ({ includeExpired, operator, owner, }: { includeExpired?: boolean; operator: string; owner: string; }) => Promise; allOperators: ({ includeExpired, limit, owner, startAfter, }: { includeExpired?: boolean; limit?: number; owner: string; startAfter?: string; }) => Promise; numTokens: () => Promise; contractInfo: () => Promise; nftInfo: ({ tokenId, }: { tokenId: string; }) => Promise; allNftInfo: ({ includeExpired, tokenId, }: { includeExpired?: boolean; tokenId: string; }) => Promise; tokens: ({ limit, owner, startAfter, }: { limit?: number; owner: string; startAfter?: string; }) => Promise; allTokens: ({ limit, startAfter, }: { limit?: number; startAfter?: string; }) => Promise; minter: () => Promise; extension: ({ msg }: { msg: Empty; }) => Promise; ownership: () => Promise; } export interface Cw721BaseInterface extends Cw721BaseReadOnlyInterface { contractAddress: string; sender: string; transferNft: ({ recipient, tokenId, }: { recipient: string; tokenId: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; sendNft: ({ contract, msg, tokenId, }: { contract: string; msg: Binary; tokenId: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; approve: ({ expires, spender, tokenId, }: { expires?: Expiration; spender: string; tokenId: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; revoke: ({ spender, tokenId, }: { spender: string; tokenId: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; approveAll: ({ expires, operator, }: { expires?: Expiration; operator: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; revokeAll: ({ operator, }: { operator: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; mint: ({ extension, owner, tokenId, tokenUri, }: { extension: Empty; owner: string; tokenId: string; tokenUri?: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; burn: ({ tokenId, }: { tokenId: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; extension: ({ msg, }: { msg: Empty; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; updateOwnership: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; } export declare class Cw721BaseClient extends Cw721BaseQueryClient implements Cw721BaseInterface { client: SigningCosmWasmClient; sender: string; contractAddress: string; constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string); transferNft: ({ recipient, tokenId, }: { recipient: string; tokenId: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; sendNft: ({ contract, msg, tokenId, }: { contract: string; msg: Binary; tokenId: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; approve: ({ expires, spender, tokenId, }: { expires?: Expiration; spender: string; tokenId: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; revoke: ({ spender, tokenId, }: { spender: string; tokenId: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; approveAll: ({ expires, operator, }: { expires?: Expiration; operator: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; revokeAll: ({ operator, }: { operator: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; mint: ({ extension, owner, tokenId, tokenUri, }: { extension: Empty; owner: string; tokenId: string; tokenUri?: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; burn: ({ tokenId, }: { tokenId: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; extension: ({ msg, }: { msg: Empty; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; updateOwnership: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; }