@odatano/core 1.11.0 → 2.0.0-rc.2

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 (111) hide show
  1. package/@cds-models/CardanoIndexerService/index.d.ts +142 -0
  2. package/@cds-models/CardanoIndexerService/index.js +23 -0
  3. package/@cds-models/CardanoODataService/index.d.ts +693 -2172
  4. package/@cds-models/CardanoODataService/index.js +88 -390
  5. package/@cds-models/CardanoSignService/index.d.ts +443 -1574
  6. package/@cds-models/CardanoSignService/index.js +62 -293
  7. package/@cds-models/CardanoTransactionService/index.d.ts +431 -1488
  8. package/@cds-models/CardanoTransactionService/index.js +60 -271
  9. package/@cds-models/CardanoWorkerService/index.d.ts +224 -0
  10. package/@cds-models/CardanoWorkerService/index.js +32 -0
  11. package/@cds-models/_/index.d.ts +70 -40
  12. package/@cds-models/_/index.js +17 -32
  13. package/@cds-models/cds/outbox/index.d.ts +28 -0
  14. package/@cds-models/index.d.ts +225 -522
  15. package/@cds-models/index.js +35 -218
  16. package/@cds-models/odatano/cardano/index.d.ts +896 -2947
  17. package/@cds-models/odatano/cardano/index.js +109 -536
  18. package/@cds-models/sap/common/index.d.ts +196 -600
  19. package/@cds-models/sap/common/index.js +28 -269
  20. package/README.md +36 -2
  21. package/db/schema.cds +283 -1
  22. package/db/types.cds +48 -0
  23. package/package.json +173 -164
  24. package/src/index.d.ts +1 -1
  25. package/src/index.js +10 -2
  26. package/src/plugin.js +12 -2
  27. package/srv/blockchain/backends/blockfrost-backend.d.ts +21 -2
  28. package/srv/blockchain/backends/blockfrost-backend.js +68 -15
  29. package/srv/blockchain/backends/cardano-backend.d.ts +69 -0
  30. package/srv/blockchain/backends/cardano-backend.js +13 -0
  31. package/srv/blockchain/backends/koios-backend.d.ts +26 -2
  32. package/srv/blockchain/backends/koios-backend.js +147 -15
  33. package/srv/blockchain/backends/ogmios-backend.d.ts +37 -6
  34. package/srv/blockchain/backends/ogmios-backend.js +254 -5
  35. package/srv/blockchain/cardano-client.d.ts +19 -0
  36. package/srv/blockchain/cardano-client.js +36 -0
  37. package/srv/blockchain/cardano-indexer.d.ts +50 -1
  38. package/srv/blockchain/cardano-indexer.js +191 -0
  39. package/srv/blockchain/crawler/crawler.d.ts +151 -0
  40. package/srv/blockchain/crawler/crawler.js +677 -0
  41. package/srv/blockchain/crawler/hooks.d.ts +43 -0
  42. package/srv/blockchain/crawler/hooks.js +62 -0
  43. package/srv/blockchain/crawler/index.d.ts +26 -0
  44. package/srv/blockchain/crawler/index.js +135 -0
  45. package/srv/blockchain/crawler/sync-state.d.ts +94 -0
  46. package/srv/blockchain/crawler/sync-state.js +265 -0
  47. package/srv/blockchain/signing/hsm-signer.d.ts +45 -0
  48. package/srv/blockchain/signing/hsm-signer.js +8 -1
  49. package/srv/blockchain/wallet-worker/build-request.d.ts +26 -0
  50. package/srv/blockchain/wallet-worker/build-request.js +341 -0
  51. package/srv/blockchain/wallet-worker/confirmation-tracker.d.ts +86 -0
  52. package/srv/blockchain/wallet-worker/confirmation-tracker.js +228 -0
  53. package/srv/blockchain/wallet-worker/index.d.ts +14 -0
  54. package/srv/blockchain/wallet-worker/index.js +80 -0
  55. package/srv/blockchain/wallet-worker/job-store.d.ts +261 -0
  56. package/srv/blockchain/wallet-worker/job-store.js +564 -0
  57. package/srv/blockchain/wallet-worker/lease-heartbeat.d.ts +43 -0
  58. package/srv/blockchain/wallet-worker/lease-heartbeat.js +99 -0
  59. package/srv/blockchain/wallet-worker/signers.d.ts +57 -0
  60. package/srv/blockchain/wallet-worker/signers.js +131 -0
  61. package/srv/blockchain/wallet-worker/wallet-worker.d.ts +145 -0
  62. package/srv/blockchain/wallet-worker/wallet-worker.js +542 -0
  63. package/srv/cardano-indexer-service.cds +73 -0
  64. package/srv/cardano-indexer-service.d.ts +2 -0
  65. package/srv/cardano-indexer-service.js +76 -0
  66. package/srv/cardano-service.js +76 -5
  67. package/srv/cardano-tx-service.d.ts +1 -11
  68. package/srv/cardano-tx-service.js +11 -162
  69. package/srv/cardano-worker-service.cds +125 -0
  70. package/srv/cardano-worker-service.d.ts +2 -0
  71. package/srv/cardano-worker-service.js +199 -0
  72. package/srv/server.d.ts +32 -1
  73. package/srv/server.js +229 -36
  74. package/srv/utils/collections.d.ts +13 -0
  75. package/srv/utils/collections.js +24 -0
  76. package/srv/utils/crypto.d.ts +16 -0
  77. package/srv/utils/crypto.js +75 -0
  78. package/srv/utils/error-codes.d.ts +6 -0
  79. package/srv/utils/error-codes.js +6 -0
  80. package/srv/utils/errors.d.ts +12 -0
  81. package/srv/utils/errors.js +45 -0
  82. package/srv/utils/mappers.js +13 -3
  83. package/srv/utils/service-events.d.ts +26 -0
  84. package/srv/utils/service-events.js +46 -0
  85. package/srv/utils/tx-request-parsers.d.ts +58 -0
  86. package/srv/utils/tx-request-parsers.js +170 -0
  87. package/srv/utils/tx-utils.d.ts +2 -1
  88. package/srv/utils/tx-utils.js +3 -2
  89. package/srv/utils/types.d.ts +2 -1
  90. package/@cds-models/CardanoODataService/index.d.ts.map +0 -1
  91. package/@cds-models/CardanoODataService/index.js.map +0 -1
  92. package/@cds-models/CardanoODataService/index.ts +0 -776
  93. package/@cds-models/CardanoSignService/index.d.ts.map +0 -1
  94. package/@cds-models/CardanoSignService/index.js.map +0 -1
  95. package/@cds-models/CardanoSignService/index.ts +0 -569
  96. package/@cds-models/CardanoTransactionService/index.d.ts.map +0 -1
  97. package/@cds-models/CardanoTransactionService/index.js.map +0 -1
  98. package/@cds-models/CardanoTransactionService/index.ts +0 -526
  99. package/@cds-models/_/index.d.ts.map +0 -1
  100. package/@cds-models/_/index.js.map +0 -1
  101. package/@cds-models/_/index.ts +0 -96
  102. package/@cds-models/cds/outbox/index.ts +0 -27
  103. package/@cds-models/index.d.ts.map +0 -1
  104. package/@cds-models/index.js.map +0 -1
  105. package/@cds-models/index.ts +0 -245
  106. package/@cds-models/odatano/cardano/index.d.ts.map +0 -1
  107. package/@cds-models/odatano/cardano/index.js.map +0 -1
  108. package/@cds-models/odatano/cardano/index.ts +0 -789
  109. package/@cds-models/sap/common/index.d.ts.map +0 -1
  110. package/@cds-models/sap/common/index.js.map +0 -1
  111. package/@cds-models/sap/common/index.ts +0 -249
@@ -1,789 +0,0 @@
1
- // This is an automatically generated file. Please do not change its contents manually!
2
- import * as _ from './../..';
3
- import * as __ from './../../_';
4
-
5
- export function _NetworkInformationAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
6
- return class NetworkInformation extends _._temporalAspect(Base) {
7
- declare network?: __.Key<string>
8
- declare maxSupply?: _.Lovelace | null
9
- declare totalSupply?: _.Lovelace | null
10
- declare circulatingSupply?: _.Lovelace | null
11
- declare lockedSupply?: _.Lovelace | null
12
- declare treasurySupply?: _.Lovelace | null
13
- declare reservesSupply?: _.Lovelace | null
14
- declare liveStake?: _.Lovelace | null
15
- declare activeStake?: _.Lovelace | null
16
- static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
17
- declare static readonly keys: __.KeysOf<NetworkInformation>;
18
- declare static readonly elements: __.ElementsOf<NetworkInformation>;
19
- declare static readonly actions: typeof _.temporal.actions & globalThis.Record<never, never>;
20
- };
21
- }
22
- export class NetworkInformation extends _NetworkInformationAspect(__.Entity) {}
23
- Object.defineProperty(NetworkInformation, 'name', { value: 'odatano.cardano.NetworkInformation' })
24
- Object.defineProperty(NetworkInformation, 'is_singular', { value: true })
25
- export class NetworkInformation_ extends Array<NetworkInformation> {$count?: number}
26
- Object.defineProperty(NetworkInformation_, 'name', { value: 'odatano.cardano.NetworkInformation' })
27
-
28
- export function _BlockAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
29
- return class Block extends Base {
30
- declare hash?: __.Key<string>
31
- declare time?: string | null
32
- declare height?: number | null
33
- declare slotLeader?: string | null
34
- declare epochNumber?: number | null
35
- declare epoch?: __.Association.to<Epoch> | null
36
- declare epochSlot?: number | null
37
- declare size?: number | null
38
- declare txCount?: number | null
39
- declare fees?: _.Lovelace | null
40
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
41
- declare static readonly keys: __.KeysOf<Block>;
42
- declare static readonly elements: __.ElementsOf<Block>;
43
- declare static readonly actions: globalThis.Record<never, never>;
44
- };
45
- }
46
- export class Block extends _BlockAspect(__.Entity) {}
47
- Object.defineProperty(Block, 'name', { value: 'odatano.cardano.Blocks' })
48
- Object.defineProperty(Block, 'is_singular', { value: true })
49
- export class Blocks extends Array<Block> {$count?: number}
50
- Object.defineProperty(Blocks, 'name', { value: 'odatano.cardano.Blocks' })
51
-
52
- export function _EpochAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
53
- return class Epoch extends Base {
54
- declare epoch?: __.Key<number>
55
- declare startTime?: number | null
56
- declare endTime?: number | null
57
- declare firstBlockTime?: number | null
58
- declare lastBlockTime?: number | null
59
- declare blockCount?: number | null
60
- declare txCount?: number | null
61
- declare output?: string | null
62
- declare fees?: _.Lovelace | null
63
- declare activeStake?: _.Lovelace | null
64
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
65
- declare static readonly keys: __.KeysOf<Epoch>;
66
- declare static readonly elements: __.ElementsOf<Epoch>;
67
- declare static readonly actions: globalThis.Record<never, never>;
68
- };
69
- }
70
- export class Epoch extends _EpochAspect(__.Entity) {}
71
- Object.defineProperty(Epoch, 'name', { value: 'odatano.cardano.Epochs' })
72
- Object.defineProperty(Epoch, 'is_singular', { value: true })
73
- export class Epochs extends Array<Epoch> {$count?: number}
74
- Object.defineProperty(Epochs, 'name', { value: 'odatano.cardano.Epochs' })
75
-
76
- export function _PoolAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
77
- return class Pool extends _._temporalAspect(Base) {
78
- declare poolId?: __.Key<_.Bech32>
79
- declare vrfKeyHash?: string | null
80
- declare blocksMinted?: number | null
81
- declare blocksEpoch?: number | null
82
- declare liveStake?: _.Lovelace | null
83
- declare liveSize?: (number | string) | null
84
- declare liveSaturation?: (number | string) | null
85
- declare liveDelegators?: number | null
86
- declare activeStake?: _.Lovelace | null
87
- declare activeSize?: (number | string) | null
88
- declare pledge?: _.Lovelace | null
89
- declare margin?: (number | string) | null
90
- declare fixedCost?: _.Lovelace | null
91
- declare rewardAccount?: string | null
92
- static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
93
- declare static readonly keys: __.KeysOf<Pool>;
94
- declare static readonly elements: __.ElementsOf<Pool>;
95
- declare static readonly actions: typeof _.temporal.actions & globalThis.Record<never, never>;
96
- };
97
- }
98
- export class Pool extends _PoolAspect(__.Entity) {}
99
- Object.defineProperty(Pool, 'name', { value: 'odatano.cardano.Pools' })
100
- Object.defineProperty(Pool, 'is_singular', { value: true })
101
- export class Pools extends Array<Pool> {$count?: number}
102
- Object.defineProperty(Pools, 'name', { value: 'odatano.cardano.Pools' })
103
-
104
- export function _AssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
105
- return class Asset extends _._temporalAspect(Base) {
106
- declare unit?: __.Key<_.AssetUnit>
107
- declare policyId?: _.Blake2b224 | null
108
- declare assetNameHex?: string | null
109
- declare assetName?: string | null
110
- declare fingerprint?: string | null
111
- declare totalSupply?: string | null
112
- declare mintOrBurnCount?: number | null
113
- declare initialMintTxHash?: _.Blake2b256 | null
114
- declare initialMintTime?: number | null
115
- declare onchainMetadata?: string | null
116
- declare registryName?: string | null
117
- declare registryTicker?: string | null
118
- declare registryDecimals?: number | null
119
- declare registryDescription?: string | null
120
- declare registryUrl?: string | null
121
- declare registryLogo?: string | null
122
- static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
123
- declare static readonly keys: __.KeysOf<Asset>;
124
- declare static readonly elements: __.ElementsOf<Asset>;
125
- declare static readonly actions: typeof _.temporal.actions & globalThis.Record<never, never>;
126
- };
127
- }
128
- export class Asset extends _AssetAspect(__.Entity) {}
129
- Object.defineProperty(Asset, 'name', { value: 'odatano.cardano.Assets' })
130
- Object.defineProperty(Asset, 'is_singular', { value: true })
131
- export class Assets extends Array<Asset> {$count?: number}
132
- Object.defineProperty(Assets, 'name', { value: 'odatano.cardano.Assets' })
133
-
134
- export function _AssetHistoryAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
135
- return class AssetHistory extends Base {
136
- declare unit?: __.Key<_.AssetUnit>
137
- declare txHash?: __.Key<_.Blake2b256>
138
- declare action?: string | null
139
- declare quantity?: string | null
140
- declare blockTime?: number | null
141
- declare blockHeight?: number | null
142
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
143
- declare static readonly keys: __.KeysOf<AssetHistory>;
144
- declare static readonly elements: __.ElementsOf<AssetHistory>;
145
- declare static readonly actions: globalThis.Record<never, never>;
146
- };
147
- }
148
- export class AssetHistory extends _AssetHistoryAspect(__.Entity) {}
149
- Object.defineProperty(AssetHistory, 'name', { value: 'odatano.cardano.AssetHistory' })
150
- Object.defineProperty(AssetHistory, 'is_singular', { value: true })
151
- export class AssetHistory_ extends Array<AssetHistory> {$count?: number}
152
- Object.defineProperty(AssetHistory_, 'name', { value: 'odatano.cardano.AssetHistory' })
153
-
154
- export function _DrepAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
155
- return class Drep extends _._temporalAspect(Base) {
156
- declare drepId?: __.Key<_.Bech32>
157
- declare hex?: string | null
158
- declare amount?: _.Lovelace | null
159
- declare hasScript?: boolean | null
160
- declare lastActiveEpoch?: number | null
161
- declare retired?: boolean | null
162
- declare expired?: boolean | null
163
- static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
164
- declare static readonly keys: __.KeysOf<Drep>;
165
- declare static readonly elements: __.ElementsOf<Drep>;
166
- declare static readonly actions: typeof _.temporal.actions & globalThis.Record<never, never>;
167
- };
168
- }
169
- export class Drep extends _DrepAspect(__.Entity) {}
170
- Object.defineProperty(Drep, 'name', { value: 'odatano.cardano.Dreps' })
171
- Object.defineProperty(Drep, 'is_singular', { value: true })
172
- export class Dreps extends Array<Drep> {$count?: number}
173
- Object.defineProperty(Dreps, 'name', { value: 'odatano.cardano.Dreps' })
174
-
175
- export function _AddressAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
176
- return class Address extends _._temporalAspect(Base) {
177
- declare address?: __.Key<_.Bech32>
178
- declare stakeAddress?: _.Bech32 | null
179
- declare type?: string | null
180
- declare isScript?: boolean | null
181
- declare totalLovelace?: _.Lovelace | null
182
- declare utxoCount?: number | null
183
- declare transactions?: __.Composition.of.many<AddressTransactions>
184
- declare assets?: __.Composition.of.many<AddressAssets>
185
- declare utxos?: __.Composition.of.many<AddressUTxOs>
186
- declare hasTransactions?: boolean | null
187
- declare hasAssets?: boolean | null
188
- declare hasUTxOs?: boolean | null
189
- static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
190
- declare static readonly keys: __.KeysOf<Address>;
191
- declare static readonly elements: __.ElementsOf<Address>;
192
- declare static readonly actions: typeof _.temporal.actions & globalThis.Record<never, never>;
193
- };
194
- }
195
- export class Address extends _AddressAspect(__.Entity) {}
196
- Object.defineProperty(Address, 'name', { value: 'odatano.cardano.Addresses' })
197
- Object.defineProperty(Address, 'is_singular', { value: true })
198
- export class Addresses extends Array<Address> {$count?: number}
199
- Object.defineProperty(Addresses, 'name', { value: 'odatano.cardano.Addresses' })
200
-
201
- export function _AddressAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
202
- return class AddressAsset extends _._temporalAspect(Base) {
203
- declare address?: __.Key<__.Association.to<Address>>
204
- declare address_address?: __.Key<_.Bech32>
205
- declare unit?: __.Key<_.AssetUnit>
206
- declare asset_quantity?: _.Lovelace | null
207
- declare asset_policyId?: _.Blake2b224 | null
208
- declare asset_assetNameHex?: _.HexBytes | null
209
- declare asset_assetName?: string | null
210
- declare asset_fingerprint?: string | null
211
- static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
212
- declare static readonly keys: __.KeysOf<AddressAsset>;
213
- declare static readonly elements: __.ElementsOf<AddressAsset>;
214
- declare static readonly actions: typeof _.temporal.actions & globalThis.Record<never, never>;
215
- };
216
- }
217
- export class AddressAsset extends _AddressAssetAspect(__.Entity) {}
218
- Object.defineProperty(AddressAsset, 'name', { value: 'odatano.cardano.AddressAssets' })
219
- Object.defineProperty(AddressAsset, 'is_singular', { value: true })
220
- export class AddressAssets extends Array<AddressAsset> {$count?: number}
221
- Object.defineProperty(AddressAssets, 'name', { value: 'odatano.cardano.AddressAssets' })
222
-
223
- export function _AddressUTxOAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
224
- return class AddressUTxO extends _._temporalAspect(Base) {
225
- declare address?: __.Key<__.Association.to<Address>>
226
- declare address_address?: __.Key<_.Bech32>
227
- declare hash?: __.Key<_.Blake2b256>
228
- declare index?: __.Key<number>
229
- declare blockHash?: _.Blake2b256 | null
230
- declare utxodata_dataHash?: _.Blake2b256 | null
231
- declare utxodata_inlineDatum?: string | null
232
- declare utxodata_referenceScriptHash?: _.Blake2b256 | null
233
- declare lovelace?: _.Lovelace | null
234
- declare assets?: __.Composition.of.many<UTxOAssets>
235
- declare hasAssets?: boolean | null
236
- static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
237
- declare static readonly keys: __.KeysOf<AddressUTxO>;
238
- declare static readonly elements: __.ElementsOf<AddressUTxO>;
239
- declare static readonly actions: typeof _.temporal.actions & globalThis.Record<never, never>;
240
- };
241
- }
242
- export class AddressUTxO extends _AddressUTxOAspect(__.Entity) {}
243
- Object.defineProperty(AddressUTxO, 'name', { value: 'odatano.cardano.AddressUTxOs' })
244
- Object.defineProperty(AddressUTxO, 'is_singular', { value: true })
245
- export class AddressUTxOs extends Array<AddressUTxO> {$count?: number}
246
- Object.defineProperty(AddressUTxOs, 'name', { value: 'odatano.cardano.AddressUTxOs' })
247
-
248
- export function _UTxOAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
249
- return class UTxOAsset extends _._temporalAspect(Base) {
250
- declare utxo?: __.Key<__.Association.to<AddressUTxO>>
251
- declare utxo_hash?: __.Key<_.Blake2b256>
252
- declare utxo_index?: __.Key<number>
253
- declare utxo_address_address?: __.Key<_.Bech32>
254
- declare unit?: __.Key<_.AssetUnit>
255
- declare asset_quantity?: _.Lovelace | null
256
- declare asset_policyId?: _.Blake2b224 | null
257
- declare asset_assetNameHex?: _.HexBytes | null
258
- declare asset_assetName?: string | null
259
- declare asset_fingerprint?: string | null
260
- static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
261
- declare static readonly keys: __.KeysOf<UTxOAsset>;
262
- declare static readonly elements: __.ElementsOf<UTxOAsset>;
263
- declare static readonly actions: typeof _.temporal.actions & globalThis.Record<never, never>;
264
- };
265
- }
266
- export class UTxOAsset extends _UTxOAssetAspect(__.Entity) {}
267
- Object.defineProperty(UTxOAsset, 'name', { value: 'odatano.cardano.UTxOAssets' })
268
- Object.defineProperty(UTxOAsset, 'is_singular', { value: true })
269
- export class UTxOAssets extends Array<UTxOAsset> {$count?: number}
270
- Object.defineProperty(UTxOAssets, 'name', { value: 'odatano.cardano.UTxOAssets' })
271
-
272
- export function _AccountAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
273
- return class Account extends _._temporalAspect(Base) {
274
- declare stakeAddress?: __.Key<_.Bech32>
275
- declare active?: boolean | null
276
- declare activeEpoch?: number | null
277
- declare controlledAmount?: _.Lovelace | null
278
- declare rewardsSum?: _.Lovelace | null
279
- declare withdrawalsSum?: _.Lovelace | null
280
- declare reservesSum?: _.Lovelace | null
281
- declare treasurySum?: _.Lovelace | null
282
- declare withdrawableAmount?: _.Lovelace | null
283
- declare poolId?: __.Association.to<Pool> | null
284
- declare poolId_poolId?: _.Bech32 | null
285
- declare drepId?: __.Association.to<Drep> | null
286
- declare drepId_drepId?: _.Bech32 | null
287
- declare Address?: __.Composition.of.many<Addresses>
288
- declare hasAddresses?: boolean | null
289
- static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
290
- declare static readonly keys: __.KeysOf<Account>;
291
- declare static readonly elements: __.ElementsOf<Account>;
292
- declare static readonly actions: typeof _.temporal.actions & globalThis.Record<never, never>;
293
- };
294
- }
295
- export class Account extends _AccountAspect(__.Entity) {}
296
- Object.defineProperty(Account, 'name', { value: 'odatano.cardano.Accounts' })
297
- Object.defineProperty(Account, 'is_singular', { value: true })
298
- export class Accounts extends Array<Account> {$count?: number}
299
- Object.defineProperty(Accounts, 'name', { value: 'odatano.cardano.Accounts' })
300
-
301
- export function _TransactionAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
302
- return class Transaction extends Base {
303
- declare hash?: __.Key<_.Blake2b256>
304
- declare blockHash?: _.Blake2b256 | null
305
- declare blockHeight?: number | null
306
- declare blockTime?: number | null
307
- declare slot?: number | null
308
- declare txIndex?: number | null
309
- declare fee?: _.Lovelace | null
310
- declare deposit?: _.Lovelace | null
311
- declare size?: number | null
312
- declare metadata?: __.Composition.of.many<TransactionMetadata_>
313
- declare inputs?: __.Composition.of.many<TransactionInputs>
314
- declare outputs?: __.Composition.of.many<TransactionOutputs>
315
- declare hasMetadata?: boolean | null
316
- declare hasInputs?: boolean | null
317
- declare hasOutputs?: boolean | null
318
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
319
- declare static readonly keys: __.KeysOf<Transaction>;
320
- declare static readonly elements: __.ElementsOf<Transaction>;
321
- declare static readonly actions: globalThis.Record<never, never>;
322
- };
323
- }
324
- export class Transaction extends _TransactionAspect(__.Entity) {}
325
- Object.defineProperty(Transaction, 'name', { value: 'odatano.cardano.Transactions' })
326
- Object.defineProperty(Transaction, 'is_singular', { value: true })
327
- export class Transactions extends Array<Transaction> {$count?: number}
328
- Object.defineProperty(Transactions, 'name', { value: 'odatano.cardano.Transactions' })
329
-
330
- export function _TransactionInputAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
331
- return class TransactionInput extends Base {
332
- declare tx?: __.Key<__.Association.to<Transaction>>
333
- declare tx_hash?: __.Key<_.Blake2b256>
334
- declare inputIndex?: __.Key<number>
335
- declare address?: __.Association.to<Address> | null
336
- declare address_address?: _.Bech32 | null
337
- declare utxoData_dataHash?: _.Blake2b256 | null
338
- declare utxoData_inlineDatum?: string | null
339
- declare utxoData_referenceScriptHash?: _.Blake2b256 | null
340
- declare isCollateral?: boolean | null
341
- declare isReference?: boolean | null
342
- declare assets?: __.Composition.of.many<TransactionInputAssets>
343
- declare hasAddresses?: boolean | null
344
- declare hasAssets?: boolean | null
345
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
346
- declare static readonly keys: __.KeysOf<TransactionInput>;
347
- declare static readonly elements: __.ElementsOf<TransactionInput>;
348
- declare static readonly actions: globalThis.Record<never, never>;
349
- };
350
- }
351
- export class TransactionInput extends _TransactionInputAspect(__.Entity) {}
352
- Object.defineProperty(TransactionInput, 'name', { value: 'odatano.cardano.TransactionInputs' })
353
- Object.defineProperty(TransactionInput, 'is_singular', { value: true })
354
- export class TransactionInputs extends Array<TransactionInput> {$count?: number}
355
- Object.defineProperty(TransactionInputs, 'name', { value: 'odatano.cardano.TransactionInputs' })
356
-
357
- export function _TransactionInputAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
358
- return class TransactionInputAsset extends Base {
359
- declare input?: __.Key<__.Association.to<TransactionInput>>
360
- declare input_inputIndex?: __.Key<number>
361
- declare input_tx_hash?: __.Key<_.Blake2b256>
362
- declare unit?: __.Key<_.AssetUnit>
363
- declare asset_quantity?: _.Lovelace | null
364
- declare asset_policyId?: _.Blake2b224 | null
365
- declare asset_assetNameHex?: _.HexBytes | null
366
- declare asset_assetName?: string | null
367
- declare asset_fingerprint?: string | null
368
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
369
- declare static readonly keys: __.KeysOf<TransactionInputAsset>;
370
- declare static readonly elements: __.ElementsOf<TransactionInputAsset>;
371
- declare static readonly actions: globalThis.Record<never, never>;
372
- };
373
- }
374
- export class TransactionInputAsset extends _TransactionInputAssetAspect(__.Entity) {}
375
- Object.defineProperty(TransactionInputAsset, 'name', { value: 'odatano.cardano.TransactionInputAssets' })
376
- Object.defineProperty(TransactionInputAsset, 'is_singular', { value: true })
377
- export class TransactionInputAssets extends Array<TransactionInputAsset> {$count?: number}
378
- Object.defineProperty(TransactionInputAssets, 'name', { value: 'odatano.cardano.TransactionInputAssets' })
379
-
380
- export function _TransactionOutputAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
381
- return class TransactionOutput extends Base {
382
- declare tx?: __.Key<__.Association.to<Transaction>>
383
- declare tx_hash?: __.Key<_.Blake2b256>
384
- declare outputIndex?: __.Key<number>
385
- declare address?: __.Association.to<Address> | null
386
- declare address_address?: _.Bech32 | null
387
- declare utxo_dataHash?: _.Blake2b256 | null
388
- declare utxo_inlineDatum?: string | null
389
- declare utxo_referenceScriptHash?: _.Blake2b256 | null
390
- declare assets?: __.Composition.of.many<TransactionOutputAssets>
391
- declare hasAddresses?: boolean | null
392
- declare hasAssets?: boolean | null
393
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
394
- declare static readonly keys: __.KeysOf<TransactionOutput>;
395
- declare static readonly elements: __.ElementsOf<TransactionOutput>;
396
- declare static readonly actions: globalThis.Record<never, never>;
397
- };
398
- }
399
- export class TransactionOutput extends _TransactionOutputAspect(__.Entity) {}
400
- Object.defineProperty(TransactionOutput, 'name', { value: 'odatano.cardano.TransactionOutputs' })
401
- Object.defineProperty(TransactionOutput, 'is_singular', { value: true })
402
- export class TransactionOutputs extends Array<TransactionOutput> {$count?: number}
403
- Object.defineProperty(TransactionOutputs, 'name', { value: 'odatano.cardano.TransactionOutputs' })
404
-
405
- export function _TransactionOutputAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
406
- return class TransactionOutputAsset extends Base {
407
- declare output?: __.Key<__.Association.to<TransactionOutput>>
408
- declare output_outputIndex?: __.Key<number>
409
- declare output_tx_hash?: __.Key<_.Blake2b256>
410
- declare unit?: __.Key<_.AssetUnit>
411
- declare asset_quantity?: _.Lovelace | null
412
- declare asset_policyId?: _.Blake2b224 | null
413
- declare asset_assetNameHex?: _.HexBytes | null
414
- declare asset_assetName?: string | null
415
- declare asset_fingerprint?: string | null
416
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
417
- declare static readonly keys: __.KeysOf<TransactionOutputAsset>;
418
- declare static readonly elements: __.ElementsOf<TransactionOutputAsset>;
419
- declare static readonly actions: globalThis.Record<never, never>;
420
- };
421
- }
422
- export class TransactionOutputAsset extends _TransactionOutputAssetAspect(__.Entity) {}
423
- Object.defineProperty(TransactionOutputAsset, 'name', { value: 'odatano.cardano.TransactionOutputAssets' })
424
- Object.defineProperty(TransactionOutputAsset, 'is_singular', { value: true })
425
- export class TransactionOutputAssets extends Array<TransactionOutputAsset> {$count?: number}
426
- Object.defineProperty(TransactionOutputAssets, 'name', { value: 'odatano.cardano.TransactionOutputAssets' })
427
-
428
- export function _TransactionMetadataAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
429
- return class TransactionMetadata extends Base {
430
- declare id?: __.Key<number>
431
- declare tx?: __.Key<__.Association.to<Transaction>>
432
- declare tx_hash?: __.Key<_.Blake2b256>
433
- declare label?: _.MetadataLabel | null
434
- declare payload?: string | null
435
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
436
- declare static readonly keys: __.KeysOf<TransactionMetadata>;
437
- declare static readonly elements: __.ElementsOf<TransactionMetadata>;
438
- declare static readonly actions: globalThis.Record<never, never>;
439
- };
440
- }
441
- export class TransactionMetadata extends _TransactionMetadataAspect(__.Entity) {}
442
- Object.defineProperty(TransactionMetadata, 'name', { value: 'odatano.cardano.TransactionMetadata' })
443
- Object.defineProperty(TransactionMetadata, 'is_singular', { value: true })
444
- export class TransactionMetadata_ extends Array<TransactionMetadata> {$count?: number}
445
- Object.defineProperty(TransactionMetadata_, 'name', { value: 'odatano.cardano.TransactionMetadata' })
446
-
447
- export function _LedgerProtocolParameterAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
448
- return class LedgerProtocolParameter extends Base {
449
- declare network?: __.Key<string>
450
- declare epoch?: __.Key<number>
451
- declare minFeeA?: number | null
452
- declare minFeeB?: number | null
453
- declare maxBlockSize?: number | null
454
- declare maxTxSize?: number | null
455
- declare maxBlockHeaderSize?: number | null
456
- declare keyDeposit?: string | null
457
- declare poolDeposit?: string | null
458
- declare eMax?: number | null
459
- declare nOpt?: number | null
460
- declare a0?: (number | string) | null
461
- declare rho?: (number | string) | null
462
- declare tau?: (number | string) | null
463
- declare minPoolCost?: string | null
464
- declare decentralisationParam?: (number | string) | null
465
- declare extraEntropy?: string | null
466
- declare protocolMajorVer?: number | null
467
- declare protocolMinorVer?: number | null
468
- declare minUtxo?: string | null
469
- declare nonce?: string | null
470
- declare costModels?: string | null
471
- declare priceMem?: (number | string) | null
472
- declare priceStep?: (number | string) | null
473
- declare maxTxExMem?: string | null
474
- declare maxTxExSteps?: string | null
475
- declare maxBlockExMem?: string | null
476
- declare maxBlockExSteps?: string | null
477
- declare maxValSize?: string | null
478
- declare collateralPercent?: number | null
479
- declare maxCollateralInputs?: number | null
480
- declare coinsPerUtxoSize?: string | null
481
- declare coinsPerUtxoWord?: string | null
482
- declare fetchedAt?: __.CdsTimestamp | null
483
- declare source?: string | null
484
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
485
- declare static readonly keys: __.KeysOf<LedgerProtocolParameter>;
486
- declare static readonly elements: __.ElementsOf<LedgerProtocolParameter>;
487
- declare static readonly actions: globalThis.Record<never, never>;
488
- };
489
- }
490
- export class LedgerProtocolParameter extends _LedgerProtocolParameterAspect(__.Entity) {}
491
- Object.defineProperty(LedgerProtocolParameter, 'name', { value: 'odatano.cardano.LedgerProtocolParameters' })
492
- Object.defineProperty(LedgerProtocolParameter, 'is_singular', { value: true })
493
- export class LedgerProtocolParameters extends Array<LedgerProtocolParameter> {$count?: number}
494
- Object.defineProperty(LedgerProtocolParameters, 'name', { value: 'odatano.cardano.LedgerProtocolParameters' })
495
-
496
- export function _TransactionBuildAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
497
- return class TransactionBuild extends _._temporalAspect(Base) {
498
- declare id?: __.Key<string>
499
- declare network?: string | null
500
- declare builderEngine?: string | null
501
- declare senderAddress?: _.Bech32 | null
502
- declare changeAddress?: _.Bech32 | null
503
- declare unsignedTxCbor?: string | null
504
- declare txBodyHash?: _.Blake2b256 | null
505
- declare fee?: _.Lovelace | null
506
- declare size?: number | null
507
- declare createdAt?: number | null
508
- declare inputs?: __.Composition.of.many<TransactionBuildInputs>
509
- declare outputs?: __.Composition.of.many<TransactionBuildOutputs>
510
- declare submission?: __.Association.to<TransactionSubmission> | null
511
- declare hasInputs?: boolean | null
512
- declare hasOutputs?: boolean | null
513
- declare wasSubmitted?: boolean | null
514
- declare scriptHash?: string | null
515
- declare mintScriptHash?: string | null
516
- declare fingerprint?: string | null
517
- declare scriptAddress?: string | null
518
- declare forcedInputsUsed?: number | null
519
- declare referenceInputsUsed?: number | null
520
- declare collateralAvailable?: boolean | null
521
- static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
522
- declare static readonly keys: __.KeysOf<TransactionBuild>;
523
- declare static readonly elements: __.ElementsOf<TransactionBuild>;
524
- declare static readonly actions: typeof _.temporal.actions & globalThis.Record<never, never>;
525
- };
526
- }
527
- export class TransactionBuild extends _TransactionBuildAspect(__.Entity) {}
528
- Object.defineProperty(TransactionBuild, 'name', { value: 'odatano.cardano.TransactionBuilds' })
529
- Object.defineProperty(TransactionBuild, 'is_singular', { value: true })
530
- export class TransactionBuilds extends Array<TransactionBuild> {$count?: number}
531
- Object.defineProperty(TransactionBuilds, 'name', { value: 'odatano.cardano.TransactionBuilds' })
532
-
533
- export function _TransactionBuildInputAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
534
- return class TransactionBuildInput extends Base {
535
- declare build?: __.Key<__.Association.to<TransactionBuild>>
536
- declare build_id?: __.Key<string>
537
- declare inputIndex?: __.Key<number>
538
- declare txHash?: _.Blake2b256 | null
539
- declare outputIndex?: number | null
540
- declare address?: _.Bech32 | null
541
- declare lovelace?: _.Lovelace | null
542
- declare assets?: __.Composition.of.many<TransactionBuildInputAssets>
543
- declare hasAssets?: boolean | null
544
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
545
- declare static readonly keys: __.KeysOf<TransactionBuildInput>;
546
- declare static readonly elements: __.ElementsOf<TransactionBuildInput>;
547
- declare static readonly actions: globalThis.Record<never, never>;
548
- };
549
- }
550
- export class TransactionBuildInput extends _TransactionBuildInputAspect(__.Entity) {}
551
- Object.defineProperty(TransactionBuildInput, 'name', { value: 'odatano.cardano.TransactionBuildInputs' })
552
- Object.defineProperty(TransactionBuildInput, 'is_singular', { value: true })
553
- export class TransactionBuildInputs extends Array<TransactionBuildInput> {$count?: number}
554
- Object.defineProperty(TransactionBuildInputs, 'name', { value: 'odatano.cardano.TransactionBuildInputs' })
555
-
556
- export function _TransactionBuildInputAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
557
- return class TransactionBuildInputAsset extends Base {
558
- declare input?: __.Key<__.Association.to<TransactionBuildInput>>
559
- declare input_inputIndex?: __.Key<number>
560
- declare input_build_id?: __.Key<string>
561
- declare unit?: __.Key<_.AssetUnit>
562
- declare asset_quantity?: _.Lovelace | null
563
- declare asset_policyId?: _.Blake2b224 | null
564
- declare asset_assetNameHex?: _.HexBytes | null
565
- declare asset_assetName?: string | null
566
- declare asset_fingerprint?: string | null
567
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
568
- declare static readonly keys: __.KeysOf<TransactionBuildInputAsset>;
569
- declare static readonly elements: __.ElementsOf<TransactionBuildInputAsset>;
570
- declare static readonly actions: globalThis.Record<never, never>;
571
- };
572
- }
573
- export class TransactionBuildInputAsset extends _TransactionBuildInputAssetAspect(__.Entity) {}
574
- Object.defineProperty(TransactionBuildInputAsset, 'name', { value: 'odatano.cardano.TransactionBuildInputAssets' })
575
- Object.defineProperty(TransactionBuildInputAsset, 'is_singular', { value: true })
576
- export class TransactionBuildInputAssets extends Array<TransactionBuildInputAsset> {$count?: number}
577
- Object.defineProperty(TransactionBuildInputAssets, 'name', { value: 'odatano.cardano.TransactionBuildInputAssets' })
578
-
579
- export function _TransactionBuildOutputAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
580
- return class TransactionBuildOutput extends Base {
581
- declare build?: __.Key<__.Association.to<TransactionBuild>>
582
- declare build_id?: __.Key<string>
583
- declare outputIndex?: __.Key<number>
584
- declare address?: _.Bech32 | null
585
- declare lovelace?: _.Lovelace | null
586
- declare isChange?: boolean | null
587
- declare assets?: __.Composition.of.many<TransactionBuildOutputAssets>
588
- declare hasAssets?: boolean | null
589
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
590
- declare static readonly keys: __.KeysOf<TransactionBuildOutput>;
591
- declare static readonly elements: __.ElementsOf<TransactionBuildOutput>;
592
- declare static readonly actions: globalThis.Record<never, never>;
593
- };
594
- }
595
- export class TransactionBuildOutput extends _TransactionBuildOutputAspect(__.Entity) {}
596
- Object.defineProperty(TransactionBuildOutput, 'name', { value: 'odatano.cardano.TransactionBuildOutputs' })
597
- Object.defineProperty(TransactionBuildOutput, 'is_singular', { value: true })
598
- export class TransactionBuildOutputs extends Array<TransactionBuildOutput> {$count?: number}
599
- Object.defineProperty(TransactionBuildOutputs, 'name', { value: 'odatano.cardano.TransactionBuildOutputs' })
600
-
601
- export function _TransactionBuildOutputAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
602
- return class TransactionBuildOutputAsset extends Base {
603
- declare output?: __.Key<__.Association.to<TransactionBuildOutput>>
604
- declare output_outputIndex?: __.Key<number>
605
- declare output_build_id?: __.Key<string>
606
- declare unit?: __.Key<_.AssetUnit>
607
- declare asset_quantity?: _.Lovelace | null
608
- declare asset_policyId?: _.Blake2b224 | null
609
- declare asset_assetNameHex?: _.HexBytes | null
610
- declare asset_assetName?: string | null
611
- declare asset_fingerprint?: string | null
612
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
613
- declare static readonly keys: __.KeysOf<TransactionBuildOutputAsset>;
614
- declare static readonly elements: __.ElementsOf<TransactionBuildOutputAsset>;
615
- declare static readonly actions: globalThis.Record<never, never>;
616
- };
617
- }
618
- export class TransactionBuildOutputAsset extends _TransactionBuildOutputAssetAspect(__.Entity) {}
619
- Object.defineProperty(TransactionBuildOutputAsset, 'name', { value: 'odatano.cardano.TransactionBuildOutputAssets' })
620
- Object.defineProperty(TransactionBuildOutputAsset, 'is_singular', { value: true })
621
- export class TransactionBuildOutputAssets extends Array<TransactionBuildOutputAsset> {$count?: number}
622
- Object.defineProperty(TransactionBuildOutputAssets, 'name', { value: 'odatano.cardano.TransactionBuildOutputAssets' })
623
-
624
- export function _TransactionSubmissionAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
625
- return class TransactionSubmission extends Base {
626
- declare id?: __.Key<string>
627
- declare build?: __.Association.to<TransactionBuild> | null
628
- declare build_id?: string | null
629
- declare signedTxCbor?: string | null
630
- declare txHash?: _.Blake2b256 | null
631
- declare submittedAt?: number | null
632
- declare status?: _.SubmissionStatus | null
633
- declare errorCode?: string | null
634
- declare errorMessage?: string | null
635
- declare retryCount?: number | null
636
- declare errors?: __.Composition.of.many<TransactionSubmissionErrors>
637
- declare hasErrors?: boolean | null
638
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
639
- declare static readonly keys: __.KeysOf<TransactionSubmission>;
640
- declare static readonly elements: __.ElementsOf<TransactionSubmission>;
641
- declare static readonly actions: globalThis.Record<never, never>;
642
- };
643
- }
644
- export class TransactionSubmission extends _TransactionSubmissionAspect(__.Entity) {}
645
- Object.defineProperty(TransactionSubmission, 'name', { value: 'odatano.cardano.TransactionSubmissions' })
646
- Object.defineProperty(TransactionSubmission, 'is_singular', { value: true })
647
- export class TransactionSubmissions extends Array<TransactionSubmission> {$count?: number}
648
- Object.defineProperty(TransactionSubmissions, 'name', { value: 'odatano.cardano.TransactionSubmissions' })
649
-
650
- export function _TransactionSubmissionErrorAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
651
- return class TransactionSubmissionError extends Base {
652
- declare id?: __.Key<string>
653
- declare submission?: __.Association.to<TransactionSubmission> | null
654
- declare submission_id?: string | null
655
- declare occurredAt?: number | null
656
- declare errorType?: string | null
657
- declare errorCode?: string | null
658
- declare errorMessage?: string | null
659
- declare errorDetails?: string | null
660
- declare isRecoverable?: boolean | null
661
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
662
- declare static readonly keys: __.KeysOf<TransactionSubmissionError>;
663
- declare static readonly elements: __.ElementsOf<TransactionSubmissionError>;
664
- declare static readonly actions: globalThis.Record<never, never>;
665
- };
666
- }
667
- export class TransactionSubmissionError extends _TransactionSubmissionErrorAspect(__.Entity) {}
668
- Object.defineProperty(TransactionSubmissionError, 'name', { value: 'odatano.cardano.TransactionSubmissionErrors' })
669
- Object.defineProperty(TransactionSubmissionError, 'is_singular', { value: true })
670
- export class TransactionSubmissionErrors extends Array<TransactionSubmissionError> {$count?: number}
671
- Object.defineProperty(TransactionSubmissionErrors, 'name', { value: 'odatano.cardano.TransactionSubmissionErrors' })
672
-
673
- export function _AddressTransactionAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
674
- return class AddressTransaction extends Base {
675
- declare address?: __.Key<__.Association.to<Address>>
676
- declare address_address?: __.Key<_.Bech32>
677
- declare tx?: __.Key<__.Association.to<Transaction>>
678
- declare tx_hash?: __.Key<_.Blake2b256>
679
- declare netAmount?: (number | string) | null
680
- declare blockTime?: number | null
681
- declare netAssets?: string | null
682
- declare hasAssets?: boolean | null
683
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
684
- declare static readonly keys: __.KeysOf<AddressTransaction>;
685
- declare static readonly elements: __.ElementsOf<AddressTransaction>;
686
- declare static readonly actions: globalThis.Record<never, never>;
687
- };
688
- }
689
- export class AddressTransaction extends _AddressTransactionAspect(__.Entity) {}
690
- Object.defineProperty(AddressTransaction, 'name', { value: 'odatano.cardano.AddressTransactions' })
691
- Object.defineProperty(AddressTransaction, 'is_singular', { value: true })
692
- export class AddressTransactions extends Array<AddressTransaction> {$count?: number}
693
- Object.defineProperty(AddressTransactions, 'name', { value: 'odatano.cardano.AddressTransactions' })
694
-
695
- export function _AddressSigningRequestAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
696
- return class AddressSigningRequest extends Base {
697
- declare address?: __.Key<__.Association.to<Address>>
698
- declare address_address?: __.Key<_.Bech32>
699
- declare signingRequest?: __.Key<__.Association.to<SigningRequest>>
700
- declare signingRequest_id?: __.Key<string>
701
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
702
- declare static readonly keys: __.KeysOf<AddressSigningRequest>;
703
- declare static readonly elements: __.ElementsOf<AddressSigningRequest>;
704
- declare static readonly actions: globalThis.Record<never, never>;
705
- };
706
- }
707
- export class AddressSigningRequest extends _AddressSigningRequestAspect(__.Entity) {}
708
- Object.defineProperty(AddressSigningRequest, 'name', { value: 'odatano.cardano.AddressSigningRequests' })
709
- Object.defineProperty(AddressSigningRequest, 'is_singular', { value: true })
710
- export class AddressSigningRequests extends Array<AddressSigningRequest> {$count?: number}
711
- Object.defineProperty(AddressSigningRequests, 'name', { value: 'odatano.cardano.AddressSigningRequests' })
712
-
713
- export function _AddressTransactionBuildAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
714
- return class AddressTransactionBuild extends Base {
715
- declare address?: __.Key<__.Association.to<Address>>
716
- declare address_address?: __.Key<_.Bech32>
717
- declare txBuild?: __.Key<__.Association.to<TransactionBuild>>
718
- declare txBuild_id?: __.Key<string>
719
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
720
- declare static readonly keys: __.KeysOf<AddressTransactionBuild>;
721
- declare static readonly elements: __.ElementsOf<AddressTransactionBuild>;
722
- declare static readonly actions: globalThis.Record<never, never>;
723
- };
724
- }
725
- export class AddressTransactionBuild extends _AddressTransactionBuildAspect(__.Entity) {}
726
- Object.defineProperty(AddressTransactionBuild, 'name', { value: 'odatano.cardano.AddressTransactionBuilds' })
727
- Object.defineProperty(AddressTransactionBuild, 'is_singular', { value: true })
728
- export class AddressTransactionBuilds extends Array<AddressTransactionBuild> {$count?: number}
729
- Object.defineProperty(AddressTransactionBuilds, 'name', { value: 'odatano.cardano.AddressTransactionBuilds' })
730
-
731
- export function _SigningRequestAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
732
- return class SigningRequest extends Base {
733
- declare id?: __.Key<string>
734
- declare build?: __.Association.to<TransactionBuild> | null
735
- declare build_id?: string | null
736
- declare txBodyHash?: _.Blake2b256 | null
737
- declare unsignedTxCbor?: string | null
738
- declare network?: string | null
739
- declare status?: _.SigningStatus | null
740
- declare createdAt?: __.CdsTimestamp | null
741
- declare expiresAt?: __.CdsTimestamp | null
742
- declare signedAt?: __.CdsTimestamp | null
743
- declare submittedAt?: __.CdsTimestamp | null
744
- declare cardanoCliCommand?: string | null
745
- declare cip30TxCbor?: string | null
746
- declare signedTxCbor?: string | null
747
- declare signerType?: string | null
748
- declare signerInfo?: string | null
749
- declare hsmKeyId?: string | null
750
- declare verifications?: __.Composition.of.many<SignatureVerifications>
751
- declare submission?: __.Association.to<TransactionSubmission> | null
752
- declare submission_id?: string | null
753
- declare errorMessage?: string | null
754
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
755
- declare static readonly keys: __.KeysOf<SigningRequest>;
756
- declare static readonly elements: __.ElementsOf<SigningRequest>;
757
- declare static readonly actions: globalThis.Record<never, never>;
758
- };
759
- }
760
- export class SigningRequest extends _SigningRequestAspect(__.Entity) {}
761
- Object.defineProperty(SigningRequest, 'name', { value: 'odatano.cardano.SigningRequests' })
762
- Object.defineProperty(SigningRequest, 'is_singular', { value: true })
763
- export class SigningRequests extends Array<SigningRequest> {$count?: number}
764
- Object.defineProperty(SigningRequests, 'name', { value: 'odatano.cardano.SigningRequests' })
765
-
766
- export function _SignatureVerificationAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
767
- return class SignatureVerification extends Base {
768
- declare id?: __.Key<string>
769
- declare signingRequest?: __.Association.to<SigningRequest> | null
770
- declare signingRequest_id?: string | null
771
- declare signedTxCbor?: string | null
772
- declare isValid?: boolean | null
773
- declare txBodyHash?: _.Blake2b256 | null
774
- declare witnessCount?: number | null
775
- declare signerKeyHashes?: string | null
776
- declare errorMessage?: string | null
777
- declare warnings?: string | null
778
- declare verifiedAt?: __.CdsTimestamp | null
779
- static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
780
- declare static readonly keys: __.KeysOf<SignatureVerification>;
781
- declare static readonly elements: __.ElementsOf<SignatureVerification>;
782
- declare static readonly actions: globalThis.Record<never, never>;
783
- };
784
- }
785
- export class SignatureVerification extends _SignatureVerificationAspect(__.Entity) {}
786
- Object.defineProperty(SignatureVerification, 'name', { value: 'odatano.cardano.SignatureVerifications' })
787
- Object.defineProperty(SignatureVerification, 'is_singular', { value: true })
788
- export class SignatureVerifications extends Array<SignatureVerification> {$count?: number}
789
- Object.defineProperty(SignatureVerifications, 'name', { value: 'odatano.cardano.SignatureVerifications' })