@odatano/core 2.0.0-rc.42 → 2.0.0-rc.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@cds-models/CardanoIndexerService/index.d.ts +78 -0
- package/@cds-models/CardanoIndexerService/index.js +11 -0
- package/@cds-models/CardanoODataService/index.d.ts +36 -0
- package/@cds-models/CardanoODataService/index.js +4 -0
- package/@cds-models/CardanoSignService/index.d.ts +1 -0
- package/@cds-models/CardanoTransactionService/index.d.ts +1 -0
- package/@cds-models/index.d.ts +1 -0
- package/@cds-models/odatano/cardano/index.d.ts +25 -0
- package/@cds-models/odatano/cardano/index.js +3 -0
- package/README.md +195 -195
- package/db/schema.cds +27 -0
- package/db/types.cds +421 -417
- package/package.json +1 -1
- package/srv/blockchain/asset-decimals.d.ts +16 -0
- package/srv/blockchain/asset-decimals.js +86 -0
- package/srv/blockchain/backends/ogmios-backend.js +1 -0
- package/srv/blockchain/cardano-indexer.js +10 -1
- package/srv/blockchain/crawler/asset-decimals-backfill.d.ts +20 -0
- package/srv/blockchain/crawler/asset-decimals-backfill.js +59 -0
- package/srv/blockchain/crawler/credential-backfill.d.ts +38 -0
- package/srv/blockchain/crawler/credential-backfill.js +126 -0
- package/srv/blockchain/crawler/transaction-backfill.d.ts +3 -2
- package/srv/blockchain/crawler/transaction-backfill.js +8 -4
- package/srv/blockchain/ledger-state.d.ts +1 -0
- package/srv/blockchain/ledger-state.js +1 -0
- package/srv/blockchain/stored-chain.js +5 -1
- package/srv/blockchain/transaction-rows.d.ts +1 -1
- package/srv/blockchain/transaction-rows.js +2 -1
- package/srv/cardano-indexer-service.cds +48 -2
- package/srv/cardano-indexer-service.js +47 -2
- package/srv/cardano-service.cds +344 -332
- package/srv/cardano-service.js +9 -0
- package/srv/cbor/cip68.d.ts +17 -0
- package/srv/cbor/cip68.js +58 -0
- package/srv/cbor/index.d.ts +2 -0
- package/srv/cbor/index.js +9 -1
- package/srv/cbor/plutus-data-json.d.ts +24 -0
- package/srv/cbor/plutus-data-json.js +32 -0
- package/srv/utils/agent-grants.js +1 -1
- package/srv/utils/db-indexes.js +5 -0
- package/srv/utils/mappers.d.ts +6 -2
- package/srv/utils/mappers.js +16 -0
- package/srv/utils/types.d.ts +9 -0
|
@@ -27,6 +27,8 @@ export default class {
|
|
|
27
27
|
static readonly importUtxoSet: typeof importUtxoSet;
|
|
28
28
|
static readonly backfillCertificates: typeof backfillCertificates;
|
|
29
29
|
static readonly backfillTransactions: typeof backfillTransactions;
|
|
30
|
+
static readonly backfillPaymentCredentials: typeof backfillPaymentCredentials;
|
|
31
|
+
static readonly backfillAssetDecimals: typeof backfillAssetDecimals;
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
// entity 'SyncState'
|
|
@@ -104,6 +106,8 @@ export declare function _CrawlerStatusAspect<TBase extends new (...args: any[])
|
|
|
104
106
|
utxoSet?: UtxoSetStatus | null
|
|
105
107
|
certificateBackfill?: CertificateBackfillStatus | null
|
|
106
108
|
transactionBackfill?: TransactionBackfillStatus | null
|
|
109
|
+
credentialBackfill?: CredentialBackfillStatus | null
|
|
110
|
+
decimalsBackfill?: DecimalsBackfillStatus | null
|
|
107
111
|
epochSnapshots?: EpochSnapshotStatus | null
|
|
108
112
|
} & InstanceType<TBase>
|
|
109
113
|
readonly kind: 'type';
|
|
@@ -164,6 +168,7 @@ export declare function _TransactionBackfillStatusAspect<TBase extends new (...a
|
|
|
164
168
|
transactions?: number | null
|
|
165
169
|
inputs?: number | null
|
|
166
170
|
redeemers?: number | null
|
|
171
|
+
datums?: number | null
|
|
167
172
|
rewritten?: number | null
|
|
168
173
|
skipped?: number | null
|
|
169
174
|
startedAt?: __.CdsTimestamp | null
|
|
@@ -178,6 +183,59 @@ export declare function _TransactionBackfillStatusAspect<TBase extends new (...a
|
|
|
178
183
|
export class TransactionBackfillStatus extends _TransactionBackfillStatusAspect(__.Entity) {
|
|
179
184
|
}
|
|
180
185
|
|
|
186
|
+
// entity 'CredentialBackfillStatus'
|
|
187
|
+
export declare function _CredentialBackfillStatusAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
188
|
+
new (...args: any[]): {
|
|
189
|
+
status?: string | null
|
|
190
|
+
table?: string | null
|
|
191
|
+
outputs?: number | null
|
|
192
|
+
inputs?: number | null
|
|
193
|
+
ledgerUtxos?: number | null
|
|
194
|
+
startedAt?: __.CdsTimestamp | null
|
|
195
|
+
finishedAt?: __.CdsTimestamp | null
|
|
196
|
+
error?: string | null
|
|
197
|
+
} & InstanceType<TBase>
|
|
198
|
+
readonly kind: 'type';
|
|
199
|
+
readonly keys: __.KeysOf<CredentialBackfillStatus>;
|
|
200
|
+
readonly elements: __.ElementsOf<CredentialBackfillStatus>;
|
|
201
|
+
readonly actions: globalThis.Record<never, never>;
|
|
202
|
+
};
|
|
203
|
+
export class CredentialBackfillStatus extends _CredentialBackfillStatusAspect(__.Entity) {
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
// entity 'DecimalsBackfillStatus'
|
|
207
|
+
export declare function _DecimalsBackfillStatusAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
208
|
+
new (...args: any[]): {
|
|
209
|
+
status?: string | null
|
|
210
|
+
scanned?: number | null
|
|
211
|
+
candidates?: number | null
|
|
212
|
+
filled?: number | null
|
|
213
|
+
startedAt?: __.CdsTimestamp | null
|
|
214
|
+
finishedAt?: __.CdsTimestamp | null
|
|
215
|
+
error?: string | null
|
|
216
|
+
} & InstanceType<TBase>
|
|
217
|
+
readonly kind: 'type';
|
|
218
|
+
readonly keys: __.KeysOf<DecimalsBackfillStatus>;
|
|
219
|
+
readonly elements: __.ElementsOf<DecimalsBackfillStatus>;
|
|
220
|
+
readonly actions: globalThis.Record<never, never>;
|
|
221
|
+
};
|
|
222
|
+
export class DecimalsBackfillStatus extends _DecimalsBackfillStatusAspect(__.Entity) {
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
// entity 'BackfillResult'
|
|
226
|
+
export declare function _BackfillResultAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
227
|
+
new (...args: any[]): {
|
|
228
|
+
accepted?: boolean | null
|
|
229
|
+
message?: string | null
|
|
230
|
+
} & InstanceType<TBase>
|
|
231
|
+
readonly kind: 'type';
|
|
232
|
+
readonly keys: __.KeysOf<BackfillResult>;
|
|
233
|
+
readonly elements: __.ElementsOf<BackfillResult>;
|
|
234
|
+
readonly actions: globalThis.Record<never, never>;
|
|
235
|
+
};
|
|
236
|
+
export class BackfillResult extends _BackfillResultAspect(__.Entity) {
|
|
237
|
+
}
|
|
238
|
+
|
|
181
239
|
// entity 'CertificateBackfillResult'
|
|
182
240
|
export declare function _CertificateBackfillResultAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
183
241
|
new (...args: any[]): {
|
|
@@ -331,4 +389,24 @@ export declare const backfillTransactions: {
|
|
|
331
389
|
// metadata (do not use)
|
|
332
390
|
__parameters: {fromSlot?: number | null, toSlot?: number | null}, __returns: globalThis.Promise<CertificateBackfillResult | null> | CertificateBackfillResult | null, __self: never
|
|
333
391
|
kind: 'action'
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export declare const backfillPaymentCredentials: {
|
|
395
|
+
// positional
|
|
396
|
+
(): globalThis.Promise<BackfillResult | null> | BackfillResult | null
|
|
397
|
+
// named
|
|
398
|
+
({}: globalThis.Record<never, never>): globalThis.Promise<BackfillResult | null> | BackfillResult | null
|
|
399
|
+
// metadata (do not use)
|
|
400
|
+
__parameters: globalThis.Record<never, never>, __returns: globalThis.Promise<BackfillResult | null> | BackfillResult | null, __self: never
|
|
401
|
+
kind: 'action'
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export declare const backfillAssetDecimals: {
|
|
405
|
+
// positional
|
|
406
|
+
(): globalThis.Promise<BackfillResult | null> | BackfillResult | null
|
|
407
|
+
// named
|
|
408
|
+
({}: globalThis.Record<never, never>): globalThis.Promise<BackfillResult | null> | BackfillResult | null
|
|
409
|
+
// metadata (do not use)
|
|
410
|
+
__parameters: globalThis.Record<never, never>, __returns: globalThis.Promise<BackfillResult | null> | BackfillResult | null, __self: never
|
|
411
|
+
kind: 'action'
|
|
334
412
|
}
|
|
@@ -22,6 +22,15 @@ module.exports.__Array_CertificateBackfillStatus_ = createEntityProxy(['CardanoI
|
|
|
22
22
|
// TransactionBackfillStatus
|
|
23
23
|
module.exports.TransactionBackfillStatus = createEntityProxy(['CardanoIndexerService', 'TransactionBackfillStatus'], { target: { is_singular: true } })
|
|
24
24
|
module.exports.__Array_TransactionBackfillStatus_ = createEntityProxy(['CardanoIndexerService', 'TransactionBackfillStatus'], { target: { is_singular: false }})
|
|
25
|
+
// CredentialBackfillStatus
|
|
26
|
+
module.exports.CredentialBackfillStatus = createEntityProxy(['CardanoIndexerService', 'CredentialBackfillStatus'], { target: { is_singular: true } })
|
|
27
|
+
module.exports.__Array_CredentialBackfillStatus_ = createEntityProxy(['CardanoIndexerService', 'CredentialBackfillStatus'], { target: { is_singular: false }})
|
|
28
|
+
// DecimalsBackfillStatus
|
|
29
|
+
module.exports.DecimalsBackfillStatus = createEntityProxy(['CardanoIndexerService', 'DecimalsBackfillStatus'], { target: { is_singular: true } })
|
|
30
|
+
module.exports.__Array_DecimalsBackfillStatus_ = createEntityProxy(['CardanoIndexerService', 'DecimalsBackfillStatus'], { target: { is_singular: false }})
|
|
31
|
+
// BackfillResult
|
|
32
|
+
module.exports.BackfillResult = createEntityProxy(['CardanoIndexerService', 'BackfillResult'], { target: { is_singular: true } })
|
|
33
|
+
module.exports.__Array_BackfillResult_ = createEntityProxy(['CardanoIndexerService', 'BackfillResult'], { target: { is_singular: false }})
|
|
25
34
|
// CertificateBackfillResult
|
|
26
35
|
module.exports.CertificateBackfillResult = createEntityProxy(['CardanoIndexerService', 'CertificateBackfillResult'], { target: { is_singular: true } })
|
|
27
36
|
module.exports.__Array_CertificateBackfillResult_ = createEntityProxy(['CardanoIndexerService', 'CertificateBackfillResult'], { target: { is_singular: false }})
|
|
@@ -45,4 +54,6 @@ module.exports.resumeCrawler = 'resumeCrawler'
|
|
|
45
54
|
module.exports.importUtxoSet = 'importUtxoSet'
|
|
46
55
|
module.exports.backfillCertificates = 'backfillCertificates'
|
|
47
56
|
module.exports.backfillTransactions = 'backfillTransactions'
|
|
57
|
+
module.exports.backfillPaymentCredentials = 'backfillPaymentCredentials'
|
|
58
|
+
module.exports.backfillAssetDecimals = 'backfillAssetDecimals'
|
|
48
59
|
// enums
|
|
@@ -52,6 +52,7 @@ export default class {
|
|
|
52
52
|
static readonly GetLatestEpoch: typeof GetLatestEpoch;
|
|
53
53
|
static readonly GetLedgerProtocolParameters: typeof GetLedgerProtocolParameters;
|
|
54
54
|
static readonly ParseTransactionCbor: typeof ParseTransactionCbor;
|
|
55
|
+
static readonly DecodePlutusData: typeof DecodePlutusData;
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
// entity 'NetworkInformation'
|
|
@@ -294,6 +295,7 @@ export declare function _AssetAspect<TBase extends new (...args: any[]) => objec
|
|
|
294
295
|
registryName?: string | null
|
|
295
296
|
registryTicker?: string | null
|
|
296
297
|
registryDecimals?: number | null
|
|
298
|
+
decimals?: number | null
|
|
297
299
|
registryDescription?: string | null
|
|
298
300
|
registryUrl?: string | null
|
|
299
301
|
registryLogo?: string | null
|
|
@@ -348,6 +350,7 @@ export declare function _TransactionAspect<TBase extends new (...args: any[]) =>
|
|
|
348
350
|
outputs?: __.Composition.of.many<TransactionOutputs>
|
|
349
351
|
certificates?: __.Composition.of.many<TransactionCertificates>
|
|
350
352
|
withdrawals?: __.Composition.of.many<TransactionWithdrawals>
|
|
353
|
+
datums?: __.Composition.of.many<TransactionDatums>
|
|
351
354
|
hasMetadata?: boolean | null
|
|
352
355
|
hasInputs?: boolean | null
|
|
353
356
|
hasOutputs?: boolean | null
|
|
@@ -376,6 +379,7 @@ export declare function _TransactionInputAspect<TBase extends new (...args: any[
|
|
|
376
379
|
utxoData_referenceScriptHash?: _.Blake2b256 | null
|
|
377
380
|
utxoData_referenceScriptSize?: number | null
|
|
378
381
|
utxoData_referenceScriptType?: string | null
|
|
382
|
+
utxoData_paymentCredential?: string | null
|
|
379
383
|
spentTxHash?: _.Blake2b256 | null
|
|
380
384
|
spentOutputIndex?: number | null
|
|
381
385
|
isCollateral?: boolean | null
|
|
@@ -408,6 +412,7 @@ export declare function _TransactionOutputAspect<TBase extends new (...args: any
|
|
|
408
412
|
utxo_referenceScriptHash?: _.Blake2b256 | null
|
|
409
413
|
utxo_referenceScriptSize?: number | null
|
|
410
414
|
utxo_referenceScriptType?: string | null
|
|
415
|
+
utxo_paymentCredential?: string | null
|
|
411
416
|
assets?: __.Composition.of.many<TransactionOutputAssets>
|
|
412
417
|
hasAddresses?: boolean | null
|
|
413
418
|
hasAssets?: boolean | null
|
|
@@ -539,6 +544,25 @@ export class TransactionRedeemers extends Array<TransactionRedeemer> {
|
|
|
539
544
|
$count?: number
|
|
540
545
|
}
|
|
541
546
|
|
|
547
|
+
// entity 'TransactionDatum'
|
|
548
|
+
export declare function _TransactionDatumAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
549
|
+
new (...args: any[]): {
|
|
550
|
+
tx?: __.Key<__.Association.to<Transaction>>
|
|
551
|
+
tx_hash?: __.Key<_.Blake2b256>
|
|
552
|
+
dataHash?: __.Key<_.Blake2b256>
|
|
553
|
+
datum?: string | null
|
|
554
|
+
} & InstanceType<TBase>
|
|
555
|
+
readonly kind: 'entity';
|
|
556
|
+
readonly keys: __.KeysOf<TransactionDatum>;
|
|
557
|
+
readonly elements: __.ElementsOf<TransactionDatum>;
|
|
558
|
+
readonly actions: globalThis.Record<never, never>;
|
|
559
|
+
};
|
|
560
|
+
export class TransactionDatum extends _TransactionDatumAspect(__.Entity) {
|
|
561
|
+
}
|
|
562
|
+
export class TransactionDatums extends Array<TransactionDatum> {
|
|
563
|
+
$count?: number
|
|
564
|
+
}
|
|
565
|
+
|
|
542
566
|
// entity 'LedgerUTxO'
|
|
543
567
|
export declare function _LedgerUTxOAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
544
568
|
new (...args: any[]): {
|
|
@@ -557,6 +581,7 @@ export declare function _LedgerUTxOAspect<TBase extends new (...args: any[]) =>
|
|
|
557
581
|
utxo_referenceScriptHash?: _.Blake2b256 | null
|
|
558
582
|
utxo_referenceScriptSize?: number | null
|
|
559
583
|
utxo_referenceScriptType?: string | null
|
|
584
|
+
utxo_paymentCredential?: string | null
|
|
560
585
|
hasAssets?: boolean | null
|
|
561
586
|
assets?: __.Composition.of.many<LedgerUTxOAssets>
|
|
562
587
|
} & InstanceType<TBase>
|
|
@@ -766,6 +791,7 @@ export declare function _AddressUTxOAspect<TBase extends new (...args: any[]) =>
|
|
|
766
791
|
utxodata_referenceScriptHash?: _.Blake2b256 | null
|
|
767
792
|
utxodata_referenceScriptSize?: number | null
|
|
768
793
|
utxodata_referenceScriptType?: string | null
|
|
794
|
+
utxodata_paymentCredential?: string | null
|
|
769
795
|
lovelace?: _.Lovelace | null
|
|
770
796
|
assets?: __.Composition.of.many<UTxOAssets>
|
|
771
797
|
hasAssets?: boolean | null
|
|
@@ -1101,4 +1127,14 @@ export declare const ParseTransactionCbor: {
|
|
|
1101
1127
|
// metadata (do not use)
|
|
1102
1128
|
__parameters: {cbor?: string | null}, __returns: globalThis.Promise<_.ParsedTransaction | null> | _.ParsedTransaction | null, __self: never
|
|
1103
1129
|
kind: 'action'
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
export declare const DecodePlutusData: {
|
|
1133
|
+
// positional
|
|
1134
|
+
(cbor: string | null): globalThis.Promise<string | null> | string | null
|
|
1135
|
+
// named
|
|
1136
|
+
({cbor}: {cbor?: string | null}): globalThis.Promise<string | null> | string | null
|
|
1137
|
+
// metadata (do not use)
|
|
1138
|
+
__parameters: {cbor?: string | null}, __returns: globalThis.Promise<string | null> | string | null, __self: never
|
|
1139
|
+
kind: 'action'
|
|
1104
1140
|
}
|
|
@@ -58,6 +58,9 @@ module.exports.TransactionWithdrawals = createEntityProxy(['CardanoODataService'
|
|
|
58
58
|
// TransactionRedeemers
|
|
59
59
|
module.exports.TransactionRedeemer = createEntityProxy(['CardanoODataService', 'TransactionRedeemers'], { target: { is_singular: true } })
|
|
60
60
|
module.exports.TransactionRedeemers = createEntityProxy(['CardanoODataService', 'TransactionRedeemers'], { target: { is_singular: false }})
|
|
61
|
+
// TransactionDatums
|
|
62
|
+
module.exports.TransactionDatum = createEntityProxy(['CardanoODataService', 'TransactionDatums'], { target: { is_singular: true } })
|
|
63
|
+
module.exports.TransactionDatums = createEntityProxy(['CardanoODataService', 'TransactionDatums'], { target: { is_singular: false }})
|
|
61
64
|
// LedgerUTxOs
|
|
62
65
|
module.exports.LedgerUTxO = createEntityProxy(['CardanoODataService', 'LedgerUTxOs'], { target: { is_singular: true } })
|
|
63
66
|
module.exports.LedgerUTxOs = createEntityProxy(['CardanoODataService', 'LedgerUTxOs'], { target: { is_singular: false }})
|
|
@@ -119,4 +122,5 @@ module.exports.GetLatestBlock = 'GetLatestBlock'
|
|
|
119
122
|
module.exports.GetLatestEpoch = 'GetLatestEpoch'
|
|
120
123
|
module.exports.GetLedgerProtocolParameters = 'GetLedgerProtocolParameters'
|
|
121
124
|
module.exports.ParseTransactionCbor = 'ParseTransactionCbor'
|
|
125
|
+
module.exports.DecodePlutusData = 'DecodePlutusData'
|
|
122
126
|
// enums
|
|
@@ -363,6 +363,7 @@ export declare function _AddressUTxOAspect<TBase extends new (...args: any[]) =>
|
|
|
363
363
|
utxodata_referenceScriptHash?: _.Blake2b256 | null
|
|
364
364
|
utxodata_referenceScriptSize?: number | null
|
|
365
365
|
utxodata_referenceScriptType?: string | null
|
|
366
|
+
utxodata_paymentCredential?: string | null
|
|
366
367
|
lovelace?: _.Lovelace | null
|
|
367
368
|
assets?: __.Composition.of.many<UTxOAssets>
|
|
368
369
|
hasAssets?: boolean | null
|
|
@@ -370,6 +370,7 @@ export declare function _AddressUTxOAspect<TBase extends new (...args: any[]) =>
|
|
|
370
370
|
utxodata_referenceScriptHash?: _.Blake2b256 | null
|
|
371
371
|
utxodata_referenceScriptSize?: number | null
|
|
372
372
|
utxodata_referenceScriptType?: string | null
|
|
373
|
+
utxodata_paymentCredential?: string | null
|
|
373
374
|
lovelace?: _.Lovelace | null
|
|
374
375
|
assets?: __.Composition.of.many<UTxOAssets>
|
|
375
376
|
hasAssets?: boolean | null
|
package/@cds-models/index.d.ts
CHANGED
|
@@ -221,6 +221,7 @@ export declare function _UTxODataSliceAspect<TBase extends new (...args: any[])
|
|
|
221
221
|
referenceScriptHash?: Blake2b256 | null
|
|
222
222
|
referenceScriptSize?: number | null
|
|
223
223
|
referenceScriptType?: string | null
|
|
224
|
+
paymentCredential?: string | null
|
|
224
225
|
} & InstanceType<TBase>
|
|
225
226
|
readonly kind: 'type';
|
|
226
227
|
readonly keys: __.KeysOf<UTxODataSlice>;
|
|
@@ -218,6 +218,7 @@ export declare function _AssetAspect<TBase extends new (...args: any[]) => objec
|
|
|
218
218
|
registryName?: string | null
|
|
219
219
|
registryTicker?: string | null
|
|
220
220
|
registryDecimals?: number | null
|
|
221
|
+
decimals?: number | null
|
|
221
222
|
registryDescription?: string | null
|
|
222
223
|
registryUrl?: string | null
|
|
223
224
|
registryLogo?: string | null
|
|
@@ -347,6 +348,7 @@ export declare function _AddressUTxOAspect<TBase extends new (...args: any[]) =>
|
|
|
347
348
|
utxodata_referenceScriptHash?: _.Blake2b256 | null
|
|
348
349
|
utxodata_referenceScriptSize?: number | null
|
|
349
350
|
utxodata_referenceScriptType?: string | null
|
|
351
|
+
utxodata_paymentCredential?: string | null
|
|
350
352
|
lovelace?: _.Lovelace | null
|
|
351
353
|
assets?: __.Composition.of.many<UTxOAssets>
|
|
352
354
|
hasAssets?: boolean | null
|
|
@@ -439,6 +441,7 @@ export declare function _TransactionAspect<TBase extends new (...args: any[]) =>
|
|
|
439
441
|
outputs?: __.Composition.of.many<TransactionOutputs>
|
|
440
442
|
certificates?: __.Composition.of.many<TransactionCertificates>
|
|
441
443
|
withdrawals?: __.Composition.of.many<TransactionWithdrawals>
|
|
444
|
+
datums?: __.Composition.of.many<TransactionDatums>
|
|
442
445
|
hasMetadata?: boolean | null
|
|
443
446
|
hasInputs?: boolean | null
|
|
444
447
|
hasOutputs?: boolean | null
|
|
@@ -467,6 +470,7 @@ export declare function _TransactionInputAspect<TBase extends new (...args: any[
|
|
|
467
470
|
utxoData_referenceScriptHash?: _.Blake2b256 | null
|
|
468
471
|
utxoData_referenceScriptSize?: number | null
|
|
469
472
|
utxoData_referenceScriptType?: string | null
|
|
473
|
+
utxoData_paymentCredential?: string | null
|
|
470
474
|
spentTxHash?: _.Blake2b256 | null
|
|
471
475
|
spentOutputIndex?: number | null
|
|
472
476
|
isCollateral?: boolean | null
|
|
@@ -528,6 +532,7 @@ export declare function _LedgerUTxOAspect<TBase extends new (...args: any[]) =>
|
|
|
528
532
|
utxo_referenceScriptHash?: _.Blake2b256 | null
|
|
529
533
|
utxo_referenceScriptSize?: number | null
|
|
530
534
|
utxo_referenceScriptType?: string | null
|
|
535
|
+
utxo_paymentCredential?: string | null
|
|
531
536
|
hasAssets?: boolean | null
|
|
532
537
|
assets?: __.Composition.of.many<LedgerUTxOAssets>
|
|
533
538
|
} & InstanceType<TBase>
|
|
@@ -704,6 +709,25 @@ export class TransactionRedeemers extends Array<TransactionRedeemer> {
|
|
|
704
709
|
$count?: number
|
|
705
710
|
}
|
|
706
711
|
|
|
712
|
+
// entity 'TransactionDatum'
|
|
713
|
+
export declare function _TransactionDatumAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
714
|
+
new (...args: any[]): {
|
|
715
|
+
tx?: __.Key<__.Association.to<Transaction>>
|
|
716
|
+
tx_hash?: __.Key<_.Blake2b256>
|
|
717
|
+
dataHash?: __.Key<_.Blake2b256>
|
|
718
|
+
datum?: string | null
|
|
719
|
+
} & InstanceType<TBase>
|
|
720
|
+
readonly kind: 'entity';
|
|
721
|
+
readonly keys: __.KeysOf<TransactionDatum>;
|
|
722
|
+
readonly elements: __.ElementsOf<TransactionDatum>;
|
|
723
|
+
readonly actions: globalThis.Record<never, never>;
|
|
724
|
+
};
|
|
725
|
+
export class TransactionDatum extends _TransactionDatumAspect(__.Entity) {
|
|
726
|
+
}
|
|
727
|
+
export class TransactionDatums extends Array<TransactionDatum> {
|
|
728
|
+
$count?: number
|
|
729
|
+
}
|
|
730
|
+
|
|
707
731
|
// entity 'TransactionOutput'
|
|
708
732
|
export declare function _TransactionOutputAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
709
733
|
new (...args: any[]): {
|
|
@@ -717,6 +741,7 @@ export declare function _TransactionOutputAspect<TBase extends new (...args: any
|
|
|
717
741
|
utxo_referenceScriptHash?: _.Blake2b256 | null
|
|
718
742
|
utxo_referenceScriptSize?: number | null
|
|
719
743
|
utxo_referenceScriptType?: string | null
|
|
744
|
+
utxo_paymentCredential?: string | null
|
|
720
745
|
assets?: __.Composition.of.many<TransactionOutputAssets>
|
|
721
746
|
hasAddresses?: boolean | null
|
|
722
747
|
hasAssets?: boolean | null
|
|
@@ -78,6 +78,9 @@ module.exports.TransactionWithdrawals = createEntityProxy(['odatano.cardano', 'T
|
|
|
78
78
|
// TransactionRedeemers
|
|
79
79
|
module.exports.TransactionRedeemer = createEntityProxy(['odatano.cardano', 'TransactionRedeemers'], { target: { is_singular: true } })
|
|
80
80
|
module.exports.TransactionRedeemers = createEntityProxy(['odatano.cardano', 'TransactionRedeemers'], { target: { is_singular: false }})
|
|
81
|
+
// TransactionDatums
|
|
82
|
+
module.exports.TransactionDatum = createEntityProxy(['odatano.cardano', 'TransactionDatums'], { target: { is_singular: true } })
|
|
83
|
+
module.exports.TransactionDatums = createEntityProxy(['odatano.cardano', 'TransactionDatums'], { target: { is_singular: false }})
|
|
81
84
|
// TransactionOutputs
|
|
82
85
|
module.exports.TransactionOutput = createEntityProxy(['odatano.cardano', 'TransactionOutputs'], { target: { is_singular: true } })
|
|
83
86
|
module.exports.TransactionOutputs = createEntityProxy(['odatano.cardano', 'TransactionOutputs'], { target: { is_singular: false }})
|