import { Coin, CoinAmino, CoinSDKType } from "../../cosmos/base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../binary"; /** * AuctionPeriod represents a period of auctions. * An AuctionPeriod applies to as many auctionable tokens exist in the auction pool * Note: see params for a list of non-auctionable tokens */ export interface AuctionPeriod { /** Block height at which the AuctionPeriod starts. */ startBlockHeight: bigint; /** Block height at which the AuctionPeriod end. */ endBlockHeight: bigint; } export interface AuctionPeriodProtoMsg { typeUrl: "/auction.v1.AuctionPeriod"; value: Uint8Array; } /** * AuctionPeriod represents a period of auctions. * An AuctionPeriod applies to as many auctionable tokens exist in the auction pool * Note: see params for a list of non-auctionable tokens */ export interface AuctionPeriodAmino { /** Block height at which the AuctionPeriod starts. */ start_block_height?: string; /** Block height at which the AuctionPeriod end. */ end_block_height?: string; } export interface AuctionPeriodAminoMsg { type: "/auction.v1.AuctionPeriod"; value: AuctionPeriodAmino; } /** * AuctionPeriod represents a period of auctions. * An AuctionPeriod applies to as many auctionable tokens exist in the auction pool * Note: see params for a list of non-auctionable tokens */ export interface AuctionPeriodSDKType { start_block_height: bigint; end_block_height: bigint; } /** * Auction represents a single auction. * An Auction has a unique identifier relative to its Auction Period Id , an amount being auctioned, a status, and a highest bid. */ export interface Auction { /** Unique identifier for the Auction. */ id: bigint; /** Amount being auctioned. */ amount: Coin; /** Highest bid on the Auction. */ highestBid?: Bid; } export interface AuctionProtoMsg { typeUrl: "/auction.v1.Auction"; value: Uint8Array; } /** * Auction represents a single auction. * An Auction has a unique identifier relative to its Auction Period Id , an amount being auctioned, a status, and a highest bid. */ export interface AuctionAmino { /** Unique identifier for the Auction. */ id?: string; /** Amount being auctioned. */ amount?: CoinAmino; /** Highest bid on the Auction. */ highest_bid?: BidAmino; } export interface AuctionAminoMsg { type: "/auction.v1.Auction"; value: AuctionAmino; } /** * Auction represents a single auction. * An Auction has a unique identifier relative to its Auction Period Id , an amount being auctioned, a status, and a highest bid. */ export interface AuctionSDKType { id: bigint; amount: CoinSDKType; highest_bid?: BidSDKType; } /** * Bid represents a bid on an Auction. * A Bid includes the identifier of the Auction, the amount of the bid, and the address of the bidder. */ export interface Bid { /** Amount of the bid. */ bidAmount: bigint; /** Address of the bidder. */ bidderAddress: string; } export interface BidProtoMsg { typeUrl: "/auction.v1.Bid"; value: Uint8Array; } /** * Bid represents a bid on an Auction. * A Bid includes the identifier of the Auction, the amount of the bid, and the address of the bidder. */ export interface BidAmino { /** Amount of the bid. */ bid_amount?: string; /** Address of the bidder. */ bidder_address?: string; } export interface BidAminoMsg { type: "/auction.v1.Bid"; value: BidAmino; } /** * Bid represents a bid on an Auction. * A Bid includes the identifier of the Auction, the amount of the bid, and the address of the bidder. */ export interface BidSDKType { bid_amount: bigint; bidder_address: string; } /** AuctionId enables easy storage and retrieval of the most recently used AuctionId */ export interface AuctionId { id: bigint; } export interface AuctionIdProtoMsg { typeUrl: "/auction.v1.AuctionId"; value: Uint8Array; } /** AuctionId enables easy storage and retrieval of the most recently used AuctionId */ export interface AuctionIdAmino { id?: string; } export interface AuctionIdAminoMsg { type: "/auction.v1.AuctionId"; value: AuctionIdAmino; } /** AuctionId enables easy storage and retrieval of the most recently used AuctionId */ export interface AuctionIdSDKType { id: bigint; } export declare const AuctionPeriod: { typeUrl: string; encode(message: AuctionPeriod, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): AuctionPeriod; fromPartial(object: Partial): AuctionPeriod; fromAmino(object: AuctionPeriodAmino): AuctionPeriod; toAmino(message: AuctionPeriod): AuctionPeriodAmino; fromAminoMsg(object: AuctionPeriodAminoMsg): AuctionPeriod; fromProtoMsg(message: AuctionPeriodProtoMsg): AuctionPeriod; toProto(message: AuctionPeriod): Uint8Array; toProtoMsg(message: AuctionPeriod): AuctionPeriodProtoMsg; }; export declare const Auction: { typeUrl: string; encode(message: Auction, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Auction; fromPartial(object: Partial): Auction; fromAmino(object: AuctionAmino): Auction; toAmino(message: Auction): AuctionAmino; fromAminoMsg(object: AuctionAminoMsg): Auction; fromProtoMsg(message: AuctionProtoMsg): Auction; toProto(message: Auction): Uint8Array; toProtoMsg(message: Auction): AuctionProtoMsg; }; export declare const Bid: { typeUrl: string; encode(message: Bid, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Bid; fromPartial(object: Partial): Bid; fromAmino(object: BidAmino): Bid; toAmino(message: Bid): BidAmino; fromAminoMsg(object: BidAminoMsg): Bid; fromProtoMsg(message: BidProtoMsg): Bid; toProto(message: Bid): Uint8Array; toProtoMsg(message: Bid): BidProtoMsg; }; export declare const AuctionId: { typeUrl: string; encode(message: AuctionId, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): AuctionId; fromPartial(object: Partial): AuctionId; fromAmino(object: AuctionIdAmino): AuctionId; toAmino(message: AuctionId): AuctionIdAmino; fromAminoMsg(object: AuctionIdAminoMsg): AuctionId; fromProtoMsg(message: AuctionIdProtoMsg): AuctionId; toProto(message: AuctionId): Uint8Array; toProtoMsg(message: AuctionId): AuctionIdProtoMsg; };