Hongrui Fang
|
044a4d03b5
|
allow effect datum to be stored inline
|
2023-01-26 22:48:58 +08:00 |
|
Hongrui Fang
|
c547494c93
|
export alwaysSucceedsPolicy as a standalone builder
|
2023-01-23 20:18:22 +08:00 |
|
Hongrui Fang
|
ec13f771a6
|
use v2 hash in the linker
|
2023-01-20 17:32:34 +08:00 |
|
Hongrui Fang
|
e1554d80f7
|
export alwaysSucceedsPolicy in the linker
|
2023-01-18 04:06:11 +08:00 |
|
Emily Martins
|
f5117d194b
|
bump liqwid-nix to 2.2.0
|
2023-01-06 17:18:58 +01:00 |
|
Emily Martins
|
06632f0e57
|
add alwaysSucceedsPolicy back in
|
2023-01-03 15:29:02 +01:00 |
|
Emily Martins
|
7e628328da
|
use liqwid-nix 2.0
|
2022-12-08 17:28:26 +01:00 |
|
Hongrui Fang
|
eb4d9a2bf9
|
fix compilation errors; rename stuff
|
2022-12-01 22:15:59 +08:00 |
|
Hongrui Fang
|
53753fb8d5
|
fix delegatee auth check
|
2022-11-28 22:20:22 +08:00 |
|
Hongrui Fang
|
5f9e6f57b2
|
improve readability
|
2022-11-28 21:03:55 +08:00 |
|
Hongrui Fang
|
857f1bfaa9
|
fix a bug that makes using delegated and own stakes together unreliable
|
2022-11-25 21:12:51 +08:00 |
|
Hongrui Fang
|
edb982abaa
|
fix bugs and vulnerabilities in premoveLocks
|
2022-11-24 21:06:59 +08:00 |
|
SeungheonOh
|
dac9dc2394
|
Merge branch 'staging' into seungheonoh/updatepse
|
2022-11-23 08:50:19 -06:00 |
|
Seungheon Oh
|
f276b5a97c
|
Update PSE
|
2022-11-22 17:55:16 -06:00 |
|
Hongrui Fang
|
6c8f6b55ce
|
fix docstrings
Co-authored-by: Emily Martins <emi@haskell.fyi>
|
2022-11-22 19:28:31 +08:00 |
|
Hongrui Fang
|
07f6f1e04d
|
implement cooldown period for stake unlocking
|
2022-11-21 18:04:35 +08:00 |
|
Hongrui Fang
|
9a008a6560
|
fix documentation; apply suggestions
|
2022-11-16 12:40:03 +08:00 |
|
Hongrui Fang
|
3c10617244
|
remove redundant imports
|
2022-11-16 12:36:30 +08:00 |
|
Hongrui Fang
|
9e149c7561
|
handle staking credential transparently
|
2022-11-16 12:36:28 +08:00 |
|
Hongrui Fang
|
0d0e122bd2
|
ensure votes changed in VotingReady while calling UnlockStakes
|
2022-11-16 12:36:27 +08:00 |
|
Hongrui Fang
|
431092fb1c
|
disallow calling UnlockStake without any stake inputs
|
2022-11-16 12:36:26 +08:00 |
|
Hongrui Fang
|
ae72d0ae6d
|
improve doc string and naming as suggested by auditors
|
2022-11-16 12:36:25 +08:00 |
|
Hongrui Fang
|
7c3d66f365
|
disallow delegatee to create and cosign proposals
|
2022-11-16 12:36:24 +08:00 |
|
Hongrui Fang
|
287054d95e
|
prevent minting multiple into one UTxO; regression tests
|
2022-11-16 12:36:23 +08:00 |
|
Hongrui Fang
|
0eacf1f6f2
|
fix leftover strict inequality check
|
2022-11-16 12:36:22 +08:00 |
|
方泓睿
|
a23afda3f5
|
fix a typo
Co-authored-by: emiflake <emily@liqwid.finance>
|
2022-11-16 12:36:21 +08:00 |
|
Hongrui Fang
|
3eb71a55a3
|
make it possible for delegatee to vote with delegated and own stakes
|
2022-11-16 12:36:20 +08:00 |
|
Hongrui Fang
|
a0946a8dbc
|
tag assetclasses and currency symbols
|
2022-11-16 12:36:20 +08:00 |
|
adamczykm
|
463106b0cf
|
Implement governor mintint policy property tests.
|
2022-11-11 23:35:52 +08:00 |
|
adamczykm
|
740e1416fb
|
Implement isGovernorDatumValid tests.
|
2022-11-11 23:35:51 +08:00 |
|
Hongrui Fang
|
ff4619dd94
|
fix compilation errors
|
2022-11-11 23:34:55 +08:00 |
|
Hongrui Fang
|
996797995a
|
test that govenor will reject fake stakes
|
2022-11-02 00:48:11 +08:00 |
|
Hongrui Fang
|
2e09e7921d
|
check governor redeemer while minting PST
|
2022-10-31 21:44:10 +08:00 |
|
Hongrui Fang
|
007a116d15
|
filter SST by assetclass in governor
|
2022-10-31 21:32:06 +08:00 |
|
Hongrui Fang
|
9fe8448711
|
add presolveStakeInputDatum
|
2022-10-31 21:32:04 +08:00 |
|
Emily Martins
|
914098655d
|
apply formatting
|
2022-10-31 13:43:32 +01:00 |
|
Emily Martins
|
bf8290be46
|
bump liqwid-nix to 1.1
|
2022-10-31 13:42:47 +01:00 |
|
Hongrui Fang
|
621d98ddd6
|
prevent minting SST while burning
|
2022-10-31 18:11:48 +08:00 |
|
Hongrui Fang
|
4fbd4b98f1
|
improve efficiency of authorityTokenPolicy
|
2022-10-31 18:11:45 +08:00 |
|
colll78
|
ed6242d2c8
|
disallow minting new GATs while burning
Co-authored-by: Hongrui Fang <chfanghr@gmail.com>
|
2022-10-29 07:57:29 +08:00 |
|
Hongrui Fang
|
2a2244b08a
|
fix typos
|
2022-10-28 23:55:18 +08:00 |
|
Hongrui Fang
|
db15b4c218
|
correctly handle proposal time
|
2022-10-28 23:55:17 +08:00 |
|
Hongrui Fang
|
d0f3162fdc
|
make stake validator operate only on its own stakes
|
2022-10-28 23:55:17 +08:00 |
|
Hongrui Fang
|
e3143629fd
|
make sure all stakes are burnt while destroying stakes
|
2022-10-28 23:55:16 +08:00 |
|
Hongrui Fang
|
82bf20c5c1
|
better doc string for authorityTokensValidIn
|
2022-10-28 23:55:15 +08:00 |
|
Hongrui Fang
|
cd3ccfe350
|
rename proposal redeemer Unlock to UnlockStake
|
2022-10-28 23:55:14 +08:00 |
|
Hongrui Fang
|
85fa6c81da
|
check thresholds inclusively
|
2022-10-28 23:55:13 +08:00 |
|
Hongrui Fang
|
52ea8115e3
|
remove redundant unlock check from stake policy
|
2022-10-26 22:15:01 +08:00 |
|
Hongrui Fang
|
20497fcfe3
|
tests for creating stakes
|
2022-10-26 22:14:58 +08:00 |
|
Hongrui Fang
|
cac856f4eb
|
use lpe's AssetClass; fix errors
|
2022-10-25 18:46:42 +08:00 |
|