@fairmint/open-captable-protocol-daml-js 0.2.4 → 0.2.6
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/index.d.ts +1 -0
- package/lib/Fairmint/OpenCapTable/ConvertibleIssuance/index.js +8 -0
- package/lib/Fairmint/OpenCapTable/ConvertibleIssuance/module.d.ts +69 -0
- package/lib/Fairmint/OpenCapTable/ConvertibleIssuance/module.js +93 -0
- package/lib/Fairmint/OpenCapTable/Document/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/Document/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/EquityCompensationExercise/index.d.ts +1 -0
- package/lib/Fairmint/OpenCapTable/EquityCompensationExercise/index.js +8 -0
- package/lib/Fairmint/OpenCapTable/EquityCompensationExercise/module.d.ts +60 -0
- package/lib/Fairmint/OpenCapTable/EquityCompensationExercise/module.js +84 -0
- package/lib/Fairmint/OpenCapTable/EquityCompensationIssuance/index.d.ts +1 -0
- package/lib/Fairmint/OpenCapTable/EquityCompensationIssuance/index.js +8 -0
- package/lib/Fairmint/OpenCapTable/EquityCompensationIssuance/module.d.ts +74 -0
- package/lib/Fairmint/OpenCapTable/EquityCompensationIssuance/module.js +98 -0
- package/lib/Fairmint/OpenCapTable/Issuer/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/Issuer/module.js +2 -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/index.d.ts +1 -0
- package/lib/Fairmint/OpenCapTable/IssuerAuthorizedSharesAdjustment/index.js +8 -0
- package/lib/Fairmint/OpenCapTable/IssuerAuthorizedSharesAdjustment/module.d.ts +60 -0
- package/lib/Fairmint/OpenCapTable/IssuerAuthorizedSharesAdjustment/module.js +84 -0
- 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/index.d.ts +1 -0
- package/lib/Fairmint/OpenCapTable/StockCancellation/index.js +8 -0
- package/lib/Fairmint/OpenCapTable/StockCancellation/module.d.ts +60 -0
- package/lib/Fairmint/OpenCapTable/StockCancellation/module.js +84 -0
- package/lib/Fairmint/OpenCapTable/StockClass/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/StockClass/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/StockClassAuthorizedSharesAdjustment/index.d.ts +1 -0
- package/lib/Fairmint/OpenCapTable/StockClassAuthorizedSharesAdjustment/index.js +8 -0
- package/lib/Fairmint/OpenCapTable/StockClassAuthorizedSharesAdjustment/module.d.ts +60 -0
- package/lib/Fairmint/OpenCapTable/StockClassAuthorizedSharesAdjustment/module.js +84 -0
- 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/index.d.ts +1 -0
- package/lib/Fairmint/OpenCapTable/StockPlanPoolAdjustment/index.js +8 -0
- package/lib/Fairmint/OpenCapTable/StockPlanPoolAdjustment/module.d.ts +60 -0
- package/lib/Fairmint/OpenCapTable/StockPlanPoolAdjustment/module.js +84 -0
- package/lib/Fairmint/OpenCapTable/Valuation/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/Valuation/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/VestingTerms/module.d.ts +66 -3
- package/lib/Fairmint/OpenCapTable/VestingTerms/module.js +72 -5
- package/lib/Fairmint/OpenCapTable/WarrantIssuance/index.d.ts +1 -0
- package/lib/Fairmint/OpenCapTable/WarrantIssuance/index.js +8 -0
- package/lib/Fairmint/OpenCapTable/WarrantIssuance/module.d.ts +71 -0
- package/lib/Fairmint/OpenCapTable/WarrantIssuance/module.js +95 -0
- package/lib/Fairmint/OpenCapTable/index.d.ts +16 -0
- package/lib/Fairmint/OpenCapTable/index.js +16 -0
- package/package.json +2 -2
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// Generated from Fairmint/OpenCapTable/IssuerAuthorizedSharesAdjustment.daml
|
|
2
|
+
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
+
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
+
import * as damlTypes from '@daml/types';
|
|
7
|
+
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
+
import * as damlLedger from '@daml/ledger';
|
|
9
|
+
|
|
10
|
+
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';
|
|
11
|
+
|
|
12
|
+
import * as Fairmint_OpenCapTable_Types from '../../../Fairmint/OpenCapTable/Types/module';
|
|
13
|
+
|
|
14
|
+
export declare type ArchiveByIssuer = {
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export declare const ArchiveByIssuer:
|
|
18
|
+
damlTypes.Serializable<ArchiveByIssuer> & {
|
|
19
|
+
}
|
|
20
|
+
;
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
export declare type IssuerAuthorizedSharesAdjustment = {
|
|
24
|
+
context: Fairmint_OpenCapTable_Types.Context;
|
|
25
|
+
adjustment_data: OcfIssuerAuthorizedSharesAdjustmentData;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export declare interface IssuerAuthorizedSharesAdjustmentInterface {
|
|
29
|
+
Archive: damlTypes.Choice<IssuerAuthorizedSharesAdjustment, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<IssuerAuthorizedSharesAdjustment, undefined>>;
|
|
30
|
+
ArchiveByIssuer: damlTypes.Choice<IssuerAuthorizedSharesAdjustment, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<IssuerAuthorizedSharesAdjustment, undefined>>;
|
|
31
|
+
}
|
|
32
|
+
export declare const IssuerAuthorizedSharesAdjustment:
|
|
33
|
+
damlTypes.Template<IssuerAuthorizedSharesAdjustment, undefined, '#OpenCapTable-v19:Fairmint.OpenCapTable.IssuerAuthorizedSharesAdjustment:IssuerAuthorizedSharesAdjustment'> &
|
|
34
|
+
damlTypes.ToInterface<IssuerAuthorizedSharesAdjustment, never> &
|
|
35
|
+
IssuerAuthorizedSharesAdjustmentInterface;
|
|
36
|
+
|
|
37
|
+
export declare namespace IssuerAuthorizedSharesAdjustment {
|
|
38
|
+
export type CreateEvent = damlLedger.CreateEvent<IssuerAuthorizedSharesAdjustment, undefined, typeof IssuerAuthorizedSharesAdjustment.templateId>
|
|
39
|
+
export type ArchiveEvent = damlLedger.ArchiveEvent<IssuerAuthorizedSharesAdjustment, typeof IssuerAuthorizedSharesAdjustment.templateId>
|
|
40
|
+
export type Event = damlLedger.Event<IssuerAuthorizedSharesAdjustment, undefined, typeof IssuerAuthorizedSharesAdjustment.templateId>
|
|
41
|
+
export type QueryResult = damlLedger.QueryResult<IssuerAuthorizedSharesAdjustment, undefined, typeof IssuerAuthorizedSharesAdjustment.templateId>
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
export declare type OcfIssuerAuthorizedSharesAdjustmentData = {
|
|
47
|
+
ocf_id: string;
|
|
48
|
+
date: damlTypes.Time;
|
|
49
|
+
issuer_id: string;
|
|
50
|
+
new_shares_authorized: damlTypes.Numeric;
|
|
51
|
+
board_approval_date: damlTypes.Optional<damlTypes.Time>;
|
|
52
|
+
stockholder_approval_date: damlTypes.Optional<damlTypes.Time>;
|
|
53
|
+
comments: string[];
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export declare const OcfIssuerAuthorizedSharesAdjustmentData:
|
|
57
|
+
damlTypes.Serializable<OcfIssuerAuthorizedSharesAdjustmentData> & {
|
|
58
|
+
}
|
|
59
|
+
;
|
|
60
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
+
function __export(m) {
|
|
4
|
+
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
+
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
+
var damlTypes = require('@daml/types');
|
|
12
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
+
var damlLedger = require('@daml/ledger');
|
|
14
|
+
|
|
15
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA/Internal/Template');
|
|
16
|
+
|
|
17
|
+
var Fairmint_OpenCapTable_Types = require('../../../Fairmint/OpenCapTable/Types/module');
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
exports.ArchiveByIssuer = {
|
|
21
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
|
|
22
|
+
encode: function (__typed__) {
|
|
23
|
+
return {
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
exports.IssuerAuthorizedSharesAdjustment = damlTypes.assembleTemplate(
|
|
32
|
+
{
|
|
33
|
+
templateId: '#OpenCapTable-v19:Fairmint.OpenCapTable.IssuerAuthorizedSharesAdjustment:IssuerAuthorizedSharesAdjustment',
|
|
34
|
+
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
35
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
36
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, adjustment_data: exports.OcfIssuerAuthorizedSharesAdjustmentData.decoder, }); }),
|
|
37
|
+
encode: function (__typed__) {
|
|
38
|
+
return {
|
|
39
|
+
context: Fairmint_OpenCapTable_Types.Context.encode(__typed__.context),
|
|
40
|
+
adjustment_data: exports.OcfIssuerAuthorizedSharesAdjustmentData.encode(__typed__.adjustment_data),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
,
|
|
44
|
+
Archive: {
|
|
45
|
+
template: function () { return exports.IssuerAuthorizedSharesAdjustment; },
|
|
46
|
+
choiceName: 'Archive',
|
|
47
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
48
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
49
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
50
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
51
|
+
},
|
|
52
|
+
ArchiveByIssuer: {
|
|
53
|
+
template: function () { return exports.IssuerAuthorizedSharesAdjustment; },
|
|
54
|
+
choiceName: 'ArchiveByIssuer',
|
|
55
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ArchiveByIssuer.decoder; }),
|
|
56
|
+
argumentEncode: function (__typed__) { return exports.ArchiveByIssuer.encode(__typed__); },
|
|
57
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
58
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
59
|
+
},
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
);
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
damlTypes.registerTemplate(exports.IssuerAuthorizedSharesAdjustment, ['ee8d25bd8e905c4469ceb42441a6920c0ddaa5e2238f2c7d9608e9b55d1a48fb', '#OpenCapTable-v19']);
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
exports.OcfIssuerAuthorizedSharesAdjustmentData = {
|
|
70
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({ocf_id: damlTypes.Text.decoder, date: damlTypes.Time.decoder, issuer_id: damlTypes.Text.decoder, new_shares_authorized: damlTypes.Numeric(10).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), comments: damlTypes.List(damlTypes.Text).decoder, }); }),
|
|
71
|
+
encode: function (__typed__) {
|
|
72
|
+
return {
|
|
73
|
+
ocf_id: damlTypes.Text.encode(__typed__.ocf_id),
|
|
74
|
+
date: damlTypes.Time.encode(__typed__.date),
|
|
75
|
+
issuer_id: damlTypes.Text.encode(__typed__.issuer_id),
|
|
76
|
+
new_shares_authorized: damlTypes.Numeric(10).encode(__typed__.new_shares_authorized),
|
|
77
|
+
board_approval_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.board_approval_date),
|
|
78
|
+
stockholder_approval_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.stockholder_approval_date),
|
|
79
|
+
comments: damlTypes.List(damlTypes.Text).encode(__typed__.comments),
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
,
|
|
83
|
+
};
|
|
84
|
+
|
|
@@ -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-v19: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-v19: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, ['ee8d25bd8e905c4469ceb42441a6920c0ddaa5e2238f2c7d9608e9b55d1a48fb', '#OpenCapTable-v19']);
|
|
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-v19: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-v19: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, ['ee8d25bd8e905c4469ceb42441a6920c0ddaa5e2238f2c7d9608e9b55d1a48fb', '#OpenCapTable-v19']);
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './module';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
+
function __export(m) {
|
|
4
|
+
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
__export(require('./module'));
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// Generated from Fairmint/OpenCapTable/StockCancellation.daml
|
|
2
|
+
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
+
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
+
import * as damlTypes from '@daml/types';
|
|
7
|
+
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
+
import * as damlLedger from '@daml/ledger';
|
|
9
|
+
|
|
10
|
+
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';
|
|
11
|
+
|
|
12
|
+
import * as Fairmint_OpenCapTable_Types from '../../../Fairmint/OpenCapTable/Types/module';
|
|
13
|
+
|
|
14
|
+
export declare type ArchiveByIssuer = {
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export declare const ArchiveByIssuer:
|
|
18
|
+
damlTypes.Serializable<ArchiveByIssuer> & {
|
|
19
|
+
}
|
|
20
|
+
;
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
export declare type StockCancellation = {
|
|
24
|
+
context: Fairmint_OpenCapTable_Types.Context;
|
|
25
|
+
cancellation_data: OcfStockCancellationData;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export declare interface StockCancellationInterface {
|
|
29
|
+
Archive: damlTypes.Choice<StockCancellation, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockCancellation, undefined>>;
|
|
30
|
+
ArchiveByIssuer: damlTypes.Choice<StockCancellation, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockCancellation, undefined>>;
|
|
31
|
+
}
|
|
32
|
+
export declare const StockCancellation:
|
|
33
|
+
damlTypes.Template<StockCancellation, undefined, '#OpenCapTable-v19:Fairmint.OpenCapTable.StockCancellation:StockCancellation'> &
|
|
34
|
+
damlTypes.ToInterface<StockCancellation, never> &
|
|
35
|
+
StockCancellationInterface;
|
|
36
|
+
|
|
37
|
+
export declare namespace StockCancellation {
|
|
38
|
+
export type CreateEvent = damlLedger.CreateEvent<StockCancellation, undefined, typeof StockCancellation.templateId>
|
|
39
|
+
export type ArchiveEvent = damlLedger.ArchiveEvent<StockCancellation, typeof StockCancellation.templateId>
|
|
40
|
+
export type Event = damlLedger.Event<StockCancellation, undefined, typeof StockCancellation.templateId>
|
|
41
|
+
export type QueryResult = damlLedger.QueryResult<StockCancellation, undefined, typeof StockCancellation.templateId>
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
export declare type OcfStockCancellationData = {
|
|
47
|
+
ocf_id: string;
|
|
48
|
+
date: damlTypes.Time;
|
|
49
|
+
security_id: string;
|
|
50
|
+
quantity: damlTypes.Numeric;
|
|
51
|
+
balance_security_id: damlTypes.Optional<string>;
|
|
52
|
+
reason_text: string;
|
|
53
|
+
comments: string[];
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export declare const OcfStockCancellationData:
|
|
57
|
+
damlTypes.Serializable<OcfStockCancellationData> & {
|
|
58
|
+
}
|
|
59
|
+
;
|
|
60
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
+
function __export(m) {
|
|
4
|
+
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
+
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
+
var damlTypes = require('@daml/types');
|
|
12
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
+
var damlLedger = require('@daml/ledger');
|
|
14
|
+
|
|
15
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA/Internal/Template');
|
|
16
|
+
|
|
17
|
+
var Fairmint_OpenCapTable_Types = require('../../../Fairmint/OpenCapTable/Types/module');
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
exports.ArchiveByIssuer = {
|
|
21
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
|
|
22
|
+
encode: function (__typed__) {
|
|
23
|
+
return {
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
exports.StockCancellation = damlTypes.assembleTemplate(
|
|
32
|
+
{
|
|
33
|
+
templateId: '#OpenCapTable-v19:Fairmint.OpenCapTable.StockCancellation:StockCancellation',
|
|
34
|
+
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
35
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
36
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, cancellation_data: exports.OcfStockCancellationData.decoder, }); }),
|
|
37
|
+
encode: function (__typed__) {
|
|
38
|
+
return {
|
|
39
|
+
context: Fairmint_OpenCapTable_Types.Context.encode(__typed__.context),
|
|
40
|
+
cancellation_data: exports.OcfStockCancellationData.encode(__typed__.cancellation_data),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
,
|
|
44
|
+
Archive: {
|
|
45
|
+
template: function () { return exports.StockCancellation; },
|
|
46
|
+
choiceName: 'Archive',
|
|
47
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
48
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
49
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
50
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
51
|
+
},
|
|
52
|
+
ArchiveByIssuer: {
|
|
53
|
+
template: function () { return exports.StockCancellation; },
|
|
54
|
+
choiceName: 'ArchiveByIssuer',
|
|
55
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ArchiveByIssuer.decoder; }),
|
|
56
|
+
argumentEncode: function (__typed__) { return exports.ArchiveByIssuer.encode(__typed__); },
|
|
57
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
58
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
59
|
+
},
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
);
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
damlTypes.registerTemplate(exports.StockCancellation, ['ee8d25bd8e905c4469ceb42441a6920c0ddaa5e2238f2c7d9608e9b55d1a48fb', '#OpenCapTable-v19']);
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
exports.OcfStockCancellationData = {
|
|
70
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({ocf_id: damlTypes.Text.decoder, date: damlTypes.Time.decoder, security_id: damlTypes.Text.decoder, quantity: damlTypes.Numeric(10).decoder, balance_security_id: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Text).decoder), reason_text: damlTypes.Text.decoder, comments: damlTypes.List(damlTypes.Text).decoder, }); }),
|
|
71
|
+
encode: function (__typed__) {
|
|
72
|
+
return {
|
|
73
|
+
ocf_id: damlTypes.Text.encode(__typed__.ocf_id),
|
|
74
|
+
date: damlTypes.Time.encode(__typed__.date),
|
|
75
|
+
security_id: damlTypes.Text.encode(__typed__.security_id),
|
|
76
|
+
quantity: damlTypes.Numeric(10).encode(__typed__.quantity),
|
|
77
|
+
balance_security_id: damlTypes.Optional(damlTypes.Text).encode(__typed__.balance_security_id),
|
|
78
|
+
reason_text: damlTypes.Text.encode(__typed__.reason_text),
|
|
79
|
+
comments: damlTypes.List(damlTypes.Text).encode(__typed__.comments),
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
,
|
|
83
|
+
};
|
|
84
|
+
|
|
@@ -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-v19: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-v19: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, ['ee8d25bd8e905c4469ceb42441a6920c0ddaa5e2238f2c7d9608e9b55d1a48fb', '#OpenCapTable-v19']);
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './module';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
+
function __export(m) {
|
|
4
|
+
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
__export(require('./module'));
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// Generated from Fairmint/OpenCapTable/StockClassAuthorizedSharesAdjustment.daml
|
|
2
|
+
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
+
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
+
import * as damlTypes from '@daml/types';
|
|
7
|
+
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
+
import * as damlLedger from '@daml/ledger';
|
|
9
|
+
|
|
10
|
+
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';
|
|
11
|
+
|
|
12
|
+
import * as Fairmint_OpenCapTable_Types from '../../../Fairmint/OpenCapTable/Types/module';
|
|
13
|
+
|
|
14
|
+
export declare type ArchiveByIssuer = {
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export declare const ArchiveByIssuer:
|
|
18
|
+
damlTypes.Serializable<ArchiveByIssuer> & {
|
|
19
|
+
}
|
|
20
|
+
;
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
export declare type StockClassAuthorizedSharesAdjustment = {
|
|
24
|
+
context: Fairmint_OpenCapTable_Types.Context;
|
|
25
|
+
adjustment_data: OcfStockClassAuthorizedSharesAdjustmentData;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export declare interface StockClassAuthorizedSharesAdjustmentInterface {
|
|
29
|
+
Archive: damlTypes.Choice<StockClassAuthorizedSharesAdjustment, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClassAuthorizedSharesAdjustment, undefined>>;
|
|
30
|
+
ArchiveByIssuer: damlTypes.Choice<StockClassAuthorizedSharesAdjustment, ArchiveByIssuer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClassAuthorizedSharesAdjustment, undefined>>;
|
|
31
|
+
}
|
|
32
|
+
export declare const StockClassAuthorizedSharesAdjustment:
|
|
33
|
+
damlTypes.Template<StockClassAuthorizedSharesAdjustment, undefined, '#OpenCapTable-v19:Fairmint.OpenCapTable.StockClassAuthorizedSharesAdjustment:StockClassAuthorizedSharesAdjustment'> &
|
|
34
|
+
damlTypes.ToInterface<StockClassAuthorizedSharesAdjustment, never> &
|
|
35
|
+
StockClassAuthorizedSharesAdjustmentInterface;
|
|
36
|
+
|
|
37
|
+
export declare namespace StockClassAuthorizedSharesAdjustment {
|
|
38
|
+
export type CreateEvent = damlLedger.CreateEvent<StockClassAuthorizedSharesAdjustment, undefined, typeof StockClassAuthorizedSharesAdjustment.templateId>
|
|
39
|
+
export type ArchiveEvent = damlLedger.ArchiveEvent<StockClassAuthorizedSharesAdjustment, typeof StockClassAuthorizedSharesAdjustment.templateId>
|
|
40
|
+
export type Event = damlLedger.Event<StockClassAuthorizedSharesAdjustment, undefined, typeof StockClassAuthorizedSharesAdjustment.templateId>
|
|
41
|
+
export type QueryResult = damlLedger.QueryResult<StockClassAuthorizedSharesAdjustment, undefined, typeof StockClassAuthorizedSharesAdjustment.templateId>
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
export declare type OcfStockClassAuthorizedSharesAdjustmentData = {
|
|
47
|
+
ocf_id: string;
|
|
48
|
+
date: damlTypes.Time;
|
|
49
|
+
stock_class_id: string;
|
|
50
|
+
new_shares_authorized: damlTypes.Numeric;
|
|
51
|
+
board_approval_date: damlTypes.Optional<damlTypes.Time>;
|
|
52
|
+
stockholder_approval_date: damlTypes.Optional<damlTypes.Time>;
|
|
53
|
+
comments: string[];
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export declare const OcfStockClassAuthorizedSharesAdjustmentData:
|
|
57
|
+
damlTypes.Serializable<OcfStockClassAuthorizedSharesAdjustmentData> & {
|
|
58
|
+
}
|
|
59
|
+
;
|
|
60
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
+
function __export(m) {
|
|
4
|
+
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
+
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
+
var damlTypes = require('@daml/types');
|
|
12
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
+
var damlLedger = require('@daml/ledger');
|
|
14
|
+
|
|
15
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA/Internal/Template');
|
|
16
|
+
|
|
17
|
+
var Fairmint_OpenCapTable_Types = require('../../../Fairmint/OpenCapTable/Types/module');
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
exports.ArchiveByIssuer = {
|
|
21
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
|
|
22
|
+
encode: function (__typed__) {
|
|
23
|
+
return {
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
exports.StockClassAuthorizedSharesAdjustment = damlTypes.assembleTemplate(
|
|
32
|
+
{
|
|
33
|
+
templateId: '#OpenCapTable-v19:Fairmint.OpenCapTable.StockClassAuthorizedSharesAdjustment:StockClassAuthorizedSharesAdjustment',
|
|
34
|
+
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
35
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
36
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({context: Fairmint_OpenCapTable_Types.Context.decoder, adjustment_data: exports.OcfStockClassAuthorizedSharesAdjustmentData.decoder, }); }),
|
|
37
|
+
encode: function (__typed__) {
|
|
38
|
+
return {
|
|
39
|
+
context: Fairmint_OpenCapTable_Types.Context.encode(__typed__.context),
|
|
40
|
+
adjustment_data: exports.OcfStockClassAuthorizedSharesAdjustmentData.encode(__typed__.adjustment_data),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
,
|
|
44
|
+
Archive: {
|
|
45
|
+
template: function () { return exports.StockClassAuthorizedSharesAdjustment; },
|
|
46
|
+
choiceName: 'Archive',
|
|
47
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
48
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
49
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
50
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
51
|
+
},
|
|
52
|
+
ArchiveByIssuer: {
|
|
53
|
+
template: function () { return exports.StockClassAuthorizedSharesAdjustment; },
|
|
54
|
+
choiceName: 'ArchiveByIssuer',
|
|
55
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.ArchiveByIssuer.decoder; }),
|
|
56
|
+
argumentEncode: function (__typed__) { return exports.ArchiveByIssuer.encode(__typed__); },
|
|
57
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
58
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
59
|
+
},
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
);
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
damlTypes.registerTemplate(exports.StockClassAuthorizedSharesAdjustment, ['ee8d25bd8e905c4469ceb42441a6920c0ddaa5e2238f2c7d9608e9b55d1a48fb', '#OpenCapTable-v19']);
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
exports.OcfStockClassAuthorizedSharesAdjustmentData = {
|
|
70
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({ocf_id: damlTypes.Text.decoder, date: damlTypes.Time.decoder, stock_class_id: damlTypes.Text.decoder, new_shares_authorized: damlTypes.Numeric(10).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), comments: damlTypes.List(damlTypes.Text).decoder, }); }),
|
|
71
|
+
encode: function (__typed__) {
|
|
72
|
+
return {
|
|
73
|
+
ocf_id: damlTypes.Text.encode(__typed__.ocf_id),
|
|
74
|
+
date: damlTypes.Time.encode(__typed__.date),
|
|
75
|
+
stock_class_id: damlTypes.Text.encode(__typed__.stock_class_id),
|
|
76
|
+
new_shares_authorized: damlTypes.Numeric(10).encode(__typed__.new_shares_authorized),
|
|
77
|
+
board_approval_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.board_approval_date),
|
|
78
|
+
stockholder_approval_date: damlTypes.Optional(damlTypes.Time).encode(__typed__.stockholder_approval_date),
|
|
79
|
+
comments: damlTypes.List(damlTypes.Text).encode(__typed__.comments),
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
,
|
|
83
|
+
};
|
|
84
|
+
|
|
@@ -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-v19: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-v19: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, ['ee8d25bd8e905c4469ceb42441a6920c0ddaa5e2238f2c7d9608e9b55d1a48fb', '#OpenCapTable-v19']);
|
|
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-v19: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-v19: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, ['ee8d25bd8e905c4469ceb42441a6920c0ddaa5e2238f2c7d9608e9b55d1a48fb', '#OpenCapTable-v19']);
|
|
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-v19: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-v19: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, ['ee8d25bd8e905c4469ceb42441a6920c0ddaa5e2238f2c7d9608e9b55d1a48fb', '#OpenCapTable-v19']);
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './module';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
+
function __export(m) {
|
|
4
|
+
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
+
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
__export(require('./module'));
|