@fairmint/canton-fairmint-sdk 0.0.60 → 0.0.63
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/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/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 +7 -7
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildAddObserversToAirdropCommand = buildAddObserversToAirdropCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildAddObserversToAirdropCommand(params) {
|
|
6
6
|
return {
|
|
7
7
|
ExerciseCommand: {
|
|
8
|
-
templateId:
|
|
8
|
+
templateId: daml_js_1.CantonPayments.Airdrop.Airdrop.Airdrop.templateId,
|
|
9
9
|
contractId: params.airdropContractId,
|
|
10
10
|
choice: 'Airdrop_AddObservers',
|
|
11
11
|
choiceArgument: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addObserversToAirdrop.js","sourceRoot":"","sources":["../../../../src/functions/CantonPayments/airdrop/addObserversToAirdrop.ts"],"names":[],"mappings":";;AASA,8EAcC;AAtBD
|
|
1
|
+
{"version":3,"file":"addObserversToAirdrop.js","sourceRoot":"","sources":["../../../../src/functions/CantonPayments/airdrop/addObserversToAirdrop.ts"],"names":[],"mappings":";;AASA,8EAcC;AAtBD,+CAAmD;AAQnD,SAAgB,iCAAiC,CAC/C,MAAmC;IAEnC,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EAAE,wBAAc,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,UAAU;YAC7D,UAAU,EAAE,MAAM,CAAC,iBAAiB;YACpC,MAAM,EAAE,sBAAsB;YAC9B,cAAc,EAAE;gBACd,KAAK,EAAE,MAAM,CAAC,KAAK;gBACnB,YAAY,EAAE,MAAM,CAAC,YAAY;aAClC;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildCreateAirdropCommand = buildCreateAirdropCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildCreateAirdropCommand(params) {
|
|
6
6
|
const airdropData = {
|
|
7
7
|
config: {
|
|
@@ -15,7 +15,7 @@ function buildCreateAirdropCommand(params) {
|
|
|
15
15
|
};
|
|
16
16
|
return {
|
|
17
17
|
CreateCommand: {
|
|
18
|
-
templateId:
|
|
18
|
+
templateId: daml_js_1.CantonPayments.Airdrop.Airdrop.Airdrop.templateId,
|
|
19
19
|
createArguments: airdropData,
|
|
20
20
|
},
|
|
21
21
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAirdrop.js","sourceRoot":"","sources":["../../../../src/functions/CantonPayments/airdrop/createAirdrop.ts"],"names":[],"mappings":";;AAeA,8DAoBC;AAlCD
|
|
1
|
+
{"version":3,"file":"createAirdrop.js","sourceRoot":"","sources":["../../../../src/functions/CantonPayments/airdrop/createAirdrop.ts"],"names":[],"mappings":";;AAeA,8DAoBC;AAlCD,+CAAmD;AAcnD,SAAgB,yBAAyB,CACvC,MAA2B;IAE3B,MAAM,WAAW,GAAG;QAClB,MAAM,EAAE;YACN,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM;YAC5B,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,gBAAgB;YAChD,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,cAAc;YAC5C,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG;SACvB;QACD,aAAa,EAAE,EAAE;QACjB,SAAS,EAAE,MAAM,CAAC,SAAS,IAAI,EAAE;KAClC,CAAC;IAEF,OAAO;QACL,aAAa,EAAE;YACb,UAAU,EAAE,wBAAc,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,UAAU;YAC7D,eAAe,EAAE,WAAW;SAC7B;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildExecuteAirdropCommand = buildExecuteAirdropCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildExecuteAirdropCommand(params) {
|
|
6
6
|
const transferSpecs = params.transferSpecs.map(spec => ({
|
|
7
7
|
recipient: spec.recipient,
|
|
@@ -13,7 +13,7 @@ function buildExecuteAirdropCommand(params) {
|
|
|
13
13
|
}));
|
|
14
14
|
return {
|
|
15
15
|
ExerciseCommand: {
|
|
16
|
-
templateId:
|
|
16
|
+
templateId: daml_js_1.CantonPayments.Airdrop.Airdrop.Airdrop.templateId,
|
|
17
17
|
contractId: params.airdropContractId,
|
|
18
18
|
choice: 'Airdrop_Execute',
|
|
19
19
|
choiceArgument: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executeAirdrop.js","sourceRoot":"","sources":["../../../../src/functions/CantonPayments/airdrop/executeAirdrop.ts"],"names":[],"mappings":";;AAuBA,gEA6BC;AAnDD
|
|
1
|
+
{"version":3,"file":"executeAirdrop.js","sourceRoot":"","sources":["../../../../src/functions/CantonPayments/airdrop/executeAirdrop.ts"],"names":[],"mappings":";;AAuBA,gEA6BC;AAnDD,+CAAmD;AAsBnD,SAAgB,0BAA0B,CACxC,MAA4B;IAE5B,MAAM,aAAa,GAAG,MAAM,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACtD,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;QACzC,sBAAsB,EAAE,IAAI,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;YAC5D,WAAW,EAAE,CAAC,CAAC,WAAW;YAC1B,MAAM,EAAE,OAAO,CAAC,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM;SACtE,CAAC,CAAC;KACJ,CAAC,CAAC,CAAC;IAEJ,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EAAE,wBAAc,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,UAAU;YAC7D,UAAU,EAAE,MAAM,CAAC,iBAAiB;YACpC,MAAM,EAAE,iBAAiB;YACzB,cAAc,EAAE;gBACd,aAAa;gBACb,mBAAmB,EAAE,MAAM,CAAC,mBAAmB;gBAC/C,kBAAkB,EAAE,MAAM,CAAC,kBAAkB;gBAC7C,iBAAiB,EACf,OAAO,MAAM,CAAC,iBAAiB,KAAK,QAAQ;oBAC1C,CAAC,CAAC,MAAM,CAAC,iBAAiB,CAAC,QAAQ,EAAE;oBACrC,CAAC,CAAC,MAAM,CAAC,iBAAiB;gBAC9B,WAAW,EAAE,MAAM,CAAC,WAAW;aAChC;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildJoinAirdropCommand = buildJoinAirdropCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
const canton_1 = require("@open-captable-protocol/canton");
|
|
6
6
|
function buildJoinAirdropCommand(params) {
|
|
7
7
|
if (params.airdropContractId !== params.airdropContractDetails.contractId) {
|
|
@@ -15,7 +15,7 @@ function buildJoinAirdropCommand(params) {
|
|
|
15
15
|
}
|
|
16
16
|
const command = {
|
|
17
17
|
ExerciseCommand: {
|
|
18
|
-
templateId:
|
|
18
|
+
templateId: daml_js_1.CantonPayments.Airdrop.Airdrop.Airdrop.templateId,
|
|
19
19
|
contractId: params.airdropContractDetails.contractId,
|
|
20
20
|
choice: 'Airdrop_Join',
|
|
21
21
|
choiceArgument: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"joinAirdrop.js","sourceRoot":"","sources":["../../../../src/functions/CantonPayments/airdrop/joinAirdrop.ts"],"names":[],"mappings":";;AAwBA,0DAsCC;AA1DD
|
|
1
|
+
{"version":3,"file":"joinAirdrop.js","sourceRoot":"","sources":["../../../../src/functions/CantonPayments/airdrop/joinAirdrop.ts"],"names":[],"mappings":";;AAwBA,0DAsCC;AA1DD,+CAAmD;AACnD,2DAIwC;AAexC,SAAgB,uBAAuB,CACrC,MAAyB;IAEzB,IAAI,MAAM,CAAC,iBAAiB,KAAK,MAAM,CAAC,sBAAsB,CAAC,UAAU,EAAE,CAAC;QAC1E,MAAM,IAAI,2BAAkB,CAC1B,mBAAmB,EACnB,sBAAsB,MAAM,CAAC,iBAAiB,mDAAmD,MAAM,CAAC,sBAAsB,CAAC,UAAU,GAAG,EAC5I;YACE,IAAI,EAAE,sBAAa,CAAC,cAAc;YAClC,aAAa,EAAE;gBACb,iBAAiB,EAAE,MAAM,CAAC,iBAAiB;gBAC3C,iBAAiB,EAAE,MAAM,CAAC,sBAAsB,CAAC,UAAU;aAC5D;SACF,CACF,CAAC;IACJ,CAAC;IAED,MAAM,OAAO,GAAY;QACvB,eAAe,EAAE;YACf,UAAU,EAAE,wBAAc,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,UAAU;YAC7D,UAAU,EAAE,MAAM,CAAC,sBAAsB,CAAC,UAAU;YACpD,MAAM,EAAE,cAAc;YACtB,cAAc,EAAE;gBACd,KAAK,EAAE,MAAM,CAAC,KAAK;aACpB;SACF;KACF,CAAC;IAEF,MAAM,kBAAkB,GAAwB;QAC9C;YACE,UAAU,EAAE,MAAM,CAAC,sBAAsB,CAAC,UAAU;YACpD,UAAU,EAAE,MAAM,CAAC,sBAAsB,CAAC,UAAU;YACpD,gBAAgB,EAAE,MAAM,CAAC,sBAAsB,CAAC,gBAAgB;YAChE,cAAc,EAAE,MAAM,CAAC,sBAAsB,CAAC,cAAc;SAC7D;KACF,CAAC;IAEF,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AACzC,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildUpdateAirdropConfigCommand = buildUpdateAirdropConfigCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildUpdateAirdropConfigCommand(params) {
|
|
6
6
|
return {
|
|
7
7
|
ExerciseCommand: {
|
|
8
|
-
templateId:
|
|
8
|
+
templateId: daml_js_1.CantonPayments.Airdrop.Airdrop.Airdrop.templateId,
|
|
9
9
|
contractId: params.airdropContractId,
|
|
10
10
|
choice: 'Airdrop_UpdateConfig',
|
|
11
11
|
choiceArgument: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateAirdropConfig.js","sourceRoot":"","sources":["../../../../src/functions/CantonPayments/airdrop/updateAirdropConfig.ts"],"names":[],"mappings":";;AASA,0EAkBC;AA1BD
|
|
1
|
+
{"version":3,"file":"updateAirdropConfig.js","sourceRoot":"","sources":["../../../../src/functions/CantonPayments/airdrop/updateAirdropConfig.ts"],"names":[],"mappings":";;AASA,0EAkBC;AA1BD,+CAAmD;AAQnD,SAAgB,+BAA+B,CAC7C,MAAiC;IAEjC,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EAAE,wBAAc,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,UAAU;YAC7D,UAAU,EAAE,MAAM,CAAC,iBAAiB;YACpC,MAAM,EAAE,sBAAsB;YAC9B,cAAc,EAAE;gBACd,SAAS,EAAE;oBACT,MAAM,EAAE,MAAM,CAAC,SAAS,CAAC,MAAM;oBAC/B,gBAAgB,EAAE,MAAM,CAAC,SAAS,CAAC,gBAAgB;oBACnD,cAAc,EAAE,MAAM,CAAC,SAAS,CAAC,cAAc;oBAC/C,GAAG,EAAE,MAAM,CAAC,SAAS,CAAC,GAAG;iBAC1B;aACF;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildArchiveSimpleAirdropCommand = buildArchiveSimpleAirdropCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildArchiveSimpleAirdropCommand(params) {
|
|
6
6
|
return {
|
|
7
7
|
ExerciseCommand: {
|
|
8
|
-
templateId:
|
|
8
|
+
templateId: daml_js_1.CantonPayments.Airdrop.SimpleAirdrop.SimpleAirdrop.templateId,
|
|
9
9
|
contractId: params.airdropContractId,
|
|
10
10
|
choice: 'Archive',
|
|
11
11
|
choiceArgument: {},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"archiveSimpleAirdrop.js","sourceRoot":"","sources":["../../../../src/functions/CantonPayments/simpleAirdrop/archiveSimpleAirdrop.ts"],"names":[],"mappings":";;AAOA,4EAWC;AAjBD
|
|
1
|
+
{"version":3,"file":"archiveSimpleAirdrop.js","sourceRoot":"","sources":["../../../../src/functions/CantonPayments/simpleAirdrop/archiveSimpleAirdrop.ts"],"names":[],"mappings":";;AAOA,4EAWC;AAjBD,+CAAmD;AAMnD,SAAgB,gCAAgC,CAC9C,MAAkC;IAElC,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EAAE,wBAAc,CAAC,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,UAAU;YACzE,UAAU,EAAE,MAAM,CAAC,iBAAiB;YACpC,MAAM,EAAE,SAAS;YACjB,cAAc,EAAE,EAAE;SACnB;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildCreateSimpleAirdropCommand = buildCreateSimpleAirdropCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildCreateSimpleAirdropCommand(params) {
|
|
6
6
|
const airdropData = {
|
|
7
7
|
config: {
|
|
@@ -13,7 +13,7 @@ function buildCreateSimpleAirdropCommand(params) {
|
|
|
13
13
|
};
|
|
14
14
|
return {
|
|
15
15
|
CreateCommand: {
|
|
16
|
-
templateId:
|
|
16
|
+
templateId: daml_js_1.CantonPayments.Airdrop.SimpleAirdrop.SimpleAirdrop.templateId,
|
|
17
17
|
createArguments: airdropData,
|
|
18
18
|
},
|
|
19
19
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSimpleAirdrop.js","sourceRoot":"","sources":["../../../../src/functions/CantonPayments/simpleAirdrop/createSimpleAirdrop.ts"],"names":[],"mappings":";;AAcA,0EAkBC;AA/BD
|
|
1
|
+
{"version":3,"file":"createSimpleAirdrop.js","sourceRoot":"","sources":["../../../../src/functions/CantonPayments/simpleAirdrop/createSimpleAirdrop.ts"],"names":[],"mappings":";;AAcA,0EAkBC;AA/BD,+CAAmD;AAanD,SAAgB,+BAA+B,CAC7C,MAAiC;IAEjC,MAAM,WAAW,GAAG;QAClB,MAAM,EAAE;YACN,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM;YAC5B,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,gBAAgB;YAChD,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,cAAc;YAC5C,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG;SACvB;KACF,CAAC;IAEF,OAAO;QACL,aAAa,EAAE;YACb,UAAU,EAAE,wBAAc,CAAC,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,UAAU;YACzE,eAAe,EAAE,WAAW;SAC7B;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildExecuteSimpleAirdropCommand = buildExecuteSimpleAirdropCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildExecuteSimpleAirdropCommand(params) {
|
|
6
6
|
const recipientSpecs = params.recipientSpecs.map(spec => ({
|
|
7
7
|
transferPreapprovalCid: spec.transferPreapprovalCid,
|
|
@@ -9,7 +9,7 @@ function buildExecuteSimpleAirdropCommand(params) {
|
|
|
9
9
|
}));
|
|
10
10
|
return {
|
|
11
11
|
ExerciseCommand: {
|
|
12
|
-
templateId:
|
|
12
|
+
templateId: daml_js_1.CantonPayments.Airdrop.SimpleAirdrop.SimpleAirdrop.templateId,
|
|
13
13
|
contractId: params.airdropContractId,
|
|
14
14
|
choice: 'SimpleAirdrop_Execute',
|
|
15
15
|
choiceArgument: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executeSimpleAirdrop.js","sourceRoot":"","sources":["../../../../src/functions/CantonPayments/simpleAirdrop/executeSimpleAirdrop.ts"],"names":[],"mappings":";;AAgBA,4EAwBC;AAvCD
|
|
1
|
+
{"version":3,"file":"executeSimpleAirdrop.js","sourceRoot":"","sources":["../../../../src/functions/CantonPayments/simpleAirdrop/executeSimpleAirdrop.ts"],"names":[],"mappings":";;AAgBA,4EAwBC;AAvCD,+CAAmD;AAenD,SAAgB,gCAAgC,CAC9C,MAAkC;IAElC,MAAM,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACxD,sBAAsB,EAAE,IAAI,CAAC,sBAAsB;QACnD,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;KAC1C,CAAC,CAAC,CAAC;IAEJ,OAAO;QACL,eAAe,EAAE;YACf,UAAU,EAAE,wBAAc,CAAC,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,UAAU;YACzE,UAAU,EAAE,MAAM,CAAC,iBAAiB;YACpC,MAAM,EAAE,uBAAuB;YAC/B,cAAc,EAAE;gBACd,cAAc;gBACd,mBAAmB,EAAE,MAAM,CAAC,mBAAmB;gBAC/C,kBAAkB,EAAE,MAAM,CAAC,kBAAkB;gBAC7C,iBAAiB,EACf,OAAO,MAAM,CAAC,iBAAiB,KAAK,QAAQ;oBAC1C,CAAC,CAAC,MAAM,CAAC,iBAAiB,CAAC,QAAQ,EAAE;oBACrC,CAAC,CAAC,MAAM,CAAC,iBAAiB;aAC/B;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.buildEditPaymentStreamProposalCommand = buildEditPaymentStreamProposalCommand;
|
|
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) {
|
|
@@ -64,7 +64,7 @@ function buildEditPaymentStreamProposalCommand(params) {
|
|
|
64
64
|
};
|
|
65
65
|
return {
|
|
66
66
|
ExerciseCommand: {
|
|
67
|
-
templateId:
|
|
67
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.ProposedPaymentStream.ProposedPaymentStream
|
|
68
68
|
.templateId,
|
|
69
69
|
contractId: params.proposedPaymentStreamContractId,
|
|
70
70
|
choice: 'ProposedPaymentStream_EditPaymentStreamProposal',
|
package/dist/functions/PaymentStreams/proposedPaymentStream/editPaymentStreamProposal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editPaymentStreamProposal.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/proposedPaymentStream/editPaymentStreamProposal.ts"],"names":[],"mappings":";;AA8FA,sFAmBC;AAhHD
|
|
1
|
+
{"version":3,"file":"editPaymentStreamProposal.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/proposedPaymentStream/editPaymentStreamProposal.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.buildProposedPaymentStreamStartCommand = buildProposedPaymentStreamStartCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildProposedPaymentStreamStartCommand(params) {
|
|
6
6
|
const choiceArgument = {
|
|
7
7
|
lockFundsInput: {
|
|
@@ -16,7 +16,7 @@ function buildProposedPaymentStreamStartCommand(params) {
|
|
|
16
16
|
};
|
|
17
17
|
const command = {
|
|
18
18
|
ExerciseCommand: {
|
|
19
|
-
templateId:
|
|
19
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.ProposedPaymentStream.ProposedPaymentStream
|
|
20
20
|
.templateId,
|
|
21
21
|
contractId: params.proposedPaymentStreamContractId,
|
|
22
22
|
choice: 'ProposedPaymentStream_StartPaymentStream',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"startPaymentStream.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/proposedPaymentStream/startPaymentStream.ts"],"names":[],"mappings":";;AAUA,wFA4BC;AArCD
|
|
1
|
+
{"version":3,"file":"startPaymentStream.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/proposedPaymentStream/startPaymentStream.ts"],"names":[],"mappings":";;AAUA,wFA4BC;AArCD,+CAAmD;AASnD,SAAgB,sCAAsC,CACpD,MAAwC;IAExC,MAAM,cAAc,GAAG;QACrB,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;KACF,CAAC;IAEF,MAAM,OAAO,GAAY;QACvB,eAAe,EAAE;YACf,UAAU,EACR,wBAAc,CAAC,aAAa,CAAC,qBAAqB,CAAC,qBAAqB;iBACrE,UAAU;YACf,UAAU,EAAE,MAAM,CAAC,+BAA+B;YAClD,MAAM,EAAE,0CAA0C;YAClD,cAAc;SACf;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.buildProposedPaymentStreamWithdrawCommand = buildProposedPaymentStreamWithdrawCommand;
|
|
4
|
-
const
|
|
4
|
+
const daml_js_1 = require("@fairmint/daml-js");
|
|
5
5
|
function buildProposedPaymentStreamWithdrawCommand(params) {
|
|
6
6
|
const choiceArgument = {
|
|
7
7
|
actor: params.actor,
|
|
@@ -9,7 +9,7 @@ function buildProposedPaymentStreamWithdrawCommand(params) {
|
|
|
9
9
|
};
|
|
10
10
|
return {
|
|
11
11
|
ExerciseCommand: {
|
|
12
|
-
templateId:
|
|
12
|
+
templateId: daml_js_1.CantonPayments.PaymentStream.ProposedPaymentStream.ProposedPaymentStream
|
|
13
13
|
.templateId,
|
|
14
14
|
contractId: params.proposedPaymentStreamContractId,
|
|
15
15
|
choice: 'ProposedPaymentStream_Withdraw',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withdraw.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/proposedPaymentStream/withdraw.ts"],"names":[],"mappings":";;AASA,8FAkBC;AA1BD
|
|
1
|
+
{"version":3,"file":"withdraw.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/proposedPaymentStream/withdraw.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,qBAAqB,CAAC,qBAAqB;iBACrE,UAAU;YACf,UAAU,EAAE,MAAM,CAAC,+BAA+B;YAClD,MAAM,EAAE,gCAAgC;YACxC,cAAc;SACf;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -6,7 +6,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.getFactoryDisclosedContracts = getFactoryDisclosedContracts;
|
|
8
8
|
exports.getProposedPaymentStreamDisclosedContracts = getProposedPaymentStreamDisclosedContracts;
|
|
9
|
-
const paymentStreams_factory_contract_id_json_1 = __importDefault(require("@fairmint/
|
|
9
|
+
const paymentStreams_factory_contract_id_json_1 = __importDefault(require("@fairmint/daml-js/paymentStreams-factory-contract-id.json"));
|
|
10
10
|
const canton_1 = require("@open-captable-protocol/canton");
|
|
11
11
|
/**
|
|
12
12
|
* Get disclosed contracts for the factory contract Reads from the pre-generated factory contract data for the client's
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disclosedContracts.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/utils/disclosedContracts.ts"],"names":[],"mappings":";AAAA,4EAA4E;;;;;AAgB5E,oEA2BC;AAMD,gGA8BC;AA3ED
|
|
1
|
+
{"version":3,"file":"disclosedContracts.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/utils/disclosedContracts.ts"],"names":[],"mappings":";AAAA,4EAA4E;;;;;AAgB5E,oEA2BC;AAMD,gGA8BC;AA3ED,wIAAoG;AACpG,2DAIwC;AAGxC;;;GAGG;AACH,SAAgB,4BAA4B,CAC1C,YAAiC;IAEjC,MAAM,OAAO,GAAG,YAAY,CAAC,UAAU,EAAE,CAAC;IAC1C,MAAM,WAAW,GAAG,iDAA2B,CAC7C,OAAmD,CACjB,CAAC;IAErC,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,MAAM,IAAI,2BAAkB,CAC1B,SAAS,EACT,gDAAgD,OAAO,KAAK;YAC1D,kEAAkE,EACpE,EAAE,IAAI,EAAE,sBAAa,CAAC,cAAc,EAAE,aAAa,EAAE,OAAO,EAAE,CAC/D,CAAC;IACJ,CAAC;IAED,IAAI,CAAC,WAAW,CAAC,iBAAiB,EAAE,CAAC;QACnC,MAAM,IAAI,2BAAkB,CAC1B,2BAA2B,EAC3B,kDAAkD,OAAO,KAAK;YAC5D,yFAAyF,EAC3F,EAAE,IAAI,EAAE,sBAAa,CAAC,sBAAsB,EAAE,CAC/C,CAAC;IACJ,CAAC;IAED,OAAO,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC;AACzC,CAAC;AAED;;;GAGG;AACI,KAAK,UAAU,0CAA0C,CAC9D,YAAiC,EACjC,+BAAuC,EACvC,MAAiB;IAEjB,MAAM,sBAAsB,GAAG,MAAM,YAAY,CAAC,qBAAqB,CAAC;QACtE,UAAU,EAAE,+BAA+B;QAC3C,MAAM,EAAE,MAAM,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE,CAAC;KAC9C,CAAC,CAAC;IAEH,MAAM,YAAY,GAAG,sBAAsB,CAAC,OAAO,EAAE,YAAY,CAAC;IAElE,IAAI,CAAC,YAAY,IAAI,CAAC,sBAAsB,CAAC,OAAO,EAAE,CAAC;QACrD,MAAM,IAAI,yBAAgB,CACxB,kCAAkC,+BAA+B,YAAY,EAC7E;YACE,UAAU,EAAE,+BAA+B;YAC3C,IAAI,EAAE,sBAAa,CAAC,kBAAkB;SACvC,CACF,CAAC;IACJ,CAAC;IAED,OAAO;QACL;YACE,UAAU,EAAE,YAAY,CAAC,UAAU;YACnC,UAAU,EAAE,YAAY,CAAC,UAAU;YACnC,gBAAgB,EAAE,YAAY,CAAC,gBAAgB;YAC/C,cAAc,EAAE,sBAAsB,CAAC,OAAO,CAAC,cAAc;SAC9D;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
};
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.getFactoryContractId = getFactoryContractId;
|
|
8
|
-
const paymentStreams_factory_contract_id_json_1 = __importDefault(require("@fairmint/
|
|
8
|
+
const paymentStreams_factory_contract_id_json_1 = __importDefault(require("@fairmint/daml-js/paymentStreams-factory-contract-id.json"));
|
|
9
9
|
const canton_1 = require("@open-captable-protocol/canton");
|
|
10
10
|
/**
|
|
11
11
|
* Get the paymentStream factory contract ID for a given network
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factoryContractId.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/utils/factoryContractId.ts"],"names":[],"mappings":";AAAA,kEAAkE;;;;;AAwBlE,oDAiBC;AAtCD
|
|
1
|
+
{"version":3,"file":"factoryContractId.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/utils/factoryContractId.ts"],"names":[],"mappings":";AAAA,kEAAkE;;;;;AAwBlE,oDAiBC;AAtCD,wIAAoG;AACpG,2DAGwC;AAUxC;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,OAAgB;IACnD,MAAM,MAAM,GACV,iDACD,CAAC,OAAO,CAAoC,CAAC;IAE9C,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,MAAM,IAAI,2BAAkB,CAC1B,SAAS,EACT,4DAA4D,OAAO,EAAE,EACrE;YACE,IAAI,EAAE,sBAAa,CAAC,cAAc;YAClC,aAAa,EAAE,OAAO;SACvB,CACF,CAAC;IACJ,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fairmint/canton-fairmint-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.63",
|
|
4
4
|
"description": "Shared SDK utilities for Canton blockchain integration",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
"pg-connection-string": "2.12.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@fairmint/canton-node-sdk": "
|
|
54
|
-
"@fairmint/
|
|
55
|
-
"@open-captable-protocol/canton": "
|
|
53
|
+
"@fairmint/canton-node-sdk": "0.0.203",
|
|
54
|
+
"@fairmint/daml-js": ">=0.1.1",
|
|
55
|
+
"@open-captable-protocol/canton": "0.4.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@eslint/eslintrc": "3.3.5",
|
|
59
|
-
"@fairmint/canton-node-sdk": "0.0.
|
|
60
|
-
"@fairmint/
|
|
61
|
-
"@open-captable-protocol/canton": "0.
|
|
59
|
+
"@fairmint/canton-node-sdk": "0.0.203",
|
|
60
|
+
"@fairmint/daml-js": "0.1.1",
|
|
61
|
+
"@open-captable-protocol/canton": "0.4.1",
|
|
62
62
|
"@types/jest": "30.0.0",
|
|
63
63
|
"@types/node": "25.6.0",
|
|
64
64
|
"@types/pg": "8.20.0",
|