Skip to content

Instantly share code, notes, and snippets.

@ayo-dan
ayo-dan / metadata.json
Created June 7, 2022 06:24 — forked from brunjlar/metadata.json
MPP - Simple payment (Pay)
{"valueParameterInfo":[],"timeParameterDescriptions":[["Deadline","Time by which the Giver's deposit has to be made."]],"roleDescriptions":[["Giver","The party making the payment."],["Receiver","The party receiving the payment."]],"contractType":"Other","contractShortDescription":"Giver makes a payment to Receiver.","contractName":"MPP - Simple payment (Pay)","contractLongDescription":"Giver makes a payment to Receiver.","choiceInfo":[]}
@ayo-dan
ayo-dan / metadata.json
Created June 7, 2022 06:24 — forked from brunjlar/metadata.json
MPP - Simple payment (Close)
{"valueParameterInfo":[],"timeParameterDescriptions":[["Deadline","Time by which the Giver's deposit has to be made."]],"roleDescriptions":[["Giver","The party making the payment."],["Receiver","The party receiving the payment."]],"contractType":"Other","contractShortDescription":"Giver makes a payment to Receiver.","contractName":"MPP - Simple payment (Close)","contractLongDescription":"Giver makes a payment to Receiver.","choiceInfo":[]}
@ayo-dan
ayo-dan / metadata.json
Created June 7, 2022 06:24 — forked from brunjlar/metadata.json
MPP - Simple payment (Parameters)
{"valueParameterInfo":[["Amount",{"valueParameterFormat":{"contents":[6,"ada"],"tag":"DecimalFormat"},"valueParameterDescription":"Amount to be transferred from Giver to Receiver."}]],"timeParameterDescriptions":[["Deadline","Time by which the Giver's deposit has to be made."]],"roleDescriptions":[["Giver","The party making the payment."],["Receiver","The party receiving the payment."]],"contractType":"Other","contractShortDescription":"Giver makes a payment to Receiver.","contractName":"MPP - Simple payment (Close)","contractLongDescription":"Giver makes a payment to Receiver.","choiceInfo":[]}
@ayo-dan
ayo-dan / metadata.json
Created June 7, 2022 06:24 — forked from brunjlar/metadata.json
MPP - Choice & If
{"valueParameterInfo":[["Amount",{"valueParameterFormat":{"contents":[6,"ada"],"tag":"DecimalFormat"},"valueParameterDescription":"Amount to deposit."}]],"timeParameterDescriptions":[["DepositDeadline","Deadline for the deposit."],["ChoiceDeadline","Deadline for the choice."]],"roleDescriptions":[["Chooser","CHooses who will receive the deposit."],["Giver","Makes the deposit."],["Receiver1","The first potential receiver."],["Receiver2","The second potential receiver."]],"contractType":"Other","contractShortDescription":"Simple choice.","contractName":"MPP - Choice & If","contractLongDescription":"The \"Chooser\" can decide whether to give the money deposited by \"Giver\" to \"Receiver1\" or \"Receiver2\".","choiceInfo":[["Choice",{"choiceFormat":{"contents":null,"tag":"DefaultFormat"},"choiceDescription":"Which receiver should receive the doposit?"}]]}
@ayo-dan
ayo-dan / metadata.json
Created June 7, 2022 06:24 — forked from brunjlar/metadata.json
MPP - Choice, If & Let
{"valueParameterInfo":[["Amount",{"valueParameterFormat":{"contents":[6,"ada"],"tag":"DecimalFormat"},"valueParameterDescription":"Amount to deposit."}]],"timeParameterDescriptions":[["DepositDeadline","Deadline for the deposit."],["ChoiceDeadline","Deadline for the choice."]],"roleDescriptions":[["Chooser","CHooses who will receive the deposit."],["Giver","Makes the deposit."],["Receiver1","The first potential receiver."],["Receiver2","The second potential receiver."]],"contractType":"Other","contractShortDescription":"Simple choice.","contractName":"MPP - Choice & If","contractLongDescription":"The \"Chooser\" can decide whether to give the money deposited by \"Giver\" to \"Receiver1\" or \"Receiver2\".","choiceInfo":[["Choice",{"choiceFormat":{"contents":null,"tag":"DefaultFormat"},"choiceDescription":"Which receiver should receive the doposit?"}]]}