@fairmint/open-captable-protocol-daml-js 0.2.144 → 0.2.146

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/OpenCapTable-v34/.daml/dist/OpenCapTable-v34-0.0.1.dar +0 -0
  2. package/generated/ocp-factory-contract-id.json +4 -8
  3. package/lib/CantonPayments/Airdrop/Airdrop/module.js +2 -2
  4. package/lib/CantonPayments/Airdrop/AirdropFactory/module.js +2 -2
  5. package/lib/CantonPayments/Airdrop/PersonalAirdrop/module.js +2 -2
  6. package/lib/CantonPayments/Airdrop/SimpleAirdrop/module.js +2 -2
  7. package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.js +4 -4
  8. package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/module.js +2 -2
  9. package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.js +2 -2
  10. package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.js +2 -2
  11. package/lib/DA/Internal/index.d.ts +1 -1
  12. package/lib/DA/index.d.ts +3 -1
  13. package/lib/DA/index.js +4 -0
  14. package/lib/Fairmint/OpenCapTable/CapTable/module.js +2 -2
  15. package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +2 -2
  16. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.js +2 -2
  17. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.js +2 -2
  18. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.js +2 -2
  19. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.js +2 -2
  20. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.js +2 -2
  21. package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.js +2 -2
  22. package/lib/Fairmint/OpenCapTable/OCF/Document/module.js +2 -2
  23. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.js +2 -2
  24. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.js +2 -2
  25. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.js +2 -2
  26. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.js +2 -2
  27. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.js +2 -2
  28. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.js +2 -2
  29. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.js +2 -2
  30. package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.js +2 -2
  31. package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.js +2 -2
  32. package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.js +2 -2
  33. package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.js +2 -2
  34. package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.js +2 -2
  35. package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.js +2 -2
  36. package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.js +2 -2
  37. package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.js +2 -2
  38. package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.js +2 -2
  39. package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.js +2 -2
  40. package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.js +2 -2
  41. package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.js +2 -2
  42. package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.js +2 -2
  43. package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.js +2 -2
  44. package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.js +2 -2
  45. package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.js +2 -2
  46. package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.js +2 -2
  47. package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.js +2 -2
  48. package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.js +2 -2
  49. package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.js +2 -2
  50. package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.js +2 -2
  51. package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.js +2 -2
  52. package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.js +2 -2
  53. package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.js +2 -2
  54. package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.js +2 -2
  55. package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.js +2 -2
  56. package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.js +2 -2
  57. package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.js +2 -2
  58. package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.js +2 -2
  59. package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.js +2 -2
  60. package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.js +2 -2
  61. package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.js +2 -2
  62. package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.js +2 -2
  63. package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.js +2 -2
  64. package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +2 -2
  65. package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/module.js +2 -2
  66. package/lib/Fairmint/OpenCapTableReports/ReportsFactory/module.js +2 -2
  67. package/lib/Nft/Api/V1/Nft/module.d.ts +20 -0
  68. package/lib/Nft/Api/V1/Nft/module.js +31 -0
  69. package/lib/Nft/Api/V1/Types/module.d.ts +179 -0
  70. package/lib/Nft/Api/V1/Types/module.js +218 -0
  71. package/lib/{DA/Set → Nft/Api/V1}/index.d.ts +2 -0
  72. package/lib/{DA/Set → Nft/Api/V1}/index.js +2 -0
  73. package/lib/Nft/Api/index.d.ts +2 -0
  74. package/lib/Nft/Api/index.js +9 -0
  75. package/lib/Nft/Reference/V1/NftAsset/module.d.ts +105 -0
  76. package/lib/Nft/Reference/V1/NftAsset/module.js +183 -0
  77. package/lib/Nft/Reference/V1/NftRegistry/module.d.ts +97 -0
  78. package/lib/Nft/Reference/V1/NftRegistry/module.js +150 -0
  79. package/lib/Nft/Reference/V1/ReceiveAuthorization/module.d.ts +41 -0
  80. package/lib/Nft/Reference/V1/ReceiveAuthorization/module.js +68 -0
  81. package/lib/Nft/Reference/V1/index.d.ts +6 -0
  82. package/lib/Nft/Reference/V1/index.js +13 -0
  83. package/lib/Nft/Reference/index.d.ts +2 -0
  84. package/lib/Nft/Reference/index.js +9 -0
  85. package/lib/Nft/index.d.ts +2 -0
  86. package/lib/Nft/index.js +6 -0
  87. package/lib/Splice/Api/index.d.ts +1 -1
  88. package/lib/Splice/index.d.ts +16 -30
  89. package/lib/Splice/index.js +2 -0
  90. package/lib/index.d.ts +2 -1
  91. package/lib/index.js +2 -0
  92. package/package.json +33 -29
  93. package/types/ocp-factory-contract-id-json.d.ts +12 -0
  94. package/types/paymentStreams-factory-contract-id-json.d.ts +24 -0
  95. package/types/reports-factory-contract-id-json.d.ts +12 -0
  96. package/generated/ocp-factory-contract-id.json.d.ts +0 -11
  97. package/generated/paymentStreams-factory-contract-id.json.d.ts +0 -23
  98. package/generated/reports-factory-contract-id.json.d.ts +0 -11
  99. package/lib/DA/Set/Types/module.d.ts +0 -15
  100. package/lib/DA/Set/Types/module.js +0 -23
  101. package/lib/Splice/Api/Token/AllocationInstructionV1/module.d.ts +0 -147
  102. package/lib/Splice/Api/Token/AllocationInstructionV1/module.js +0 -215
  103. package/lib/Splice/Api/Token/AllocationV1/module.d.ts +0 -151
  104. package/lib/Splice/Api/Token/AllocationV1/module.js +0 -205
  105. package/lib/Splice/Api/Token/HoldingV1/module.d.ts +0 -58
  106. package/lib/Splice/Api/Token/HoldingV1/module.js +0 -75
  107. package/lib/Splice/Api/Token/MetadataV1/module.d.ts +0 -89
  108. package/lib/Splice/Api/Token/MetadataV1/module.js +0 -113
  109. package/lib/Splice/Api/Token/TransferInstructionV1/index.d.ts +0 -1
  110. package/lib/Splice/Api/Token/TransferInstructionV1/index.js +0 -8
  111. package/lib/Splice/Api/Token/TransferInstructionV1/module.d.ts +0 -200
  112. package/lib/Splice/Api/Token/TransferInstructionV1/module.js +0 -294
  113. /package/lib/{DA/Set/Types → Nft/Api/V1/Nft}/index.d.ts +0 -0
  114. /package/lib/{DA/Set/Types → Nft/Api/V1/Nft}/index.js +0 -0
  115. /package/lib/{Splice/Api/Token/AllocationInstructionV1 → Nft/Api/V1/Types}/index.d.ts +0 -0
  116. /package/lib/{Splice/Api/Token/AllocationInstructionV1 → Nft/Api/V1/Types}/index.js +0 -0
  117. /package/lib/{Splice/Api/Token/AllocationV1 → Nft/Reference/V1/NftAsset}/index.d.ts +0 -0
  118. /package/lib/{Splice/Api/Token/AllocationV1 → Nft/Reference/V1/NftAsset}/index.js +0 -0
  119. /package/lib/{Splice/Api/Token/HoldingV1 → Nft/Reference/V1/NftRegistry}/index.d.ts +0 -0
  120. /package/lib/{Splice/Api/Token/HoldingV1 → Nft/Reference/V1/NftRegistry}/index.js +0 -0
  121. /package/lib/{Splice/Api/Token/MetadataV1 → Nft/Reference/V1/ReceiveAuthorization}/index.d.ts +0 -0
  122. /package/lib/{Splice/Api/Token/MetadataV1 → Nft/Reference/V1/ReceiveAuthorization}/index.js +0 -0
package/lib/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as Fairmint from './Fairmint';
2
+ import * as Nft from './Nft';
2
3
  import * as CantonPayments from './CantonPayments';
3
4
  import * as Splice from './Splice';
4
5
  import * as DA from './DA';
5
- export { Fairmint, CantonPayments, DA, Splice } ;
6
+ export { Fairmint, Nft, CantonPayments, DA, Splice } ;
package/lib/index.js CHANGED
@@ -7,6 +7,8 @@ function __export(m) {
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  var Fairmint = require('./Fairmint');
9
9
  exports.Fairmint = Fairmint;
10
+ var Nft = require('./Nft');
11
+ exports.Nft = Nft;
10
12
  var CantonPayments = require('./CantonPayments');
11
13
  exports.CantonPayments = CantonPayments;
12
14
  var DA = require('./DA');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fairmint/open-captable-protocol-daml-js",
3
- "version": "0.2.144",
3
+ "version": "0.2.146",
4
4
  "description": "Open CapTable Protocol DAML smart contracts with generated JavaScript bindings.",
5
5
  "keywords": [
6
6
  "daml",
@@ -26,15 +26,15 @@
26
26
  },
27
27
  "./lib/*": "./lib/*",
28
28
  "./ocp-factory-contract-id.json": {
29
- "types": "./generated/ocp-factory-contract-id.json.d.ts",
29
+ "types": "./types/ocp-factory-contract-id-json.d.ts",
30
30
  "default": "./generated/ocp-factory-contract-id.json"
31
31
  },
32
32
  "./reports-factory-contract-id.json": {
33
- "types": "./generated/reports-factory-contract-id.json.d.ts",
33
+ "types": "./types/reports-factory-contract-id-json.d.ts",
34
34
  "default": "./generated/reports-factory-contract-id.json"
35
35
  },
36
36
  "./paymentStreams-factory-contract-id.json": {
37
- "types": "./generated/paymentStreams-factory-contract-id.json.d.ts",
37
+ "types": "./types/paymentStreams-factory-contract-id-json.d.ts",
38
38
  "default": "./generated/paymentStreams-factory-contract-id.json"
39
39
  }
40
40
  },
@@ -43,34 +43,35 @@
43
43
  "typesVersions": {
44
44
  "*": {
45
45
  "ocp-factory-contract-id.json": [
46
- "generated/ocp-factory-contract-id.json.d.ts"
46
+ "types/ocp-factory-contract-id-json.d.ts"
47
47
  ],
48
48
  "reports-factory-contract-id.json": [
49
- "generated/reports-factory-contract-id.json.d.ts"
49
+ "types/reports-factory-contract-id-json.d.ts"
50
50
  ],
51
51
  "paymentStreams-factory-contract-id.json": [
52
- "generated/paymentStreams-factory-contract-id.json.d.ts"
52
+ "types/paymentStreams-factory-contract-id-json.d.ts"
53
53
  ]
54
54
  }
55
55
  },
56
56
  "files": [
57
57
  "lib/**",
58
58
  "generated/ocp-factory-contract-id.json",
59
- "generated/ocp-factory-contract-id.json.d.ts",
59
+ "types/ocp-factory-contract-id-json.d.ts",
60
60
  "generated/reports-factory-contract-id.json",
61
- "generated/reports-factory-contract-id.json.d.ts",
61
+ "types/reports-factory-contract-id-json.d.ts",
62
62
  "generated/paymentStreams-factory-contract-id.json",
63
- "generated/paymentStreams-factory-contract-id.json.d.ts",
63
+ "types/paymentStreams-factory-contract-id-json.d.ts",
64
64
  "OpenCapTable-v34/.daml/dist/OpenCapTable-v34-0.0.1.dar"
65
65
  ],
66
66
  "scripts": {
67
67
  "backup-dar": "tsx scripts/backup-dar.ts",
68
- "build": "tsx scripts/codegen/generate-captable.ts && cd Test && PATH=\"$HOME/.dpm/bin:$PATH\" dpm build",
68
+ "build": "npm run check:nft-core-invariants && tsx scripts/codegen/generate-captable.ts && cd Test && PATH=\"$HOME/.dpm/bin:$PATH\" dpm build",
69
69
  "build:ts": "tsc",
70
+ "check:nft-core-invariants": "tsx scripts/check-nft-core-invariants.ts",
70
71
  "check:schema-gaps": "tsx scripts/schema-gap-checker/check-schema-gaps.ts",
71
72
  "check-upgrade-compat": "tsx scripts/check-upgrade-compatibility.ts",
72
- "clean": "for pkg in Shared OpenCapTableReports-v01 OpenCapTable-v34 OpenCapTableProofOfOwnership-v01 CantonPayments CouponMinter Test; do (cd $pkg && PATH=\"$HOME/.dpm/bin:$PATH\" dpm clean); done",
73
- "codegen": "npm run build && cd OpenCapTable-v34 && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && cd Shared && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && cd OpenCapTableReports-v01 && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && cd CantonPayments && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && tsx scripts/bundle-dependencies.ts && tsx scripts/create-package-index.ts && tsx scripts/create-root-index.ts && tsx scripts/fix-splice-refs.ts && npm run build:ts",
73
+ "clean": "for pkg in Shared OpenCapTableReports-v01 OpenCapTable-v34 NftApi-v01 NftReference-v01 OpenCapTableProofOfOwnership-v01 CantonPayments CouponMinter Test; do (cd $pkg && PATH=\"$HOME/.dpm/bin:$PATH\" dpm clean); done",
74
+ "codegen": "npm run build && cd OpenCapTable-v34 && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && cd Shared && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && cd OpenCapTableReports-v01 && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && cd NftApi-v01 && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && cd NftReference-v01 && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && tsx scripts/merge-nft-iface-codegen.ts && cd CantonPayments && PATH=\"$HOME/.dpm/bin:$PATH\" dpm codegen-js && cd .. && tsx scripts/bundle-dependencies.ts && tsx scripts/create-package-index.ts && tsx scripts/create-root-index.ts && tsx scripts/fix-splice-refs.ts && npm run build:ts",
74
75
  "create-couponMinter": "tsx scripts/create-couponMinter.ts",
75
76
  "create-factory:ocp": "npm run codegen && tsx scripts/create-ocp-factory.ts --network devnet && tsx scripts/create-ocp-factory.ts --network mainnet",
76
77
  "create-factory:paymentStreams": "npm run codegen && tsx scripts/create-paymentStreams-factory.ts --network devnet && tsx scripts/create-paymentStreams-factory.ts --network mainnet",
@@ -79,14 +80,15 @@
79
80
  "format": "prettier --check .",
80
81
  "format:fix": "prettier --write .",
81
82
  "lint": "eslint .",
82
- "lint:daml": "EXIT_CODE=0; for pkg in OpenCapTable-v34 CantonPayments OpenCapTableReports-v01 OpenCapTableProofOfOwnership-v01 Shared CouponMinter Test; do echo \"Linting $pkg...\"; (cd $pkg && PATH=\"$HOME/.dpm/bin:$PATH\" dpm damlc lint) || EXIT_CODE=1; done; exit $EXIT_CODE",
83
+ "lint:daml": "EXIT_CODE=0; for pkg in OpenCapTable-v34 CantonPayments OpenCapTableReports-v01 NftApi-v01 NftReference-v01 OpenCapTableProofOfOwnership-v01 Shared CouponMinter Test; do echo \"Linting $pkg...\"; (cd $pkg && PATH=\"$HOME/.dpm/bin:$PATH\" dpm damlc lint) || EXIT_CODE=1; done; exit $EXIT_CODE",
83
84
  "lint:fix": "eslint . --fix",
84
85
  "package:manifest": "npm run package:prep && npm pack --dry-run --json --ignore-scripts > /tmp/npm-pack.json 2>/dev/null && jq -r '.[0].files[].path' /tmp/npm-pack.json | sort | tsx scripts/collapse-manifest.ts > generated/npm-manifest.txt",
85
86
  "package:prep": "npm run codegen && npm run update-version && tsx scripts/bundle-dependencies.ts && tsx scripts/create-package-index.ts && tsx scripts/create-root-index.ts && tsx scripts/fix-splice-refs.ts",
86
87
  "package:publish": "npm run package:manifest && npm publish",
87
88
  "prepare-release": "tsx scripts/prepare-release.ts",
88
- "test": "cd Test && PATH=\"$HOME/.dpm/bin:$PATH\" dpm test --show-coverage --color --coverage-ignore-choice splice-amulet:.*",
89
+ "test": "npm run check:nft-core-invariants && cd Test && PATH=\"$HOME/.dpm/bin:$PATH\" dpm test --show-coverage --color --coverage-ignore-choice splice-amulet:.*",
89
90
  "test:imports": "tsx scripts/test-imports.ts",
91
+ "test:nft-core-invariants": "npm run check:nft-core-invariants",
90
92
  "update-version": "tsx scripts/update-generated-package.ts",
91
93
  "upgrade-package": "tsx scripts/upgrade-package.ts",
92
94
  "upload-dar": "tsx scripts/upload-dar.ts",
@@ -94,32 +96,34 @@
94
96
  "verify-package": "tsx scripts/verify-package-imports.ts"
95
97
  },
96
98
  "dependencies": {
97
- "@daml/ledger": "2.10.3",
98
- "@daml/types": "3.4.10",
99
- "@fairmint/canton-node-sdk": "0.0.191"
99
+ "@daml/ledger": "2.10.4",
100
+ "@daml/types": "3.4.11",
101
+ "@fairmint/canton-node-sdk": "0.0.195"
100
102
  },
101
103
  "devDependencies": {
102
- "@types/node": "25.2.2",
103
- "@typescript-eslint/eslint-plugin": "8.55.0",
104
- "@typescript-eslint/parser": "8.55.0",
105
- "eslint": "9.39.2",
104
+ "@types/node": "25.5.2",
105
+ "@typescript-eslint/eslint-plugin": "8.58.0",
106
+ "@typescript-eslint/parser": "8.58.0",
107
+ "@typescript-eslint/utils": "8.58.0",
108
+ "eslint": "10.2.0",
106
109
  "eslint-config-prettier": "10.1.8",
110
+ "eslint-import-resolver-node": "0.3.10",
107
111
  "eslint-import-resolver-typescript": "4.4.4",
108
- "eslint-plugin-import": "2.32.0",
112
+ "eslint-plugin-import-x": "4.16.2",
109
113
  "eslint-plugin-unused-imports": "4.4.1",
110
- "handlebars": "^4.7.8",
114
+ "handlebars": "4.7.9",
111
115
  "prettier": "3.8.1",
112
116
  "prettier-plugin-jsdoc": "1.8.0",
113
117
  "prettier-plugin-organize-imports": "4.3.0",
114
- "prettier-plugin-packagejson": "3.0.0",
118
+ "prettier-plugin-packagejson": "3.0.2",
115
119
  "ts-node": "10.9.2",
116
120
  "tsx": "4.21.0",
117
- "typescript": "5.9.3",
118
- "yaml": "2.8.2"
121
+ "typescript": "6.0.2",
122
+ "yaml": "2.8.3"
119
123
  },
120
124
  "peerDependencies": {
121
- "@daml/ledger": "2.10.3",
122
- "@daml/types": "3.4.10"
125
+ "@daml/ledger": "2.10.4",
126
+ "@daml/types": "3.4.11"
123
127
  },
124
128
  "publishConfig": {
125
129
  "access": "public"
@@ -0,0 +1,12 @@
1
+ /** Typings for `generated/ocp-factory-contract-id.json` (JSON is committed; this stub is the stable TS surface). */
2
+ declare const data: {
3
+ mainnet: {
4
+ ocpFactoryContractId: string;
5
+ templateId: string;
6
+ };
7
+ devnet: {
8
+ ocpFactoryContractId: string;
9
+ templateId: string;
10
+ };
11
+ };
12
+ export default data;
@@ -0,0 +1,24 @@
1
+ /** Typings for `generated/paymentStreams-factory-contract-id.json`. */
2
+ declare const data: {
3
+ devnet: {
4
+ paymentStreamsFactoryContractId: string;
5
+ templateId: string;
6
+ disclosedContract: {
7
+ templateId: string;
8
+ contractId: string;
9
+ createdEventBlob: string;
10
+ synchronizerId: string;
11
+ };
12
+ };
13
+ mainnet: {
14
+ paymentStreamsFactoryContractId: string;
15
+ templateId: string;
16
+ disclosedContract: {
17
+ templateId: string;
18
+ contractId: string;
19
+ createdEventBlob: string;
20
+ synchronizerId: string;
21
+ };
22
+ };
23
+ };
24
+ export default data;
@@ -0,0 +1,12 @@
1
+ /** Typings for `generated/reports-factory-contract-id.json`. */
2
+ declare const data: {
3
+ devnet: {
4
+ reportsFactoryContractId: string;
5
+ templateId: string;
6
+ };
7
+ mainnet: {
8
+ reportsFactoryContractId: string;
9
+ templateId: string;
10
+ };
11
+ };
12
+ export default data;
@@ -1,11 +0,0 @@
1
- declare const data: {
2
- mainnet: {
3
- ocpFactoryContractId: string;
4
- templateId: string;
5
- };
6
- devnet: {
7
- ocpFactoryContractId: string;
8
- templateId: string;
9
- };
10
- };
11
- export default data;
@@ -1,23 +0,0 @@
1
- declare const data: {
2
- devnet: {
3
- paymentStreamsFactoryContractId: string;
4
- templateId: string;
5
- disclosedContract: {
6
- templateId: string;
7
- contractId: string;
8
- createdEventBlob: string;
9
- synchronizerId: string;
10
- };
11
- };
12
- mainnet: {
13
- paymentStreamsFactoryContractId: string;
14
- templateId: string;
15
- disclosedContract: {
16
- templateId: string;
17
- contractId: string;
18
- createdEventBlob: string;
19
- synchronizerId: string;
20
- };
21
- };
22
- };
23
- export default data;
@@ -1,11 +0,0 @@
1
- declare const data: {
2
- devnet: {
3
- reportsFactoryContractId: string;
4
- templateId: string;
5
- };
6
- mainnet: {
7
- reportsFactoryContractId: string;
8
- templateId: string;
9
- };
10
- };
11
- export default data;
@@ -1,15 +0,0 @@
1
- // Generated from DA/Set/Types.daml
2
- /* eslint-disable @typescript-eslint/camelcase */
3
- /* eslint-disable @typescript-eslint/no-namespace */
4
- /* eslint-disable @typescript-eslint/no-use-before-define */
5
- import * as jtv from '@mojotech/json-type-validation';
6
- import * as damlTypes from '@daml/types';
7
-
8
- export declare type Set<k> = {
9
- map: damlTypes.Map<k, {}>;
10
- };
11
-
12
- export declare const Set :
13
- (<k>(k: damlTypes.Serializable<k>) => damlTypes.Serializable<Set<k>>) & {
14
- };
15
-
@@ -1,23 +0,0 @@
1
- "use strict";
2
- /* eslint-disable-next-line no-unused-vars */
3
- function __export(m) {
4
- /* eslint-disable-next-line no-prototype-builtins */
5
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
6
- }
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- /* eslint-disable-next-line no-unused-vars */
9
- var jtv = require('@mojotech/json-type-validation');
10
- /* eslint-disable-next-line no-unused-vars */
11
- var damlTypes = require('@daml/types');
12
-
13
-
14
- exports.Set = function (k) { return ({
15
- decoder: damlTypes.lazyMemo(function () { return jtv.object({map: damlTypes.Map(k, damlTypes.Unit).decoder, }); }),
16
- encode: function (__typed__) {
17
- return {
18
- map: damlTypes.Map(k, damlTypes.Unit).encode(__typed__.map),
19
- };
20
- }
21
- ,
22
- }); };
23
-
@@ -1,147 +0,0 @@
1
- // Generated from Splice/Api/Token/AllocationInstructionV1.daml
2
- /* eslint-disable @typescript-eslint/camelcase */
3
- /* eslint-disable @typescript-eslint/no-namespace */
4
- /* eslint-disable @typescript-eslint/no-use-before-define */
5
- import * as jtv from '@mojotech/json-type-validation';
6
- import * as damlTypes from '@daml/types';
7
-
8
- import * as pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f from '../MetadataV1';
9
- import * as pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b from '../HoldingV1';
10
- import * as pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d from '../AllocationV1';
11
- import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../DA/Internal/Template';
12
-
13
- export declare type AllocationFactory = damlTypes.Interface<'#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationFactory'> & AllocationFactoryView;
14
- export declare interface AllocationFactoryInterface {
15
- Archive: damlTypes.Choice<AllocationFactory, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationFactory, undefined>>;
16
- AllocationFactory_Allocate: damlTypes.Choice<AllocationFactory, AllocationFactory_Allocate, AllocationInstructionResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationFactory, undefined>>;
17
- AllocationFactory_PublicFetch: damlTypes.Choice<AllocationFactory, AllocationFactory_PublicFetch, AllocationFactoryView, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationFactory, undefined>>;
18
- }
19
- export declare const AllocationFactory:
20
- damlTypes.InterfaceCompanion<AllocationFactory, undefined, '#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationFactory'> &
21
- damlTypes.FromTemplate<AllocationFactory, unknown> &
22
- AllocationFactoryInterface;
23
-
24
-
25
- export declare type AllocationInstruction = damlTypes.Interface<'#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction'> & AllocationInstructionView;
26
- export declare interface AllocationInstructionInterface {
27
- Archive: damlTypes.Choice<AllocationInstruction, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationInstruction, undefined>>;
28
- AllocationInstruction_Withdraw: damlTypes.Choice<AllocationInstruction, AllocationInstruction_Withdraw, AllocationInstructionResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationInstruction, undefined>>;
29
- AllocationInstruction_Update: damlTypes.Choice<AllocationInstruction, AllocationInstruction_Update, AllocationInstructionResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<AllocationInstruction, undefined>>;
30
- }
31
- export declare const AllocationInstruction:
32
- damlTypes.InterfaceCompanion<AllocationInstruction, undefined, '#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction'> &
33
- damlTypes.FromTemplate<AllocationInstruction, unknown> &
34
- AllocationInstructionInterface;
35
-
36
-
37
- export declare type AllocationInstructionResult_Output =
38
- | { tag: 'AllocationInstructionResult_Pending'; value: AllocationInstructionResult_Output.AllocationInstructionResult_Pending }
39
- | { tag: 'AllocationInstructionResult_Completed'; value: AllocationInstructionResult_Output.AllocationInstructionResult_Completed }
40
- | { tag: 'AllocationInstructionResult_Failed'; value: {} }
41
- ;
42
-
43
- export declare const AllocationInstructionResult_Output:
44
- damlTypes.Serializable<AllocationInstructionResult_Output> & {
45
- AllocationInstructionResult_Pending: damlTypes.Serializable<AllocationInstructionResult_Output.AllocationInstructionResult_Pending>;
46
- AllocationInstructionResult_Completed: damlTypes.Serializable<AllocationInstructionResult_Output.AllocationInstructionResult_Completed>;
47
- }
48
- ;
49
-
50
-
51
- export namespace AllocationInstructionResult_Output {
52
- type AllocationInstructionResult_Pending = {
53
- allocationInstructionCid: damlTypes.ContractId<AllocationInstruction>;
54
- };
55
- } //namespace AllocationInstructionResult_Output
56
-
57
-
58
- export namespace AllocationInstructionResult_Output {
59
- type AllocationInstructionResult_Completed = {
60
- allocationCid: damlTypes.ContractId<pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Splice.Api.Token.AllocationV1.Allocation>;
61
- };
62
- } //namespace AllocationInstructionResult_Output
63
-
64
-
65
- export declare type AllocationInstructionResult = {
66
- output: AllocationInstructionResult_Output;
67
- senderChangeCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[];
68
- meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata;
69
- };
70
-
71
- export declare const AllocationInstructionResult:
72
- damlTypes.Serializable<AllocationInstructionResult> & {
73
- }
74
- ;
75
-
76
-
77
- export declare type AllocationFactory_PublicFetch = {
78
- expectedAdmin: damlTypes.Party;
79
- actor: damlTypes.Party;
80
- };
81
-
82
- export declare const AllocationFactory_PublicFetch:
83
- damlTypes.Serializable<AllocationFactory_PublicFetch> & {
84
- }
85
- ;
86
-
87
-
88
- export declare type AllocationFactory_Allocate = {
89
- expectedAdmin: damlTypes.Party;
90
- allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Splice.Api.Token.AllocationV1.AllocationSpecification;
91
- requestedAt: damlTypes.Time;
92
- inputHoldingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[];
93
- extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
94
- };
95
-
96
- export declare const AllocationFactory_Allocate:
97
- damlTypes.Serializable<AllocationFactory_Allocate> & {
98
- }
99
- ;
100
-
101
-
102
- export declare type AllocationFactoryView = {
103
- admin: damlTypes.Party;
104
- meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata;
105
- };
106
-
107
- export declare const AllocationFactoryView:
108
- damlTypes.Serializable<AllocationFactoryView> & {
109
- }
110
- ;
111
-
112
-
113
- export declare type AllocationInstruction_Update = {
114
- extraActors: damlTypes.Party[];
115
- extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
116
- };
117
-
118
- export declare const AllocationInstruction_Update:
119
- damlTypes.Serializable<AllocationInstruction_Update> & {
120
- }
121
- ;
122
-
123
-
124
- export declare type AllocationInstruction_Withdraw = {
125
- extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
126
- };
127
-
128
- export declare const AllocationInstruction_Withdraw:
129
- damlTypes.Serializable<AllocationInstruction_Withdraw> & {
130
- }
131
- ;
132
-
133
-
134
- export declare type AllocationInstructionView = {
135
- originalInstructionCid: damlTypes.Optional<damlTypes.ContractId<AllocationInstruction>>;
136
- allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Splice.Api.Token.AllocationV1.AllocationSpecification;
137
- pendingActions: damlTypes.Map<damlTypes.Party, string>;
138
- requestedAt: damlTypes.Time;
139
- inputHoldingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[];
140
- meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata;
141
- };
142
-
143
- export declare const AllocationInstructionView:
144
- damlTypes.Serializable<AllocationInstructionView> & {
145
- }
146
- ;
147
-