@fairmint/open-captable-protocol-daml-js 0.2.6 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/ocp-factory-contract-id.json +4 -4
- package/lib/Fairmint/OpenCapTable/ConvertibleIssuance/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/ConvertibleIssuance/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/Document/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/Document/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/EquityCompensationExercise/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/EquityCompensationExercise/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/EquityCompensationIssuance/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/EquityCompensationIssuance/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/Issuer/module.d.ts +97 -1
- package/lib/Fairmint/OpenCapTable/Issuer/module.js +170 -2
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/IssuerAuthorizedSharesAdjustment/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/IssuerAuthorizedSharesAdjustment/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/Stakeholder/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/Stakeholder/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/StockCancellation/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/StockCancellation/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/StockClass/module.d.ts +142 -10
- package/lib/Fairmint/OpenCapTable/StockClass/module.js +173 -12
- package/lib/Fairmint/OpenCapTable/StockClassAuthorizedSharesAdjustment/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/StockClassAuthorizedSharesAdjustment/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/StockIssuance/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/StockIssuance/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/StockLegendTemplate/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/StockLegendTemplate/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/StockPlan/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/StockPlan/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/StockPlanPoolAdjustment/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/StockPlanPoolAdjustment/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/Types/module.d.ts +16 -0
- package/lib/Fairmint/OpenCapTable/Types/module.js +14 -0
- package/lib/Fairmint/OpenCapTable/Valuation/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/Valuation/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/VestingTerms/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/VestingTerms/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/WarrantIssuance/module.d.ts +4 -3
- package/lib/Fairmint/OpenCapTable/WarrantIssuance/module.js +6 -5
- package/package.json +2 -2
|
@@ -30,7 +30,7 @@ export declare interface StockClassInterface {
|
|
|
30
30
|
ArchiveByIssuer: damlTypes.Choice<StockClass, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
|
|
31
31
|
}
|
|
32
32
|
export declare const StockClass:
|
|
33
|
-
damlTypes.Template<StockClass, undefined, '#OpenCapTable-
|
|
33
|
+
damlTypes.Template<StockClass, undefined, '#OpenCapTable-v21:Fairmint.OpenCapTable.StockClass:StockClass'> &
|
|
34
34
|
damlTypes.ToInterface<StockClass, never> &
|
|
35
35
|
StockClassInterface;
|
|
36
36
|
|
|
@@ -86,7 +86,7 @@ export declare const OcfConvertibleType:
|
|
|
86
86
|
export declare type OcfConvertibleIssuanceData = {
|
|
87
87
|
investment_amount: Fairmint_OpenCapTable_Types.OcfMonetary;
|
|
88
88
|
convertible_type: OcfConvertibleType;
|
|
89
|
-
conversion_triggers:
|
|
89
|
+
conversion_triggers: OcfConvertibleConversionTrigger[];
|
|
90
90
|
seniority: damlTypes.Int;
|
|
91
91
|
pro_rata: damlTypes.Optional<damlTypes.Numeric>;
|
|
92
92
|
comments: string[];
|
|
@@ -98,19 +98,151 @@ export declare const OcfConvertibleIssuanceData:
|
|
|
98
98
|
;
|
|
99
99
|
|
|
100
100
|
|
|
101
|
-
export declare type
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
101
|
+
export declare type OcfConvertibleConversionTrigger = {
|
|
102
|
+
type_: OcfConversionTriggerType;
|
|
103
|
+
trigger_id: string;
|
|
104
|
+
nickname: damlTypes.Optional<string>;
|
|
105
|
+
trigger_description: damlTypes.Optional<string>;
|
|
106
|
+
conversion_right: OcfConvertibleConversionRight;
|
|
107
|
+
trigger_date: damlTypes.Optional<damlTypes.Time>;
|
|
108
|
+
trigger_condition: damlTypes.Optional<string>;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
export declare const OcfConvertibleConversionTrigger:
|
|
112
|
+
damlTypes.Serializable<OcfConvertibleConversionTrigger> & {
|
|
113
|
+
}
|
|
108
114
|
;
|
|
109
115
|
|
|
116
|
+
|
|
117
|
+
export declare type OcfConversionTrigger = {
|
|
118
|
+
type_: OcfConversionTriggerType;
|
|
119
|
+
trigger_id: string;
|
|
120
|
+
nickname: damlTypes.Optional<string>;
|
|
121
|
+
trigger_description: damlTypes.Optional<string>;
|
|
122
|
+
conversion_right: OcfAnyConversionRight;
|
|
123
|
+
trigger_date: damlTypes.Optional<damlTypes.Time>;
|
|
124
|
+
trigger_condition: damlTypes.Optional<string>;
|
|
125
|
+
};
|
|
126
|
+
|
|
110
127
|
export declare const OcfConversionTrigger:
|
|
111
128
|
damlTypes.Serializable<OcfConversionTrigger> & {
|
|
112
129
|
}
|
|
113
|
-
|
|
130
|
+
;
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
export declare type OcfAnyConversionRight =
|
|
134
|
+
| { tag: 'OcfRightConvertible'; value: OcfConvertibleConversionRight }
|
|
135
|
+
| { tag: 'OcfRightWarrant'; value: OcfWarrantConversionRight }
|
|
136
|
+
| { tag: 'OcfRightStockClass'; value: OcfStockClassConversionRight }
|
|
137
|
+
;
|
|
138
|
+
|
|
139
|
+
export declare const OcfAnyConversionRight:
|
|
140
|
+
damlTypes.Serializable<OcfAnyConversionRight> & {
|
|
141
|
+
}
|
|
142
|
+
;
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
export declare type OcfWarrantConversionRight = {
|
|
146
|
+
type_: string;
|
|
147
|
+
conversion_mechanism: OcfWarrantConversionMechanism;
|
|
148
|
+
converts_to_future_round: damlTypes.Optional<boolean>;
|
|
149
|
+
converts_to_stock_class_id: damlTypes.Optional<string>;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
export declare const OcfWarrantConversionRight:
|
|
153
|
+
damlTypes.Serializable<OcfWarrantConversionRight> & {
|
|
154
|
+
}
|
|
155
|
+
;
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
export declare type OcfWarrantConversionMechanism =
|
|
159
|
+
| { tag: 'OcfWarrantMechanismCustom'; value: OcfWarrantConversionMechanism.OcfWarrantMechanismCustom }
|
|
160
|
+
| { tag: 'OcfWarrantMechanismPercentCapitalization'; value: OcfWarrantConversionMechanism.OcfWarrantMechanismPercentCapitalization }
|
|
161
|
+
| { tag: 'OcfWarrantMechanismFixedAmount'; value: OcfWarrantConversionMechanism.OcfWarrantMechanismFixedAmount }
|
|
162
|
+
| { tag: 'OcfWarrantMechanismValuationBased'; value: OcfWarrantConversionMechanism.OcfWarrantMechanismValuationBased }
|
|
163
|
+
| { tag: 'OcfWarrantMechanismSharePriceBased'; value: OcfWarrantConversionMechanism.OcfWarrantMechanismSharePriceBased }
|
|
164
|
+
;
|
|
165
|
+
|
|
166
|
+
export declare const OcfWarrantConversionMechanism:
|
|
167
|
+
damlTypes.Serializable<OcfWarrantConversionMechanism> & {
|
|
168
|
+
OcfWarrantMechanismCustom: damlTypes.Serializable<OcfWarrantConversionMechanism.OcfWarrantMechanismCustom>;
|
|
169
|
+
OcfWarrantMechanismPercentCapitalization: damlTypes.Serializable<OcfWarrantConversionMechanism.OcfWarrantMechanismPercentCapitalization>;
|
|
170
|
+
OcfWarrantMechanismFixedAmount: damlTypes.Serializable<OcfWarrantConversionMechanism.OcfWarrantMechanismFixedAmount>;
|
|
171
|
+
OcfWarrantMechanismValuationBased: damlTypes.Serializable<OcfWarrantConversionMechanism.OcfWarrantMechanismValuationBased>;
|
|
172
|
+
OcfWarrantMechanismSharePriceBased: damlTypes.Serializable<OcfWarrantConversionMechanism.OcfWarrantMechanismSharePriceBased>;
|
|
173
|
+
}
|
|
174
|
+
;
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
export namespace OcfWarrantConversionMechanism {
|
|
178
|
+
type OcfWarrantMechanismCustom = {
|
|
179
|
+
custom_conversion_description: string;
|
|
180
|
+
};
|
|
181
|
+
} //namespace OcfWarrantConversionMechanism
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
export namespace OcfWarrantConversionMechanism {
|
|
185
|
+
type OcfWarrantMechanismPercentCapitalization = {
|
|
186
|
+
converts_to_percent: damlTypes.Numeric;
|
|
187
|
+
capitalization_definition: damlTypes.Optional<string>;
|
|
188
|
+
capitalization_definition_rules: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfCapitalizationDefinitionRules>;
|
|
189
|
+
};
|
|
190
|
+
} //namespace OcfWarrantConversionMechanism
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
export namespace OcfWarrantConversionMechanism {
|
|
194
|
+
type OcfWarrantMechanismFixedAmount = {
|
|
195
|
+
converts_to_quantity: damlTypes.Numeric;
|
|
196
|
+
};
|
|
197
|
+
} //namespace OcfWarrantConversionMechanism
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
export namespace OcfWarrantConversionMechanism {
|
|
201
|
+
type OcfWarrantMechanismValuationBased = {
|
|
202
|
+
valuation_type: string;
|
|
203
|
+
valuation_amount: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfMonetary>;
|
|
204
|
+
capitalization_definition: damlTypes.Optional<string>;
|
|
205
|
+
capitalization_definition_rules: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfCapitalizationDefinitionRules>;
|
|
206
|
+
};
|
|
207
|
+
} //namespace OcfWarrantConversionMechanism
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
export namespace OcfWarrantConversionMechanism {
|
|
211
|
+
type OcfWarrantMechanismSharePriceBased = {
|
|
212
|
+
description: string;
|
|
213
|
+
discount: boolean;
|
|
214
|
+
discount_percentage: damlTypes.Optional<damlTypes.Numeric>;
|
|
215
|
+
discount_amount: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfMonetary>;
|
|
216
|
+
};
|
|
217
|
+
} //namespace OcfWarrantConversionMechanism
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
export declare type OcfConvertibleConversionRight = {
|
|
221
|
+
type_: string;
|
|
222
|
+
conversion_mechanism: OcfConversionMechanism;
|
|
223
|
+
converts_to_future_round: damlTypes.Optional<boolean>;
|
|
224
|
+
converts_to_stock_class_id: damlTypes.Optional<string>;
|
|
225
|
+
};
|
|
226
|
+
|
|
227
|
+
export declare const OcfConvertibleConversionRight:
|
|
228
|
+
damlTypes.Serializable<OcfConvertibleConversionRight> & {
|
|
229
|
+
}
|
|
230
|
+
;
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
export declare type OcfConversionTriggerType =
|
|
234
|
+
| 'OcfTriggerTypeAutomaticOnCondition'
|
|
235
|
+
| 'OcfTriggerTypeAutomaticOnDate'
|
|
236
|
+
| 'OcfTriggerTypeElectiveInRange'
|
|
237
|
+
| 'OcfTriggerTypeElectiveOnCondition'
|
|
238
|
+
| 'OcfTriggerTypeElectiveAtWill'
|
|
239
|
+
| 'OcfTriggerTypeUnspecified'
|
|
240
|
+
;
|
|
241
|
+
|
|
242
|
+
export declare const OcfConversionTriggerType:
|
|
243
|
+
damlTypes.Serializable<OcfConversionTriggerType> & {
|
|
244
|
+
}
|
|
245
|
+
& { readonly keys: OcfConversionTriggerType[] } & { readonly [e in OcfConversionTriggerType]: e }
|
|
114
246
|
;
|
|
115
247
|
|
|
116
248
|
|
|
@@ -30,7 +30,7 @@ exports.ArchiveByIssuer = {
|
|
|
30
30
|
|
|
31
31
|
exports.StockClass = damlTypes.assembleTemplate(
|
|
32
32
|
{
|
|
33
|
-
templateId: '#OpenCapTable-
|
|
33
|
+
templateId: '#OpenCapTable-v21:Fairmint.OpenCapTable.StockClass:StockClass',
|
|
34
34
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
35
35
|
keyEncode: function () { throw 'EncodeError'; },
|
|
36
36
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, stock_class_data: exports.OcfStockClassData.decoder, }); }),
|
|
@@ -62,7 +62,7 @@ exports.StockClass = damlTypes.assembleTemplate(
|
|
|
62
62
|
);
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
damlTypes.registerTemplate(exports.StockClass, ['
|
|
65
|
+
damlTypes.registerTemplate(exports.StockClass, ['518ba8058bd64b8446358329d9ee8de7d87c9baae88477f5344ad9e127197a19', '#OpenCapTable-v21']);
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -109,12 +109,12 @@ exports.OcfConvertibleType = {
|
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
exports.OcfConvertibleIssuanceData = {
|
|
112
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({investment_amount: Fairmint_OpenCapTable_Types.OcfMonetary.decoder, convertible_type: exports.OcfConvertibleType.decoder, conversion_triggers: damlTypes.List(exports.
|
|
112
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({investment_amount: Fairmint_OpenCapTable_Types.OcfMonetary.decoder, convertible_type: exports.OcfConvertibleType.decoder, conversion_triggers: damlTypes.List(exports.OcfConvertibleConversionTrigger).decoder, seniority: damlTypes.Int.decoder, pro_rata: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), comments: damlTypes.List(damlTypes.Text).decoder, }); }),
|
|
113
113
|
encode: function (__typed__) {
|
|
114
114
|
return {
|
|
115
115
|
investment_amount: Fairmint_OpenCapTable_Types.OcfMonetary.encode(__typed__.investment_amount),
|
|
116
116
|
convertible_type: exports.OcfConvertibleType.encode(__typed__.convertible_type),
|
|
117
|
-
conversion_triggers: damlTypes.List(exports.
|
|
117
|
+
conversion_triggers: damlTypes.List(exports.OcfConvertibleConversionTrigger).encode(__typed__.conversion_triggers),
|
|
118
118
|
seniority: damlTypes.Int.encode(__typed__.seniority),
|
|
119
119
|
pro_rata: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.pro_rata),
|
|
120
120
|
comments: damlTypes.List(damlTypes.Text).encode(__typed__.comments),
|
|
@@ -125,15 +125,176 @@ exports.OcfConvertibleIssuanceData = {
|
|
|
125
125
|
|
|
126
126
|
|
|
127
127
|
|
|
128
|
+
exports.OcfConvertibleConversionTrigger = {
|
|
129
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({type_: exports.OcfConversionTriggerType.decoder, trigger_id: damlTypes.Text.decoder, nickname: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), trigger_description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), conversion_right: exports.OcfConvertibleConversionRight.decoder, trigger_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), trigger_condition: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
|
|
130
|
+
encode: function (__typed__) {
|
|
131
|
+
return {
|
|
132
|
+
type_: exports.OcfConversionTriggerType.encode(__typed__.type_),
|
|
133
|
+
trigger_id: damlTypes.Text.encode(__typed__.trigger_id),
|
|
134
|
+
nickname: damlTypes.Optional(damlTypes.Text).encode(__typed__.nickname),
|
|
135
|
+
trigger_description: damlTypes.Optional(damlTypes.Text).encode(__typed__.trigger_description),
|
|
136
|
+
conversion_right: exports.OcfConvertibleConversionRight.encode(__typed__.conversion_right),
|
|
137
|
+
trigger_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.trigger_date),
|
|
138
|
+
trigger_condition: damlTypes.Optional(damlTypes.Text).encode(__typed__.trigger_condition),
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
,
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
128
146
|
exports.OcfConversionTrigger = {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
147
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({type_: exports.OcfConversionTriggerType.decoder, trigger_id: damlTypes.Text.decoder, nickname: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), trigger_description: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), conversion_right: exports.OcfAnyConversionRight.decoder, trigger_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), trigger_condition: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
|
|
148
|
+
encode: function (__typed__) {
|
|
149
|
+
return {
|
|
150
|
+
type_: exports.OcfConversionTriggerType.encode(__typed__.type_),
|
|
151
|
+
trigger_id: damlTypes.Text.encode(__typed__.trigger_id),
|
|
152
|
+
nickname: damlTypes.Optional(damlTypes.Text).encode(__typed__.nickname),
|
|
153
|
+
trigger_description: damlTypes.Optional(damlTypes.Text).encode(__typed__.trigger_description),
|
|
154
|
+
conversion_right: exports.OcfAnyConversionRight.encode(__typed__.conversion_right),
|
|
155
|
+
trigger_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.trigger_date),
|
|
156
|
+
trigger_condition: damlTypes.Optional(damlTypes.Text).encode(__typed__.trigger_condition),
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
,
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
exports.OcfAnyConversionRight = {
|
|
165
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('OcfRightConvertible'), value: exports.OcfConvertibleConversionRight.decoder, }), jtv.object({tag: jtv.constant('OcfRightWarrant'), value: exports.OcfWarrantConversionRight.decoder, }), jtv.object({tag: jtv.constant('OcfRightStockClass'), value: exports.OcfStockClassConversionRight.decoder, })); }),
|
|
166
|
+
encode: function (__typed__) {
|
|
167
|
+
switch(__typed__.tag) {
|
|
168
|
+
case 'OcfRightConvertible': return {tag: __typed__.tag, value: exports.OcfConvertibleConversionRight.encode(__typed__.value)};
|
|
169
|
+
case 'OcfRightWarrant': return {tag: __typed__.tag, value: exports.OcfWarrantConversionRight.encode(__typed__.value)};
|
|
170
|
+
case 'OcfRightStockClass': return {tag: __typed__.tag, value: exports.OcfStockClassConversionRight.encode(__typed__.value)};
|
|
171
|
+
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type OcfAnyConversionRight';
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
,
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
exports.OcfWarrantConversionRight = {
|
|
180
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({type_: damlTypes.Text.decoder, conversion_mechanism: exports.OcfWarrantConversionMechanism.decoder, converts_to_future_round: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Bool).decoder), converts_to_stock_class_id: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
|
|
181
|
+
encode: function (__typed__) {
|
|
182
|
+
return {
|
|
183
|
+
type_: damlTypes.Text.encode(__typed__.type_),
|
|
184
|
+
conversion_mechanism: exports.OcfWarrantConversionMechanism.encode(__typed__.conversion_mechanism),
|
|
185
|
+
converts_to_future_round: damlTypes.Optional(damlTypes.Bool).encode(__typed__.converts_to_future_round),
|
|
186
|
+
converts_to_stock_class_id: damlTypes.Optional(damlTypes.Text).encode(__typed__.converts_to_stock_class_id),
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
,
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
exports.OcfWarrantConversionMechanism = {
|
|
195
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('OcfWarrantMechanismCustom'), value: exports.OcfWarrantConversionMechanism.OcfWarrantMechanismCustom.decoder, }), jtv.object({tag: jtv.constant('OcfWarrantMechanismPercentCapitalization'), value: exports.OcfWarrantConversionMechanism.OcfWarrantMechanismPercentCapitalization.decoder, }), jtv.object({tag: jtv.constant('OcfWarrantMechanismFixedAmount'), value: exports.OcfWarrantConversionMechanism.OcfWarrantMechanismFixedAmount.decoder, }), jtv.object({tag: jtv.constant('OcfWarrantMechanismValuationBased'), value: exports.OcfWarrantConversionMechanism.OcfWarrantMechanismValuationBased.decoder, }), jtv.object({tag: jtv.constant('OcfWarrantMechanismSharePriceBased'), value: exports.OcfWarrantConversionMechanism.OcfWarrantMechanismSharePriceBased.decoder, })); }),
|
|
196
|
+
encode: function (__typed__) {
|
|
197
|
+
switch(__typed__.tag) {
|
|
198
|
+
case 'OcfWarrantMechanismCustom': return {tag: __typed__.tag, value: exports.OcfWarrantConversionMechanism.OcfWarrantMechanismCustom.encode(__typed__.value)};
|
|
199
|
+
case 'OcfWarrantMechanismPercentCapitalization': return {tag: __typed__.tag, value: exports.OcfWarrantConversionMechanism.OcfWarrantMechanismPercentCapitalization.encode(__typed__.value)};
|
|
200
|
+
case 'OcfWarrantMechanismFixedAmount': return {tag: __typed__.tag, value: exports.OcfWarrantConversionMechanism.OcfWarrantMechanismFixedAmount.encode(__typed__.value)};
|
|
201
|
+
case 'OcfWarrantMechanismValuationBased': return {tag: __typed__.tag, value: exports.OcfWarrantConversionMechanism.OcfWarrantMechanismValuationBased.encode(__typed__.value)};
|
|
202
|
+
case 'OcfWarrantMechanismSharePriceBased': return {tag: __typed__.tag, value: exports.OcfWarrantConversionMechanism.OcfWarrantMechanismSharePriceBased.encode(__typed__.value)};
|
|
203
|
+
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type OcfWarrantConversionMechanism';
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
,
|
|
207
|
+
OcfWarrantMechanismCustom:({
|
|
208
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({custom_conversion_description: damlTypes.Text.decoder, }); }),
|
|
209
|
+
encode: function (__typed__) {
|
|
210
|
+
return {
|
|
211
|
+
custom_conversion_description: damlTypes.Text.encode(__typed__.custom_conversion_description),
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
,
|
|
215
|
+
}),
|
|
216
|
+
OcfWarrantMechanismPercentCapitalization:({
|
|
217
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({converts_to_percent: damlTypes.Numeric(10).decoder, capitalization_definition: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), capitalization_definition_rules: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfCapitalizationDefinitionRules).decoder), }); }),
|
|
218
|
+
encode: function (__typed__) {
|
|
219
|
+
return {
|
|
220
|
+
converts_to_percent: damlTypes.Numeric(10).encode(__typed__.converts_to_percent),
|
|
221
|
+
capitalization_definition: damlTypes.Optional(damlTypes.Text).encode(__typed__.capitalization_definition),
|
|
222
|
+
capitalization_definition_rules: damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfCapitalizationDefinitionRules).encode(__typed__.capitalization_definition_rules),
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
,
|
|
226
|
+
}),
|
|
227
|
+
OcfWarrantMechanismFixedAmount:({
|
|
228
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({converts_to_quantity: damlTypes.Numeric(10).decoder, }); }),
|
|
229
|
+
encode: function (__typed__) {
|
|
230
|
+
return {
|
|
231
|
+
converts_to_quantity: damlTypes.Numeric(10).encode(__typed__.converts_to_quantity),
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
,
|
|
235
|
+
}),
|
|
236
|
+
OcfWarrantMechanismValuationBased:({
|
|
237
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({valuation_type: damlTypes.Text.decoder, valuation_amount: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfMonetary).decoder), capitalization_definition: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), capitalization_definition_rules: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfCapitalizationDefinitionRules).decoder), }); }),
|
|
238
|
+
encode: function (__typed__) {
|
|
239
|
+
return {
|
|
240
|
+
valuation_type: damlTypes.Text.encode(__typed__.valuation_type),
|
|
241
|
+
valuation_amount: damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfMonetary).encode(__typed__.valuation_amount),
|
|
242
|
+
capitalization_definition: damlTypes.Optional(damlTypes.Text).encode(__typed__.capitalization_definition),
|
|
243
|
+
capitalization_definition_rules: damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfCapitalizationDefinitionRules).encode(__typed__.capitalization_definition_rules),
|
|
244
|
+
};
|
|
245
|
+
}
|
|
246
|
+
,
|
|
247
|
+
}),
|
|
248
|
+
OcfWarrantMechanismSharePriceBased:({
|
|
249
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({description: damlTypes.Text.decoder, discount: damlTypes.Bool.decoder, discount_percentage: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), discount_amount: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfMonetary).decoder), }); }),
|
|
250
|
+
encode: function (__typed__) {
|
|
251
|
+
return {
|
|
252
|
+
description: damlTypes.Text.encode(__typed__.description),
|
|
253
|
+
discount: damlTypes.Bool.encode(__typed__.discount),
|
|
254
|
+
discount_percentage: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.discount_percentage),
|
|
255
|
+
discount_amount: damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfMonetary).encode(__typed__.discount_amount),
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
,
|
|
259
|
+
}),
|
|
260
|
+
};
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
exports.OcfConvertibleConversionRight = {
|
|
275
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({type_: damlTypes.Text.decoder, conversion_mechanism: exports.OcfConversionMechanism.decoder, converts_to_future_round: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Bool).decoder), converts_to_stock_class_id: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), }); }),
|
|
276
|
+
encode: function (__typed__) {
|
|
277
|
+
return {
|
|
278
|
+
type_: damlTypes.Text.encode(__typed__.type_),
|
|
279
|
+
conversion_mechanism: exports.OcfConversionMechanism.encode(__typed__.conversion_mechanism),
|
|
280
|
+
converts_to_future_round: damlTypes.Optional(damlTypes.Bool).encode(__typed__.converts_to_future_round),
|
|
281
|
+
converts_to_stock_class_id: damlTypes.Optional(damlTypes.Text).encode(__typed__.converts_to_stock_class_id),
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
,
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
exports.OcfConversionTriggerType = {
|
|
290
|
+
OcfTriggerTypeAutomaticOnCondition: 'OcfTriggerTypeAutomaticOnCondition',
|
|
291
|
+
OcfTriggerTypeAutomaticOnDate: 'OcfTriggerTypeAutomaticOnDate',
|
|
292
|
+
OcfTriggerTypeElectiveInRange: 'OcfTriggerTypeElectiveInRange',
|
|
293
|
+
OcfTriggerTypeElectiveOnCondition: 'OcfTriggerTypeElectiveOnCondition',
|
|
294
|
+
OcfTriggerTypeElectiveAtWill: 'OcfTriggerTypeElectiveAtWill',
|
|
295
|
+
OcfTriggerTypeUnspecified: 'OcfTriggerTypeUnspecified',
|
|
296
|
+
keys: ['OcfTriggerTypeAutomaticOnCondition','OcfTriggerTypeAutomaticOnDate','OcfTriggerTypeElectiveInRange','OcfTriggerTypeElectiveOnCondition','OcfTriggerTypeElectiveAtWill','OcfTriggerTypeUnspecified',],
|
|
297
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfConversionTriggerType.OcfTriggerTypeAutomaticOnCondition), jtv.constant(exports.OcfConversionTriggerType.OcfTriggerTypeAutomaticOnDate), jtv.constant(exports.OcfConversionTriggerType.OcfTriggerTypeElectiveInRange), jtv.constant(exports.OcfConversionTriggerType.OcfTriggerTypeElectiveOnCondition), jtv.constant(exports.OcfConversionTriggerType.OcfTriggerTypeElectiveAtWill), jtv.constant(exports.OcfConversionTriggerType.OcfTriggerTypeUnspecified)); }),
|
|
137
298
|
encode: function (__typed__) { return __typed__; },
|
|
138
299
|
};
|
|
139
300
|
|
|
@@ -30,7 +30,7 @@ export declare interface StockClassAuthorizedSharesAdjustmentInterface {
|
|
|
30
30
|
ArchiveByIssuer: damlTypes.Choice<StockClassAuthorizedSharesAdjustment, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClassAuthorizedSharesAdjustment, undefined>>;
|
|
31
31
|
}
|
|
32
32
|
export declare const StockClassAuthorizedSharesAdjustment:
|
|
33
|
-
damlTypes.Template<StockClassAuthorizedSharesAdjustment, undefined, '#OpenCapTable-
|
|
33
|
+
damlTypes.Template<StockClassAuthorizedSharesAdjustment, undefined, '#OpenCapTable-v21:Fairmint.OpenCapTable.StockClassAuthorizedSharesAdjustment:StockClassAuthorizedSharesAdjustment'> &
|
|
34
34
|
damlTypes.ToInterface<StockClassAuthorizedSharesAdjustment, never> &
|
|
35
35
|
StockClassAuthorizedSharesAdjustmentInterface;
|
|
36
36
|
|
|
@@ -30,7 +30,7 @@ exports.ArchiveByIssuer = {
|
|
|
30
30
|
|
|
31
31
|
exports.StockClassAuthorizedSharesAdjustment = damlTypes.assembleTemplate(
|
|
32
32
|
{
|
|
33
|
-
templateId: '#OpenCapTable-
|
|
33
|
+
templateId: '#OpenCapTable-v21:Fairmint.OpenCapTable.StockClassAuthorizedSharesAdjustment:StockClassAuthorizedSharesAdjustment',
|
|
34
34
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
35
35
|
keyEncode: function () { throw 'EncodeError'; },
|
|
36
36
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, adjustment_data: exports.OcfStockClassAuthorizedSharesAdjustmentData.decoder, }); }),
|
|
@@ -62,7 +62,7 @@ exports.StockClassAuthorizedSharesAdjustment = damlTypes.assembleTemplate(
|
|
|
62
62
|
);
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
damlTypes.registerTemplate(exports.StockClassAuthorizedSharesAdjustment, ['
|
|
65
|
+
damlTypes.registerTemplate(exports.StockClassAuthorizedSharesAdjustment, ['518ba8058bd64b8446358329d9ee8de7d87c9baae88477f5344ad9e127197a19', '#OpenCapTable-v21']);
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -30,7 +30,7 @@ export declare interface StockIssuanceInterface {
|
|
|
30
30
|
ArchiveByIssuer: damlTypes.Choice<StockIssuance, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockIssuance, undefined>>;
|
|
31
31
|
}
|
|
32
32
|
export declare const StockIssuance:
|
|
33
|
-
damlTypes.Template<StockIssuance, undefined, '#OpenCapTable-
|
|
33
|
+
damlTypes.Template<StockIssuance, undefined, '#OpenCapTable-v21:Fairmint.OpenCapTable.StockIssuance:StockIssuance'> &
|
|
34
34
|
damlTypes.ToInterface<StockIssuance, never> &
|
|
35
35
|
StockIssuanceInterface;
|
|
36
36
|
|
|
@@ -30,7 +30,7 @@ exports.ArchiveByIssuer = {
|
|
|
30
30
|
|
|
31
31
|
exports.StockIssuance = damlTypes.assembleTemplate(
|
|
32
32
|
{
|
|
33
|
-
templateId: '#OpenCapTable-
|
|
33
|
+
templateId: '#OpenCapTable-v21:Fairmint.OpenCapTable.StockIssuance:StockIssuance',
|
|
34
34
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
35
35
|
keyEncode: function () { throw 'EncodeError'; },
|
|
36
36
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, issuance_data: exports.OcfStockIssuanceData.decoder, }); }),
|
|
@@ -62,7 +62,7 @@ exports.StockIssuance = damlTypes.assembleTemplate(
|
|
|
62
62
|
);
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
damlTypes.registerTemplate(exports.StockIssuance, ['
|
|
65
|
+
damlTypes.registerTemplate(exports.StockIssuance, ['518ba8058bd64b8446358329d9ee8de7d87c9baae88477f5344ad9e127197a19', '#OpenCapTable-v21']);
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -30,7 +30,7 @@ export declare interface StockLegendTemplateInterface {
|
|
|
30
30
|
ArchiveByIssuer: damlTypes.Choice<StockLegendTemplate, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockLegendTemplate, undefined>>;
|
|
31
31
|
}
|
|
32
32
|
export declare const StockLegendTemplate:
|
|
33
|
-
damlTypes.Template<StockLegendTemplate, undefined, '#OpenCapTable-
|
|
33
|
+
damlTypes.Template<StockLegendTemplate, undefined, '#OpenCapTable-v21:Fairmint.OpenCapTable.StockLegendTemplate:StockLegendTemplate'> &
|
|
34
34
|
damlTypes.ToInterface<StockLegendTemplate, never> &
|
|
35
35
|
StockLegendTemplateInterface;
|
|
36
36
|
|
|
@@ -30,7 +30,7 @@ exports.ArchiveByIssuer = {
|
|
|
30
30
|
|
|
31
31
|
exports.StockLegendTemplate = damlTypes.assembleTemplate(
|
|
32
32
|
{
|
|
33
|
-
templateId: '#OpenCapTable-
|
|
33
|
+
templateId: '#OpenCapTable-v21:Fairmint.OpenCapTable.StockLegendTemplate:StockLegendTemplate',
|
|
34
34
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
35
35
|
keyEncode: function () { throw 'EncodeError'; },
|
|
36
36
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, template_data: exports.OcfStockLegendTemplateData.decoder, }); }),
|
|
@@ -62,7 +62,7 @@ exports.StockLegendTemplate = damlTypes.assembleTemplate(
|
|
|
62
62
|
);
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
damlTypes.registerTemplate(exports.StockLegendTemplate, ['
|
|
65
|
+
damlTypes.registerTemplate(exports.StockLegendTemplate, ['518ba8058bd64b8446358329d9ee8de7d87c9baae88477f5344ad9e127197a19', '#OpenCapTable-v21']);
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -30,7 +30,7 @@ export declare interface StockPlanInterface {
|
|
|
30
30
|
ArchiveByIssuer: damlTypes.Choice<StockPlan, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockPlan, undefined>>;
|
|
31
31
|
}
|
|
32
32
|
export declare const StockPlan:
|
|
33
|
-
damlTypes.Template<StockPlan, undefined, '#OpenCapTable-
|
|
33
|
+
damlTypes.Template<StockPlan, undefined, '#OpenCapTable-v21:Fairmint.OpenCapTable.StockPlan:StockPlan'> &
|
|
34
34
|
damlTypes.ToInterface<StockPlan, never> &
|
|
35
35
|
StockPlanInterface;
|
|
36
36
|
|
|
@@ -30,7 +30,7 @@ exports.ArchiveByIssuer = {
|
|
|
30
30
|
|
|
31
31
|
exports.StockPlan = damlTypes.assembleTemplate(
|
|
32
32
|
{
|
|
33
|
-
templateId: '#OpenCapTable-
|
|
33
|
+
templateId: '#OpenCapTable-v21:Fairmint.OpenCapTable.StockPlan:StockPlan',
|
|
34
34
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
35
35
|
keyEncode: function () { throw 'EncodeError'; },
|
|
36
36
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, plan_data: exports.OcfStockPlanData.decoder, }); }),
|
|
@@ -62,7 +62,7 @@ exports.StockPlan = damlTypes.assembleTemplate(
|
|
|
62
62
|
);
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
damlTypes.registerTemplate(exports.StockPlan, ['
|
|
65
|
+
damlTypes.registerTemplate(exports.StockPlan, ['518ba8058bd64b8446358329d9ee8de7d87c9baae88477f5344ad9e127197a19', '#OpenCapTable-v21']);
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -30,7 +30,7 @@ export declare interface StockPlanPoolAdjustmentInterface {
|
|
|
30
30
|
ArchiveByIssuer: damlTypes.Choice<StockPlanPoolAdjustment, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockPlanPoolAdjustment, undefined>>;
|
|
31
31
|
}
|
|
32
32
|
export declare const StockPlanPoolAdjustment:
|
|
33
|
-
damlTypes.Template<StockPlanPoolAdjustment, undefined, '#OpenCapTable-
|
|
33
|
+
damlTypes.Template<StockPlanPoolAdjustment, undefined, '#OpenCapTable-v21:Fairmint.OpenCapTable.StockPlanPoolAdjustment:StockPlanPoolAdjustment'> &
|
|
34
34
|
damlTypes.ToInterface<StockPlanPoolAdjustment, never> &
|
|
35
35
|
StockPlanPoolAdjustmentInterface;
|
|
36
36
|
|
|
@@ -30,7 +30,7 @@ exports.ArchiveByIssuer = {
|
|
|
30
30
|
|
|
31
31
|
exports.StockPlanPoolAdjustment = damlTypes.assembleTemplate(
|
|
32
32
|
{
|
|
33
|
-
templateId: '#OpenCapTable-
|
|
33
|
+
templateId: '#OpenCapTable-v21:Fairmint.OpenCapTable.StockPlanPoolAdjustment:StockPlanPoolAdjustment',
|
|
34
34
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
35
35
|
keyEncode: function () { throw 'EncodeError'; },
|
|
36
36
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, adjustment_data: exports.OcfStockPlanPoolAdjustmentData.decoder, }); }),
|
|
@@ -62,7 +62,7 @@ exports.StockPlanPoolAdjustment = damlTypes.assembleTemplate(
|
|
|
62
62
|
);
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
damlTypes.registerTemplate(exports.StockPlanPoolAdjustment, ['
|
|
65
|
+
damlTypes.registerTemplate(exports.StockPlanPoolAdjustment, ['518ba8058bd64b8446358329d9ee8de7d87c9baae88477f5344ad9e127197a19', '#OpenCapTable-v21']);
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -72,6 +72,22 @@ export declare const OcfSecurityExemption:
|
|
|
72
72
|
;
|
|
73
73
|
|
|
74
74
|
|
|
75
|
+
export declare type OcfQuantitySourceType =
|
|
76
|
+
| 'OcfQuantityHumanEstimated'
|
|
77
|
+
| 'OcfQuantityMachineEstimated'
|
|
78
|
+
| 'OcfQuantityUnspecified'
|
|
79
|
+
| 'OcfQuantityInstrumentFixed'
|
|
80
|
+
| 'OcfQuantityInstrumentMax'
|
|
81
|
+
| 'OcfQuantityInstrumentMin'
|
|
82
|
+
;
|
|
83
|
+
|
|
84
|
+
export declare const OcfQuantitySourceType:
|
|
85
|
+
damlTypes.Serializable<OcfQuantitySourceType> & {
|
|
86
|
+
}
|
|
87
|
+
& { readonly keys: OcfQuantitySourceType[] } & { readonly [e in OcfQuantitySourceType]: e }
|
|
88
|
+
;
|
|
89
|
+
|
|
90
|
+
|
|
75
91
|
export declare type OcfStakeholderRelationshipType =
|
|
76
92
|
| 'OcfRelEmployee'
|
|
77
93
|
| 'OcfRelAdvisor'
|
|
@@ -88,6 +88,20 @@ exports.OcfSecurityExemption = {
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
|
|
91
|
+
exports.OcfQuantitySourceType = {
|
|
92
|
+
OcfQuantityHumanEstimated: 'OcfQuantityHumanEstimated',
|
|
93
|
+
OcfQuantityMachineEstimated: 'OcfQuantityMachineEstimated',
|
|
94
|
+
OcfQuantityUnspecified: 'OcfQuantityUnspecified',
|
|
95
|
+
OcfQuantityInstrumentFixed: 'OcfQuantityInstrumentFixed',
|
|
96
|
+
OcfQuantityInstrumentMax: 'OcfQuantityInstrumentMax',
|
|
97
|
+
OcfQuantityInstrumentMin: 'OcfQuantityInstrumentMin',
|
|
98
|
+
keys: ['OcfQuantityHumanEstimated','OcfQuantityMachineEstimated','OcfQuantityUnspecified','OcfQuantityInstrumentFixed','OcfQuantityInstrumentMax','OcfQuantityInstrumentMin',],
|
|
99
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.OcfQuantitySourceType.OcfQuantityHumanEstimated), jtv.constant(exports.OcfQuantitySourceType.OcfQuantityMachineEstimated), jtv.constant(exports.OcfQuantitySourceType.OcfQuantityUnspecified), jtv.constant(exports.OcfQuantitySourceType.OcfQuantityInstrumentFixed), jtv.constant(exports.OcfQuantitySourceType.OcfQuantityInstrumentMax), jtv.constant(exports.OcfQuantitySourceType.OcfQuantityInstrumentMin)); }),
|
|
100
|
+
encode: function (__typed__) { return __typed__; },
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
91
105
|
exports.OcfStakeholderRelationshipType = {
|
|
92
106
|
OcfRelEmployee: 'OcfRelEmployee',
|
|
93
107
|
OcfRelAdvisor: 'OcfRelAdvisor',
|
|
@@ -30,7 +30,7 @@ export declare interface ValuationInterface {
|
|
|
30
30
|
ArchiveByIssuer: damlTypes.Choice<Valuation, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Valuation, undefined>>;
|
|
31
31
|
}
|
|
32
32
|
export declare const Valuation:
|
|
33
|
-
damlTypes.Template<Valuation, undefined, '#OpenCapTable-
|
|
33
|
+
damlTypes.Template<Valuation, undefined, '#OpenCapTable-v21:Fairmint.OpenCapTable.Valuation:Valuation'> &
|
|
34
34
|
damlTypes.ToInterface<Valuation, never> &
|
|
35
35
|
ValuationInterface;
|
|
36
36
|
|
|
@@ -30,7 +30,7 @@ exports.ArchiveByIssuer = {
|
|
|
30
30
|
|
|
31
31
|
exports.Valuation = damlTypes.assembleTemplate(
|
|
32
32
|
{
|
|
33
|
-
templateId: '#OpenCapTable-
|
|
33
|
+
templateId: '#OpenCapTable-v21:Fairmint.OpenCapTable.Valuation:Valuation',
|
|
34
34
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
35
35
|
keyEncode: function () { throw 'EncodeError'; },
|
|
36
36
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, valuation_data: exports.OcfValuationData.decoder, }); }),
|
|
@@ -62,7 +62,7 @@ exports.Valuation = damlTypes.assembleTemplate(
|
|
|
62
62
|
);
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
damlTypes.registerTemplate(exports.Valuation, ['
|
|
65
|
+
damlTypes.registerTemplate(exports.Valuation, ['518ba8058bd64b8446358329d9ee8de7d87c9baae88477f5344ad9e127197a19', '#OpenCapTable-v21']);
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -30,7 +30,7 @@ export declare interface VestingTermsInterface {
|
|
|
30
30
|
ArchiveByIssuer: damlTypes.Choice<VestingTerms, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<VestingTerms, undefined>>;
|
|
31
31
|
}
|
|
32
32
|
export declare const VestingTerms:
|
|
33
|
-
damlTypes.Template<VestingTerms, undefined, '#OpenCapTable-
|
|
33
|
+
damlTypes.Template<VestingTerms, undefined, '#OpenCapTable-v21:Fairmint.OpenCapTable.VestingTerms:VestingTerms'> &
|
|
34
34
|
damlTypes.ToInterface<VestingTerms, never> &
|
|
35
35
|
VestingTermsInterface;
|
|
36
36
|
|
|
@@ -30,7 +30,7 @@ exports.ArchiveByIssuer = {
|
|
|
30
30
|
|
|
31
31
|
exports.VestingTerms = damlTypes.assembleTemplate(
|
|
32
32
|
{
|
|
33
|
-
templateId: '#OpenCapTable-
|
|
33
|
+
templateId: '#OpenCapTable-v21:Fairmint.OpenCapTable.VestingTerms:VestingTerms',
|
|
34
34
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
35
35
|
keyEncode: function () { throw 'EncodeError'; },
|
|
36
36
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, vesting_terms_data: exports.OcfVestingTermsData.decoder, }); }),
|
|
@@ -62,7 +62,7 @@ exports.VestingTerms = damlTypes.assembleTemplate(
|
|
|
62
62
|
);
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
damlTypes.registerTemplate(exports.VestingTerms, ['
|
|
65
|
+
damlTypes.registerTemplate(exports.VestingTerms, ['518ba8058bd64b8446358329d9ee8de7d87c9baae88477f5344ad9e127197a19', '#OpenCapTable-v21']);
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|