Seungheon Oh
|
eda12644e5
|
emacs backups are sneaking into commits
|
2022-05-26 09:50:46 -05:00 |
|
Seungheon Oh
|
424ad15894
|
agora-spec made independent from agora-test
|
2022-05-26 09:50:46 -05:00 |
|
Seungheon Oh
|
16115d54e6
|
forgot one file
|
2022-05-26 09:50:45 -05:00 |
|
Seungheon Oh
|
ff91432a68
|
Specs use generalized format so that it can be used for benchmarking
|
2022-05-26 09:50:43 -05:00 |
|
Emily
|
c51b8fa9de
|
Merge pull request #98 from Liqwid-Labs/emiflake/relink-docs-to-notion
relink all tech-design docs to Notion
|
2022-05-26 11:57:32 +02:00 |
|
Emily Martins
|
8435552ab1
|
relink all tech-design docs to Notion
|
2022-05-26 11:57:09 +02:00 |
|
方泓睿
|
49871ae350
|
Merge pull request #97 from Liqwid-Labs/connor/bridge-update
Update purescript bridge
|
2022-05-26 16:02:23 +08:00 |
|
方泓睿
|
2819faf7f6
|
Merge branch 'main' into connor/bridge-update
|
2022-05-26 15:58:40 +08:00 |
|
Emily
|
547f5c6317
|
Merge pull request #93 from Liqwid-Labs/connor/proposal-timing-conf
Proposal Timings
|
2022-05-26 09:48:19 +02:00 |
|
fanghr
|
c319169bea
|
update purescript bridge
|
2022-05-25 21:43:07 +08:00 |
|
fanghr
|
ff4eb9cf27
|
make 'PProposalTime' scott-encoded
|
2022-05-25 21:36:56 +08:00 |
|
fanghr
|
a85b066a05
|
apply Emily's suggestions
* add `PMaxTimeRangeWidth`
* several `Default` instances for testing
* a bunch of docstrings
* fix the tests/samples
|
2022-05-25 21:07:09 +08:00 |
|
fanghr
|
55435d601f
|
fix broken tests/samples
|
2022-05-25 20:08:45 +08:00 |
|
fanghr
|
355f838417
|
calculate the starting time of a proposal upon creation
|
2022-05-25 20:08:45 +08:00 |
|
fanghr
|
d9732fe814
|
add createProposalStartingTime to compute the starting time of proposals
|
2022-05-25 20:08:44 +08:00 |
|
fanghr
|
fbe3edc45a
|
store proposal timing conf in the governor datum
|
2022-05-25 20:08:39 +08:00 |
|
方泓睿
|
50bf78aae8
|
Merge pull request #92 from Liqwid-Labs/connor/#87
|
2022-05-25 18:45:22 +08:00 |
|
方泓睿
|
0885f2bdfa
|
Merge branch 'main' into connor/#87
|
2022-05-25 18:42:50 +08:00 |
|
fanghr
|
297ccc91d9
|
use nested pmatches instead of laziness
|
2022-05-24 21:48:32 +08:00 |
|
方泓睿
|
9dff9bbf57
|
Merge pull request #62 from Liqwid-Labs/connor/mutate-governor
Mutate Governor Settings Effect Implementation
|
2022-05-24 12:41:25 +08:00 |
|
方泓睿
|
4bffc1005d
|
Merge branch 'main' into connor/mutate-governor
|
2022-05-24 12:38:46 +08:00 |
|
fanghr
|
fce27a2e3c
|
fix a typo
|
2022-05-24 01:27:04 +08:00 |
|
fanghr
|
ab12406f3d
|
remove anyOutput
|
2022-05-23 23:18:18 +08:00 |
|
Emily
|
95a23ef787
|
Merge pull request #91 from Liqwid-Labs/emiflake/script-export
Export Scripts into JSON file for CTL consumption.
|
2022-05-23 15:25:33 +02:00 |
|
fanghr
|
75c236db01
|
remove allOutputs
|
2022-05-23 18:20:49 +08:00 |
|
fanghr
|
02bf6f49cc
|
remove anyInput
|
2022-05-23 18:11:32 +08:00 |
|
Emily Martins
|
effbcd1d6b
|
add remaining scripts, export to json file, fix compile
|
2022-05-20 18:24:53 +02:00 |
|
Emily Martins
|
1ba5722409
|
init agora-scripts for generating ScriptInfo for CTL
|
2022-05-20 18:24:53 +02:00 |
|
Emily
|
151e855732
|
Merge pull request #84 from Liqwid-Labs/connor/proposal-voting
Voting on Proposals
|
2022-05-20 15:58:11 +02:00 |
|
fanghr
|
ccf56f58d1
|
add min ada to both stake input and output
|
2022-05-20 21:51:03 +08:00 |
|
fanghr
|
db92986c6d
|
pull own output filtering out of the pmatch block
|
2022-05-20 21:51:03 +08:00 |
|
fanghr
|
9549fae0df
|
fix misleading assert messages && add some comments
|
2022-05-20 21:51:02 +08:00 |
|
fanghr
|
cdffbeffc9
|
add a property test for pupdate and updateMap
|
2022-05-20 21:50:58 +08:00 |
|
fanghr
|
272be9f1f5
|
better naming
|
2022-05-20 19:10:34 +08:00 |
|
fanghr
|
dba8b3c68b
|
add isPubKey && utilize it in the TreasuryWithdrawal effect
|
2022-05-20 18:22:33 +08:00 |
|
fanghr
|
bce9b45c25
|
add missing doc strings
|
2022-05-20 03:35:32 +08:00 |
|
fanghr
|
3f5707eb86
|
some doc for the proposal voting sample
|
2022-05-20 03:35:32 +08:00 |
|
fanghr
|
dfe4bba15f
|
ensure the new proposal lock is placed on the stake
|
2022-05-20 03:35:31 +08:00 |
|
fanghr
|
82201a6e1f
|
add sample test && fix broken tests
|
2022-05-20 03:35:31 +08:00 |
|
fanghr
|
b4ca574757
|
ensure that the voting op is within a valid period
|
2022-05-20 03:35:30 +08:00 |
|
fanghr
|
e8b87654f3
|
store starting time of the proposal in its datum
... hardcoded to 0 upon creation for now
|
2022-05-20 03:35:30 +08:00 |
|
fanghr
|
92c64f8d7a
|
store timing config in the proposal datum
.... and mock the value upon creation for now
|
2022-05-20 03:35:29 +08:00 |
|
fanghr
|
cf51d47a0d
|
validation logic for voting
|
2022-05-20 03:35:28 +08:00 |
|
fanghr
|
11743e0aac
|
PEq instances for a bunch of on-chain structures
|
2022-05-20 03:35:28 +08:00 |
|
fanghr
|
80496430ab
|
add uitls to update a PMap on-chain
|
2022-05-20 03:35:23 +08:00 |
|
fanghr
|
ab3dfba6e0
|
add missing docs && consistent naming
|
2022-05-19 21:31:25 +08:00 |
|
fanghr
|
b34d6b294d
|
refactor tests of the effect
* test both the effect and governor in the spec
* test that the effect and governor will fail when try setting the
governor state to a invalid one
|
2022-05-19 21:31:22 +08:00 |
|
Emily
|
094cf16aa8
|
Merge pull request #86 from Liqwid-Labs/emiflake/simple-bench
Add size benchmarking for scripts to `agora-bench`
|
2022-05-19 13:56:29 +02:00 |
|
Emily Martins
|
b4b85e623f
|
add size benchmarking for scripts to agora-bench
|
2022-05-18 16:50:08 +02:00 |
|
Emily
|
b050c746ac
|
Merge pull request #79 from Liqwid-Labs/emiflake/safety-pool-doc
add safety pool draft document
|
2022-05-17 15:47:41 +02:00 |
|