Hongrui Fang
e5dc29f98b
make use of LPE's time module
2022-09-13 20:24:30 +08:00
Hongrui Fang
57082eb106
witnessing stakes in reference inputs
2022-09-13 20:24:27 +08:00
Emily Martins
f335bf98df
auth check tokens instead of effect validator
2022-08-23 12:34:24 +02:00
Emily Martins
255c38db67
explicit imports for core agora modules
2022-08-18 16:52:53 +02:00
Hongrui Fang
cb45b5255b
use utils from LPE
2022-08-18 00:20:25 +08: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
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
Hongrui Fang
95fd75399f
add pdjust and pdnothing
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
f6cf4f01db
add withBuiltinPairAsData
2022-07-19 22:48:03 +08:00
Hongrui Fang
b6fb23975c
improve performance of the governor validator
2022-07-19 22:48:02 +08:00
Hongrui Fang
ae0e78976a
check cosign stakes while advancing from draft
2022-07-05 07:53:29 +08:00
Hongrui Fang
cdda68332a
replace all tcont $ pletFields with pletFieldsC
...
and all `tcont $ ptryFrom` with `ptryFromC`
2022-06-23 18:40:41 +08:00
Emily Martins
77401ad0a7
add @since tags to everything
2022-06-22 21:57:26 +02:00
Hongrui Fang
c49e623504
forgot to remove some upstreamed utils for some reason :)
2022-06-20 18:55:44 +08:00
Hongrui Fang
b60cae3516
remove upstreamed utils; fix compilation errors
2022-06-17 21:16:29 +08:00
Emily Martins
ad9da8e6b3
flake: bump plutarch, fix resulting issues
...
Collection of things fixed:
- `agora-test`: Fix compile resulting from some changes to hackage.
- `agora-benchmark`: Switched to `plutarch`-style `evalScript`.
- CI: Ported over new flake changes.
This is quite a mess.
2022-06-03 23:23:00 +02:00
Emily Martins
8e71ecbdfd
add and fix haddock doc comments
2022-06-02 16:28:14 +02:00
Seungheon Oh
d7a235f010
CI using deploy keys of plutarch-*
...
Simplified workflow using `strategy.matrix`
2022-05-27 13:54:33 -05:00
Seungheon Oh
55defea912
Use Liqwid-Labs/plutarch
...
- Removed `Utils.Value` -- not being used/better is provided with
liqwid-plutarch-extra
- uses `Liqwid-Labs/plutarch`
- uses `Liqwid-Labs/plutarch-numeric`
- uses `Liqwid-Labs/plutarch-safemoney`
- uses `Liqwid-Labs/liqwid-plutarch-extra`
2022-05-27 13:43:55 -05:00
fanghr
355f838417
calculate the starting time of a proposal upon creation
2022-05-25 20:08:45 +08:00
方泓睿
0885f2bdfa
Merge branch 'main' into connor/#87
2022-05-25 18:42:50 +08:00
方泓睿
4bffc1005d
Merge branch 'main' into connor/mutate-governor
2022-05-24 12:38:46 +08:00
fanghr
ab12406f3d
remove anyOutput
2022-05-23 23:18:18 +08: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
fanghr
dba8b3c68b
add isPubKey && utilize it in the TreasuryWithdrawal effect
2022-05-20 18:22:33 +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
1e55827d8b
switch to TermCont; fix a bunch of compilation errors; format
2022-05-17 20:54:21 +08:00
fanghr
2e21e4c94a
only allow script inputs from the effect and governor
2022-05-17 20:54:20 +08:00
fanghr
ccf8229eed
small doc fix to pisJust
2022-05-17 20:54:15 +08:00
fanghr
768652deb2
docs for utils; refactor tests; rewrite pnubSortBy
2022-05-16 18:11:14 +08:00
fanghr
06d4fcd428
add tests for pmsort, pmerge and phalve
2022-05-14 19:57:01 +08:00
fanghr
bb45319fd6
merge master; use TermCont every where
...
fixes #73 partially
2022-05-12 21:21:48 +08:00
Emily Martins
1bd6030855
remove all instances of P.do in favour of TermCont.
2022-05-12 13:54:31 +02:00
fanghr
057da75101
add someee comments; consistent naming
2022-05-10 19:55:41 +08:00
fanghr
2a993ae777
run linter
2022-05-06 17:12:47 +08:00
fanghr
15d4dd03d9
implement merge sort to imporve perf of some utils
2022-05-06 17:11:11 +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
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
9c79585c7c
get rid of pownCurrencySymbol
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