Skip to content

Commit

Permalink
Fix structs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Diego Robles Pardo authored and Jose Diego Robles Pardo committed Dec 18, 2023
1 parent 97c8423 commit e0e8770
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion lib/web/rgb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -935,9 +935,30 @@ export interface PublicRgbOfferResponse {
/// Bitcoin Price
bitcoinPrice: bigint;
/// Initial Offer PSBT
offerPsbt: string;
offerPsbt?: string;
}

export interface RgbAuctionFinishResponse {
/// Bundle ID
bundle_id: string,
/// New Change Outpoint
outpoint: string,
/// Sold Items
sold: Map<string, RgbSwapItem>,
/// Reamining Items
remaining: Map<string, RgbSwapItem>,
}

export interface RgbSwapItem {
/// Contract ID
contractId: string,
/// Iface
iface: string,
/// Final Consig
contractAmount: string,
}


export interface PublicRgbBidResponse {
/// Bid ID
bidId: string;
Expand Down

0 comments on commit e0e8770

Please sign in to comment.