Commit graph

16 commits

Author SHA1 Message Date
Emily Martins
265d8f25c7 add ProposalRedeemer, bump plutarch-safemoney PR revision 2022-04-27 12:51:01 +02:00
Seungheon Oh
5ff09ee207 format 2022-04-25 08:48:22 -04:00
Seungheon Oh
5a688262c3 take collaterals into account 2022-04-25 08:46:58 -04:00
Seungheon Oh
bf13fd926e stricter constraints over inputs
It will only allow treasuries given in the datum as input. It prevents
unwanted change in the system.
2022-04-22 19:01:36 -05:00
Seungheon Oh
ec46273b5b Now it checks specific treasury
Emily's suggestion on the review
2022-04-22 11:18:38 -04:00
Seungheon Oh
df8baf4f4f Yeah! Treasury Withdrawal Effect works with good tests 2022-04-21 19:02:10 -05:00
Seungheon Oh
0d99e36541 Restructured Testings
Separated the samples and test sets
2022-04-21 16:44:59 -05:00
Emily Martins
c0fa200d8d lock field in Stake datum, singleAuthorityTokenBurned helper 2022-03-31 16:48:59 +02:00
Emily Martins
8c9225c1f1 use plutarch-safemoney instead of local Agora.SafeMoney 2022-03-30 15:32:50 +02:00
Emily Martins
4469671da0 migrate Haskell-level datums to use Discrete 2022-03-26 15:08:11 +01:00
Emily Martins
dee3de0a73 rework SafeMoney to use tags instead of MoneyClass 2022-03-26 11:52:52 +01:00
Emily Martins
633c3bea9e apply suggestions and fix remaining haddock suggestions 2022-03-24 15:43:21 +01:00
Emily Martins
78d104c213 add some tests for Stake validator 2022-03-23 21:37:28 +01:00
Emily Martins
3d76511a50 add intentionally failing examples 2022-03-16 13:55:00 +01:00
Emily Martins
b57d7bde6e bump plutarch to staging rev 2022-03-11 18:05:30 +01:00
Emily Martins
a2ea0a46f5 WIP simple sample test for Stake policy 2022-03-09 22:00:02 +01:00