@fairmint/canton-fairmint-sdk 0.0.62 → 0.0.64
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/dist/fairmintOcpClient.d.ts +16 -5
- package/dist/fairmintOcpClient.d.ts.map +1 -1
- package/dist/fairmintOcpClient.js +14 -3
- package/dist/fairmintOcpClient.js.map +1 -1
- package/dist/functions/CantonPayments/airdrop/addObserversToAirdrop.js +2 -2
- package/dist/functions/CantonPayments/airdrop/addObserversToAirdrop.js.map +1 -1
- package/dist/functions/CantonPayments/airdrop/createAirdrop.js +2 -2
- package/dist/functions/CantonPayments/airdrop/createAirdrop.js.map +1 -1
- package/dist/functions/CantonPayments/airdrop/executeAirdrop.js +2 -2
- package/dist/functions/CantonPayments/airdrop/executeAirdrop.js.map +1 -1
- package/dist/functions/CantonPayments/airdrop/joinAirdrop.js +2 -2
- package/dist/functions/CantonPayments/airdrop/joinAirdrop.js.map +1 -1
- package/dist/functions/CantonPayments/airdrop/updateAirdropConfig.js +2 -2
- package/dist/functions/CantonPayments/airdrop/updateAirdropConfig.js.map +1 -1
- package/dist/functions/CantonPayments/simpleAirdrop/archiveSimpleAirdrop.js +2 -2
- package/dist/functions/CantonPayments/simpleAirdrop/archiveSimpleAirdrop.js.map +1 -1
- package/dist/functions/CantonPayments/simpleAirdrop/createSimpleAirdrop.js +2 -2
- package/dist/functions/CantonPayments/simpleAirdrop/createSimpleAirdrop.js.map +1 -1
- package/dist/functions/CantonPayments/simpleAirdrop/executeSimpleAirdrop.js +2 -2
- package/dist/functions/CantonPayments/simpleAirdrop/executeSimpleAirdrop.js.map +1 -1
- package/dist/functions/OpenCapTableReports/companyValuationReport/addObserversToCompanyValuationReport.d.ts +14 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/addObserversToCompanyValuationReport.d.ts.map +1 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/addObserversToCompanyValuationReport.js +67 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/addObserversToCompanyValuationReport.js.map +1 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/createCompanyValuationReport.d.ts +25 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/createCompanyValuationReport.d.ts.map +1 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/createCompanyValuationReport.js +74 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/createCompanyValuationReport.js.map +1 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/index.d.ts +4 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/index.d.ts.map +1 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/index.js +20 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/index.js.map +1 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/updateCompanyValuationReport.d.ts +14 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/updateCompanyValuationReport.d.ts.map +1 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/updateCompanyValuationReport.js +69 -0
- package/dist/functions/OpenCapTableReports/companyValuationReport/updateCompanyValuationReport.js.map +1 -0
- package/dist/functions/OpenCapTableReports/index.d.ts +2 -0
- package/dist/functions/OpenCapTableReports/index.d.ts.map +1 -0
- package/dist/functions/OpenCapTableReports/index.js +18 -0
- package/dist/functions/OpenCapTableReports/index.js.map +1 -0
- package/dist/functions/PaymentStreams/activePaymentStream/addFunds.js +2 -2
- package/dist/functions/PaymentStreams/activePaymentStream/addFunds.js.map +1 -1
- package/dist/functions/PaymentStreams/activePaymentStream/archiveInactivePaymentStream.js +2 -2
- package/dist/functions/PaymentStreams/activePaymentStream/archiveInactivePaymentStream.js.map +1 -1
- package/dist/functions/PaymentStreams/activePaymentStream/cancel.js +2 -2
- package/dist/functions/PaymentStreams/activePaymentStream/cancel.js.map +1 -1
- package/dist/functions/PaymentStreams/activePaymentStream/changeParty.js +2 -2
- package/dist/functions/PaymentStreams/activePaymentStream/changeParty.js.map +1 -1
- package/dist/functions/PaymentStreams/activePaymentStream/processFreeTrial.js +2 -2
- package/dist/functions/PaymentStreams/activePaymentStream/processFreeTrial.js.map +1 -1
- package/dist/functions/PaymentStreams/activePaymentStream/processPayment.js +2 -2
- package/dist/functions/PaymentStreams/activePaymentStream/processPayment.js.map +1 -1
- package/dist/functions/PaymentStreams/activePaymentStream/proposeChanges.js +2 -2
- package/dist/functions/PaymentStreams/activePaymentStream/proposeChanges.js.map +1 -1
- package/dist/functions/PaymentStreams/activePaymentStream/refund.js +2 -2
- package/dist/functions/PaymentStreams/activePaymentStream/refund.js.map +1 -1
- package/dist/functions/PaymentStreams/activePaymentStream/replaceLockedAmulet.js +2 -2
- package/dist/functions/PaymentStreams/activePaymentStream/replaceLockedAmulet.js.map +1 -1
- package/dist/functions/PaymentStreams/activePaymentStream/withdrawFunds.js +2 -2
- package/dist/functions/PaymentStreams/activePaymentStream/withdrawFunds.js.map +1 -1
- package/dist/functions/PaymentStreams/partyMigrationProposal/approve.js +2 -2
- package/dist/functions/PaymentStreams/partyMigrationProposal/approve.js.map +1 -1
- package/dist/functions/PaymentStreams/partyMigrationProposal/archive.js +2 -2
- package/dist/functions/PaymentStreams/partyMigrationProposal/archive.js.map +1 -1
- package/dist/functions/PaymentStreams/partyMigrationProposal/migrateActivePaymentStream.js +2 -2
- package/dist/functions/PaymentStreams/partyMigrationProposal/migrateActivePaymentStream.js.map +1 -1
- package/dist/functions/PaymentStreams/partyMigrationProposal/migrateProposedPaymentStream.js +2 -2
- package/dist/functions/PaymentStreams/partyMigrationProposal/migrateProposedPaymentStream.js.map +1 -1
- package/dist/functions/PaymentStreams/paymentStreamChangeProposal/apply.js +2 -2
- package/dist/functions/PaymentStreams/paymentStreamChangeProposal/apply.js.map +1 -1
- package/dist/functions/PaymentStreams/paymentStreamChangeProposal/approve.js +2 -2
- package/dist/functions/PaymentStreams/paymentStreamChangeProposal/approve.js.map +1 -1
- package/dist/functions/PaymentStreams/paymentStreamChangeProposal/reject.js +2 -2
- package/dist/functions/PaymentStreams/paymentStreamChangeProposal/reject.js.map +1 -1
- package/dist/functions/PaymentStreams/paymentStreamFactory/createPaymentStreamProposal.js +2 -2
- package/dist/functions/PaymentStreams/paymentStreamFactory/createPaymentStreamProposal.js.map +1 -1
- package/dist/functions/PaymentStreams/proposedPaymentStream/approve.js +2 -2
- package/dist/functions/PaymentStreams/proposedPaymentStream/approve.js.map +1 -1
- package/dist/functions/PaymentStreams/proposedPaymentStream/changeParty.js +2 -2
- package/dist/functions/PaymentStreams/proposedPaymentStream/changeParty.js.map +1 -1
- package/dist/functions/PaymentStreams/proposedPaymentStream/editPaymentStreamProposal.js +2 -2
- package/dist/functions/PaymentStreams/proposedPaymentStream/editPaymentStreamProposal.js.map +1 -1
- package/dist/functions/PaymentStreams/proposedPaymentStream/startPaymentStream.js +2 -2
- package/dist/functions/PaymentStreams/proposedPaymentStream/startPaymentStream.js.map +1 -1
- package/dist/functions/PaymentStreams/proposedPaymentStream/withdraw.js +2 -2
- package/dist/functions/PaymentStreams/proposedPaymentStream/withdraw.js.map +1 -1
- package/dist/functions/PaymentStreams/utils/disclosedContracts.js +1 -1
- package/dist/functions/PaymentStreams/utils/disclosedContracts.js.map +1 -1
- package/dist/functions/PaymentStreams/utils/factoryContractId.js +1 -1
- package/dist/functions/PaymentStreams/utils/factoryContractId.js.map +1 -1
- package/package.json +6 -4
package/dist/functions/OpenCapTableReports/companyValuationReport/updateCompanyValuationReport.js
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateCompanyValuationReport = updateCompanyValuationReport;
|
|
4
|
+
const findCreatedEvent_1 = require("@fairmint/canton-node-sdk/build/src/utils/contracts/findCreatedEvent");
|
|
5
|
+
const open_captable_protocol_daml_js_1 = require("@fairmint/open-captable-protocol-daml-js");
|
|
6
|
+
const canton_1 = require("@open-captable-protocol/canton");
|
|
7
|
+
function hasSystemOperator(arg) {
|
|
8
|
+
return (Boolean(arg) &&
|
|
9
|
+
typeof arg === 'object' &&
|
|
10
|
+
typeof arg
|
|
11
|
+
.system_operator === 'string');
|
|
12
|
+
}
|
|
13
|
+
/** Update the company valuation on a CompanyValuationReport by exercising SetCompanyValuation. */
|
|
14
|
+
async function updateCompanyValuationReport(client, params) {
|
|
15
|
+
// Determine the acting party (system_operator) from the created event
|
|
16
|
+
const eventsResponse = await client.getEventsByContractId({
|
|
17
|
+
contractId: params.companyValuationReportContractId,
|
|
18
|
+
});
|
|
19
|
+
const createdEvent = eventsResponse.created?.createdEvent;
|
|
20
|
+
if (!createdEvent?.createArgument) {
|
|
21
|
+
throw new canton_1.OcpContractError('Invalid contract events response: missing created event or create argument', {
|
|
22
|
+
contractId: params.companyValuationReportContractId,
|
|
23
|
+
code: canton_1.OcpErrorCodes.RESULT_NOT_FOUND,
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
const { createArgument } = createdEvent;
|
|
27
|
+
if (!hasSystemOperator(createArgument)) {
|
|
28
|
+
throw new canton_1.OcpParseError('System operator not found in contract create argument', {
|
|
29
|
+
source: 'CompanyValuationReport.createArgument',
|
|
30
|
+
code: canton_1.OcpErrorCodes.SCHEMA_MISMATCH,
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
const systemOperator = createArgument.system_operator;
|
|
34
|
+
const choiceArguments = {
|
|
35
|
+
new_company_valuation: typeof params.newCompanyValuation === 'number'
|
|
36
|
+
? params.newCompanyValuation.toString()
|
|
37
|
+
: params.newCompanyValuation,
|
|
38
|
+
};
|
|
39
|
+
const response = await client.submitAndWaitForTransactionTree({
|
|
40
|
+
actAs: [systemOperator],
|
|
41
|
+
commands: [
|
|
42
|
+
{
|
|
43
|
+
ExerciseCommand: {
|
|
44
|
+
templateId: open_captable_protocol_daml_js_1.Fairmint.OpenCapTableReports.CompanyValuationReport
|
|
45
|
+
.CompanyValuationReport.templateId,
|
|
46
|
+
contractId: params.companyValuationReportContractId,
|
|
47
|
+
choice: 'SetCompanyValuation',
|
|
48
|
+
choiceArgument: choiceArguments,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
});
|
|
53
|
+
const created = (0, findCreatedEvent_1.findCreatedEventByTemplateId)(response, open_captable_protocol_daml_js_1.Fairmint.OpenCapTableReports.CompanyValuationReport.CompanyValuationReport
|
|
54
|
+
.templateId);
|
|
55
|
+
if (!created) {
|
|
56
|
+
throw new canton_1.OcpContractError('Expected CreatedTreeEvent not found', {
|
|
57
|
+
templateId: open_captable_protocol_daml_js_1.Fairmint.OpenCapTableReports.CompanyValuationReport
|
|
58
|
+
.CompanyValuationReport.templateId,
|
|
59
|
+
choice: 'SetCompanyValuation',
|
|
60
|
+
code: canton_1.OcpErrorCodes.RESULT_NOT_FOUND,
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
contractId: created.CreatedTreeEvent.value.contractId,
|
|
65
|
+
updateId: response.transactionTree.updateId,
|
|
66
|
+
response,
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=updateCompanyValuationReport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateCompanyValuationReport.js","sourceRoot":"","sources":["../../../../src/functions/OpenCapTableReports/companyValuationReport/updateCompanyValuationReport.ts"],"names":[],"mappings":";;AAuCA,oEA4EC;AAjHD,2GAAoH;AACpH,6FAAoE;AACpE,2DAIwC;AAiBxC,SAAS,iBAAiB,CACxB,GAAY;IAIZ,OAAO,CACL,OAAO,CAAC,GAAG,CAAC;QACZ,OAAO,GAAG,KAAK,QAAQ;QACvB,OAAQ,GAAiD;aACtD,eAAe,KAAK,QAAQ,CAChC,CAAC;AACJ,CAAC;AAED,kGAAkG;AAC3F,KAAK,UAAU,4BAA4B,CAChD,MAA2B,EAC3B,MAAoC;IAEpC,sEAAsE;IACtE,MAAM,cAAc,GAAG,MAAM,MAAM,CAAC,qBAAqB,CAAC;QACxD,UAAU,EAAE,MAAM,CAAC,gCAAgC;KACpD,CAAC,CAAC;IAEH,MAAM,YAAY,GAAG,cAAc,CAAC,OAAO,EAAE,YAAY,CAAC;IAC1D,IAAI,CAAC,YAAY,EAAE,cAAc,EAAE,CAAC;QAClC,MAAM,IAAI,yBAAgB,CACxB,4EAA4E,EAC5E;YACE,UAAU,EAAE,MAAM,CAAC,gCAAgC;YACnD,IAAI,EAAE,sBAAa,CAAC,gBAAgB;SACrC,CACF,CAAC;IACJ,CAAC;IAED,MAAM,EAAE,cAAc,EAAE,GAAG,YAAY,CAAC;IACxC,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAAC,EAAE,CAAC;QACvC,MAAM,IAAI,sBAAa,CACrB,uDAAuD,EACvD;YACE,MAAM,EAAE,uCAAuC;YAC/C,IAAI,EAAE,sBAAa,CAAC,eAAe;SACpC,CACF,CAAC;IACJ,CAAC;IACD,MAAM,cAAc,GAAG,cAAc,CAAC,eAAe,CAAC;IAEtD,MAAM,eAAe,GACnB;QACE,qBAAqB,EACnB,OAAO,MAAM,CAAC,mBAAmB,KAAK,QAAQ;YAC5C,CAAC,CAAC,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE;YACvC,CAAC,CAAC,MAAM,CAAC,mBAAmB;KACjC,CAAC;IAEJ,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,+BAA+B,CAAC;QAC5D,KAAK,EAAE,CAAC,cAAc,CAAC;QACvB,QAAQ,EAAE;YACR;gBACE,eAAe,EAAE;oBACf,UAAU,EACR,yCAAQ,CAAC,mBAAmB,CAAC,sBAAsB;yBAChD,sBAAsB,CAAC,UAAU;oBACtC,UAAU,EAAE,MAAM,CAAC,gCAAgC;oBACnD,MAAM,EAAE,qBAAqB;oBAC7B,cAAc,EAAE,eAAe;iBAChC;aACF;SACF;KACF,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,IAAA,+CAA4B,EAC1C,QAAQ,EACR,yCAAQ,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,sBAAsB;SACvE,UAAU,CACd,CAAC;IACF,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,yBAAgB,CAAC,qCAAqC,EAAE;YAChE,UAAU,EACR,yCAAQ,CAAC,mBAAmB,CAAC,sBAAsB;iBAChD,sBAAsB,CAAC,UAAU;YACtC,MAAM,EAAE,qBAAqB;YAC7B,IAAI,EAAE,sBAAa,CAAC,gBAAgB;SACrC,CAAC,CAAC;IACL,CAAC;IAED,OAAO;QACL,UAAU,EAAE,OAAO,CAAC,gBAAgB,CAAC,KAAK,CAAC,UAAU;QACrD,QAAQ,EAAE,QAAQ,CAAC,eAAe,CAAC,QAAQ;QAC3C,QAAQ;KACT,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/functions/OpenCapTableReports/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./companyValuationReport"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/functions/OpenCapTableReports/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildAddFundsCommand = buildAddFundsCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildAddFundsCommand(params) {
|
|
6
6
|
const choiceArguments = {
|
|
7
7
|
actor: params.actor,
|
|
@@ -18,7 +18,7 @@ function buildAddFundsCommand(params) {
|
|
|
18
18
|
};
|
|
19
19
|
const command = {
|
|
20
20
|
ExerciseCommand: {
|
|
21
|
-
templateId:
|
|
21
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.ActivePaymentStream.ActivePaymentStream
|
|
22
22
|
.templateId,
|
|
23
23
|
contractId: params.paymentStreamContractId,
|
|
24
24
|
choice: 'ActivePaymentStream_AddFunds',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addFunds.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/activePaymentStream/addFunds.ts"],"names":[],"mappings":";;AAYA,oDA8BC;AAzCD
|
|
1
|
+
{"version":3,"file":"addFunds.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/activePaymentStream/addFunds.ts"],"names":[],"mappings":";;AAYA,oDA8BC;AAzCD,+CAAmD;AAWnD,SAAgB,oBAAoB,CAClC,MAAsB;IAEtB,MAAM,eAAe,GAAG;QACtB,KAAK,EAAE,MAAM,CAAC,KAAK;QACnB,cAAc,EAAE;YACd,YAAY,EAAE,MAAM,CAAC,cAAc,CAAC,YAAY;YAChD,YAAY,EAAE,MAAM,CAAC,cAAc,CAAC,YAAY;YAChD,cAAc,EAAE;gBACd,cAAc,EAAE,MAAM,CAAC,cAAc,CAAC,cAAc,CAAC,cAAc;gBACnE,kBAAkB,EAChB,MAAM,CAAC,cAAc,CAAC,cAAc,CAAC,kBAAkB;gBACzD,gBAAgB,EAAE,MAAM,CAAC,cAAc,CAAC,cAAc,CAAC,gBAAgB;aACxE;SACF;QACD,WAAW,EAAE,MAAM,CAAC,WAAW,IAAI,IAAI;KACxC,CAAC;IAEF,MAAM,OAAO,GAAY;QACvB,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,mBAAmB,CAAC,mBAAmB;iBACjE,UAAU;YACf,UAAU,EAAE,MAAM,CAAC,uBAAuB;YAC1C,MAAM,EAAE,8BAA8B;YACtC,cAAc,EAAE,eAAe;SAChC;KACF,CAAC;IAEF,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAAC;AAC7C,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildArchiveInactivePaymentStreamCommand = buildArchiveInactivePaymentStreamCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildArchiveInactivePaymentStreamCommand(params) {
|
|
6
6
|
return {
|
|
7
7
|
ExerciseCommand: {
|
|
8
|
-
templateId:
|
|
8
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.ActivePaymentStream.ActivePaymentStream
|
|
9
9
|
.templateId,
|
|
10
10
|
contractId: params.paymentStreamContractId,
|
|
11
11
|
choice: 'ActivePaymentStream_ArchiveInactivePaymentStream',
|
package/dist/functions/PaymentStreams/activePaymentStream/archiveInactivePaymentStream.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"archiveInactivePaymentStream.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/activePaymentStream/archiveInactivePaymentStream.ts"],"names":[],"mappings":";;AAQA,4FAeC;AAtBD
|
|
1
|
+
{"version":3,"file":"archiveInactivePaymentStream.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/activePaymentStream/archiveInactivePaymentStream.ts"],"names":[],"mappings":";;AAQA,4FAeC;AAtBD,+CAAmD;AAOnD,SAAgB,wCAAwC,CACtD,MAA0C;IAE1C,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,mBAAmB,CAAC,mBAAmB;iBACjE,UAAU;YACf,UAAU,EAAE,MAAM,CAAC,uBAAuB;YAC1C,MAAM,EAAE,kDAAkD;YAC1D,cAAc,EAAE;gBACd,KAAK,EAAE,MAAM,CAAC,KAAK;aACpB;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildCancelPaymentStreamCommand = buildCancelPaymentStreamCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildCancelPaymentStreamCommand(params) {
|
|
6
6
|
const choiceArgument = {
|
|
7
7
|
actor: params.actor,
|
|
@@ -11,7 +11,7 @@ function buildCancelPaymentStreamCommand(params) {
|
|
|
11
11
|
};
|
|
12
12
|
return {
|
|
13
13
|
ExerciseCommand: {
|
|
14
|
-
templateId:
|
|
14
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.ActivePaymentStream.ActivePaymentStream
|
|
15
15
|
.templateId,
|
|
16
16
|
contractId: params.paymentStreamContractId,
|
|
17
17
|
choice: 'ActivePaymentStream_Cancel',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/activePaymentStream/cancel.ts"],"names":[],"mappings":";;AAWA,0EAoBC;AA9BD
|
|
1
|
+
{"version":3,"file":"cancel.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/activePaymentStream/cancel.ts"],"names":[],"mappings":";;AAWA,0EAoBC;AA9BD,+CAAmD;AAUnD,SAAgB,+BAA+B,CAC7C,MAAiC;IAEjC,MAAM,cAAc,GAAG;QACrB,KAAK,EAAE,MAAM,CAAC,KAAK;QACnB,4BAA4B,EAAE,MAAM,CAAC,4BAA4B,IAAI,KAAK;QAC1E,WAAW,EAAE,MAAM,CAAC,WAAW,IAAI,IAAI;QACvC,kBAAkB,EAAE,MAAM,CAAC,kBAAkB,IAAI,IAAI;KACtD,CAAC;IAEF,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,mBAAmB,CAAC,mBAAmB;iBACjE,UAAU;YACf,UAAU,EAAE,MAAM,CAAC,uBAAuB;YAC1C,MAAM,EAAE,4BAA4B;YACpC,cAAc;SACf;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildActivePaymentStreamChangePartyCommand = buildActivePaymentStreamChangePartyCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildActivePaymentStreamChangePartyCommand(params) {
|
|
6
6
|
return {
|
|
7
7
|
ExerciseCommand: {
|
|
8
|
-
templateId:
|
|
8
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.ActivePaymentStream.ActivePaymentStream
|
|
9
9
|
.templateId,
|
|
10
10
|
contractId: params.paymentStreamContractId,
|
|
11
11
|
choice: 'ActivePaymentStream_ChangeParty',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changeParty.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/activePaymentStream/changeParty.ts"],"names":[],"mappings":";;AAWA,gGAiBC;AA3BD
|
|
1
|
+
{"version":3,"file":"changeParty.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/activePaymentStream/changeParty.ts"],"names":[],"mappings":";;AAWA,gGAiBC;AA3BD,+CAAmD;AAUnD,SAAgB,0CAA0C,CACxD,MAA4C;IAE5C,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,mBAAmB,CAAC,mBAAmB;iBACjE,UAAU;YACf,UAAU,EAAE,MAAM,CAAC,uBAAuB;YAC1C,MAAM,EAAE,iCAAiC;YACzC,cAAc,EAAE;gBACd,SAAS,EAAE,MAAM,CAAC,SAAS;gBAC3B,QAAQ,EAAE,MAAM,CAAC,QAAQ;gBACzB,QAAQ,EAAE,MAAM,CAAC,QAAQ;aAC1B;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildProcessFreeTrialCommand = buildProcessFreeTrialCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
const canton_1 = require("@open-captable-protocol/canton");
|
|
6
6
|
function buildProcessFreeTrialCommand(params) {
|
|
7
7
|
const choiceArguments = {
|
|
@@ -10,7 +10,7 @@ function buildProcessFreeTrialCommand(params) {
|
|
|
10
10
|
};
|
|
11
11
|
return {
|
|
12
12
|
ExerciseCommand: {
|
|
13
|
-
templateId:
|
|
13
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.ActivePaymentStream.ActivePaymentStream
|
|
14
14
|
.templateId,
|
|
15
15
|
contractId: params.paymentStreamContractId,
|
|
16
16
|
choice: 'ActivePaymentStream_ProcessFreeTrial',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"processFreeTrial.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/activePaymentStream/processFreeTrial.ts"],"names":[],"mappings":";;AAUA,oEAkBC;AA3BD
|
|
1
|
+
{"version":3,"file":"processFreeTrial.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/activePaymentStream/processFreeTrial.ts"],"names":[],"mappings":";;AAUA,oEAkBC;AA3BD,+CAAmD;AACnD,2DAA+D;AAQ/D,SAAgB,4BAA4B,CAC1C,MAA8B;IAE9B,MAAM,eAAe,GAAG;QACtB,gBAAgB,EAAE,IAAA,sBAAa,EAAC,MAAM,CAAC,gBAAgB,CAAC;QACxD,gBAAgB,EAAE,MAAM,CAAC,gBAAgB,IAAI,IAAI;KAClD,CAAC;IAEF,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,mBAAmB,CAAC,mBAAmB;iBACjE,UAAU;YACf,UAAU,EAAE,MAAM,CAAC,uBAAuB;YAC1C,MAAM,EAAE,sCAAsC;YAC9C,cAAc,EAAE,eAAe;SAChC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildProcessPaymentCommand = buildProcessPaymentCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
const canton_1 = require("@open-captable-protocol/canton");
|
|
6
6
|
function buildProcessPaymentCommand(params) {
|
|
7
7
|
const choiceArguments = {
|
|
@@ -16,7 +16,7 @@ function buildProcessPaymentCommand(params) {
|
|
|
16
16
|
};
|
|
17
17
|
const command = {
|
|
18
18
|
ExerciseCommand: {
|
|
19
|
-
templateId:
|
|
19
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.ActivePaymentStream.ActivePaymentStream
|
|
20
20
|
.templateId,
|
|
21
21
|
contractId: params.paymentStreamContractId,
|
|
22
22
|
choice: 'ActivePaymentStream_ProcessPayment',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"processPayment.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/activePaymentStream/processPayment.ts"],"names":[],"mappings":";;AAcA,gEA2BC;AAxCD
|
|
1
|
+
{"version":3,"file":"processPayment.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/activePaymentStream/processPayment.ts"],"names":[],"mappings":";;AAcA,gEA2BC;AAxCD,+CAAmD;AAEnD,2DAA+D;AAW/D,SAAgB,0BAA0B,CACxC,MAA4B;IAE5B,MAAM,eAAe,GAAG;QACtB,gBAAgB,EAAE,IAAA,sBAAa,EAAC,MAAM,CAAC,gBAAgB,CAAC;QACxD,cAAc,EAAE;YACd,cAAc,EAAE,MAAM,CAAC,cAAc,CAAC,cAAc;YACpD,kBAAkB,EAAE,MAAM,CAAC,cAAc,CAAC,kBAAkB;YAC5D,gBAAgB,EAAE,MAAM,CAAC,cAAc,CAAC,gBAAgB;SACzD;QACD,oBAAoB,EAAE,MAAM,CAAC,oBAAoB,IAAI,KAAK;QAC1D,iCAAiC,EAC/B,MAAM,CAAC,iCAAiC,IAAI,IAAI;KACnD,CAAC;IAEF,MAAM,OAAO,GAAY;QACvB,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,mBAAmB,CAAC,mBAAmB;iBACjE,UAAU;YACf,UAAU,EAAE,MAAM,CAAC,uBAAuB;YAC1C,MAAM,EAAE,oCAAoC;YAC5C,cAAc,EAAE,eAAe;SAChC;KACF,CAAC;IAEF,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAAC;AAC7C,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildProposeChangesCommand = buildProposeChangesCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
const canton_1 = require("@open-captable-protocol/canton");
|
|
6
6
|
const paymentStreamDamlCodec_1 = require("../utils/paymentStreamDamlCodec");
|
|
7
7
|
function changesToDaml(changes) {
|
|
@@ -61,7 +61,7 @@ function buildProposeChangesCommand(params) {
|
|
|
61
61
|
};
|
|
62
62
|
return {
|
|
63
63
|
ExerciseCommand: {
|
|
64
|
-
templateId:
|
|
64
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.ActivePaymentStream.ActivePaymentStream
|
|
65
65
|
.templateId,
|
|
66
66
|
contractId: params.paymentStreamContractId,
|
|
67
67
|
choice: 'ActivePaymentStream_ProposeChanges',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proposeChanges.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/activePaymentStream/proposeChanges.ts"],"names":[],"mappings":";;AA4FA,gEAmBC;AA9GD
|
|
1
|
+
{"version":3,"file":"proposeChanges.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/activePaymentStream/proposeChanges.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildRefundPaymentStreamCommand = buildRefundPaymentStreamCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildRefundPaymentStreamCommand(params) {
|
|
6
6
|
const choiceArgument = {
|
|
7
7
|
paymentContext: {
|
|
@@ -14,7 +14,7 @@ function buildRefundPaymentStreamCommand(params) {
|
|
|
14
14
|
};
|
|
15
15
|
return {
|
|
16
16
|
ExerciseCommand: {
|
|
17
|
-
templateId:
|
|
17
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.ActivePaymentStream.ActivePaymentStream
|
|
18
18
|
.templateId,
|
|
19
19
|
contractId: params.paymentStreamContractId,
|
|
20
20
|
choice: 'ActivePaymentStream_Refund',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refund.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/activePaymentStream/refund.ts"],"names":[],"mappings":";;AAWA,0EAuBC;AAjCD
|
|
1
|
+
{"version":3,"file":"refund.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/activePaymentStream/refund.ts"],"names":[],"mappings":";;AAWA,0EAuBC;AAjCD,+CAAmD;AAUnD,SAAgB,+BAA+B,CAC7C,MAAiC;IAEjC,MAAM,cAAc,GAAG;QACrB,cAAc,EAAE;YACd,cAAc,EAAE,MAAM,CAAC,cAAc,CAAC,cAAc;YACpD,kBAAkB,EAAE,MAAM,CAAC,cAAc,CAAC,kBAAkB;YAC5D,gBAAgB,EAAE,MAAM,CAAC,cAAc,CAAC,gBAAgB;SACzD;QACD,qBAAqB,EAAE,MAAM,CAAC,qBAAqB;QACnD,yBAAyB,EAAE,MAAM,CAAC,yBAAyB,IAAI,IAAI;KACpE,CAAC;IAEF,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,mBAAmB,CAAC,mBAAmB;iBACjE,UAAU;YACf,UAAU,EAAE,MAAM,CAAC,uBAAuB;YAC1C,MAAM,EAAE,4BAA4B;YACpC,cAAc;SACf;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildReplaceLockedAmuletCommand = buildReplaceLockedAmuletCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildReplaceLockedAmuletCommand(params) {
|
|
6
6
|
const choiceArguments = {
|
|
7
7
|
newAmulets: params.newAmulets,
|
|
@@ -14,7 +14,7 @@ function buildReplaceLockedAmuletCommand(params) {
|
|
|
14
14
|
};
|
|
15
15
|
const command = {
|
|
16
16
|
ExerciseCommand: {
|
|
17
|
-
templateId:
|
|
17
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.ActivePaymentStream.ActivePaymentStream
|
|
18
18
|
.templateId,
|
|
19
19
|
contractId: params.paymentStreamContractId,
|
|
20
20
|
choice: 'ActivePaymentStream_ReplaceLockedAmulet',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replaceLockedAmulet.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/activePaymentStream/replaceLockedAmulet.ts"],"names":[],"mappings":";;AAYA,0EAyBC;AApCD
|
|
1
|
+
{"version":3,"file":"replaceLockedAmulet.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/activePaymentStream/replaceLockedAmulet.ts"],"names":[],"mappings":";;AAYA,0EAyBC;AApCD,+CAAmD;AAWnD,SAAgB,+BAA+B,CAC7C,MAAiC;IAEjC,MAAM,eAAe,GAAG;QACtB,UAAU,EAAE,MAAM,CAAC,UAAU;QAC7B,YAAY,EAAE,MAAM,CAAC,YAAY;QACjC,cAAc,EAAE;YACd,cAAc,EAAE,MAAM,CAAC,cAAc,CAAC,cAAc;YACpD,kBAAkB,EAAE,MAAM,CAAC,cAAc,CAAC,kBAAkB;YAC5D,gBAAgB,EAAE,MAAM,CAAC,cAAc,CAAC,gBAAgB;SACzD;KACF,CAAC;IAEF,MAAM,OAAO,GAAY;QACvB,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,mBAAmB,CAAC,mBAAmB;iBACjE,UAAU;YACf,UAAU,EAAE,MAAM,CAAC,uBAAuB;YAC1C,MAAM,EAAE,yCAAyC;YACjD,cAAc,EAAE,eAAe;SAChC;KACF,CAAC;IAEF,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAAC;AAC7C,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildWithdrawFundsCommand = buildWithdrawFundsCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildWithdrawFundsCommand(params) {
|
|
6
6
|
const choiceArguments = {
|
|
7
7
|
amountToKeepLocked: params.amountToKeepLocked,
|
|
@@ -13,7 +13,7 @@ function buildWithdrawFundsCommand(params) {
|
|
|
13
13
|
};
|
|
14
14
|
const command = {
|
|
15
15
|
ExerciseCommand: {
|
|
16
|
-
templateId:
|
|
16
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.ActivePaymentStream.ActivePaymentStream
|
|
17
17
|
.templateId,
|
|
18
18
|
contractId: params.paymentStreamContractId,
|
|
19
19
|
choice: 'ActivePaymentStream_WithdrawFunds',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withdrawFunds.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/activePaymentStream/withdrawFunds.ts"],"names":[],"mappings":";;AAWA,8DAwBC;AAlCD
|
|
1
|
+
{"version":3,"file":"withdrawFunds.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/activePaymentStream/withdrawFunds.ts"],"names":[],"mappings":";;AAWA,8DAwBC;AAlCD,+CAAmD;AAUnD,SAAgB,yBAAyB,CACvC,MAA2B;IAE3B,MAAM,eAAe,GAAG;QACtB,kBAAkB,EAAE,MAAM,CAAC,kBAAkB;QAC7C,cAAc,EAAE;YACd,cAAc,EAAE,MAAM,CAAC,cAAc,CAAC,cAAc;YACpD,kBAAkB,EAAE,MAAM,CAAC,cAAc,CAAC,kBAAkB;YAC5D,gBAAgB,EAAE,MAAM,CAAC,cAAc,CAAC,gBAAgB;SACzD;KACF,CAAC;IAEF,MAAM,OAAO,GAAY;QACvB,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,mBAAmB,CAAC,mBAAmB;iBACjE,UAAU;YACf,UAAU,EAAE,MAAM,CAAC,uBAAuB;YAC1C,MAAM,EAAE,mCAAmC;YAC3C,cAAc,EAAE,eAAe;SAChC;KACF,CAAC;IAEF,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAAC;AAC7C,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildPartyMigrationProposalApproveCommand = buildPartyMigrationProposalApproveCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildPartyMigrationProposalApproveCommand(params) {
|
|
6
6
|
return {
|
|
7
7
|
ExerciseCommand: {
|
|
8
|
-
templateId:
|
|
8
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.PartyMigrationProposal
|
|
9
9
|
.PartyMigrationProposal.templateId,
|
|
10
10
|
contractId: params.migrationProposalContractId,
|
|
11
11
|
choice: 'PartyMigrationProposal_Approve',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"approve.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/partyMigrationProposal/approve.ts"],"names":[],"mappings":";;AAQA,8FAeC;AAtBD
|
|
1
|
+
{"version":3,"file":"approve.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/partyMigrationProposal/approve.ts"],"names":[],"mappings":";;AAQA,8FAeC;AAtBD,+CAAmD;AAOnD,SAAgB,yCAAyC,CACvD,MAA2C;IAE3C,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,sBAAsB;iBAChD,sBAAsB,CAAC,UAAU;YACtC,UAAU,EAAE,MAAM,CAAC,2BAA2B;YAC9C,MAAM,EAAE,gCAAgC;YACxC,cAAc,EAAE;gBACd,KAAK,EAAE,MAAM,CAAC,KAAK;aACpB;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildPartyMigrationProposalArchiveCommand = buildPartyMigrationProposalArchiveCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildPartyMigrationProposalArchiveCommand(params) {
|
|
6
6
|
const choiceArgument = {
|
|
7
7
|
actor: params.actor,
|
|
@@ -9,7 +9,7 @@ function buildPartyMigrationProposalArchiveCommand(params) {
|
|
|
9
9
|
};
|
|
10
10
|
return {
|
|
11
11
|
ExerciseCommand: {
|
|
12
|
-
templateId:
|
|
12
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.PartyMigrationProposal
|
|
13
13
|
.PartyMigrationProposal.templateId,
|
|
14
14
|
contractId: params.migrationProposalContractId,
|
|
15
15
|
choice: 'PartyMigrationProposal_Archive',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"archive.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/partyMigrationProposal/archive.ts"],"names":[],"mappings":";;AASA,8FAkBC;AA1BD
|
|
1
|
+
{"version":3,"file":"archive.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/partyMigrationProposal/archive.ts"],"names":[],"mappings":";;AASA,8FAkBC;AA1BD,+CAAmD;AAQnD,SAAgB,yCAAyC,CACvD,MAA2C;IAE3C,MAAM,cAAc,GAAG;QACrB,KAAK,EAAE,MAAM,CAAC,KAAK;QACnB,WAAW,EAAE,MAAM,CAAC,WAAW,IAAI,IAAI;KACxC,CAAC;IAEF,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,sBAAsB;iBAChD,sBAAsB,CAAC,UAAU;YACtC,UAAU,EAAE,MAAM,CAAC,2BAA2B;YAC9C,MAAM,EAAE,gCAAgC;YACxC,cAAc;SACf;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildMigrateActivePaymentStreamCommand = buildMigrateActivePaymentStreamCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildMigrateActivePaymentStreamCommand(params) {
|
|
6
6
|
return {
|
|
7
7
|
ExerciseCommand: {
|
|
8
|
-
templateId:
|
|
8
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.PartyMigrationProposal
|
|
9
9
|
.PartyMigrationProposal.templateId,
|
|
10
10
|
contractId: params.migrationProposalContractId,
|
|
11
11
|
choice: 'PartyMigrationProposal_MigrateActivePaymentStream',
|
package/dist/functions/PaymentStreams/partyMigrationProposal/migrateActivePaymentStream.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrateActivePaymentStream.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/partyMigrationProposal/migrateActivePaymentStream.ts"],"names":[],"mappings":";;AASA,wFAgBC;AAxBD
|
|
1
|
+
{"version":3,"file":"migrateActivePaymentStream.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/partyMigrationProposal/migrateActivePaymentStream.ts"],"names":[],"mappings":";;AASA,wFAgBC;AAxBD,+CAAmD;AAQnD,SAAgB,sCAAsC,CACpD,MAAwC;IAExC,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,sBAAsB;iBAChD,sBAAsB,CAAC,UAAU;YACtC,UAAU,EAAE,MAAM,CAAC,2BAA2B;YAC9C,MAAM,EAAE,mDAAmD;YAC3D,cAAc,EAAE;gBACd,KAAK,EAAE,MAAM,CAAC,KAAK;gBACnB,sBAAsB,EAAE,MAAM,CAAC,sBAAsB;aACtD;SACF;KACF,CAAC;AACJ,CAAC"}
|
package/dist/functions/PaymentStreams/partyMigrationProposal/migrateProposedPaymentStream.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildMigrateProposedPaymentStreamCommand = buildMigrateProposedPaymentStreamCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildMigrateProposedPaymentStreamCommand(params) {
|
|
6
6
|
return {
|
|
7
7
|
ExerciseCommand: {
|
|
8
|
-
templateId:
|
|
8
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.PartyMigrationProposal
|
|
9
9
|
.PartyMigrationProposal.templateId,
|
|
10
10
|
contractId: params.migrationProposalContractId,
|
|
11
11
|
choice: 'PartyMigrationProposal_MigrateProposedPaymentStream',
|
package/dist/functions/PaymentStreams/partyMigrationProposal/migrateProposedPaymentStream.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrateProposedPaymentStream.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/partyMigrationProposal/migrateProposedPaymentStream.ts"],"names":[],"mappings":";;AASA,4FAgBC;AAxBD
|
|
1
|
+
{"version":3,"file":"migrateProposedPaymentStream.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/partyMigrationProposal/migrateProposedPaymentStream.ts"],"names":[],"mappings":";;AASA,4FAgBC;AAxBD,+CAAmD;AAQnD,SAAgB,wCAAwC,CACtD,MAA0C;IAE1C,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,sBAAsB;iBAChD,sBAAsB,CAAC,UAAU;YACtC,UAAU,EAAE,MAAM,CAAC,2BAA2B;YAC9C,MAAM,EAAE,qDAAqD;YAC7D,cAAc,EAAE;gBACd,KAAK,EAAE,MAAM,CAAC,KAAK;gBACnB,wBAAwB,EAAE,MAAM,CAAC,wBAAwB;aAC1D;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildPaymentStreamChangeProposalApplyCommand = buildPaymentStreamChangeProposalApplyCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildPaymentStreamChangeProposalApplyCommand(params) {
|
|
6
6
|
return {
|
|
7
7
|
ExerciseCommand: {
|
|
8
|
-
templateId:
|
|
8
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.ActivePaymentStream
|
|
9
9
|
.PaymentStreamChangeProposal.templateId,
|
|
10
10
|
contractId: params.changeProposalContractId,
|
|
11
11
|
choice: 'PaymentStreamChangeProposal_Apply',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apply.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/paymentStreamChangeProposal/apply.ts"],"names":[],"mappings":";;AASA,oGAgBC;AAxBD
|
|
1
|
+
{"version":3,"file":"apply.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/paymentStreamChangeProposal/apply.ts"],"names":[],"mappings":";;AASA,oGAgBC;AAxBD,+CAAmD;AAQnD,SAAgB,4CAA4C,CAC1D,MAA8C;IAE9C,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,mBAAmB;iBAC7C,2BAA2B,CAAC,UAAU;YAC3C,UAAU,EAAE,MAAM,CAAC,wBAAwB;YAC3C,MAAM,EAAE,mCAAmC;YAC3C,cAAc,EAAE;gBACd,KAAK,EAAE,MAAM,CAAC,KAAK;gBACnB,sBAAsB,EAAE,MAAM,CAAC,sBAAsB;aACtD;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildPaymentStreamChangeProposalApproveCommand = buildPaymentStreamChangeProposalApproveCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildPaymentStreamChangeProposalApproveCommand(params) {
|
|
6
6
|
return {
|
|
7
7
|
ExerciseCommand: {
|
|
8
|
-
templateId:
|
|
8
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.ActivePaymentStream
|
|
9
9
|
.PaymentStreamChangeProposal.templateId,
|
|
10
10
|
contractId: params.changeProposalContractId,
|
|
11
11
|
choice: 'PaymentStreamChangeProposal_Approve',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"approve.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/paymentStreamChangeProposal/approve.ts"],"names":[],"mappings":";;AAQA,wGAeC;AAtBD
|
|
1
|
+
{"version":3,"file":"approve.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/paymentStreamChangeProposal/approve.ts"],"names":[],"mappings":";;AAQA,wGAeC;AAtBD,+CAAmD;AAOnD,SAAgB,8CAA8C,CAC5D,MAAgD;IAEhD,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,mBAAmB;iBAC7C,2BAA2B,CAAC,UAAU;YAC3C,UAAU,EAAE,MAAM,CAAC,wBAAwB;YAC3C,MAAM,EAAE,qCAAqC;YAC7C,cAAc,EAAE;gBACd,KAAK,EAAE,MAAM,CAAC,KAAK;aACpB;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildPaymentStreamChangeProposalRejectCommand = buildPaymentStreamChangeProposalRejectCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildPaymentStreamChangeProposalRejectCommand(params) {
|
|
6
6
|
const choiceArgument = {
|
|
7
7
|
actor: params.actor,
|
|
@@ -9,7 +9,7 @@ function buildPaymentStreamChangeProposalRejectCommand(params) {
|
|
|
9
9
|
};
|
|
10
10
|
return {
|
|
11
11
|
ExerciseCommand: {
|
|
12
|
-
templateId:
|
|
12
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.ActivePaymentStream
|
|
13
13
|
.PaymentStreamChangeProposal.templateId,
|
|
14
14
|
contractId: params.changeProposalContractId,
|
|
15
15
|
choice: 'PaymentStreamChangeProposal_Reject',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reject.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/paymentStreamChangeProposal/reject.ts"],"names":[],"mappings":";;AASA,sGAkBC;AA1BD
|
|
1
|
+
{"version":3,"file":"reject.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/paymentStreamChangeProposal/reject.ts"],"names":[],"mappings":";;AASA,sGAkBC;AA1BD,+CAAmD;AAQnD,SAAgB,6CAA6C,CAC3D,MAA+C;IAE/C,MAAM,cAAc,GAAG;QACrB,KAAK,EAAE,MAAM,CAAC,KAAK;QACnB,WAAW,EAAE,MAAM,CAAC,WAAW,IAAI,IAAI;KACxC,CAAC;IAEF,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,mBAAmB;iBAC7C,2BAA2B,CAAC,UAAU;YAC3C,UAAU,EAAE,MAAM,CAAC,wBAAwB;YAC3C,MAAM,EAAE,oCAAoC;YAC5C,cAAc;SACf;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildCreatePaymentStreamProposalCommand = buildCreatePaymentStreamProposalCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
const paymentStreamDamlCodec_1 = require("../utils/paymentStreamDamlCodec");
|
|
6
6
|
function buildCreatePaymentStreamProposalCommand(params) {
|
|
7
7
|
const choiceArguments = {
|
|
@@ -10,7 +10,7 @@ function buildCreatePaymentStreamProposalCommand(params) {
|
|
|
10
10
|
};
|
|
11
11
|
const command = {
|
|
12
12
|
ExerciseCommand: {
|
|
13
|
-
templateId:
|
|
13
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.PaymentStreamFactory.PaymentStreamFactory
|
|
14
14
|
.templateId,
|
|
15
15
|
contractId: params.factoryContractId,
|
|
16
16
|
choice: 'PaymentStreamFactory_CreatePaymentStreamProposal',
|
package/dist/functions/PaymentStreams/paymentStreamFactory/createPaymentStreamProposal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPaymentStreamProposal.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/paymentStreamFactory/createPaymentStreamProposal.ts"],"names":[],"mappings":";;AAoBA,0FAsBC;AAzCD
|
|
1
|
+
{"version":3,"file":"createPaymentStreamProposal.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/paymentStreamFactory/createPaymentStreamProposal.ts"],"names":[],"mappings":";;AAoBA,0FAsBC;AAzCD,+CAAmD;AAGnD,4EAA8E;AAgB9E,SAAgB,uCAAuC,CACrD,MAAyC;IAEzC,MAAM,eAAe,GAAG;QACtB,KAAK,EAAE,MAAM,CAAC,KAAK;QACnB,qBAAqB,EAAE,IAAA,oDAA2B,EAChD,MAAM,CAAC,qBAAqB,CAC7B;KACF,CAAC;IAEF,MAAM,OAAO,GAAY;QACvB,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,oBAAoB,CAAC,oBAAoB;iBACnE,UAAU;YACf,UAAU,EAAE,MAAM,CAAC,iBAAiB;YACpC,MAAM,EAAE,kDAAkD;YAC1D,cAAc,EAAE,eAAe;SAChC;KACF,CAAC;IAEF,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAAC;AAC7C,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildProposedPaymentStreamApproveCommand = buildProposedPaymentStreamApproveCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildProposedPaymentStreamApproveCommand(params) {
|
|
6
6
|
const choiceArgument = {
|
|
7
7
|
actor: params.actor,
|
|
8
8
|
};
|
|
9
9
|
return {
|
|
10
10
|
ExerciseCommand: {
|
|
11
|
-
templateId:
|
|
11
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.ProposedPaymentStream.ProposedPaymentStream
|
|
12
12
|
.templateId,
|
|
13
13
|
contractId: params.proposedPaymentStreamContractId,
|
|
14
14
|
choice: 'ProposedPaymentStream_Approve',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"approve.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/proposedPaymentStream/approve.ts"],"names":[],"mappings":";;AAQA,4FAiBC;AAxBD
|
|
1
|
+
{"version":3,"file":"approve.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/proposedPaymentStream/approve.ts"],"names":[],"mappings":";;AAQA,4FAiBC;AAxBD,+CAAmD;AAOnD,SAAgB,wCAAwC,CACtD,MAA0C;IAE1C,MAAM,cAAc,GAAG;QACrB,KAAK,EAAE,MAAM,CAAC,KAAK;KACpB,CAAC;IAEF,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,qBAAqB,CAAC,qBAAqB;iBACrE,UAAU;YACf,UAAU,EAAE,MAAM,CAAC,+BAA+B;YAClD,MAAM,EAAE,+BAA+B;YACvC,cAAc;SACf;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildProposedPaymentStreamChangePartyCommand = buildProposedPaymentStreamChangePartyCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildProposedPaymentStreamChangePartyCommand(params) {
|
|
6
6
|
return {
|
|
7
7
|
ExerciseCommand: {
|
|
8
|
-
templateId:
|
|
8
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.ProposedPaymentStream.ProposedPaymentStream
|
|
9
9
|
.templateId,
|
|
10
10
|
contractId: params.proposedPaymentStreamContractId,
|
|
11
11
|
choice: 'ProposedPaymentStream_ChangeParty',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changeParty.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/proposedPaymentStream/changeParty.ts"],"names":[],"mappings":";;AAWA,oGAiBC;AA3BD
|
|
1
|
+
{"version":3,"file":"changeParty.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/proposedPaymentStream/changeParty.ts"],"names":[],"mappings":";;AAWA,oGAiBC;AA3BD,+CAAmD;AAUnD,SAAgB,4CAA4C,CAC1D,MAA8C;IAE9C,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,qBAAqB,CAAC,qBAAqB;iBACrE,UAAU;YACf,UAAU,EAAE,MAAM,CAAC,+BAA+B;YAClD,MAAM,EAAE,mCAAmC;YAC3C,cAAc,EAAE;gBACd,SAAS,EAAE,MAAM,CAAC,SAAS;gBAC3B,QAAQ,EAAE,MAAM,CAAC,QAAQ;gBACzB,QAAQ,EAAE,MAAM,CAAC,QAAQ;aAC1B;SACF;KACF,CAAC;AACJ,CAAC"}
|