@odatano/core 2.0.0-rc.5 → 2.0.0-rc.50

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 (208) hide show
  1. package/@cds-models/CardanoAgentService/index.d.ts +99 -51
  2. package/@cds-models/CardanoAgentService/index.js +15 -0
  3. package/@cds-models/CardanoBackendService/index.d.ts +347 -0
  4. package/@cds-models/CardanoBackendService/index.js +40 -0
  5. package/@cds-models/CardanoIndexerService/index.d.ts +496 -11
  6. package/@cds-models/CardanoIndexerService/index.js +64 -0
  7. package/@cds-models/CardanoODataService/index.d.ts +414 -57
  8. package/@cds-models/CardanoODataService/index.js +42 -0
  9. package/@cds-models/CardanoSignService/index.d.ts +32 -19
  10. package/@cds-models/CardanoSignService/index.js +3 -0
  11. package/@cds-models/CardanoTransactionService/index.d.ts +58 -44
  12. package/@cds-models/CardanoTransactionService/index.js +4 -0
  13. package/@cds-models/CardanoWorkerService/index.d.ts +7 -22
  14. package/@cds-models/index.d.ts +101 -1
  15. package/@cds-models/index.js +16 -1
  16. package/@cds-models/odatano/cardano/index.d.ts +437 -32
  17. package/@cds-models/odatano/cardano/index.js +48 -0
  18. package/README.md +207 -167
  19. package/db/schema.cds +2402 -1705
  20. package/db/types.cds +446 -295
  21. package/package.json +41 -16
  22. package/scripts/migrate-schema.mjs +334 -0
  23. package/scripts/migrate-slot-leader.mjs +96 -0
  24. package/src/index.d.ts +20 -21
  25. package/src/index.js +45 -31
  26. package/src/plugin.js +17 -35
  27. package/srv/blockchain/asset-decimals.d.ts +7 -0
  28. package/srv/blockchain/asset-decimals.js +91 -0
  29. package/srv/blockchain/backends/blockfrost-backend.d.ts +25 -135
  30. package/srv/blockchain/backends/blockfrost-backend.js +66 -172
  31. package/srv/blockchain/backends/cardano-backend.d.ts +94 -186
  32. package/srv/blockchain/backends/cardano-backend.js +29 -5
  33. package/srv/blockchain/backends/koios-backend.d.ts +103 -168
  34. package/srv/blockchain/backends/koios-backend.js +428 -360
  35. package/srv/blockchain/backends/odatano-backend.d.ts +54 -0
  36. package/srv/blockchain/backends/odatano-backend.js +169 -0
  37. package/srv/blockchain/backends/ogmios-backend.d.ts +123 -190
  38. package/srv/blockchain/backends/ogmios-backend.js +637 -315
  39. package/srv/blockchain/backends/ogmios-frame-guard.d.ts +14 -0
  40. package/srv/blockchain/backends/ogmios-frame-guard.js +89 -0
  41. package/srv/blockchain/cardano-client.d.ts +61 -241
  42. package/srv/blockchain/cardano-client.js +253 -293
  43. package/srv/blockchain/cardano-indexer.d.ts +282 -281
  44. package/srv/blockchain/cardano-indexer.js +1551 -484
  45. package/srv/blockchain/cardano-tx-builder.d.ts +25 -89
  46. package/srv/blockchain/cardano-tx-builder.js +164 -140
  47. package/srv/blockchain/circuit-breaker.d.ts +1 -13
  48. package/srv/blockchain/circuit-breaker.js +5 -15
  49. package/srv/blockchain/crawler/account-snapshots.d.ts +29 -0
  50. package/srv/blockchain/crawler/account-snapshots.js +153 -0
  51. package/srv/blockchain/crawler/asset-decimals-backfill.d.ts +15 -0
  52. package/srv/blockchain/crawler/asset-decimals-backfill.js +56 -0
  53. package/srv/blockchain/crawler/asset-registry-backfill.d.ts +43 -0
  54. package/srv/blockchain/crawler/asset-registry-backfill.js +153 -0
  55. package/srv/blockchain/crawler/certificate-backfill.d.ts +52 -0
  56. package/srv/blockchain/crawler/certificate-backfill.js +162 -0
  57. package/srv/blockchain/crawler/crawler.d.ts +104 -81
  58. package/srv/blockchain/crawler/crawler.js +532 -160
  59. package/srv/blockchain/crawler/credential-backfill.d.ts +28 -0
  60. package/srv/blockchain/crawler/credential-backfill.js +124 -0
  61. package/srv/blockchain/crawler/hooks.d.ts +2 -17
  62. package/srv/blockchain/crawler/index.d.ts +1 -8
  63. package/srv/blockchain/crawler/index.js +31 -17
  64. package/srv/blockchain/crawler/input-asset-copies.d.ts +34 -0
  65. package/srv/blockchain/crawler/input-asset-copies.js +171 -0
  66. package/srv/blockchain/crawler/metadata-position-backfill.d.ts +16 -0
  67. package/srv/blockchain/crawler/metadata-position-backfill.js +55 -0
  68. package/srv/blockchain/crawler/output-datum-backfill.d.ts +39 -0
  69. package/srv/blockchain/crawler/output-datum-backfill.js +110 -0
  70. package/srv/blockchain/crawler/sync-state.d.ts +27 -47
  71. package/srv/blockchain/crawler/sync-state.js +113 -63
  72. package/srv/blockchain/crawler/transaction-backfill.d.ts +44 -0
  73. package/srv/blockchain/crawler/transaction-backfill.js +278 -0
  74. package/srv/blockchain/crawler/utxo-set-import.d.ts +66 -0
  75. package/srv/blockchain/crawler/utxo-set-import.js +399 -0
  76. package/srv/blockchain/ledger-state.d.ts +62 -0
  77. package/srv/blockchain/ledger-state.js +419 -0
  78. package/srv/blockchain/pending-spends.d.ts +16 -0
  79. package/srv/blockchain/pending-spends.js +81 -0
  80. package/srv/blockchain/pool-metadata.d.ts +15 -0
  81. package/srv/blockchain/pool-metadata.js +132 -0
  82. package/srv/blockchain/request-coalescer.d.ts +2 -16
  83. package/srv/blockchain/request-coalescer.js +2 -16
  84. package/srv/blockchain/signing/cose-verifier.d.ts +3 -17
  85. package/srv/blockchain/signing/cose-verifier.js +146 -70
  86. package/srv/blockchain/signing/external-signer.d.ts +15 -115
  87. package/srv/blockchain/signing/external-signer.js +17 -126
  88. package/srv/blockchain/signing/hsm-signer.d.ts +10 -54
  89. package/srv/blockchain/signing/hsm-signer.js +28 -79
  90. package/srv/blockchain/signing/signature-verifier.d.ts +9 -47
  91. package/srv/blockchain/signing/signature-verifier.js +70 -83
  92. package/srv/blockchain/signing/submission-finalizer.d.ts +23 -45
  93. package/srv/blockchain/signing/submission-finalizer.js +219 -86
  94. package/srv/blockchain/stored-chain.d.ts +20 -0
  95. package/srv/blockchain/stored-chain.js +237 -0
  96. package/srv/blockchain/transaction-building/buildooor-tx.d.ts +31 -229
  97. package/srv/blockchain/transaction-building/buildooor-tx.js +652 -416
  98. package/srv/blockchain/transaction-building/cardano-tx.d.ts +9 -37
  99. package/srv/blockchain/transaction-presence.d.ts +5 -0
  100. package/srv/blockchain/transaction-presence.js +29 -0
  101. package/srv/blockchain/transaction-rows.d.ts +12 -0
  102. package/srv/blockchain/transaction-rows.js +44 -0
  103. package/srv/blockchain/wallet-worker/build-request.d.ts +5 -20
  104. package/srv/blockchain/wallet-worker/build-request.js +47 -30
  105. package/srv/blockchain/wallet-worker/confirmation-tracker.d.ts +5 -46
  106. package/srv/blockchain/wallet-worker/confirmation-tracker.js +25 -45
  107. package/srv/blockchain/wallet-worker/index.d.ts +1 -1
  108. package/srv/blockchain/wallet-worker/index.js +3 -11
  109. package/srv/blockchain/wallet-worker/job-store.d.ts +30 -148
  110. package/srv/blockchain/wallet-worker/job-store.js +101 -201
  111. package/srv/blockchain/wallet-worker/lease-heartbeat.d.ts +2 -26
  112. package/srv/blockchain/wallet-worker/lease-heartbeat.js +6 -28
  113. package/srv/blockchain/wallet-worker/signers.d.ts +5 -24
  114. package/srv/blockchain/wallet-worker/signers.js +4 -12
  115. package/srv/blockchain/wallet-worker/wallet-worker.d.ts +8 -80
  116. package/srv/blockchain/wallet-worker/wallet-worker.js +107 -155
  117. package/srv/cardano-agent-service.cds +122 -84
  118. package/srv/cardano-agent-service.js +4 -9
  119. package/srv/cardano-backend-service.cds +78 -0
  120. package/srv/cardano-backend-service.d.ts +2 -0
  121. package/srv/cardano-backend-service.js +242 -0
  122. package/srv/cardano-indexer-service.cds +387 -73
  123. package/srv/cardano-indexer-service.d.ts +5 -1
  124. package/srv/cardano-indexer-service.js +532 -16
  125. package/srv/cardano-service.cds +424 -269
  126. package/srv/cardano-service.js +289 -201
  127. package/srv/cardano-sign-service.cds +201 -180
  128. package/srv/cardano-sign-service.js +71 -201
  129. package/srv/cardano-tx-service.cds +451 -370
  130. package/srv/cardano-tx-service.js +271 -289
  131. package/srv/cardano-ui.cds +16 -16
  132. package/srv/cardano-worker-service.cds +118 -125
  133. package/srv/cardano-worker-service.js +52 -61
  134. package/srv/cbor/cip68.d.ts +13 -0
  135. package/srv/cbor/cip68.js +56 -0
  136. package/srv/cbor/index.d.ts +3 -1
  137. package/srv/cbor/index.js +9 -1
  138. package/srv/cbor/parse.d.ts +30 -18
  139. package/srv/cbor/parse.js +44 -9
  140. package/srv/cbor/plutus-data-json.d.ts +20 -0
  141. package/srv/cbor/plutus-data-json.js +32 -0
  142. package/srv/config.d.ts +113 -0
  143. package/srv/config.js +409 -0
  144. package/srv/server.d.ts +15 -110
  145. package/srv/server.js +84 -404
  146. package/srv/utils/agent-access.d.ts +9 -0
  147. package/srv/utils/agent-access.js +67 -0
  148. package/srv/utils/agent-grants-config.d.ts +0 -46
  149. package/srv/utils/agent-grants-config.js +17 -85
  150. package/srv/utils/agent-grants.d.ts +106 -122
  151. package/srv/utils/agent-grants.js +538 -236
  152. package/srv/utils/agent-token-auth.d.ts +4 -99
  153. package/srv/utils/agent-token-auth.js +18 -182
  154. package/srv/utils/backend-request-handler.d.ts +3 -17
  155. package/srv/utils/backend-request-handler.js +3 -18
  156. package/srv/utils/collections.d.ts +3 -10
  157. package/srv/utils/collections.js +3 -10
  158. package/srv/utils/const.d.ts +23 -74
  159. package/srv/utils/const.js +32 -79
  160. package/srv/utils/crypto.d.ts +3 -12
  161. package/srv/utils/crypto.js +6 -21
  162. package/srv/utils/db-indexes.d.ts +27 -0
  163. package/srv/utils/db-indexes.js +120 -0
  164. package/srv/utils/db-sanitize.d.ts +20 -0
  165. package/srv/utils/db-sanitize.js +80 -0
  166. package/srv/utils/deep-json.d.ts +6 -0
  167. package/srv/utils/deep-json.js +240 -0
  168. package/srv/utils/epoch-slots.d.ts +13 -0
  169. package/srv/utils/epoch-slots.js +38 -0
  170. package/srv/utils/error-codes.d.ts +22 -75
  171. package/srv/utils/error-codes.js +23 -72
  172. package/srv/utils/errors.d.ts +46 -187
  173. package/srv/utils/errors.js +114 -230
  174. package/srv/utils/liveness.d.ts +12 -0
  175. package/srv/utils/liveness.js +35 -0
  176. package/srv/utils/mappers.d.ts +102 -223
  177. package/srv/utils/mappers.js +387 -316
  178. package/srv/utils/network-context.js +2 -13
  179. package/srv/utils/paging.d.ts +31 -0
  180. package/srv/utils/paging.js +43 -0
  181. package/srv/utils/pg-inline-json.d.ts +8 -0
  182. package/srv/utils/pg-inline-json.js +58 -0
  183. package/srv/utils/pg-order-nulls.d.ts +14 -0
  184. package/srv/utils/pg-order-nulls.js +54 -0
  185. package/srv/utils/plutus-placeholders.d.ts +16 -22
  186. package/srv/utils/plutus-placeholders.js +62 -33
  187. package/srv/utils/rate-limiter.d.ts +2 -21
  188. package/srv/utils/rate-limiter.js +5 -17
  189. package/srv/utils/readiness.d.ts +12 -0
  190. package/srv/utils/readiness.js +29 -0
  191. package/srv/utils/reference-script.d.ts +19 -0
  192. package/srv/utils/reference-script.js +84 -0
  193. package/srv/utils/result-numbers.d.ts +15 -0
  194. package/srv/utils/result-numbers.js +61 -0
  195. package/srv/utils/service-events.d.ts +0 -24
  196. package/srv/utils/service-events.js +3 -25
  197. package/srv/utils/signing-helper.d.ts +3 -20
  198. package/srv/utils/signing-helper.js +35 -64
  199. package/srv/utils/tx-build-helper.d.ts +10 -105
  200. package/srv/utils/tx-build-helper.js +81 -144
  201. package/srv/utils/tx-request-parsers.d.ts +82 -33
  202. package/srv/utils/tx-request-parsers.js +401 -49
  203. package/srv/utils/tx-utils.d.ts +3 -27
  204. package/srv/utils/tx-utils.js +32 -50
  205. package/srv/utils/types.d.ts +261 -191
  206. package/srv/utils/types.js +2 -6
  207. package/srv/utils/validators.d.ts +22 -92
  208. package/srv/utils/validators.js +50 -149
@@ -19,6 +19,18 @@ module.exports.Pools = createEntityProxy(['CardanoODataService', 'Pools'], { tar
19
19
  // Dreps
20
20
  module.exports.Drep = createEntityProxy(['CardanoODataService', 'Dreps'], { target: { is_singular: true } })
21
21
  module.exports.Dreps = createEntityProxy(['CardanoODataService', 'Dreps'], { target: { is_singular: false }})
22
+ // PoolEpochSnapshots
23
+ module.exports.PoolEpochSnapshot = createEntityProxy(['CardanoODataService', 'PoolEpochSnapshots'], { target: { is_singular: true } })
24
+ module.exports.PoolEpochSnapshots = createEntityProxy(['CardanoODataService', 'PoolEpochSnapshots'], { target: { is_singular: false }})
25
+ // DrepEpochSnapshots
26
+ module.exports.DrepEpochSnapshot = createEntityProxy(['CardanoODataService', 'DrepEpochSnapshots'], { target: { is_singular: true } })
27
+ module.exports.DrepEpochSnapshots = createEntityProxy(['CardanoODataService', 'DrepEpochSnapshots'], { target: { is_singular: false }})
28
+ // EpochLedgerSnapshots
29
+ module.exports.EpochLedgerSnapshot = createEntityProxy(['CardanoODataService', 'EpochLedgerSnapshots'], { target: { is_singular: true } })
30
+ module.exports.EpochLedgerSnapshots = createEntityProxy(['CardanoODataService', 'EpochLedgerSnapshots'], { target: { is_singular: false }})
31
+ // AccountEpochSnapshots
32
+ module.exports.AccountEpochSnapshot = createEntityProxy(['CardanoODataService', 'AccountEpochSnapshots'], { target: { is_singular: true } })
33
+ module.exports.AccountEpochSnapshots = createEntityProxy(['CardanoODataService', 'AccountEpochSnapshots'], { target: { is_singular: false }})
22
34
  // Assets
23
35
  module.exports.Asset = createEntityProxy(['CardanoODataService', 'Assets'], { target: { is_singular: true } })
24
36
  module.exports.Assets = createEntityProxy(['CardanoODataService', 'Assets'], { target: { is_singular: false }})
@@ -40,6 +52,33 @@ module.exports.TransactionInputAssets = createEntityProxy(['CardanoODataService'
40
52
  // TransactionOutputAssets
41
53
  module.exports.TransactionOutputAsset = createEntityProxy(['CardanoODataService', 'TransactionOutputAssets'], { target: { is_singular: true } })
42
54
  module.exports.TransactionOutputAssets = createEntityProxy(['CardanoODataService', 'TransactionOutputAssets'], { target: { is_singular: false }})
55
+ // TransactionCertificates
56
+ module.exports.TransactionCertificate = createEntityProxy(['CardanoODataService', 'TransactionCertificates'], { target: { is_singular: true } })
57
+ module.exports.TransactionCertificates = createEntityProxy(['CardanoODataService', 'TransactionCertificates'], { target: { is_singular: false }})
58
+ // TransactionWithdrawals
59
+ module.exports.TransactionWithdrawal = createEntityProxy(['CardanoODataService', 'TransactionWithdrawals'], { target: { is_singular: true } })
60
+ module.exports.TransactionWithdrawals = createEntityProxy(['CardanoODataService', 'TransactionWithdrawals'], { target: { is_singular: false }})
61
+ // TransactionRedeemers
62
+ module.exports.TransactionRedeemer = createEntityProxy(['CardanoODataService', 'TransactionRedeemers'], { target: { is_singular: true } })
63
+ module.exports.TransactionRedeemers = createEntityProxy(['CardanoODataService', 'TransactionRedeemers'], { target: { is_singular: false }})
64
+ // TransactionDatums
65
+ module.exports.TransactionDatum = createEntityProxy(['CardanoODataService', 'TransactionDatums'], { target: { is_singular: true } })
66
+ module.exports.TransactionDatums = createEntityProxy(['CardanoODataService', 'TransactionDatums'], { target: { is_singular: false }})
67
+ // LedgerUTxOs
68
+ module.exports.LedgerUTxO = createEntityProxy(['CardanoODataService', 'LedgerUTxOs'], { target: { is_singular: true } })
69
+ module.exports.LedgerUTxOs = createEntityProxy(['CardanoODataService', 'LedgerUTxOs'], { target: { is_singular: false }})
70
+ // LedgerUTxOAssets
71
+ module.exports.LedgerUTxOAsset = createEntityProxy(['CardanoODataService', 'LedgerUTxOAssets'], { target: { is_singular: true } })
72
+ module.exports.LedgerUTxOAssets = createEntityProxy(['CardanoODataService', 'LedgerUTxOAssets'], { target: { is_singular: false }})
73
+ // LedgerAddresses
74
+ module.exports.LedgerAddress = createEntityProxy(['CardanoODataService', 'LedgerAddresses'], { target: { is_singular: true } })
75
+ module.exports.LedgerAddresses = createEntityProxy(['CardanoODataService', 'LedgerAddresses'], { target: { is_singular: false }})
76
+ // LedgerAddressAssets
77
+ module.exports.LedgerAddressAsset = createEntityProxy(['CardanoODataService', 'LedgerAddressAssets'], { target: { is_singular: true } })
78
+ module.exports.LedgerAddressAssets = createEntityProxy(['CardanoODataService', 'LedgerAddressAssets'], { target: { is_singular: false }})
79
+ // LedgerAccounts
80
+ module.exports.LedgerAccount = createEntityProxy(['CardanoODataService', 'LedgerAccounts'], { target: { is_singular: true } })
81
+ module.exports.LedgerAccounts = createEntityProxy(['CardanoODataService', 'LedgerAccounts'], { target: { is_singular: false }})
43
82
  // Accounts
44
83
  module.exports.Account = createEntityProxy(['CardanoODataService', 'Accounts'], { target: { is_singular: true } })
45
84
  module.exports.Accounts = createEntityProxy(['CardanoODataService', 'Accounts'], { target: { is_singular: false }})
@@ -75,7 +114,9 @@ module.exports.GetAssetInfo = 'GetAssetInfo'
75
114
  module.exports.GetAssetHistory = 'GetAssetHistory'
76
115
  module.exports.GetAccountByStakeAddress = 'GetAccountByStakeAddress'
77
116
  module.exports.GetTransactionByHash = 'GetTransactionByHash'
117
+ module.exports.GetTransactionConfirmations = 'GetTransactionConfirmations'
78
118
  module.exports.GetMetadataByTxHash = 'GetMetadataByTxHash'
119
+ module.exports.GetMetadataByLabel = 'GetMetadataByLabel'
79
120
  module.exports.GetAddressByBech32 = 'GetAddressByBech32'
80
121
  module.exports.GetUTxOsByAddress = 'GetUTxOsByAddress'
81
122
  module.exports.GetUTxOsByCredential = 'GetUTxOsByCredential'
@@ -85,4 +126,5 @@ module.exports.GetLatestBlock = 'GetLatestBlock'
85
126
  module.exports.GetLatestEpoch = 'GetLatestEpoch'
86
127
  module.exports.GetLedgerProtocolParameters = 'GetLedgerProtocolParameters'
87
128
  module.exports.ParseTransactionCbor = 'ParseTransactionCbor'
129
+ module.exports.DecodePlutusData = 'DecodePlutusData'
88
130
  // enums
@@ -3,18 +3,6 @@ import * as __ from './../_';
3
3
  import * as _ from './..';
4
4
  import * as _odatano_cardano from './../odatano/cardano';
5
5
 
6
- /**
7
- * Cardano Sign Service
8
- *
9
- * Handles the external signing workflow for Cardano transactions, including:
10
- * - Creating signing requests with transaction details and signing instructions
11
- * - Verifying signatures of signed transactions and storing verification results
12
- * - Submitting verified transactions to the blockchain and tracking submission status
13
- * - Providing actions for signing with a Hardware Security Module (HSM) and retrieving HSM status
14
- *
15
- * Security note: see CardanoODataService (cardano-service.cds) for the rationale
16
- * on service-level auth without per-resource ownership enforcement.
17
- */
18
6
  export default class {
19
7
  static readonly VerifySignature: typeof VerifySignature;
20
8
  static readonly SubmitVerifiedTransaction: typeof SubmitVerifiedTransaction;
@@ -89,6 +77,7 @@ export declare function _TransactionBuildAspect<TBase extends new (...args: any[
89
77
  createdAt?: number | null
90
78
  inputs?: __.Composition.of.many<TransactionBuildInputs>
91
79
  outputs?: __.Composition.of.many<TransactionBuildOutputs>
80
+ redeemers?: __.Composition.of.many<TransactionBuildRedeemers>
92
81
  submission?: __.Association.to<TransactionSubmission> | null
93
82
  hasInputs?: boolean | null
94
83
  hasOutputs?: boolean | null
@@ -251,6 +240,27 @@ export class TransactionBuildOutputs extends Array<TransactionBuildOutput> {
251
240
  $count?: number
252
241
  }
253
242
 
243
+ // entity 'TransactionBuildRedeemer'
244
+ export declare function _TransactionBuildRedeemerAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
245
+ new (...args: any[]): {
246
+ build?: __.Key<__.Association.to<TransactionBuild>>
247
+ build_id?: __.Key<string>
248
+ tag?: __.Key<string>
249
+ redeemerIndex?: __.Key<number>
250
+ mem?: number | null
251
+ steps?: number | null
252
+ } & InstanceType<TBase>
253
+ readonly kind: 'entity';
254
+ readonly keys: __.KeysOf<TransactionBuildRedeemer>;
255
+ readonly elements: __.ElementsOf<TransactionBuildRedeemer>;
256
+ readonly actions: globalThis.Record<never, never>;
257
+ };
258
+ export class TransactionBuildRedeemer extends _TransactionBuildRedeemerAspect(__.Entity) {
259
+ }
260
+ export class TransactionBuildRedeemers extends Array<TransactionBuildRedeemer> {
261
+ $count?: number
262
+ }
263
+
254
264
  // entity 'TransactionSubmissionError'
255
265
  export declare function _TransactionSubmissionErrorAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
256
266
  new (...args: any[]): {
@@ -306,7 +316,7 @@ export declare function _AddressAssetAspect<TBase extends new (...args: any[]) =
306
316
  address?: __.Key<__.Association.to<Address>>
307
317
  address_address?: __.Key<_.Bech32>
308
318
  unit?: __.Key<_.AssetUnit>
309
- asset_quantity?: _.Lovelace | null
319
+ asset_quantity?: _.AssetAmount | null
310
320
  asset_policyId?: _.Blake2b224 | null
311
321
  asset_assetNameHex?: _.HexBytes | null
312
322
  asset_assetName?: string | null
@@ -336,6 +346,9 @@ export declare function _AddressUTxOAspect<TBase extends new (...args: any[]) =>
336
346
  utxodata_dataHash?: _.Blake2b256 | null
337
347
  utxodata_inlineDatum?: string | null
338
348
  utxodata_referenceScriptHash?: _.Blake2b256 | null
349
+ utxodata_referenceScriptSize?: number | null
350
+ utxodata_referenceScriptType?: string | null
351
+ utxodata_paymentCredential?: string | null
339
352
  lovelace?: _.Lovelace | null
340
353
  assets?: __.Composition.of.many<UTxOAssets>
341
354
  hasAssets?: boolean | null
@@ -449,11 +462,11 @@ export declare const SubmitVerifiedTransaction: {
449
462
 
450
463
  export declare const VerifyDataSignature: {
451
464
  // positional
452
- (address: _.Bech32 | null, coseSignature: string | null, coseKey: string | null, expectedPayload: string | null): globalThis.Promise<{ valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signerVkh?: string | null, } | null> | { valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signerVkh?: string | null, } | null
465
+ (address: _.Bech32 | null, coseSignature: string | null, coseKey: string | null, expectedPayload: string | null): globalThis.Promise<{ valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signedPayloadHex?: string | null, signerVkh?: string | null, } | null> | { valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signedPayloadHex?: string | null, signerVkh?: string | null, } | null
453
466
  // named
454
- ({address, coseSignature, coseKey, expectedPayload}: {address?: _.Bech32 | null, coseSignature?: string | null, coseKey?: string | null, expectedPayload?: string | null}): globalThis.Promise<{ valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signerVkh?: string | null, } | null> | { valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signerVkh?: string | null, } | null
467
+ ({address, coseSignature, coseKey, expectedPayload}: {address?: _.Bech32 | null, coseSignature?: string | null, coseKey?: string | null, expectedPayload?: string | null}): globalThis.Promise<{ valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signedPayloadHex?: string | null, signerVkh?: string | null, } | null> | { valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signedPayloadHex?: string | null, signerVkh?: string | null, } | null
455
468
  // metadata (do not use)
456
- __parameters: {address?: _.Bech32 | null, coseSignature?: string | null, coseKey?: string | null, expectedPayload?: string | null}, __returns: globalThis.Promise<{ valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signerVkh?: string | null, } | null> | { valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signerVkh?: string | null, } | null, __self: never
469
+ __parameters: {address?: _.Bech32 | null, coseSignature?: string | null, coseKey?: string | null, expectedPayload?: string | null}, __returns: globalThis.Promise<{ valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signedPayloadHex?: string | null, signerVkh?: string | null, } | null> | { valid?: boolean | null, reason?: string | null, signedPayload?: string | null, signedPayloadHex?: string | null, signerVkh?: string | null, } | null, __self: never
457
470
  kind: 'action'
458
471
  }
459
472
 
@@ -479,11 +492,11 @@ export declare const GetSigningRequest: {
479
492
 
480
493
  export declare const GetSigningRequestsByAddress: {
481
494
  // positional
482
- (address: _.Bech32 | null): globalThis.Promise<Array<AddressSigningRequest>> | Array<AddressSigningRequest>
495
+ (address: _.Bech32 | null, limit: number | null, skip: number | null): globalThis.Promise<Array<AddressSigningRequest>> | Array<AddressSigningRequest>
483
496
  // named
484
- ({address}: {address?: _.Bech32 | null}): globalThis.Promise<Array<AddressSigningRequest>> | Array<AddressSigningRequest>
497
+ ({address, limit, skip}: {address?: _.Bech32 | null, limit?: number | null, skip?: number | null}): globalThis.Promise<Array<AddressSigningRequest>> | Array<AddressSigningRequest>
485
498
  // metadata (do not use)
486
- __parameters: {address?: _.Bech32 | null}, __returns: globalThis.Promise<Array<AddressSigningRequest>> | Array<AddressSigningRequest>, __self: never
499
+ __parameters: {address?: _.Bech32 | null, limit?: number | null, skip?: number | null}, __returns: globalThis.Promise<Array<AddressSigningRequest>> | Array<AddressSigningRequest>, __self: never
487
500
  kind: 'action'
488
501
  }
489
502
 
@@ -28,6 +28,9 @@ module.exports.TransactionBuildInputs = createEntityProxy(['CardanoSignService',
28
28
  // TransactionBuildOutputs
29
29
  module.exports.TransactionBuildOutput = createEntityProxy(['CardanoSignService', 'TransactionBuildOutputs'], { target: { is_singular: true } })
30
30
  module.exports.TransactionBuildOutputs = createEntityProxy(['CardanoSignService', 'TransactionBuildOutputs'], { target: { is_singular: false }})
31
+ // TransactionBuildRedeemers
32
+ module.exports.TransactionBuildRedeemer = createEntityProxy(['CardanoSignService', 'TransactionBuildRedeemers'], { target: { is_singular: true } })
33
+ module.exports.TransactionBuildRedeemers = createEntityProxy(['CardanoSignService', 'TransactionBuildRedeemers'], { target: { is_singular: false }})
31
34
  // TransactionSubmissionErrors
32
35
  module.exports.TransactionSubmissionError = createEntityProxy(['CardanoSignService', 'TransactionSubmissionErrors'], { target: { is_singular: true } })
33
36
  module.exports.TransactionSubmissionErrors = createEntityProxy(['CardanoSignService', 'TransactionSubmissionErrors'], { target: { is_singular: false }})
@@ -3,16 +3,6 @@ import * as _ from './..';
3
3
  import * as __ from './../_';
4
4
  import * as _odatano_cardano from './../odatano/cardano';
5
5
 
6
- /**
7
- * Cardano Transaction Service
8
- *
9
- * Handles transaction building and submission operations.
10
- * Separate from the read-only CardanoODataService to provide
11
- * clear separation between general query and command operations.
12
- *
13
- * Security note: see CardanoODataService (cardano-service.cds) for the rationale
14
- * on service-level auth without per-resource ownership enforcement.
15
- */
16
6
  export default class {
17
7
  static readonly BuildSimpleAdaTransaction: typeof BuildSimpleAdaTransaction;
18
8
  static readonly BuildTransactionWithMetadata: typeof BuildTransactionWithMetadata;
@@ -22,6 +12,7 @@ export default class {
22
12
  static readonly SubmitTransaction: typeof SubmitTransaction;
23
13
  static readonly SubmitSignedTransaction: typeof SubmitSignedTransaction;
24
14
  static readonly BuildPlutusSpendTransaction: typeof BuildPlutusSpendTransaction;
15
+ static readonly BuildPlutusTransaction: typeof BuildPlutusTransaction;
25
16
  static readonly SetCollateral: typeof SetCollateral;
26
17
  static readonly GetTransactionBuildsByAddress: typeof GetTransactionBuildsByAddress;
27
18
  static readonly DeriveScriptAddress: typeof DeriveScriptAddress;
@@ -45,6 +36,7 @@ export declare function _TransactionBuildAspect<TBase extends new (...args: any[
45
36
  createdAt?: number | null
46
37
  inputs?: __.Composition.of.many<TransactionBuildInputs>
47
38
  outputs?: __.Composition.of.many<TransactionBuildOutputs>
39
+ redeemers?: __.Composition.of.many<TransactionBuildRedeemers>
48
40
  submission?: __.Association.to<TransactionSubmission> | null
49
41
  hasInputs?: boolean | null
50
42
  hasOutputs?: boolean | null
@@ -115,6 +107,27 @@ export class TransactionBuildOutputs extends Array<TransactionBuildOutput> {
115
107
  $count?: number
116
108
  }
117
109
 
110
+ // entity 'TransactionBuildRedeemer'
111
+ export declare function _TransactionBuildRedeemerAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
112
+ new (...args: any[]): {
113
+ build?: __.Key<__.Association.to<TransactionBuild>>
114
+ build_id?: __.Key<string>
115
+ tag?: __.Key<string>
116
+ redeemerIndex?: __.Key<number>
117
+ mem?: number | null
118
+ steps?: number | null
119
+ } & InstanceType<TBase>
120
+ readonly kind: 'entity';
121
+ readonly keys: __.KeysOf<TransactionBuildRedeemer>;
122
+ readonly elements: __.ElementsOf<TransactionBuildRedeemer>;
123
+ readonly actions: globalThis.Record<never, never>;
124
+ };
125
+ export class TransactionBuildRedeemer extends _TransactionBuildRedeemerAspect(__.Entity) {
126
+ }
127
+ export class TransactionBuildRedeemers extends Array<TransactionBuildRedeemer> {
128
+ $count?: number
129
+ }
130
+
118
131
  // entity 'TransactionBuildInputAsset'
119
132
  export declare function _TransactionBuildInputAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
120
133
  new (...args: any[]): {
@@ -194,20 +207,8 @@ export declare function _TransactionSubmissionAspect<TBase extends new (...args:
194
207
  }
195
208
  };
196
209
  };
197
- /**
198
- * TransactionSubmissions status flow:
199
- * pending -> [submit to chain] -> submitted (internal, in SubmitTransaction handler)
200
- * submitted -> [CheckSubmissionStatus] confirmed | stays submitted (conditional)
201
- * pending | submitted -> failed (blockchain error)
202
- */
203
210
  export class TransactionSubmission extends _TransactionSubmissionAspect(__.Entity) {
204
211
  }
205
- /**
206
- * TransactionSubmissions status flow:
207
- * pending -> [submit to chain] -> submitted (internal, in SubmitTransaction handler)
208
- * submitted -> [CheckSubmissionStatus] confirmed | stays submitted (conditional)
209
- * pending | submitted -> failed (blockchain error)
210
- */
211
212
  export class TransactionSubmissions extends Array<TransactionSubmission> {
212
213
  $count?: number
213
214
  }
@@ -315,7 +316,7 @@ export declare function _AddressAssetAspect<TBase extends new (...args: any[]) =
315
316
  address?: __.Key<__.Association.to<Address>>
316
317
  address_address?: __.Key<_.Bech32>
317
318
  unit?: __.Key<_.AssetUnit>
318
- asset_quantity?: _.Lovelace | null
319
+ asset_quantity?: _.AssetAmount | null
319
320
  asset_policyId?: _.Blake2b224 | null
320
321
  asset_assetNameHex?: _.HexBytes | null
321
322
  asset_assetName?: string | null
@@ -345,6 +346,9 @@ export declare function _AddressUTxOAspect<TBase extends new (...args: any[]) =>
345
346
  utxodata_dataHash?: _.Blake2b256 | null
346
347
  utxodata_inlineDatum?: string | null
347
348
  utxodata_referenceScriptHash?: _.Blake2b256 | null
349
+ utxodata_referenceScriptSize?: number | null
350
+ utxodata_referenceScriptType?: string | null
351
+ utxodata_paymentCredential?: string | null
348
352
  lovelace?: _.Lovelace | null
349
353
  assets?: __.Composition.of.many<UTxOAssets>
350
354
  hasAssets?: boolean | null
@@ -390,11 +394,11 @@ export class UTxOAssets extends Array<UTxOAsset> {
390
394
 
391
395
  export declare const BuildSimpleAdaTransaction: {
392
396
  // positional
393
- (senderAddress: _.Bech32 | null, recipientAddress: _.Bech32 | null, lovelaceAmount: _.Lovelace | null, changeAddress: _.Bech32 | null, outputDatumJson: string | null, assetsJson: string | null, forceInputsJson: string | null, validatorScript: string | null, scriptParamsJson: string | null, lockOnScript: boolean | null, referenceScriptHex: string | null, validityStartMs: string | null, validityEndMs: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
397
+ (senderAddress: _.Bech32 | null, recipientAddress: _.Bech32 | null, lovelaceAmount: _.Lovelace | null, changeAddress: _.Bech32 | null, outputDatumJson: string | null, outputDatumCbor: string | null, ensureMinAda: boolean | null, assetsJson: string | null, forceInputsJson: string | null, protectInputsJson: string | null, validatorScript: string | null, scriptParamsJson: string | null, lockOnScript: boolean | null, referenceScriptHex: string | null, validityStartMs: string | null, validityEndMs: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
394
398
  // named
395
- ({senderAddress, recipientAddress, lovelaceAmount, changeAddress, outputDatumJson, assetsJson, forceInputsJson, validatorScript, scriptParamsJson, lockOnScript, referenceScriptHex, validityStartMs, validityEndMs}: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, changeAddress?: _.Bech32 | null, outputDatumJson?: string | null, assetsJson?: string | null, forceInputsJson?: string | null, validatorScript?: string | null, scriptParamsJson?: string | null, lockOnScript?: boolean | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
399
+ ({senderAddress, recipientAddress, lovelaceAmount, changeAddress, outputDatumJson, outputDatumCbor, ensureMinAda, assetsJson, forceInputsJson, protectInputsJson, validatorScript, scriptParamsJson, lockOnScript, referenceScriptHex, validityStartMs, validityEndMs}: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, changeAddress?: _.Bech32 | null, outputDatumJson?: string | null, outputDatumCbor?: string | null, ensureMinAda?: boolean | null, assetsJson?: string | null, forceInputsJson?: string | null, protectInputsJson?: string | null, validatorScript?: string | null, scriptParamsJson?: string | null, lockOnScript?: boolean | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
396
400
  // metadata (do not use)
397
- __parameters: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, changeAddress?: _.Bech32 | null, outputDatumJson?: string | null, assetsJson?: string | null, forceInputsJson?: string | null, validatorScript?: string | null, scriptParamsJson?: string | null, lockOnScript?: boolean | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
401
+ __parameters: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, changeAddress?: _.Bech32 | null, outputDatumJson?: string | null, outputDatumCbor?: string | null, ensureMinAda?: boolean | null, assetsJson?: string | null, forceInputsJson?: string | null, protectInputsJson?: string | null, validatorScript?: string | null, scriptParamsJson?: string | null, lockOnScript?: boolean | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
398
402
  kind: 'action'
399
403
  }
400
404
 
@@ -410,21 +414,21 @@ export declare const BuildTransactionWithMetadata: {
410
414
 
411
415
  export declare const BuildMultiAssetTransaction: {
412
416
  // positional
413
- (senderAddress: _.Bech32 | null, recipientAddress: _.Bech32 | null, lovelaceAmount: _.Lovelace | null, assetsJson: string | null, changeAddress: _.Bech32 | null, outputDatumJson: string | null, referenceScriptHex: string | null, validityStartMs: string | null, validityEndMs: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
417
+ (senderAddress: _.Bech32 | null, recipientAddress: _.Bech32 | null, lovelaceAmount: _.Lovelace | null, assetsJson: string | null, changeAddress: _.Bech32 | null, outputDatumJson: string | null, outputDatumCbor: string | null, ensureMinAda: boolean | null, referenceScriptHex: string | null, validityStartMs: string | null, validityEndMs: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
414
418
  // named
415
- ({senderAddress, recipientAddress, lovelaceAmount, assetsJson, changeAddress, outputDatumJson, referenceScriptHex, validityStartMs, validityEndMs}: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, assetsJson?: string | null, changeAddress?: _.Bech32 | null, outputDatumJson?: string | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
419
+ ({senderAddress, recipientAddress, lovelaceAmount, assetsJson, changeAddress, outputDatumJson, outputDatumCbor, ensureMinAda, referenceScriptHex, validityStartMs, validityEndMs}: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, assetsJson?: string | null, changeAddress?: _.Bech32 | null, outputDatumJson?: string | null, outputDatumCbor?: string | null, ensureMinAda?: boolean | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
416
420
  // metadata (do not use)
417
- __parameters: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, assetsJson?: string | null, changeAddress?: _.Bech32 | null, outputDatumJson?: string | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
421
+ __parameters: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, assetsJson?: string | null, changeAddress?: _.Bech32 | null, outputDatumJson?: string | null, outputDatumCbor?: string | null, ensureMinAda?: boolean | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
418
422
  kind: 'action'
419
423
  }
420
424
 
421
425
  export declare const BuildMintTransaction: {
422
426
  // positional
423
- (senderAddress: _.Bech32 | null, recipientAddress: _.Bech32 | null, lovelaceAmount: _.Lovelace | null, mintActionsJson: string | null, mintingPolicyScript: string | null, changeAddress: _.Bech32 | null, requiredSignersJson: string | null, scriptParamsJson: string | null, inlineDatumJson: string | null, mintRedeemerJson: string | null, lockOnScript: boolean | null, forceInputsJson: string | null, referenceInputsJson: string | null, extraOutputsJson: string | null, metadataJson: string | null, referenceScriptHex: string | null, validityStartMs: string | null, validityEndMs: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
427
+ (senderAddress: _.Bech32 | null, recipientAddress: _.Bech32 | null, lovelaceAmount: _.Lovelace | null, mintActionsJson: string | null, mintingPolicyScript: string | null, changeAddress: _.Bech32 | null, requiredSignersJson: string | null, scriptParamsJson: string | null, inlineDatumJson: string | null, mintRedeemerJson: string | null, lockOnScript: boolean | null, forceInputsJson: string | null, protectInputsJson: string | null, referenceInputsJson: string | null, extraOutputsJson: string | null, metadataJson: string | null, referenceScriptHex: string | null, validityStartMs: string | null, validityEndMs: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
424
428
  // named
425
- ({senderAddress, recipientAddress, lovelaceAmount, mintActionsJson, mintingPolicyScript, changeAddress, requiredSignersJson, scriptParamsJson, inlineDatumJson, mintRedeemerJson, lockOnScript, forceInputsJson, referenceInputsJson, extraOutputsJson, metadataJson, referenceScriptHex, validityStartMs, validityEndMs}: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, mintActionsJson?: string | null, mintingPolicyScript?: string | null, changeAddress?: _.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, mintRedeemerJson?: string | null, lockOnScript?: boolean | null, forceInputsJson?: string | null, referenceInputsJson?: string | null, extraOutputsJson?: string | null, metadataJson?: string | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
429
+ ({senderAddress, recipientAddress, lovelaceAmount, mintActionsJson, mintingPolicyScript, changeAddress, requiredSignersJson, scriptParamsJson, inlineDatumJson, mintRedeemerJson, lockOnScript, forceInputsJson, protectInputsJson, referenceInputsJson, extraOutputsJson, metadataJson, referenceScriptHex, validityStartMs, validityEndMs}: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, mintActionsJson?: string | null, mintingPolicyScript?: string | null, changeAddress?: _.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, mintRedeemerJson?: string | null, lockOnScript?: boolean | null, forceInputsJson?: string | null, protectInputsJson?: string | null, referenceInputsJson?: string | null, extraOutputsJson?: string | null, metadataJson?: string | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
426
430
  // metadata (do not use)
427
- __parameters: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, mintActionsJson?: string | null, mintingPolicyScript?: string | null, changeAddress?: _.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, mintRedeemerJson?: string | null, lockOnScript?: boolean | null, forceInputsJson?: string | null, referenceInputsJson?: string | null, extraOutputsJson?: string | null, metadataJson?: string | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
431
+ __parameters: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, mintActionsJson?: string | null, mintingPolicyScript?: string | null, changeAddress?: _.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, mintRedeemerJson?: string | null, lockOnScript?: boolean | null, forceInputsJson?: string | null, protectInputsJson?: string | null, referenceInputsJson?: string | null, extraOutputsJson?: string | null, metadataJson?: string | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
428
432
  kind: 'action'
429
433
  }
430
434
 
@@ -450,21 +454,31 @@ export declare const SubmitTransaction: {
450
454
 
451
455
  export declare const SubmitSignedTransaction: {
452
456
  // positional
453
- (signedTxCbor: string | null, network: string | null): globalThis.Promise<TransactionSubmission | null> | TransactionSubmission | null
457
+ (signedTxCbor: string | null, network: _.CardanoNetwork | null): globalThis.Promise<TransactionSubmission | null> | TransactionSubmission | null
454
458
  // named
455
- ({signedTxCbor, network}: {signedTxCbor?: string | null, network?: string | null}): globalThis.Promise<TransactionSubmission | null> | TransactionSubmission | null
459
+ ({signedTxCbor, network}: {signedTxCbor?: string | null, network?: _.CardanoNetwork | null}): globalThis.Promise<TransactionSubmission | null> | TransactionSubmission | null
456
460
  // metadata (do not use)
457
- __parameters: {signedTxCbor?: string | null, network?: string | null}, __returns: globalThis.Promise<TransactionSubmission | null> | TransactionSubmission | null, __self: never
461
+ __parameters: {signedTxCbor?: string | null, network?: _.CardanoNetwork | null}, __returns: globalThis.Promise<TransactionSubmission | null> | TransactionSubmission | null, __self: never
458
462
  kind: 'action'
459
463
  }
460
464
 
461
465
  export declare const BuildPlutusSpendTransaction: {
462
466
  // positional
463
- (senderAddress: _.Bech32 | null, recipientAddress: _.Bech32 | null, lovelaceAmount: _.Lovelace | null, validatorScript: string | null, scriptTxHash: string | null, scriptOutputIndex: number | null, redeemerJson: string | null, datumJson: string | null, changeAddress: _.Bech32 | null, requiredSignersJson: string | null, scriptParamsJson: string | null, inlineDatumJson: string | null, lockOnScript: boolean | null, forceInputsJson: string | null, extraOutputsJson: string | null, mintActionsJson: string | null, mintingPolicyScript: string | null, mintRedeemerJson: string | null, referenceInputsJson: string | null, referenceScriptHex: string | null, validityStartMs: string | null, validityEndMs: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
467
+ (senderAddress: _.Bech32 | null, recipientAddress: _.Bech32 | null, lovelaceAmount: _.Lovelace | null, validatorScript: string | null, scriptTxHash: string | null, scriptOutputIndex: number | null, redeemerJson: string | null, datumJson: string | null, changeAddress: _.Bech32 | null, requiredSignersJson: string | null, scriptParamsJson: string | null, inlineDatumJson: string | null, lockOnScript: boolean | null, forceInputsJson: string | null, protectInputsJson: string | null, extraOutputsJson: string | null, mintActionsJson: string | null, mintingPolicyScript: string | null, mintRedeemerJson: string | null, referenceInputsJson: string | null, referenceScriptHex: string | null, validityStartMs: string | null, validityEndMs: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
468
+ // named
469
+ ({senderAddress, recipientAddress, lovelaceAmount, validatorScript, scriptTxHash, scriptOutputIndex, redeemerJson, datumJson, changeAddress, requiredSignersJson, scriptParamsJson, inlineDatumJson, lockOnScript, forceInputsJson, protectInputsJson, extraOutputsJson, mintActionsJson, mintingPolicyScript, mintRedeemerJson, referenceInputsJson, referenceScriptHex, validityStartMs, validityEndMs}: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, validatorScript?: string | null, scriptTxHash?: string | null, scriptOutputIndex?: number | null, redeemerJson?: string | null, datumJson?: string | null, changeAddress?: _.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, lockOnScript?: boolean | null, forceInputsJson?: string | null, protectInputsJson?: string | null, extraOutputsJson?: string | null, mintActionsJson?: string | null, mintingPolicyScript?: string | null, mintRedeemerJson?: string | null, referenceInputsJson?: string | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
470
+ // metadata (do not use)
471
+ __parameters: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, validatorScript?: string | null, scriptTxHash?: string | null, scriptOutputIndex?: number | null, redeemerJson?: string | null, datumJson?: string | null, changeAddress?: _.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, lockOnScript?: boolean | null, forceInputsJson?: string | null, protectInputsJson?: string | null, extraOutputsJson?: string | null, mintActionsJson?: string | null, mintingPolicyScript?: string | null, mintRedeemerJson?: string | null, referenceInputsJson?: string | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
472
+ kind: 'action'
473
+ }
474
+
475
+ export declare const BuildPlutusTransaction: {
476
+ // positional
477
+ (senderAddress: _.Bech32 | null, changeAddress: _.Bech32 | null, scriptInputsJson: string | null, outputsJson: string | null, referenceInputsJson: string | null, forceInputsJson: string | null, protectInputsJson: string | null, withdrawalsJson: string | null, certificatesJson: string | null, requiredSignersJson: string | null, mintActionsJson: string | null, validityStartMs: string | null, validityEndMs: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
464
478
  // named
465
- ({senderAddress, recipientAddress, lovelaceAmount, validatorScript, scriptTxHash, scriptOutputIndex, redeemerJson, datumJson, changeAddress, requiredSignersJson, scriptParamsJson, inlineDatumJson, lockOnScript, forceInputsJson, extraOutputsJson, mintActionsJson, mintingPolicyScript, mintRedeemerJson, referenceInputsJson, referenceScriptHex, validityStartMs, validityEndMs}: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, validatorScript?: string | null, scriptTxHash?: string | null, scriptOutputIndex?: number | null, redeemerJson?: string | null, datumJson?: string | null, changeAddress?: _.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, lockOnScript?: boolean | null, forceInputsJson?: string | null, extraOutputsJson?: string | null, mintActionsJson?: string | null, mintingPolicyScript?: string | null, mintRedeemerJson?: string | null, referenceInputsJson?: string | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
479
+ ({senderAddress, changeAddress, scriptInputsJson, outputsJson, referenceInputsJson, forceInputsJson, protectInputsJson, withdrawalsJson, certificatesJson, requiredSignersJson, mintActionsJson, validityStartMs, validityEndMs}: {senderAddress?: _.Bech32 | null, changeAddress?: _.Bech32 | null, scriptInputsJson?: string | null, outputsJson?: string | null, referenceInputsJson?: string | null, forceInputsJson?: string | null, protectInputsJson?: string | null, withdrawalsJson?: string | null, certificatesJson?: string | null, requiredSignersJson?: string | null, mintActionsJson?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
466
480
  // metadata (do not use)
467
- __parameters: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, validatorScript?: string | null, scriptTxHash?: string | null, scriptOutputIndex?: number | null, redeemerJson?: string | null, datumJson?: string | null, changeAddress?: _.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, lockOnScript?: boolean | null, forceInputsJson?: string | null, extraOutputsJson?: string | null, mintActionsJson?: string | null, mintingPolicyScript?: string | null, mintRedeemerJson?: string | null, referenceInputsJson?: string | null, referenceScriptHex?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
481
+ __parameters: {senderAddress?: _.Bech32 | null, changeAddress?: _.Bech32 | null, scriptInputsJson?: string | null, outputsJson?: string | null, referenceInputsJson?: string | null, forceInputsJson?: string | null, protectInputsJson?: string | null, withdrawalsJson?: string | null, certificatesJson?: string | null, requiredSignersJson?: string | null, mintActionsJson?: string | null, validityStartMs?: string | null, validityEndMs?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
468
482
  kind: 'action'
469
483
  }
470
484
 
@@ -480,21 +494,21 @@ export declare const SetCollateral: {
480
494
 
481
495
  export declare const GetTransactionBuildsByAddress: {
482
496
  // positional
483
- (address: _.Bech32 | null): globalThis.Promise<Array<AddressTransactionBuild>> | Array<AddressTransactionBuild>
497
+ (address: _.Bech32 | null, limit: number | null, skip: number | null): globalThis.Promise<Array<AddressTransactionBuild>> | Array<AddressTransactionBuild>
484
498
  // named
485
- ({address}: {address?: _.Bech32 | null}): globalThis.Promise<Array<AddressTransactionBuild>> | Array<AddressTransactionBuild>
499
+ ({address, limit, skip}: {address?: _.Bech32 | null, limit?: number | null, skip?: number | null}): globalThis.Promise<Array<AddressTransactionBuild>> | Array<AddressTransactionBuild>
486
500
  // metadata (do not use)
487
- __parameters: {address?: _.Bech32 | null}, __returns: globalThis.Promise<Array<AddressTransactionBuild>> | Array<AddressTransactionBuild>, __self: never
501
+ __parameters: {address?: _.Bech32 | null, limit?: number | null, skip?: number | null}, __returns: globalThis.Promise<Array<AddressTransactionBuild>> | Array<AddressTransactionBuild>, __self: never
488
502
  kind: 'action'
489
503
  }
490
504
 
491
505
  export declare const DeriveScriptAddress: {
492
506
  // positional
493
- (validatorScript: string | null, scriptParamsJson: string | null, network: string | null): globalThis.Promise<{ scriptAddress?: string | null, scriptHash?: string | null, } | null> | { scriptAddress?: string | null, scriptHash?: string | null, } | null
507
+ (validatorScript: string | null, scriptParamsJson: string | null, network: _.CardanoNetwork | null): globalThis.Promise<{ scriptAddress?: string | null, scriptHash?: string | null, } | null> | { scriptAddress?: string | null, scriptHash?: string | null, } | null
494
508
  // named
495
- ({validatorScript, scriptParamsJson, network}: {validatorScript?: string | null, scriptParamsJson?: string | null, network?: string | null}): globalThis.Promise<{ scriptAddress?: string | null, scriptHash?: string | null, } | null> | { scriptAddress?: string | null, scriptHash?: string | null, } | null
509
+ ({validatorScript, scriptParamsJson, network}: {validatorScript?: string | null, scriptParamsJson?: string | null, network?: _.CardanoNetwork | null}): globalThis.Promise<{ scriptAddress?: string | null, scriptHash?: string | null, } | null> | { scriptAddress?: string | null, scriptHash?: string | null, } | null
496
510
  // metadata (do not use)
497
- __parameters: {validatorScript?: string | null, scriptParamsJson?: string | null, network?: string | null}, __returns: globalThis.Promise<{ scriptAddress?: string | null, scriptHash?: string | null, } | null> | { scriptAddress?: string | null, scriptHash?: string | null, } | null, __self: never
511
+ __parameters: {validatorScript?: string | null, scriptParamsJson?: string | null, network?: _.CardanoNetwork | null}, __returns: globalThis.Promise<{ scriptAddress?: string | null, scriptHash?: string | null, } | null> | { scriptAddress?: string | null, scriptHash?: string | null, } | null, __self: never
498
512
  kind: 'action'
499
513
  }
500
514
 
@@ -13,6 +13,9 @@ module.exports.TransactionBuildInputs = createEntityProxy(['CardanoTransactionSe
13
13
  // TransactionBuildOutputs
14
14
  module.exports.TransactionBuildOutput = createEntityProxy(['CardanoTransactionService', 'TransactionBuildOutputs'], { target: { is_singular: true } })
15
15
  module.exports.TransactionBuildOutputs = createEntityProxy(['CardanoTransactionService', 'TransactionBuildOutputs'], { target: { is_singular: false }})
16
+ // TransactionBuildRedeemers
17
+ module.exports.TransactionBuildRedeemer = createEntityProxy(['CardanoTransactionService', 'TransactionBuildRedeemers'], { target: { is_singular: true } })
18
+ module.exports.TransactionBuildRedeemers = createEntityProxy(['CardanoTransactionService', 'TransactionBuildRedeemers'], { target: { is_singular: false }})
16
19
  // TransactionBuildInputAssets
17
20
  module.exports.TransactionBuildInputAsset = createEntityProxy(['CardanoTransactionService', 'TransactionBuildInputAssets'], { target: { is_singular: true } })
18
21
  module.exports.TransactionBuildInputAssets = createEntityProxy(['CardanoTransactionService', 'TransactionBuildInputAssets'], { target: { is_singular: false }})
@@ -53,6 +56,7 @@ module.exports.GetBuildDetails = 'GetBuildDetails'
53
56
  module.exports.SubmitTransaction = 'SubmitTransaction'
54
57
  module.exports.SubmitSignedTransaction = 'SubmitSignedTransaction'
55
58
  module.exports.BuildPlutusSpendTransaction = 'BuildPlutusSpendTransaction'
59
+ module.exports.BuildPlutusTransaction = 'BuildPlutusTransaction'
56
60
  module.exports.SetCollateral = 'SetCollateral'
57
61
  module.exports.GetTransactionBuildsByAddress = 'GetTransactionBuildsByAddress'
58
62
  module.exports.DeriveScriptAddress = 'DeriveScriptAddress'
@@ -2,22 +2,6 @@
2
2
  import * as _ from './..';
3
3
  import * as __ from './../_';
4
4
 
5
- /**
6
- * Cardano Wallet Worker Service (v2.0)
7
- *
8
- * Control + observability surface for the wallet worker / job engine:
9
- * - job submission (async build → sign → submit → confirm from server-side wallets)
10
- * - job status polling + cancellation
11
- * - read-only projections of jobs and registered worker wallets
12
- * - pause/resume of the local worker instance (admin)
13
- *
14
- * Security note: SubmitWalletJob executes value transfers with server-held keys —
15
- * the service requires authentication throughout; control actions and foreign-job
16
- * visibility are gated behind the Admin role. Jobs on HSM-backed wallets addition-
17
- * ally require the configured hsm.requiresRole (HSM_REQUIRES_ROLE), the same gate
18
- * the synchronous SignWithHsm path enforces. Keys are NEVER accepted or exposed
19
- * through this surface.
20
- */
21
5
  export default class {
22
6
  static readonly SubmitWalletJob: typeof SubmitWalletJob;
23
7
  static readonly CancelJob: typeof CancelJob;
@@ -72,6 +56,7 @@ export declare function _WorkerWalletAspect<TBase extends new (...args: any[]) =
72
56
  signerType?: _.WorkerSignerType | null
73
57
  address?: _.Bech32 | null
74
58
  publicKeyHash?: _.Blake2b224 | null
59
+ requiresRole?: string | null
75
60
  enabled?: boolean | null
76
61
  lastJobAt?: __.CdsTimestamp | null
77
62
  jobsConfirmed?: number | null
@@ -165,11 +150,11 @@ export declare class jobFailed {
165
150
 
166
151
  export declare const SubmitWalletJob: {
167
152
  // positional
168
- (walletId: string | null, kind: string | null, requestJson: string | null, idempotencyKey: string | null, priority: number | null, notBefore: __.CdsTimestamp | null): globalThis.Promise<JobSubmissionResult | null> | JobSubmissionResult | null
153
+ (walletId: string | null, kind: _.WalletJobKind | null, requestJson: string | null, idempotencyKey: string | null, priority: number | null, notBefore: __.CdsTimestamp | null): globalThis.Promise<JobSubmissionResult | null> | JobSubmissionResult | null
169
154
  // named
170
- ({walletId, kind, requestJson, idempotencyKey, priority, notBefore}: {walletId?: string | null, kind?: string | null, requestJson?: string | null, idempotencyKey?: string | null, priority?: number | null, notBefore?: __.CdsTimestamp | null}): globalThis.Promise<JobSubmissionResult | null> | JobSubmissionResult | null
155
+ ({walletId, kind, requestJson, idempotencyKey, priority, notBefore}: {walletId?: string | null, kind?: _.WalletJobKind | null, requestJson?: string | null, idempotencyKey?: string | null, priority?: number | null, notBefore?: __.CdsTimestamp | null}): globalThis.Promise<JobSubmissionResult | null> | JobSubmissionResult | null
171
156
  // metadata (do not use)
172
- __parameters: {walletId?: string | null, kind?: string | null, requestJson?: string | null, idempotencyKey?: string | null, priority?: number | null, notBefore?: __.CdsTimestamp | null}, __returns: globalThis.Promise<JobSubmissionResult | null> | JobSubmissionResult | null, __self: never
157
+ __parameters: {walletId?: string | null, kind?: _.WalletJobKind | null, requestJson?: string | null, idempotencyKey?: string | null, priority?: number | null, notBefore?: __.CdsTimestamp | null}, __returns: globalThis.Promise<JobSubmissionResult | null> | JobSubmissionResult | null, __self: never
173
158
  kind: 'action'
174
159
  }
175
160
 
@@ -185,11 +170,11 @@ export declare const CancelJob: {
185
170
 
186
171
  export declare const GetJobStatus: {
187
172
  // positional
188
- (jobId: string | null): globalThis.Promise<JobStatus | null> | JobStatus | null
173
+ (jobId: string | null, waitMs: number | null): globalThis.Promise<JobStatus | null> | JobStatus | null
189
174
  // named
190
- ({jobId}: {jobId?: string | null}): globalThis.Promise<JobStatus | null> | JobStatus | null
175
+ ({jobId, waitMs}: {jobId?: string | null, waitMs?: number | null}): globalThis.Promise<JobStatus | null> | JobStatus | null
191
176
  // metadata (do not use)
192
- __parameters: {jobId?: string | null}, __returns: globalThis.Promise<JobStatus | null> | JobStatus | null, __self: never
177
+ __parameters: {jobId?: string | null, waitMs?: number | null}, __returns: globalThis.Promise<JobStatus | null> | JobStatus | null, __self: never
193
178
  kind: 'function'
194
179
  }
195
180