@odatano/core 1.7.4 → 1.7.6
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/CardanoODataService/index.d.ts +254 -0
- package/@cds-models/CardanoODataService/index.d.ts.map +1 -1
- package/@cds-models/CardanoODataService/index.js +33 -1
- package/@cds-models/CardanoODataService/index.js.map +1 -1
- package/@cds-models/CardanoODataService/index.ts +97 -0
- package/@cds-models/CardanoSignService/index.d.ts +6 -0
- package/@cds-models/CardanoSignService/index.d.ts.map +1 -1
- package/@cds-models/CardanoSignService/index.js.map +1 -1
- package/@cds-models/CardanoSignService/index.ts +1 -0
- package/@cds-models/CardanoTransactionService/index.d.ts +6 -0
- package/@cds-models/CardanoTransactionService/index.d.ts.map +1 -1
- package/@cds-models/CardanoTransactionService/index.js.map +1 -1
- package/@cds-models/CardanoTransactionService/index.ts +1 -0
- package/@cds-models/index.d.ts +278 -0
- package/@cds-models/index.d.ts.map +1 -1
- package/@cds-models/index.js +56 -1
- package/@cds-models/index.js.map +1 -1
- package/@cds-models/index.ts +88 -0
- package/@cds-models/odatano/cardano/index.d.ts +200 -0
- package/@cds-models/odatano/cardano/index.d.ts.map +1 -1
- package/@cds-models/odatano/cardano/index.js +34 -2
- package/@cds-models/odatano/cardano/index.js.map +1 -1
- package/@cds-models/odatano/cardano/index.ts +51 -0
- package/README.md +85 -233
- package/db/schema.cds +104 -1
- package/db/types.cds +135 -0
- package/package.json +3 -3
- package/src/index.d.ts.map +1 -1
- package/src/index.js +4 -1
- package/src/index.js.map +1 -1
- package/srv/blockchain/backends/blockfrost-backend.d.ts.map +1 -1
- package/srv/blockchain/backends/blockfrost-backend.js +92 -2
- package/srv/blockchain/backends/blockfrost-backend.js.map +1 -1
- package/srv/blockchain/backends/cardano-backend.d.ts.map +1 -1
- package/srv/blockchain/backends/cardano-backend.js.map +1 -1
- package/srv/blockchain/backends/koios-backend.d.ts.map +1 -1
- package/srv/blockchain/backends/koios-backend.js +141 -12
- package/srv/blockchain/backends/koios-backend.js.map +1 -1
- package/srv/blockchain/backends/ogmios-backend.d.ts.map +1 -1
- package/srv/blockchain/backends/ogmios-backend.js +10 -0
- package/srv/blockchain/backends/ogmios-backend.js.map +1 -1
- package/srv/blockchain/cardano-client.d.ts.map +1 -1
- package/srv/blockchain/cardano-client.js +45 -0
- package/srv/blockchain/cardano-client.js.map +1 -1
- package/srv/blockchain/cardano-indexer.d.ts.map +1 -1
- package/srv/blockchain/cardano-indexer.js +81 -0
- package/srv/blockchain/cardano-indexer.js.map +1 -1
- package/srv/blockchain/cardano-tx-builder.d.ts.map +1 -1
- package/srv/blockchain/cardano-tx-builder.js +4 -0
- package/srv/blockchain/cardano-tx-builder.js.map +1 -1
- package/srv/blockchain/transaction-building/buildooor-tx.d.ts.map +1 -1
- package/srv/blockchain/transaction-building/buildooor-tx.js +9 -26
- package/srv/blockchain/transaction-building/buildooor-tx.js.map +1 -1
- package/srv/blockchain/transaction-building/csl-tx.d.ts.map +1 -1
- package/srv/blockchain/transaction-building/csl-tx.js +4 -2
- package/srv/blockchain/transaction-building/csl-tx.js.map +1 -1
- package/srv/cardano-service.cds +40 -1
- package/srv/cardano-service.js +61 -1
- package/srv/cardano-service.js.map +1 -1
- package/srv/cbor/index.d.ts.map +1 -0
- package/srv/cbor/index.js +6 -0
- package/srv/cbor/index.js.map +1 -0
- package/srv/cbor/parse.d.ts.map +1 -0
- package/srv/cbor/parse.js +106 -0
- package/srv/cbor/parse.js.map +1 -0
- package/srv/server.js +5 -1
- package/srv/server.js.map +1 -1
- package/srv/utils/const.d.ts.map +1 -1
- package/srv/utils/const.js +13 -2
- package/srv/utils/const.js.map +1 -1
- package/srv/utils/error-codes.d.ts.map +1 -1
- package/srv/utils/error-codes.js +7 -0
- package/srv/utils/error-codes.js.map +1 -1
- package/srv/utils/errors.d.ts.map +1 -1
- package/srv/utils/errors.js +4 -2
- package/srv/utils/errors.js.map +1 -1
- package/srv/utils/mappers.d.ts.map +1 -1
- package/srv/utils/mappers.js +56 -1
- package/srv/utils/mappers.js.map +1 -1
- package/srv/utils/tx-build-helper.d.ts.map +1 -1
- package/srv/utils/tx-build-helper.js +56 -8
- package/srv/utils/tx-build-helper.js.map +1 -1
- package/srv/utils/types.d.ts.map +1 -1
- package/srv/utils/types.js.map +1 -1
- package/srv/utils/validators.d.ts.map +1 -1
- package/srv/utils/validators.js +43 -6
- package/srv/utils/validators.js.map +1 -1
package/@cds-models/index.js
CHANGED
|
@@ -33,13 +33,18 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.UTxODataSlice = exports.MetadataSlice = exports.AssetSlice = exports.temporal_ = exports.temporal = exports.managed_ = exports.managed = exports.cuid_ = exports.cuid = exports.SigningStatus = exports.SubmissionStatus = void 0;
|
|
36
|
+
exports.ParsedTransaction = exports.ParsedWitnesses = exports.ParsedOutput = exports.ParsedAsset = exports.ParsedInput = exports.UTxODataSlice = exports.MetadataSlice = exports.AssetSlice = exports.temporal_ = exports.temporal = exports.managed_ = exports.managed = exports.cuid_ = exports.cuid = exports.SigningStatus = exports.SubmissionStatus = void 0;
|
|
37
37
|
exports._cuidAspect = _cuidAspect;
|
|
38
38
|
exports._managedAspect = _managedAspect;
|
|
39
39
|
exports._temporalAspect = _temporalAspect;
|
|
40
40
|
exports._AssetSliceAspect = _AssetSliceAspect;
|
|
41
41
|
exports._MetadataSliceAspect = _MetadataSliceAspect;
|
|
42
42
|
exports._UTxODataSliceAspect = _UTxODataSliceAspect;
|
|
43
|
+
exports._ParsedInputAspect = _ParsedInputAspect;
|
|
44
|
+
exports._ParsedAssetAspect = _ParsedAssetAspect;
|
|
45
|
+
exports._ParsedOutputAspect = _ParsedOutputAspect;
|
|
46
|
+
exports._ParsedWitnessesAspect = _ParsedWitnessesAspect;
|
|
47
|
+
exports._ParsedTransactionAspect = _ParsedTransactionAspect;
|
|
43
48
|
// This is an automatically generated file. Please do not change its contents manually!
|
|
44
49
|
const __ = __importStar(require("./_"));
|
|
45
50
|
// enum
|
|
@@ -161,4 +166,54 @@ class UTxODataSlice extends _UTxODataSliceAspect(__.Entity) {
|
|
|
161
166
|
exports.UTxODataSlice = UTxODataSlice;
|
|
162
167
|
Object.defineProperty(UTxODataSlice, 'name', { value: 'UTxODataSlice' });
|
|
163
168
|
Object.defineProperty(UTxODataSlice, 'is_singular', { value: true });
|
|
169
|
+
function _ParsedInputAspect(Base) {
|
|
170
|
+
return class ParsedInput extends Base {
|
|
171
|
+
static kind = 'type';
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
class ParsedInput extends _ParsedInputAspect(__.Entity) {
|
|
175
|
+
}
|
|
176
|
+
exports.ParsedInput = ParsedInput;
|
|
177
|
+
Object.defineProperty(ParsedInput, 'name', { value: 'ParsedInput' });
|
|
178
|
+
Object.defineProperty(ParsedInput, 'is_singular', { value: true });
|
|
179
|
+
function _ParsedAssetAspect(Base) {
|
|
180
|
+
return class ParsedAsset extends Base {
|
|
181
|
+
static kind = 'type';
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
class ParsedAsset extends _ParsedAssetAspect(__.Entity) {
|
|
185
|
+
}
|
|
186
|
+
exports.ParsedAsset = ParsedAsset;
|
|
187
|
+
Object.defineProperty(ParsedAsset, 'name', { value: 'ParsedAsset' });
|
|
188
|
+
Object.defineProperty(ParsedAsset, 'is_singular', { value: true });
|
|
189
|
+
function _ParsedOutputAspect(Base) {
|
|
190
|
+
return class ParsedOutput extends Base {
|
|
191
|
+
static kind = 'type';
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
class ParsedOutput extends _ParsedOutputAspect(__.Entity) {
|
|
195
|
+
}
|
|
196
|
+
exports.ParsedOutput = ParsedOutput;
|
|
197
|
+
Object.defineProperty(ParsedOutput, 'name', { value: 'ParsedOutput' });
|
|
198
|
+
Object.defineProperty(ParsedOutput, 'is_singular', { value: true });
|
|
199
|
+
function _ParsedWitnessesAspect(Base) {
|
|
200
|
+
return class ParsedWitnesses extends Base {
|
|
201
|
+
static kind = 'type';
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
class ParsedWitnesses extends _ParsedWitnessesAspect(__.Entity) {
|
|
205
|
+
}
|
|
206
|
+
exports.ParsedWitnesses = ParsedWitnesses;
|
|
207
|
+
Object.defineProperty(ParsedWitnesses, 'name', { value: 'ParsedWitnesses' });
|
|
208
|
+
Object.defineProperty(ParsedWitnesses, 'is_singular', { value: true });
|
|
209
|
+
function _ParsedTransactionAspect(Base) {
|
|
210
|
+
return class ParsedTransaction extends Base {
|
|
211
|
+
static kind = 'type';
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
class ParsedTransaction extends _ParsedTransactionAspect(__.Entity) {
|
|
215
|
+
}
|
|
216
|
+
exports.ParsedTransaction = ParsedTransaction;
|
|
217
|
+
Object.defineProperty(ParsedTransaction, 'name', { value: 'ParsedTransaction' });
|
|
218
|
+
Object.defineProperty(ParsedTransaction, 'is_singular', { value: true });
|
|
164
219
|
//# sourceMappingURL=index.js.map
|
package/@cds-models/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCA,kCAQC;AAeD,wCAaC;AAeD,0CASC;AAcD,8CAYC;AAKD,oDASC;AAKD,oDAUC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCA,kCAQC;AAeD,wCAaC;AAeD,0CASC;AAcD,8CAYC;AAKD,oDASC;AAKD,oDAUC;AAKD,gDASC;AAKD,gDASC;AAKD,kDAaC;AAKD,wDAYC;AAKD,4DAoBC;AAjPD,uFAAuF;AACvF,wCAA0B;AAe1B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mB,EAAE,CAAC,CAAA;AAChF,MAAM,CAAC,cAAc,CAAC,iBAAiB,EAAE,aAAa,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAA"}
|
package/@cds-models/index.ts
CHANGED
|
@@ -155,3 +155,91 @@ export function _UTxODataSliceAspect<TBase extends new (...args: any[]) => objec
|
|
|
155
155
|
export class UTxODataSlice extends _UTxODataSliceAspect(__.Entity) {}
|
|
156
156
|
Object.defineProperty(UTxODataSlice, 'name', { value: 'UTxODataSlice' })
|
|
157
157
|
Object.defineProperty(UTxODataSlice, 'is_singular', { value: true })
|
|
158
|
+
|
|
159
|
+
export function _ParsedInputAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
160
|
+
return class ParsedInput extends Base {
|
|
161
|
+
declare txHash?: Blake2b256 | null
|
|
162
|
+
declare outputIndex?: number | null
|
|
163
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'type';
|
|
164
|
+
declare static readonly keys: __.KeysOf<ParsedInput>;
|
|
165
|
+
declare static readonly elements: __.ElementsOf<ParsedInput>;
|
|
166
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
export class ParsedInput extends _ParsedInputAspect(__.Entity) {}
|
|
170
|
+
Object.defineProperty(ParsedInput, 'name', { value: 'ParsedInput' })
|
|
171
|
+
Object.defineProperty(ParsedInput, 'is_singular', { value: true })
|
|
172
|
+
|
|
173
|
+
export function _ParsedAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
174
|
+
return class ParsedAsset extends Base {
|
|
175
|
+
declare unit?: AssetUnit | null
|
|
176
|
+
declare quantity?: string | null
|
|
177
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'type';
|
|
178
|
+
declare static readonly keys: __.KeysOf<ParsedAsset>;
|
|
179
|
+
declare static readonly elements: __.ElementsOf<ParsedAsset>;
|
|
180
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
export class ParsedAsset extends _ParsedAssetAspect(__.Entity) {}
|
|
184
|
+
Object.defineProperty(ParsedAsset, 'name', { value: 'ParsedAsset' })
|
|
185
|
+
Object.defineProperty(ParsedAsset, 'is_singular', { value: true })
|
|
186
|
+
|
|
187
|
+
export function _ParsedOutputAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
188
|
+
return class ParsedOutput extends Base {
|
|
189
|
+
declare address?: Bech32 | null
|
|
190
|
+
declare lovelace?: Lovelace | null
|
|
191
|
+
declare assets?: Array<ParsedAsset>
|
|
192
|
+
declare datumHash?: Blake2b256 | null
|
|
193
|
+
declare inlineDatumHex?: string | null
|
|
194
|
+
declare referenceScriptHex?: string | null
|
|
195
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'type';
|
|
196
|
+
declare static readonly keys: __.KeysOf<ParsedOutput>;
|
|
197
|
+
declare static readonly elements: __.ElementsOf<ParsedOutput>;
|
|
198
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
export class ParsedOutput extends _ParsedOutputAspect(__.Entity) {}
|
|
202
|
+
Object.defineProperty(ParsedOutput, 'name', { value: 'ParsedOutput' })
|
|
203
|
+
Object.defineProperty(ParsedOutput, 'is_singular', { value: true })
|
|
204
|
+
|
|
205
|
+
export function _ParsedWitnessesAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
206
|
+
return class ParsedWitnesses extends Base {
|
|
207
|
+
declare vkeyCount?: number | null
|
|
208
|
+
declare nativeScripts?: number | null
|
|
209
|
+
declare plutusScripts?: number | null
|
|
210
|
+
declare plutusData?: number | null
|
|
211
|
+
declare redeemers?: number | null
|
|
212
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'type';
|
|
213
|
+
declare static readonly keys: __.KeysOf<ParsedWitnesses>;
|
|
214
|
+
declare static readonly elements: __.ElementsOf<ParsedWitnesses>;
|
|
215
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
export class ParsedWitnesses extends _ParsedWitnessesAspect(__.Entity) {}
|
|
219
|
+
Object.defineProperty(ParsedWitnesses, 'name', { value: 'ParsedWitnesses' })
|
|
220
|
+
Object.defineProperty(ParsedWitnesses, 'is_singular', { value: true })
|
|
221
|
+
|
|
222
|
+
export function _ParsedTransactionAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
223
|
+
return class ParsedTransaction extends Base {
|
|
224
|
+
declare txHash?: Blake2b256 | null
|
|
225
|
+
declare network?: string | null
|
|
226
|
+
declare inputs?: Array<ParsedInput>
|
|
227
|
+
declare outputs?: Array<ParsedOutput>
|
|
228
|
+
declare validityStart?: string | null
|
|
229
|
+
declare validityEnd?: string | null
|
|
230
|
+
declare fee?: Lovelace | null
|
|
231
|
+
declare mint?: Array<ParsedAsset>
|
|
232
|
+
declare metadataLabels?: Array<string>
|
|
233
|
+
declare collateral?: Array<ParsedInput>
|
|
234
|
+
declare requiredSigners?: Array<Blake2b224>
|
|
235
|
+
declare scriptDataHash?: Blake2b256 | null
|
|
236
|
+
declare witnesses?: ParsedWitnesses | null
|
|
237
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'type';
|
|
238
|
+
declare static readonly keys: __.KeysOf<ParsedTransaction>;
|
|
239
|
+
declare static readonly elements: __.ElementsOf<ParsedTransaction>;
|
|
240
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
export class ParsedTransaction extends _ParsedTransactionAspect(__.Entity) {}
|
|
244
|
+
Object.defineProperty(ParsedTransaction, 'name', { value: 'ParsedTransaction' })
|
|
245
|
+
Object.defineProperty(ParsedTransaction, 'is_singular', { value: true })
|
|
@@ -370,6 +370,200 @@ export declare class Pool extends Pool_base {
|
|
|
370
370
|
export declare class Pools extends Array<Pool> {
|
|
371
371
|
$count?: number;
|
|
372
372
|
}
|
|
373
|
+
export declare function _AssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
374
|
+
new (...args: any[]): {
|
|
375
|
+
unit?: __.Key<_.AssetUnit>;
|
|
376
|
+
policyId?: _.Blake2b224 | null;
|
|
377
|
+
assetNameHex?: _.HexBytes | null;
|
|
378
|
+
assetName?: string | null;
|
|
379
|
+
fingerprint?: string | null;
|
|
380
|
+
totalSupply?: string | null;
|
|
381
|
+
mintOrBurnCount?: number | null;
|
|
382
|
+
initialMintTxHash?: _.Blake2b256 | null;
|
|
383
|
+
initialMintTime?: number | null;
|
|
384
|
+
onchainMetadata?: string | null;
|
|
385
|
+
registryName?: string | null;
|
|
386
|
+
registryTicker?: string | null;
|
|
387
|
+
registryDecimals?: number | null;
|
|
388
|
+
registryDescription?: string | null;
|
|
389
|
+
registryUrl?: string | null;
|
|
390
|
+
registryLogo?: string | null;
|
|
391
|
+
validFrom?: __.CdsTimestamp | null;
|
|
392
|
+
validTo?: __.CdsTimestamp | null;
|
|
393
|
+
};
|
|
394
|
+
readonly kind: "entity" | "type" | "aspect";
|
|
395
|
+
readonly keys: __.KeysOf<{
|
|
396
|
+
unit?: __.Key<_.AssetUnit>;
|
|
397
|
+
policyId?: _.Blake2b224 | null;
|
|
398
|
+
assetNameHex?: _.HexBytes | null;
|
|
399
|
+
assetName?: string | null;
|
|
400
|
+
fingerprint?: string | null;
|
|
401
|
+
totalSupply?: string | null;
|
|
402
|
+
mintOrBurnCount?: number | null;
|
|
403
|
+
initialMintTxHash?: _.Blake2b256 | null;
|
|
404
|
+
initialMintTime?: number | null;
|
|
405
|
+
onchainMetadata?: string | null;
|
|
406
|
+
registryName?: string | null;
|
|
407
|
+
registryTicker?: string | null;
|
|
408
|
+
registryDecimals?: number | null;
|
|
409
|
+
registryDescription?: string | null;
|
|
410
|
+
registryUrl?: string | null;
|
|
411
|
+
registryLogo?: string | null;
|
|
412
|
+
validFrom?: __.CdsTimestamp | null;
|
|
413
|
+
validTo?: __.CdsTimestamp | null;
|
|
414
|
+
}>;
|
|
415
|
+
readonly elements: __.ElementsOf<{
|
|
416
|
+
unit?: __.Key<_.AssetUnit>;
|
|
417
|
+
policyId?: _.Blake2b224 | null;
|
|
418
|
+
assetNameHex?: _.HexBytes | null;
|
|
419
|
+
assetName?: string | null;
|
|
420
|
+
fingerprint?: string | null;
|
|
421
|
+
totalSupply?: string | null;
|
|
422
|
+
mintOrBurnCount?: number | null;
|
|
423
|
+
initialMintTxHash?: _.Blake2b256 | null;
|
|
424
|
+
initialMintTime?: number | null;
|
|
425
|
+
onchainMetadata?: string | null;
|
|
426
|
+
registryName?: string | null;
|
|
427
|
+
registryTicker?: string | null;
|
|
428
|
+
registryDecimals?: number | null;
|
|
429
|
+
registryDescription?: string | null;
|
|
430
|
+
registryUrl?: string | null;
|
|
431
|
+
registryLogo?: string | null;
|
|
432
|
+
validFrom?: __.CdsTimestamp | null;
|
|
433
|
+
validTo?: __.CdsTimestamp | null;
|
|
434
|
+
}>;
|
|
435
|
+
readonly actions: typeof _.temporal.actions & globalThis.Record<never, never>;
|
|
436
|
+
} & TBase;
|
|
437
|
+
declare const Asset_base: {
|
|
438
|
+
new (...args: any[]): {
|
|
439
|
+
unit?: __.Key<_.AssetUnit>;
|
|
440
|
+
policyId?: _.Blake2b224 | null;
|
|
441
|
+
assetNameHex?: _.HexBytes | null;
|
|
442
|
+
assetName?: string | null;
|
|
443
|
+
fingerprint?: string | null;
|
|
444
|
+
totalSupply?: string | null;
|
|
445
|
+
mintOrBurnCount?: number | null;
|
|
446
|
+
initialMintTxHash?: _.Blake2b256 | null;
|
|
447
|
+
initialMintTime?: number | null;
|
|
448
|
+
onchainMetadata?: string | null;
|
|
449
|
+
registryName?: string | null;
|
|
450
|
+
registryTicker?: string | null;
|
|
451
|
+
registryDecimals?: number | null;
|
|
452
|
+
registryDescription?: string | null;
|
|
453
|
+
registryUrl?: string | null;
|
|
454
|
+
registryLogo?: string | null;
|
|
455
|
+
validFrom?: __.CdsTimestamp | null;
|
|
456
|
+
validTo?: __.CdsTimestamp | null;
|
|
457
|
+
};
|
|
458
|
+
readonly kind: "entity" | "type" | "aspect";
|
|
459
|
+
readonly keys: __.KeysOf<{
|
|
460
|
+
unit?: __.Key<_.AssetUnit>;
|
|
461
|
+
policyId?: _.Blake2b224 | null;
|
|
462
|
+
assetNameHex?: _.HexBytes | null;
|
|
463
|
+
assetName?: string | null;
|
|
464
|
+
fingerprint?: string | null;
|
|
465
|
+
totalSupply?: string | null;
|
|
466
|
+
mintOrBurnCount?: number | null;
|
|
467
|
+
initialMintTxHash?: _.Blake2b256 | null;
|
|
468
|
+
initialMintTime?: number | null;
|
|
469
|
+
onchainMetadata?: string | null;
|
|
470
|
+
registryName?: string | null;
|
|
471
|
+
registryTicker?: string | null;
|
|
472
|
+
registryDecimals?: number | null;
|
|
473
|
+
registryDescription?: string | null;
|
|
474
|
+
registryUrl?: string | null;
|
|
475
|
+
registryLogo?: string | null;
|
|
476
|
+
validFrom?: __.CdsTimestamp | null;
|
|
477
|
+
validTo?: __.CdsTimestamp | null;
|
|
478
|
+
}>;
|
|
479
|
+
readonly elements: __.ElementsOf<{
|
|
480
|
+
unit?: __.Key<_.AssetUnit>;
|
|
481
|
+
policyId?: _.Blake2b224 | null;
|
|
482
|
+
assetNameHex?: _.HexBytes | null;
|
|
483
|
+
assetName?: string | null;
|
|
484
|
+
fingerprint?: string | null;
|
|
485
|
+
totalSupply?: string | null;
|
|
486
|
+
mintOrBurnCount?: number | null;
|
|
487
|
+
initialMintTxHash?: _.Blake2b256 | null;
|
|
488
|
+
initialMintTime?: number | null;
|
|
489
|
+
onchainMetadata?: string | null;
|
|
490
|
+
registryName?: string | null;
|
|
491
|
+
registryTicker?: string | null;
|
|
492
|
+
registryDecimals?: number | null;
|
|
493
|
+
registryDescription?: string | null;
|
|
494
|
+
registryUrl?: string | null;
|
|
495
|
+
registryLogo?: string | null;
|
|
496
|
+
validFrom?: __.CdsTimestamp | null;
|
|
497
|
+
validTo?: __.CdsTimestamp | null;
|
|
498
|
+
}>;
|
|
499
|
+
readonly actions: typeof _.temporal.actions & globalThis.Record<never, never>;
|
|
500
|
+
} & typeof __.Entity;
|
|
501
|
+
export declare class Asset extends Asset_base {
|
|
502
|
+
}
|
|
503
|
+
export declare class Assets extends Array<Asset> {
|
|
504
|
+
$count?: number;
|
|
505
|
+
}
|
|
506
|
+
export declare function _AssetHistoryAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
507
|
+
new (...args: any[]): {
|
|
508
|
+
unit?: __.Key<_.AssetUnit>;
|
|
509
|
+
txHash?: __.Key<_.Blake2b256>;
|
|
510
|
+
action?: string | null;
|
|
511
|
+
quantity?: string | null;
|
|
512
|
+
blockTime?: number | null;
|
|
513
|
+
blockHeight?: number | null;
|
|
514
|
+
};
|
|
515
|
+
readonly kind: "entity" | "type" | "aspect";
|
|
516
|
+
readonly keys: __.KeysOf<{
|
|
517
|
+
unit?: __.Key<_.AssetUnit>;
|
|
518
|
+
txHash?: __.Key<_.Blake2b256>;
|
|
519
|
+
action?: string | null;
|
|
520
|
+
quantity?: string | null;
|
|
521
|
+
blockTime?: number | null;
|
|
522
|
+
blockHeight?: number | null;
|
|
523
|
+
}>;
|
|
524
|
+
readonly elements: __.ElementsOf<{
|
|
525
|
+
unit?: __.Key<_.AssetUnit>;
|
|
526
|
+
txHash?: __.Key<_.Blake2b256>;
|
|
527
|
+
action?: string | null;
|
|
528
|
+
quantity?: string | null;
|
|
529
|
+
blockTime?: number | null;
|
|
530
|
+
blockHeight?: number | null;
|
|
531
|
+
}>;
|
|
532
|
+
readonly actions: globalThis.Record<never, never>;
|
|
533
|
+
} & TBase;
|
|
534
|
+
declare const AssetHistory_base: {
|
|
535
|
+
new (...args: any[]): {
|
|
536
|
+
unit?: __.Key<_.AssetUnit>;
|
|
537
|
+
txHash?: __.Key<_.Blake2b256>;
|
|
538
|
+
action?: string | null;
|
|
539
|
+
quantity?: string | null;
|
|
540
|
+
blockTime?: number | null;
|
|
541
|
+
blockHeight?: number | null;
|
|
542
|
+
};
|
|
543
|
+
readonly kind: "entity" | "type" | "aspect";
|
|
544
|
+
readonly keys: __.KeysOf<{
|
|
545
|
+
unit?: __.Key<_.AssetUnit>;
|
|
546
|
+
txHash?: __.Key<_.Blake2b256>;
|
|
547
|
+
action?: string | null;
|
|
548
|
+
quantity?: string | null;
|
|
549
|
+
blockTime?: number | null;
|
|
550
|
+
blockHeight?: number | null;
|
|
551
|
+
}>;
|
|
552
|
+
readonly elements: __.ElementsOf<{
|
|
553
|
+
unit?: __.Key<_.AssetUnit>;
|
|
554
|
+
txHash?: __.Key<_.Blake2b256>;
|
|
555
|
+
action?: string | null;
|
|
556
|
+
quantity?: string | null;
|
|
557
|
+
blockTime?: number | null;
|
|
558
|
+
blockHeight?: number | null;
|
|
559
|
+
}>;
|
|
560
|
+
readonly actions: globalThis.Record<never, never>;
|
|
561
|
+
} & typeof __.Entity;
|
|
562
|
+
export declare class AssetHistory extends AssetHistory_base {
|
|
563
|
+
}
|
|
564
|
+
export declare class AssetHistory_ extends Array<AssetHistory> {
|
|
565
|
+
$count?: number;
|
|
566
|
+
}
|
|
373
567
|
export declare function _DrepAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
374
568
|
new (...args: any[]): {
|
|
375
569
|
drepId?: __.Key<string>;
|
|
@@ -444,6 +638,7 @@ export declare function _AddressAspect<TBase extends new (...args: any[]) => obj
|
|
|
444
638
|
type?: string | null;
|
|
445
639
|
isScript?: boolean | null;
|
|
446
640
|
totalLovelace?: _.Lovelace | null;
|
|
641
|
+
utxoCount?: number | null;
|
|
447
642
|
transactions?: __.Composition.of.many<AddressTransactions>;
|
|
448
643
|
assets?: __.Composition.of.many<AddressAssets>;
|
|
449
644
|
utxos?: __.Composition.of.many<AddressUTxOs>;
|
|
@@ -460,6 +655,7 @@ export declare function _AddressAspect<TBase extends new (...args: any[]) => obj
|
|
|
460
655
|
type?: string | null;
|
|
461
656
|
isScript?: boolean | null;
|
|
462
657
|
totalLovelace?: _.Lovelace | null;
|
|
658
|
+
utxoCount?: number | null;
|
|
463
659
|
transactions?: __.Composition.of.many<AddressTransactions>;
|
|
464
660
|
assets?: __.Composition.of.many<AddressAssets>;
|
|
465
661
|
utxos?: __.Composition.of.many<AddressUTxOs>;
|
|
@@ -475,6 +671,7 @@ export declare function _AddressAspect<TBase extends new (...args: any[]) => obj
|
|
|
475
671
|
type?: string | null;
|
|
476
672
|
isScript?: boolean | null;
|
|
477
673
|
totalLovelace?: _.Lovelace | null;
|
|
674
|
+
utxoCount?: number | null;
|
|
478
675
|
transactions?: __.Composition.of.many<AddressTransactions>;
|
|
479
676
|
assets?: __.Composition.of.many<AddressAssets>;
|
|
480
677
|
utxos?: __.Composition.of.many<AddressUTxOs>;
|
|
@@ -493,6 +690,7 @@ declare const Address_base: {
|
|
|
493
690
|
type?: string | null;
|
|
494
691
|
isScript?: boolean | null;
|
|
495
692
|
totalLovelace?: _.Lovelace | null;
|
|
693
|
+
utxoCount?: number | null;
|
|
496
694
|
transactions?: __.Composition.of.many<AddressTransactions>;
|
|
497
695
|
assets?: __.Composition.of.many<AddressAssets>;
|
|
498
696
|
utxos?: __.Composition.of.many<AddressUTxOs>;
|
|
@@ -509,6 +707,7 @@ declare const Address_base: {
|
|
|
509
707
|
type?: string | null;
|
|
510
708
|
isScript?: boolean | null;
|
|
511
709
|
totalLovelace?: _.Lovelace | null;
|
|
710
|
+
utxoCount?: number | null;
|
|
512
711
|
transactions?: __.Composition.of.many<AddressTransactions>;
|
|
513
712
|
assets?: __.Composition.of.many<AddressAssets>;
|
|
514
713
|
utxos?: __.Composition.of.many<AddressUTxOs>;
|
|
@@ -524,6 +723,7 @@ declare const Address_base: {
|
|
|
524
723
|
type?: string | null;
|
|
525
724
|
isScript?: boolean | null;
|
|
526
725
|
totalLovelace?: _.Lovelace | null;
|
|
726
|
+
utxoCount?: number | null;
|
|
527
727
|
transactions?: __.Composition.of.many<AddressTransactions>;
|
|
528
728
|
assets?: __.Composition.of.many<AddressAssets>;
|
|
529
729
|
utxos?: __.Composition.of.many<AddressUTxOs>;
|