Skip to content

Instantly share code, notes, and snippets.

@ayo-dan
Created January 17, 2024 20:46
Show Gist options
  • Save ayo-dan/92c1ef6eaf70b30b3919baa78fc23f36 to your computer and use it in GitHub Desktop.
Save ayo-dan/92c1ef6eaf70b30b3919baa78fc23f36 to your computer and use it in GitHub Desktop.
Marlowe Run Practice
{"valueParameterInfo":[],"timeParameterDescriptions":[],"roleDescriptions":[],"contractType":"Other","contractShortDescription":"Unknown","contractName":"Unknown","contractLongDescription":"We couldn't find information about this contract","choiceInfo":[]}
When
[Case
(Deposit
(Role "Seller")
(Role "Seller")
(Token "e00b4d44f1520eb0509cf702caf53a72e7c82a8d643312a36ed9045e" "BHB")
(Constant 1)
)
(When
[Case
(Deposit
(Role "Seller")
(Role "Buyer")
(Token "" "")
(ConstantParam "NFT List Price")
)
(Pay
(Role "Seller")
(Account (Role "Buyer"))
(Token "e00b4d44f1520eb0509cf702caf53a72e7c82a8d643312a36ed9045e" "BHB")
(Constant 1)
Close
)]
(TimeParam "Buyer LOVELACE Deposit Timeout")
Close
)]
(TimeParam "Seller NFT Deposit Timeout")
Close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment