Skip to content

Instantly share code, notes, and snippets.

@CardanoDVPR
Last active June 15, 2022 01:09
Show Gist options
  • Save CardanoDVPR/3e2f56d2c3bed7322497eff94d7c24a3 to your computer and use it in GitHub Desktop.
Save CardanoDVPR/3e2f56d2c3bed7322497eff94d7c24a3 to your computer and use it in GitHub Desktop.
Bank or Client Pay
{"valueParameterInfo":[],"timeParameterDescriptions":[],"roleDescriptions":[],"contractType":"Other","contractShortDescription":"Unknown","contractName":"Unknown","contractLongDescription":"We couldn't find information about this contract","choiceInfo":[]}
When
[Case
(Deposit
(Role "Bank")
(Role "Bank")
(Token "" "")
(Constant 150000000)
)
(When
[Case
(Deposit
(Role "Client")
(Role "Client")
(Token "" "")
(Constant 50000000)
)
(When
[Case
(Deposit
(Role "Client")
(Role "Client")
(Token "" "")
(Constant 50000000)
)
(When
[Case
(Deposit
(Role "Client")
(Role "Client")
(Token "" "")
(Constant 50000000)
)
(Pay
(Role "Bank")
(Party (Role "Client"))
(Token "" "")
(AvailableMoney
(Role "Bank")
(Token "" "")
)
Close
)]
(TimeParam "ClientDeadline")
(Pay
(Role "Client")
(Party (Role "Bank"))
(Token "" "")
(AvailableMoney
(Role "Client")
(Token "" "")
)
Close
)
)]
(TimeParam "ClientDeadline")
(Pay
(Role "Client")
(Party (Role "Bank"))
(Token "" "")
(AvailableMoney
(Role "Client")
(Token "" "")
)
Close
)
)]
(TimeParam "ClientDeadline")
(Pay
(Role "Client")
(Party (Role "Bank"))
(Token "" "")
(AvailableMoney
(Role "Client")
(Token "" "")
)
Close
)
)]
(TimeParam "BankDeadline")
Close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment