fanghr
|
9cef56084e
|
only one signer to execute the effect
|
2022-05-11 17:43:04 +08:00 |
|
fanghr
|
cee0f4a67a
|
Merge branch 'master' into connor/governor
|
2022-05-11 17:40:38 +08:00 |
|
fanghr
|
f121688990
|
remove withMinAda
|
2022-05-11 17:31:17 +08:00 |
|
fanghr
|
7d5805016f
|
add missing phony
|
2022-05-11 16:17:41 +08:00 |
|
fanghr
|
28c47178d3
|
Revert "add subcommand lint_haskell to lint haskell code"
This reverts commit 0f8bc9e9f8.
|
2022-05-11 15:55:47 +08:00 |
|
fanghr
|
710aa14e9a
|
qualified imports
|
2022-05-10 22:13:31 +08:00 |
|
fanghr
|
057da75101
|
add someee comments; consistent naming
|
2022-05-10 19:55:41 +08:00 |
|
Emily
|
3d414b334a
|
Merge pull request #37 from Liqwid-Labs/jhodgdev/treasury-tests
jhodgdev/treasury tests
|
2022-05-10 11:07:17 +02:00 |
|
Jack Hodgkinson
|
704ec4a38a
|
replaced use of withMinAda
|
2022-05-09 13:54:20 +01:00 |
|
Jack Hodgkinson
|
cb0f61eb2c
|
Applied Emily's suggestions
|
2022-05-09 12:17:49 +01:00 |
|
Jack Hodgkinson
|
cddc6e8adf
|
Added echo message for Makefile lint
|
2022-05-06 11:22:40 +01:00 |
|
Jack Hodgkinson
|
8296834b99
|
added lint function to Makefile
|
2022-05-06 10:55:09 +01:00 |
|
Jack Hodgkinson
|
012aeda681
|
removed outdated reference
|
2022-05-06 10:54:03 +01:00 |
|
Jack Hodgkinson
|
f075d33b0d
|
Added review changes
|
2022-05-06 10:36:21 +01:00 |
|
fanghr
|
e67dd21d06
|
use validatorHashToTokenName
|
2022-05-06 17:13:32 +08:00 |
|
fanghr
|
2a993ae777
|
run linter
|
2022-05-06 17:12:47 +08:00 |
|
fanghr
|
38e5611c3f
|
fix wired issue introduced by punsafeCoerce
|
2022-05-06 17:11:15 +08:00 |
|
Hongrui Fang
|
b653d85265
|
actually check GAT
|
2022-05-06 17:11:14 +08:00 |
|
fanghr
|
d9a2a467bb
|
fix seralization issues
|
2022-05-06 17:11:14 +08:00 |
|
fanghr
|
c1c4c919a2
|
add the rest of the tests
They won't pass for some reasons, unfortunately.
|
2022-05-06 17:11:13 +08:00 |
|
fanghr
|
a12c9832b8
|
run formatter and linter
|
2022-05-06 17:11:13 +08:00 |
|
fanghr
|
c6a59e076d
|
add proposal creation test
|
2022-05-06 17:11:12 +08:00 |
|
fanghr
|
5c7d226a29
|
remove incorrect votes check
|
2022-05-06 17:11:11 +08:00 |
|
fanghr
|
15d4dd03d9
|
implement merge sort to imporve perf of some utils
|
2022-05-06 17:11:11 +08:00 |
|
fanghr
|
ac32b73056
|
add a sample for GST minting policy
|
2022-05-06 17:11:10 +08:00 |
|
fanghr
|
0f8bc9e9f8
|
add subcommand lint_haskell to lint haskell code
|
2022-05-06 17:11:09 +08:00 |
|
fanghr
|
15fd232874
|
check if the UTXO carries a valid datum while minting GST
|
2022-05-06 17:11:09 +08:00 |
|
fanghr
|
41da2dd534
|
run formatter and linter
|
2022-05-06 17:11:08 +08:00 |
|
fanghr
|
473deeb08f
|
add samples: proposalCreation, mutateState and mintGAT
|
2022-05-06 17:11:07 +08:00 |
|
fanghr
|
62cd50c5cb
|
add templates for samples and tests of governor
|
2022-05-06 17:11:07 +08:00 |
|
fanghr
|
cfac755380
|
ensure GTs are in the stake being checked
|
2022-05-06 17:11:06 +08:00 |
|
fanghr
|
8e1eb328a3
|
add descriptions for available make subcommands
|
2022-05-06 17:11:05 +08:00 |
|
fanghr
|
bfebc95ce3
|
fix broken tests
|
2022-05-06 17:11:05 +08:00 |
|
fanghr
|
7cfd80298a
|
add stakeSTAssetClassFromGovernor
|
2022-05-06 17:11:04 +08:00 |
|
fanghr
|
3c76f6c1ac
|
refactor Spec.Sample.Shared with bridges
|
2022-05-06 17:11:03 +08:00 |
|
fanghr
|
e50e5d6f36
|
parameterize PST policy only with assetclass of GST
...to resolve the cyclic reference between SST and PST
|
2022-05-06 17:11:03 +08:00 |
|
fanghr
|
327b2ed244
|
fix a typo
|
2022-05-06 17:11:02 +08:00 |
|
fanghr
|
2aa869b46c
|
fix compilation errors :)
|
2022-05-06 17:11:01 +08:00 |
|
fanghr
|
f59cfc3f56
|
use new utils to construct record
|
2022-05-06 17:11:01 +08:00 |
|
fanghr
|
2210722c2a
|
apply hlint suggestions
|
2022-05-06 17:11:00 +08:00 |
|
fanghr
|
45d91b5aeb
|
fix compilation errors introduced by new util functions
... and export a bunch of bridge functions from the governor
|
2022-05-06 17:10:53 +08:00 |
|
fanghr
|
fb6f2085c6
|
move governor scripts from Agora.Governor to Agora.Governor.Scripts
|
2022-05-06 17:09:39 +08:00 |
|
fanghr
|
0e6369030e
|
remove hasOnlyOneTokenOfAssetClass'
|
2022-05-06 17:09:38 +08:00 |
|
fanghr
|
1e2b20dfef
|
reimplement mustFindDatum' with PTryFrom
|
2022-05-06 17:09:37 +08:00 |
|
fanghr
|
d0b70d5b43
|
add PTryFrom instances for PGovernorDatum and PGovernorDatum
|
2022-05-06 17:09:37 +08:00 |
|
fanghr
|
9c79585c7c
|
get rid of pownCurrencySymbol
|
2022-05-06 17:09:36 +08:00 |
|
fanghr
|
c3a10f8bbd
|
move pgetNextProposalId from Proposal module to Governor module
|
2022-05-06 17:09:36 +08:00 |
|
fanghr
|
c1976b86fc
|
fix typos/grammar/docstrings, suggested by @jhodgdev
Co-authored-by: Jack Hodgkinson <30505104+jhodgdev@users.noreply.github.com>
|
2022-05-06 17:09:35 +08:00 |
|
fanghr
|
c7bfe116d5
|
remove executable state of the proposal
revert 45a09e8 and 8ffc430
|
2022-05-06 17:09:35 +08:00 |
|
Emily Martins
|
067d69d8f6
|
remove redundant checks in hasOnlyOneTokenOfAssetClass'
|
2022-05-06 17:09:34 +08:00 |
|