/** * 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. */ export interface InstantiateMsg { minter: string name: string symbol: string } export type ExecuteMsg = | { transfer_nft: { recipient: string token_id: string } } | { send_nft: { contract: string msg: Binary token_id: string } } | { approve: { expires?: Expiration | null spender: string token_id: string } } | { revoke: { spender: string token_id: string } } | { approve_all: { expires?: Expiration | null operator: string } } | { revoke_all: { operator: string } } | { mint: MintMsgForNullable_Empty } | { burn: { token_id: string } } | { extension: { msg: Empty } } | { update_ownership: Action } export type Binary = string export type Expiration = | { at_height: number } | { at_time: Timestamp } | { never: {} } export type Timestamp = Uint64 export type Uint64 = string export type Action = | { transfer_ownership: { expiry?: Expiration | null new_owner: string } } | 'accept_ownership' | 'renounce_ownership' export interface Empty {} export type QueryMsg = | { owner_of: { include_expired?: boolean | null token_id: string } } | { approval: { include_expired?: boolean | null spender: string token_id: string } } | { approvals: { include_expired?: boolean | null token_id: string } } | { operator: { include_expired?: boolean | null operator: string owner: string } } | { all_operators: { include_expired?: boolean | null limit?: number | null owner: string start_after?: string | null } } | { num_tokens: {} } | { contract_info: {} } | { nft_info: { token_id: string } } | { all_nft_info: { include_expired?: boolean | null token_id: string } } | { tokens: { limit?: number | null owner: string start_after?: string | null } } | { all_tokens: { limit?: number | null start_after?: string | null } } | { minter: {} } | { extension: { msg: Empty } } | { ownership: {} } export interface AllNftInfoResponseForEmpty { access: OwnerOfResponse info: NftInfoResponseForEmpty } export interface OwnerOfResponse { approvals: Approval[] owner: string } export interface Approval { expires: Expiration spender: string } export interface NftInfoResponseForEmpty { extension?: Empty | null token_uri?: string | null } export interface OperatorsResponse { operators: Approval[] } export interface TokensResponse { tokens: string[] } export interface ApprovalResponse { approval: Approval } export interface ApprovalsResponse { approvals: Approval[] } export interface ContractInfoResponse { name: string symbol: string } export type Null = null export interface MinterResponse { minter?: string | null } export interface NumTokensResponse { count: number } export interface OperatorResponse { approval: Approval } export interface OwnershipForString { owner?: string | null pending_expiry?: Expiration | null pending_owner?: string | null } export interface MintMsgForNullable_Empty { extension?: Empty | null owner: string token_id: string token_uri?: string | null }