@fairmint/open-captable-protocol-daml-js 0.0.41 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/generated/ocp-factory-contract-id.json +4 -4
  2. package/lib/Fairmint/OpenCapTable/Issuer/module.d.ts +222 -2
  3. package/lib/Fairmint/OpenCapTable/Issuer/module.js +341 -8
  4. package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.d.ts +1 -1
  5. package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +2 -2
  6. package/lib/Fairmint/OpenCapTable/OcpFactory/module.d.ts +1 -1
  7. package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +2 -2
  8. package/lib/Fairmint/OpenCapTable/Stakeholder/module.d.ts +49 -0
  9. package/lib/Fairmint/OpenCapTable/Stakeholder/module.js +71 -0
  10. package/lib/Fairmint/OpenCapTable/StockClass/module.d.ts +340 -4
  11. package/lib/Fairmint/OpenCapTable/StockClass/module.js +487 -7
  12. package/lib/Fairmint/OpenCapTable/StockLegendTemplate/index.d.ts +1 -0
  13. package/lib/Fairmint/OpenCapTable/StockLegendTemplate/index.js +8 -0
  14. package/lib/Fairmint/OpenCapTable/StockLegendTemplate/module.d.ts +48 -0
  15. package/lib/Fairmint/OpenCapTable/StockLegendTemplate/module.js +70 -0
  16. package/lib/Fairmint/OpenCapTable/StockPlan/index.d.ts +1 -0
  17. package/lib/Fairmint/OpenCapTable/StockPlan/index.js +8 -0
  18. package/lib/Fairmint/OpenCapTable/StockPlan/module.d.ts +332 -0
  19. package/lib/Fairmint/OpenCapTable/StockPlan/module.js +482 -0
  20. package/lib/Fairmint/OpenCapTable/Types/module.d.ts +510 -3
  21. package/lib/Fairmint/OpenCapTable/Types/module.js +523 -9
  22. package/lib/Fairmint/OpenCapTable/Valuation/index.d.ts +1 -0
  23. package/lib/Fairmint/OpenCapTable/Valuation/index.js +8 -0
  24. package/lib/Fairmint/OpenCapTable/Valuation/module.d.ts +50 -0
  25. package/lib/Fairmint/OpenCapTable/Valuation/module.js +72 -0
  26. package/lib/Fairmint/OpenCapTable/VestingTerms/index.d.ts +1 -0
  27. package/lib/Fairmint/OpenCapTable/VestingTerms/index.js +8 -0
  28. package/lib/Fairmint/OpenCapTable/VestingTerms/module.d.ts +48 -0
  29. package/lib/Fairmint/OpenCapTable/VestingTerms/module.js +70 -0
  30. package/lib/Fairmint/OpenCapTable/index.d.ts +10 -2
  31. package/lib/Fairmint/OpenCapTable/index.js +10 -2
  32. package/package.json +3 -3
  33. package/lib/Fairmint/OpenCapTable/StockPosition/module.d.ts +0 -85
  34. package/lib/Fairmint/OpenCapTable/StockPosition/module.js +0 -124
  35. /package/lib/Fairmint/OpenCapTable/{StockPosition → Stakeholder}/index.d.ts +0 -0
  36. /package/lib/Fairmint/OpenCapTable/{StockPosition → Stakeholder}/index.js +0 -0
@@ -44,7 +44,7 @@ export declare interface IssuerAuthorizationInterface {
44
44
  WithdrawAuthorization: damlTypes.Choice<IssuerAuthorization, WithdrawAuthorization, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<IssuerAuthorization, undefined>>;
45
45
  }
46
46
  export declare const IssuerAuthorization:
47
- damlTypes.Template<IssuerAuthorization, undefined, '#OpenCapTable-v11:Fairmint.OpenCapTable.IssuerAuthorization:IssuerAuthorization'> &
47
+ damlTypes.Template<IssuerAuthorization, undefined, '#OpenCapTable-v12:Fairmint.OpenCapTable.IssuerAuthorization:IssuerAuthorization'> &
48
48
  damlTypes.ToInterface<IssuerAuthorization, never> &
49
49
  IssuerAuthorizationInterface;
50
50
 
@@ -44,7 +44,7 @@ exports.CreateIssuer = {
44
44
 
45
45
  exports.IssuerAuthorization = damlTypes.assembleTemplate(
46
46
  {
47
- templateId: '#OpenCapTable-v11:Fairmint.OpenCapTable.IssuerAuthorization:IssuerAuthorization',
47
+ templateId: '#OpenCapTable-v12:Fairmint.OpenCapTable.IssuerAuthorization:IssuerAuthorization',
48
48
  keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
49
49
  keyEncode: function () { throw 'EncodeError'; },
50
50
  decoder: damlTypes.lazyMemo(function () { return jtv.object({issuer: damlTypes.Party.decoder, system_operator: damlTypes.Party.decoder, featured_app_right: damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight).decoder, }); }),
@@ -85,5 +85,5 @@ exports.IssuerAuthorization = damlTypes.assembleTemplate(
85
85
  );
86
86
 
87
87
 
88
- damlTypes.registerTemplate(exports.IssuerAuthorization, ['c480f158acf374fc9afe4c07224e88f0a63030927788320e8707bf8a2773e9df', '#OpenCapTable-v11']);
88
+ damlTypes.registerTemplate(exports.IssuerAuthorization, ['14af9af7110ec2847e9a3e482f6ca1b480704c603c3e96b0cafa095fe58cd1f0', '#OpenCapTable-v12']);
89
89
 
@@ -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-v11:Fairmint.OpenCapTable.OcpFactory:OcpFactory'> &
35
+ damlTypes.Template<OcpFactory, undefined, '#OpenCapTable-v12: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-v11:Fairmint.OpenCapTable.OcpFactory:OcpFactory',
35
+ templateId: '#OpenCapTable-v12: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, ['c480f158acf374fc9afe4c07224e88f0a63030927788320e8707bf8a2773e9df', '#OpenCapTable-v11']);
67
+ damlTypes.registerTemplate(exports.OcpFactory, ['14af9af7110ec2847e9a3e482f6ca1b480704c603c3e96b0cafa095fe58cd1f0', '#OpenCapTable-v12']);
68
68
 
@@ -0,0 +1,49 @@
1
+ // Generated from Fairmint/OpenCapTable/Stakeholder.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 pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../Splice/Api/FeaturedAppRightV1';
11
+ import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';
12
+
13
+ import * as Fairmint_OpenCapTable_Types from '../../../Fairmint/OpenCapTable/Types/module';
14
+
15
+ export declare type UpdateStakeholderData = {
16
+ new_stakeholder_data: Fairmint_OpenCapTable_Types.OcfStakeholderData;
17
+ };
18
+
19
+ export declare const UpdateStakeholderData:
20
+ damlTypes.Serializable<UpdateStakeholderData> & {
21
+ }
22
+ ;
23
+
24
+
25
+ export declare type Stakeholder = {
26
+ issuer: damlTypes.Party;
27
+ stakeholder: damlTypes.Party;
28
+ stakeholder_data: Fairmint_OpenCapTable_Types.OcfStakeholderData;
29
+ system_operator: damlTypes.Party;
30
+ featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
31
+ };
32
+
33
+ export declare interface StakeholderInterface {
34
+ Archive: damlTypes.Choice<Stakeholder, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Stakeholder, undefined>>;
35
+ UpdateStakeholderData: damlTypes.Choice<Stakeholder, UpdateStakeholderData, damlTypes.ContractId<Stakeholder>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Stakeholder, undefined>>;
36
+ }
37
+ export declare const Stakeholder:
38
+ damlTypes.Template<Stakeholder, undefined, '#OpenCapTable-v12:Fairmint.OpenCapTable.Stakeholder:Stakeholder'> &
39
+ damlTypes.ToInterface<Stakeholder, never> &
40
+ StakeholderInterface;
41
+
42
+ export declare namespace Stakeholder {
43
+ export type CreateEvent = damlLedger.CreateEvent<Stakeholder, undefined, typeof Stakeholder.templateId>
44
+ export type ArchiveEvent = damlLedger.ArchiveEvent<Stakeholder, typeof Stakeholder.templateId>
45
+ export type Event = damlLedger.Event<Stakeholder, undefined, typeof Stakeholder.templateId>
46
+ export type QueryResult = damlLedger.QueryResult<Stakeholder, undefined, typeof Stakeholder.templateId>
47
+ }
48
+
49
+
@@ -0,0 +1,71 @@
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 pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../Splice/Api/FeaturedAppRightV1');
16
+ var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA/Internal/Template');
17
+
18
+ var Fairmint_OpenCapTable_Types = require('../../../Fairmint/OpenCapTable/Types/module');
19
+
20
+
21
+ exports.UpdateStakeholderData = {
22
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({new_stakeholder_data: Fairmint_OpenCapTable_Types.OcfStakeholderData.decoder, }); }),
23
+ encode: function (__typed__) {
24
+ return {
25
+ new_stakeholder_data: Fairmint_OpenCapTable_Types.OcfStakeholderData.encode(__typed__.new_stakeholder_data),
26
+ };
27
+ }
28
+ ,
29
+ };
30
+
31
+
32
+
33
+ exports.Stakeholder = damlTypes.assembleTemplate(
34
+ {
35
+ templateId: '#OpenCapTable-v12:Fairmint.OpenCapTable.Stakeholder:Stakeholder',
36
+ keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
37
+ keyEncode: function () { throw 'EncodeError'; },
38
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({issuer: damlTypes.Party.decoder, stakeholder: damlTypes.Party.decoder, stakeholder_data: Fairmint_OpenCapTable_Types.OcfStakeholderData.decoder, system_operator: damlTypes.Party.decoder, featured_app_right: damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight).decoder, }); }),
39
+ encode: function (__typed__) {
40
+ return {
41
+ issuer: damlTypes.Party.encode(__typed__.issuer),
42
+ stakeholder: damlTypes.Party.encode(__typed__.stakeholder),
43
+ stakeholder_data: Fairmint_OpenCapTable_Types.OcfStakeholderData.encode(__typed__.stakeholder_data),
44
+ system_operator: damlTypes.Party.encode(__typed__.system_operator),
45
+ featured_app_right: damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight).encode(__typed__.featured_app_right),
46
+ };
47
+ }
48
+ ,
49
+ Archive: {
50
+ template: function () { return exports.Stakeholder; },
51
+ choiceName: 'Archive',
52
+ argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
53
+ argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
54
+ resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
55
+ resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
56
+ },
57
+ UpdateStakeholderData: {
58
+ template: function () { return exports.Stakeholder; },
59
+ choiceName: 'UpdateStakeholderData',
60
+ argumentDecoder: damlTypes.lazyMemo(function () { return exports.UpdateStakeholderData.decoder; }),
61
+ argumentEncode: function (__typed__) { return exports.UpdateStakeholderData.encode(__typed__); },
62
+ resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(exports.Stakeholder).decoder; }),
63
+ resultEncode: function (__typed__) { return damlTypes.ContractId(exports.Stakeholder).encode(__typed__); },
64
+ },
65
+ }
66
+
67
+ );
68
+
69
+
70
+ damlTypes.registerTemplate(exports.Stakeholder, ['14af9af7110ec2847e9a3e482f6ca1b480704c603c3e96b0cafa095fe58cd1f0', '#OpenCapTable-v12']);
71
+
@@ -10,9 +10,243 @@ import * as damlLedger from '@daml/ledger';
10
10
  import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../Splice/Api/FeaturedAppRightV1';
11
11
  import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';
12
12
 
13
- import * as Fairmint_OpenCapTable_StockPosition from '../../../Fairmint/OpenCapTable/StockPosition/module';
14
13
  import * as Fairmint_OpenCapTable_Types from '../../../Fairmint/OpenCapTable/Types/module';
15
14
 
15
+ export declare type StockClassAuthorizedSharesAdjustmentEvent = {
16
+ issuer: damlTypes.Party;
17
+ system_operator: damlTypes.Party;
18
+ featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
19
+ stock_class: damlTypes.ContractId<StockClass>;
20
+ new_authorized: damlTypes.Numeric;
21
+ date: damlTypes.Time;
22
+ };
23
+
24
+ export declare interface StockClassAuthorizedSharesAdjustmentEventInterface {
25
+ Archive: damlTypes.Choice<StockClassAuthorizedSharesAdjustmentEvent, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClassAuthorizedSharesAdjustmentEvent, undefined>>;
26
+ }
27
+ export declare const StockClassAuthorizedSharesAdjustmentEvent:
28
+ damlTypes.Template<StockClassAuthorizedSharesAdjustmentEvent, undefined, '#OpenCapTable-v12:Fairmint.OpenCapTable.StockClass:StockClassAuthorizedSharesAdjustmentEvent'> &
29
+ damlTypes.ToInterface<StockClassAuthorizedSharesAdjustmentEvent, never> &
30
+ StockClassAuthorizedSharesAdjustmentEventInterface;
31
+
32
+ export declare namespace StockClassAuthorizedSharesAdjustmentEvent {
33
+ export type CreateEvent = damlLedger.CreateEvent<StockClassAuthorizedSharesAdjustmentEvent, undefined, typeof StockClassAuthorizedSharesAdjustmentEvent.templateId>
34
+ export type ArchiveEvent = damlLedger.ArchiveEvent<StockClassAuthorizedSharesAdjustmentEvent, typeof StockClassAuthorizedSharesAdjustmentEvent.templateId>
35
+ export type Event = damlLedger.Event<StockClassAuthorizedSharesAdjustmentEvent, undefined, typeof StockClassAuthorizedSharesAdjustmentEvent.templateId>
36
+ export type QueryResult = damlLedger.QueryResult<StockClassAuthorizedSharesAdjustmentEvent, undefined, typeof StockClassAuthorizedSharesAdjustmentEvent.templateId>
37
+ }
38
+
39
+
40
+
41
+ export declare type StockClassSplitEvent = {
42
+ issuer: damlTypes.Party;
43
+ system_operator: damlTypes.Party;
44
+ featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
45
+ stock_class: damlTypes.ContractId<StockClass>;
46
+ split_ratio: damlTypes.Numeric;
47
+ date: damlTypes.Time;
48
+ };
49
+
50
+ export declare interface StockClassSplitEventInterface {
51
+ Archive: damlTypes.Choice<StockClassSplitEvent, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClassSplitEvent, undefined>>;
52
+ }
53
+ export declare const StockClassSplitEvent:
54
+ damlTypes.Template<StockClassSplitEvent, undefined, '#OpenCapTable-v12:Fairmint.OpenCapTable.StockClass:StockClassSplitEvent'> &
55
+ damlTypes.ToInterface<StockClassSplitEvent, never> &
56
+ StockClassSplitEventInterface;
57
+
58
+ export declare namespace StockClassSplitEvent {
59
+ export type CreateEvent = damlLedger.CreateEvent<StockClassSplitEvent, undefined, typeof StockClassSplitEvent.templateId>
60
+ export type ArchiveEvent = damlLedger.ArchiveEvent<StockClassSplitEvent, typeof StockClassSplitEvent.templateId>
61
+ export type Event = damlLedger.Event<StockClassSplitEvent, undefined, typeof StockClassSplitEvent.templateId>
62
+ export type QueryResult = damlLedger.QueryResult<StockClassSplitEvent, undefined, typeof StockClassSplitEvent.templateId>
63
+ }
64
+
65
+
66
+
67
+ export declare type StockRetractionEvent = {
68
+ issuer: damlTypes.Party;
69
+ system_operator: damlTypes.Party;
70
+ featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
71
+ stock_class: damlTypes.ContractId<StockClass>;
72
+ from_owner: damlTypes.Party;
73
+ to_owner: damlTypes.Party;
74
+ quantity: damlTypes.Numeric;
75
+ date: damlTypes.Time;
76
+ };
77
+
78
+ export declare interface StockRetractionEventInterface {
79
+ Archive: damlTypes.Choice<StockRetractionEvent, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockRetractionEvent, undefined>>;
80
+ }
81
+ export declare const StockRetractionEvent:
82
+ damlTypes.Template<StockRetractionEvent, undefined, '#OpenCapTable-v12:Fairmint.OpenCapTable.StockClass:StockRetractionEvent'> &
83
+ damlTypes.ToInterface<StockRetractionEvent, never> &
84
+ StockRetractionEventInterface;
85
+
86
+ export declare namespace StockRetractionEvent {
87
+ export type CreateEvent = damlLedger.CreateEvent<StockRetractionEvent, undefined, typeof StockRetractionEvent.templateId>
88
+ export type ArchiveEvent = damlLedger.ArchiveEvent<StockRetractionEvent, typeof StockRetractionEvent.templateId>
89
+ export type Event = damlLedger.Event<StockRetractionEvent, undefined, typeof StockRetractionEvent.templateId>
90
+ export type QueryResult = damlLedger.QueryResult<StockRetractionEvent, undefined, typeof StockRetractionEvent.templateId>
91
+ }
92
+
93
+
94
+
95
+ export declare type StockReissuanceEvent = {
96
+ issuer: damlTypes.Party;
97
+ system_operator: damlTypes.Party;
98
+ featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
99
+ stock_class: damlTypes.ContractId<StockClass>;
100
+ recipient: damlTypes.Party;
101
+ quantity: damlTypes.Numeric;
102
+ date: damlTypes.Time;
103
+ };
104
+
105
+ export declare interface StockReissuanceEventInterface {
106
+ Archive: damlTypes.Choice<StockReissuanceEvent, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockReissuanceEvent, undefined>>;
107
+ }
108
+ export declare const StockReissuanceEvent:
109
+ damlTypes.Template<StockReissuanceEvent, undefined, '#OpenCapTable-v12:Fairmint.OpenCapTable.StockClass:StockReissuanceEvent'> &
110
+ damlTypes.ToInterface<StockReissuanceEvent, never> &
111
+ StockReissuanceEventInterface;
112
+
113
+ export declare namespace StockReissuanceEvent {
114
+ export type CreateEvent = damlLedger.CreateEvent<StockReissuanceEvent, undefined, typeof StockReissuanceEvent.templateId>
115
+ export type ArchiveEvent = damlLedger.ArchiveEvent<StockReissuanceEvent, typeof StockReissuanceEvent.templateId>
116
+ export type Event = damlLedger.Event<StockReissuanceEvent, undefined, typeof StockReissuanceEvent.templateId>
117
+ export type QueryResult = damlLedger.QueryResult<StockReissuanceEvent, undefined, typeof StockReissuanceEvent.templateId>
118
+ }
119
+
120
+
121
+
122
+ export declare type StockRepurchaseEvent = {
123
+ issuer: damlTypes.Party;
124
+ system_operator: damlTypes.Party;
125
+ featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
126
+ stock_class: damlTypes.ContractId<StockClass>;
127
+ owner: damlTypes.Party;
128
+ quantity: damlTypes.Numeric;
129
+ date: damlTypes.Time;
130
+ };
131
+
132
+ export declare interface StockRepurchaseEventInterface {
133
+ Archive: damlTypes.Choice<StockRepurchaseEvent, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockRepurchaseEvent, undefined>>;
134
+ }
135
+ export declare const StockRepurchaseEvent:
136
+ damlTypes.Template<StockRepurchaseEvent, undefined, '#OpenCapTable-v12:Fairmint.OpenCapTable.StockClass:StockRepurchaseEvent'> &
137
+ damlTypes.ToInterface<StockRepurchaseEvent, never> &
138
+ StockRepurchaseEventInterface;
139
+
140
+ export declare namespace StockRepurchaseEvent {
141
+ export type CreateEvent = damlLedger.CreateEvent<StockRepurchaseEvent, undefined, typeof StockRepurchaseEvent.templateId>
142
+ export type ArchiveEvent = damlLedger.ArchiveEvent<StockRepurchaseEvent, typeof StockRepurchaseEvent.templateId>
143
+ export type Event = damlLedger.Event<StockRepurchaseEvent, undefined, typeof StockRepurchaseEvent.templateId>
144
+ export type QueryResult = damlLedger.QueryResult<StockRepurchaseEvent, undefined, typeof StockRepurchaseEvent.templateId>
145
+ }
146
+
147
+
148
+
149
+ export declare type StockTransferEvent = {
150
+ issuer: damlTypes.Party;
151
+ system_operator: damlTypes.Party;
152
+ featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
153
+ stock_class: damlTypes.ContractId<StockClass>;
154
+ from_owner: damlTypes.Party;
155
+ to_owner: damlTypes.Party;
156
+ quantity: damlTypes.Numeric;
157
+ date: damlTypes.Time;
158
+ };
159
+
160
+ export declare interface StockTransferEventInterface {
161
+ Archive: damlTypes.Choice<StockTransferEvent, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockTransferEvent, undefined>>;
162
+ }
163
+ export declare const StockTransferEvent:
164
+ damlTypes.Template<StockTransferEvent, undefined, '#OpenCapTable-v12:Fairmint.OpenCapTable.StockClass:StockTransferEvent'> &
165
+ damlTypes.ToInterface<StockTransferEvent, never> &
166
+ StockTransferEventInterface;
167
+
168
+ export declare namespace StockTransferEvent {
169
+ export type CreateEvent = damlLedger.CreateEvent<StockTransferEvent, undefined, typeof StockTransferEvent.templateId>
170
+ export type ArchiveEvent = damlLedger.ArchiveEvent<StockTransferEvent, typeof StockTransferEvent.templateId>
171
+ export type Event = damlLedger.Event<StockTransferEvent, undefined, typeof StockTransferEvent.templateId>
172
+ export type QueryResult = damlLedger.QueryResult<StockTransferEvent, undefined, typeof StockTransferEvent.templateId>
173
+ }
174
+
175
+
176
+
177
+ export declare type StockIssuanceEvent = {
178
+ issuer: damlTypes.Party;
179
+ system_operator: damlTypes.Party;
180
+ featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
181
+ stock_class: damlTypes.ContractId<StockClass>;
182
+ recipient: damlTypes.Party;
183
+ quantity: damlTypes.Numeric;
184
+ date: damlTypes.Time;
185
+ };
186
+
187
+ export declare interface StockIssuanceEventInterface {
188
+ Archive: damlTypes.Choice<StockIssuanceEvent, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockIssuanceEvent, undefined>>;
189
+ }
190
+ export declare const StockIssuanceEvent:
191
+ damlTypes.Template<StockIssuanceEvent, undefined, '#OpenCapTable-v12:Fairmint.OpenCapTable.StockClass:StockIssuanceEvent'> &
192
+ damlTypes.ToInterface<StockIssuanceEvent, never> &
193
+ StockIssuanceEventInterface;
194
+
195
+ export declare namespace StockIssuanceEvent {
196
+ export type CreateEvent = damlLedger.CreateEvent<StockIssuanceEvent, undefined, typeof StockIssuanceEvent.templateId>
197
+ export type ArchiveEvent = damlLedger.ArchiveEvent<StockIssuanceEvent, typeof StockIssuanceEvent.templateId>
198
+ export type Event = damlLedger.Event<StockIssuanceEvent, undefined, typeof StockIssuanceEvent.templateId>
199
+ export type QueryResult = damlLedger.QueryResult<StockIssuanceEvent, undefined, typeof StockIssuanceEvent.templateId>
200
+ }
201
+
202
+
203
+
204
+ export declare type AdjustAuthorizedShares = {
205
+ new_authorized: damlTypes.Numeric;
206
+ date: damlTypes.Time;
207
+ };
208
+
209
+ export declare const AdjustAuthorizedShares:
210
+ damlTypes.Serializable<AdjustAuthorizedShares> & {
211
+ }
212
+ ;
213
+
214
+
215
+ export declare type SplitStockClass = {
216
+ split_ratio: damlTypes.Numeric;
217
+ positions: damlTypes.ContractId<StockPosition>[];
218
+ date: damlTypes.Time;
219
+ };
220
+
221
+ export declare const SplitStockClass:
222
+ damlTypes.Serializable<SplitStockClass> & {
223
+ }
224
+ ;
225
+
226
+
227
+ export declare type ReissueStock = {
228
+ transfer: Fairmint_OpenCapTable_Types.TransferOperation;
229
+ date: damlTypes.Time;
230
+ };
231
+
232
+ export declare const ReissueStock:
233
+ damlTypes.Serializable<ReissueStock> & {
234
+ }
235
+ ;
236
+
237
+
238
+ export declare type RepurchaseStock = {
239
+ position: damlTypes.ContractId<StockPosition>;
240
+ quantity: damlTypes.Numeric;
241
+ date: damlTypes.Time;
242
+ };
243
+
244
+ export declare const RepurchaseStock:
245
+ damlTypes.Serializable<RepurchaseStock> & {
246
+ }
247
+ ;
248
+
249
+
16
250
  export declare type IssueStock = {
17
251
  transfer: Fairmint_OpenCapTable_Types.TransferOperation;
18
252
  };
@@ -36,18 +270,22 @@ export declare const UpdateStockClassData:
36
270
  export declare type StockClass = {
37
271
  issuer: damlTypes.Party;
38
272
  stock_class_data: Fairmint_OpenCapTable_Types.OcfStockClassData;
39
- issued_shares: damlTypes.Int;
273
+ issued_shares: damlTypes.Numeric;
40
274
  system_operator: damlTypes.Party;
41
275
  featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
42
276
  };
43
277
 
44
278
  export declare interface StockClassInterface {
45
279
  UpdateStockClassData: damlTypes.Choice<StockClass, UpdateStockClassData, damlTypes.ContractId<StockClass>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
280
+ SplitStockClass: damlTypes.Choice<StockClass, SplitStockClass, damlTypes.ContractId<StockClass>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
46
281
  Archive: damlTypes.Choice<StockClass, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
47
- IssueStock: damlTypes.Choice<StockClass, IssueStock, damlTypes.ContractId<Fairmint_OpenCapTable_StockPosition.StockPosition>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
282
+ IssueStock: damlTypes.Choice<StockClass, IssueStock, damlTypes.ContractId<StockPosition>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
283
+ RepurchaseStock: damlTypes.Choice<StockClass, RepurchaseStock, damlTypes.ContractId<StockClass>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
284
+ ReissueStock: damlTypes.Choice<StockClass, ReissueStock, damlTypes.ContractId<StockPosition>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
285
+ AdjustAuthorizedShares: damlTypes.Choice<StockClass, AdjustAuthorizedShares, damlTypes.ContractId<StockClass>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
48
286
  }
49
287
  export declare const StockClass:
50
- damlTypes.Template<StockClass, undefined, '#OpenCapTable-v11:Fairmint.OpenCapTable.StockClass:StockClass'> &
288
+ damlTypes.Template<StockClass, undefined, '#OpenCapTable-v12:Fairmint.OpenCapTable.StockClass:StockClass'> &
51
289
  damlTypes.ToInterface<StockClass, never> &
52
290
  StockClassInterface;
53
291
 
@@ -59,3 +297,101 @@ export declare namespace StockClass {
59
297
  }
60
298
 
61
299
 
300
+
301
+ export declare type RetractTransfer = {
302
+ date: damlTypes.Time;
303
+ };
304
+
305
+ export declare const RetractTransfer:
306
+ damlTypes.Serializable<RetractTransfer> & {
307
+ }
308
+ ;
309
+
310
+
311
+ export declare type AcceptTransfer = {
312
+ date: damlTypes.Time;
313
+ };
314
+
315
+ export declare const AcceptTransfer:
316
+ damlTypes.Serializable<AcceptTransfer> & {
317
+ }
318
+ ;
319
+
320
+
321
+ export declare type StockTransferProposal = {
322
+ system_operator: damlTypes.Party;
323
+ issuer: damlTypes.Party;
324
+ owner: damlTypes.Party;
325
+ recipient: damlTypes.Party;
326
+ quantity: damlTypes.Numeric;
327
+ stock_class: damlTypes.ContractId<StockClass>;
328
+ from_position: damlTypes.ContractId<StockPosition>;
329
+ featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
330
+ };
331
+
332
+ export declare interface StockTransferProposalInterface {
333
+ Archive: damlTypes.Choice<StockTransferProposal, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockTransferProposal, undefined>>;
334
+ AcceptTransfer: damlTypes.Choice<StockTransferProposal, AcceptTransfer, damlTypes.ContractId<StockPosition>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockTransferProposal, undefined>>;
335
+ RetractTransfer: damlTypes.Choice<StockTransferProposal, RetractTransfer, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockTransferProposal, undefined>>;
336
+ }
337
+ export declare const StockTransferProposal:
338
+ damlTypes.Template<StockTransferProposal, undefined, '#OpenCapTable-v12:Fairmint.OpenCapTable.StockClass:StockTransferProposal'> &
339
+ damlTypes.ToInterface<StockTransferProposal, never> &
340
+ StockTransferProposalInterface;
341
+
342
+ export declare namespace StockTransferProposal {
343
+ export type CreateEvent = damlLedger.CreateEvent<StockTransferProposal, undefined, typeof StockTransferProposal.templateId>
344
+ export type ArchiveEvent = damlLedger.ArchiveEvent<StockTransferProposal, typeof StockTransferProposal.templateId>
345
+ export type Event = damlLedger.Event<StockTransferProposal, undefined, typeof StockTransferProposal.templateId>
346
+ export type QueryResult = damlLedger.QueryResult<StockTransferProposal, undefined, typeof StockTransferProposal.templateId>
347
+ }
348
+
349
+
350
+
351
+ export declare type ReduceQuantity = {
352
+ amount: damlTypes.Numeric;
353
+ };
354
+
355
+ export declare const ReduceQuantity:
356
+ damlTypes.Serializable<ReduceQuantity> & {
357
+ }
358
+ ;
359
+
360
+
361
+ export declare type ProposeTransfer = {
362
+ transfer: Fairmint_OpenCapTable_Types.TransferOperation;
363
+ };
364
+
365
+ export declare const ProposeTransfer:
366
+ damlTypes.Serializable<ProposeTransfer> & {
367
+ }
368
+ ;
369
+
370
+
371
+ export declare type StockPosition = {
372
+ system_operator: damlTypes.Party;
373
+ issuer: damlTypes.Party;
374
+ owner: damlTypes.Party;
375
+ quantity: damlTypes.Numeric;
376
+ stock_class: damlTypes.ContractId<StockClass>;
377
+ featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
378
+ };
379
+
380
+ export declare interface StockPositionInterface {
381
+ Archive: damlTypes.Choice<StockPosition, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockPosition, undefined>>;
382
+ ProposeTransfer: damlTypes.Choice<StockPosition, ProposeTransfer, damlTypes.ContractId<StockTransferProposal>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockPosition, undefined>>;
383
+ ReduceQuantity: damlTypes.Choice<StockPosition, ReduceQuantity, damlTypes.ContractId<StockPosition>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockPosition, undefined>>;
384
+ }
385
+ export declare const StockPosition:
386
+ damlTypes.Template<StockPosition, undefined, '#OpenCapTable-v12:Fairmint.OpenCapTable.StockClass:StockPosition'> &
387
+ damlTypes.ToInterface<StockPosition, never> &
388
+ StockPositionInterface;
389
+
390
+ export declare namespace StockPosition {
391
+ export type CreateEvent = damlLedger.CreateEvent<StockPosition, undefined, typeof StockPosition.templateId>
392
+ export type ArchiveEvent = damlLedger.ArchiveEvent<StockPosition, typeof StockPosition.templateId>
393
+ export type Event = damlLedger.Event<StockPosition, undefined, typeof StockPosition.templateId>
394
+ export type QueryResult = damlLedger.QueryResult<StockPosition, undefined, typeof StockPosition.templateId>
395
+ }
396
+
397
+