Skip to content

Commit

Permalink
Update contract/src/offer-up.contract.js
Browse files Browse the repository at this point in the history
Co-authored-by: Dan Connolly <connolly@agoric.com>
  • Loading branch information
amessbee and dckc authored Aug 7, 2024
1 parent 5efc371 commit 3ecbad2
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions contract/src/offer-up.contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,7 @@ export const customTermsShape = meta.customTermsShape;
*
* @param {ZCF<OfferUpTerms>} zcf
*/
export const start = async zcf => {
const { tradePrice, maxItems = 3n } = zcf.getTerms();

/**
* TODO: below is somewhat fake way of generating a zone. This should be fixed by passing it as a parameter.
* RN I don't know how to do it.
*/
const baggage = makeScalarBigMapStore('baggage', {
keyShape: M.string(),
durable: true,
});
export const start = async (zcf, _privateArgs, baggage) => {
const zone = makeDurableZone(baggage);

/**
Expand Down

0 comments on commit 3ecbad2

Please sign in to comment.