@fairmint/open-captable-protocol-daml-js 0.2.37 → 0.2.39
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/paymentStreams-factory-contract-id.json +6 -6
- package/lib/CantonPayments/Airdrop/Airdrop/module.d.ts +108 -0
- package/lib/CantonPayments/Airdrop/Airdrop/module.js +161 -0
- package/lib/CantonPayments/Airdrop/index.d.ts +2 -0
- package/lib/{DA/Date → CantonPayments/Airdrop}/index.js +2 -2
- package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.js +2 -2
- package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/module.js +1 -1
- package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.js +1 -1
- package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.js +1 -1
- package/lib/CantonPayments/index.d.ts +2 -0
- package/lib/CantonPayments/index.js +2 -0
- package/package.json +2 -2
- package/lib/DA/Date/Types/module.d.ts +0 -47
- package/lib/DA/Date/Types/module.js +0 -48
- package/lib/DA/Date/index.d.ts +0 -2
- package/lib/DA/Exception/ArithmeticError/index.d.ts +0 -1
- package/lib/DA/Exception/ArithmeticError/index.js +0 -8
- package/lib/DA/Exception/ArithmeticError/module.d.ts +0 -18
- package/lib/DA/Exception/ArithmeticError/module.js +0 -25
- package/lib/DA/Exception/AssertionFailed/index.d.ts +0 -1
- package/lib/DA/Exception/AssertionFailed/index.js +0 -8
- package/lib/DA/Exception/AssertionFailed/module.d.ts +0 -18
- package/lib/DA/Exception/AssertionFailed/module.js +0 -25
- package/lib/DA/Exception/GeneralError/index.d.ts +0 -1
- package/lib/DA/Exception/GeneralError/index.js +0 -8
- package/lib/DA/Exception/GeneralError/module.d.ts +0 -18
- package/lib/DA/Exception/GeneralError/module.js +0 -25
- package/lib/DA/Exception/PreconditionFailed/index.d.ts +0 -1
- package/lib/DA/Exception/PreconditionFailed/index.js +0 -8
- package/lib/DA/Exception/PreconditionFailed/module.d.ts +0 -18
- package/lib/DA/Exception/PreconditionFailed/module.js +0 -25
- package/lib/DA/Exception/index.d.ts +0 -2
- package/lib/DA/Exception/index.js +0 -9
- package/lib/DA/Internal/Down/index.d.ts +0 -1
- package/lib/DA/Internal/Down/index.js +0 -8
- package/lib/DA/Internal/Down/module.d.ts +0 -17
- package/lib/DA/Internal/Down/module.js +0 -25
- package/lib/DA/Logic/Types/index.d.ts +0 -1
- package/lib/DA/Logic/Types/index.js +0 -8
- package/lib/DA/Logic/Types/module.d.ts +0 -20
- package/lib/DA/Logic/Types/module.js +0 -29
- package/lib/DA/Logic/index.d.ts +0 -2
- package/lib/DA/Logic/index.js +0 -9
- package/lib/DA/Monoid/Types/index.d.ts +0 -1
- package/lib/DA/Monoid/Types/index.js +0 -8
- package/lib/DA/Monoid/Types/module.d.ts +0 -46
- package/lib/DA/Monoid/Types/module.js +0 -61
- package/lib/DA/Monoid/index.d.ts +0 -2
- package/lib/DA/Monoid/index.js +0 -9
- package/lib/DA/NonEmpty/Types/index.d.ts +0 -1
- package/lib/DA/NonEmpty/Types/index.js +0 -8
- package/lib/DA/NonEmpty/Types/module.d.ts +0 -18
- package/lib/DA/NonEmpty/Types/module.js +0 -26
- package/lib/DA/NonEmpty/index.d.ts +0 -2
- package/lib/DA/NonEmpty/index.js +0 -9
- package/lib/DA/Random/Types/index.d.ts +0 -1
- package/lib/DA/Random/Types/index.js +0 -8
- package/lib/DA/Random/Types/module.d.ts +0 -18
- package/lib/DA/Random/Types/module.js +0 -26
- package/lib/DA/Random/index.d.ts +0 -2
- package/lib/DA/Random/index.js +0 -9
- package/lib/DA/Semigroup/Types/index.d.ts +0 -1
- package/lib/DA/Semigroup/Types/index.js +0 -8
- package/lib/DA/Semigroup/Types/module.d.ts +0 -26
- package/lib/DA/Semigroup/Types/module.js +0 -37
- package/lib/DA/Semigroup/index.d.ts +0 -2
- package/lib/DA/Semigroup/index.js +0 -9
- package/lib/DA/Stack/Types/index.d.ts +0 -1
- package/lib/DA/Stack/Types/index.js +0 -8
- package/lib/DA/Stack/Types/module.d.ts +0 -24
- package/lib/DA/Stack/Types/module.js +0 -31
- package/lib/DA/Stack/index.d.ts +0 -2
- package/lib/DA/Stack/index.js +0 -9
- package/lib/DA/Validation/Types/index.d.ts +0 -1
- package/lib/DA/Validation/Types/index.js +0 -8
- package/lib/DA/Validation/Types/module.d.ts +0 -20
- package/lib/DA/Validation/Types/module.js +0 -29
- package/lib/DA/Validation/index.d.ts +0 -2
- package/lib/DA/Validation/index.js +0 -9
- package/lib/Splice/Api/Token/index.d.ts +0 -2
- package/lib/Splice/Api/Token/index.js +0 -9
- /package/lib/{DA/Date/Types → CantonPayments/Airdrop/Airdrop}/index.d.ts +0 -0
- /package/lib/{DA/Date/Types → CantonPayments/Airdrop/Airdrop}/index.js +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"devnet": {
|
|
3
|
-
"paymentStreamsFactoryContractId": "
|
|
3
|
+
"paymentStreamsFactoryContractId": "008c3c3bceb49706121563693c31abd81c21c0ff436b6bfc80d499937187d4f09fca111220067ad3c0ac3b44ac1ba790bab957d07519f1f856e0bea91710e8e8c17f01ec4b",
|
|
4
4
|
"templateId": "1e5c887820e6830453e44cca6603a0c6fb9a521bfa04d56145e25f5e5c3ecf1c:CantonPayments.PaymentStream.PaymentStreamFactory:PaymentStreamFactory",
|
|
5
5
|
"disclosedContract": {
|
|
6
6
|
"templateId": "1e5c887820e6830453e44cca6603a0c6fb9a521bfa04d56145e25f5e5c3ecf1c:CantonPayments.PaymentStream.PaymentStreamFactory:PaymentStreamFactory",
|
|
7
|
-
"contractId": "
|
|
8
|
-
"createdEventBlob": "
|
|
7
|
+
"contractId": "008c3c3bceb49706121563693c31abd81c21c0ff436b6bfc80d499937187d4f09fca111220067ad3c0ac3b44ac1ba790bab957d07519f1f856e0bea91710e8e8c17f01ec4b",
|
|
8
|
+
"createdEventBlob": "CgMyLjESxAQKRQCMPDvOtJcGEhVjaTwxq9gcIcD/Q2tr/IDUmZNxh9Twn8oREiAGetPArDtErBunkLq5V9B1GfH4VuC+qRcQ6OjBfwHsSxIOQ2FudG9uUGF5bWVudHMajQEKQDFlNWM4ODc4MjBlNjgzMDQ1M2U0NGNjYTY2MDNhMGM2ZmI5YTUyMWJmYTA0ZDU2MTQ1ZTI1ZjVlNWMzZWNmMWMSDkNhbnRvblBheW1lbnRzEg1QYXltZW50U3RyZWFtEhRQYXltZW50U3RyZWFtRmFjdG9yeRoUUGF5bWVudFN0cmVhbUZhY3RvcnkiwgFqvwEKvAEKuQFqtgEKZQpjOmF0ZXN0LXN1YnNjcmlwdGlvbi1wcm9jZXNzb3I6OjEyMjBlYTcwZWEyY2JmZTZiZTQzMWYzNGM3MzIzZTI0OWM2MjRhMDJmYjIyMDlkMmI3M2ZhYmQ3ZWVhMWZlODRkZjM0Ck0KSzpJRFNPOjoxMjIwYmU1OGMyOWU2NWRlNDBiZjI3M2JlMWRjMmIyNjZkNDNhOWEwMDJlYTViMTg5NTVhZWVmN2FhYzg4MWJiNDcxYSphdGVzdC1zdWJzY3JpcHRpb24tcHJvY2Vzc29yOjoxMjIwZWE3MGVhMmNiZmU2YmU0MzFmMzRjNzMyM2UyNDljNjI0YTAyZmIyMjA5ZDJiNzNmYWJkN2VlYTFmZTg0ZGYzNDkuIul7X0EGAEIqCiYKJAgBEiBT36l4jL2joI4RW93MWGfHEAE1n/4zAkheN9mTsFEzvxAe",
|
|
9
9
|
"synchronizerId": "global-domain::1220be58c29e65de40bf273be1dc2b266d43a9a002ea5b18955aeef7aac881bb471a"
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
"mainnet": {
|
|
13
|
-
"paymentStreamsFactoryContractId": "
|
|
13
|
+
"paymentStreamsFactoryContractId": "00890490d890238a197a7c3ee10591900aee57128f19ba6572bb97413ad7a96864ca111220501ef680b0ff03b3d063d2dcffbe356d891df7a9d65a1443171fb2557d64514f",
|
|
14
14
|
"templateId": "1e5c887820e6830453e44cca6603a0c6fb9a521bfa04d56145e25f5e5c3ecf1c:CantonPayments.PaymentStream.PaymentStreamFactory:PaymentStreamFactory",
|
|
15
15
|
"disclosedContract": {
|
|
16
16
|
"templateId": "1e5c887820e6830453e44cca6603a0c6fb9a521bfa04d56145e25f5e5c3ecf1c:CantonPayments.PaymentStream.PaymentStreamFactory:PaymentStreamFactory",
|
|
17
|
-
"contractId": "
|
|
18
|
-
"createdEventBlob": "
|
|
17
|
+
"contractId": "00890490d890238a197a7c3ee10591900aee57128f19ba6572bb97413ad7a96864ca111220501ef680b0ff03b3d063d2dcffbe356d891df7a9d65a1443171fb2557d64514f",
|
|
18
|
+
"createdEventBlob": "CgMyLjESuAQKRQCJBJDYkCOKGXp8PuEFkZAK7lcSjxm6ZXK7l0E616loZMoREiBQHvaAsP8Ds9Bj0tz/vjVtiR33qdZaFEMXH7JVfWRRTxIOQ2FudG9uUGF5bWVudHMajQEKQDFlNWM4ODc4MjBlNjgzMDQ1M2U0NGNjYTY2MDNhMGM2ZmI5YTUyMWJmYTA0ZDU2MTQ1ZTI1ZjVlNWMzZWNmMWMSDkNhbnRvblBheW1lbnRzEg1QYXltZW50U3RyZWFtEhRQYXltZW50U3RyZWFtRmFjdG9yeRoUUGF5bWVudFN0cmVhbUZhY3RvcnkivAFquQEKtgEKswFqsAEKXwpdOltTdWJzY3JpcHRpb25Qcm9jZXNzb3I6OjEyMjA0YTAzOTMyMmMwMWU5ZjcxNGI1NjI1OWMzZTY4YjY5MDU4YmY1ZGZlMWRlYmJlOTU2YzY5OGY5MDVjZWJhOWQ3Ck0KSzpJRFNPOjoxMjIwYjE0MzFlZjIxNzM0MmRiNDRkNTE2YmI5YmVmZGU4MDJiZTdkODg5OTYzN2QyOTA4OTVmYTU4ODgwZjE5YWNjYypbU3Vic2NyaXB0aW9uUHJvY2Vzc29yOjoxMjIwNGEwMzkzMjJjMDFlOWY3MTRiNTYyNTljM2U2OGI2OTA1OGJmNWRmZTFkZWJiZTk1NmM2OThmOTA1Y2ViYTlkNzl76El8X0EGAEIqCiYKJAgBEiA3Uovb+LjoXh3G3cFRWuMpPgUZJvKttwT8WTIdK44TZRAe",
|
|
19
19
|
"synchronizerId": "global-domain::1220b1431ef217342db44d516bb9befde802be7d8899637d290895fa58880f19accc"
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
// Generated from CantonPayments/Airdrop/Airdrop.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 pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1 from '../../..';
|
|
11
|
+
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../Splice/Api/FeaturedAppRightV1';
|
|
12
|
+
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../DA/Internal/Template';
|
|
13
|
+
|
|
14
|
+
export declare type Airdrop_Execute = {
|
|
15
|
+
transferSpecs: RecipientTransferSpec[];
|
|
16
|
+
initialAmuletInputs: damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.Amulet.Amulet>[];
|
|
17
|
+
openMiningRoundCid: damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.Round.OpenMiningRound>;
|
|
18
|
+
amountPerTransfer: damlTypes.Numeric;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export declare const Airdrop_Execute:
|
|
22
|
+
damlTypes.Serializable<Airdrop_Execute> & {
|
|
23
|
+
}
|
|
24
|
+
;
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export declare type Airdrop_Join = {
|
|
28
|
+
actor: damlTypes.Party;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export declare const Airdrop_Join:
|
|
32
|
+
damlTypes.Serializable<Airdrop_Join> & {
|
|
33
|
+
}
|
|
34
|
+
;
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
export declare type Airdrop_AddObservers = {
|
|
38
|
+
actor: damlTypes.Party;
|
|
39
|
+
newObservers: damlTypes.Party[];
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export declare const Airdrop_AddObservers:
|
|
43
|
+
damlTypes.Serializable<Airdrop_AddObservers> & {
|
|
44
|
+
}
|
|
45
|
+
;
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
export declare type Airdrop_UpdateConfig = {
|
|
49
|
+
newConfig: AirdropConfig;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export declare const Airdrop_UpdateConfig:
|
|
53
|
+
damlTypes.Serializable<Airdrop_UpdateConfig> & {
|
|
54
|
+
}
|
|
55
|
+
;
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
export declare type Airdrop = {
|
|
59
|
+
config: AirdropConfig;
|
|
60
|
+
joinedParties: damlTypes.Party[];
|
|
61
|
+
observers: damlTypes.Party[];
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export declare interface AirdropInterface {
|
|
65
|
+
Airdrop_UpdateConfig: damlTypes.Choice<Airdrop, Airdrop_UpdateConfig, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Airdrop, undefined>>;
|
|
66
|
+
Airdrop_AddObservers: damlTypes.Choice<Airdrop, Airdrop_AddObservers, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Airdrop, undefined>>;
|
|
67
|
+
Airdrop_Join: damlTypes.Choice<Airdrop, Airdrop_Join, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Airdrop, undefined>>;
|
|
68
|
+
Airdrop_Execute: damlTypes.Choice<Airdrop, Airdrop_Execute, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Airdrop, undefined>>;
|
|
69
|
+
Archive: damlTypes.Choice<Airdrop, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<Airdrop, undefined>>;
|
|
70
|
+
}
|
|
71
|
+
export declare const Airdrop:
|
|
72
|
+
damlTypes.Template<Airdrop, undefined, '#CantonPayments:CantonPayments.Airdrop.Airdrop:Airdrop'> &
|
|
73
|
+
damlTypes.ToInterface<Airdrop, never> &
|
|
74
|
+
AirdropInterface;
|
|
75
|
+
|
|
76
|
+
export declare namespace Airdrop {
|
|
77
|
+
export type CreateEvent = damlLedger.CreateEvent<Airdrop, undefined, typeof Airdrop.templateId>
|
|
78
|
+
export type ArchiveEvent = damlLedger.ArchiveEvent<Airdrop, typeof Airdrop.templateId>
|
|
79
|
+
export type Event = damlLedger.Event<Airdrop, undefined, typeof Airdrop.templateId>
|
|
80
|
+
export type QueryResult = damlLedger.QueryResult<Airdrop, undefined, typeof Airdrop.templateId>
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
export declare type AirdropConfig = {
|
|
86
|
+
sender: damlTypes.Party;
|
|
87
|
+
featuredAppRight: damlTypes.Optional<damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.Amulet.FeaturedAppRight>>;
|
|
88
|
+
amuletRulesCid: damlTypes.ContractId<pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Splice.AmuletRules.AmuletRules>;
|
|
89
|
+
dso: damlTypes.Party;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
export declare const AirdropConfig:
|
|
93
|
+
damlTypes.Serializable<AirdropConfig> & {
|
|
94
|
+
}
|
|
95
|
+
;
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
export declare type RecipientTransferSpec = {
|
|
99
|
+
recipient: damlTypes.Party;
|
|
100
|
+
numberOfTransfers: damlTypes.Int;
|
|
101
|
+
appRewardBeneficiaries: pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.AppRewardBeneficiary[];
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
export declare const RecipientTransferSpec:
|
|
105
|
+
damlTypes.Serializable<RecipientTransferSpec> & {
|
|
106
|
+
}
|
|
107
|
+
;
|
|
108
|
+
|
|
@@ -0,0 +1,161 @@
|
|
|
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 pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1 = require('../../..');
|
|
16
|
+
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../Splice/Api/FeaturedAppRightV1');
|
|
17
|
+
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../DA/Internal/Template');
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
exports.Airdrop_Execute = {
|
|
21
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({transferSpecs: damlTypes.List(exports.RecipientTransferSpec).decoder, initialAmuletInputs: damlTypes.List(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet)).decoder, openMiningRoundCid: damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.OpenMiningRound).decoder, amountPerTransfer: damlTypes.Numeric(10).decoder, }); }),
|
|
22
|
+
encode: function (__typed__) {
|
|
23
|
+
return {
|
|
24
|
+
transferSpecs: damlTypes.List(exports.RecipientTransferSpec).encode(__typed__.transferSpecs),
|
|
25
|
+
initialAmuletInputs: damlTypes.List(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.Amulet)).encode(__typed__.initialAmuletInputs),
|
|
26
|
+
openMiningRoundCid: damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.OpenMiningRound).encode(__typed__.openMiningRoundCid),
|
|
27
|
+
amountPerTransfer: damlTypes.Numeric(10).encode(__typed__.amountPerTransfer),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
,
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
exports.Airdrop_Join = {
|
|
36
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, }); }),
|
|
37
|
+
encode: function (__typed__) {
|
|
38
|
+
return {
|
|
39
|
+
actor: damlTypes.Party.encode(__typed__.actor),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
,
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
exports.Airdrop_AddObservers = {
|
|
48
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, newObservers: damlTypes.List(damlTypes.Party).decoder, }); }),
|
|
49
|
+
encode: function (__typed__) {
|
|
50
|
+
return {
|
|
51
|
+
actor: damlTypes.Party.encode(__typed__.actor),
|
|
52
|
+
newObservers: damlTypes.List(damlTypes.Party).encode(__typed__.newObservers),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
,
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
exports.Airdrop_UpdateConfig = {
|
|
61
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({newConfig: exports.AirdropConfig.decoder, }); }),
|
|
62
|
+
encode: function (__typed__) {
|
|
63
|
+
return {
|
|
64
|
+
newConfig: exports.AirdropConfig.encode(__typed__.newConfig),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
,
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
exports.Airdrop = damlTypes.assembleTemplate(
|
|
73
|
+
{
|
|
74
|
+
templateId: '#CantonPayments:CantonPayments.Airdrop.Airdrop:Airdrop',
|
|
75
|
+
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
76
|
+
keyEncode: function () { throw 'EncodeError'; },
|
|
77
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({config: exports.AirdropConfig.decoder, joinedParties: damlTypes.List(damlTypes.Party).decoder, observers: damlTypes.List(damlTypes.Party).decoder, }); }),
|
|
78
|
+
encode: function (__typed__) {
|
|
79
|
+
return {
|
|
80
|
+
config: exports.AirdropConfig.encode(__typed__.config),
|
|
81
|
+
joinedParties: damlTypes.List(damlTypes.Party).encode(__typed__.joinedParties),
|
|
82
|
+
observers: damlTypes.List(damlTypes.Party).encode(__typed__.observers),
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
,
|
|
86
|
+
Airdrop_UpdateConfig: {
|
|
87
|
+
template: function () { return exports.Airdrop; },
|
|
88
|
+
choiceName: 'Airdrop_UpdateConfig',
|
|
89
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.Airdrop_UpdateConfig.decoder; }),
|
|
90
|
+
argumentEncode: function (__typed__) { return exports.Airdrop_UpdateConfig.encode(__typed__); },
|
|
91
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
92
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
93
|
+
},
|
|
94
|
+
Airdrop_AddObservers: {
|
|
95
|
+
template: function () { return exports.Airdrop; },
|
|
96
|
+
choiceName: 'Airdrop_AddObservers',
|
|
97
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.Airdrop_AddObservers.decoder; }),
|
|
98
|
+
argumentEncode: function (__typed__) { return exports.Airdrop_AddObservers.encode(__typed__); },
|
|
99
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
100
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
101
|
+
},
|
|
102
|
+
Airdrop_Join: {
|
|
103
|
+
template: function () { return exports.Airdrop; },
|
|
104
|
+
choiceName: 'Airdrop_Join',
|
|
105
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.Airdrop_Join.decoder; }),
|
|
106
|
+
argumentEncode: function (__typed__) { return exports.Airdrop_Join.encode(__typed__); },
|
|
107
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
108
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
109
|
+
},
|
|
110
|
+
Airdrop_Execute: {
|
|
111
|
+
template: function () { return exports.Airdrop; },
|
|
112
|
+
choiceName: 'Airdrop_Execute',
|
|
113
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.Airdrop_Execute.decoder; }),
|
|
114
|
+
argumentEncode: function (__typed__) { return exports.Airdrop_Execute.encode(__typed__); },
|
|
115
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
116
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
117
|
+
},
|
|
118
|
+
Archive: {
|
|
119
|
+
template: function () { return exports.Airdrop; },
|
|
120
|
+
choiceName: 'Archive',
|
|
121
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
122
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
123
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
124
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
125
|
+
},
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
);
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
damlTypes.registerTemplate(exports.Airdrop, ['d936ffdfaadf4d453d1e2c4e7b115cd5604018a2f1786d7639797730513bd81e', '#CantonPayments']);
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
exports.AirdropConfig = {
|
|
136
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({sender: damlTypes.Party.decoder, featuredAppRight: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.FeaturedAppRight)).decoder), amuletRulesCid: damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.AmuletRules).decoder, dso: damlTypes.Party.decoder, }); }),
|
|
137
|
+
encode: function (__typed__) {
|
|
138
|
+
return {
|
|
139
|
+
sender: damlTypes.Party.encode(__typed__.sender),
|
|
140
|
+
featuredAppRight: damlTypes.Optional(damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.FeaturedAppRight)).encode(__typed__.featuredAppRight),
|
|
141
|
+
amuletRulesCid: damlTypes.ContractId(pkg3ca1343ab26b453d38c8adb70dca5f1ead8440c42b59b68f070786955cbf9ec1.AmuletRules).encode(__typed__.amuletRulesCid),
|
|
142
|
+
dso: damlTypes.Party.encode(__typed__.dso),
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
,
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
exports.RecipientTransferSpec = {
|
|
151
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({recipient: damlTypes.Party.decoder, numberOfTransfers: damlTypes.Int.decoder, appRewardBeneficiaries: damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary).decoder, }); }),
|
|
152
|
+
encode: function (__typed__) {
|
|
153
|
+
return {
|
|
154
|
+
recipient: damlTypes.Party.encode(__typed__.recipient),
|
|
155
|
+
numberOfTransfers: damlTypes.Int.encode(__typed__.numberOfTransfers),
|
|
156
|
+
appRewardBeneficiaries: damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary).encode(__typed__.appRewardBeneficiaries),
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
,
|
|
160
|
+
};
|
|
161
|
+
|
|
@@ -5,5 +5,5 @@ function __export(m) {
|
|
|
5
5
|
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
6
|
}
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
var
|
|
9
|
-
exports.
|
|
8
|
+
var Airdrop = require('./Airdrop');
|
|
9
|
+
exports.Airdrop = Airdrop;
|
|
@@ -119,7 +119,7 @@ exports.PaymentStreamChangeProposal = damlTypes.assembleTemplate(
|
|
|
119
119
|
);
|
|
120
120
|
|
|
121
121
|
|
|
122
|
-
damlTypes.registerTemplate(exports.PaymentStreamChangeProposal, ['
|
|
122
|
+
damlTypes.registerTemplate(exports.PaymentStreamChangeProposal, ['d936ffdfaadf4d453d1e2c4e7b115cd5604018a2f1786d7639797730513bd81e', '#CantonPayments']);
|
|
123
123
|
|
|
124
124
|
|
|
125
125
|
|
|
@@ -350,5 +350,5 @@ exports.ActivePaymentStream = damlTypes.assembleTemplate(
|
|
|
350
350
|
);
|
|
351
351
|
|
|
352
352
|
|
|
353
|
-
damlTypes.registerTemplate(exports.ActivePaymentStream, ['
|
|
353
|
+
damlTypes.registerTemplate(exports.ActivePaymentStream, ['d936ffdfaadf4d453d1e2c4e7b115cd5604018a2f1786d7639797730513bd81e', '#CantonPayments']);
|
|
354
354
|
|
|
@@ -133,5 +133,5 @@ exports.PartyMigrationProposal = damlTypes.assembleTemplate(
|
|
|
133
133
|
);
|
|
134
134
|
|
|
135
135
|
|
|
136
|
-
damlTypes.registerTemplate(exports.PartyMigrationProposal, ['
|
|
136
|
+
damlTypes.registerTemplate(exports.PartyMigrationProposal, ['d936ffdfaadf4d453d1e2c4e7b115cd5604018a2f1786d7639797730513bd81e', '#CantonPayments']);
|
|
137
137
|
|
|
@@ -70,5 +70,5 @@ exports.PaymentStreamFactory = damlTypes.assembleTemplate(
|
|
|
70
70
|
);
|
|
71
71
|
|
|
72
72
|
|
|
73
|
-
damlTypes.registerTemplate(exports.PaymentStreamFactory, ['
|
|
73
|
+
damlTypes.registerTemplate(exports.PaymentStreamFactory, ['d936ffdfaadf4d453d1e2c4e7b115cd5604018a2f1786d7639797730513bd81e', '#CantonPayments']);
|
|
74
74
|
|
|
@@ -157,5 +157,5 @@ exports.ProposedPaymentStream = damlTypes.assembleTemplate(
|
|
|
157
157
|
);
|
|
158
158
|
|
|
159
159
|
|
|
160
|
-
damlTypes.registerTemplate(exports.ProposedPaymentStream, ['
|
|
160
|
+
damlTypes.registerTemplate(exports.ProposedPaymentStream, ['d936ffdfaadf4d453d1e2c4e7b115cd5604018a2f1786d7639797730513bd81e', '#CantonPayments']);
|
|
161
161
|
|
|
@@ -5,5 +5,7 @@ function __export(m) {
|
|
|
5
5
|
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
6
|
}
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
var Airdrop = require('./Airdrop');
|
|
9
|
+
exports.Airdrop = Airdrop;
|
|
8
10
|
var PaymentStream = require('./PaymentStream');
|
|
9
11
|
exports.PaymentStream = PaymentStream;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fairmint/open-captable-protocol-daml-js",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.39",
|
|
4
4
|
"description": "Open CapTable Protocol DAML smart contracts with generated JavaScript bindings.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@daml/ledger": "^2.10.2",
|
|
63
63
|
"@daml/types": "^2.10.2",
|
|
64
|
-
"@fairmint/canton-node-sdk": "^0.0.
|
|
64
|
+
"@fairmint/canton-node-sdk": "^0.0.107"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@types/node": "^24.2.0",
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Date/Types.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
|
-
export declare type DayOfWeek =
|
|
11
|
-
| 'Monday'
|
|
12
|
-
| 'Tuesday'
|
|
13
|
-
| 'Wednesday'
|
|
14
|
-
| 'Thursday'
|
|
15
|
-
| 'Friday'
|
|
16
|
-
| 'Saturday'
|
|
17
|
-
| 'Sunday'
|
|
18
|
-
;
|
|
19
|
-
|
|
20
|
-
export declare const DayOfWeek:
|
|
21
|
-
damlTypes.Serializable<DayOfWeek> & {
|
|
22
|
-
}
|
|
23
|
-
& { readonly keys: DayOfWeek[] } & { readonly [e in DayOfWeek]: e }
|
|
24
|
-
;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export declare type Month =
|
|
28
|
-
| 'Jan'
|
|
29
|
-
| 'Feb'
|
|
30
|
-
| 'Mar'
|
|
31
|
-
| 'Apr'
|
|
32
|
-
| 'May'
|
|
33
|
-
| 'Jun'
|
|
34
|
-
| 'Jul'
|
|
35
|
-
| 'Aug'
|
|
36
|
-
| 'Sep'
|
|
37
|
-
| 'Oct'
|
|
38
|
-
| 'Nov'
|
|
39
|
-
| 'Dec'
|
|
40
|
-
;
|
|
41
|
-
|
|
42
|
-
export declare const Month:
|
|
43
|
-
damlTypes.Serializable<Month> & {
|
|
44
|
-
}
|
|
45
|
-
& { readonly keys: Month[] } & { readonly [e in Month]: e }
|
|
46
|
-
;
|
|
47
|
-
|
|
@@ -1,48 +0,0 @@
|
|
|
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
|
-
|
|
16
|
-
exports.DayOfWeek = {
|
|
17
|
-
Monday: 'Monday',
|
|
18
|
-
Tuesday: 'Tuesday',
|
|
19
|
-
Wednesday: 'Wednesday',
|
|
20
|
-
Thursday: 'Thursday',
|
|
21
|
-
Friday: 'Friday',
|
|
22
|
-
Saturday: 'Saturday',
|
|
23
|
-
Sunday: 'Sunday',
|
|
24
|
-
keys: ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday',],
|
|
25
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.DayOfWeek.Monday), jtv.constant(exports.DayOfWeek.Tuesday), jtv.constant(exports.DayOfWeek.Wednesday), jtv.constant(exports.DayOfWeek.Thursday), jtv.constant(exports.DayOfWeek.Friday), jtv.constant(exports.DayOfWeek.Saturday), jtv.constant(exports.DayOfWeek.Sunday)); }),
|
|
26
|
-
encode: function (__typed__) { return __typed__; },
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
exports.Month = {
|
|
32
|
-
Jan: 'Jan',
|
|
33
|
-
Feb: 'Feb',
|
|
34
|
-
Mar: 'Mar',
|
|
35
|
-
Apr: 'Apr',
|
|
36
|
-
May: 'May',
|
|
37
|
-
Jun: 'Jun',
|
|
38
|
-
Jul: 'Jul',
|
|
39
|
-
Aug: 'Aug',
|
|
40
|
-
Sep: 'Sep',
|
|
41
|
-
Oct: 'Oct',
|
|
42
|
-
Nov: 'Nov',
|
|
43
|
-
Dec: 'Dec',
|
|
44
|
-
keys: ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec',],
|
|
45
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.Month.Jan), jtv.constant(exports.Month.Feb), jtv.constant(exports.Month.Mar), jtv.constant(exports.Month.Apr), jtv.constant(exports.Month.May), jtv.constant(exports.Month.Jun), jtv.constant(exports.Month.Jul), jtv.constant(exports.Month.Aug), jtv.constant(exports.Month.Sep), jtv.constant(exports.Month.Oct), jtv.constant(exports.Month.Nov), jtv.constant(exports.Month.Dec)); }),
|
|
46
|
-
encode: function (__typed__) { return __typed__; },
|
|
47
|
-
};
|
|
48
|
-
|
package/lib/DA/Date/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
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'));
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Exception/ArithmeticError.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
|
-
export declare type ArithmeticError = {
|
|
11
|
-
message: string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export declare const ArithmeticError:
|
|
15
|
-
damlTypes.Serializable<ArithmeticError> & {
|
|
16
|
-
}
|
|
17
|
-
;
|
|
18
|
-
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
|
|
16
|
-
exports.ArithmeticError = {
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({message: damlTypes.Text.decoder, }); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
return {
|
|
20
|
-
message: damlTypes.Text.encode(__typed__.message),
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
,
|
|
24
|
-
};
|
|
25
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
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'));
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Exception/AssertionFailed.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
|
-
export declare type AssertionFailed = {
|
|
11
|
-
message: string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export declare const AssertionFailed:
|
|
15
|
-
damlTypes.Serializable<AssertionFailed> & {
|
|
16
|
-
}
|
|
17
|
-
;
|
|
18
|
-
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
|
|
16
|
-
exports.AssertionFailed = {
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({message: damlTypes.Text.decoder, }); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
return {
|
|
20
|
-
message: damlTypes.Text.encode(__typed__.message),
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
,
|
|
24
|
-
};
|
|
25
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
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'));
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Exception/GeneralError.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
|
-
export declare type GeneralError = {
|
|
11
|
-
message: string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export declare const GeneralError:
|
|
15
|
-
damlTypes.Serializable<GeneralError> & {
|
|
16
|
-
}
|
|
17
|
-
;
|
|
18
|
-
|