Commit graph

13 commits

Author SHA1 Message Date
Seungheon Oh
05a6808767
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
e91dcb7ce1 Now it checks specific treasury
Emily's suggestion on the review
2022-04-22 11:18:38 -04:00
Seungheon Oh
7f6ccc0dee
Yeah! Treasury Withdrawal Effect works with good tests 2022-04-21 19:02:10 -05:00
Seungheon Oh
82dd53efcf
Restructured Testings
Separated the samples and test sets
2022-04-21 16:44:59 -05:00
Emily Martins
b0eb044bf2 lock field in Stake datum, singleAuthorityTokenBurned helper 2022-03-31 16:48:59 +02:00
Emily Martins
097e055f19 use plutarch-safemoney instead of local Agora.SafeMoney 2022-03-30 15:32:50 +02:00
Emily Martins
15d25f314b migrate Haskell-level datums to use Discrete 2022-03-26 15:08:11 +01:00
Emily Martins
8a98ec9ec3 rework SafeMoney to use tags instead of MoneyClass 2022-03-26 11:52:52 +01:00
Emily Martins
6702bfcd94 apply suggestions and fix remaining haddock suggestions 2022-03-24 15:43:21 +01:00
Emily Martins
3578e7c47e add some tests for Stake validator 2022-03-23 21:37:28 +01:00
Emily Martins
fd7ef68b04 add intentionally failing examples 2022-03-16 13:55:00 +01:00
Emily Martins
7003c4556e bump plutarch to staging rev 2022-03-11 18:05:30 +01:00
Emily Martins
8b98324cee WIP simple sample test for Stake policy 2022-03-09 22:00:02 +01:00