/** * 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. */ export declare type Admin = { address: { addr: string; }; } | { core_module: {}; }; export declare type Duration = { height: number; } | { time: number; }; export interface InstantiateMsg { nft_address: string; owner?: Admin | null; unstaking_duration?: Duration | null; } export declare type ExecuteMsg = { receive_nft: Cw721ReceiveMsg; } | { unstake: { token_ids: string[]; }; } | { claim_nfts: {}; } | { update_config: { duration?: Duration | null; owner?: string | null; }; } | { add_hook: { addr: string; }; } | { remove_hook: { addr: string; }; }; export declare type Binary = string; export interface Cw721ReceiveMsg { msg: Binary; sender: string; token_id: string; } export declare type QueryMsg = { config: {}; } | { nft_claims: { address: string; }; } | { hooks: {}; } | { staked_nfts: { address: string; limit?: number | null; start_after?: string | null; }; } | { voting_power_at_height: { address: string; height?: number | null; }; } | { total_power_at_height: { height?: number | null; }; } | { dao: {}; } | { info: {}; }; export declare type Addr = string; export interface Config { nft_address: Addr; owner?: Addr | null; unstaking_duration?: Duration | null; } export interface HooksResponse { hooks: string[]; } export interface InfoResponse { info: ContractVersion; } export interface ContractVersion { contract: string; version: string; } export declare type Expiration = { at_height: number; } | { at_time: Timestamp; } | { never: {}; }; export declare type Timestamp = Uint64; export declare type Uint64 = string; export interface NftClaimsResponse { nft_claims: NftClaim[]; } export interface NftClaim { release_at: Expiration; token_id: string; } export declare type ArrayOfString = string[]; export declare type Uint128 = string; export interface TotalPowerAtHeightResponse { height: number; power: Uint128; } export interface VotingPowerAtHeightResponse { height: number; power: Uint128; }