Skip to content

Instantly share code, notes, and snippets.

@edsko
Last active August 3, 2022 11:03
Show Gist options
  • Save edsko/5937a67dcbad03ba56ea16d2645b1f4e to your computer and use it in GitHub Desktop.
Save edsko/5937a67dcbad03ba56ea16d2645b1f4e to your computer and use it in GitHub Desktop.
Tender offer
{"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")
(Constant 10)
)
(When
[Case
(Deposit
(Role "B")
(Role "B")
(Token "" "SHARE")
(Constant 20)
)
(When
[Case
(Deposit
(Role "A")
(Role "C")
(Token "" "")
(Constant 100000000)
)
(Pay
(Role "A")
(Party (Role "C"))
(Token "" "SHARE")
(Constant 10)
(Pay
(Role "B")
(Party (Role "C"))
(Token "" "SHARE")
(Constant 20)
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