Skip to content

Instantly share code, notes, and snippets.

@brunjlar
Last active April 15, 2024 18:57
Show Gist options
  • Save brunjlar/3f0a890709458929b172d2c7057fe851 to your computer and use it in GitHub Desktop.
Save brunjlar/3f0a890709458929b172d2c7057fe851 to your computer and use it in GitHub Desktop.
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":[]}
When
[Case
(Deposit
(Role "Giver")
(Role "Giver")
(Token "" "")
(Constant 100000000)
)
(Pay
(Role "Giver")
(Party (Role "Receiver"))
(Token "" "")
(AvailableMoney
(Role "Giver")
(Token "" "")
)
Close
)]
(TimeParam "Deadline")
Close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment