File tree 1 file changed +13
-2
lines changed
1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -74,15 +74,26 @@ To Support:
74
74
I'd still rather do this custom.
75
75
** It's a simple union though.
76
76
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
+
77
90
== Fully Custom Types ==
78
91
79
92
- [CUSTOM] VotingProcedures:
80
93
{ voter => { gov_action_id => voting_procedure } }
81
94
Map.insert(voter, gov_action_id, voting_procedure)
82
95
Map.get(voter, gov_action_id): voting_procedure
83
96
84
- - UpdateCommitteAction::Committee inlines the quorum_threshold field
85
-
86
97
- [CUSTOM] TransactionOutput
87
98
this.plutus_data: DataOption (DataHash/PlutusData)
88
99
data_hash()/set_data_hash() => set this.plutus_data as data hash
You can’t perform that action at this time.
0 commit comments