Emily Martins
dcdc8803c8
prevent stake inclusion in AdvanceProposal
2022-08-30 15:59:45 +02:00
Emily Martins
140105866d
reorder and inline plets
2022-08-30 12:38:56 +02:00
Emily Martins
f251a13394
apply suggestions
...
Rename `PVoting` -> `PVotingReady` to match Haskell-level
2022-08-30 12:31:29 +02:00
Emily Martins
eb3b96e4fe
remove stake checking in more places
2022-08-30 11:59:40 +02:00
Emily Martins
22868525f4
proposal advancing simplified
2022-08-30 11:58:52 +02:00
Hongrui Fang
edee537ce2
type safe sorted votes/effects
2022-08-26 22:10:46 +08:00
Hongrui Fang
1c06389a19
ensure the uniqueness of ResultTag
2022-08-25 20:42:57 +08:00
Emily Martins
fe39eea726
add kind signatures to all agora decls
2022-08-24 17:08:19 +02:00
Emily Martins
2c068d9b07
apply @chfanghr's suggestions
2022-08-23 15:58:58 +02:00
Emily Martins
f335bf98df
auth check tokens instead of effect validator
2022-08-23 12:34:24 +02:00
Emily Martins
7e51470a8a
add docstring for PProposalEffectGroup
2022-08-18 18:48:38 +02:00
Emily Martins
255c38db67
explicit imports for core agora modules
2022-08-18 16:52:53 +02:00
Emily Martins
566d1a3b9d
add changelog entry for Credential change
2022-08-18 16:11:28 +02:00
Hongrui Fang
cb45b5255b
use utils from LPE
2022-08-18 00:20:25 +08:00
Hongrui Fang
548cd8c2eb
clean up import/export lists
2022-08-18 00:20:24 +08:00
Emily Martins
dc0289e7c4
fix docs for Agora.Credential module
2022-08-17 11:00:26 +02:00
Emily Martins
44f3ddf00d
use Credential instead of PubKeyHash everywhere
2022-08-17 11:00:24 +02:00
Hongrui Fang
ce72202cfd
encode reference script hashes in effects
...
Also:
- Change the validation logic to check the reference script in the GAT UTXO upon the minting of GAT
- Make use of `PMonad`
2022-08-17 12:26:54 +08:00
Hongrui Fang
c0b5f99148
targeting 1.0.0
2022-08-16 00:10:54 +08:00
Hongrui Fang
b7902c0cf8
use v2 types
2022-08-15 21:41:31 +08:00
Hongrui Fang
7424a96a2d
remove pvalidatorHashToTokenName
2022-08-12 05:01:35 +08:00
Hongrui Fang
651b7ef631
remove unused SOP.Generic derivations
2022-08-12 05:01:35 +08:00
Hongrui Fang
91f7118ec3
parameterize scripts over AgoraScripts
2022-08-12 05:01:34 +08:00
Hongrui Fang
f248dbab49
fix compilation errors
2022-08-12 04:56:19 +08:00
Emily
b607aea5f4
Merge branch 'staging' into nini-faroux/comment-fix
2022-08-05 13:05:55 +02:00
SeungheonOh
309c8775ed
use utilities from LPE
2022-08-03 23:46:15 +08:00
Seungheon Oh
3af4a7438a
remove Agora.MultiSig
2022-08-03 23:42:21 +08:00
nini-faroux
9a42ac8b5c
Update ProposalRedeemer comment
2022-08-02 10:16:30 +01:00
Hongrui Fang
95fd75399f
add pdjust and pdnothing
2022-07-26 22:37:35 +08:00
Hongrui Fang
53160efbeb
allows delegate to retract votes
2022-07-26 22:37:35 +08:00
Hongrui Fang
be1eabc261
simple tests for setting delegate
2022-07-26 22:37:35 +08:00
Hongrui Fang
2d6e8b4c4e
allow delegating stake for voting
2022-07-26 22:37:35 +08:00
Hongrui Fang
7c36cd95ae
add pmaybe and pmaybeData utils
2022-07-26 22:37:34 +08:00
Hongrui Fang
a6280b05a7
fix typos
2022-07-26 21:47:15 +08:00
Hongrui Fang
eb407b98c4
add tests for governor mutation
2022-07-21 22:41:22 +08:00
Hongrui Fang
c450e1252d
add tests for GAT minting
...
no more propsoal T_T
2022-07-21 22:29:18 +08:00
Hongrui Fang
f6cf4f01db
add withBuiltinPairAsData
2022-07-19 22:48:03 +08:00
Hongrui Fang
4317987964
check GST while moving from Locked
2022-07-19 22:48:02 +08:00
Hongrui Fang
3ec1645f5a
utilize pletAll wherever make sense
2022-07-19 22:48:02 +08:00
Hongrui Fang
2155e59508
fix governor datum validation
2022-07-19 22:48:02 +08:00
Hongrui Fang
b6fb23975c
improve performance of the governor validator
2022-07-19 22:48:02 +08:00
Hongrui Fang
6d7bee611a
check the amount of cosigners while cosigning
2022-07-19 22:48:01 +08:00
Hongrui Fang
a54a809a05
remove field names from ProposalLock
...
so that ps-bridge works correctly
2022-07-13 16:58:13 +08:00
Hongrui Fang
77894c0228
apply Emily's suggestions
...
* Comment on `validateOutputLocks`
* Assertion message rewording
* Some comment rewording
* Fix Typos
* Correct `PShow` instances, derive as much we can
* Remove redundant checks
2022-07-13 01:58:37 +08:00
Hongrui Fang
96a50419d1
implement new stake locking mechanism
2022-07-11 19:45:51 +08:00
Hongrui Fang
f00cc62476
apply Emily's suggestions
2022-07-06 21:55:39 +08:00
Hongrui Fang
9c8d04dbc6
add tests for advancement from draft phrase; refactoring
2022-07-05 16:59:15 +08:00
Hongrui Fang
d433ab17d6
WitnessStake: accept multiple stakes at input
2022-07-05 07:53:56 +08:00
Hongrui Fang
ae0e78976a
check cosign stakes while advancing from draft
2022-07-05 07:53:29 +08:00
Hongrui Fang
95410ce254
partially fix cosigning logic; improve performance
2022-07-02 21:03:41 +08:00