Epoch Stake Auction
Core Types and Interfaces
// src/oada/actions.ts
// Defines the possible types of bids in the stake auction
// BidTypePartial: Allows partial filling of the bid
// BidTypeFull: Requires the entire bid to be filled or none at all
export type BidType = "BidTypePartial" | "BidTypeFull";// src/oada/actions.ts
// Interface for submitting a stake auction bid
// Contains all necessary information for placing a bid
type StakeAuctionBidRequest = {
bidType: BidType; // Type of bid (partial or full)
bidApy: Big; // Annual Percentage Yield in basis points
bidValue: GYValueOut; // Value being bid (in ADA or OADA)
stakeAddressBech32: string; // Stake address for rewards
};Key features of the Epoch Stake Auction system include:
Last updated