@odatano/core 0.3.17 → 0.3.18
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 +434 -427
- package/@cds-models/CardanoODataService/index.d.ts.map +1 -1
- package/@cds-models/CardanoODataService/index.js +7 -0
- package/@cds-models/CardanoODataService/index.js.map +1 -1
- package/@cds-models/CardanoODataService/index.ts +99 -92
- package/@cds-models/CardanoSignService/index.d.ts +1549 -0
- package/@cds-models/CardanoSignService/index.d.ts.map +1 -0
- package/@cds-models/CardanoSignService/index.js +291 -0
- package/@cds-models/CardanoSignService/index.js.map +1 -0
- package/@cds-models/CardanoSignService/index.ts +519 -0
- package/@cds-models/CardanoTransactionService/index.d.ts +338 -815
- package/@cds-models/CardanoTransactionService/index.d.ts.map +1 -1
- package/@cds-models/CardanoTransactionService/index.js +3 -63
- package/@cds-models/CardanoTransactionService/index.js.map +1 -1
- package/@cds-models/CardanoTransactionService/index.ts +71 -210
- package/@cds-models/index.d.ts +150 -1
- package/@cds-models/index.d.ts.map +1 -1
- package/@cds-models/index.js +51 -1
- package/@cds-models/index.js.map +1 -1
- package/@cds-models/index.ts +74 -2
- package/@cds-models/odatano/cardano/index.d.ts +553 -696
- package/@cds-models/odatano/cardano/index.d.ts.map +1 -1
- package/@cds-models/odatano/cardano/index.js +3 -52
- package/@cds-models/odatano/cardano/index.js.map +1 -1
- package/@cds-models/odatano/cardano/index.ts +93 -165
- package/README.md +78 -19
- package/db/schema.cds +6 -108
- package/db/types.cds +111 -0
- package/package.json +19 -4
- package/src/index.d.ts.map +1 -1
- package/src/index.js +8 -3
- package/src/index.js.map +1 -1
- package/src/plugin.d.ts.map +1 -1
- package/src/plugin.js +7 -2
- package/src/plugin.js.map +1 -1
- package/srv/blockchain/backends/koios-backend.d.ts.map +1 -1
- package/srv/blockchain/backends/koios-backend.js +6 -16
- package/srv/blockchain/backends/koios-backend.js.map +1 -1
- package/srv/blockchain/cardano-client.d.ts.map +1 -1
- package/srv/blockchain/cardano-client.js +13 -10
- 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 +10 -8
- 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 +16 -16
- package/srv/blockchain/cardano-tx-builder.js.map +1 -1
- package/srv/blockchain/signing/hsm-signer.d.ts.map +1 -0
- package/srv/blockchain/signing/hsm-signer.js +290 -0
- package/srv/blockchain/signing/hsm-signer.js.map +1 -0
- package/srv/blockchain/signing/signature-verifier.d.ts.map +1 -1
- package/srv/blockchain/signing/signature-verifier.js +7 -25
- package/srv/blockchain/signing/signature-verifier.js.map +1 -1
- package/srv/blockchain/transaction-building/buildooor-tx.d.ts.map +1 -1
- package/srv/blockchain/transaction-building/buildooor-tx.js +171 -437
- package/srv/blockchain/transaction-building/buildooor-tx.js.map +1 -1
- package/srv/blockchain/transaction-building/cardano-tx.d.ts.map +1 -1
- package/srv/blockchain/transaction-building/csl-tx.d.ts.map +1 -1
- package/srv/blockchain/transaction-building/csl-tx.js +230 -611
- package/srv/blockchain/transaction-building/csl-tx.js.map +1 -1
- package/srv/cardano-service.cds +17 -9
- package/srv/cardano-service.js +2 -14
- package/srv/cardano-service.js.map +1 -1
- package/srv/cardano-sign-service.cds +128 -0
- package/srv/cardano-sign-service.d.ts.map +1 -0
- package/srv/cardano-sign-service.js +401 -0
- package/srv/cardano-sign-service.js.map +1 -0
- package/srv/cardano-tx-service.cds +116 -196
- package/srv/cardano-tx-service.js +5 -308
- package/srv/cardano-tx-service.js.map +1 -1
- package/srv/server.d.ts.map +1 -1
- package/srv/server.js +60 -5
- package/srv/server.js.map +1 -1
- package/srv/utils/const.d.ts.map +1 -1
- package/srv/utils/const.js +5 -1
- package/srv/utils/const.js.map +1 -1
- package/srv/utils/error-codes.d.ts.map +1 -1
- package/srv/utils/error-codes.js +15 -0
- package/srv/utils/error-codes.js.map +1 -1
- package/srv/utils/errors.d.ts.map +1 -1
- package/srv/utils/errors.js +12 -1
- package/srv/utils/errors.js.map +1 -1
- package/srv/utils/mappers.d.ts.map +1 -1
- package/srv/utils/mappers.js +9 -29
- package/srv/utils/mappers.js.map +1 -1
- package/srv/utils/signing-helper.d.ts.map +1 -1
- package/srv/utils/signing-helper.js +3 -18
- package/srv/utils/signing-helper.js.map +1 -1
- package/srv/utils/tx-build-helper.d.ts.map +1 -1
- package/srv/utils/tx-build-helper.js +10 -4
- package/srv/utils/tx-build-helper.js.map +1 -1
- package/srv/utils/types.d.ts.map +1 -1
- package/srv/utils/types.js +2 -0
- package/srv/utils/types.js.map +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// This is an automatically generated file. Please do not change its contents manually!
|
|
2
|
-
import * as
|
|
2
|
+
import * as _ from './..';
|
|
3
3
|
import * as __ from './../_';
|
|
4
|
+
import * as _odatano_cardano from './../odatano/cardano';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Cardano Transaction Service
|
|
@@ -14,14 +15,11 @@ export default class {
|
|
|
14
15
|
declare static readonly BuildTransactionWithMetadata: typeof BuildTransactionWithMetadata;
|
|
15
16
|
declare static readonly BuildMultiAssetTransaction: typeof BuildMultiAssetTransaction;
|
|
16
17
|
declare static readonly BuildMintTransaction: typeof BuildMintTransaction;
|
|
17
|
-
declare static readonly BuildPlutusSpendTransaction: typeof BuildPlutusSpendTransaction;
|
|
18
|
-
declare static readonly SetCollateral: typeof SetCollateral;
|
|
19
18
|
declare static readonly GetBuildDetails: typeof GetBuildDetails;
|
|
20
19
|
declare static readonly SubmitTransaction: typeof SubmitTransaction;
|
|
21
20
|
declare static readonly SubmitSignedTransaction: typeof SubmitSignedTransaction;
|
|
22
|
-
declare static readonly
|
|
23
|
-
declare static readonly
|
|
24
|
-
declare static readonly GetSigningRequestsByAddress: typeof GetSigningRequestsByAddress;
|
|
21
|
+
declare static readonly BuildPlutusSpendTransaction: typeof BuildPlutusSpendTransaction;
|
|
22
|
+
declare static readonly SetCollateral: typeof SetCollateral;
|
|
25
23
|
declare static readonly GetTransactionBuildsByAddress: typeof GetTransactionBuildsByAddress;
|
|
26
24
|
}
|
|
27
25
|
|
|
@@ -32,11 +30,11 @@ export function _TransactionBuildAspect<TBase extends new (...args: any[]) => ob
|
|
|
32
30
|
declare id?: __.Key<string>
|
|
33
31
|
declare network?: string | null
|
|
34
32
|
declare builderEngine?: string | null
|
|
35
|
-
declare senderAddress?:
|
|
36
|
-
declare changeAddress?:
|
|
33
|
+
declare senderAddress?: _.Bech32 | null
|
|
34
|
+
declare changeAddress?: _.Bech32 | null
|
|
37
35
|
declare unsignedTxCbor?: string | null
|
|
38
|
-
declare txBodyHash?:
|
|
39
|
-
declare fee?:
|
|
36
|
+
declare txBodyHash?: _.Blake2b256 | null
|
|
37
|
+
declare fee?: _.Lovelace | null
|
|
40
38
|
declare size?: number | null
|
|
41
39
|
declare createdAt?: number | null
|
|
42
40
|
declare inputs?: __.Composition.of.many<TransactionBuildInputs>
|
|
@@ -65,10 +63,10 @@ export function _TransactionBuildInputAspect<TBase extends new (...args: any[])
|
|
|
65
63
|
declare build?: __.Key<__.Association.to<TransactionBuild>>
|
|
66
64
|
declare build_id?: __.Key<string>
|
|
67
65
|
declare inputIndex?: __.Key<number>
|
|
68
|
-
declare txHash?:
|
|
66
|
+
declare txHash?: _.Blake2b256 | null
|
|
69
67
|
declare outputIndex?: number | null
|
|
70
|
-
declare address?:
|
|
71
|
-
declare lovelace?:
|
|
68
|
+
declare address?: _.Bech32 | null
|
|
69
|
+
declare lovelace?: _.Lovelace | null
|
|
72
70
|
declare assets?: __.Composition.of.many<TransactionBuildInputAssets>
|
|
73
71
|
declare hasAssets?: boolean | null
|
|
74
72
|
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
@@ -88,8 +86,8 @@ export function _TransactionBuildOutputAspect<TBase extends new (...args: any[])
|
|
|
88
86
|
declare build?: __.Key<__.Association.to<TransactionBuild>>
|
|
89
87
|
declare build_id?: __.Key<string>
|
|
90
88
|
declare outputIndex?: __.Key<number>
|
|
91
|
-
declare address?:
|
|
92
|
-
declare lovelace?:
|
|
89
|
+
declare address?: _.Bech32 | null
|
|
90
|
+
declare lovelace?: _.Lovelace | null
|
|
93
91
|
declare isChange?: boolean | null
|
|
94
92
|
declare assets?: __.Composition.of.many<TransactionBuildOutputAssets>
|
|
95
93
|
declare hasAssets?: boolean | null
|
|
@@ -110,10 +108,10 @@ export function _TransactionBuildInputAssetAspect<TBase extends new (...args: an
|
|
|
110
108
|
declare input?: __.Key<__.Association.to<TransactionBuildInput>>
|
|
111
109
|
declare input_inputIndex?: __.Key<number>
|
|
112
110
|
declare input_build_id?: __.Key<string>
|
|
113
|
-
declare unit?: __.Key<
|
|
114
|
-
declare asset_quantity?:
|
|
115
|
-
declare asset_policyId?:
|
|
116
|
-
declare asset_assetNameHex?:
|
|
111
|
+
declare unit?: __.Key<_.AssetUnit>
|
|
112
|
+
declare asset_quantity?: _.Lovelace | null
|
|
113
|
+
declare asset_policyId?: _.Blake2b224 | null
|
|
114
|
+
declare asset_assetNameHex?: _.HexBytes | null
|
|
117
115
|
declare asset_assetName?: string | null
|
|
118
116
|
declare asset_fingerprint?: string | null
|
|
119
117
|
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
@@ -133,10 +131,10 @@ export function _TransactionBuildOutputAssetAspect<TBase extends new (...args: a
|
|
|
133
131
|
declare output?: __.Key<__.Association.to<TransactionBuildOutput>>
|
|
134
132
|
declare output_outputIndex?: __.Key<number>
|
|
135
133
|
declare output_build_id?: __.Key<string>
|
|
136
|
-
declare unit?: __.Key<
|
|
137
|
-
declare asset_quantity?:
|
|
138
|
-
declare asset_policyId?:
|
|
139
|
-
declare asset_assetNameHex?:
|
|
134
|
+
declare unit?: __.Key<_.AssetUnit>
|
|
135
|
+
declare asset_quantity?: _.Lovelace | null
|
|
136
|
+
declare asset_policyId?: _.Blake2b224 | null
|
|
137
|
+
declare asset_assetNameHex?: _.HexBytes | null
|
|
140
138
|
declare asset_assetName?: string | null
|
|
141
139
|
declare asset_fingerprint?: string | null
|
|
142
140
|
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
@@ -157,9 +155,9 @@ export function _TransactionSubmissionAspect<TBase extends new (...args: any[])
|
|
|
157
155
|
declare build?: __.Association.to<TransactionBuild> | null
|
|
158
156
|
declare build_id?: string | null
|
|
159
157
|
declare signedTxCbor?: string | null
|
|
160
|
-
declare txHash?:
|
|
158
|
+
declare txHash?: _.Blake2b256 | null
|
|
161
159
|
declare submittedAt?: number | null
|
|
162
|
-
declare status?:
|
|
160
|
+
declare status?: _.SubmissionStatus | null
|
|
163
161
|
declare errorCode?: string | null
|
|
164
162
|
declare errorMessage?: string | null
|
|
165
163
|
declare retryCount?: number | null
|
|
@@ -185,7 +183,7 @@ export function _TransactionSubmissionAspect<TBase extends new (...args: any[])
|
|
|
185
183
|
* TransactionSubmissions status flow:
|
|
186
184
|
* pending ──[submit to chain]──→ submitted (internal, in SubmitTransaction handler)
|
|
187
185
|
* submitted ──[CheckSubmissionStatus]──→ confirmed | stays submitted (conditional)
|
|
188
|
-
* pending | submitted ──→ failed (
|
|
186
|
+
* pending | submitted ──→ failed (blockchain error)
|
|
189
187
|
*/
|
|
190
188
|
export class TransactionSubmission extends _TransactionSubmissionAspect(__.Entity) {}
|
|
191
189
|
Object.defineProperty(TransactionSubmission, 'name', { value: 'CardanoTransactionService.TransactionSubmissions' })
|
|
@@ -194,7 +192,7 @@ Object.defineProperty(TransactionSubmission, 'is_singular', { value: true })
|
|
|
194
192
|
* TransactionSubmissions status flow:
|
|
195
193
|
* pending ──[submit to chain]──→ submitted (internal, in SubmitTransaction handler)
|
|
196
194
|
* submitted ──[CheckSubmissionStatus]──→ confirmed | stays submitted (conditional)
|
|
197
|
-
* pending | submitted ──→ failed (
|
|
195
|
+
* pending | submitted ──→ failed (blockchain error)
|
|
198
196
|
*/
|
|
199
197
|
export class TransactionSubmissions extends Array<TransactionSubmission> {$count?: number}
|
|
200
198
|
Object.defineProperty(TransactionSubmissions, 'name', { value: 'CardanoTransactionService.TransactionSubmissions' })
|
|
@@ -222,117 +220,10 @@ Object.defineProperty(TransactionSubmissionError, 'is_singular', { value: true }
|
|
|
222
220
|
export class TransactionSubmissionErrors extends Array<TransactionSubmissionError> {$count?: number}
|
|
223
221
|
Object.defineProperty(TransactionSubmissionErrors, 'name', { value: 'CardanoTransactionService.TransactionSubmissionErrors' })
|
|
224
222
|
|
|
225
|
-
export function _SigningRequestAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
226
|
-
return class SigningRequest extends Base {
|
|
227
|
-
declare id?: __.Key<string>
|
|
228
|
-
declare build?: __.Association.to<TransactionBuild> | null
|
|
229
|
-
declare build_id?: string | null
|
|
230
|
-
declare txBodyHash?: _odatano_cardano.Blake2b256 | null
|
|
231
|
-
declare unsignedTxCbor?: string | null
|
|
232
|
-
declare network?: string | null
|
|
233
|
-
declare status?: _odatano_cardano.SigningStatus | null
|
|
234
|
-
declare createdAt?: __.CdsTimestamp | null
|
|
235
|
-
declare expiresAt?: __.CdsTimestamp | null
|
|
236
|
-
declare signedAt?: __.CdsTimestamp | null
|
|
237
|
-
declare submittedAt?: __.CdsTimestamp | null
|
|
238
|
-
declare cardanoCliCommand?: string | null
|
|
239
|
-
declare cip30TxCbor?: string | null
|
|
240
|
-
declare signerType?: string | null
|
|
241
|
-
declare signerInfo?: string | null
|
|
242
|
-
declare verifications?: __.Composition.of.many<SignatureVerifications>
|
|
243
|
-
declare submission?: __.Association.to<TransactionSubmission> | null
|
|
244
|
-
declare submission_id?: string | null
|
|
245
|
-
declare errorMessage?: string | null
|
|
246
|
-
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
247
|
-
declare static readonly keys: __.KeysOf<SigningRequest>;
|
|
248
|
-
declare static readonly elements: __.ElementsOf<SigningRequest>;
|
|
249
|
-
declare static readonly actions: {
|
|
250
|
-
VerifySignature: {
|
|
251
|
-
// positional
|
|
252
|
-
(signedTxCbor: string | null, signerType: string | null, signerInfo: string | null): SignatureVerifications
|
|
253
|
-
// named
|
|
254
|
-
({signedTxCbor, signerType, signerInfo}: {signedTxCbor?: string | null, signerType?: string | null, signerInfo?: string | null}): SignatureVerifications
|
|
255
|
-
// metadata (do not use)
|
|
256
|
-
__parameters: {signedTxCbor?: string | null, signerType?: string | null, signerInfo?: string | null}, __returns: SignatureVerifications, __self: SigningRequest
|
|
257
|
-
kind: 'action'
|
|
258
|
-
}
|
|
259
|
-
SubmitVerifiedTransaction: {
|
|
260
|
-
// positional
|
|
261
|
-
(signedTxCbor: string | null, signerType: string | null, signerInfo: string | null): TransactionSubmissions
|
|
262
|
-
// named
|
|
263
|
-
({signedTxCbor, signerType, signerInfo}: {signedTxCbor?: string | null, signerType?: string | null, signerInfo?: string | null}): TransactionSubmissions
|
|
264
|
-
// metadata (do not use)
|
|
265
|
-
__parameters: {signedTxCbor?: string | null, signerType?: string | null, signerInfo?: string | null}, __returns: TransactionSubmissions, __self: SigningRequest
|
|
266
|
-
kind: 'action'
|
|
267
|
-
}
|
|
268
|
-
};
|
|
269
|
-
};
|
|
270
|
-
}
|
|
271
|
-
/**
|
|
272
|
-
* SigningRequests status flow:
|
|
273
|
-
* pending ──[VerifySignature]──→ verified | failed (conditional in handler)
|
|
274
|
-
* pending | verified ──[SubmitVerifiedTransaction]──→ submitted
|
|
275
|
-
* pending ──[checkExpire]──→ expired (custom time-based logic in handler)
|
|
276
|
-
*/
|
|
277
|
-
export class SigningRequest extends _SigningRequestAspect(__.Entity) {}
|
|
278
|
-
Object.defineProperty(SigningRequest, 'name', { value: 'CardanoTransactionService.SigningRequests' })
|
|
279
|
-
Object.defineProperty(SigningRequest, 'is_singular', { value: true })
|
|
280
|
-
/**
|
|
281
|
-
* SigningRequests status flow:
|
|
282
|
-
* pending ──[VerifySignature]──→ verified | failed (conditional in handler)
|
|
283
|
-
* pending | verified ──[SubmitVerifiedTransaction]──→ submitted
|
|
284
|
-
* pending ──[checkExpire]──→ expired (custom time-based logic in handler)
|
|
285
|
-
*/
|
|
286
|
-
export class SigningRequests extends Array<SigningRequest> {$count?: number}
|
|
287
|
-
Object.defineProperty(SigningRequests, 'name', { value: 'CardanoTransactionService.SigningRequests' })
|
|
288
|
-
|
|
289
|
-
export function _SignatureVerificationAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
290
|
-
return class SignatureVerification extends Base {
|
|
291
|
-
declare id?: __.Key<string>
|
|
292
|
-
declare signingRequest?: __.Association.to<SigningRequest> | null
|
|
293
|
-
declare signingRequest_id?: string | null
|
|
294
|
-
declare signedTxCbor?: string | null
|
|
295
|
-
declare isValid?: boolean | null
|
|
296
|
-
declare txBodyHash?: _odatano_cardano.Blake2b256 | null
|
|
297
|
-
declare witnessCount?: number | null
|
|
298
|
-
declare signerKeyHashes?: string | null
|
|
299
|
-
declare errorMessage?: string | null
|
|
300
|
-
declare warnings?: string | null
|
|
301
|
-
declare verifiedAt?: __.CdsTimestamp | null
|
|
302
|
-
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
303
|
-
declare static readonly keys: __.KeysOf<SignatureVerification>;
|
|
304
|
-
declare static readonly elements: __.ElementsOf<SignatureVerification>;
|
|
305
|
-
declare static readonly actions: globalThis.Record<never, never>;
|
|
306
|
-
};
|
|
307
|
-
}
|
|
308
|
-
export class SignatureVerification extends _SignatureVerificationAspect(__.Entity) {}
|
|
309
|
-
Object.defineProperty(SignatureVerification, 'name', { value: 'CardanoTransactionService.SignatureVerifications' })
|
|
310
|
-
Object.defineProperty(SignatureVerification, 'is_singular', { value: true })
|
|
311
|
-
export class SignatureVerifications extends Array<SignatureVerification> {$count?: number}
|
|
312
|
-
Object.defineProperty(SignatureVerifications, 'name', { value: 'CardanoTransactionService.SignatureVerifications' })
|
|
313
|
-
|
|
314
|
-
export function _AddressSigningRequestAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
315
|
-
return class AddressSigningRequest extends Base {
|
|
316
|
-
declare address?: __.Key<__.Association.to<Address>>
|
|
317
|
-
declare address_address?: __.Key<_odatano_cardano.Bech32>
|
|
318
|
-
declare signingRequest?: __.Key<__.Association.to<SigningRequest>>
|
|
319
|
-
declare signingRequest_id?: __.Key<string>
|
|
320
|
-
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
321
|
-
declare static readonly keys: __.KeysOf<AddressSigningRequest>;
|
|
322
|
-
declare static readonly elements: __.ElementsOf<AddressSigningRequest>;
|
|
323
|
-
declare static readonly actions: globalThis.Record<never, never>;
|
|
324
|
-
};
|
|
325
|
-
}
|
|
326
|
-
export class AddressSigningRequest extends _AddressSigningRequestAspect(__.Entity) {}
|
|
327
|
-
Object.defineProperty(AddressSigningRequest, 'name', { value: 'CardanoTransactionService.AddressSigningRequests' })
|
|
328
|
-
Object.defineProperty(AddressSigningRequest, 'is_singular', { value: true })
|
|
329
|
-
export class AddressSigningRequests extends Array<AddressSigningRequest> {$count?: number}
|
|
330
|
-
Object.defineProperty(AddressSigningRequests, 'name', { value: 'CardanoTransactionService.AddressSigningRequests' })
|
|
331
|
-
|
|
332
223
|
export function _AddressTransactionBuildAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
333
224
|
return class AddressTransactionBuild extends Base {
|
|
334
225
|
declare address?: __.Key<__.Association.to<Address>>
|
|
335
|
-
declare address_address?: __.Key<
|
|
226
|
+
declare address_address?: __.Key<_.Bech32>
|
|
336
227
|
declare txBuild?: __.Key<__.Association.to<TransactionBuild>>
|
|
337
228
|
declare txBuild_id?: __.Key<string>
|
|
338
229
|
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
@@ -351,11 +242,11 @@ export function _AddressAspect<TBase extends new (...args: any[]) => object>(Bas
|
|
|
351
242
|
return class Address extends Base {
|
|
352
243
|
declare validFrom?: __.CdsTimestamp | null
|
|
353
244
|
declare validTo?: __.CdsTimestamp | null
|
|
354
|
-
declare address?: __.Key<
|
|
355
|
-
declare stakeAddress?:
|
|
245
|
+
declare address?: __.Key<_.Bech32>
|
|
246
|
+
declare stakeAddress?: _.Bech32 | null
|
|
356
247
|
declare type?: string | null
|
|
357
248
|
declare isScript?: boolean | null
|
|
358
|
-
declare totalLovelace?:
|
|
249
|
+
declare totalLovelace?: _.Lovelace | null
|
|
359
250
|
declare transactions?: __.Composition.of.many<AddressTransactions>
|
|
360
251
|
declare assets?: __.Composition.of.many<AddressAssets>
|
|
361
252
|
declare utxos?: __.Composition.of.many<AddressUTxOs>
|
|
@@ -377,9 +268,9 @@ Object.defineProperty(Addresses, 'name', { value: 'CardanoTransactionService.Add
|
|
|
377
268
|
export function _AddressTransactionAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
378
269
|
return class AddressTransaction extends Base {
|
|
379
270
|
declare address?: __.Key<__.Association.to<Address>>
|
|
380
|
-
declare address_address?: __.Key<
|
|
271
|
+
declare address_address?: __.Key<_.Bech32>
|
|
381
272
|
declare tx?: __.Key<__.Association.to<_odatano_cardano.Transaction>>
|
|
382
|
-
declare tx_hash?: __.Key<
|
|
273
|
+
declare tx_hash?: __.Key<_.Blake2b256>
|
|
383
274
|
declare netAmount?: number | null
|
|
384
275
|
declare blockTime?: number | null
|
|
385
276
|
declare netAssets?: string | null
|
|
@@ -401,11 +292,11 @@ export function _AddressAssetAspect<TBase extends new (...args: any[]) => object
|
|
|
401
292
|
declare validFrom?: __.CdsTimestamp | null
|
|
402
293
|
declare validTo?: __.CdsTimestamp | null
|
|
403
294
|
declare address?: __.Key<__.Association.to<Address>>
|
|
404
|
-
declare address_address?: __.Key<
|
|
405
|
-
declare unit?: __.Key<
|
|
406
|
-
declare asset_quantity?:
|
|
407
|
-
declare asset_policyId?:
|
|
408
|
-
declare asset_assetNameHex?:
|
|
295
|
+
declare address_address?: __.Key<_.Bech32>
|
|
296
|
+
declare unit?: __.Key<_.AssetUnit>
|
|
297
|
+
declare asset_quantity?: _.Lovelace | null
|
|
298
|
+
declare asset_policyId?: _.Blake2b224 | null
|
|
299
|
+
declare asset_assetNameHex?: _.HexBytes | null
|
|
409
300
|
declare asset_assetName?: string | null
|
|
410
301
|
declare asset_fingerprint?: string | null
|
|
411
302
|
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
@@ -425,14 +316,14 @@ export function _AddressUTxOAspect<TBase extends new (...args: any[]) => object>
|
|
|
425
316
|
declare validFrom?: __.CdsTimestamp | null
|
|
426
317
|
declare validTo?: __.CdsTimestamp | null
|
|
427
318
|
declare address?: __.Key<__.Association.to<Address>>
|
|
428
|
-
declare address_address?: __.Key<
|
|
429
|
-
declare hash?: __.Key<
|
|
319
|
+
declare address_address?: __.Key<_.Bech32>
|
|
320
|
+
declare hash?: __.Key<_.Blake2b256>
|
|
430
321
|
declare index?: __.Key<number>
|
|
431
|
-
declare blockHash?:
|
|
432
|
-
declare utxodata_dataHash?:
|
|
322
|
+
declare blockHash?: _.Blake2b256 | null
|
|
323
|
+
declare utxodata_dataHash?: _.Blake2b256 | null
|
|
433
324
|
declare utxodata_inlineDatum?: string | null
|
|
434
|
-
declare utxodata_referenceScriptHash?:
|
|
435
|
-
declare lovelace?:
|
|
325
|
+
declare utxodata_referenceScriptHash?: _.Blake2b256 | null
|
|
326
|
+
declare lovelace?: _.Lovelace | null
|
|
436
327
|
declare assets?: __.Composition.of.many<UTxOAssets>
|
|
437
328
|
declare hasAssets?: boolean | null
|
|
438
329
|
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
@@ -452,13 +343,13 @@ export function _UTxOAssetAspect<TBase extends new (...args: any[]) => object>(B
|
|
|
452
343
|
declare validFrom?: __.CdsTimestamp | null
|
|
453
344
|
declare validTo?: __.CdsTimestamp | null
|
|
454
345
|
declare utxo?: __.Key<__.Association.to<AddressUTxO>>
|
|
455
|
-
declare utxo_hash?: __.Key<
|
|
346
|
+
declare utxo_hash?: __.Key<_.Blake2b256>
|
|
456
347
|
declare utxo_index?: __.Key<number>
|
|
457
|
-
declare utxo_address_address?: __.Key<
|
|
458
|
-
declare unit?: __.Key<
|
|
459
|
-
declare asset_quantity?:
|
|
460
|
-
declare asset_policyId?:
|
|
461
|
-
declare asset_assetNameHex?:
|
|
348
|
+
declare utxo_address_address?: __.Key<_.Bech32>
|
|
349
|
+
declare unit?: __.Key<_.AssetUnit>
|
|
350
|
+
declare asset_quantity?: _.Lovelace | null
|
|
351
|
+
declare asset_policyId?: _.Blake2b224 | null
|
|
352
|
+
declare asset_assetNameHex?: _.HexBytes | null
|
|
462
353
|
declare asset_assetName?: string | null
|
|
463
354
|
declare asset_fingerprint?: string | null
|
|
464
355
|
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
@@ -476,61 +367,41 @@ Object.defineProperty(UTxOAssets, 'name', { value: 'CardanoTransactionService.UT
|
|
|
476
367
|
|
|
477
368
|
export declare const BuildSimpleAdaTransaction: {
|
|
478
369
|
// positional
|
|
479
|
-
(senderAddress:
|
|
370
|
+
(senderAddress: _.Bech32 | null, recipientAddress: _.Bech32 | null, lovelaceAmount: _.Lovelace | null, changeAddress: _.Bech32 | null, outputDatumJson: string | null, assetsJson: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
|
|
480
371
|
// named
|
|
481
|
-
({senderAddress, recipientAddress, lovelaceAmount, changeAddress, outputDatumJson, assetsJson}: {senderAddress?:
|
|
372
|
+
({senderAddress, recipientAddress, lovelaceAmount, changeAddress, outputDatumJson, assetsJson}: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, changeAddress?: _.Bech32 | null, outputDatumJson?: string | null, assetsJson?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
|
|
482
373
|
// metadata (do not use)
|
|
483
|
-
__parameters: {senderAddress?:
|
|
374
|
+
__parameters: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, changeAddress?: _.Bech32 | null, outputDatumJson?: string | null, assetsJson?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
|
|
484
375
|
kind: 'action'
|
|
485
376
|
}
|
|
486
377
|
|
|
487
378
|
export declare const BuildTransactionWithMetadata: {
|
|
488
379
|
// positional
|
|
489
|
-
(senderAddress:
|
|
380
|
+
(senderAddress: _.Bech32 | null, recipientAddress: _.Bech32 | null, lovelaceAmount: _.Lovelace | null, changeAddress: _.Bech32 | null, metadataJson: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
|
|
490
381
|
// named
|
|
491
|
-
({senderAddress, recipientAddress, lovelaceAmount, changeAddress, metadataJson}: {senderAddress?:
|
|
382
|
+
({senderAddress, recipientAddress, lovelaceAmount, changeAddress, metadataJson}: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, changeAddress?: _.Bech32 | null, metadataJson?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
|
|
492
383
|
// metadata (do not use)
|
|
493
|
-
__parameters: {senderAddress?:
|
|
384
|
+
__parameters: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, changeAddress?: _.Bech32 | null, metadataJson?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
|
|
494
385
|
kind: 'action'
|
|
495
386
|
}
|
|
496
387
|
|
|
497
388
|
export declare const BuildMultiAssetTransaction: {
|
|
498
389
|
// positional
|
|
499
|
-
(senderAddress:
|
|
390
|
+
(senderAddress: _.Bech32 | null, recipientAddress: _.Bech32 | null, lovelaceAmount: _.Lovelace | null, assetsJson: string | null, changeAddress: _.Bech32 | null, outputDatumJson: string | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
|
|
500
391
|
// named
|
|
501
|
-
({senderAddress, recipientAddress, lovelaceAmount, assetsJson, changeAddress, outputDatumJson}: {senderAddress?:
|
|
392
|
+
({senderAddress, recipientAddress, lovelaceAmount, assetsJson, changeAddress, outputDatumJson}: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, assetsJson?: string | null, changeAddress?: _.Bech32 | null, outputDatumJson?: string | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
|
|
502
393
|
// metadata (do not use)
|
|
503
|
-
__parameters: {senderAddress?:
|
|
394
|
+
__parameters: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, assetsJson?: string | null, changeAddress?: _.Bech32 | null, outputDatumJson?: string | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
|
|
504
395
|
kind: 'action'
|
|
505
396
|
}
|
|
506
397
|
|
|
507
398
|
export declare const BuildMintTransaction: {
|
|
508
399
|
// positional
|
|
509
|
-
(senderAddress:
|
|
400
|
+
(senderAddress: _.Bech32 | null, recipientAddress: _.Bech32 | null, lovelaceAmount: _.Lovelace | null, mintActionsJson: string | null, mintingPolicyScript: string | null, changeAddress: _.Bech32 | null, requiredSignersJson: string | null, scriptParamsJson: string | null, inlineDatumJson: string | null, mintRedeemerJson: string | null, lockOnScript: boolean | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
|
|
510
401
|
// named
|
|
511
|
-
({senderAddress, recipientAddress, lovelaceAmount, mintActionsJson, mintingPolicyScript, changeAddress, requiredSignersJson, scriptParamsJson, inlineDatumJson, mintRedeemerJson, lockOnScript}: {senderAddress?:
|
|
402
|
+
({senderAddress, recipientAddress, lovelaceAmount, mintActionsJson, mintingPolicyScript, changeAddress, requiredSignersJson, scriptParamsJson, inlineDatumJson, mintRedeemerJson, lockOnScript}: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, mintActionsJson?: string | null, mintingPolicyScript?: string | null, changeAddress?: _.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, mintRedeemerJson?: string | null, lockOnScript?: boolean | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
|
|
512
403
|
// metadata (do not use)
|
|
513
|
-
__parameters: {senderAddress?:
|
|
514
|
-
kind: 'action'
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
export declare const BuildPlutusSpendTransaction: {
|
|
518
|
-
// positional
|
|
519
|
-
(senderAddress: _odatano_cardano.Bech32 | null, recipientAddress: _odatano_cardano.Bech32 | null, lovelaceAmount: _odatano_cardano.Lovelace | null, validatorScript: string | null, scriptTxHash: string | null, scriptOutputIndex: number | null, redeemerJson: string | null, datumJson: string | null, changeAddress: _odatano_cardano.Bech32 | null, requiredSignersJson: string | null, scriptParamsJson: string | null, inlineDatumJson: string | null, lockOnScript: boolean | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
|
|
520
|
-
// named
|
|
521
|
-
({senderAddress, recipientAddress, lovelaceAmount, validatorScript, scriptTxHash, scriptOutputIndex, redeemerJson, datumJson, changeAddress, requiredSignersJson, scriptParamsJson, inlineDatumJson, lockOnScript}: {senderAddress?: _odatano_cardano.Bech32 | null, recipientAddress?: _odatano_cardano.Bech32 | null, lovelaceAmount?: _odatano_cardano.Lovelace | null, validatorScript?: string | null, scriptTxHash?: string | null, scriptOutputIndex?: number | null, redeemerJson?: string | null, datumJson?: string | null, changeAddress?: _odatano_cardano.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, lockOnScript?: boolean | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
|
|
522
|
-
// metadata (do not use)
|
|
523
|
-
__parameters: {senderAddress?: _odatano_cardano.Bech32 | null, recipientAddress?: _odatano_cardano.Bech32 | null, lovelaceAmount?: _odatano_cardano.Lovelace | null, validatorScript?: string | null, scriptTxHash?: string | null, scriptOutputIndex?: number | null, redeemerJson?: string | null, datumJson?: string | null, changeAddress?: _odatano_cardano.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, lockOnScript?: boolean | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
|
|
524
|
-
kind: 'action'
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
export declare const SetCollateral: {
|
|
528
|
-
// positional
|
|
529
|
-
(address: _odatano_cardano.Bech32 | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
|
|
530
|
-
// named
|
|
531
|
-
({address}: {address?: _odatano_cardano.Bech32 | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
|
|
532
|
-
// metadata (do not use)
|
|
533
|
-
__parameters: {address?: _odatano_cardano.Bech32 | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
|
|
404
|
+
__parameters: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, mintActionsJson?: string | null, mintingPolicyScript?: string | null, changeAddress?: _.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, mintRedeemerJson?: string | null, lockOnScript?: boolean | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
|
|
534
405
|
kind: 'action'
|
|
535
406
|
}
|
|
536
407
|
|
|
@@ -564,42 +435,32 @@ export declare const SubmitSignedTransaction: {
|
|
|
564
435
|
kind: 'action'
|
|
565
436
|
}
|
|
566
437
|
|
|
567
|
-
export declare const
|
|
568
|
-
// positional
|
|
569
|
-
(buildId: string | null, message: string | null): globalThis.Promise<SigningRequest | null> | SigningRequest | null
|
|
570
|
-
// named
|
|
571
|
-
({buildId, message}: {buildId?: string | null, message?: string | null}): globalThis.Promise<SigningRequest | null> | SigningRequest | null
|
|
572
|
-
// metadata (do not use)
|
|
573
|
-
__parameters: {buildId?: string | null, message?: string | null}, __returns: globalThis.Promise<SigningRequest | null> | SigningRequest | null, __self: never
|
|
574
|
-
kind: 'action'
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
export declare const GetSigningRequest: {
|
|
438
|
+
export declare const BuildPlutusSpendTransaction: {
|
|
578
439
|
// positional
|
|
579
|
-
(
|
|
440
|
+
(senderAddress: _.Bech32 | null, recipientAddress: _.Bech32 | null, lovelaceAmount: _.Lovelace | null, validatorScript: string | null, scriptTxHash: string | null, scriptOutputIndex: number | null, redeemerJson: string | null, datumJson: string | null, changeAddress: _.Bech32 | null, requiredSignersJson: string | null, scriptParamsJson: string | null, inlineDatumJson: string | null, lockOnScript: boolean | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
|
|
580
441
|
// named
|
|
581
|
-
({
|
|
442
|
+
({senderAddress, recipientAddress, lovelaceAmount, validatorScript, scriptTxHash, scriptOutputIndex, redeemerJson, datumJson, changeAddress, requiredSignersJson, scriptParamsJson, inlineDatumJson, lockOnScript}: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, validatorScript?: string | null, scriptTxHash?: string | null, scriptOutputIndex?: number | null, redeemerJson?: string | null, datumJson?: string | null, changeAddress?: _.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, lockOnScript?: boolean | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
|
|
582
443
|
// metadata (do not use)
|
|
583
|
-
__parameters: {
|
|
444
|
+
__parameters: {senderAddress?: _.Bech32 | null, recipientAddress?: _.Bech32 | null, lovelaceAmount?: _.Lovelace | null, validatorScript?: string | null, scriptTxHash?: string | null, scriptOutputIndex?: number | null, redeemerJson?: string | null, datumJson?: string | null, changeAddress?: _.Bech32 | null, requiredSignersJson?: string | null, scriptParamsJson?: string | null, inlineDatumJson?: string | null, lockOnScript?: boolean | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
|
|
584
445
|
kind: 'action'
|
|
585
446
|
}
|
|
586
447
|
|
|
587
|
-
export declare const
|
|
448
|
+
export declare const SetCollateral: {
|
|
588
449
|
// positional
|
|
589
|
-
(address:
|
|
450
|
+
(address: _.Bech32 | null): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
|
|
590
451
|
// named
|
|
591
|
-
({address}: {address?:
|
|
452
|
+
({address}: {address?: _.Bech32 | null}): globalThis.Promise<TransactionBuild | null> | TransactionBuild | null
|
|
592
453
|
// metadata (do not use)
|
|
593
|
-
__parameters: {address?:
|
|
454
|
+
__parameters: {address?: _.Bech32 | null}, __returns: globalThis.Promise<TransactionBuild | null> | TransactionBuild | null, __self: never
|
|
594
455
|
kind: 'action'
|
|
595
456
|
}
|
|
596
457
|
|
|
597
458
|
export declare const GetTransactionBuildsByAddress: {
|
|
598
459
|
// positional
|
|
599
|
-
(address:
|
|
460
|
+
(address: _.Bech32 | null): globalThis.Promise<Array<AddressTransactionBuild>> | Array<AddressTransactionBuild>
|
|
600
461
|
// named
|
|
601
|
-
({address}: {address?:
|
|
462
|
+
({address}: {address?: _.Bech32 | null}): globalThis.Promise<Array<AddressTransactionBuild>> | Array<AddressTransactionBuild>
|
|
602
463
|
// metadata (do not use)
|
|
603
|
-
__parameters: {address?:
|
|
464
|
+
__parameters: {address?: _.Bech32 | null}, __returns: globalThis.Promise<Array<AddressTransactionBuild>> | Array<AddressTransactionBuild>, __self: never
|
|
604
465
|
kind: 'action'
|
|
605
466
|
}
|
package/@cds-models/index.d.ts
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
|
-
import * as _sap_common from './sap/common';
|
|
2
1
|
import * as __ from './_';
|
|
2
|
+
import * as _sap_common from './sap/common';
|
|
3
|
+
export type Blake2b224 = string;
|
|
4
|
+
export type Blake2b256 = string;
|
|
5
|
+
export type HexBytes = string;
|
|
6
|
+
export type Lovelace = number;
|
|
7
|
+
export type AssetUnit = string;
|
|
8
|
+
export type MetadataLabel = string;
|
|
9
|
+
export type Bech32 = string;
|
|
3
10
|
export type Language = __.Association.to<_sap_common.Language>;
|
|
4
11
|
export type Currency = __.Association.to<_sap_common.Currency>;
|
|
5
12
|
export type Country = __.Association.to<_sap_common.Country>;
|
|
6
13
|
export type Timezone = __.Association.to<_sap_common.Timezone>;
|
|
7
14
|
export type User = string;
|
|
15
|
+
export declare const SubmissionStatus: {
|
|
16
|
+
readonly pending: "pending";
|
|
17
|
+
readonly submitted: "submitted";
|
|
18
|
+
readonly confirmed: "confirmed";
|
|
19
|
+
readonly failed: "failed";
|
|
20
|
+
};
|
|
21
|
+
export type SubmissionStatus = "pending" | "submitted" | "confirmed" | "failed";
|
|
22
|
+
export declare const SigningStatus: {
|
|
23
|
+
readonly pending: "pending";
|
|
24
|
+
readonly signed: "signed";
|
|
25
|
+
readonly verified: "verified";
|
|
26
|
+
readonly submitted: "submitted";
|
|
27
|
+
readonly expired: "expired";
|
|
28
|
+
readonly failed: "failed";
|
|
29
|
+
};
|
|
30
|
+
export type SigningStatus = "pending" | "signed" | "verified" | "submitted" | "expired" | "failed";
|
|
8
31
|
export declare function _cuidAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
9
32
|
new (...args: any[]): {
|
|
10
33
|
ID?: __.Key<string>;
|
|
@@ -164,5 +187,131 @@ export declare class temporal extends temporal_base {
|
|
|
164
187
|
export declare class temporal_ extends Array<temporal> {
|
|
165
188
|
$count?: number;
|
|
166
189
|
}
|
|
190
|
+
export declare function _AssetSliceAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
191
|
+
new (...args: any[]): {
|
|
192
|
+
quantity?: Lovelace | null;
|
|
193
|
+
policyId?: Blake2b224 | null;
|
|
194
|
+
assetNameHex?: HexBytes | null;
|
|
195
|
+
assetName?: string | null;
|
|
196
|
+
fingerprint?: string | null;
|
|
197
|
+
};
|
|
198
|
+
readonly kind: "entity" | "type" | "aspect";
|
|
199
|
+
readonly keys: __.KeysOf<{
|
|
200
|
+
quantity?: Lovelace | null;
|
|
201
|
+
policyId?: Blake2b224 | null;
|
|
202
|
+
assetNameHex?: HexBytes | null;
|
|
203
|
+
assetName?: string | null;
|
|
204
|
+
fingerprint?: string | null;
|
|
205
|
+
}>;
|
|
206
|
+
readonly elements: __.ElementsOf<{
|
|
207
|
+
quantity?: Lovelace | null;
|
|
208
|
+
policyId?: Blake2b224 | null;
|
|
209
|
+
assetNameHex?: HexBytes | null;
|
|
210
|
+
assetName?: string | null;
|
|
211
|
+
fingerprint?: string | null;
|
|
212
|
+
}>;
|
|
213
|
+
readonly actions: globalThis.Record<never, never>;
|
|
214
|
+
} & TBase;
|
|
215
|
+
declare const AssetSlice_base: {
|
|
216
|
+
new (...args: any[]): {
|
|
217
|
+
quantity?: Lovelace | null;
|
|
218
|
+
policyId?: Blake2b224 | null;
|
|
219
|
+
assetNameHex?: HexBytes | null;
|
|
220
|
+
assetName?: string | null;
|
|
221
|
+
fingerprint?: string | null;
|
|
222
|
+
};
|
|
223
|
+
readonly kind: "entity" | "type" | "aspect";
|
|
224
|
+
readonly keys: __.KeysOf<{
|
|
225
|
+
quantity?: Lovelace | null;
|
|
226
|
+
policyId?: Blake2b224 | null;
|
|
227
|
+
assetNameHex?: HexBytes | null;
|
|
228
|
+
assetName?: string | null;
|
|
229
|
+
fingerprint?: string | null;
|
|
230
|
+
}>;
|
|
231
|
+
readonly elements: __.ElementsOf<{
|
|
232
|
+
quantity?: Lovelace | null;
|
|
233
|
+
policyId?: Blake2b224 | null;
|
|
234
|
+
assetNameHex?: HexBytes | null;
|
|
235
|
+
assetName?: string | null;
|
|
236
|
+
fingerprint?: string | null;
|
|
237
|
+
}>;
|
|
238
|
+
readonly actions: globalThis.Record<never, never>;
|
|
239
|
+
} & typeof __.Entity;
|
|
240
|
+
export declare class AssetSlice extends AssetSlice_base {
|
|
241
|
+
}
|
|
242
|
+
export declare function _MetadataSliceAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
243
|
+
new (...args: any[]): {
|
|
244
|
+
label?: MetadataLabel | null;
|
|
245
|
+
payload?: string | null;
|
|
246
|
+
};
|
|
247
|
+
readonly kind: "entity" | "type" | "aspect";
|
|
248
|
+
readonly keys: __.KeysOf<{
|
|
249
|
+
label?: MetadataLabel | null;
|
|
250
|
+
payload?: string | null;
|
|
251
|
+
}>;
|
|
252
|
+
readonly elements: __.ElementsOf<{
|
|
253
|
+
label?: MetadataLabel | null;
|
|
254
|
+
payload?: string | null;
|
|
255
|
+
}>;
|
|
256
|
+
readonly actions: globalThis.Record<never, never>;
|
|
257
|
+
} & TBase;
|
|
258
|
+
declare const MetadataSlice_base: {
|
|
259
|
+
new (...args: any[]): {
|
|
260
|
+
label?: MetadataLabel | null;
|
|
261
|
+
payload?: string | null;
|
|
262
|
+
};
|
|
263
|
+
readonly kind: "entity" | "type" | "aspect";
|
|
264
|
+
readonly keys: __.KeysOf<{
|
|
265
|
+
label?: MetadataLabel | null;
|
|
266
|
+
payload?: string | null;
|
|
267
|
+
}>;
|
|
268
|
+
readonly elements: __.ElementsOf<{
|
|
269
|
+
label?: MetadataLabel | null;
|
|
270
|
+
payload?: string | null;
|
|
271
|
+
}>;
|
|
272
|
+
readonly actions: globalThis.Record<never, never>;
|
|
273
|
+
} & typeof __.Entity;
|
|
274
|
+
export declare class MetadataSlice extends MetadataSlice_base {
|
|
275
|
+
}
|
|
276
|
+
export declare function _UTxODataSliceAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
277
|
+
new (...args: any[]): {
|
|
278
|
+
dataHash?: Blake2b256 | null;
|
|
279
|
+
inlineDatum?: string | null;
|
|
280
|
+
referenceScriptHash?: Blake2b256 | null;
|
|
281
|
+
};
|
|
282
|
+
readonly kind: "entity" | "type" | "aspect";
|
|
283
|
+
readonly keys: __.KeysOf<{
|
|
284
|
+
dataHash?: Blake2b256 | null;
|
|
285
|
+
inlineDatum?: string | null;
|
|
286
|
+
referenceScriptHash?: Blake2b256 | null;
|
|
287
|
+
}>;
|
|
288
|
+
readonly elements: __.ElementsOf<{
|
|
289
|
+
dataHash?: Blake2b256 | null;
|
|
290
|
+
inlineDatum?: string | null;
|
|
291
|
+
referenceScriptHash?: Blake2b256 | null;
|
|
292
|
+
}>;
|
|
293
|
+
readonly actions: globalThis.Record<never, never>;
|
|
294
|
+
} & TBase;
|
|
295
|
+
declare const UTxODataSlice_base: {
|
|
296
|
+
new (...args: any[]): {
|
|
297
|
+
dataHash?: Blake2b256 | null;
|
|
298
|
+
inlineDatum?: string | null;
|
|
299
|
+
referenceScriptHash?: Blake2b256 | null;
|
|
300
|
+
};
|
|
301
|
+
readonly kind: "entity" | "type" | "aspect";
|
|
302
|
+
readonly keys: __.KeysOf<{
|
|
303
|
+
dataHash?: Blake2b256 | null;
|
|
304
|
+
inlineDatum?: string | null;
|
|
305
|
+
referenceScriptHash?: Blake2b256 | null;
|
|
306
|
+
}>;
|
|
307
|
+
readonly elements: __.ElementsOf<{
|
|
308
|
+
dataHash?: Blake2b256 | null;
|
|
309
|
+
inlineDatum?: string | null;
|
|
310
|
+
referenceScriptHash?: Blake2b256 | null;
|
|
311
|
+
}>;
|
|
312
|
+
readonly actions: globalThis.Record<never, never>;
|
|
313
|
+
} & typeof __.Entity;
|
|
314
|
+
export declare class UTxODataSlice extends UTxODataSlice_base {
|
|
315
|
+
}
|
|
167
316
|
export {};
|
|
168
317
|
//# sourceMappingURL=index.d.ts.map
|