Skip to content

Commit 82b0b4b

Browse files
committed
notes: update
1 parent 6a00105 commit 82b0b4b

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

notes.txt

+13-2
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,26 @@ To Support:
7474
I'd still rather do this custom.
7575
** It's a simple union though.
7676

77+
== Custom serializer ==
78+
- UpdateCommitteAction
79+
UpdateCommitteeAction.committee: Committee inlines the quorom_threshold field
80+
81+
- Voter
82+
constitutional_committee_hot_key, drep has type Credential
83+
they are serialized as
84+
- 0, 1 for constitutional_committee_hot_key
85+
- 2,3 for drep
86+
depending on whether the credential is a keyhash of scripthash
87+
respectively.
88+
I've modelled it as a record, but it's serializer needs to encode it as a tagged_record
89+
7790
== Fully Custom Types ==
7891

7992
- [CUSTOM] VotingProcedures:
8093
{ voter => { gov_action_id => voting_procedure } }
8194
Map.insert(voter, gov_action_id, voting_procedure)
8295
Map.get(voter, gov_action_id): voting_procedure
8396

84-
- UpdateCommitteAction::Committee inlines the quorum_threshold field
85-
8697
- [CUSTOM] TransactionOutput
8798
this.plutus_data: DataOption (DataHash/PlutusData)
8899
data_hash()/set_data_hash() => set this.plutus_data as data hash

0 commit comments

Comments
 (0)