@metaplex-foundation/mpl-auction
Version:
MPL Token Metadata JavaScript API.
30 lines (29 loc) • 856 B
TypeScript
import { Borsh, Transaction, StringPublicKey } from '@metaplex-foundation/mpl-core';
import { PublicKey, TransactionCtorFields } from '@solana/web3.js';
import BN from 'bn.js';
export declare class PlaceBidArgs extends Borsh.Data<{
resource: StringPublicKey;
amount: BN;
}> {
static readonly SCHEMA: any;
instruction: number;
resource: StringPublicKey;
amount: BN;
}
declare type PlaceBidParams = {
auction: PublicKey;
auctionExtended: PublicKey;
bidderPot: PublicKey;
bidderMeta: PublicKey;
bidder: PublicKey;
bidderToken: PublicKey;
bidderPotToken: PublicKey;
tokenMint: PublicKey;
transferAuthority: PublicKey;
resource: PublicKey;
amount: BN;
};
export declare class PlaceBid extends Transaction {
constructor(options: TransactionCtorFields, params: PlaceBidParams);
}
export {};