@fairmint/open-captable-protocol-daml-js 0.2.6 → 0.2.7
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 +1 -1
- package/lib/Fairmint/OpenCapTable/StockClass/module.js +2 -2
- 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/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 +3 -3
- package/lib/Fairmint/OpenCapTable/WarrantIssuance/module.js +5 -5
- package/package.json +2 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"mainnet": {
|
|
3
|
-
"ocpFactoryContractId": "
|
|
4
|
-
"templateId": "
|
|
3
|
+
"ocpFactoryContractId": "005d9b75d3ac75de7ece670e6cbbba7aa8de7bf6da98900c6133e560fc3ce223c2ca11122040b628b1ff1d69ae1c6914344738446828d5b109f193328ad36741aaec25769c",
|
|
4
|
+
"templateId": "b08ec87a21d3d9f30305a2ce73230a8eee99360303fd84e4c10a20827553c7cf:Fairmint.OpenCapTable.OcpFactory:OcpFactory"
|
|
5
5
|
},
|
|
6
6
|
"devnet": {
|
|
7
|
-
"ocpFactoryContractId": "
|
|
8
|
-
"templateId": "
|
|
7
|
+
"ocpFactoryContractId": "000cb3d9515dcd285744fa73bf7b082f56c153a06551ac9bb2867bfe7e575574abca1112200eca97aa91965e07d5830bb5a9909cad14b5112d4d9a7d54490c29e29e6bbe63",
|
|
8
|
+
"templateId": "b08ec87a21d3d9f30305a2ce73230a8eee99360303fd84e4c10a20827553c7cf:Fairmint.OpenCapTable.OcpFactory:OcpFactory"
|
|
9
9
|
}
|
|
10
10
|
}
|
|
@@ -31,7 +31,7 @@ export declare interface ConvertibleIssuanceInterface {
|
|
|
31
31
|
ArchiveByIssuer: damlTypes.Choice<ConvertibleIssuance, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<ConvertibleIssuance, undefined>>;
|
|
32
32
|
}
|
|
33
33
|
export declare const ConvertibleIssuance:
|
|
34
|
-
damlTypes.Template<ConvertibleIssuance, undefined, '#OpenCapTable-
|
|
34
|
+
damlTypes.Template<ConvertibleIssuance, undefined, '#OpenCapTable-v20:Fairmint.OpenCapTable.ConvertibleIssuance:ConvertibleIssuance'> &
|
|
35
35
|
damlTypes.ToInterface<ConvertibleIssuance, never> &
|
|
36
36
|
ConvertibleIssuanceInterface;
|
|
37
37
|
|
|
@@ -31,7 +31,7 @@ exports.ArchiveByIssuer = {
|
|
|
31
31
|
|
|
32
32
|
exports.ConvertibleIssuance = damlTypes.assembleTemplate(
|
|
33
33
|
{
|
|
34
|
-
templateId: '#OpenCapTable-
|
|
34
|
+
templateId: '#OpenCapTable-v20:Fairmint.OpenCapTable.ConvertibleIssuance:ConvertibleIssuance',
|
|
35
35
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
36
36
|
keyEncode: function () { throw 'EncodeError'; },
|
|
37
37
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, issuance_data: exports.OcfConvertibleIssuanceTxData.decoder, }); }),
|
|
@@ -63,7 +63,7 @@ exports.ConvertibleIssuance = damlTypes.assembleTemplate(
|
|
|
63
63
|
);
|
|
64
64
|
|
|
65
65
|
|
|
66
|
-
damlTypes.registerTemplate(exports.ConvertibleIssuance, ['
|
|
66
|
+
damlTypes.registerTemplate(exports.ConvertibleIssuance, ['b08ec87a21d3d9f30305a2ce73230a8eee99360303fd84e4c10a20827553c7cf', '#OpenCapTable-v20']);
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
|
|
@@ -30,7 +30,7 @@ export declare interface DocumentInterface {
|
|
|
30
30
|
ArchiveByIssuer: damlTypes.Choice<Document, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Document, undefined>>;
|
|
31
31
|
}
|
|
32
32
|
export declare const Document:
|
|
33
|
-
damlTypes.Template<Document, undefined, '#OpenCapTable-
|
|
33
|
+
damlTypes.Template<Document, undefined, '#OpenCapTable-v20:Fairmint.OpenCapTable.Document:Document'> &
|
|
34
34
|
damlTypes.ToInterface<Document, never> &
|
|
35
35
|
DocumentInterface;
|
|
36
36
|
|
|
@@ -30,7 +30,7 @@ exports.ArchiveByIssuer = {
|
|
|
30
30
|
|
|
31
31
|
exports.Document = damlTypes.assembleTemplate(
|
|
32
32
|
{
|
|
33
|
-
templateId: '#OpenCapTable-
|
|
33
|
+
templateId: '#OpenCapTable-v20:Fairmint.OpenCapTable.Document:Document',
|
|
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, document_data: exports.OcfDocument.decoder, }); }),
|
|
@@ -62,7 +62,7 @@ exports.Document = damlTypes.assembleTemplate(
|
|
|
62
62
|
);
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
damlTypes.registerTemplate(exports.Document, ['
|
|
65
|
+
damlTypes.registerTemplate(exports.Document, ['b08ec87a21d3d9f30305a2ce73230a8eee99360303fd84e4c10a20827553c7cf', '#OpenCapTable-v20']);
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -30,7 +30,7 @@ export declare interface EquityCompensationExerciseInterface {
|
|
|
30
30
|
ArchiveByIssuer: damlTypes.Choice<EquityCompensationExercise, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<EquityCompensationExercise, undefined>>;
|
|
31
31
|
}
|
|
32
32
|
export declare const EquityCompensationExercise:
|
|
33
|
-
damlTypes.Template<EquityCompensationExercise, undefined, '#OpenCapTable-
|
|
33
|
+
damlTypes.Template<EquityCompensationExercise, undefined, '#OpenCapTable-v20:Fairmint.OpenCapTable.EquityCompensationExercise:EquityCompensationExercise'> &
|
|
34
34
|
damlTypes.ToInterface<EquityCompensationExercise, never> &
|
|
35
35
|
EquityCompensationExerciseInterface;
|
|
36
36
|
|
|
@@ -30,7 +30,7 @@ exports.ArchiveByIssuer = {
|
|
|
30
30
|
|
|
31
31
|
exports.EquityCompensationExercise = damlTypes.assembleTemplate(
|
|
32
32
|
{
|
|
33
|
-
templateId: '#OpenCapTable-
|
|
33
|
+
templateId: '#OpenCapTable-v20:Fairmint.OpenCapTable.EquityCompensationExercise:EquityCompensationExercise',
|
|
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, exercise_data: exports.OcfEquityCompensationExerciseData.decoder, }); }),
|
|
@@ -62,7 +62,7 @@ exports.EquityCompensationExercise = damlTypes.assembleTemplate(
|
|
|
62
62
|
);
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
damlTypes.registerTemplate(exports.EquityCompensationExercise, ['
|
|
65
|
+
damlTypes.registerTemplate(exports.EquityCompensationExercise, ['b08ec87a21d3d9f30305a2ce73230a8eee99360303fd84e4c10a20827553c7cf', '#OpenCapTable-v20']);
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -30,7 +30,7 @@ export declare interface EquityCompensationIssuanceInterface {
|
|
|
30
30
|
ArchiveByIssuer: damlTypes.Choice<EquityCompensationIssuance, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<EquityCompensationIssuance, undefined>>;
|
|
31
31
|
}
|
|
32
32
|
export declare const EquityCompensationIssuance:
|
|
33
|
-
damlTypes.Template<EquityCompensationIssuance, undefined, '#OpenCapTable-
|
|
33
|
+
damlTypes.Template<EquityCompensationIssuance, undefined, '#OpenCapTable-v20:Fairmint.OpenCapTable.EquityCompensationIssuance:EquityCompensationIssuance'> &
|
|
34
34
|
damlTypes.ToInterface<EquityCompensationIssuance, never> &
|
|
35
35
|
EquityCompensationIssuanceInterface;
|
|
36
36
|
|
|
@@ -30,7 +30,7 @@ exports.ArchiveByIssuer = {
|
|
|
30
30
|
|
|
31
31
|
exports.EquityCompensationIssuance = damlTypes.assembleTemplate(
|
|
32
32
|
{
|
|
33
|
-
templateId: '#OpenCapTable-
|
|
33
|
+
templateId: '#OpenCapTable-v20:Fairmint.OpenCapTable.EquityCompensationIssuance:EquityCompensationIssuance',
|
|
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.OcfEquityCompensationIssuanceTxData.decoder, }); }),
|
|
@@ -62,7 +62,7 @@ exports.EquityCompensationIssuance = damlTypes.assembleTemplate(
|
|
|
62
62
|
);
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
damlTypes.registerTemplate(exports.EquityCompensationIssuance, ['
|
|
65
|
+
damlTypes.registerTemplate(exports.EquityCompensationIssuance, ['b08ec87a21d3d9f30305a2ce73230a8eee99360303fd84e4c10a20827553c7cf', '#OpenCapTable-v20']);
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -9,14 +9,22 @@ import * as damlLedger from '@daml/ledger';
|
|
|
9
9
|
|
|
10
10
|
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';
|
|
11
11
|
|
|
12
|
+
import * as Fairmint_OpenCapTable_ConvertibleIssuance from '../../../Fairmint/OpenCapTable/ConvertibleIssuance/module';
|
|
12
13
|
import * as Fairmint_OpenCapTable_Document from '../../../Fairmint/OpenCapTable/Document/module';
|
|
14
|
+
import * as Fairmint_OpenCapTable_EquityCompensationExercise from '../../../Fairmint/OpenCapTable/EquityCompensationExercise/module';
|
|
15
|
+
import * as Fairmint_OpenCapTable_EquityCompensationIssuance from '../../../Fairmint/OpenCapTable/EquityCompensationIssuance/module';
|
|
16
|
+
import * as Fairmint_OpenCapTable_IssuerAuthorizedSharesAdjustment from '../../../Fairmint/OpenCapTable/IssuerAuthorizedSharesAdjustment/module';
|
|
13
17
|
import * as Fairmint_OpenCapTable_Stakeholder from '../../../Fairmint/OpenCapTable/Stakeholder/module';
|
|
18
|
+
import * as Fairmint_OpenCapTable_StockCancellation from '../../../Fairmint/OpenCapTable/StockCancellation/module';
|
|
14
19
|
import * as Fairmint_OpenCapTable_StockClass from '../../../Fairmint/OpenCapTable/StockClass/module';
|
|
20
|
+
import * as Fairmint_OpenCapTable_StockClassAuthorizedSharesAdjustment from '../../../Fairmint/OpenCapTable/StockClassAuthorizedSharesAdjustment/module';
|
|
15
21
|
import * as Fairmint_OpenCapTable_StockIssuance from '../../../Fairmint/OpenCapTable/StockIssuance/module';
|
|
16
22
|
import * as Fairmint_OpenCapTable_StockLegendTemplate from '../../../Fairmint/OpenCapTable/StockLegendTemplate/module';
|
|
17
23
|
import * as Fairmint_OpenCapTable_StockPlan from '../../../Fairmint/OpenCapTable/StockPlan/module';
|
|
24
|
+
import * as Fairmint_OpenCapTable_StockPlanPoolAdjustment from '../../../Fairmint/OpenCapTable/StockPlanPoolAdjustment/module';
|
|
18
25
|
import * as Fairmint_OpenCapTable_Types from '../../../Fairmint/OpenCapTable/Types/module';
|
|
19
26
|
import * as Fairmint_OpenCapTable_VestingTerms from '../../../Fairmint/OpenCapTable/VestingTerms/module';
|
|
27
|
+
import * as Fairmint_OpenCapTable_WarrantIssuance from '../../../Fairmint/OpenCapTable/WarrantIssuance/module';
|
|
20
28
|
|
|
21
29
|
export declare type ArchiveByIssuer = {
|
|
22
30
|
};
|
|
@@ -27,6 +35,86 @@ export declare const ArchiveByIssuer:
|
|
|
27
35
|
;
|
|
28
36
|
|
|
29
37
|
|
|
38
|
+
export declare type CreateConvertibleIssuance = {
|
|
39
|
+
issuance_data: Fairmint_OpenCapTable_ConvertibleIssuance.OcfConvertibleIssuanceTxData;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export declare const CreateConvertibleIssuance:
|
|
43
|
+
damlTypes.Serializable<CreateConvertibleIssuance> & {
|
|
44
|
+
}
|
|
45
|
+
;
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
export declare type CreateEquityCompensationExercise = {
|
|
49
|
+
exercise_data: Fairmint_OpenCapTable_EquityCompensationExercise.OcfEquityCompensationExerciseData;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export declare const CreateEquityCompensationExercise:
|
|
53
|
+
damlTypes.Serializable<CreateEquityCompensationExercise> & {
|
|
54
|
+
}
|
|
55
|
+
;
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
export declare type CreateEquityCompensationIssuance = {
|
|
59
|
+
issuance_data: Fairmint_OpenCapTable_EquityCompensationIssuance.OcfEquityCompensationIssuanceTxData;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
export declare const CreateEquityCompensationIssuance:
|
|
63
|
+
damlTypes.Serializable<CreateEquityCompensationIssuance> & {
|
|
64
|
+
}
|
|
65
|
+
;
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
export declare type CreateIssuerAuthorizedSharesAdjustment = {
|
|
69
|
+
adjustment_data: Fairmint_OpenCapTable_IssuerAuthorizedSharesAdjustment.OcfIssuerAuthorizedSharesAdjustmentData;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export declare const CreateIssuerAuthorizedSharesAdjustment:
|
|
73
|
+
damlTypes.Serializable<CreateIssuerAuthorizedSharesAdjustment> & {
|
|
74
|
+
}
|
|
75
|
+
;
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
export declare type CreateStockCancellation = {
|
|
79
|
+
cancellation_data: Fairmint_OpenCapTable_StockCancellation.OcfStockCancellationData;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
export declare const CreateStockCancellation:
|
|
83
|
+
damlTypes.Serializable<CreateStockCancellation> & {
|
|
84
|
+
}
|
|
85
|
+
;
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
export declare type CreateStockClassAuthorizedSharesAdjustment = {
|
|
89
|
+
adjustment_data: Fairmint_OpenCapTable_StockClassAuthorizedSharesAdjustment.OcfStockClassAuthorizedSharesAdjustmentData;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
export declare const CreateStockClassAuthorizedSharesAdjustment:
|
|
93
|
+
damlTypes.Serializable<CreateStockClassAuthorizedSharesAdjustment> & {
|
|
94
|
+
}
|
|
95
|
+
;
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
export declare type CreateStockPlanPoolAdjustment = {
|
|
99
|
+
adjustment_data: Fairmint_OpenCapTable_StockPlanPoolAdjustment.OcfStockPlanPoolAdjustmentData;
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
export declare const CreateStockPlanPoolAdjustment:
|
|
103
|
+
damlTypes.Serializable<CreateStockPlanPoolAdjustment> & {
|
|
104
|
+
}
|
|
105
|
+
;
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
export declare type CreateWarrantIssuance = {
|
|
109
|
+
issuance_data: Fairmint_OpenCapTable_WarrantIssuance.OcfWarrantIssuanceData;
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
export declare const CreateWarrantIssuance:
|
|
113
|
+
damlTypes.Serializable<CreateWarrantIssuance> & {
|
|
114
|
+
}
|
|
115
|
+
;
|
|
116
|
+
|
|
117
|
+
|
|
30
118
|
export declare type CreateStockIssuance = {
|
|
31
119
|
issuance_data: Fairmint_OpenCapTable_StockIssuance.OcfStockIssuanceData;
|
|
32
120
|
};
|
|
@@ -110,11 +198,19 @@ export declare interface IssuerInterface {
|
|
|
110
198
|
CreateVestingTerms: damlTypes.Choice<Issuer, CreateVestingTerms, damlTypes.ContractId<Fairmint_OpenCapTable_VestingTerms.VestingTerms>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
111
199
|
CreateDocument: damlTypes.Choice<Issuer, CreateDocument, damlTypes.ContractId<Fairmint_OpenCapTable_Document.Document>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
112
200
|
CreateStockIssuance: damlTypes.Choice<Issuer, CreateStockIssuance, damlTypes.ContractId<Fairmint_OpenCapTable_StockIssuance.StockIssuance>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
201
|
+
CreateWarrantIssuance: damlTypes.Choice<Issuer, CreateWarrantIssuance, damlTypes.ContractId<Fairmint_OpenCapTable_WarrantIssuance.WarrantIssuance>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
202
|
+
CreateStockPlanPoolAdjustment: damlTypes.Choice<Issuer, CreateStockPlanPoolAdjustment, damlTypes.ContractId<Fairmint_OpenCapTable_StockPlanPoolAdjustment.StockPlanPoolAdjustment>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
203
|
+
CreateStockClassAuthorizedSharesAdjustment: damlTypes.Choice<Issuer, CreateStockClassAuthorizedSharesAdjustment, damlTypes.ContractId<Fairmint_OpenCapTable_StockClassAuthorizedSharesAdjustment.StockClassAuthorizedSharesAdjustment>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
204
|
+
CreateStockCancellation: damlTypes.Choice<Issuer, CreateStockCancellation, damlTypes.ContractId<Fairmint_OpenCapTable_StockCancellation.StockCancellation>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
205
|
+
CreateIssuerAuthorizedSharesAdjustment: damlTypes.Choice<Issuer, CreateIssuerAuthorizedSharesAdjustment, damlTypes.ContractId<Fairmint_OpenCapTable_IssuerAuthorizedSharesAdjustment.IssuerAuthorizedSharesAdjustment>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
206
|
+
CreateEquityCompensationIssuance: damlTypes.Choice<Issuer, CreateEquityCompensationIssuance, damlTypes.ContractId<Fairmint_OpenCapTable_EquityCompensationIssuance.EquityCompensationIssuance>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
207
|
+
CreateEquityCompensationExercise: damlTypes.Choice<Issuer, CreateEquityCompensationExercise, damlTypes.ContractId<Fairmint_OpenCapTable_EquityCompensationExercise.EquityCompensationExercise>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
208
|
+
CreateConvertibleIssuance: damlTypes.Choice<Issuer, CreateConvertibleIssuance, damlTypes.ContractId<Fairmint_OpenCapTable_ConvertibleIssuance.ConvertibleIssuance>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
113
209
|
Archive: damlTypes.Choice<Issuer, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
114
210
|
ArchiveByIssuer: damlTypes.Choice<Issuer, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
115
211
|
}
|
|
116
212
|
export declare const Issuer:
|
|
117
|
-
damlTypes.Template<Issuer, undefined, '#OpenCapTable-
|
|
213
|
+
damlTypes.Template<Issuer, undefined, '#OpenCapTable-v20:Fairmint.OpenCapTable.Issuer:Issuer'> &
|
|
118
214
|
damlTypes.ToInterface<Issuer, never> &
|
|
119
215
|
IssuerInterface;
|
|
120
216
|
|
|
@@ -14,14 +14,22 @@ var damlLedger = require('@daml/ledger');
|
|
|
14
14
|
|
|
15
15
|
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA/Internal/Template');
|
|
16
16
|
|
|
17
|
+
var Fairmint_OpenCapTable_ConvertibleIssuance = require('../../../Fairmint/OpenCapTable/ConvertibleIssuance/module');
|
|
17
18
|
var Fairmint_OpenCapTable_Document = require('../../../Fairmint/OpenCapTable/Document/module');
|
|
19
|
+
var Fairmint_OpenCapTable_EquityCompensationExercise = require('../../../Fairmint/OpenCapTable/EquityCompensationExercise/module');
|
|
20
|
+
var Fairmint_OpenCapTable_EquityCompensationIssuance = require('../../../Fairmint/OpenCapTable/EquityCompensationIssuance/module');
|
|
21
|
+
var Fairmint_OpenCapTable_IssuerAuthorizedSharesAdjustment = require('../../../Fairmint/OpenCapTable/IssuerAuthorizedSharesAdjustment/module');
|
|
18
22
|
var Fairmint_OpenCapTable_Stakeholder = require('../../../Fairmint/OpenCapTable/Stakeholder/module');
|
|
23
|
+
var Fairmint_OpenCapTable_StockCancellation = require('../../../Fairmint/OpenCapTable/StockCancellation/module');
|
|
19
24
|
var Fairmint_OpenCapTable_StockClass = require('../../../Fairmint/OpenCapTable/StockClass/module');
|
|
25
|
+
var Fairmint_OpenCapTable_StockClassAuthorizedSharesAdjustment = require('../../../Fairmint/OpenCapTable/StockClassAuthorizedSharesAdjustment/module');
|
|
20
26
|
var Fairmint_OpenCapTable_StockIssuance = require('../../../Fairmint/OpenCapTable/StockIssuance/module');
|
|
21
27
|
var Fairmint_OpenCapTable_StockLegendTemplate = require('../../../Fairmint/OpenCapTable/StockLegendTemplate/module');
|
|
22
28
|
var Fairmint_OpenCapTable_StockPlan = require('../../../Fairmint/OpenCapTable/StockPlan/module');
|
|
29
|
+
var Fairmint_OpenCapTable_StockPlanPoolAdjustment = require('../../../Fairmint/OpenCapTable/StockPlanPoolAdjustment/module');
|
|
23
30
|
var Fairmint_OpenCapTable_Types = require('../../../Fairmint/OpenCapTable/Types/module');
|
|
24
31
|
var Fairmint_OpenCapTable_VestingTerms = require('../../../Fairmint/OpenCapTable/VestingTerms/module');
|
|
32
|
+
var Fairmint_OpenCapTable_WarrantIssuance = require('../../../Fairmint/OpenCapTable/WarrantIssuance/module');
|
|
25
33
|
|
|
26
34
|
|
|
27
35
|
exports.ArchiveByIssuer = {
|
|
@@ -35,6 +43,102 @@ exports.ArchiveByIssuer = {
|
|
|
35
43
|
|
|
36
44
|
|
|
37
45
|
|
|
46
|
+
exports.CreateConvertibleIssuance = {
|
|
47
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({issuance_data: Fairmint_OpenCapTable_ConvertibleIssuance.OcfConvertibleIssuanceTxData.decoder, }); }),
|
|
48
|
+
encode: function (__typed__) {
|
|
49
|
+
return {
|
|
50
|
+
issuance_data: Fairmint_OpenCapTable_ConvertibleIssuance.OcfConvertibleIssuanceTxData.encode(__typed__.issuance_data),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
,
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
exports.CreateEquityCompensationExercise = {
|
|
59
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({exercise_data: Fairmint_OpenCapTable_EquityCompensationExercise.OcfEquityCompensationExerciseData.decoder, }); }),
|
|
60
|
+
encode: function (__typed__) {
|
|
61
|
+
return {
|
|
62
|
+
exercise_data: Fairmint_OpenCapTable_EquityCompensationExercise.OcfEquityCompensationExerciseData.encode(__typed__.exercise_data),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
,
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
exports.CreateEquityCompensationIssuance = {
|
|
71
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({issuance_data: Fairmint_OpenCapTable_EquityCompensationIssuance.OcfEquityCompensationIssuanceTxData.decoder, }); }),
|
|
72
|
+
encode: function (__typed__) {
|
|
73
|
+
return {
|
|
74
|
+
issuance_data: Fairmint_OpenCapTable_EquityCompensationIssuance.OcfEquityCompensationIssuanceTxData.encode(__typed__.issuance_data),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
,
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
exports.CreateIssuerAuthorizedSharesAdjustment = {
|
|
83
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({adjustment_data: Fairmint_OpenCapTable_IssuerAuthorizedSharesAdjustment.OcfIssuerAuthorizedSharesAdjustmentData.decoder, }); }),
|
|
84
|
+
encode: function (__typed__) {
|
|
85
|
+
return {
|
|
86
|
+
adjustment_data: Fairmint_OpenCapTable_IssuerAuthorizedSharesAdjustment.OcfIssuerAuthorizedSharesAdjustmentData.encode(__typed__.adjustment_data),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
,
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
exports.CreateStockCancellation = {
|
|
95
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({cancellation_data: Fairmint_OpenCapTable_StockCancellation.OcfStockCancellationData.decoder, }); }),
|
|
96
|
+
encode: function (__typed__) {
|
|
97
|
+
return {
|
|
98
|
+
cancellation_data: Fairmint_OpenCapTable_StockCancellation.OcfStockCancellationData.encode(__typed__.cancellation_data),
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
,
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
exports.CreateStockClassAuthorizedSharesAdjustment = {
|
|
107
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({adjustment_data: Fairmint_OpenCapTable_StockClassAuthorizedSharesAdjustment.OcfStockClassAuthorizedSharesAdjustmentData.decoder, }); }),
|
|
108
|
+
encode: function (__typed__) {
|
|
109
|
+
return {
|
|
110
|
+
adjustment_data: Fairmint_OpenCapTable_StockClassAuthorizedSharesAdjustment.OcfStockClassAuthorizedSharesAdjustmentData.encode(__typed__.adjustment_data),
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
,
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
exports.CreateStockPlanPoolAdjustment = {
|
|
119
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({adjustment_data: Fairmint_OpenCapTable_StockPlanPoolAdjustment.OcfStockPlanPoolAdjustmentData.decoder, }); }),
|
|
120
|
+
encode: function (__typed__) {
|
|
121
|
+
return {
|
|
122
|
+
adjustment_data: Fairmint_OpenCapTable_StockPlanPoolAdjustment.OcfStockPlanPoolAdjustmentData.encode(__typed__.adjustment_data),
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
,
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
exports.CreateWarrantIssuance = {
|
|
131
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({issuance_data: Fairmint_OpenCapTable_WarrantIssuance.OcfWarrantIssuanceData.decoder, }); }),
|
|
132
|
+
encode: function (__typed__) {
|
|
133
|
+
return {
|
|
134
|
+
issuance_data: Fairmint_OpenCapTable_WarrantIssuance.OcfWarrantIssuanceData.encode(__typed__.issuance_data),
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
,
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
38
142
|
exports.CreateStockIssuance = {
|
|
39
143
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({issuance_data: Fairmint_OpenCapTable_StockIssuance.OcfStockIssuanceData.decoder, }); }),
|
|
40
144
|
encode: function (__typed__) {
|
|
@@ -121,7 +225,7 @@ exports.CreateStockClass = {
|
|
|
121
225
|
|
|
122
226
|
exports.Issuer = damlTypes.assembleTemplate(
|
|
123
227
|
{
|
|
124
|
-
templateId: '#OpenCapTable-
|
|
228
|
+
templateId: '#OpenCapTable-v20:Fairmint.OpenCapTable.Issuer:Issuer',
|
|
125
229
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
126
230
|
keyEncode: function () { throw 'EncodeError'; },
|
|
127
231
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, issuer_data: exports.OcfIssuerData.decoder, }); }),
|
|
@@ -188,6 +292,70 @@ exports.Issuer = damlTypes.assembleTemplate(
|
|
|
188
292
|
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(Fairmint_OpenCapTable_StockIssuance.StockIssuance).decoder; }),
|
|
189
293
|
resultEncode: function (__typed__) { return damlTypes.ContractId(Fairmint_OpenCapTable_StockIssuance.StockIssuance).encode(__typed__); },
|
|
190
294
|
},
|
|
295
|
+
CreateWarrantIssuance: {
|
|
296
|
+
template: function () { return exports.Issuer; },
|
|
297
|
+
choiceName: 'CreateWarrantIssuance',
|
|
298
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.CreateWarrantIssuance.decoder; }),
|
|
299
|
+
argumentEncode: function (__typed__) { return exports.CreateWarrantIssuance.encode(__typed__); },
|
|
300
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(Fairmint_OpenCapTable_WarrantIssuance.WarrantIssuance).decoder; }),
|
|
301
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(Fairmint_OpenCapTable_WarrantIssuance.WarrantIssuance).encode(__typed__); },
|
|
302
|
+
},
|
|
303
|
+
CreateStockPlanPoolAdjustment: {
|
|
304
|
+
template: function () { return exports.Issuer; },
|
|
305
|
+
choiceName: 'CreateStockPlanPoolAdjustment',
|
|
306
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.CreateStockPlanPoolAdjustment.decoder; }),
|
|
307
|
+
argumentEncode: function (__typed__) { return exports.CreateStockPlanPoolAdjustment.encode(__typed__); },
|
|
308
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(Fairmint_OpenCapTable_StockPlanPoolAdjustment.StockPlanPoolAdjustment).decoder; }),
|
|
309
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(Fairmint_OpenCapTable_StockPlanPoolAdjustment.StockPlanPoolAdjustment).encode(__typed__); },
|
|
310
|
+
},
|
|
311
|
+
CreateStockClassAuthorizedSharesAdjustment: {
|
|
312
|
+
template: function () { return exports.Issuer; },
|
|
313
|
+
choiceName: 'CreateStockClassAuthorizedSharesAdjustment',
|
|
314
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.CreateStockClassAuthorizedSharesAdjustment.decoder; }),
|
|
315
|
+
argumentEncode: function (__typed__) { return exports.CreateStockClassAuthorizedSharesAdjustment.encode(__typed__); },
|
|
316
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(Fairmint_OpenCapTable_StockClassAuthorizedSharesAdjustment.StockClassAuthorizedSharesAdjustment).decoder; }),
|
|
317
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(Fairmint_OpenCapTable_StockClassAuthorizedSharesAdjustment.StockClassAuthorizedSharesAdjustment).encode(__typed__); },
|
|
318
|
+
},
|
|
319
|
+
CreateStockCancellation: {
|
|
320
|
+
template: function () { return exports.Issuer; },
|
|
321
|
+
choiceName: 'CreateStockCancellation',
|
|
322
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.CreateStockCancellation.decoder; }),
|
|
323
|
+
argumentEncode: function (__typed__) { return exports.CreateStockCancellation.encode(__typed__); },
|
|
324
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(Fairmint_OpenCapTable_StockCancellation.StockCancellation).decoder; }),
|
|
325
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(Fairmint_OpenCapTable_StockCancellation.StockCancellation).encode(__typed__); },
|
|
326
|
+
},
|
|
327
|
+
CreateIssuerAuthorizedSharesAdjustment: {
|
|
328
|
+
template: function () { return exports.Issuer; },
|
|
329
|
+
choiceName: 'CreateIssuerAuthorizedSharesAdjustment',
|
|
330
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.CreateIssuerAuthorizedSharesAdjustment.decoder; }),
|
|
331
|
+
argumentEncode: function (__typed__) { return exports.CreateIssuerAuthorizedSharesAdjustment.encode(__typed__); },
|
|
332
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(Fairmint_OpenCapTable_IssuerAuthorizedSharesAdjustment.IssuerAuthorizedSharesAdjustment).decoder; }),
|
|
333
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(Fairmint_OpenCapTable_IssuerAuthorizedSharesAdjustment.IssuerAuthorizedSharesAdjustment).encode(__typed__); },
|
|
334
|
+
},
|
|
335
|
+
CreateEquityCompensationIssuance: {
|
|
336
|
+
template: function () { return exports.Issuer; },
|
|
337
|
+
choiceName: 'CreateEquityCompensationIssuance',
|
|
338
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.CreateEquityCompensationIssuance.decoder; }),
|
|
339
|
+
argumentEncode: function (__typed__) { return exports.CreateEquityCompensationIssuance.encode(__typed__); },
|
|
340
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(Fairmint_OpenCapTable_EquityCompensationIssuance.EquityCompensationIssuance).decoder; }),
|
|
341
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(Fairmint_OpenCapTable_EquityCompensationIssuance.EquityCompensationIssuance).encode(__typed__); },
|
|
342
|
+
},
|
|
343
|
+
CreateEquityCompensationExercise: {
|
|
344
|
+
template: function () { return exports.Issuer; },
|
|
345
|
+
choiceName: 'CreateEquityCompensationExercise',
|
|
346
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.CreateEquityCompensationExercise.decoder; }),
|
|
347
|
+
argumentEncode: function (__typed__) { return exports.CreateEquityCompensationExercise.encode(__typed__); },
|
|
348
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(Fairmint_OpenCapTable_EquityCompensationExercise.EquityCompensationExercise).decoder; }),
|
|
349
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(Fairmint_OpenCapTable_EquityCompensationExercise.EquityCompensationExercise).encode(__typed__); },
|
|
350
|
+
},
|
|
351
|
+
CreateConvertibleIssuance: {
|
|
352
|
+
template: function () { return exports.Issuer; },
|
|
353
|
+
choiceName: 'CreateConvertibleIssuance',
|
|
354
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.CreateConvertibleIssuance.decoder; }),
|
|
355
|
+
argumentEncode: function (__typed__) { return exports.CreateConvertibleIssuance.encode(__typed__); },
|
|
356
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(Fairmint_OpenCapTable_ConvertibleIssuance.ConvertibleIssuance).decoder; }),
|
|
357
|
+
resultEncode: function (__typed__) { return damlTypes.ContractId(Fairmint_OpenCapTable_ConvertibleIssuance.ConvertibleIssuance).encode(__typed__); },
|
|
358
|
+
},
|
|
191
359
|
Archive: {
|
|
192
360
|
template: function () { return exports.Issuer; },
|
|
193
361
|
choiceName: 'Archive',
|
|
@@ -209,7 +377,7 @@ exports.Issuer = damlTypes.assembleTemplate(
|
|
|
209
377
|
);
|
|
210
378
|
|
|
211
379
|
|
|
212
|
-
damlTypes.registerTemplate(exports.Issuer, ['
|
|
380
|
+
damlTypes.registerTemplate(exports.Issuer, ['b08ec87a21d3d9f30305a2ce73230a8eee99360303fd84e4c10a20827553c7cf', '#OpenCapTable-v20']);
|
|
213
381
|
|
|
214
382
|
|
|
215
383
|
|
|
@@ -41,7 +41,7 @@ export declare interface IssuerAuthorizationInterface {
|
|
|
41
41
|
WithdrawAuthorization: damlTypes.Choice<IssuerAuthorization, WithdrawAuthorization, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<IssuerAuthorization, undefined>>;
|
|
42
42
|
}
|
|
43
43
|
export declare const IssuerAuthorization:
|
|
44
|
-
damlTypes.Template<IssuerAuthorization, undefined, '#OpenCapTable-
|
|
44
|
+
damlTypes.Template<IssuerAuthorization, undefined, '#OpenCapTable-v20:Fairmint.OpenCapTable.IssuerAuthorization:IssuerAuthorization'> &
|
|
45
45
|
damlTypes.ToInterface<IssuerAuthorization, never> &
|
|
46
46
|
IssuerAuthorizationInterface;
|
|
47
47
|
|
|
@@ -43,7 +43,7 @@ exports.CreateIssuer = {
|
|
|
43
43
|
|
|
44
44
|
exports.IssuerAuthorization = damlTypes.assembleTemplate(
|
|
45
45
|
{
|
|
46
|
-
templateId: '#OpenCapTable-
|
|
46
|
+
templateId: '#OpenCapTable-v20:Fairmint.OpenCapTable.IssuerAuthorization:IssuerAuthorization',
|
|
47
47
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
48
48
|
keyEncode: function () { throw 'EncodeError'; },
|
|
49
49
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, }); }),
|
|
@@ -82,5 +82,5 @@ exports.IssuerAuthorization = damlTypes.assembleTemplate(
|
|
|
82
82
|
);
|
|
83
83
|
|
|
84
84
|
|
|
85
|
-
damlTypes.registerTemplate(exports.IssuerAuthorization, ['
|
|
85
|
+
damlTypes.registerTemplate(exports.IssuerAuthorization, ['b08ec87a21d3d9f30305a2ce73230a8eee99360303fd84e4c10a20827553c7cf', '#OpenCapTable-v20']);
|
|
86
86
|
|
|
@@ -30,7 +30,7 @@ export declare interface IssuerAuthorizedSharesAdjustmentInterface {
|
|
|
30
30
|
ArchiveByIssuer: damlTypes.Choice<IssuerAuthorizedSharesAdjustment, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<IssuerAuthorizedSharesAdjustment, undefined>>;
|
|
31
31
|
}
|
|
32
32
|
export declare const IssuerAuthorizedSharesAdjustment:
|
|
33
|
-
damlTypes.Template<IssuerAuthorizedSharesAdjustment, undefined, '#OpenCapTable-
|
|
33
|
+
damlTypes.Template<IssuerAuthorizedSharesAdjustment, undefined, '#OpenCapTable-v20:Fairmint.OpenCapTable.IssuerAuthorizedSharesAdjustment:IssuerAuthorizedSharesAdjustment'> &
|
|
34
34
|
damlTypes.ToInterface<IssuerAuthorizedSharesAdjustment, never> &
|
|
35
35
|
IssuerAuthorizedSharesAdjustmentInterface;
|
|
36
36
|
|
|
@@ -30,7 +30,7 @@ exports.ArchiveByIssuer = {
|
|
|
30
30
|
|
|
31
31
|
exports.IssuerAuthorizedSharesAdjustment = damlTypes.assembleTemplate(
|
|
32
32
|
{
|
|
33
|
-
templateId: '#OpenCapTable-
|
|
33
|
+
templateId: '#OpenCapTable-v20:Fairmint.OpenCapTable.IssuerAuthorizedSharesAdjustment:IssuerAuthorizedSharesAdjustment',
|
|
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.OcfIssuerAuthorizedSharesAdjustmentData.decoder, }); }),
|
|
@@ -62,7 +62,7 @@ exports.IssuerAuthorizedSharesAdjustment = damlTypes.assembleTemplate(
|
|
|
62
62
|
);
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
damlTypes.registerTemplate(exports.IssuerAuthorizedSharesAdjustment, ['
|
|
65
|
+
damlTypes.registerTemplate(exports.IssuerAuthorizedSharesAdjustment, ['b08ec87a21d3d9f30305a2ce73230a8eee99360303fd84e4c10a20827553c7cf', '#OpenCapTable-v20']);
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -32,7 +32,7 @@ export declare interface OcpFactoryInterface {
|
|
|
32
32
|
AuthorizeIssuer: damlTypes.Choice<OcpFactory, AuthorizeIssuer, damlTypes.ContractId<Fairmint_OpenCapTable_IssuerAuthorization.IssuerAuthorization>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<OcpFactory, undefined>>;
|
|
33
33
|
}
|
|
34
34
|
export declare const OcpFactory:
|
|
35
|
-
damlTypes.Template<OcpFactory, undefined, '#OpenCapTable-
|
|
35
|
+
damlTypes.Template<OcpFactory, undefined, '#OpenCapTable-v20:Fairmint.OpenCapTable.OcpFactory:OcpFactory'> &
|
|
36
36
|
damlTypes.ToInterface<OcpFactory, never> &
|
|
37
37
|
OcpFactoryInterface;
|
|
38
38
|
|
|
@@ -32,7 +32,7 @@ exports.AuthorizeIssuer = {
|
|
|
32
32
|
|
|
33
33
|
exports.OcpFactory = damlTypes.assembleTemplate(
|
|
34
34
|
{
|
|
35
|
-
templateId: '#OpenCapTable-
|
|
35
|
+
templateId: '#OpenCapTable-v20:Fairmint.OpenCapTable.OcpFactory:OcpFactory',
|
|
36
36
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
37
37
|
keyEncode: function () { throw 'EncodeError'; },
|
|
38
38
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({system_operator: damlTypes.Party.decoder, featured_app_right: damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight).decoder, }); }),
|
|
@@ -64,5 +64,5 @@ exports.OcpFactory = damlTypes.assembleTemplate(
|
|
|
64
64
|
);
|
|
65
65
|
|
|
66
66
|
|
|
67
|
-
damlTypes.registerTemplate(exports.OcpFactory, ['
|
|
67
|
+
damlTypes.registerTemplate(exports.OcpFactory, ['b08ec87a21d3d9f30305a2ce73230a8eee99360303fd84e4c10a20827553c7cf', '#OpenCapTable-v20']);
|
|
68
68
|
|
|
@@ -30,7 +30,7 @@ export declare interface StakeholderInterface {
|
|
|
30
30
|
ArchiveByIssuer: damlTypes.Choice<Stakeholder, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Stakeholder, undefined>>;
|
|
31
31
|
}
|
|
32
32
|
export declare const Stakeholder:
|
|
33
|
-
damlTypes.Template<Stakeholder, undefined, '#OpenCapTable-
|
|
33
|
+
damlTypes.Template<Stakeholder, undefined, '#OpenCapTable-v20:Fairmint.OpenCapTable.Stakeholder:Stakeholder'> &
|
|
34
34
|
damlTypes.ToInterface<Stakeholder, never> &
|
|
35
35
|
StakeholderInterface;
|
|
36
36
|
|
|
@@ -30,7 +30,7 @@ exports.ArchiveByIssuer = {
|
|
|
30
30
|
|
|
31
31
|
exports.Stakeholder = damlTypes.assembleTemplate(
|
|
32
32
|
{
|
|
33
|
-
templateId: '#OpenCapTable-
|
|
33
|
+
templateId: '#OpenCapTable-v20:Fairmint.OpenCapTable.Stakeholder:Stakeholder',
|
|
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, stakeholder_data: exports.OcfStakeholderData.decoder, }); }),
|
|
@@ -62,7 +62,7 @@ exports.Stakeholder = damlTypes.assembleTemplate(
|
|
|
62
62
|
);
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
damlTypes.registerTemplate(exports.Stakeholder, ['
|
|
65
|
+
damlTypes.registerTemplate(exports.Stakeholder, ['b08ec87a21d3d9f30305a2ce73230a8eee99360303fd84e4c10a20827553c7cf', '#OpenCapTable-v20']);
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -30,7 +30,7 @@ export declare interface StockCancellationInterface {
|
|
|
30
30
|
ArchiveByIssuer: damlTypes.Choice<StockCancellation, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockCancellation, undefined>>;
|
|
31
31
|
}
|
|
32
32
|
export declare const StockCancellation:
|
|
33
|
-
damlTypes.Template<StockCancellation, undefined, '#OpenCapTable-
|
|
33
|
+
damlTypes.Template<StockCancellation, undefined, '#OpenCapTable-v20:Fairmint.OpenCapTable.StockCancellation:StockCancellation'> &
|
|
34
34
|
damlTypes.ToInterface<StockCancellation, never> &
|
|
35
35
|
StockCancellationInterface;
|
|
36
36
|
|
|
@@ -30,7 +30,7 @@ exports.ArchiveByIssuer = {
|
|
|
30
30
|
|
|
31
31
|
exports.StockCancellation = damlTypes.assembleTemplate(
|
|
32
32
|
{
|
|
33
|
-
templateId: '#OpenCapTable-
|
|
33
|
+
templateId: '#OpenCapTable-v20:Fairmint.OpenCapTable.StockCancellation:StockCancellation',
|
|
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, cancellation_data: exports.OcfStockCancellationData.decoder, }); }),
|
|
@@ -62,7 +62,7 @@ exports.StockCancellation = damlTypes.assembleTemplate(
|
|
|
62
62
|
);
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
damlTypes.registerTemplate(exports.StockCancellation, ['
|
|
65
|
+
damlTypes.registerTemplate(exports.StockCancellation, ['b08ec87a21d3d9f30305a2ce73230a8eee99360303fd84e4c10a20827553c7cf', '#OpenCapTable-v20']);
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -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-v20:Fairmint.OpenCapTable.StockClass:StockClass'> &
|
|
34
34
|
damlTypes.ToInterface<StockClass, never> &
|
|
35
35
|
StockClassInterface;
|
|
36
36
|
|
|
@@ -30,7 +30,7 @@ exports.ArchiveByIssuer = {
|
|
|
30
30
|
|
|
31
31
|
exports.StockClass = damlTypes.assembleTemplate(
|
|
32
32
|
{
|
|
33
|
-
templateId: '#OpenCapTable-
|
|
33
|
+
templateId: '#OpenCapTable-v20: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, ['b08ec87a21d3d9f30305a2ce73230a8eee99360303fd84e4c10a20827553c7cf', '#OpenCapTable-v20']);
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -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-v20: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-v20: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, ['b08ec87a21d3d9f30305a2ce73230a8eee99360303fd84e4c10a20827553c7cf', '#OpenCapTable-v20']);
|
|
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-v20: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-v20: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, ['b08ec87a21d3d9f30305a2ce73230a8eee99360303fd84e4c10a20827553c7cf', '#OpenCapTable-v20']);
|
|
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-v20: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-v20: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, ['b08ec87a21d3d9f30305a2ce73230a8eee99360303fd84e4c10a20827553c7cf', '#OpenCapTable-v20']);
|
|
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-v20: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-v20: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, ['b08ec87a21d3d9f30305a2ce73230a8eee99360303fd84e4c10a20827553c7cf', '#OpenCapTable-v20']);
|
|
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-v20: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-v20: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, ['b08ec87a21d3d9f30305a2ce73230a8eee99360303fd84e4c10a20827553c7cf', '#OpenCapTable-v20']);
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -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-v20: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-v20: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, ['b08ec87a21d3d9f30305a2ce73230a8eee99360303fd84e4c10a20827553c7cf', '#OpenCapTable-v20']);
|
|
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-v20: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-v20: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, ['b08ec87a21d3d9f30305a2ce73230a8eee99360303fd84e4c10a20827553c7cf', '#OpenCapTable-v20']);
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -31,7 +31,7 @@ export declare interface WarrantIssuanceInterface {
|
|
|
31
31
|
ArchiveByIssuer: damlTypes.Choice<WarrantIssuance, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<WarrantIssuance, undefined>>;
|
|
32
32
|
}
|
|
33
33
|
export declare const WarrantIssuance:
|
|
34
|
-
damlTypes.Template<WarrantIssuance, undefined, '#OpenCapTable-
|
|
34
|
+
damlTypes.Template<WarrantIssuance, undefined, '#OpenCapTable-v20:Fairmint.OpenCapTable.WarrantIssuance:WarrantIssuance'> &
|
|
35
35
|
damlTypes.ToInterface<WarrantIssuance, never> &
|
|
36
36
|
WarrantIssuanceInterface;
|
|
37
37
|
|
|
@@ -54,8 +54,8 @@ export declare type OcfWarrantIssuanceData = {
|
|
|
54
54
|
stockholder_approval_date: damlTypes.Optional<damlTypes.Time>;
|
|
55
55
|
consideration_text: damlTypes.Optional<string>;
|
|
56
56
|
security_law_exemptions: Fairmint_OpenCapTable_Types.OcfSecurityExemption[];
|
|
57
|
-
quantity: damlTypes.Numeric
|
|
58
|
-
exercise_price: Fairmint_OpenCapTable_Types.OcfMonetary
|
|
57
|
+
quantity: damlTypes.Optional<damlTypes.Numeric>;
|
|
58
|
+
exercise_price: damlTypes.Optional<Fairmint_OpenCapTable_Types.OcfMonetary>;
|
|
59
59
|
purchase_price: Fairmint_OpenCapTable_Types.OcfMonetary;
|
|
60
60
|
exercise_triggers: Fairmint_OpenCapTable_StockClass.OcfConversionTrigger[];
|
|
61
61
|
warrant_expiration_date: damlTypes.Optional<damlTypes.Time>;
|
|
@@ -31,7 +31,7 @@ exports.ArchiveByIssuer = {
|
|
|
31
31
|
|
|
32
32
|
exports.WarrantIssuance = damlTypes.assembleTemplate(
|
|
33
33
|
{
|
|
34
|
-
templateId: '#OpenCapTable-
|
|
34
|
+
templateId: '#OpenCapTable-v20:Fairmint.OpenCapTable.WarrantIssuance:WarrantIssuance',
|
|
35
35
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
36
36
|
keyEncode: function () { throw 'EncodeError'; },
|
|
37
37
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, issuance_data: exports.OcfWarrantIssuanceData.decoder, }); }),
|
|
@@ -63,12 +63,12 @@ exports.WarrantIssuance = damlTypes.assembleTemplate(
|
|
|
63
63
|
);
|
|
64
64
|
|
|
65
65
|
|
|
66
|
-
damlTypes.registerTemplate(exports.WarrantIssuance, ['
|
|
66
|
+
damlTypes.registerTemplate(exports.WarrantIssuance, ['b08ec87a21d3d9f30305a2ce73230a8eee99360303fd84e4c10a20827553c7cf', '#OpenCapTable-v20']);
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
|
|
70
70
|
exports.OcfWarrantIssuanceData = {
|
|
71
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({ocf_id: damlTypes.Text.decoder, date: damlTypes.Time.decoder, security_id: damlTypes.Text.decoder, custom_id: damlTypes.Text.decoder, stakeholder_id: damlTypes.Text.decoder, board_approval_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), stockholder_approval_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), consideration_text: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), security_law_exemptions: damlTypes.List(Fairmint_OpenCapTable_Types.OcfSecurityExemption).decoder, quantity: damlTypes.Numeric(10).decoder, exercise_price: Fairmint_OpenCapTable_Types.OcfMonetary.decoder, purchase_price: Fairmint_OpenCapTable_Types.OcfMonetary.decoder, exercise_triggers: damlTypes.List(Fairmint_OpenCapTable_StockClass.OcfConversionTrigger).decoder, warrant_expiration_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), vesting_terms_id: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), vestings: damlTypes.List(Fairmint_OpenCapTable_Types.OcfVesting).decoder, comments: damlTypes.List(damlTypes.Text).decoder, }); }),
|
|
71
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({ocf_id: damlTypes.Text.decoder, date: damlTypes.Time.decoder, security_id: damlTypes.Text.decoder, custom_id: damlTypes.Text.decoder, stakeholder_id: damlTypes.Text.decoder, board_approval_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), stockholder_approval_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), consideration_text: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), security_law_exemptions: damlTypes.List(Fairmint_OpenCapTable_Types.OcfSecurityExemption).decoder, quantity: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Numeric(10)).decoder), exercise_price: jtv.Decoder.withDefault(null, damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfMonetary).decoder), purchase_price: Fairmint_OpenCapTable_Types.OcfMonetary.decoder, exercise_triggers: damlTypes.List(Fairmint_OpenCapTable_StockClass.OcfConversionTrigger).decoder, warrant_expiration_date: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Time).decoder), vesting_terms_id: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), vestings: damlTypes.List(Fairmint_OpenCapTable_Types.OcfVesting).decoder, comments: damlTypes.List(damlTypes.Text).decoder, }); }),
|
|
72
72
|
encode: function (__typed__) {
|
|
73
73
|
return {
|
|
74
74
|
ocf_id: damlTypes.Text.encode(__typed__.ocf_id),
|
|
@@ -80,8 +80,8 @@ exports.OcfWarrantIssuanceData = {
|
|
|
80
80
|
stockholder_approval_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.stockholder_approval_date),
|
|
81
81
|
consideration_text: damlTypes.Optional(damlTypes.Text).encode(__typed__.consideration_text),
|
|
82
82
|
security_law_exemptions: damlTypes.List(Fairmint_OpenCapTable_Types.OcfSecurityExemption).encode(__typed__.security_law_exemptions),
|
|
83
|
-
quantity: damlTypes.Numeric(10).encode(__typed__.quantity),
|
|
84
|
-
exercise_price: Fairmint_OpenCapTable_Types.OcfMonetary.encode(__typed__.exercise_price),
|
|
83
|
+
quantity: damlTypes.Optional(damlTypes.Numeric(10)).encode(__typed__.quantity),
|
|
84
|
+
exercise_price: damlTypes.Optional(Fairmint_OpenCapTable_Types.OcfMonetary).encode(__typed__.exercise_price),
|
|
85
85
|
purchase_price: Fairmint_OpenCapTable_Types.OcfMonetary.encode(__typed__.purchase_price),
|
|
86
86
|
exercise_triggers: damlTypes.List(Fairmint_OpenCapTable_StockClass.OcfConversionTrigger).encode(__typed__.exercise_triggers),
|
|
87
87
|
warrant_expiration_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.warrant_expiration_date),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fairmint/open-captable-protocol-daml-js",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"description": "Open CapTable Protocol DAML smart contracts with generated JavaScript bindings.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"build": "daml build --all",
|
|
35
35
|
"build:ts": "tsc",
|
|
36
36
|
"clean": "daml clean --all",
|
|
37
|
-
"codegen": "npm run build && cd OpenCapTable-
|
|
37
|
+
"codegen": "npm run build && cd OpenCapTable-v20 && daml codegen js && cd .. && cd OpenCapTableShared-v01 && daml codegen js && cd .. && cd OpenCapTableReports-v01 && daml codegen js && cd .. && tsx scripts/bundle-dependencies.ts && tsx scripts/create-package-index.ts && tsx scripts/create-root-index.ts && npm run build:ts",
|
|
38
38
|
"test": "cd Test && daml test",
|
|
39
39
|
"test:imports": "tsx scripts/test-imports.ts",
|
|
40
40
|
"upload-dar:ocp": "npm run build && ts-node scripts/upload-dar.ts --network devnet && ts-node scripts/upload-dar.ts --network mainnet",
|