/** * This file was automatically generated by @cosmwasm/ts-codegen@0.30.1. * 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 { Expiration, AllNftInfoResponse, OwnerOfResponse, Empty, AllOperatorsResponse, AllTokensResponse, ApprovalResponse, ApprovalsResponse, CollectionInfoResponse, ContractInfoResponse, Binary, UpdateCollectionInfoMsgForRoyaltyInfoResponse, MinterResponse, NftInfoResponse, NumTokensResponse, TokensResponse } from "./Sg721Updatable.types"; export interface Sg721UpdatableReadOnlyInterface { 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; 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; collectionInfo: () => Promise; } export declare class Sg721UpdatableQueryClient implements Sg721UpdatableReadOnlyInterface { 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; 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; collectionInfo: () => Promise; } export interface Sg721UpdatableInterface extends Sg721UpdatableReadOnlyInterface { contractAddress: string; sender: string; freezeTokenMetadata: (fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; updateTokenMetadata: ({ tokenId, tokenUri }: { tokenId: string; tokenUri?: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; enableUpdatable: (fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; 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; burn: ({ tokenId }: { tokenId: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; updateCollectionInfo: ({ collectionInfo }: { collectionInfo: UpdateCollectionInfoMsgForRoyaltyInfoResponse; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; updateTradingStartTime: (fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; freezeCollectionInfo: (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; extension: ({ msg }: { msg: Empty; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; } export declare class Sg721UpdatableClient extends Sg721UpdatableQueryClient implements Sg721UpdatableInterface { client: SigningCosmWasmClient; sender: string; contractAddress: string; constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string); freezeTokenMetadata: (fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; updateTokenMetadata: ({ tokenId, tokenUri }: { tokenId: string; tokenUri?: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; enableUpdatable: (fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; 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; burn: ({ tokenId }: { tokenId: string; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; updateCollectionInfo: ({ collectionInfo }: { collectionInfo: UpdateCollectionInfoMsgForRoyaltyInfoResponse; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; updateTradingStartTime: (fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; freezeCollectionInfo: (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; extension: ({ msg }: { msg: Empty; }, fee?: number | StdFee | "auto", memo?: string, _funds?: Coin[]) => Promise; }