Skip to content

Instantly share code, notes, and snippets.

View kugi83's full-sized avatar
😎

Léo Banno-Cloutier kugi83

😎
View GitHub Profile
@kugi83
kugi83 / metadata.json
Created May 24, 2022 16:22
Equipment Purchase5
{"valueParameterInfo":[],"slotParameterDescriptions":[],"roleDescriptions":[["Buyer","The buyer of the item."],["Seller","The seller of the item."]],"contractType":"Escrow","contractShortDescription":"In this contract a _**seller**_ wants to sell an item (like a bicycle) to a _**buyer**_ for a _price_.","contractName":"Purchase","contractLongDescription":"Neither trusts each other, but they both trust a _**mediator**_. The _**buyer**_ pays the _price_ into the contract account: if both the _**buyer**_ and the _**seller**_ agree that the _**buyer**_ has received the item, then the _**seller**_ receives the _price_; if not, then the _**mediator**_ ensures that the _**buyer**_ gets their money back.","choiceInfo":[["bom",{"choiceFormat":{"contents":null,"tag":"DefaultFormat"},"choiceDescription":""}],["confirmation",{"choiceFormat":{"contents":null,"tag":"DefaultFormat"},"choiceDescription":""}],["everything alright",{"choiceFormat":{"contents":null,"tag":"DefaultFormat"},"choiceDescription":""}],["quote1",{"cho
@kugi83
kugi83 / metadata.json
Created May 24, 2022 16:05
Equipment Purchase4
{"valueParameterInfo":[],"slotParameterDescriptions":[],"roleDescriptions":[["Buyer","The buyer of the item."],["Seller","The seller of the item."]],"contractType":"Escrow","contractShortDescription":"In this contract a _**seller**_ wants to sell an item (like a bicycle) to a _**buyer**_ for a _price_.","contractName":"Purchase","contractLongDescription":"Neither trusts each other, but they both trust a _**mediator**_. The _**buyer**_ pays the _price_ into the contract account: if both the _**buyer**_ and the _**seller**_ agree that the _**buyer**_ has received the item, then the _**seller**_ receives the _price_; if not, then the _**mediator**_ ensures that the _**buyer**_ gets their money back.","choiceInfo":[["bom",{"choiceFormat":{"contents":null,"tag":"DefaultFormat"},"choiceDescription":""}],["confirmation",{"choiceFormat":{"contents":null,"tag":"DefaultFormat"},"choiceDescription":""}],["everything alright",{"choiceFormat":{"contents":null,"tag":"DefaultFormat"},"choiceDescription":""}],["quote1",{"cho
@kugi83
kugi83 / metadata.json
Created May 24, 2022 15:49
Equipment Purchase3
{"valueParameterInfo":[],"slotParameterDescriptions":[],"roleDescriptions":[["Buyer","The buyer of the item."],["Seller","The seller of the item."]],"contractType":"Escrow","contractShortDescription":"In this contract a _**seller**_ wants to sell an item (like a bicycle) to a _**buyer**_ for a _price_.","contractName":"Purchase","contractLongDescription":"Neither trusts each other, but they both trust a _**mediator**_. The _**buyer**_ pays the _price_ into the contract account: if both the _**buyer**_ and the _**seller**_ agree that the _**buyer**_ has received the item, then the _**seller**_ receives the _price_; if not, then the _**mediator**_ ensures that the _**buyer**_ gets their money back.","choiceInfo":[["bom",{"choiceFormat":{"contents":null,"tag":"DefaultFormat"},"choiceDescription":""}],["confirmation",{"choiceFormat":{"contents":null,"tag":"DefaultFormat"},"choiceDescription":""}],["everything alright",{"choiceFormat":{"contents":null,"tag":"DefaultFormat"},"choiceDescription":""}],["quote1",{"cho
@kugi83
kugi83 / metadata.json
Created May 24, 2022 15:26
Equipment Purchase2
{"valueParameterInfo":[["Price",{"valueParameterFormat":{"contents":[6,"₳"],"tag":"DecimalFormat"},"valueParameterDescription":"The price of the item."}]],"slotParameterDescriptions":[["Payment deadline","The _**buyer**_ must pay the _price_ of the item by this time, otherwise the contract is cancelled."],["Complaint deadline","The _**buyer**_ can only complain until this deadline, otherwise the contract will assume the transaction went smoothly and pay the _**seller**_."],["Complaint response deadline","If the _**buyer**_ complained, the _**seller**_ must respond before this deadline, otherwise the contract will assume there was a problem with the transaction and refund the _**buyer**_."],["Mediation deadline","If the _**buyer**_ and the _**seller**_ disagree, the _**mediator**_ must weigh in before this deadline, otherwise the contract will assume there was a problem with the transaction and refund the _**buyer**_."]],"roleDescriptions":[["Buyer","The buyer of the item."],["Mediator","The mediator decides w
@kugi83
kugi83 / metadata.json
Created May 24, 2022 15:25
Equipment Purchase
{"valueParameterInfo":[["Price",{"valueParameterFormat":{"contents":[6,"₳"],"tag":"DecimalFormat"},"valueParameterDescription":"The price of the item."}]],"slotParameterDescriptions":[["Payment deadline","The _**buyer**_ must pay the _price_ of the item by this time, otherwise the contract is cancelled."],["Complaint deadline","The _**buyer**_ can only complain until this deadline, otherwise the contract will assume the transaction went smoothly and pay the _**seller**_."],["Complaint response deadline","If the _**buyer**_ complained, the _**seller**_ must respond before this deadline, otherwise the contract will assume there was a problem with the transaction and refund the _**buyer**_."],["Mediation deadline","If the _**buyer**_ and the _**seller**_ disagree, the _**mediator**_ must weigh in before this deadline, otherwise the contract will assume there was a problem with the transaction and refund the _**buyer**_."]],"roleDescriptions":[["Buyer","The buyer of the item."],["Mediator","The mediator decides w