Commit graph

237 commits

Author SHA1 Message Date
Seungheon Oh
22d66e8a9d More utility functions
functions that I missed from Conner's governor branch...
2022-04-14 17:19:18 -05:00
Seungheon Oh
c6aa6ac5d5 New utility functions
added `pisScriptAddress`, `pfindEffectInput`, and
`pfindEffectAddress`. These functions are commonly used by effects.
2022-04-14 11:38:06 -04:00
Emily
2070764cc6
Merge pull request #57 from Liqwid-Labs/emiflake/fix-ci
Fix CI format checks
2022-04-14 16:36:36 +02:00
Emily Martins
ab0a20c9d3 don't use plutarch.tools 2022-04-14 15:24:09 +02:00
Emily Martins
33c7b8a342 use 'formatCheck' in CI instead of the two manual format checks 2022-04-14 14:20:37 +02:00
Emily
f123fc7a9a
Merge pull request #55 from Liqwid-Labs/seungheonoh/utiloptimization
`pmapUnionWith` optimization
2022-04-14 10:30:17 +02:00
Seungheon Oh
480f25b2f2 pmapUnionWith optimization
There is no reason to have `ps` unless the current key is a duplicate
entry.
2022-04-13 14:25:10 -04:00
Emily
5d1aee3ccf
Merge pull request #54 from Liqwid-Labs/connor/use-the-correct-nixfmt
Use the right nixfmt
2022-04-12 13:56:17 +02:00
fanghr
836b53803d fix #53
Thanks @emiflake !
2022-04-12 18:33:12 +08:00
Emily
ce8f6365bc
Merge pull request #52 from Liqwid-Labs/emiflake/docs
Various documentation additions
2022-04-12 10:43:14 +02:00
Emily Martins
d30feaf198 apply suggestions 2022-04-11 19:48:12 +02:00
Emily Martins
f29cfe0716 some more guidelines and off-chain notes 2022-04-11 13:17:23 +02:00
Emily Martins
7ba0ca64da rename ProposalTag to ProposalId, add docs for result tags 2022-04-11 11:04:38 +02:00
Jack Hodgkinson
60a3d07671
Merge pull request #51 from Liqwid-Labs/emiflake/agora-how-to
add Using Agora document
2022-04-08 13:20:44 +01:00
Jack Hodgkinson
e1d4198044 couple of fixes to changes 2022-04-08 13:20:30 +01:00
Emily Martins
a0357d2a26 apply / fix comments 2022-04-08 13:28:15 +02:00
Jack Hodgkinson
9a8a87b4fb initial review 2022-04-08 09:07:56 +01:00
Emily Martins
ba48fe33fd add Using Agora document 2022-04-06 16:02:04 +02:00
Emily
b3c1d0cd17
Merge pull request #50 from Liqwid-Labs/jhodgdev/contributing-md
Add `CONTRIBUTING.md`
2022-04-06 11:42:28 +02:00
Jack Hodgkinson
7d25ac48f2 Pointed contributing towards plutarch and mlabs style guide 2022-04-06 10:39:59 +01:00
Jack Hodgkinson
72f7a7aa71 First stab 2022-04-05 14:02:25 +01:00
Emily
1174fc7e13
Merge pull request #48 from Liqwid-Labs/emiflake/stake-locking
Various changes & stake lock datum
2022-04-05 12:46:16 +02:00
Emily Martins
ae7191e0ac apply Jack's PR suggestions 2022-04-05 12:20:56 +02:00
Jack Hodgkinson
b86bcc91de inited contributing md 2022-04-05 11:16:22 +01:00
Emily Martins
809480b351 PTryFrom comment, README badge 2022-04-04 16:03:25 +02:00
Emily Martins
51b1e726fc fix typo, add stubs on Governor 2022-04-04 13:37:06 +02:00
Emily Martins
4ef7c7866c add locks in datums, add documentation, ClosedTerm on scripts
Also added more lifting instances
2022-04-04 13:11:01 +02:00
Emily Martins
86287a257d Merge branch 'master' into emiflake/stake-locking 2022-04-01 13:08:01 +02:00
Emily
6379e6b722
Merge pull request #47 from Liqwid-Labs/jhodgdev/fix-apropos-dep
Jhodgdev/fix apropos dep
2022-04-01 12:12:55 +02:00
Jack Hodgkinson
e2cfc60c08 Fixed problems 2022-04-01 10:59:52 +01:00
Jack Hodgkinson
1f68089bdc Merge branch 'master' of github.com:Liqwid-Labs/agora into jhodgdev/fix-apropos-dep 2022-04-01 10:51:51 +01:00
Jack Hodgkinson
715b5d8575 updated deps 2022-04-01 10:50:10 +01:00
Emily Martins
b0eb044bf2 lock field in Stake datum, singleAuthorityTokenBurned helper 2022-03-31 16:48:59 +02:00
Emily Martins
097e055f19 use plutarch-safemoney instead of local Agora.SafeMoney 2022-03-30 15:32:50 +02:00
Emily
dd30fc51b1
Merge pull request #42 from Liqwid-Labs/emiflake/stub-everything
Stub out most components
2022-03-29 10:19:09 +02:00
Emily Martins
522051657c apply docs suggestions 2022-03-28 18:01:27 +02:00
Emily Martins
a02005c86a Merge branch 'master' into emiflake/stub-everything 2022-03-28 15:48:02 +02:00
Emily
034766c582
Merge pull request #43 from Liqwid-Labs/jhodgdev/apropos-bump
Bumped apropos
2022-03-28 15:42:03 +02:00
Jack Hodgkinson
24e4f74399 Added disclaimer wrt apropos branch 2022-03-28 14:37:04 +01:00
Jack Hodgkinson
2e312599e5 Bumped apropos 2022-03-28 14:20:34 +01:00
Emily Martins
107db1303d fix docs, hlint errors 2022-03-28 14:59:53 +02:00
Emily Martins
cf7f8a6792 fix hie.yaml path for agora main library 2022-03-28 13:55:47 +02:00
Emily Martins
8d50857dfd add IsData instances to ProposalTypes 2022-03-28 13:51:30 +02:00
Emily Martins
43f3b5c62a add Plutarch versions of Proposal types for sanity check. 2022-03-28 13:34:09 +02:00
Emily Martins
64d006d025 add 'makeEffect' template stub 2022-03-28 13:13:07 +02:00
Emily Martins
8534405920 flesh out Governor datum a bit more 2022-03-28 12:20:47 +02:00
Emily Martins
ae5c18aa00 add vote tally to Proposal datum 2022-03-26 16:07:21 +01:00
Emily Martins
15d25f314b migrate Haskell-level datums to use Discrete 2022-03-26 15:08:11 +01:00
Emily Martins
48541836c7 add ToData/FromData instances to Discrete 2022-03-26 14:19:37 +01:00
Emily Martins
8a98ec9ec3 rework SafeMoney to use tags instead of MoneyClass 2022-03-26 11:52:52 +01:00