Hongrui Fang
20497fcfe3
tests for creating stakes
2022-10-26 22:14:58 +08:00
Hongrui Fang
cac856f4eb
use lpe's AssetClass; fix errors
2022-10-25 18:46:42 +08:00
Seungheon Oh
735fa145e6
PStakeRedeemerHandler doesn't have to be closed
2022-10-18 21:28:11 -05:00
Seungheon Oh
16c0c15c58
preparing for agora-pro
2022-10-18 20:50:05 -05:00
Seungheon Oh
275d3a5b69
Use liqwid-script-export
...
commit ec70bfd539fe2e27fd48f5f76395400287ac72d7
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date: Tue Oct 18 18:58:59 2022 -0500
use LSE
commit 25fff9b3ad1f2dde4cd7cf36977530b06a87d23c
Merge: 01cd3aa a5567ea
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date: Tue Oct 18 18:17:45 2022 -0500
Merge branch 'staging' into seungheonoh/ply
commit 01cd3aa7a235e6fe6658246ca1026fa26dc71a83
Author: Hongrui Fang <chfanghr@gmail.com>
Date: Tue Oct 11 12:02:03 2022 +0800
update benchmark
commit a8513244892ce33cfdc9edf8cd501c4985ae8008
Author: Hongrui Fang <chfanghr@gmail.com>
Date: Tue Oct 11 11:59:22 2022 +0800
fix tests
commit 20ca40823485c2e2f78253643cf4453ac7b7ddd5
Author: Hongrui Fang <chfanghr@gmail.com>
Date: Tue Oct 11 11:57:37 2022 +0800
better import
commit a19fe49424210891bd03db71e4083fc1e0edfd98
Author: Hongrui Fang <chfanghr@gmail.com>
Date: Tue Oct 11 11:08:20 2022 +0800
update flake inputs
commit c93b21f1f9441e5c6f54525bf7c6a54757ec36cc
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date: Mon Oct 10 12:54:12 2022 -0500
tried to make tests pass
commit 1046ae1237299a33c58b48661bdb6d325a22147e
Merge: 2bf4e36 e2bd48b
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date: Mon Oct 10 12:18:48 2022 -0500
Merge branch 'staging' into seungheonoh/ply
commit 2bf4e3627c1b229f58078695082da85c80efd560
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date: Mon Oct 10 10:48:36 2022 -0500
remove junkpile
commit a1dbc9ad9e531fe0d0a0480c4aef9cf9ffa90f1d
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date: Mon Oct 10 10:47:25 2022 -0500
versions
commit 4542a06ac733858297d3a48c53368fad19dedc43
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date: Thu Oct 6 22:57:48 2022 -0500
script exporting interface
commit 6bd8c1a1d57e4bf9dc25c3068a9c8eae6bf6a19d
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date: Thu Oct 6 22:58:41 2022 -0500
fixed tests
commit d3ce2cf95633d336f3e621833677bd5bf10ee2c8
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date: Sun Oct 2 00:55:18 2022 -0500
fixed tests
commit 1ae64c9f692652b77b0506013853b2ba44267c65
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date: Sat Oct 1 13:28:20 2022 -0500
linker
commit db88cb75c7b74843141ad8ab4e6522b66d0dcfbc
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date: Sat Oct 1 01:03:50 2022 -0500
exporting scripts
commit 6389fce28e885a8a7f8669629c266f59c0edb51f
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date: Sat Oct 1 00:51:49 2022 -0500
made scripts parameterized on the script level
commit aea1e518a8890550bdebd0e5251da11d915c53a9
Author: Seungheon Oh <seungheon.ooh@gmail.com>
Date: Wed Sep 28 19:53:29 2022 -0500
Use `TypedScriptEnvelope` for `Agora.Bootstrap`
2022-10-18 19:02:10 -05:00
Hongrui Fang
57ed91afb8
allow multiple stakes to be burnt
2022-10-18 16:49:26 +08:00
Hongrui Fang
7c6359f7c6
prevent privilege escalation
2022-10-17 12:35:39 +02:00
Hongrui Fang
eee2ce52b5
filter stake UTxO by ScriptCredential
2022-10-17 12:35:39 +02:00
Hongrui Fang
3fda333ec5
prevent sst from leaving stake validator
2022-10-17 12:35:39 +02:00
Hongrui Fang
1b3ec260a3
avoid #>>>
2022-10-05 00:13:10 +08:00
Hongrui Fang
224a49abb3
fix documentation
2022-10-03 19:14:07 +08:00
Hongrui Fang
ffdaaf9659
allow voting/retracting votes with multiple stakes
2022-10-03 17:20:36 +08:00
Hongrui Fang
9b858079dd
check stake locks in stake validator
2022-09-30 08:17:32 +08:00
Hongrui Fang
1bc60a48e5
allow spending more than one stakes in one tx
2022-09-30 08:17:31 +08:00
adamczykm
3142ace0ff
Bump LPE and update use sites.
2022-09-26 13:18:59 +02:00
Emily Martins
9e3521dcb4
add NoFieldSelectors flag globally
2022-09-17 15:18:01 +02:00
Hongrui Fang
597130ed18
standalone stake redeemers
2022-09-13 22:21:18 +08:00
Hongrui Fang
00d5a102b2
document newly added validation context types
2022-09-13 20:24:31 +08:00
Hongrui Fang
b2aefbe502
witnessing stakes in reference inputs
2022-09-13 20:24:27 +08:00
Hongrui Fang
759c6a0aa5
restructure stake validator
2022-09-06 21:22:59 +08:00
Emily Martins
2f1e04b4f7
explicit imports for core agora modules
2022-08-18 16:52:53 +02:00
Hongrui Fang
03a1e550d0
use utils from LPE
2022-08-18 00:20:25 +08:00
Emily Martins
f730998326
use Credential instead of PubKeyHash everywhere
2022-08-17 11:00:24 +02:00
Hongrui Fang
fec449ceb5
use v2 types
2022-08-15 21:41:31 +08:00
Hongrui Fang
215e952288
remove pvalidatorHashToTokenName
2022-08-12 05:01:35 +08:00
Hongrui Fang
3d9c447783
parameterize scripts over AgoraScripts
2022-08-12 05:01:34 +08:00
Hongrui Fang
33e4ed037e
fix compilation errors
2022-08-12 04:56:19 +08:00
SeungheonOh
e2d873f1c5
use utilities from LPE
2022-08-03 23:46:15 +08:00
Hongrui Fang
ed7e808da7
add pdjust and pdnothing
2022-07-26 22:37:35 +08:00
Hongrui Fang
740a625938
allows delegate to retract votes
2022-07-26 22:37:35 +08:00
Hongrui Fang
11757be255
simple tests for setting delegate
2022-07-26 22:37:35 +08:00
Hongrui Fang
8fba8e1598
allow delegating stake for voting
2022-07-26 22:37:35 +08:00
Hongrui Fang
5dee613dd4
implement new stake locking mechanism
2022-07-11 19:45:51 +08:00
Hongrui Fang
8242330ac9
apply Emily's suggestions
2022-07-06 21:55:39 +08:00
Hongrui Fang
701340688a
add tests for advancement from draft phrase; refactoring
2022-07-05 16:59:15 +08:00
Hongrui Fang
894bba2874
WitnessStake: accept multiple stakes at input
2022-07-05 07:53:56 +08:00
Hongrui Fang
2ab6c180b7
replace all tcont $ pletFields with pletFieldsC
...
and all `tcont $ ptryFrom` with `ptryFromC`
2022-06-23 18:40:41 +08:00
Emily Martins
c9ec0d05c4
add @since tags to everything
2022-06-22 21:57:26 +02:00
fanghr
9b88d5c099
add validation logic for unlocking stakes
2022-06-20 18:38:27 +08:00
Hongrui Fang
12ab066e23
remove upstreamed utils; fix compilation errors
2022-06-17 21:16:29 +08:00
Emily Martins
5049441dfc
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
Seungheon Oh
312976a4ca
Moved Agora.Record to Plutarch.Extra.Record
...
Since `Agora.Record` provides a general utility for easy construction
of Plutarch record types, they can be moved to `liqwid-plutarch-extra`
to be used abroad.
2022-05-30 09:02:07 -05:00
Seungheon Oh
16b1f6ad4b
CI using deploy keys of plutarch-*
...
Simplified workflow using `strategy.matrix`
2022-05-27 13:54:33 -05:00
Seungheon Oh
7a0f9e9a66
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
cafe91f7a1
use nested pmatches instead of laziness
2022-05-24 21:48:32 +08:00
fanghr
6145d9ef68
remove anyOutput
2022-05-23 23:18:18 +08:00
fanghr
f18b0992e7
remove anyInput
2022-05-23 18:11:32 +08:00
fanghr
ee6ae128de
fix misleading assert messages && add some comments
2022-05-20 21:51:02 +08:00
fanghr
97b3d6f023
ensure the new proposal lock is placed on the stake
2022-05-20 03:35:31 +08:00
Emily Martins
a404a81cad
remove all instances of P.do in favour of TermCont.
2022-05-12 13:54:31 +02:00