Skip to content

Instantly share code, notes, and snippets.

@edsko
Created August 24, 2022 11:20
Show Gist options
  • Save edsko/2f9e81d3ab50d4573e85cc500973045a to your computer and use it in GitHub Desktop.
Save edsko/2f9e81d3ab50d4573e85cc500973045a to your computer and use it in GitHub Desktop.
Document token
{"valueParameterInfo":[],"timeParameterDescriptions":[],"roleDescriptions":[],"contractType":"Other","contractShortDescription":"Unknown","contractName":"Unknown","contractLongDescription":"We couldn't find information about this contract","choiceInfo":[]}
When
[Case
(Deposit
(Role "A")
(Role "A")
(Token "" "SHARE_A")
(Constant 10)
)
(When
[Case
(Deposit
(Role "A")
(Role "B")
(Token "" "")
(Constant 100000000)
)
(When
[Case
(Deposit
(Role "DAO")
(Role "DAO")
(Token "" "DOC")
(Constant 1)
)
(Pay
(Role "A")
(Party (Role "B"))
(Token "" "SHARE_A")
(Constant 10)
Close
)]
(TimeParam "timeout")
Close
)]
(TimeParam "timeout")
Close
)]
(TimeParam "timeout")
Close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment