This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE OverloadedStrings #-} | |
module Example where | |
import Language.Marlowe.Extended | |
main :: IO () | |
main = printJSON $ contract "giver1" "giver2" "receiver" "amount" "deadline" | |
{- Define a contract, Close is the simplest contract which just ends the contract straight away |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"valueParameterInfo":[["donation",{"valueParameterFormat":{"contents":null,"tag":"DefaultFormat"},"valueParameterDescription":"In Lovelace"}]],"timeParameterDescriptions":[["initial-deadline",""],["donation1-deadline",""],["donation2-deadline",""]],"roleDescriptions":[["Giver1","Donor #1"],["Giver2","Donor #2"],["Receiver","Recipient of all donations"]],"contractType":"Other","contractShortDescription":"Two donors give funds to a recipient","contractName":"Double Donation, Week 3","contractLongDescription":"Two donors give funds to a recipient","choiceInfo":[["initial-donor",{"choiceFormat":{"contents":null,"tag":"DefaultFormat"},"choiceDescription":"input \"1\" for Giver1, \"2\" for Giver2"}]]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* File: iframeResizer.js | |
* Desc: Force iframes to size to content. | |
* Requires: iframeResizer.contentWindow.js to be loaded into the target frame. | |
* Doc: https://github.com/davidjbradshaw/iframe-resizer | |
* Author: David J. Bradshaw - [email protected] | |
* Contributor: Jure Mav - [email protected] | |
* Contributor: Reed Dadoune - [email protected] | |
*/ | |
setTimeout( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face{font-family:'LatoLatin-Regular';text-rendering:optimizeLegibility;src:url("https://doublethedonation.com/fonts/subset/LatoLatin-Regular-subset.woff2") format("woff2"),url("https://doublethedonation.com/fonts/subset/LatoLatin-Regular-subset.zopfli.woff") format("woff"),url("https://doublethedonation.com/fonts/subset/LatoLatin-Regular-subset.ttf") format("truetype");unicode-range:U+20-7E}@font-face{font-family:'LatoLatin-Bold';text-rendering:optimizeLegibility;src:url("https://doublethedonation.com/fonts/subset/LatoLatin-Bold-subset.woff2") format("woff2"),url("https://doublethedonation.com/fonts/subset/LatoLatin-Bold-subset.zopfli.woff") format("woff"),url("https://doublethedonation.com/fonts/subset/LatoLatin-Bold-subset.ttf") format("truetype");unicode-range:U+20-7E}@font-face{font-family:'dtd';src:url("data:application/octet-stream;base64,d09GRgABAAAAAA8kAA8AAAAAGIwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABWAAAADsAAABUIIslek9TLzIAAAGUAAAAQwAAAFY+IFH6Y21hcAAAAdgAAAByAAABzOMelmJjdnQgAAACTAAAABMAAAAgB |