@fairmint/open-captable-protocol-daml-js 0.1.2 → 0.2.0
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/Document/index.d.ts +1 -0
- package/lib/Fairmint/OpenCapTable/Document/index.js +8 -0
- package/lib/Fairmint/OpenCapTable/Document/module.d.ts +135 -0
- package/lib/Fairmint/OpenCapTable/Document/module.js +159 -0
- package/lib/Fairmint/OpenCapTable/Issuer/module.d.ts +63 -424
- package/lib/Fairmint/OpenCapTable/Issuer/module.js +86 -614
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.d.ts +3 -6
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +6 -9
- 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 +74 -84
- package/lib/Fairmint/OpenCapTable/Stakeholder/module.js +65 -107
- package/lib/Fairmint/OpenCapTable/StockClass/module.d.ts +118 -403
- package/lib/Fairmint/OpenCapTable/StockClass/module.js +103 -573
- package/lib/Fairmint/OpenCapTable/StockLegendTemplate/module.d.ts +19 -11
- package/lib/Fairmint/OpenCapTable/StockLegendTemplate/module.js +27 -17
- package/lib/Fairmint/OpenCapTable/StockPlan/module.d.ts +24 -403
- package/lib/Fairmint/OpenCapTable/StockPlan/module.js +29 -587
- package/lib/Fairmint/OpenCapTable/Types/module.d.ts +8 -565
- package/lib/Fairmint/OpenCapTable/Types/module.js +7 -582
- package/lib/Fairmint/OpenCapTable/Valuation/module.d.ts +34 -13
- package/lib/Fairmint/OpenCapTable/Valuation/module.js +40 -19
- package/lib/Fairmint/OpenCapTable/VestingTerms/module.d.ts +98 -11
- package/lib/Fairmint/OpenCapTable/VestingTerms/module.js +117 -17
- package/lib/Fairmint/OpenCapTable/index.d.ts +2 -0
- package/lib/Fairmint/OpenCapTable/index.js +2 -0
- package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/module.js +1 -1
- package/lib/Fairmint/OpenCapTableReports/ReportsFactory/module.js +1 -1
- package/package.json +2 -2
|
@@ -7,471 +7,186 @@ import * as damlTypes from '@daml/types';
|
|
|
7
7
|
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
8
|
import * as damlLedger from '@daml/ledger';
|
|
9
9
|
|
|
10
|
-
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../Splice/Api/FeaturedAppRightV1';
|
|
11
10
|
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';
|
|
12
11
|
|
|
13
12
|
import * as Fairmint_OpenCapTable_Types from '../../../Fairmint/OpenCapTable/Types/module';
|
|
14
13
|
|
|
15
|
-
export declare type
|
|
16
|
-
issuer: damlTypes.Party;
|
|
17
|
-
system_operator: damlTypes.Party;
|
|
18
|
-
featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
|
|
19
|
-
stock_class: damlTypes.ContractId<StockClass>;
|
|
20
|
-
source_positions: damlTypes.ContractId<StockPosition>[];
|
|
21
|
-
resulting_position: damlTypes.ContractId<StockPosition>;
|
|
22
|
-
date: damlTypes.Time;
|
|
23
|
-
reason_text: damlTypes.Optional<string>;
|
|
14
|
+
export declare type ArchiveByIssuer = {
|
|
24
15
|
};
|
|
25
16
|
|
|
26
|
-
export declare
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
damlTypes.Template<StockConsolidationEvent, undefined, '#OpenCapTable-v14:Fairmint.OpenCapTable.StockClass:StockConsolidationEvent'> &
|
|
31
|
-
damlTypes.ToInterface<StockConsolidationEvent, never> &
|
|
32
|
-
StockConsolidationEventInterface;
|
|
33
|
-
|
|
34
|
-
export declare namespace StockConsolidationEvent {
|
|
35
|
-
export type CreateEvent = damlLedger.CreateEvent<StockConsolidationEvent, undefined, typeof StockConsolidationEvent.templateId>
|
|
36
|
-
export type ArchiveEvent = damlLedger.ArchiveEvent<StockConsolidationEvent, typeof StockConsolidationEvent.templateId>
|
|
37
|
-
export type Event = damlLedger.Event<StockConsolidationEvent, undefined, typeof StockConsolidationEvent.templateId>
|
|
38
|
-
export type QueryResult = damlLedger.QueryResult<StockConsolidationEvent, undefined, typeof StockConsolidationEvent.templateId>
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
export declare type StockClassConversionRatioAdjustmentEvent = {
|
|
44
|
-
issuer: damlTypes.Party;
|
|
45
|
-
system_operator: damlTypes.Party;
|
|
46
|
-
featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
|
|
47
|
-
stock_class: damlTypes.ContractId<StockClass>;
|
|
48
|
-
new_ratio: Fairmint_OpenCapTable_Types.OcfRatio;
|
|
49
|
-
date: damlTypes.Time;
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
export declare interface StockClassConversionRatioAdjustmentEventInterface {
|
|
53
|
-
Archive: damlTypes.Choice<StockClassConversionRatioAdjustmentEvent, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClassConversionRatioAdjustmentEvent, undefined>>;
|
|
54
|
-
}
|
|
55
|
-
export declare const StockClassConversionRatioAdjustmentEvent:
|
|
56
|
-
damlTypes.Template<StockClassConversionRatioAdjustmentEvent, undefined, '#OpenCapTable-v14:Fairmint.OpenCapTable.StockClass:StockClassConversionRatioAdjustmentEvent'> &
|
|
57
|
-
damlTypes.ToInterface<StockClassConversionRatioAdjustmentEvent, never> &
|
|
58
|
-
StockClassConversionRatioAdjustmentEventInterface;
|
|
59
|
-
|
|
60
|
-
export declare namespace StockClassConversionRatioAdjustmentEvent {
|
|
61
|
-
export type CreateEvent = damlLedger.CreateEvent<StockClassConversionRatioAdjustmentEvent, undefined, typeof StockClassConversionRatioAdjustmentEvent.templateId>
|
|
62
|
-
export type ArchiveEvent = damlLedger.ArchiveEvent<StockClassConversionRatioAdjustmentEvent, typeof StockClassConversionRatioAdjustmentEvent.templateId>
|
|
63
|
-
export type Event = damlLedger.Event<StockClassConversionRatioAdjustmentEvent, undefined, typeof StockClassConversionRatioAdjustmentEvent.templateId>
|
|
64
|
-
export type QueryResult = damlLedger.QueryResult<StockClassConversionRatioAdjustmentEvent, undefined, typeof StockClassConversionRatioAdjustmentEvent.templateId>
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
export declare type StockClassAuthorizedSharesAdjustmentEvent = {
|
|
70
|
-
issuer: damlTypes.Party;
|
|
71
|
-
system_operator: damlTypes.Party;
|
|
72
|
-
featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
|
|
73
|
-
stock_class: damlTypes.ContractId<StockClass>;
|
|
74
|
-
new_authorized: damlTypes.Numeric;
|
|
75
|
-
date: damlTypes.Time;
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
export declare interface StockClassAuthorizedSharesAdjustmentEventInterface {
|
|
79
|
-
Archive: damlTypes.Choice<StockClassAuthorizedSharesAdjustmentEvent, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClassAuthorizedSharesAdjustmentEvent, undefined>>;
|
|
80
|
-
}
|
|
81
|
-
export declare const StockClassAuthorizedSharesAdjustmentEvent:
|
|
82
|
-
damlTypes.Template<StockClassAuthorizedSharesAdjustmentEvent, undefined, '#OpenCapTable-v14:Fairmint.OpenCapTable.StockClass:StockClassAuthorizedSharesAdjustmentEvent'> &
|
|
83
|
-
damlTypes.ToInterface<StockClassAuthorizedSharesAdjustmentEvent, never> &
|
|
84
|
-
StockClassAuthorizedSharesAdjustmentEventInterface;
|
|
85
|
-
|
|
86
|
-
export declare namespace StockClassAuthorizedSharesAdjustmentEvent {
|
|
87
|
-
export type CreateEvent = damlLedger.CreateEvent<StockClassAuthorizedSharesAdjustmentEvent, undefined, typeof StockClassAuthorizedSharesAdjustmentEvent.templateId>
|
|
88
|
-
export type ArchiveEvent = damlLedger.ArchiveEvent<StockClassAuthorizedSharesAdjustmentEvent, typeof StockClassAuthorizedSharesAdjustmentEvent.templateId>
|
|
89
|
-
export type Event = damlLedger.Event<StockClassAuthorizedSharesAdjustmentEvent, undefined, typeof StockClassAuthorizedSharesAdjustmentEvent.templateId>
|
|
90
|
-
export type QueryResult = damlLedger.QueryResult<StockClassAuthorizedSharesAdjustmentEvent, undefined, typeof StockClassAuthorizedSharesAdjustmentEvent.templateId>
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
export declare type StockClassSplitEvent = {
|
|
96
|
-
issuer: damlTypes.Party;
|
|
97
|
-
system_operator: damlTypes.Party;
|
|
98
|
-
featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
|
|
99
|
-
stock_class: damlTypes.ContractId<StockClass>;
|
|
100
|
-
split_ratio: damlTypes.Numeric;
|
|
101
|
-
date: damlTypes.Time;
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
export declare interface StockClassSplitEventInterface {
|
|
105
|
-
Archive: damlTypes.Choice<StockClassSplitEvent, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClassSplitEvent, undefined>>;
|
|
106
|
-
}
|
|
107
|
-
export declare const StockClassSplitEvent:
|
|
108
|
-
damlTypes.Template<StockClassSplitEvent, undefined, '#OpenCapTable-v14:Fairmint.OpenCapTable.StockClass:StockClassSplitEvent'> &
|
|
109
|
-
damlTypes.ToInterface<StockClassSplitEvent, never> &
|
|
110
|
-
StockClassSplitEventInterface;
|
|
111
|
-
|
|
112
|
-
export declare namespace StockClassSplitEvent {
|
|
113
|
-
export type CreateEvent = damlLedger.CreateEvent<StockClassSplitEvent, undefined, typeof StockClassSplitEvent.templateId>
|
|
114
|
-
export type ArchiveEvent = damlLedger.ArchiveEvent<StockClassSplitEvent, typeof StockClassSplitEvent.templateId>
|
|
115
|
-
export type Event = damlLedger.Event<StockClassSplitEvent, undefined, typeof StockClassSplitEvent.templateId>
|
|
116
|
-
export type QueryResult = damlLedger.QueryResult<StockClassSplitEvent, undefined, typeof StockClassSplitEvent.templateId>
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
export declare type StockRetractionEvent = {
|
|
122
|
-
issuer: damlTypes.Party;
|
|
123
|
-
system_operator: damlTypes.Party;
|
|
124
|
-
featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
|
|
125
|
-
stock_class: damlTypes.ContractId<StockClass>;
|
|
126
|
-
from_owner: damlTypes.Party;
|
|
127
|
-
to_owner: damlTypes.Party;
|
|
128
|
-
quantity: damlTypes.Numeric;
|
|
129
|
-
date: damlTypes.Time;
|
|
130
|
-
};
|
|
131
|
-
|
|
132
|
-
export declare interface StockRetractionEventInterface {
|
|
133
|
-
Archive: damlTypes.Choice<StockRetractionEvent, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockRetractionEvent, undefined>>;
|
|
134
|
-
}
|
|
135
|
-
export declare const StockRetractionEvent:
|
|
136
|
-
damlTypes.Template<StockRetractionEvent, undefined, '#OpenCapTable-v14:Fairmint.OpenCapTable.StockClass:StockRetractionEvent'> &
|
|
137
|
-
damlTypes.ToInterface<StockRetractionEvent, never> &
|
|
138
|
-
StockRetractionEventInterface;
|
|
139
|
-
|
|
140
|
-
export declare namespace StockRetractionEvent {
|
|
141
|
-
export type CreateEvent = damlLedger.CreateEvent<StockRetractionEvent, undefined, typeof StockRetractionEvent.templateId>
|
|
142
|
-
export type ArchiveEvent = damlLedger.ArchiveEvent<StockRetractionEvent, typeof StockRetractionEvent.templateId>
|
|
143
|
-
export type Event = damlLedger.Event<StockRetractionEvent, undefined, typeof StockRetractionEvent.templateId>
|
|
144
|
-
export type QueryResult = damlLedger.QueryResult<StockRetractionEvent, undefined, typeof StockRetractionEvent.templateId>
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
export declare type StockReissuanceEvent = {
|
|
150
|
-
issuer: damlTypes.Party;
|
|
151
|
-
system_operator: damlTypes.Party;
|
|
152
|
-
featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
|
|
153
|
-
stock_class: damlTypes.ContractId<StockClass>;
|
|
154
|
-
recipient: damlTypes.Party;
|
|
155
|
-
quantity: damlTypes.Numeric;
|
|
156
|
-
date: damlTypes.Time;
|
|
157
|
-
};
|
|
158
|
-
|
|
159
|
-
export declare interface StockReissuanceEventInterface {
|
|
160
|
-
Archive: damlTypes.Choice<StockReissuanceEvent, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockReissuanceEvent, undefined>>;
|
|
161
|
-
}
|
|
162
|
-
export declare const StockReissuanceEvent:
|
|
163
|
-
damlTypes.Template<StockReissuanceEvent, undefined, '#OpenCapTable-v14:Fairmint.OpenCapTable.StockClass:StockReissuanceEvent'> &
|
|
164
|
-
damlTypes.ToInterface<StockReissuanceEvent, never> &
|
|
165
|
-
StockReissuanceEventInterface;
|
|
166
|
-
|
|
167
|
-
export declare namespace StockReissuanceEvent {
|
|
168
|
-
export type CreateEvent = damlLedger.CreateEvent<StockReissuanceEvent, undefined, typeof StockReissuanceEvent.templateId>
|
|
169
|
-
export type ArchiveEvent = damlLedger.ArchiveEvent<StockReissuanceEvent, typeof StockReissuanceEvent.templateId>
|
|
170
|
-
export type Event = damlLedger.Event<StockReissuanceEvent, undefined, typeof StockReissuanceEvent.templateId>
|
|
171
|
-
export type QueryResult = damlLedger.QueryResult<StockReissuanceEvent, undefined, typeof StockReissuanceEvent.templateId>
|
|
172
|
-
}
|
|
173
|
-
|
|
17
|
+
export declare const ArchiveByIssuer:
|
|
18
|
+
damlTypes.Serializable<ArchiveByIssuer> & {
|
|
19
|
+
}
|
|
20
|
+
;
|
|
174
21
|
|
|
175
22
|
|
|
176
|
-
export declare type
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
|
|
180
|
-
stock_class: damlTypes.ContractId<StockClass>;
|
|
181
|
-
owner: damlTypes.Party;
|
|
182
|
-
quantity: damlTypes.Numeric;
|
|
183
|
-
date: damlTypes.Time;
|
|
23
|
+
export declare type StockClass = {
|
|
24
|
+
context: Fairmint_OpenCapTable_Types.Context;
|
|
25
|
+
stock_class_data: OcfStockClassData;
|
|
184
26
|
};
|
|
185
27
|
|
|
186
|
-
export declare interface
|
|
187
|
-
Archive: damlTypes.Choice<
|
|
188
|
-
}
|
|
189
|
-
export declare const StockRepurchaseEvent:
|
|
190
|
-
damlTypes.Template<StockRepurchaseEvent, undefined, '#OpenCapTable-v14:Fairmint.OpenCapTable.StockClass:StockRepurchaseEvent'> &
|
|
191
|
-
damlTypes.ToInterface<StockRepurchaseEvent, never> &
|
|
192
|
-
StockRepurchaseEventInterface;
|
|
193
|
-
|
|
194
|
-
export declare namespace StockRepurchaseEvent {
|
|
195
|
-
export type CreateEvent = damlLedger.CreateEvent<StockRepurchaseEvent, undefined, typeof StockRepurchaseEvent.templateId>
|
|
196
|
-
export type ArchiveEvent = damlLedger.ArchiveEvent<StockRepurchaseEvent, typeof StockRepurchaseEvent.templateId>
|
|
197
|
-
export type Event = damlLedger.Event<StockRepurchaseEvent, undefined, typeof StockRepurchaseEvent.templateId>
|
|
198
|
-
export type QueryResult = damlLedger.QueryResult<StockRepurchaseEvent, undefined, typeof StockRepurchaseEvent.templateId>
|
|
28
|
+
export declare interface StockClassInterface {
|
|
29
|
+
Archive: damlTypes.Choice<StockClass, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
|
|
30
|
+
ArchiveByIssuer: damlTypes.Choice<StockClass, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
|
|
199
31
|
}
|
|
32
|
+
export declare const StockClass:
|
|
33
|
+
damlTypes.Template<StockClass, undefined, '#OpenCapTable-v16:Fairmint.OpenCapTable.StockClass:StockClass'> &
|
|
34
|
+
damlTypes.ToInterface<StockClass, never> &
|
|
35
|
+
StockClassInterface;
|
|
200
36
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
export
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
|
|
207
|
-
stock_class: damlTypes.ContractId<StockClass>;
|
|
208
|
-
from_owner: damlTypes.Party;
|
|
209
|
-
to_owner: damlTypes.Party;
|
|
210
|
-
quantity: damlTypes.Numeric;
|
|
211
|
-
date: damlTypes.Time;
|
|
212
|
-
};
|
|
213
|
-
|
|
214
|
-
export declare interface StockTransferEventInterface {
|
|
215
|
-
Archive: damlTypes.Choice<StockTransferEvent, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockTransferEvent, undefined>>;
|
|
216
|
-
}
|
|
217
|
-
export declare const StockTransferEvent:
|
|
218
|
-
damlTypes.Template<StockTransferEvent, undefined, '#OpenCapTable-v14:Fairmint.OpenCapTable.StockClass:StockTransferEvent'> &
|
|
219
|
-
damlTypes.ToInterface<StockTransferEvent, never> &
|
|
220
|
-
StockTransferEventInterface;
|
|
221
|
-
|
|
222
|
-
export declare namespace StockTransferEvent {
|
|
223
|
-
export type CreateEvent = damlLedger.CreateEvent<StockTransferEvent, undefined, typeof StockTransferEvent.templateId>
|
|
224
|
-
export type ArchiveEvent = damlLedger.ArchiveEvent<StockTransferEvent, typeof StockTransferEvent.templateId>
|
|
225
|
-
export type Event = damlLedger.Event<StockTransferEvent, undefined, typeof StockTransferEvent.templateId>
|
|
226
|
-
export type QueryResult = damlLedger.QueryResult<StockTransferEvent, undefined, typeof StockTransferEvent.templateId>
|
|
37
|
+
export declare namespace StockClass {
|
|
38
|
+
export type CreateEvent = damlLedger.CreateEvent<StockClass, undefined, typeof StockClass.templateId>
|
|
39
|
+
export type ArchiveEvent = damlLedger.ArchiveEvent<StockClass, typeof StockClass.templateId>
|
|
40
|
+
export type Event = damlLedger.Event<StockClass, undefined, typeof StockClass.templateId>
|
|
41
|
+
export type QueryResult = damlLedger.QueryResult<StockClass, undefined, typeof StockClass.templateId>
|
|
227
42
|
}
|
|
228
43
|
|
|
229
44
|
|
|
230
45
|
|
|
231
|
-
export declare type
|
|
232
|
-
issuer: damlTypes.Party;
|
|
233
|
-
system_operator: damlTypes.Party;
|
|
234
|
-
featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
|
|
235
|
-
stock_class: damlTypes.ContractId<StockClass>;
|
|
236
|
-
recipient: damlTypes.Party;
|
|
46
|
+
export declare type OcfWarrantIssuanceData = {
|
|
237
47
|
quantity: damlTypes.Numeric;
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
export declare const StockIssuanceEvent:
|
|
245
|
-
damlTypes.Template<StockIssuanceEvent, undefined, '#OpenCapTable-v14:Fairmint.OpenCapTable.StockClass:StockIssuanceEvent'> &
|
|
246
|
-
damlTypes.ToInterface<StockIssuanceEvent, never> &
|
|
247
|
-
StockIssuanceEventInterface;
|
|
248
|
-
|
|
249
|
-
export declare namespace StockIssuanceEvent {
|
|
250
|
-
export type CreateEvent = damlLedger.CreateEvent<StockIssuanceEvent, undefined, typeof StockIssuanceEvent.templateId>
|
|
251
|
-
export type ArchiveEvent = damlLedger.ArchiveEvent<StockIssuanceEvent, typeof StockIssuanceEvent.templateId>
|
|
252
|
-
export type Event = damlLedger.Event<StockIssuanceEvent, undefined, typeof StockIssuanceEvent.templateId>
|
|
253
|
-
export type QueryResult = damlLedger.QueryResult<StockIssuanceEvent, undefined, typeof StockIssuanceEvent.templateId>
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
export declare type ConsolidatePositions = {
|
|
259
|
-
owner: damlTypes.Party;
|
|
260
|
-
positions: damlTypes.ContractId<StockPosition>[];
|
|
261
|
-
date: damlTypes.Time;
|
|
262
|
-
reason_text: damlTypes.Optional<string>;
|
|
48
|
+
exercise_price: Fairmint_OpenCapTable_Types.OcfMonetary;
|
|
49
|
+
purchase_price: Fairmint_OpenCapTable_Types.OcfMonetary;
|
|
50
|
+
exercise_triggers: OcfConversionTrigger[];
|
|
51
|
+
warrant_expiration_date: damlTypes.Optional<damlTypes.Time>;
|
|
52
|
+
vesting_terms_id: damlTypes.Optional<string>;
|
|
53
|
+
comments: damlTypes.Optional<string[]>;
|
|
263
54
|
};
|
|
264
55
|
|
|
265
|
-
export declare const
|
|
266
|
-
damlTypes.Serializable<
|
|
56
|
+
export declare const OcfWarrantIssuanceData:
|
|
57
|
+
damlTypes.Serializable<OcfWarrantIssuanceData> & {
|
|
267
58
|
}
|
|
268
59
|
;
|
|
269
60
|
|
|
270
61
|
|
|
271
|
-
export declare type
|
|
272
|
-
|
|
273
|
-
|
|
62
|
+
export declare type OcfRatio = {
|
|
63
|
+
numerator: damlTypes.Numeric;
|
|
64
|
+
denominator: damlTypes.Numeric;
|
|
274
65
|
};
|
|
275
66
|
|
|
276
|
-
export declare const
|
|
277
|
-
damlTypes.Serializable<
|
|
67
|
+
export declare const OcfRatio:
|
|
68
|
+
damlTypes.Serializable<OcfRatio> & {
|
|
278
69
|
}
|
|
279
70
|
;
|
|
280
71
|
|
|
281
72
|
|
|
282
|
-
export declare type
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
export declare const AdjustAuthorizedShares:
|
|
288
|
-
damlTypes.Serializable<AdjustAuthorizedShares> & {
|
|
289
|
-
}
|
|
73
|
+
export declare type OcfConvertibleType =
|
|
74
|
+
| 'OcfConvertibleNote'
|
|
75
|
+
| 'OcfConvertibleSafe'
|
|
76
|
+
| 'OcfConvertibleSecurity'
|
|
290
77
|
;
|
|
291
78
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
split_ratio: damlTypes.Numeric;
|
|
295
|
-
positions: damlTypes.ContractId<StockPosition>[];
|
|
296
|
-
date: damlTypes.Time;
|
|
297
|
-
};
|
|
298
|
-
|
|
299
|
-
export declare const SplitStockClass:
|
|
300
|
-
damlTypes.Serializable<SplitStockClass> & {
|
|
79
|
+
export declare const OcfConvertibleType:
|
|
80
|
+
damlTypes.Serializable<OcfConvertibleType> & {
|
|
301
81
|
}
|
|
82
|
+
& { readonly keys: OcfConvertibleType[] } & { readonly [e in OcfConvertibleType]: e }
|
|
302
83
|
;
|
|
303
84
|
|
|
304
85
|
|
|
305
|
-
export declare type
|
|
306
|
-
|
|
307
|
-
|
|
86
|
+
export declare type OcfConvertibleIssuanceData = {
|
|
87
|
+
investment_amount: Fairmint_OpenCapTable_Types.OcfMonetary;
|
|
88
|
+
convertible_type: OcfConvertibleType;
|
|
89
|
+
conversion_triggers: OcfConversionTrigger[];
|
|
90
|
+
seniority: damlTypes.Int;
|
|
91
|
+
pro_rata: damlTypes.Optional<damlTypes.Numeric>;
|
|
92
|
+
comments: damlTypes.Optional<string[]>;
|
|
308
93
|
};
|
|
309
94
|
|
|
310
|
-
export declare const
|
|
311
|
-
damlTypes.Serializable<
|
|
95
|
+
export declare const OcfConvertibleIssuanceData:
|
|
96
|
+
damlTypes.Serializable<OcfConvertibleIssuanceData> & {
|
|
312
97
|
}
|
|
313
98
|
;
|
|
314
99
|
|
|
315
100
|
|
|
316
|
-
export declare type
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
damlTypes.Serializable<RepurchaseStock> & {
|
|
324
|
-
}
|
|
101
|
+
export declare type OcfConversionTrigger =
|
|
102
|
+
| 'OcfTriggerAutomaticOnCondition'
|
|
103
|
+
| 'OcfTriggerAutomaticOnDate'
|
|
104
|
+
| 'OcfTriggerElectiveInRange'
|
|
105
|
+
| 'OcfTriggerElectiveOnCondition'
|
|
106
|
+
| 'OcfTriggerElectiveAtWill'
|
|
107
|
+
| 'OcfTriggerUnspecified'
|
|
325
108
|
;
|
|
326
109
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
transfer: Fairmint_OpenCapTable_Types.TransferOperation;
|
|
330
|
-
};
|
|
331
|
-
|
|
332
|
-
export declare const IssueStock:
|
|
333
|
-
damlTypes.Serializable<IssueStock> & {
|
|
110
|
+
export declare const OcfConversionTrigger:
|
|
111
|
+
damlTypes.Serializable<OcfConversionTrigger> & {
|
|
334
112
|
}
|
|
113
|
+
& { readonly keys: OcfConversionTrigger[] } & { readonly [e in OcfConversionTrigger]: e }
|
|
335
114
|
;
|
|
336
115
|
|
|
337
116
|
|
|
338
|
-
export declare type
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
117
|
+
export declare type OcfConversionMechanism =
|
|
118
|
+
| 'OcfConversionMechanismRatioConversion'
|
|
119
|
+
| 'OcfConversionMechanismPercentCapitalizationConversion'
|
|
120
|
+
| 'OcfConversionMechanismFixedAmountConversion'
|
|
121
|
+
| 'OcfConversionMechanismValuationBasedConversion'
|
|
122
|
+
| 'OcfConversionMechanismSharePriceBasedConversion'
|
|
123
|
+
| 'OcfConversionMechanismSAFEConversion'
|
|
124
|
+
| 'OcfConversionMechanismNoteConversion'
|
|
125
|
+
| 'OcfConversionMechanismCustomConversion'
|
|
345
126
|
;
|
|
346
127
|
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
issuer: damlTypes.Party;
|
|
350
|
-
stock_class_data: Fairmint_OpenCapTable_Types.OcfStockClassData;
|
|
351
|
-
issued_shares: damlTypes.Numeric;
|
|
352
|
-
system_operator: damlTypes.Party;
|
|
353
|
-
featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
|
|
354
|
-
};
|
|
355
|
-
|
|
356
|
-
export declare interface StockClassInterface {
|
|
357
|
-
UpdateStockClassData: damlTypes.Choice<StockClass, UpdateStockClassData, damlTypes.ContractId<StockClass>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
|
|
358
|
-
ConsolidatePositions: damlTypes.Choice<StockClass, ConsolidatePositions, damlTypes.ContractId<StockPosition>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
|
|
359
|
-
SplitStockClass: damlTypes.Choice<StockClass, SplitStockClass, damlTypes.ContractId<StockClass>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
|
|
360
|
-
Archive: damlTypes.Choice<StockClass, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
|
|
361
|
-
IssueStock: damlTypes.Choice<StockClass, IssueStock, damlTypes.ContractId<StockPosition>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
|
|
362
|
-
RepurchaseStock: damlTypes.Choice<StockClass, RepurchaseStock, damlTypes.ContractId<StockClass>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
|
|
363
|
-
ReissueStock: damlTypes.Choice<StockClass, ReissueStock, damlTypes.ContractId<StockPosition>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
|
|
364
|
-
AdjustAuthorizedShares: damlTypes.Choice<StockClass, AdjustAuthorizedShares, damlTypes.ContractId<StockClass>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
|
|
365
|
-
AdjustConversionRatio: damlTypes.Choice<StockClass, AdjustConversionRatio, damlTypes.ContractId<StockClass>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
|
|
366
|
-
}
|
|
367
|
-
export declare const StockClass:
|
|
368
|
-
damlTypes.Template<StockClass, undefined, '#OpenCapTable-v14:Fairmint.OpenCapTable.StockClass:StockClass'> &
|
|
369
|
-
damlTypes.ToInterface<StockClass, never> &
|
|
370
|
-
StockClassInterface;
|
|
371
|
-
|
|
372
|
-
export declare namespace StockClass {
|
|
373
|
-
export type CreateEvent = damlLedger.CreateEvent<StockClass, undefined, typeof StockClass.templateId>
|
|
374
|
-
export type ArchiveEvent = damlLedger.ArchiveEvent<StockClass, typeof StockClass.templateId>
|
|
375
|
-
export type Event = damlLedger.Event<StockClass, undefined, typeof StockClass.templateId>
|
|
376
|
-
export type QueryResult = damlLedger.QueryResult<StockClass, undefined, typeof StockClass.templateId>
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
export declare type RetractTransfer = {
|
|
382
|
-
date: damlTypes.Time;
|
|
383
|
-
};
|
|
384
|
-
|
|
385
|
-
export declare const RetractTransfer:
|
|
386
|
-
damlTypes.Serializable<RetractTransfer> & {
|
|
128
|
+
export declare const OcfConversionMechanism:
|
|
129
|
+
damlTypes.Serializable<OcfConversionMechanism> & {
|
|
387
130
|
}
|
|
131
|
+
& { readonly keys: OcfConversionMechanism[] } & { readonly [e in OcfConversionMechanism]: e }
|
|
388
132
|
;
|
|
389
133
|
|
|
390
134
|
|
|
391
|
-
export declare type
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
damlTypes.
|
|
135
|
+
export declare type OcfStockClassConversionRight = {
|
|
136
|
+
type_: string;
|
|
137
|
+
conversion_mechanism: OcfConversionMechanism;
|
|
138
|
+
conversion_trigger: OcfConversionTrigger;
|
|
139
|
+
converts_to_stock_class_id: string;
|
|
140
|
+
ratio: damlTypes.Optional<OcfRatio>;
|
|
141
|
+
percent_of_capitalization: damlTypes.Optional<damlTypes.Numeric>;
|
|
142
|
+
conversion_price: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfMonetary>;
|
|
143
|
+
reference_share_price: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfMonetary>;
|
|
144
|
+
reference_valuation_price_per_share: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfMonetary>;
|
|
145
|
+
discount_rate: damlTypes.Optional<damlTypes.Numeric>;
|
|
146
|
+
valuation_cap: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfMonetary>;
|
|
147
|
+
floor_price_per_share: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfMonetary>;
|
|
148
|
+
ceiling_price_per_share: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfMonetary>;
|
|
149
|
+
custom_description: damlTypes.Optional<string>;
|
|
150
|
+
expires_at: damlTypes.Optional<damlTypes.Time>;
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
export declare const OcfStockClassConversionRight:
|
|
154
|
+
damlTypes.Serializable<OcfStockClassConversionRight> & {
|
|
397
155
|
}
|
|
398
156
|
;
|
|
399
157
|
|
|
400
158
|
|
|
401
|
-
export declare type
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
recipient: damlTypes.Party;
|
|
406
|
-
quantity: damlTypes.Numeric;
|
|
407
|
-
stock_class: damlTypes.ContractId<StockClass>;
|
|
408
|
-
from_position: damlTypes.ContractId<StockPosition>;
|
|
409
|
-
featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
|
|
410
|
-
};
|
|
411
|
-
|
|
412
|
-
export declare interface StockTransferProposalInterface {
|
|
413
|
-
Archive: damlTypes.Choice<StockTransferProposal, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockTransferProposal, undefined>>;
|
|
414
|
-
AcceptTransfer: damlTypes.Choice<StockTransferProposal, AcceptTransfer, damlTypes.ContractId<StockPosition>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockTransferProposal, undefined>>;
|
|
415
|
-
RetractTransfer: damlTypes.Choice<StockTransferProposal, RetractTransfer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockTransferProposal, undefined>>;
|
|
416
|
-
}
|
|
417
|
-
export declare const StockTransferProposal:
|
|
418
|
-
damlTypes.Template<StockTransferProposal, undefined, '#OpenCapTable-v14:Fairmint.OpenCapTable.StockClass:StockTransferProposal'> &
|
|
419
|
-
damlTypes.ToInterface<StockTransferProposal, never> &
|
|
420
|
-
StockTransferProposalInterface;
|
|
421
|
-
|
|
422
|
-
export declare namespace StockTransferProposal {
|
|
423
|
-
export type CreateEvent = damlLedger.CreateEvent<StockTransferProposal, undefined, typeof StockTransferProposal.templateId>
|
|
424
|
-
export type ArchiveEvent = damlLedger.ArchiveEvent<StockTransferProposal, typeof StockTransferProposal.templateId>
|
|
425
|
-
export type Event = damlLedger.Event<StockTransferProposal, undefined, typeof StockTransferProposal.templateId>
|
|
426
|
-
export type QueryResult = damlLedger.QueryResult<StockTransferProposal, undefined, typeof StockTransferProposal.templateId>
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
export declare type ReduceQuantity = {
|
|
432
|
-
amount: damlTypes.Numeric;
|
|
433
|
-
};
|
|
159
|
+
export declare type OcfStockClassType =
|
|
160
|
+
| 'OcfStockClassTypeCommon'
|
|
161
|
+
| 'OcfStockClassTypePreferred'
|
|
162
|
+
;
|
|
434
163
|
|
|
435
|
-
export declare const
|
|
436
|
-
damlTypes.Serializable<
|
|
164
|
+
export declare const OcfStockClassType:
|
|
165
|
+
damlTypes.Serializable<OcfStockClassType> & {
|
|
437
166
|
}
|
|
167
|
+
& { readonly keys: OcfStockClassType[] } & { readonly [e in OcfStockClassType]: e }
|
|
438
168
|
;
|
|
439
169
|
|
|
440
170
|
|
|
441
|
-
export declare type
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
damlTypes.
|
|
171
|
+
export declare type OcfStockClassData = {
|
|
172
|
+
name: string;
|
|
173
|
+
class_type: OcfStockClassType;
|
|
174
|
+
default_id_prefix: string;
|
|
175
|
+
initial_shares_authorized: damlTypes.Numeric;
|
|
176
|
+
votes_per_share: damlTypes.Numeric;
|
|
177
|
+
seniority: damlTypes.Numeric;
|
|
178
|
+
board_approval_date: damlTypes.Optional<damlTypes.Time>;
|
|
179
|
+
stockholder_approval_date: damlTypes.Optional<damlTypes.Time>;
|
|
180
|
+
par_value: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfMonetary>;
|
|
181
|
+
price_per_share: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfMonetary>;
|
|
182
|
+
liquidation_preference_multiple: damlTypes.Optional<damlTypes.Numeric>;
|
|
183
|
+
participation_cap_multiple: damlTypes.Optional<damlTypes.Numeric>;
|
|
184
|
+
conversion_rights: OcfStockClassConversionRight[];
|
|
185
|
+
comments: damlTypes.Optional<string[]>;
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
export declare const OcfStockClassData:
|
|
189
|
+
damlTypes.Serializable<OcfStockClassData> & {
|
|
447
190
|
}
|
|
448
191
|
;
|
|
449
192
|
|
|
450
|
-
|
|
451
|
-
export declare type StockPosition = {
|
|
452
|
-
system_operator: damlTypes.Party;
|
|
453
|
-
issuer: damlTypes.Party;
|
|
454
|
-
owner: damlTypes.Party;
|
|
455
|
-
quantity: damlTypes.Numeric;
|
|
456
|
-
stock_class: damlTypes.ContractId<StockClass>;
|
|
457
|
-
featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
|
|
458
|
-
};
|
|
459
|
-
|
|
460
|
-
export declare interface StockPositionInterface {
|
|
461
|
-
Archive: damlTypes.Choice<StockPosition, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockPosition, undefined>>;
|
|
462
|
-
ProposeTransfer: damlTypes.Choice<StockPosition, ProposeTransfer, damlTypes.ContractId<StockTransferProposal>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockPosition, undefined>>;
|
|
463
|
-
ReduceQuantity: damlTypes.Choice<StockPosition, ReduceQuantity, damlTypes.ContractId<StockPosition>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockPosition, undefined>>;
|
|
464
|
-
}
|
|
465
|
-
export declare const StockPosition:
|
|
466
|
-
damlTypes.Template<StockPosition, undefined, '#OpenCapTable-v14:Fairmint.OpenCapTable.StockClass:StockPosition'> &
|
|
467
|
-
damlTypes.ToInterface<StockPosition, never> &
|
|
468
|
-
StockPositionInterface;
|
|
469
|
-
|
|
470
|
-
export declare namespace StockPosition {
|
|
471
|
-
export type CreateEvent = damlLedger.CreateEvent<StockPosition, undefined, typeof StockPosition.templateId>
|
|
472
|
-
export type ArchiveEvent = damlLedger.ArchiveEvent<StockPosition, typeof StockPosition.templateId>
|
|
473
|
-
export type Event = damlLedger.Event<StockPosition, undefined, typeof StockPosition.templateId>
|
|
474
|
-
export type QueryResult = damlLedger.QueryResult<StockPosition, undefined, typeof StockPosition.templateId>
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
|