/** * 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. */ export declare type Expiration = { at_height: number; } | { at_time: Timestamp; } | { never: {}; }; export declare type Timestamp = Uint64; export declare type Uint64 = string; export interface AllNftInfoResponse { access: OwnerOfResponse; info: NftInfoResponseForEmpty; } export interface OwnerOfResponse { approvals: Approval[]; owner: string; } export interface Approval { expires: Expiration; spender: string; } export interface NftInfoResponseForEmpty { extension: Empty; token_uri?: string | null; } export interface Empty { [k: string]: unknown; } export interface AllOperatorsResponse { operators: Approval[]; } export interface AllTokensResponse { tokens: string[]; } export interface ApprovalResponse { approval: Approval; } export interface ApprovalsResponse { approvals: Approval[]; } export declare type Decimal = string; export interface CollectionInfoResponse { creator: string; description: string; explicit_content?: boolean | null; external_link?: string | null; image: string; royalty_info?: RoyaltyInfoResponse | null; start_trading_time?: Timestamp | null; } export interface RoyaltyInfoResponse { payment_address: string; share: Decimal; } export interface ContractInfoResponse { name: string; symbol: string; } export interface InstantiateMsg { collection_info: CollectionInfoForRoyaltyInfoResponse; minter: string; name: string; symbol: string; } export interface CollectionInfoForRoyaltyInfoResponse { creator: string; description: string; explicit_content?: boolean | null; external_link?: string | null; image: string; royalty_info?: RoyaltyInfoResponse | null; start_trading_time?: Timestamp | null; } export interface MinterResponse { minter: string; } export interface NftInfoResponse { extension: Empty; token_uri?: string | null; } export interface NumTokensResponse { count: number; } export interface OperatorsResponse { operators: Approval[]; } export declare 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; }; } | { 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: {}; } | { collection_info: {}; }; export interface TokensResponse { tokens: string[]; }