@fairmint/open-captable-protocol-daml-js 0.0.40 → 0.1.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/Issuer/module.d.ts +222 -2
- package/lib/Fairmint/OpenCapTable/Issuer/module.js +341 -8
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/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 +49 -0
- package/lib/Fairmint/OpenCapTable/Stakeholder/module.js +71 -0
- package/lib/Fairmint/OpenCapTable/StockClass/module.d.ts +340 -4
- package/lib/Fairmint/OpenCapTable/StockClass/module.js +487 -7
- package/lib/Fairmint/OpenCapTable/StockLegendTemplate/index.d.ts +1 -0
- package/lib/Fairmint/OpenCapTable/StockLegendTemplate/index.js +8 -0
- package/lib/Fairmint/OpenCapTable/StockLegendTemplate/module.d.ts +48 -0
- package/lib/Fairmint/OpenCapTable/StockLegendTemplate/module.js +70 -0
- package/lib/Fairmint/OpenCapTable/StockPlan/index.d.ts +1 -0
- package/lib/Fairmint/OpenCapTable/StockPlan/index.js +8 -0
- package/lib/Fairmint/OpenCapTable/StockPlan/module.d.ts +332 -0
- package/lib/Fairmint/OpenCapTable/StockPlan/module.js +482 -0
- package/lib/Fairmint/OpenCapTable/Types/module.d.ts +510 -3
- package/lib/Fairmint/OpenCapTable/Types/module.js +523 -9
- package/lib/Fairmint/OpenCapTable/Valuation/index.d.ts +1 -0
- package/lib/Fairmint/OpenCapTable/Valuation/index.js +8 -0
- package/lib/Fairmint/OpenCapTable/Valuation/module.d.ts +50 -0
- package/lib/Fairmint/OpenCapTable/Valuation/module.js +72 -0
- package/lib/Fairmint/OpenCapTable/VestingTerms/index.d.ts +1 -0
- package/lib/Fairmint/OpenCapTable/VestingTerms/index.js +8 -0
- package/lib/Fairmint/OpenCapTable/VestingTerms/module.d.ts +48 -0
- package/lib/Fairmint/OpenCapTable/VestingTerms/module.js +70 -0
- package/lib/Fairmint/OpenCapTable/index.d.ts +10 -2
- package/lib/Fairmint/OpenCapTable/index.js +10 -2
- package/package.json +3 -3
- package/lib/Fairmint/OpenCapTable/StockPosition/module.d.ts +0 -85
- package/lib/Fairmint/OpenCapTable/StockPosition/module.js +0 -124
- /package/lib/Fairmint/OpenCapTable/{StockPosition → Stakeholder}/index.d.ts +0 -0
- /package/lib/Fairmint/OpenCapTable/{StockPosition → Stakeholder}/index.js +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"mainnet": {
|
|
3
|
-
"ocpFactoryContractId": "
|
|
4
|
-
"templateId": "
|
|
3
|
+
"ocpFactoryContractId": "00b809a40f8aa8be5ec1fd44d2443dadf5207a47453da402075c14ce3ad88164a9ca11122096b8cd441ed86e7a3f46645a85a1d26316f6c956715273c7ec2ffb55a20b6993",
|
|
4
|
+
"templateId": "14af9af7110ec2847e9a3e482f6ca1b480704c603c3e96b0cafa095fe58cd1f0:Fairmint.OpenCapTable.OcpFactory:OcpFactory"
|
|
5
5
|
},
|
|
6
6
|
"devnet": {
|
|
7
|
-
"ocpFactoryContractId": "
|
|
8
|
-
"templateId": "
|
|
7
|
+
"ocpFactoryContractId": "001ecae64fb3b6e74d1e2e8986342911265f70685e5674e0344d2f18150b272d82ca111220c5b0e52c50cbd6d3130549bcf9e02714ff46adf6bde59b3bbd1c8428dd4e4f17",
|
|
8
|
+
"templateId": "14af9af7110ec2847e9a3e482f6ca1b480704c603c3e96b0cafa095fe58cd1f0:Fairmint.OpenCapTable.OcpFactory:OcpFactory"
|
|
9
9
|
}
|
|
10
10
|
}
|
|
@@ -10,8 +10,168 @@ import * as damlLedger from '@daml/ledger';
|
|
|
10
10
|
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../Splice/Api/FeaturedAppRightV1';
|
|
11
11
|
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';
|
|
12
12
|
|
|
13
|
+
import * as Fairmint_OpenCapTable_Stakeholder from '../../../Fairmint/OpenCapTable/Stakeholder/module';
|
|
13
14
|
import * as Fairmint_OpenCapTable_StockClass from '../../../Fairmint/OpenCapTable/StockClass/module';
|
|
15
|
+
import * as Fairmint_OpenCapTable_StockLegendTemplate from '../../../Fairmint/OpenCapTable/StockLegendTemplate/module';
|
|
16
|
+
import * as Fairmint_OpenCapTable_StockPlan from '../../../Fairmint/OpenCapTable/StockPlan/module';
|
|
14
17
|
import * as Fairmint_OpenCapTable_Types from '../../../Fairmint/OpenCapTable/Types/module';
|
|
18
|
+
import * as Fairmint_OpenCapTable_Valuation from '../../../Fairmint/OpenCapTable/Valuation/module';
|
|
19
|
+
import * as Fairmint_OpenCapTable_VestingTerms from '../../../Fairmint/OpenCapTable/VestingTerms/module';
|
|
20
|
+
|
|
21
|
+
export declare type WarrantExerciseEvent = {
|
|
22
|
+
issuer: damlTypes.Party;
|
|
23
|
+
system_operator: damlTypes.Party;
|
|
24
|
+
featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
|
|
25
|
+
warrant: damlTypes.ContractId<Warrant>;
|
|
26
|
+
stakeholder: damlTypes.Party;
|
|
27
|
+
stock_class: damlTypes.ContractId<Fairmint_OpenCapTable_StockClass.StockClass>;
|
|
28
|
+
quantity: damlTypes.Numeric;
|
|
29
|
+
date: damlTypes.Time;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export declare interface WarrantExerciseEventInterface {
|
|
33
|
+
Archive: damlTypes.Choice<WarrantExerciseEvent, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<WarrantExerciseEvent, undefined>>;
|
|
34
|
+
}
|
|
35
|
+
export declare const WarrantExerciseEvent:
|
|
36
|
+
damlTypes.Template<WarrantExerciseEvent, undefined, '#OpenCapTable-v12:Fairmint.OpenCapTable.Issuer:WarrantExerciseEvent'> &
|
|
37
|
+
damlTypes.ToInterface<WarrantExerciseEvent, never> &
|
|
38
|
+
WarrantExerciseEventInterface;
|
|
39
|
+
|
|
40
|
+
export declare namespace WarrantExerciseEvent {
|
|
41
|
+
export type CreateEvent = damlLedger.CreateEvent<WarrantExerciseEvent, undefined, typeof WarrantExerciseEvent.templateId>
|
|
42
|
+
export type ArchiveEvent = damlLedger.ArchiveEvent<WarrantExerciseEvent, typeof WarrantExerciseEvent.templateId>
|
|
43
|
+
export type Event = damlLedger.Event<WarrantExerciseEvent, undefined, typeof WarrantExerciseEvent.templateId>
|
|
44
|
+
export type QueryResult = damlLedger.QueryResult<WarrantExerciseEvent, undefined, typeof WarrantExerciseEvent.templateId>
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
export declare type ConvertibleConversionEvent = {
|
|
50
|
+
issuer: damlTypes.Party;
|
|
51
|
+
system_operator: damlTypes.Party;
|
|
52
|
+
featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
|
|
53
|
+
convertible: damlTypes.ContractId<Convertible>;
|
|
54
|
+
stakeholder: damlTypes.Party;
|
|
55
|
+
stock_class: damlTypes.ContractId<Fairmint_OpenCapTable_StockClass.StockClass>;
|
|
56
|
+
quantity: damlTypes.Numeric;
|
|
57
|
+
date: damlTypes.Time;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export declare interface ConvertibleConversionEventInterface {
|
|
61
|
+
Archive: damlTypes.Choice<ConvertibleConversionEvent, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ConvertibleConversionEvent, undefined>>;
|
|
62
|
+
}
|
|
63
|
+
export declare const ConvertibleConversionEvent:
|
|
64
|
+
damlTypes.Template<ConvertibleConversionEvent, undefined, '#OpenCapTable-v12:Fairmint.OpenCapTable.Issuer:ConvertibleConversionEvent'> &
|
|
65
|
+
damlTypes.ToInterface<ConvertibleConversionEvent, never> &
|
|
66
|
+
ConvertibleConversionEventInterface;
|
|
67
|
+
|
|
68
|
+
export declare namespace ConvertibleConversionEvent {
|
|
69
|
+
export type CreateEvent = damlLedger.CreateEvent<ConvertibleConversionEvent, undefined, typeof ConvertibleConversionEvent.templateId>
|
|
70
|
+
export type ArchiveEvent = damlLedger.ArchiveEvent<ConvertibleConversionEvent, typeof ConvertibleConversionEvent.templateId>
|
|
71
|
+
export type Event = damlLedger.Event<ConvertibleConversionEvent, undefined, typeof ConvertibleConversionEvent.templateId>
|
|
72
|
+
export type QueryResult = damlLedger.QueryResult<ConvertibleConversionEvent, undefined, typeof ConvertibleConversionEvent.templateId>
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
export declare type ExerciseWarrant = {
|
|
78
|
+
quantity: damlTypes.Numeric;
|
|
79
|
+
date: damlTypes.Time;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
export declare const ExerciseWarrant:
|
|
83
|
+
damlTypes.Serializable<ExerciseWarrant> & {
|
|
84
|
+
}
|
|
85
|
+
;
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
export declare type Warrant = {
|
|
89
|
+
issuer: damlTypes.Party;
|
|
90
|
+
system_operator: damlTypes.Party;
|
|
91
|
+
featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
|
|
92
|
+
stakeholder: damlTypes.Party;
|
|
93
|
+
stock_class: damlTypes.ContractId<Fairmint_OpenCapTable_StockClass.StockClass>;
|
|
94
|
+
issuance_data: Fairmint_OpenCapTable_Types.OcfWarrantIssuanceData;
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
export declare interface WarrantInterface {
|
|
98
|
+
Archive: damlTypes.Choice<Warrant, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Warrant, undefined>>;
|
|
99
|
+
ExerciseWarrant: damlTypes.Choice<Warrant, ExerciseWarrant, damlTypes.ContractId<Fairmint_OpenCapTable_StockClass.StockPosition>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Warrant, undefined>>;
|
|
100
|
+
}
|
|
101
|
+
export declare const Warrant:
|
|
102
|
+
damlTypes.Template<Warrant, undefined, '#OpenCapTable-v12:Fairmint.OpenCapTable.Issuer:Warrant'> &
|
|
103
|
+
damlTypes.ToInterface<Warrant, never> &
|
|
104
|
+
WarrantInterface;
|
|
105
|
+
|
|
106
|
+
export declare namespace Warrant {
|
|
107
|
+
export type CreateEvent = damlLedger.CreateEvent<Warrant, undefined, typeof Warrant.templateId>
|
|
108
|
+
export type ArchiveEvent = damlLedger.ArchiveEvent<Warrant, typeof Warrant.templateId>
|
|
109
|
+
export type Event = damlLedger.Event<Warrant, undefined, typeof Warrant.templateId>
|
|
110
|
+
export type QueryResult = damlLedger.QueryResult<Warrant, undefined, typeof Warrant.templateId>
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
export declare type Convert = {
|
|
116
|
+
stock_class: damlTypes.ContractId<Fairmint_OpenCapTable_StockClass.StockClass>;
|
|
117
|
+
quantity: damlTypes.Numeric;
|
|
118
|
+
date: damlTypes.Time;
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
export declare const Convert:
|
|
122
|
+
damlTypes.Serializable<Convert> & {
|
|
123
|
+
}
|
|
124
|
+
;
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
export declare type Convertible = {
|
|
128
|
+
issuer: damlTypes.Party;
|
|
129
|
+
system_operator: damlTypes.Party;
|
|
130
|
+
featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
|
|
131
|
+
stakeholder: damlTypes.Party;
|
|
132
|
+
issuance_data: Fairmint_OpenCapTable_Types.OcfConvertibleIssuanceData;
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
export declare interface ConvertibleInterface {
|
|
136
|
+
Archive: damlTypes.Choice<Convertible, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Convertible, undefined>>;
|
|
137
|
+
Convert: damlTypes.Choice<Convertible, Convert, damlTypes.ContractId<Fairmint_OpenCapTable_StockClass.StockPosition>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Convertible, undefined>>;
|
|
138
|
+
}
|
|
139
|
+
export declare const Convertible:
|
|
140
|
+
damlTypes.Template<Convertible, undefined, '#OpenCapTable-v12:Fairmint.OpenCapTable.Issuer:Convertible'> &
|
|
141
|
+
damlTypes.ToInterface<Convertible, never> &
|
|
142
|
+
ConvertibleInterface;
|
|
143
|
+
|
|
144
|
+
export declare namespace Convertible {
|
|
145
|
+
export type CreateEvent = damlLedger.CreateEvent<Convertible, undefined, typeof Convertible.templateId>
|
|
146
|
+
export type ArchiveEvent = damlLedger.ArchiveEvent<Convertible, typeof Convertible.templateId>
|
|
147
|
+
export type Event = damlLedger.Event<Convertible, undefined, typeof Convertible.templateId>
|
|
148
|
+
export type QueryResult = damlLedger.QueryResult<Convertible, undefined, typeof Convertible.templateId>
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
export declare type IssueWarrant = {
|
|
154
|
+
stakeholder: damlTypes.Party;
|
|
155
|
+
stock_class: damlTypes.ContractId<Fairmint_OpenCapTable_StockClass.StockClass>;
|
|
156
|
+
issuance_data: Fairmint_OpenCapTable_Types.OcfWarrantIssuanceData;
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
export declare const IssueWarrant:
|
|
160
|
+
damlTypes.Serializable<IssueWarrant> & {
|
|
161
|
+
}
|
|
162
|
+
;
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
export declare type IssueConvertible = {
|
|
166
|
+
stakeholder: damlTypes.Party;
|
|
167
|
+
issuance_data: Fairmint_OpenCapTable_Types.OcfConvertibleIssuanceData;
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
export declare const IssueConvertible:
|
|
171
|
+
damlTypes.Serializable<IssueConvertible> & {
|
|
172
|
+
}
|
|
173
|
+
;
|
|
174
|
+
|
|
15
175
|
|
|
16
176
|
export declare type UpdateIssuerData = {
|
|
17
177
|
new_issuer_data: Fairmint_OpenCapTable_Types.OcfIssuerData;
|
|
@@ -23,6 +183,59 @@ export declare const UpdateIssuerData:
|
|
|
23
183
|
;
|
|
24
184
|
|
|
25
185
|
|
|
186
|
+
export declare type CreateVestingTerms = {
|
|
187
|
+
vesting_terms_data: Fairmint_OpenCapTable_Types.OcfVestingTermsData;
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
export declare const CreateVestingTerms:
|
|
191
|
+
damlTypes.Serializable<CreateVestingTerms> & {
|
|
192
|
+
}
|
|
193
|
+
;
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
export declare type CreateStockPlan = {
|
|
197
|
+
stock_classes: damlTypes.ContractId<Fairmint_OpenCapTable_StockClass.StockClass>[];
|
|
198
|
+
plan_data: Fairmint_OpenCapTable_Types.OcfStockPlanData;
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
export declare const CreateStockPlan:
|
|
202
|
+
damlTypes.Serializable<CreateStockPlan> & {
|
|
203
|
+
}
|
|
204
|
+
;
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
export declare type CreateStockLegendTemplate = {
|
|
208
|
+
template_data: Fairmint_OpenCapTable_Types.OcfStockLegendTemplateData;
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
export declare const CreateStockLegendTemplate:
|
|
212
|
+
damlTypes.Serializable<CreateStockLegendTemplate> & {
|
|
213
|
+
}
|
|
214
|
+
;
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
export declare type CreateValuation = {
|
|
218
|
+
stock_class: damlTypes.ContractId<Fairmint_OpenCapTable_StockClass.StockClass>;
|
|
219
|
+
valuation_data: Fairmint_OpenCapTable_Types.OcfValuationData;
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
export declare const CreateValuation:
|
|
223
|
+
damlTypes.Serializable<CreateValuation> & {
|
|
224
|
+
}
|
|
225
|
+
;
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
export declare type CreateStakeholder = {
|
|
229
|
+
stakeholder: damlTypes.Party;
|
|
230
|
+
stakeholder_data: Fairmint_OpenCapTable_Types.OcfStakeholderData;
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
export declare const CreateStakeholder:
|
|
234
|
+
damlTypes.Serializable<CreateStakeholder> & {
|
|
235
|
+
}
|
|
236
|
+
;
|
|
237
|
+
|
|
238
|
+
|
|
26
239
|
export declare type CreateStockClass = {
|
|
27
240
|
stock_class_data: Fairmint_OpenCapTable_Types.OcfStockClassData;
|
|
28
241
|
};
|
|
@@ -41,12 +254,19 @@ export declare type Issuer = {
|
|
|
41
254
|
};
|
|
42
255
|
|
|
43
256
|
export declare interface IssuerInterface {
|
|
44
|
-
CreateStockClass: damlTypes.Choice<Issuer, CreateStockClass, damlTypes.ContractId<Fairmint_OpenCapTable_StockClass.StockClass>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
45
257
|
Archive: damlTypes.Choice<Issuer, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
258
|
+
CreateStockClass: damlTypes.Choice<Issuer, CreateStockClass, damlTypes.ContractId<Fairmint_OpenCapTable_StockClass.StockClass>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
259
|
+
CreateStakeholder: damlTypes.Choice<Issuer, CreateStakeholder, damlTypes.ContractId<Fairmint_OpenCapTable_Stakeholder.Stakeholder>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
260
|
+
CreateValuation: damlTypes.Choice<Issuer, CreateValuation, damlTypes.ContractId<Fairmint_OpenCapTable_Valuation.Valuation>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
261
|
+
CreateStockLegendTemplate: damlTypes.Choice<Issuer, CreateStockLegendTemplate, damlTypes.ContractId<Fairmint_OpenCapTable_StockLegendTemplate.StockLegendTemplate>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
262
|
+
CreateStockPlan: damlTypes.Choice<Issuer, CreateStockPlan, damlTypes.ContractId<Fairmint_OpenCapTable_StockPlan.StockPlan>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
263
|
+
CreateVestingTerms: damlTypes.Choice<Issuer, CreateVestingTerms, damlTypes.ContractId<Fairmint_OpenCapTable_VestingTerms.VestingTerms>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
46
264
|
UpdateIssuerData: damlTypes.Choice<Issuer, UpdateIssuerData, damlTypes.ContractId<Issuer>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
265
|
+
IssueConvertible: damlTypes.Choice<Issuer, IssueConvertible, damlTypes.ContractId<Convertible>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
266
|
+
IssueWarrant: damlTypes.Choice<Issuer, IssueWarrant, damlTypes.ContractId<Warrant>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
47
267
|
}
|
|
48
268
|
export declare const Issuer:
|
|
49
|
-
damlTypes.Template<Issuer, undefined, '#OpenCapTable-
|
|
269
|
+
damlTypes.Template<Issuer, undefined, '#OpenCapTable-v12:Fairmint.OpenCapTable.Issuer:Issuer'> &
|
|
50
270
|
damlTypes.ToInterface<Issuer, never> &
|
|
51
271
|
IssuerInterface;
|
|
52
272
|
|
|
@@ -15,8 +15,222 @@ var damlLedger = require('@daml/ledger');
|
|
|
15
15
|
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../Splice/Api/FeaturedAppRightV1');
|
|
16
16
|
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA/Internal/Template');
|
|
17
17
|
|
|
18
|
+
var Fairmint_OpenCapTable_Stakeholder = require('../../../Fairmint/OpenCapTable/Stakeholder/module');
|
|
18
19
|
var Fairmint_OpenCapTable_StockClass = require('../../../Fairmint/OpenCapTable/StockClass/module');
|
|
20
|
+
var Fairmint_OpenCapTable_StockLegendTemplate = require('../../../Fairmint/OpenCapTable/StockLegendTemplate/module');
|
|
21
|
+
var Fairmint_OpenCapTable_StockPlan = require('../../../Fairmint/OpenCapTable/StockPlan/module');
|
|
19
22
|
var Fairmint_OpenCapTable_Types = require('../../../Fairmint/OpenCapTable/Types/module');
|
|
23
|
+
var Fairmint_OpenCapTable_Valuation = require('../../../Fairmint/OpenCapTable/Valuation/module');
|
|
24
|
+
var Fairmint_OpenCapTable_VestingTerms = require('../../../Fairmint/OpenCapTable/VestingTerms/module');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
exports.WarrantExerciseEvent = damlTypes.assembleTemplate(
|
|
28
|
+
{
|
|
29
|
+
templateId: '#OpenCapTable-v12:Fairmint.OpenCapTable.Issuer:WarrantExerciseEvent',
|
|
30
|
+
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
31
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
32
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({issuer: damlTypes.Party.decoder, system_operator: damlTypes.Party.decoder, featured_app_right: damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight).decoder, warrant: damlTypes.ContractId(exports.Warrant).decoder, stakeholder: damlTypes.Party.decoder, stock_class: damlTypes.ContractId(Fairmint_OpenCapTable_StockClass.StockClass).decoder, quantity: damlTypes.Numeric(10).decoder, date: damlTypes.Time.decoder, }); }),
|
|
33
|
+
encode: function (__typed__) {
|
|
34
|
+
return {
|
|
35
|
+
issuer: damlTypes.Party.encode(__typed__.issuer),
|
|
36
|
+
system_operator: damlTypes.Party.encode(__typed__.system_operator),
|
|
37
|
+
featured_app_right: damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight).encode(__typed__.featured_app_right),
|
|
38
|
+
warrant: damlTypes.ContractId(exports.Warrant).encode(__typed__.warrant),
|
|
39
|
+
stakeholder: damlTypes.Party.encode(__typed__.stakeholder),
|
|
40
|
+
stock_class: damlTypes.ContractId(Fairmint_OpenCapTable_StockClass.StockClass).encode(__typed__.stock_class),
|
|
41
|
+
quantity: damlTypes.Numeric(10).encode(__typed__.quantity),
|
|
42
|
+
date: damlTypes.Time.encode(__typed__.date),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
,
|
|
46
|
+
Archive: {
|
|
47
|
+
template: function () { return exports.WarrantExerciseEvent; },
|
|
48
|
+
choiceName: 'Archive',
|
|
49
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
50
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
51
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
52
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
53
|
+
},
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
damlTypes.registerTemplate(exports.WarrantExerciseEvent, ['14af9af7110ec2847e9a3e482f6ca1b480704c603c3e96b0cafa095fe58cd1f0', '#OpenCapTable-v12']);
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
exports.ConvertibleConversionEvent = damlTypes.assembleTemplate(
|
|
64
|
+
{
|
|
65
|
+
templateId: '#OpenCapTable-v12:Fairmint.OpenCapTable.Issuer:ConvertibleConversionEvent',
|
|
66
|
+
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
67
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
68
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({issuer: damlTypes.Party.decoder, system_operator: damlTypes.Party.decoder, featured_app_right: damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight).decoder, convertible: damlTypes.ContractId(exports.Convertible).decoder, stakeholder: damlTypes.Party.decoder, stock_class: damlTypes.ContractId(Fairmint_OpenCapTable_StockClass.StockClass).decoder, quantity: damlTypes.Numeric(10).decoder, date: damlTypes.Time.decoder, }); }),
|
|
69
|
+
encode: function (__typed__) {
|
|
70
|
+
return {
|
|
71
|
+
issuer: damlTypes.Party.encode(__typed__.issuer),
|
|
72
|
+
system_operator: damlTypes.Party.encode(__typed__.system_operator),
|
|
73
|
+
featured_app_right: damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight).encode(__typed__.featured_app_right),
|
|
74
|
+
convertible: damlTypes.ContractId(exports.Convertible).encode(__typed__.convertible),
|
|
75
|
+
stakeholder: damlTypes.Party.encode(__typed__.stakeholder),
|
|
76
|
+
stock_class: damlTypes.ContractId(Fairmint_OpenCapTable_StockClass.StockClass).encode(__typed__.stock_class),
|
|
77
|
+
quantity: damlTypes.Numeric(10).encode(__typed__.quantity),
|
|
78
|
+
date: damlTypes.Time.encode(__typed__.date),
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
,
|
|
82
|
+
Archive: {
|
|
83
|
+
template: function () { return exports.ConvertibleConversionEvent; },
|
|
84
|
+
choiceName: 'Archive',
|
|
85
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
86
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
87
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
88
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
89
|
+
},
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
);
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
damlTypes.registerTemplate(exports.ConvertibleConversionEvent, ['14af9af7110ec2847e9a3e482f6ca1b480704c603c3e96b0cafa095fe58cd1f0', '#OpenCapTable-v12']);
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
exports.ExerciseWarrant = {
|
|
100
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({quantity: damlTypes.Numeric(10).decoder, date: damlTypes.Time.decoder, }); }),
|
|
101
|
+
encode: function (__typed__) {
|
|
102
|
+
return {
|
|
103
|
+
quantity: damlTypes.Numeric(10).encode(__typed__.quantity),
|
|
104
|
+
date: damlTypes.Time.encode(__typed__.date),
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
,
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
exports.Warrant = damlTypes.assembleTemplate(
|
|
113
|
+
{
|
|
114
|
+
templateId: '#OpenCapTable-v12:Fairmint.OpenCapTable.Issuer:Warrant',
|
|
115
|
+
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
116
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
117
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({issuer: damlTypes.Party.decoder, system_operator: damlTypes.Party.decoder, featured_app_right: damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight).decoder, stakeholder: damlTypes.Party.decoder, stock_class: damlTypes.ContractId(Fairmint_OpenCapTable_StockClass.StockClass).decoder, issuance_data: Fairmint_OpenCapTable_Types.OcfWarrantIssuanceData.decoder, }); }),
|
|
118
|
+
encode: function (__typed__) {
|
|
119
|
+
return {
|
|
120
|
+
issuer: damlTypes.Party.encode(__typed__.issuer),
|
|
121
|
+
system_operator: damlTypes.Party.encode(__typed__.system_operator),
|
|
122
|
+
featured_app_right: damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight).encode(__typed__.featured_app_right),
|
|
123
|
+
stakeholder: damlTypes.Party.encode(__typed__.stakeholder),
|
|
124
|
+
stock_class: damlTypes.ContractId(Fairmint_OpenCapTable_StockClass.StockClass).encode(__typed__.stock_class),
|
|
125
|
+
issuance_data: Fairmint_OpenCapTable_Types.OcfWarrantIssuanceData.encode(__typed__.issuance_data),
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
,
|
|
129
|
+
Archive: {
|
|
130
|
+
template: function () { return exports.Warrant; },
|
|
131
|
+
choiceName: 'Archive',
|
|
132
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
133
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
134
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
135
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
136
|
+
},
|
|
137
|
+
ExerciseWarrant: {
|
|
138
|
+
template: function () { return exports.Warrant; },
|
|
139
|
+
choiceName: 'ExerciseWarrant',
|
|
140
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ExerciseWarrant.decoder; }),
|
|
141
|
+
argumentEncode: function (__typed__) { return exports.ExerciseWarrant.encode(__typed__); },
|
|
142
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(Fairmint_OpenCapTable_StockClass.StockPosition).decoder; }),
|
|
143
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(Fairmint_OpenCapTable_StockClass.StockPosition).encode(__typed__); },
|
|
144
|
+
},
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
);
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
damlTypes.registerTemplate(exports.Warrant, ['14af9af7110ec2847e9a3e482f6ca1b480704c603c3e96b0cafa095fe58cd1f0', '#OpenCapTable-v12']);
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
exports.Convert = {
|
|
155
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({stock_class: damlTypes.ContractId(Fairmint_OpenCapTable_StockClass.StockClass).decoder, quantity: damlTypes.Numeric(10).decoder, date: damlTypes.Time.decoder, }); }),
|
|
156
|
+
encode: function (__typed__) {
|
|
157
|
+
return {
|
|
158
|
+
stock_class: damlTypes.ContractId(Fairmint_OpenCapTable_StockClass.StockClass).encode(__typed__.stock_class),
|
|
159
|
+
quantity: damlTypes.Numeric(10).encode(__typed__.quantity),
|
|
160
|
+
date: damlTypes.Time.encode(__typed__.date),
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
,
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
exports.Convertible = damlTypes.assembleTemplate(
|
|
169
|
+
{
|
|
170
|
+
templateId: '#OpenCapTable-v12:Fairmint.OpenCapTable.Issuer:Convertible',
|
|
171
|
+
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
172
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
173
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({issuer: damlTypes.Party.decoder, system_operator: damlTypes.Party.decoder, featured_app_right: damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight).decoder, stakeholder: damlTypes.Party.decoder, issuance_data: Fairmint_OpenCapTable_Types.OcfConvertibleIssuanceData.decoder, }); }),
|
|
174
|
+
encode: function (__typed__) {
|
|
175
|
+
return {
|
|
176
|
+
issuer: damlTypes.Party.encode(__typed__.issuer),
|
|
177
|
+
system_operator: damlTypes.Party.encode(__typed__.system_operator),
|
|
178
|
+
featured_app_right: damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight).encode(__typed__.featured_app_right),
|
|
179
|
+
stakeholder: damlTypes.Party.encode(__typed__.stakeholder),
|
|
180
|
+
issuance_data: Fairmint_OpenCapTable_Types.OcfConvertibleIssuanceData.encode(__typed__.issuance_data),
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
,
|
|
184
|
+
Archive: {
|
|
185
|
+
template: function () { return exports.Convertible; },
|
|
186
|
+
choiceName: 'Archive',
|
|
187
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
188
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
189
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
190
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
191
|
+
},
|
|
192
|
+
Convert: {
|
|
193
|
+
template: function () { return exports.Convertible; },
|
|
194
|
+
choiceName: 'Convert',
|
|
195
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.Convert.decoder; }),
|
|
196
|
+
argumentEncode: function (__typed__) { return exports.Convert.encode(__typed__); },
|
|
197
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(Fairmint_OpenCapTable_StockClass.StockPosition).decoder; }),
|
|
198
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(Fairmint_OpenCapTable_StockClass.StockPosition).encode(__typed__); },
|
|
199
|
+
},
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
);
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
damlTypes.registerTemplate(exports.Convertible, ['14af9af7110ec2847e9a3e482f6ca1b480704c603c3e96b0cafa095fe58cd1f0', '#OpenCapTable-v12']);
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
exports.IssueWarrant = {
|
|
210
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({stakeholder: damlTypes.Party.decoder, stock_class: damlTypes.ContractId(Fairmint_OpenCapTable_StockClass.StockClass).decoder, issuance_data: Fairmint_OpenCapTable_Types.OcfWarrantIssuanceData.decoder, }); }),
|
|
211
|
+
encode: function (__typed__) {
|
|
212
|
+
return {
|
|
213
|
+
stakeholder: damlTypes.Party.encode(__typed__.stakeholder),
|
|
214
|
+
stock_class: damlTypes.ContractId(Fairmint_OpenCapTable_StockClass.StockClass).encode(__typed__.stock_class),
|
|
215
|
+
issuance_data: Fairmint_OpenCapTable_Types.OcfWarrantIssuanceData.encode(__typed__.issuance_data),
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
,
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
exports.IssueConvertible = {
|
|
224
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({stakeholder: damlTypes.Party.decoder, issuance_data: Fairmint_OpenCapTable_Types.OcfConvertibleIssuanceData.decoder, }); }),
|
|
225
|
+
encode: function (__typed__) {
|
|
226
|
+
return {
|
|
227
|
+
stakeholder: damlTypes.Party.encode(__typed__.stakeholder),
|
|
228
|
+
issuance_data: Fairmint_OpenCapTable_Types.OcfConvertibleIssuanceData.encode(__typed__.issuance_data),
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
,
|
|
232
|
+
};
|
|
233
|
+
|
|
20
234
|
|
|
21
235
|
|
|
22
236
|
exports.UpdateIssuerData = {
|
|
@@ -31,6 +245,69 @@ exports.UpdateIssuerData = {
|
|
|
31
245
|
|
|
32
246
|
|
|
33
247
|
|
|
248
|
+
exports.CreateVestingTerms = {
|
|
249
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({vesting_terms_data: Fairmint_OpenCapTable_Types.OcfVestingTermsData.decoder, }); }),
|
|
250
|
+
encode: function (__typed__) {
|
|
251
|
+
return {
|
|
252
|
+
vesting_terms_data: Fairmint_OpenCapTable_Types.OcfVestingTermsData.encode(__typed__.vesting_terms_data),
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
,
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
exports.CreateStockPlan = {
|
|
261
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({stock_classes: damlTypes.List(damlTypes.ContractId(Fairmint_OpenCapTable_StockClass.StockClass)).decoder, plan_data: Fairmint_OpenCapTable_Types.OcfStockPlanData.decoder, }); }),
|
|
262
|
+
encode: function (__typed__) {
|
|
263
|
+
return {
|
|
264
|
+
stock_classes: damlTypes.List(damlTypes.ContractId(Fairmint_OpenCapTable_StockClass.StockClass)).encode(__typed__.stock_classes),
|
|
265
|
+
plan_data: Fairmint_OpenCapTable_Types.OcfStockPlanData.encode(__typed__.plan_data),
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
,
|
|
269
|
+
};
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
exports.CreateStockLegendTemplate = {
|
|
274
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({template_data: Fairmint_OpenCapTable_Types.OcfStockLegendTemplateData.decoder, }); }),
|
|
275
|
+
encode: function (__typed__) {
|
|
276
|
+
return {
|
|
277
|
+
template_data: Fairmint_OpenCapTable_Types.OcfStockLegendTemplateData.encode(__typed__.template_data),
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
,
|
|
281
|
+
};
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
exports.CreateValuation = {
|
|
286
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({stock_class: damlTypes.ContractId(Fairmint_OpenCapTable_StockClass.StockClass).decoder, valuation_data: Fairmint_OpenCapTable_Types.OcfValuationData.decoder, }); }),
|
|
287
|
+
encode: function (__typed__) {
|
|
288
|
+
return {
|
|
289
|
+
stock_class: damlTypes.ContractId(Fairmint_OpenCapTable_StockClass.StockClass).encode(__typed__.stock_class),
|
|
290
|
+
valuation_data: Fairmint_OpenCapTable_Types.OcfValuationData.encode(__typed__.valuation_data),
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
,
|
|
294
|
+
};
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
exports.CreateStakeholder = {
|
|
299
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({stakeholder: damlTypes.Party.decoder, stakeholder_data: Fairmint_OpenCapTable_Types.OcfStakeholderData.decoder, }); }),
|
|
300
|
+
encode: function (__typed__) {
|
|
301
|
+
return {
|
|
302
|
+
stakeholder: damlTypes.Party.encode(__typed__.stakeholder),
|
|
303
|
+
stakeholder_data: Fairmint_OpenCapTable_Types.OcfStakeholderData.encode(__typed__.stakeholder_data),
|
|
304
|
+
};
|
|
305
|
+
}
|
|
306
|
+
,
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
34
311
|
exports.CreateStockClass = {
|
|
35
312
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({stock_class_data: Fairmint_OpenCapTable_Types.OcfStockClassData.decoder, }); }),
|
|
36
313
|
encode: function (__typed__) {
|
|
@@ -45,7 +322,7 @@ exports.CreateStockClass = {
|
|
|
45
322
|
|
|
46
323
|
exports.Issuer = damlTypes.assembleTemplate(
|
|
47
324
|
{
|
|
48
|
-
templateId: '#OpenCapTable-
|
|
325
|
+
templateId: '#OpenCapTable-v12:Fairmint.OpenCapTable.Issuer:Issuer',
|
|
49
326
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
50
327
|
keyEncode: function () { throw 'EncodeError'; },
|
|
51
328
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({issuer: damlTypes.Party.decoder, issuer_data: Fairmint_OpenCapTable_Types.OcfIssuerData.decoder, system_operator: damlTypes.Party.decoder, featured_app_right: damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight).decoder, }); }),
|
|
@@ -58,6 +335,14 @@ exports.Issuer = damlTypes.assembleTemplate(
|
|
|
58
335
|
};
|
|
59
336
|
}
|
|
60
337
|
,
|
|
338
|
+
Archive: {
|
|
339
|
+
template: function () { return exports.Issuer; },
|
|
340
|
+
choiceName: 'Archive',
|
|
341
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
342
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
343
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
344
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
345
|
+
},
|
|
61
346
|
CreateStockClass: {
|
|
62
347
|
template: function () { return exports.Issuer; },
|
|
63
348
|
choiceName: 'CreateStockClass',
|
|
@@ -66,13 +351,45 @@ exports.Issuer = damlTypes.assembleTemplate(
|
|
|
66
351
|
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(Fairmint_OpenCapTable_StockClass.StockClass).decoder; }),
|
|
67
352
|
resultEncode: function (__typed__) { return damlTypes.ContractId(Fairmint_OpenCapTable_StockClass.StockClass).encode(__typed__); },
|
|
68
353
|
},
|
|
69
|
-
|
|
354
|
+
CreateStakeholder: {
|
|
70
355
|
template: function () { return exports.Issuer; },
|
|
71
|
-
choiceName: '
|
|
72
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return
|
|
73
|
-
argumentEncode: function (__typed__) { return
|
|
74
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.
|
|
75
|
-
resultEncode: function (__typed__) { return damlTypes.
|
|
356
|
+
choiceName: 'CreateStakeholder',
|
|
357
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.CreateStakeholder.decoder; }),
|
|
358
|
+
argumentEncode: function (__typed__) { return exports.CreateStakeholder.encode(__typed__); },
|
|
359
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(Fairmint_OpenCapTable_Stakeholder.Stakeholder).decoder; }),
|
|
360
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(Fairmint_OpenCapTable_Stakeholder.Stakeholder).encode(__typed__); },
|
|
361
|
+
},
|
|
362
|
+
CreateValuation: {
|
|
363
|
+
template: function () { return exports.Issuer; },
|
|
364
|
+
choiceName: 'CreateValuation',
|
|
365
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.CreateValuation.decoder; }),
|
|
366
|
+
argumentEncode: function (__typed__) { return exports.CreateValuation.encode(__typed__); },
|
|
367
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(Fairmint_OpenCapTable_Valuation.Valuation).decoder; }),
|
|
368
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(Fairmint_OpenCapTable_Valuation.Valuation).encode(__typed__); },
|
|
369
|
+
},
|
|
370
|
+
CreateStockLegendTemplate: {
|
|
371
|
+
template: function () { return exports.Issuer; },
|
|
372
|
+
choiceName: 'CreateStockLegendTemplate',
|
|
373
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.CreateStockLegendTemplate.decoder; }),
|
|
374
|
+
argumentEncode: function (__typed__) { return exports.CreateStockLegendTemplate.encode(__typed__); },
|
|
375
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(Fairmint_OpenCapTable_StockLegendTemplate.StockLegendTemplate).decoder; }),
|
|
376
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(Fairmint_OpenCapTable_StockLegendTemplate.StockLegendTemplate).encode(__typed__); },
|
|
377
|
+
},
|
|
378
|
+
CreateStockPlan: {
|
|
379
|
+
template: function () { return exports.Issuer; },
|
|
380
|
+
choiceName: 'CreateStockPlan',
|
|
381
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.CreateStockPlan.decoder; }),
|
|
382
|
+
argumentEncode: function (__typed__) { return exports.CreateStockPlan.encode(__typed__); },
|
|
383
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(Fairmint_OpenCapTable_StockPlan.StockPlan).decoder; }),
|
|
384
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(Fairmint_OpenCapTable_StockPlan.StockPlan).encode(__typed__); },
|
|
385
|
+
},
|
|
386
|
+
CreateVestingTerms: {
|
|
387
|
+
template: function () { return exports.Issuer; },
|
|
388
|
+
choiceName: 'CreateVestingTerms',
|
|
389
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.CreateVestingTerms.decoder; }),
|
|
390
|
+
argumentEncode: function (__typed__) { return exports.CreateVestingTerms.encode(__typed__); },
|
|
391
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(Fairmint_OpenCapTable_VestingTerms.VestingTerms).decoder; }),
|
|
392
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(Fairmint_OpenCapTable_VestingTerms.VestingTerms).encode(__typed__); },
|
|
76
393
|
},
|
|
77
394
|
UpdateIssuerData: {
|
|
78
395
|
template: function () { return exports.Issuer; },
|
|
@@ -82,10 +399,26 @@ exports.Issuer = damlTypes.assembleTemplate(
|
|
|
82
399
|
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(exports.Issuer).decoder; }),
|
|
83
400
|
resultEncode: function (__typed__) { return damlTypes.ContractId(exports.Issuer).encode(__typed__); },
|
|
84
401
|
},
|
|
402
|
+
IssueConvertible: {
|
|
403
|
+
template: function () { return exports.Issuer; },
|
|
404
|
+
choiceName: 'IssueConvertible',
|
|
405
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.IssueConvertible.decoder; }),
|
|
406
|
+
argumentEncode: function (__typed__) { return exports.IssueConvertible.encode(__typed__); },
|
|
407
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(exports.Convertible).decoder; }),
|
|
408
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(exports.Convertible).encode(__typed__); },
|
|
409
|
+
},
|
|
410
|
+
IssueWarrant: {
|
|
411
|
+
template: function () { return exports.Issuer; },
|
|
412
|
+
choiceName: 'IssueWarrant',
|
|
413
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.IssueWarrant.decoder; }),
|
|
414
|
+
argumentEncode: function (__typed__) { return exports.IssueWarrant.encode(__typed__); },
|
|
415
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(exports.Warrant).decoder; }),
|
|
416
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(exports.Warrant).encode(__typed__); },
|
|
417
|
+
},
|
|
85
418
|
}
|
|
86
419
|
|
|
87
420
|
);
|
|
88
421
|
|
|
89
422
|
|
|
90
|
-
damlTypes.registerTemplate(exports.Issuer, ['
|
|
423
|
+
damlTypes.registerTemplate(exports.Issuer, ['14af9af7110ec2847e9a3e482f6ca1b480704c603c3e96b0cafa095fe58cd1f0', '#OpenCapTable-v12']);
|
|
91
424
|
|