Skip to content

Instantly share code, notes, and snippets.

@sclearion
sclearion / metadata.json
Created February 21, 2022 19:48
ZeroCoupon
{"valueParameterInfo":[["Interest",{"valueParameterFormat":{"contents":[6,"₳"],"tag":"DecimalFormat"},"valueParameterDescription":"The interest paid by the _**borrower**_."}],["Amount",{"valueParameterFormat":{"contents":[6,"₳"],"tag":"DecimalFormat"},"valueParameterDescription":"The amount borrowed by the _**borrower**_."}]],"slotParameterDescriptions":[["Loan deadline","The _**lender**_ needs to deposit the _amount_ by this time."],["Payback deadline","The _**borrower**_ needs to deposit the repayment (_amount_ plus _interest_) by this time."]],"roleDescriptions":[["Borrower","The party that borrows the _amount_."],["Lender","The party that lends the _amount_."]],"contractType":"ZeroCouponBond","contractShortDescription":"A simple loan: the _**borrower**_ borrows the _amount_ from the _**lender**_, and at the _payback deadline_ pays back the _amount_ plus _interest_.","contractName":"Loan","contractLongDescription":"This is a high risk/high reward contract. There is no guarantee that the _**borrower**_ will
{"valueParameterInfo":[["Collateral amount",{"valueParameterFormat":{"contents":[6,"₳"],"tag":"DecimalFormat"},"valueParameterDescription":"The amount of Lovelace to be deposited by both parties at the start of the contract to serve as an incentive for collaboration."}],["Price",{"valueParameterFormat":{"contents":[6,"₳"],"tag":"DecimalFormat"},"valueParameterDescription":"The amount of Lovelace to be paid by the _**Buyer**_ as part of the exchange."}]],"slotParameterDescriptions":[["Collateral deposit by seller timeout","The deadline by which the _**Seller**_ must deposit the _**Collateral amount**_ in the contract."],["Deposit of collateral by buyer timeout","The deadline by which the _**Buyer**_ must deposit the _**Collateral amount**_ in the contract."],["Deposit of price by buyer timeout","The deadline by which the _**Buyer**_ must deposit the _**Price**_ in the contract."],["Dispute by buyer timeout","The deadline by which, if the _**Buyer**_ has not opened a dispute, the _**Seller**_ will be paid."],["