@fairmint/open-captable-protocol-daml-js 0.0.20 → 0.0.21
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/lib/Fairmint/OpenCapTable/CompanyValuationReport/module.d.ts +5 -3
- package/lib/Fairmint/OpenCapTable/CompanyValuationReport/module.js +8 -6
- 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/OcpFactory/module.d.ts +4 -2
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +6 -4
- package/lib/Fairmint/OpenCapTable/StockClass/module.d.ts +1 -1
- package/lib/Fairmint/OpenCapTable/StockClass/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/StockPosition/module.d.ts +2 -2
- package/lib/Fairmint/OpenCapTable/StockPosition/module.js +4 -4
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/ocp-factory-contract-id.json +4 -4
- package/package.json +2 -1
|
@@ -7,6 +7,7 @@ import * as damlTypes from '@daml/types';
|
|
|
7
7
|
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
8
|
import * as damlLedger from '@daml/ledger';
|
|
9
9
|
|
|
10
|
+
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '@daml.js/splice-api-featured-app-v1-1.0.0';
|
|
10
11
|
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '@daml.js/ghc-stdlib-DA-Internal-Template-1.0.0';
|
|
11
12
|
|
|
12
13
|
export declare type ConfirmCurrent = {
|
|
@@ -19,7 +20,7 @@ export declare const ConfirmCurrent:
|
|
|
19
20
|
|
|
20
21
|
|
|
21
22
|
export declare type SetCompanyValuation = {
|
|
22
|
-
new_company_valuation: damlTypes.
|
|
23
|
+
new_company_valuation: damlTypes.Numeric;
|
|
23
24
|
};
|
|
24
25
|
|
|
25
26
|
export declare const SetCompanyValuation:
|
|
@@ -40,10 +41,11 @@ export declare const AddObservers:
|
|
|
40
41
|
|
|
41
42
|
export declare type CompanyValuationReport = {
|
|
42
43
|
company_id: string;
|
|
43
|
-
company_valuation: damlTypes.
|
|
44
|
+
company_valuation: damlTypes.Numeric;
|
|
44
45
|
last_update_at: damlTypes.Time;
|
|
45
46
|
observers: damlTypes.Party[];
|
|
46
47
|
system_operator: damlTypes.Party;
|
|
48
|
+
featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
|
|
47
49
|
};
|
|
48
50
|
|
|
49
51
|
export declare interface CompanyValuationReportInterface {
|
|
@@ -53,7 +55,7 @@ export declare interface CompanyValuationReportInterface {
|
|
|
53
55
|
ConfirmCurrent: damlTypes.Choice<CompanyValuationReport, ConfirmCurrent, damlTypes.ContractId<CompanyValuationReport>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<CompanyValuationReport, undefined>>;
|
|
54
56
|
}
|
|
55
57
|
export declare const CompanyValuationReport:
|
|
56
|
-
damlTypes.Template<CompanyValuationReport, undefined, '#OpenCapTable-
|
|
58
|
+
damlTypes.Template<CompanyValuationReport, undefined, '#OpenCapTable-v03:Fairmint.OpenCapTable.CompanyValuationReport:CompanyValuationReport'> &
|
|
57
59
|
damlTypes.ToInterface<CompanyValuationReport, never> &
|
|
58
60
|
CompanyValuationReportInterface;
|
|
59
61
|
|
|
@@ -12,6 +12,7 @@ var damlTypes = require('@daml/types');
|
|
|
12
12
|
/* eslint-disable-next-line no-unused-vars */
|
|
13
13
|
var damlLedger = require('@daml/ledger');
|
|
14
14
|
|
|
15
|
+
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('@daml.js/splice-api-featured-app-v1-1.0.0');
|
|
15
16
|
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA/Internal/Template');
|
|
16
17
|
|
|
17
18
|
|
|
@@ -27,10 +28,10 @@ exports.ConfirmCurrent = {
|
|
|
27
28
|
|
|
28
29
|
|
|
29
30
|
exports.SetCompanyValuation = {
|
|
30
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({new_company_valuation: damlTypes.
|
|
31
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({new_company_valuation: damlTypes.Numeric(10).decoder, }); }),
|
|
31
32
|
encode: function (__typed__) {
|
|
32
33
|
return {
|
|
33
|
-
new_company_valuation: damlTypes.
|
|
34
|
+
new_company_valuation: damlTypes.Numeric(10).encode(__typed__.new_company_valuation),
|
|
34
35
|
};
|
|
35
36
|
}
|
|
36
37
|
,
|
|
@@ -52,17 +53,18 @@ exports.AddObservers = {
|
|
|
52
53
|
|
|
53
54
|
exports.CompanyValuationReport = damlTypes.assembleTemplate(
|
|
54
55
|
{
|
|
55
|
-
templateId: '#OpenCapTable-
|
|
56
|
+
templateId: '#OpenCapTable-v03:Fairmint.OpenCapTable.CompanyValuationReport:CompanyValuationReport',
|
|
56
57
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
57
58
|
keyEncode: function () { throw 'EncodeError'; },
|
|
58
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({company_id: damlTypes.Text.decoder, company_valuation: damlTypes.
|
|
59
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({company_id: damlTypes.Text.decoder, company_valuation: damlTypes.Numeric(10).decoder, last_update_at: damlTypes.Time.decoder, observers: damlTypes.List(damlTypes.Party).decoder, system_operator: damlTypes.Party.decoder, featured_app_right: damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight).decoder, }); }),
|
|
59
60
|
encode: function (__typed__) {
|
|
60
61
|
return {
|
|
61
62
|
company_id: damlTypes.Text.encode(__typed__.company_id),
|
|
62
|
-
company_valuation: damlTypes.
|
|
63
|
+
company_valuation: damlTypes.Numeric(10).encode(__typed__.company_valuation),
|
|
63
64
|
last_update_at: damlTypes.Time.encode(__typed__.last_update_at),
|
|
64
65
|
observers: damlTypes.List(damlTypes.Party).encode(__typed__.observers),
|
|
65
66
|
system_operator: damlTypes.Party.encode(__typed__.system_operator),
|
|
67
|
+
featured_app_right: damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight).encode(__typed__.featured_app_right),
|
|
66
68
|
};
|
|
67
69
|
}
|
|
68
70
|
,
|
|
@@ -103,5 +105,5 @@ exports.CompanyValuationReport = damlTypes.assembleTemplate(
|
|
|
103
105
|
);
|
|
104
106
|
|
|
105
107
|
|
|
106
|
-
damlTypes.registerTemplate(exports.CompanyValuationReport, ['
|
|
108
|
+
damlTypes.registerTemplate(exports.CompanyValuationReport, ['53ac4865f0dcbdb964215fe3c6dac0b7862d8f56cef44b8481b9811cafe2f943', '#OpenCapTable-v03']);
|
|
107
109
|
|
|
@@ -44,7 +44,7 @@ export declare interface IssuerInterface {
|
|
|
44
44
|
UpdateIssuerData: damlTypes.Choice<Issuer, UpdateIssuerData, damlTypes.ContractId<Issuer>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Issuer, undefined>>;
|
|
45
45
|
}
|
|
46
46
|
export declare const Issuer:
|
|
47
|
-
damlTypes.Template<Issuer, undefined, '#OpenCapTable-
|
|
47
|
+
damlTypes.Template<Issuer, undefined, '#OpenCapTable-v03:Fairmint.OpenCapTable.Issuer:Issuer'> &
|
|
48
48
|
damlTypes.ToInterface<Issuer, never> &
|
|
49
49
|
IssuerInterface;
|
|
50
50
|
|
|
@@ -44,7 +44,7 @@ exports.CreateStockClass = {
|
|
|
44
44
|
|
|
45
45
|
exports.Issuer = damlTypes.assembleTemplate(
|
|
46
46
|
{
|
|
47
|
-
templateId: '#OpenCapTable-
|
|
47
|
+
templateId: '#OpenCapTable-v03:Fairmint.OpenCapTable.Issuer:Issuer',
|
|
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, issuer_data: Fairmint_OpenCapTable_OcfObjects.OcfIssuerData.decoder, system_operator: damlTypes.Party.decoder, }); }),
|
|
@@ -85,5 +85,5 @@ exports.Issuer = damlTypes.assembleTemplate(
|
|
|
85
85
|
);
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
damlTypes.registerTemplate(exports.Issuer, ['
|
|
88
|
+
damlTypes.registerTemplate(exports.Issuer, ['53ac4865f0dcbdb964215fe3c6dac0b7862d8f56cef44b8481b9811cafe2f943', '#OpenCapTable-v03']);
|
|
89
89
|
|
|
@@ -42,7 +42,7 @@ export declare interface IssuerAuthorizationInterface {
|
|
|
42
42
|
WithdrawAuthorization: damlTypes.Choice<IssuerAuthorization, WithdrawAuthorization, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<IssuerAuthorization, undefined>>;
|
|
43
43
|
}
|
|
44
44
|
export declare const IssuerAuthorization:
|
|
45
|
-
damlTypes.Template<IssuerAuthorization, undefined, '#OpenCapTable-
|
|
45
|
+
damlTypes.Template<IssuerAuthorization, undefined, '#OpenCapTable-v03:Fairmint.OpenCapTable.IssuerAuthorization:IssuerAuthorization'> &
|
|
46
46
|
damlTypes.ToInterface<IssuerAuthorization, never> &
|
|
47
47
|
IssuerAuthorizationInterface;
|
|
48
48
|
|
|
@@ -43,7 +43,7 @@ exports.CreateIssuer = {
|
|
|
43
43
|
|
|
44
44
|
exports.IssuerAuthorization = damlTypes.assembleTemplate(
|
|
45
45
|
{
|
|
46
|
-
templateId: '#OpenCapTable-
|
|
46
|
+
templateId: '#OpenCapTable-v03: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({issuer: damlTypes.Party.decoder, system_operator: damlTypes.Party.decoder, }); }),
|
|
@@ -83,5 +83,5 @@ exports.IssuerAuthorization = damlTypes.assembleTemplate(
|
|
|
83
83
|
);
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
damlTypes.registerTemplate(exports.IssuerAuthorization, ['
|
|
86
|
+
damlTypes.registerTemplate(exports.IssuerAuthorization, ['53ac4865f0dcbdb964215fe3c6dac0b7862d8f56cef44b8481b9811cafe2f943', '#OpenCapTable-v03']);
|
|
87
87
|
|
|
@@ -7,6 +7,7 @@ import * as damlTypes from '@daml/types';
|
|
|
7
7
|
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
8
|
import * as damlLedger from '@daml/ledger';
|
|
9
9
|
|
|
10
|
+
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '@daml.js/splice-api-featured-app-v1-1.0.0';
|
|
10
11
|
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '@daml.js/ghc-stdlib-DA-Internal-Template-1.0.0';
|
|
11
12
|
|
|
12
13
|
import * as Fairmint_OpenCapTable_CompanyValuationReport from '../../../Fairmint/OpenCapTable/CompanyValuationReport/module';
|
|
@@ -14,8 +15,9 @@ import * as Fairmint_OpenCapTable_IssuerAuthorization from '../../../Fairmint/Op
|
|
|
14
15
|
|
|
15
16
|
export declare type CreateCompanyValuationReport = {
|
|
16
17
|
company_id: string;
|
|
17
|
-
company_valuation: damlTypes.
|
|
18
|
+
company_valuation: damlTypes.Numeric;
|
|
18
19
|
observers: damlTypes.Party[];
|
|
20
|
+
featured_app_right: damlTypes.ContractId<pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight>;
|
|
19
21
|
};
|
|
20
22
|
|
|
21
23
|
export declare const CreateCompanyValuationReport:
|
|
@@ -44,7 +46,7 @@ export declare interface OcpFactoryInterface {
|
|
|
44
46
|
CreateCompanyValuationReport: damlTypes.Choice<OcpFactory, CreateCompanyValuationReport, damlTypes.ContractId<Fairmint_OpenCapTable_CompanyValuationReport.CompanyValuationReport>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<OcpFactory, undefined>>;
|
|
45
47
|
}
|
|
46
48
|
export declare const OcpFactory:
|
|
47
|
-
damlTypes.Template<OcpFactory, undefined, '#OpenCapTable-
|
|
49
|
+
damlTypes.Template<OcpFactory, undefined, '#OpenCapTable-v03:Fairmint.OpenCapTable.OcpFactory:OcpFactory'> &
|
|
48
50
|
damlTypes.ToInterface<OcpFactory, never> &
|
|
49
51
|
OcpFactoryInterface;
|
|
50
52
|
|
|
@@ -12,6 +12,7 @@ var damlTypes = require('@daml/types');
|
|
|
12
12
|
/* eslint-disable-next-line no-unused-vars */
|
|
13
13
|
var damlLedger = require('@daml/ledger');
|
|
14
14
|
|
|
15
|
+
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('@daml.js/splice-api-featured-app-v1-1.0.0');
|
|
15
16
|
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA/Internal/Template');
|
|
16
17
|
|
|
17
18
|
var Fairmint_OpenCapTable_CompanyValuationReport = require('../../../Fairmint/OpenCapTable/CompanyValuationReport/module');
|
|
@@ -19,12 +20,13 @@ var Fairmint_OpenCapTable_IssuerAuthorization = require('../../../Fairmint/OpenC
|
|
|
19
20
|
|
|
20
21
|
|
|
21
22
|
exports.CreateCompanyValuationReport = {
|
|
22
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({company_id: damlTypes.Text.decoder, company_valuation: damlTypes.
|
|
23
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({company_id: damlTypes.Text.decoder, company_valuation: damlTypes.Numeric(10).decoder, observers: damlTypes.List(damlTypes.Party).decoder, featured_app_right: damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight).decoder, }); }),
|
|
23
24
|
encode: function (__typed__) {
|
|
24
25
|
return {
|
|
25
26
|
company_id: damlTypes.Text.encode(__typed__.company_id),
|
|
26
|
-
company_valuation: damlTypes.
|
|
27
|
+
company_valuation: damlTypes.Numeric(10).encode(__typed__.company_valuation),
|
|
27
28
|
observers: damlTypes.List(damlTypes.Party).encode(__typed__.observers),
|
|
29
|
+
featured_app_right: damlTypes.ContractId(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.FeaturedAppRight).encode(__typed__.featured_app_right),
|
|
28
30
|
};
|
|
29
31
|
}
|
|
30
32
|
,
|
|
@@ -46,7 +48,7 @@ exports.AuthorizeIssuer = {
|
|
|
46
48
|
|
|
47
49
|
exports.OcpFactory = damlTypes.assembleTemplate(
|
|
48
50
|
{
|
|
49
|
-
templateId: '#OpenCapTable-
|
|
51
|
+
templateId: '#OpenCapTable-v03:Fairmint.OpenCapTable.OcpFactory:OcpFactory',
|
|
50
52
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
51
53
|
keyEncode: function () { throw 'EncodeError'; },
|
|
52
54
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({system_operator: damlTypes.Party.decoder, }); }),
|
|
@@ -85,5 +87,5 @@ exports.OcpFactory = damlTypes.assembleTemplate(
|
|
|
85
87
|
);
|
|
86
88
|
|
|
87
89
|
|
|
88
|
-
damlTypes.registerTemplate(exports.OcpFactory, ['
|
|
90
|
+
damlTypes.registerTemplate(exports.OcpFactory, ['53ac4865f0dcbdb964215fe3c6dac0b7862d8f56cef44b8481b9811cafe2f943', '#OpenCapTable-v03']);
|
|
89
91
|
|
|
@@ -35,7 +35,7 @@ export declare interface StockClassInterface {
|
|
|
35
35
|
IssueStock: damlTypes.Choice<StockClass, IssueStock, damlTypes.ContractId<Fairmint_OpenCapTable_StockPosition.StockPosition>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockClass, undefined>>;
|
|
36
36
|
}
|
|
37
37
|
export declare const StockClass:
|
|
38
|
-
damlTypes.Template<StockClass, undefined, '#OpenCapTable-
|
|
38
|
+
damlTypes.Template<StockClass, undefined, '#OpenCapTable-v03:Fairmint.OpenCapTable.StockClass:StockClass'> &
|
|
39
39
|
damlTypes.ToInterface<StockClass, never> &
|
|
40
40
|
StockClassInterface;
|
|
41
41
|
|
|
@@ -33,7 +33,7 @@ exports.IssueStock = {
|
|
|
33
33
|
|
|
34
34
|
exports.StockClass = damlTypes.assembleTemplate(
|
|
35
35
|
{
|
|
36
|
-
templateId: '#OpenCapTable-
|
|
36
|
+
templateId: '#OpenCapTable-v03:Fairmint.OpenCapTable.StockClass:StockClass',
|
|
37
37
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
38
38
|
keyEncode: function () { throw 'EncodeError'; },
|
|
39
39
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({issuer: damlTypes.Party.decoder, stock_class_data: Fairmint_OpenCapTable_OcfObjects.OcfStockClassData.decoder, issued_shares: damlTypes.Int.decoder, system_operator: damlTypes.Party.decoder, }); }),
|
|
@@ -67,5 +67,5 @@ exports.StockClass = damlTypes.assembleTemplate(
|
|
|
67
67
|
);
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
damlTypes.registerTemplate(exports.StockClass, ['
|
|
70
|
+
damlTypes.registerTemplate(exports.StockClass, ['53ac4865f0dcbdb964215fe3c6dac0b7862d8f56cef44b8481b9811cafe2f943', '#OpenCapTable-v03']);
|
|
71
71
|
|
|
@@ -33,7 +33,7 @@ export declare interface StockTransferProposalInterface {
|
|
|
33
33
|
AcceptTransfer: damlTypes.Choice<StockTransferProposal, AcceptTransfer, damlTypes.ContractId<StockPosition>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockTransferProposal, undefined>>;
|
|
34
34
|
}
|
|
35
35
|
export declare const StockTransferProposal:
|
|
36
|
-
damlTypes.Template<StockTransferProposal, undefined, '#OpenCapTable-
|
|
36
|
+
damlTypes.Template<StockTransferProposal, undefined, '#OpenCapTable-v03:Fairmint.OpenCapTable.StockPosition:StockTransferProposal'> &
|
|
37
37
|
damlTypes.ToInterface<StockTransferProposal, never> &
|
|
38
38
|
StockTransferProposalInterface;
|
|
39
39
|
|
|
@@ -68,7 +68,7 @@ export declare interface StockPositionInterface {
|
|
|
68
68
|
Archive: damlTypes.Choice<StockPosition, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<StockPosition, undefined>>;
|
|
69
69
|
}
|
|
70
70
|
export declare const StockPosition:
|
|
71
|
-
damlTypes.Template<StockPosition, undefined, '#OpenCapTable-
|
|
71
|
+
damlTypes.Template<StockPosition, undefined, '#OpenCapTable-v03:Fairmint.OpenCapTable.StockPosition:StockPosition'> &
|
|
72
72
|
damlTypes.ToInterface<StockPosition, never> &
|
|
73
73
|
StockPositionInterface;
|
|
74
74
|
|
|
@@ -30,7 +30,7 @@ exports.AcceptTransfer = {
|
|
|
30
30
|
|
|
31
31
|
exports.StockTransferProposal = damlTypes.assembleTemplate(
|
|
32
32
|
{
|
|
33
|
-
templateId: '#OpenCapTable-
|
|
33
|
+
templateId: '#OpenCapTable-v03:Fairmint.OpenCapTable.StockPosition:StockTransferProposal',
|
|
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({system_operator: damlTypes.Party.decoder, issuer: damlTypes.Party.decoder, owner: damlTypes.Party.decoder, recipient: damlTypes.Party.decoder, quantity: damlTypes.Int.decoder, }); }),
|
|
@@ -65,7 +65,7 @@ exports.StockTransferProposal = damlTypes.assembleTemplate(
|
|
|
65
65
|
);
|
|
66
66
|
|
|
67
67
|
|
|
68
|
-
damlTypes.registerTemplate(exports.StockTransferProposal, ['
|
|
68
|
+
damlTypes.registerTemplate(exports.StockTransferProposal, ['53ac4865f0dcbdb964215fe3c6dac0b7862d8f56cef44b8481b9811cafe2f943', '#OpenCapTable-v03']);
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
|
|
@@ -83,7 +83,7 @@ exports.ProposeTransfer = {
|
|
|
83
83
|
|
|
84
84
|
exports.StockPosition = damlTypes.assembleTemplate(
|
|
85
85
|
{
|
|
86
|
-
templateId: '#OpenCapTable-
|
|
86
|
+
templateId: '#OpenCapTable-v03:Fairmint.OpenCapTable.StockPosition:StockPosition',
|
|
87
87
|
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
88
88
|
keyEncode: function () { throw 'EncodeError'; },
|
|
89
89
|
decoder: damlTypes.lazyMemo(function () { return jtv.object({system_operator: damlTypes.Party.decoder, issuer: damlTypes.Party.decoder, owner: damlTypes.Party.decoder, quantity: damlTypes.Int.decoder, }); }),
|
|
@@ -117,5 +117,5 @@ exports.StockPosition = damlTypes.assembleTemplate(
|
|
|
117
117
|
);
|
|
118
118
|
|
|
119
119
|
|
|
120
|
-
damlTypes.registerTemplate(exports.StockPosition, ['
|
|
120
|
+
damlTypes.registerTemplate(exports.StockPosition, ['53ac4865f0dcbdb964215fe3c6dac0b7862d8f56cef44b8481b9811cafe2f943', '#OpenCapTable-v03']);
|
|
121
121
|
|
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as Fairmint from './Fairmint';
|
|
2
2
|
import * as DA from './DA';
|
|
3
3
|
export { Fairmint, DA } ;
|
|
4
|
-
export declare const packageId = '
|
|
4
|
+
export declare const packageId = '53ac4865f0dcbdb964215fe3c6dac0b7862d8f56cef44b8481b9811cafe2f943';
|
package/lib/index.js
CHANGED
|
@@ -9,4 +9,4 @@ var Fairmint = require('./Fairmint');
|
|
|
9
9
|
exports.Fairmint = Fairmint;
|
|
10
10
|
var DA = require('./DA');
|
|
11
11
|
exports.DA = DA;
|
|
12
|
-
exports.packageId = '
|
|
12
|
+
exports.packageId = '53ac4865f0dcbdb964215fe3c6dac0b7862d8f56cef44b8481b9811cafe2f943';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"mainnet": {
|
|
3
|
-
"ocpFactoryContractId": "
|
|
4
|
-
"templateId": "
|
|
3
|
+
"ocpFactoryContractId": "00c917d498c1ebfb59b02ae4daa448841c90581f878a2fb3db71d55bd43f62c295ca1112204bb8a8399282e9bcbc4f5a60595c535673fa8ffa914ee9243a1d02e052ceee9e",
|
|
4
|
+
"templateId": "53ac4865f0dcbdb964215fe3c6dac0b7862d8f56cef44b8481b9811cafe2f943:Fairmint.OpenCapTable.OcpFactory:OcpFactory"
|
|
5
5
|
},
|
|
6
6
|
"devnet": {
|
|
7
|
-
"ocpFactoryContractId": "
|
|
8
|
-
"templateId": "
|
|
7
|
+
"ocpFactoryContractId": "00825ef4f946d741be40091f989015761a09187b06bea6fb998109f9a46747062fca111220bfe2959766a7ebbec2b17d22eee03072d76f3b2afb9b4bc08676cf8666652153",
|
|
8
|
+
"templateId": "53ac4865f0dcbdb964215fe3c6dac0b7862d8f56cef44b8481b9811cafe2f943:Fairmint.OpenCapTable.OcpFactory:OcpFactory"
|
|
9
9
|
}
|
|
10
10
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
+
"@daml.js/splice-api-featured-app-v1-1.0.0": "file:../splice-api-featured-app-v1-1.0.0",
|
|
3
4
|
"@mojotech/json-type-validation": "^3.1.0"
|
|
4
5
|
},
|
|
5
6
|
"description": "Generated by `daml codegen js` from SDK 3.3.0-snapshot.20250603.0",
|
|
@@ -11,7 +12,7 @@
|
|
|
11
12
|
"@daml/types": "3.3.0-snapshot.20250528.13806.0.v3cd439fb"
|
|
12
13
|
},
|
|
13
14
|
"types": "lib/index.d.ts",
|
|
14
|
-
"version": "0.0.
|
|
15
|
+
"version": "0.0.21",
|
|
15
16
|
"publishConfig": {
|
|
16
17
|
"access": "public"
|
|
17
18
|
}
|