diff --git a/contract/src/offer-up.contract.js b/contract/src/offer-up.contract.js index 788bbec..04b8692 100644 --- a/contract/src/offer-up.contract.js +++ b/contract/src/offer-up.contract.js @@ -70,17 +70,7 @@ export const customTermsShape = meta.customTermsShape; * * @param {ZCF} 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); /**