Skip to content

Commit

Permalink
docs(auction): types for prepareAuctionHook
Browse files Browse the repository at this point in the history
the `any` type for `zcf` cascaded to the rest of the function
  • Loading branch information
dckc committed Mar 21, 2023
1 parent 1199c85 commit 818edfb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/inter-protocol/src/auction/auctionBook.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ export const makeBidSpecShape = (currencyBrand, collateralBrand) => {

/** @typedef {import('@agoric/vat-data').Baggage} Baggage */

/**
* @param {Baggage} baggage
* @param {ZCF} zcf
*/
export const prepareAuctionBook = (baggage, zcf) => {
const makeScaledBidBook = prepareScaledBidBook(baggage);
const makePriceBook = preparePriceBook(baggage);
Expand Down

0 comments on commit 818edfb

Please sign in to comment.