Replies: 2 comments 3 replies
-
A first stab at defining In an Agoric smart contract, An example of export const meta = {
customTermsShape: M.splitRecord(
{ tradePrice: AmountShape },
{ maxItems: M.bigint() },
),
}; The In the example above, the custom terms are defined using the
The The line |
Beta Was this translation helpful? Give feedback.
-
In office hours today, someone asked about some code from the contract in dapp-offer-up:
https://github.com/Agoric/dapp-offer-up/blob/6a14bcfc62c6008c379524f300e9176ec7dc1534/contract/src/offer-up.contract.js#L56-L63
https://github.com/Agoric/dapp-agoric-basics/blob/main/contract/src/postal-service.contract.js#L8
Beta Was this translation helpful? Give feedback.
All reactions