Commit graph

263 commits

Author SHA1 Message Date
Seungheon Oh
bf67f38782
Treasury Withdrawal Effect checks if remainder is to the treasury
It checks if transaction is paying the remainders to the treasury.
2022-04-21 16:16:49 -05:00
Seungheon Oh
1e4d6e554d
Treasury Withdrawal Effect simple Haddock comment 2022-04-21 16:16:49 -05:00
Seungheon Oh
4d2c3af2ba
Minor fixes
Using Utils.hs, fixing fusioning issue, fixing CI build
2022-04-21 16:16:49 -05:00
Seungheon Oh
a3a76a2461
small fixes for Treasury Withdrawal Effect 2022-04-21 16:16:49 -05:00
Seungheon Oh
81dccdb858
Simple fixes for Treasury Withdrawal Effect
Some simple fixes: naming convention, proper comment for haddoc
2022-04-21 16:16:49 -05:00
Seungheon Oh
1f6d8573a0
Treasury Withdrawal Effect Constraint
It checks for output that pays to effect itself.
2022-04-21 16:16:48 -05:00
Seungheon Oh
2fc54b3fc5
Treasury Withdrawal Effect
ensures exact number of outputs, Haskell-level datum
2022-04-21 16:16:48 -05:00
Seungheon Oh
fecbf66782
formatted Treasury Withdrawal Effect 2022-04-21 16:16:48 -05:00
Seungheon Oh
f9d7db9323
Rebase master to Treasury Withdrawal Effect
Liqwid-Labs/agora#46
2022-04-21 16:16:35 -05:00
Emily
41a88204fa
Merge pull request #65 from Liqwid-Labs/emiflake/drop-allInputs
drop `allInputs`, fix `authorityTokensValidIn`
2022-04-21 11:22:46 +02:00
Emily Martins
b8b6269591 improve trace error message 2022-04-21 11:09:07 +02:00
Emily Martins
a6ef476beb add tests for authority token function 'singleAuthorityTokenBurned' 2022-04-20 20:26:32 +02:00
Emily Martins
7c59888b45 drop allInputs, fix authorityTokensValidIn 2022-04-20 18:36:45 +02:00
Emily
35218facd7
Merge pull request #63 from Liqwid-Labs/emiflake/haddock-ci
Publish haddock in CI
2022-04-19 16:46:31 +02:00
Emily Martins
3adc3f72a5 publish haddock in CI
- set correct subdirectory for docs
- add elucidating comment about deployment target
2022-04-19 16:19:14 +02:00
Emily
9e7c6032d8
Merge pull request #60 from Liqwid-Labs/seungheonoh/testDocumentation
Little guidance for `agora-test`
2022-04-19 14:10:28 +02:00
Seungheon Oh
e67ca97256 fixes 2022-04-19 08:04:39 -04:00
Seungheon Oh
93f5ca2752 fix misleading information 2022-04-19 08:03:17 -04:00
SeungheonOh
99fdfcbe31
removed random line break 2022-04-18 22:57:04 +00:00
Seungheon Oh
0e55587373 Little guidance for agora-test
I noticed `agora-test` is quote poorly documented... While it will
receive a restructure when we migrate to `plutarch-test`, these are
small notes in the meantime.
2022-04-18 17:52:30 -05:00
Emily
35e59a46ed
Merge pull request #58 from Liqwid-Labs/seunghoenoh/util
New utility functions
2022-04-15 17:54:59 +02:00
Seungheon Oh
b67a886cd2 fixes 2022-04-15 09:02:16 -05:00
Seungheon Oh
b4a6cb9179 Emily's suggestions & fixed building 2022-04-15 08:52:42 -05:00
Emily Martins
96dbefc4ef format agora.cabal, flake.nix 2022-04-15 13:41:07 +02:00
fanghr
8e8411f1cb break make format into sub-targets
...so that the the nix env won't reload when one just want to format the haskell code

now we have:
* `format_haskell` target
* `format_nix` target
2022-04-15 13:39:35 +02:00
Seungheon Oh
f3f7f131fe Connor's suggestions 2022-04-14 23:23:50 -05:00
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