Commit graph

410 commits

Author SHA1 Message Date
Hongrui Fang
f87d6f00a6
re-implement the treasury withdrawal effect 2023-03-24 21:02:01 +08:00
Emily Martins
acdf7044e5 fix datum lookup bug affecting inputs and outputs 2023-03-14 23:14:41 +00:00
SeungheonOh
04362041e2 Merge branch 'staging' into seungheonoh/purslinker 2023-03-14 19:30:55 +00:00
Seungheon Oh
fab16355e5 Nix to export 2023-03-10 14:51:42 -06:00
Hongrui Fang
c4e3dfbca6
remove unused UnsafeFromData instances 2023-03-11 00:02:41 +08:00
Hongrui Fang
12920e6cdc
encode data as list instead of constr wherever we can 2023-03-10 23:48:40 +08:00
nini-faroux
60ee4fa4ed Update toVoting comment 2023-03-10 23:10:25 +08:00
Seungheon Oh
6a5dc755bf Fix linker and tests 2023-03-04 01:18:55 -06:00
Seungheon Oh
13151bb6fb Update types so that ply envlope can be used in Purescript 2023-03-04 00:52:10 -06:00
Hongrui Fang
d2ba02307a
fix inline GAT datum hashing 2023-02-13 16:00:03 +08:00
Hongrui Fang
dc51d2219b
allow effect datum to be stored inline 2023-01-26 22:48:58 +08:00
Hongrui Fang
2fa5da132f
export alwaysSucceedsPolicy as a standalone builder 2023-01-23 20:18:22 +08:00
Hongrui Fang
caffdfba20
use v2 hash in the linker 2023-01-20 17:32:34 +08:00
Hongrui Fang
dacd52c915
export alwaysSucceedsPolicy in the linker 2023-01-18 04:06:11 +08:00
Emily Martins
0cb45dbd76 bump liqwid-nix to 2.2.0 2023-01-06 17:18:58 +01:00
Emily Martins
55ae1c3108 add alwaysSucceedsPolicy back in 2023-01-03 15:29:02 +01:00
Emily Martins
2843e1dd63 use liqwid-nix 2.0 2022-12-08 17:28:26 +01:00
Hongrui Fang
ca951031dc
fix compilation errors; rename stuff 2022-12-01 22:15:59 +08:00
Hongrui Fang
b0e476a81c
fix delegatee auth check 2022-11-28 22:20:22 +08:00
Hongrui Fang
2b59923059
improve readability 2022-11-28 21:03:55 +08:00
Hongrui Fang
2c3a1c0363
fix a bug that makes using delegated and own stakes together unreliable 2022-11-25 21:12:51 +08:00
Hongrui Fang
cefc6740f0
fix bugs and vulnerabilities in premoveLocks 2022-11-24 21:06:59 +08:00
SeungheonOh
59fb5dc8ba
Merge branch 'staging' into seungheonoh/updatepse 2022-11-23 08:50:19 -06:00
Seungheon Oh
2969ef99c6 Update PSE 2022-11-22 17:55:16 -06:00
Hongrui Fang
74bb792624
fix docstrings
Co-authored-by: Emily Martins <emi@haskell.fyi>
2022-11-22 19:28:31 +08:00
Hongrui Fang
a462e6a3d3
implement cooldown period for stake unlocking 2022-11-21 18:04:35 +08:00
Hongrui Fang
01d0efc594
fix documentation; apply suggestions 2022-11-16 12:40:03 +08:00
Hongrui Fang
ce98183237
remove redundant imports 2022-11-16 12:36:30 +08:00
Hongrui Fang
a7520a522a
handle staking credential transparently 2022-11-16 12:36:28 +08:00
Hongrui Fang
e382461bf2
ensure votes changed in VotingReady while calling UnlockStakes 2022-11-16 12:36:27 +08:00
Hongrui Fang
30a44483a1
disallow calling UnlockStake without any stake inputs 2022-11-16 12:36:26 +08:00
Hongrui Fang
f9a1e3b87f
improve doc string and naming as suggested by auditors 2022-11-16 12:36:25 +08:00
Hongrui Fang
eacec0a10b
disallow delegatee to create and cosign proposals 2022-11-16 12:36:24 +08:00
Hongrui Fang
1a7d704497
prevent minting multiple into one UTxO; regression tests 2022-11-16 12:36:23 +08:00
Hongrui Fang
86bcc78553
fix leftover strict inequality check 2022-11-16 12:36:22 +08:00
方泓睿
d0b155d315
fix a typo
Co-authored-by: emiflake <emily@liqwid.finance>
2022-11-16 12:36:21 +08:00
Hongrui Fang
85e7c1dda0
make it possible for delegatee to vote with delegated and own stakes 2022-11-16 12:36:20 +08:00
Hongrui Fang
ec9f6d3425
tag assetclasses and currency symbols 2022-11-16 12:36:20 +08:00
adamczykm
dd33f60ed0
Implement governor mintint policy property tests. 2022-11-11 23:35:52 +08:00
adamczykm
5791e51739
Implement isGovernorDatumValid tests. 2022-11-11 23:35:51 +08:00
Hongrui Fang
6da4e7286d
fix compilation errors 2022-11-11 23:34:55 +08:00
Hongrui Fang
823ebc95a5
test that govenor will reject fake stakes 2022-11-02 00:48:11 +08:00
Hongrui Fang
b077dcc020
check governor redeemer while minting PST 2022-10-31 21:44:10 +08:00
Hongrui Fang
3059dbdb1c
filter SST by assetclass in governor 2022-10-31 21:32:06 +08:00
Hongrui Fang
5dca43f08d
add presolveStakeInputDatum 2022-10-31 21:32:04 +08:00
Emily Martins
ffd1c8c8ba apply formatting 2022-10-31 13:43:32 +01:00
Emily Martins
e9adfc6386 bump liqwid-nix to 1.1 2022-10-31 13:42:47 +01:00
Hongrui Fang
79ed5c6ca6
prevent minting SST while burning 2022-10-31 18:11:48 +08:00
Hongrui Fang
c671ea7fbf
improve efficiency of authorityTokenPolicy 2022-10-31 18:11:45 +08:00
colll78
323b2db0d3
disallow minting new GATs while burning
Co-authored-by: Hongrui Fang <chfanghr@gmail.com>
2022-10-29 07:57:29 +08:00