@odatano/core 1.11.0 → 2.0.0-rc.1
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 +142 -0
- package/@cds-models/CardanoIndexerService/index.js +23 -0
- package/@cds-models/CardanoODataService/index.d.ts +693 -2172
- package/@cds-models/CardanoODataService/index.js +88 -390
- package/@cds-models/CardanoSignService/index.d.ts +443 -1574
- package/@cds-models/CardanoSignService/index.js +62 -293
- package/@cds-models/CardanoTransactionService/index.d.ts +431 -1488
- package/@cds-models/CardanoTransactionService/index.js +60 -271
- package/@cds-models/CardanoWorkerService/index.d.ts +224 -0
- package/@cds-models/CardanoWorkerService/index.js +32 -0
- package/@cds-models/_/index.d.ts +70 -40
- package/@cds-models/_/index.js +17 -32
- package/@cds-models/cds/outbox/index.d.ts +28 -0
- package/@cds-models/index.d.ts +225 -522
- package/@cds-models/index.js +35 -218
- package/@cds-models/odatano/cardano/index.d.ts +896 -2947
- package/@cds-models/odatano/cardano/index.js +109 -536
- package/@cds-models/sap/common/index.d.ts +196 -600
- package/@cds-models/sap/common/index.js +28 -269
- package/README.md +136 -102
- package/db/schema.cds +283 -1
- package/db/types.cds +48 -0
- package/package.json +41 -32
- package/src/index.d.ts +1 -1
- package/src/index.js +10 -2
- package/src/plugin.js +12 -2
- package/srv/blockchain/backends/blockfrost-backend.d.ts +21 -2
- package/srv/blockchain/backends/blockfrost-backend.js +68 -15
- package/srv/blockchain/backends/cardano-backend.d.ts +69 -0
- package/srv/blockchain/backends/cardano-backend.js +13 -0
- package/srv/blockchain/backends/koios-backend.d.ts +26 -2
- package/srv/blockchain/backends/koios-backend.js +147 -15
- package/srv/blockchain/backends/ogmios-backend.d.ts +37 -6
- package/srv/blockchain/backends/ogmios-backend.js +254 -5
- package/srv/blockchain/cardano-client.d.ts +19 -0
- package/srv/blockchain/cardano-client.js +36 -0
- package/srv/blockchain/cardano-indexer.d.ts +50 -1
- package/srv/blockchain/cardano-indexer.js +191 -0
- package/srv/blockchain/crawler/crawler.d.ts +151 -0
- package/srv/blockchain/crawler/crawler.js +677 -0
- package/srv/blockchain/crawler/hooks.d.ts +43 -0
- package/srv/blockchain/crawler/hooks.js +62 -0
- package/srv/blockchain/crawler/index.d.ts +26 -0
- package/srv/blockchain/crawler/index.js +135 -0
- package/srv/blockchain/crawler/sync-state.d.ts +94 -0
- package/srv/blockchain/crawler/sync-state.js +265 -0
- package/srv/blockchain/signing/hsm-signer.d.ts +45 -0
- package/srv/blockchain/signing/hsm-signer.js +8 -1
- package/srv/blockchain/wallet-worker/build-request.d.ts +26 -0
- package/srv/blockchain/wallet-worker/build-request.js +341 -0
- package/srv/blockchain/wallet-worker/confirmation-tracker.d.ts +86 -0
- package/srv/blockchain/wallet-worker/confirmation-tracker.js +228 -0
- package/srv/blockchain/wallet-worker/index.d.ts +14 -0
- package/srv/blockchain/wallet-worker/index.js +80 -0
- package/srv/blockchain/wallet-worker/job-store.d.ts +261 -0
- package/srv/blockchain/wallet-worker/job-store.js +564 -0
- package/srv/blockchain/wallet-worker/lease-heartbeat.d.ts +43 -0
- package/srv/blockchain/wallet-worker/lease-heartbeat.js +99 -0
- package/srv/blockchain/wallet-worker/signers.d.ts +57 -0
- package/srv/blockchain/wallet-worker/signers.js +131 -0
- package/srv/blockchain/wallet-worker/wallet-worker.d.ts +145 -0
- package/srv/blockchain/wallet-worker/wallet-worker.js +542 -0
- package/srv/cardano-indexer-service.cds +73 -0
- package/srv/cardano-indexer-service.d.ts +2 -0
- package/srv/cardano-indexer-service.js +76 -0
- package/srv/cardano-service.js +22 -1
- package/srv/cardano-tx-service.d.ts +1 -11
- package/srv/cardano-tx-service.js +11 -162
- package/srv/cardano-worker-service.cds +125 -0
- package/srv/cardano-worker-service.d.ts +2 -0
- package/srv/cardano-worker-service.js +199 -0
- package/srv/server.d.ts +32 -1
- package/srv/server.js +228 -2
- package/srv/utils/collections.d.ts +13 -0
- package/srv/utils/collections.js +24 -0
- package/srv/utils/crypto.d.ts +16 -0
- package/srv/utils/crypto.js +75 -0
- package/srv/utils/error-codes.d.ts +6 -0
- package/srv/utils/error-codes.js +6 -0
- package/srv/utils/errors.d.ts +12 -0
- package/srv/utils/errors.js +45 -0
- package/srv/utils/mappers.js +13 -3
- package/srv/utils/service-events.d.ts +26 -0
- package/srv/utils/service-events.js +46 -0
- package/srv/utils/tx-request-parsers.d.ts +58 -0
- package/srv/utils/tx-request-parsers.js +170 -0
- package/srv/utils/tx-utils.d.ts +2 -1
- package/srv/utils/tx-utils.js +3 -2
- package/srv/utils/types.d.ts +2 -1
- package/@cds-models/CardanoODataService/index.d.ts.map +0 -1
- package/@cds-models/CardanoODataService/index.js.map +0 -1
- package/@cds-models/CardanoODataService/index.ts +0 -776
- package/@cds-models/CardanoSignService/index.d.ts.map +0 -1
- package/@cds-models/CardanoSignService/index.js.map +0 -1
- package/@cds-models/CardanoSignService/index.ts +0 -569
- package/@cds-models/CardanoTransactionService/index.d.ts.map +0 -1
- package/@cds-models/CardanoTransactionService/index.js.map +0 -1
- package/@cds-models/CardanoTransactionService/index.ts +0 -526
- package/@cds-models/_/index.d.ts.map +0 -1
- package/@cds-models/_/index.js.map +0 -1
- package/@cds-models/_/index.ts +0 -96
- package/@cds-models/cds/outbox/index.ts +0 -27
- package/@cds-models/index.d.ts.map +0 -1
- package/@cds-models/index.js.map +0 -1
- package/@cds-models/index.ts +0 -245
- package/@cds-models/odatano/cardano/index.d.ts.map +0 -1
- package/@cds-models/odatano/cardano/index.js.map +0 -1
- package/@cds-models/odatano/cardano/index.ts +0 -789
- package/@cds-models/sap/common/index.d.ts.map +0 -1
- package/@cds-models/sap/common/index.js.map +0 -1
- package/@cds-models/sap/common/index.ts +0 -249
package/@cds-models/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
// This is an automatically generated file. Please do not change its contents manually!
|
|
1
2
|
import * as __ from './_';
|
|
2
3
|
import * as _sap_common from './sap/common';
|
|
4
|
+
|
|
3
5
|
export type Blake2b224 = string;
|
|
4
6
|
export type Blake2b256 = string;
|
|
5
7
|
export type HexBytes = string;
|
|
@@ -12,585 +14,286 @@ export type Currency = __.Association.to<_sap_common.Currency>;
|
|
|
12
14
|
export type Country = __.Association.to<_sap_common.Country>;
|
|
13
15
|
export type Timezone = __.Association.to<_sap_common.Timezone>;
|
|
14
16
|
export type User = string;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
17
|
+
// enum
|
|
18
|
+
export const SubmissionStatus: {
|
|
19
|
+
pending: "pending",
|
|
20
|
+
submitted: "submitted",
|
|
21
|
+
confirmed: "confirmed",
|
|
22
|
+
failed: "failed",
|
|
23
|
+
}
|
|
24
|
+
export type SubmissionStatus = "pending" | "submitted" | "confirmed" | "failed"
|
|
25
|
+
|
|
26
|
+
// enum
|
|
27
|
+
export const SigningStatus: {
|
|
28
|
+
pending: "pending",
|
|
29
|
+
signed: "signed",
|
|
30
|
+
verified: "verified",
|
|
31
|
+
submitting: "submitting",
|
|
32
|
+
submitted: "submitted",
|
|
33
|
+
expired: "expired",
|
|
34
|
+
failed: "failed",
|
|
35
|
+
}
|
|
36
|
+
export type SigningStatus = "pending" | "signed" | "verified" | "submitting" | "submitted" | "expired" | "failed"
|
|
37
|
+
|
|
38
|
+
// enum
|
|
39
|
+
export const CrawlSyncStatus: {
|
|
40
|
+
stopped: "stopped",
|
|
41
|
+
syncing: "syncing",
|
|
42
|
+
synced: "synced",
|
|
43
|
+
error: "error",
|
|
44
|
+
}
|
|
45
|
+
export type CrawlSyncStatus = "stopped" | "syncing" | "synced" | "error"
|
|
46
|
+
|
|
47
|
+
// enum
|
|
48
|
+
export const ReorgStatus: {
|
|
49
|
+
detected: "detected",
|
|
50
|
+
rolling_back: "rolling_back",
|
|
51
|
+
reindexing: "reindexing",
|
|
52
|
+
completed: "completed",
|
|
53
|
+
}
|
|
54
|
+
export type ReorgStatus = "detected" | "rolling_back" | "reindexing" | "completed"
|
|
55
|
+
|
|
56
|
+
// enum
|
|
57
|
+
export const WalletJobStatus: {
|
|
58
|
+
pending: "pending",
|
|
59
|
+
building: "building",
|
|
60
|
+
submitting: "submitting",
|
|
61
|
+
submitted: "submitted",
|
|
62
|
+
confirmed: "confirmed",
|
|
63
|
+
failed: "failed",
|
|
64
|
+
cancelled: "cancelled",
|
|
65
|
+
}
|
|
66
|
+
export type WalletJobStatus = "pending" | "building" | "submitting" | "submitted" | "confirmed" | "failed" | "cancelled"
|
|
67
|
+
|
|
68
|
+
// enum
|
|
69
|
+
export const WalletJobKind: {
|
|
70
|
+
simpleAda: "simpleAda",
|
|
71
|
+
metadata: "metadata",
|
|
72
|
+
multiAsset: "multiAsset",
|
|
73
|
+
mint: "mint",
|
|
74
|
+
plutusSpend: "plutusSpend",
|
|
75
|
+
submitSigned: "submitSigned",
|
|
76
|
+
}
|
|
77
|
+
export type WalletJobKind = "simpleAda" | "metadata" | "multiAsset" | "mint" | "plutusSpend" | "submitSigned"
|
|
78
|
+
|
|
79
|
+
// enum
|
|
80
|
+
export const WorkerSignerType: {
|
|
81
|
+
hsm: "hsm",
|
|
82
|
+
software: "software",
|
|
83
|
+
}
|
|
84
|
+
export type WorkerSignerType = "hsm" | "software"
|
|
85
|
+
|
|
86
|
+
// the following represents the CDS aspect 'cuid'
|
|
32
87
|
export declare function _cuidAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
readonly kind:
|
|
37
|
-
readonly keys: __.KeysOf<
|
|
38
|
-
|
|
39
|
-
}>;
|
|
40
|
-
readonly elements: __.ElementsOf<{
|
|
41
|
-
ID?: __.Key<string>;
|
|
42
|
-
}>;
|
|
43
|
-
readonly actions: globalThis.Record<never, never>;
|
|
44
|
-
} & TBase;
|
|
45
|
-
declare const cuid_base: {
|
|
46
|
-
new (...args: any[]): {
|
|
47
|
-
ID?: __.Key<string>;
|
|
48
|
-
};
|
|
49
|
-
readonly kind: "entity" | "type" | "aspect";
|
|
50
|
-
readonly keys: __.KeysOf<{
|
|
51
|
-
ID?: __.Key<string>;
|
|
52
|
-
}>;
|
|
53
|
-
readonly elements: __.ElementsOf<{
|
|
54
|
-
ID?: __.Key<string>;
|
|
55
|
-
}>;
|
|
88
|
+
new (...args: any[]): {
|
|
89
|
+
ID?: __.Key<string>
|
|
90
|
+
} & InstanceType<TBase>
|
|
91
|
+
readonly kind: 'aspect';
|
|
92
|
+
readonly keys: __.KeysOf<cuid>;
|
|
93
|
+
readonly elements: __.ElementsOf<cuid>;
|
|
56
94
|
readonly actions: globalThis.Record<never, never>;
|
|
57
|
-
}
|
|
95
|
+
};
|
|
58
96
|
/**
|
|
59
97
|
* Aspect for entities with canonical universal IDs
|
|
60
|
-
*
|
|
98
|
+
*
|
|
61
99
|
* See https://cap.cloud.sap/docs/cds/common#aspect-cuid
|
|
62
100
|
*/
|
|
63
|
-
export
|
|
101
|
+
export class cuid extends _cuidAspect(__.Entity) {
|
|
64
102
|
}
|
|
65
103
|
/**
|
|
66
104
|
* Aspect for entities with canonical universal IDs
|
|
67
|
-
*
|
|
105
|
+
*
|
|
68
106
|
* See https://cap.cloud.sap/docs/cds/common#aspect-cuid
|
|
69
107
|
*/
|
|
70
|
-
export
|
|
71
|
-
|
|
108
|
+
export class cuid_ extends Array<cuid> {
|
|
109
|
+
$count?: number
|
|
72
110
|
}
|
|
111
|
+
// the following represents the CDS aspect 'managed'
|
|
73
112
|
export declare function _managedAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
readonly kind:
|
|
83
|
-
readonly keys: __.KeysOf<
|
|
84
|
-
|
|
85
|
-
/** Canonical user ID */
|
|
86
|
-
createdBy?: User | null;
|
|
87
|
-
modifiedAt?: __.CdsTimestamp | null;
|
|
88
|
-
/** Canonical user ID */
|
|
89
|
-
modifiedBy?: User | null;
|
|
90
|
-
}>;
|
|
91
|
-
readonly elements: __.ElementsOf<{
|
|
92
|
-
createdAt?: __.CdsTimestamp | null;
|
|
93
|
-
/** Canonical user ID */
|
|
94
|
-
createdBy?: User | null;
|
|
95
|
-
modifiedAt?: __.CdsTimestamp | null;
|
|
96
|
-
/** Canonical user ID */
|
|
97
|
-
modifiedBy?: User | null;
|
|
98
|
-
}>;
|
|
99
|
-
readonly actions: globalThis.Record<never, never>;
|
|
100
|
-
} & TBase;
|
|
101
|
-
declare const managed_base: {
|
|
102
|
-
new (...args: any[]): {
|
|
103
|
-
createdAt?: __.CdsTimestamp | null;
|
|
104
|
-
/** Canonical user ID */
|
|
105
|
-
createdBy?: User | null;
|
|
106
|
-
modifiedAt?: __.CdsTimestamp | null;
|
|
107
|
-
/** Canonical user ID */
|
|
108
|
-
modifiedBy?: User | null;
|
|
109
|
-
};
|
|
110
|
-
readonly kind: "entity" | "type" | "aspect";
|
|
111
|
-
readonly keys: __.KeysOf<{
|
|
112
|
-
createdAt?: __.CdsTimestamp | null;
|
|
113
|
-
/** Canonical user ID */
|
|
114
|
-
createdBy?: User | null;
|
|
115
|
-
modifiedAt?: __.CdsTimestamp | null;
|
|
116
|
-
/** Canonical user ID */
|
|
117
|
-
modifiedBy?: User | null;
|
|
118
|
-
}>;
|
|
119
|
-
readonly elements: __.ElementsOf<{
|
|
120
|
-
createdAt?: __.CdsTimestamp | null;
|
|
121
|
-
/** Canonical user ID */
|
|
122
|
-
createdBy?: User | null;
|
|
123
|
-
modifiedAt?: __.CdsTimestamp | null;
|
|
124
|
-
/** Canonical user ID */
|
|
125
|
-
modifiedBy?: User | null;
|
|
126
|
-
}>;
|
|
113
|
+
new (...args: any[]): {
|
|
114
|
+
createdAt?: __.CdsTimestamp | null
|
|
115
|
+
/** Canonical user ID */
|
|
116
|
+
createdBy?: User | null
|
|
117
|
+
modifiedAt?: __.CdsTimestamp | null
|
|
118
|
+
/** Canonical user ID */
|
|
119
|
+
modifiedBy?: User | null
|
|
120
|
+
} & InstanceType<TBase>
|
|
121
|
+
readonly kind: 'aspect';
|
|
122
|
+
readonly keys: __.KeysOf<managed>;
|
|
123
|
+
readonly elements: __.ElementsOf<managed>;
|
|
127
124
|
readonly actions: globalThis.Record<never, never>;
|
|
128
|
-
}
|
|
125
|
+
};
|
|
129
126
|
/**
|
|
130
127
|
* Aspect to capture changes by user and name
|
|
131
|
-
*
|
|
128
|
+
*
|
|
132
129
|
* See https://cap.cloud.sap/docs/cds/common#aspect-managed
|
|
133
130
|
*/
|
|
134
|
-
export
|
|
131
|
+
export class managed extends _managedAspect(__.Entity) {
|
|
135
132
|
}
|
|
136
133
|
/**
|
|
137
134
|
* Aspect to capture changes by user and name
|
|
138
|
-
*
|
|
135
|
+
*
|
|
139
136
|
* See https://cap.cloud.sap/docs/cds/common#aspect-managed
|
|
140
137
|
*/
|
|
141
|
-
export
|
|
142
|
-
|
|
138
|
+
export class managed_ extends Array<managed> {
|
|
139
|
+
$count?: number
|
|
143
140
|
}
|
|
141
|
+
// the following represents the CDS aspect 'temporal'
|
|
144
142
|
export declare function _temporalAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
readonly kind:
|
|
150
|
-
readonly keys: __.KeysOf<
|
|
151
|
-
|
|
152
|
-
validTo?: __.CdsTimestamp | null;
|
|
153
|
-
}>;
|
|
154
|
-
readonly elements: __.ElementsOf<{
|
|
155
|
-
validFrom?: __.CdsTimestamp | null;
|
|
156
|
-
validTo?: __.CdsTimestamp | null;
|
|
157
|
-
}>;
|
|
158
|
-
readonly actions: globalThis.Record<never, never>;
|
|
159
|
-
} & TBase;
|
|
160
|
-
declare const temporal_base: {
|
|
161
|
-
new (...args: any[]): {
|
|
162
|
-
validFrom?: __.CdsTimestamp | null;
|
|
163
|
-
validTo?: __.CdsTimestamp | null;
|
|
164
|
-
};
|
|
165
|
-
readonly kind: "entity" | "type" | "aspect";
|
|
166
|
-
readonly keys: __.KeysOf<{
|
|
167
|
-
validFrom?: __.CdsTimestamp | null;
|
|
168
|
-
validTo?: __.CdsTimestamp | null;
|
|
169
|
-
}>;
|
|
170
|
-
readonly elements: __.ElementsOf<{
|
|
171
|
-
validFrom?: __.CdsTimestamp | null;
|
|
172
|
-
validTo?: __.CdsTimestamp | null;
|
|
173
|
-
}>;
|
|
143
|
+
new (...args: any[]): {
|
|
144
|
+
validFrom?: __.CdsTimestamp | null
|
|
145
|
+
validTo?: __.CdsTimestamp | null
|
|
146
|
+
} & InstanceType<TBase>
|
|
147
|
+
readonly kind: 'aspect';
|
|
148
|
+
readonly keys: __.KeysOf<temporal>;
|
|
149
|
+
readonly elements: __.ElementsOf<temporal>;
|
|
174
150
|
readonly actions: globalThis.Record<never, never>;
|
|
175
|
-
}
|
|
151
|
+
};
|
|
176
152
|
/**
|
|
177
153
|
* Aspect for entities with temporal data
|
|
178
|
-
*
|
|
154
|
+
*
|
|
179
155
|
* See https://cap.cloud.sap/docs/cds/common#aspect-temporal
|
|
180
156
|
*/
|
|
181
|
-
export
|
|
157
|
+
export class temporal extends _temporalAspect(__.Entity) {
|
|
182
158
|
}
|
|
183
159
|
/**
|
|
184
160
|
* Aspect for entities with temporal data
|
|
185
|
-
*
|
|
161
|
+
*
|
|
186
162
|
* See https://cap.cloud.sap/docs/cds/common#aspect-temporal
|
|
187
163
|
*/
|
|
188
|
-
export
|
|
189
|
-
|
|
164
|
+
export class temporal_ extends Array<temporal> {
|
|
165
|
+
$count?: number
|
|
190
166
|
}
|
|
167
|
+
// entity 'AssetSlice'
|
|
191
168
|
export declare function _AssetSliceAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
readonly kind:
|
|
200
|
-
readonly keys: __.KeysOf<
|
|
201
|
-
|
|
202
|
-
policyId?: Blake2b224 | null;
|
|
203
|
-
assetNameHex?: HexBytes | null;
|
|
204
|
-
assetName?: string | null;
|
|
205
|
-
fingerprint?: string | null;
|
|
206
|
-
}>;
|
|
207
|
-
readonly elements: __.ElementsOf<{
|
|
208
|
-
quantity?: Lovelace | null;
|
|
209
|
-
policyId?: Blake2b224 | null;
|
|
210
|
-
assetNameHex?: HexBytes | null;
|
|
211
|
-
assetName?: string | null;
|
|
212
|
-
fingerprint?: string | null;
|
|
213
|
-
}>;
|
|
214
|
-
readonly actions: globalThis.Record<never, never>;
|
|
215
|
-
} & TBase;
|
|
216
|
-
declare const AssetSlice_base: {
|
|
217
|
-
new (...args: any[]): {
|
|
218
|
-
quantity?: Lovelace | null;
|
|
219
|
-
policyId?: Blake2b224 | null;
|
|
220
|
-
assetNameHex?: HexBytes | null;
|
|
221
|
-
assetName?: string | null;
|
|
222
|
-
fingerprint?: string | null;
|
|
223
|
-
};
|
|
224
|
-
readonly kind: "entity" | "type" | "aspect";
|
|
225
|
-
readonly keys: __.KeysOf<{
|
|
226
|
-
quantity?: Lovelace | null;
|
|
227
|
-
policyId?: Blake2b224 | null;
|
|
228
|
-
assetNameHex?: HexBytes | null;
|
|
229
|
-
assetName?: string | null;
|
|
230
|
-
fingerprint?: string | null;
|
|
231
|
-
}>;
|
|
232
|
-
readonly elements: __.ElementsOf<{
|
|
233
|
-
quantity?: Lovelace | null;
|
|
234
|
-
policyId?: Blake2b224 | null;
|
|
235
|
-
assetNameHex?: HexBytes | null;
|
|
236
|
-
assetName?: string | null;
|
|
237
|
-
fingerprint?: string | null;
|
|
238
|
-
}>;
|
|
169
|
+
new (...args: any[]): {
|
|
170
|
+
quantity?: Lovelace | null
|
|
171
|
+
policyId?: Blake2b224 | null
|
|
172
|
+
assetNameHex?: HexBytes | null
|
|
173
|
+
assetName?: string | null
|
|
174
|
+
fingerprint?: string | null
|
|
175
|
+
} & InstanceType<TBase>
|
|
176
|
+
readonly kind: 'type';
|
|
177
|
+
readonly keys: __.KeysOf<AssetSlice>;
|
|
178
|
+
readonly elements: __.ElementsOf<AssetSlice>;
|
|
239
179
|
readonly actions: globalThis.Record<never, never>;
|
|
240
|
-
}
|
|
241
|
-
export
|
|
180
|
+
};
|
|
181
|
+
export class AssetSlice extends _AssetSliceAspect(__.Entity) {
|
|
242
182
|
}
|
|
183
|
+
|
|
184
|
+
// entity 'MetadataSlice'
|
|
243
185
|
export declare function _MetadataSliceAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
readonly kind:
|
|
249
|
-
readonly keys: __.KeysOf<
|
|
250
|
-
|
|
251
|
-
payload?: string | null;
|
|
252
|
-
}>;
|
|
253
|
-
readonly elements: __.ElementsOf<{
|
|
254
|
-
label?: MetadataLabel | null;
|
|
255
|
-
payload?: string | null;
|
|
256
|
-
}>;
|
|
257
|
-
readonly actions: globalThis.Record<never, never>;
|
|
258
|
-
} & TBase;
|
|
259
|
-
declare const MetadataSlice_base: {
|
|
260
|
-
new (...args: any[]): {
|
|
261
|
-
label?: MetadataLabel | null;
|
|
262
|
-
payload?: string | null;
|
|
263
|
-
};
|
|
264
|
-
readonly kind: "entity" | "type" | "aspect";
|
|
265
|
-
readonly keys: __.KeysOf<{
|
|
266
|
-
label?: MetadataLabel | null;
|
|
267
|
-
payload?: string | null;
|
|
268
|
-
}>;
|
|
269
|
-
readonly elements: __.ElementsOf<{
|
|
270
|
-
label?: MetadataLabel | null;
|
|
271
|
-
payload?: string | null;
|
|
272
|
-
}>;
|
|
186
|
+
new (...args: any[]): {
|
|
187
|
+
label?: MetadataLabel | null
|
|
188
|
+
payload?: string | null
|
|
189
|
+
} & InstanceType<TBase>
|
|
190
|
+
readonly kind: 'type';
|
|
191
|
+
readonly keys: __.KeysOf<MetadataSlice>;
|
|
192
|
+
readonly elements: __.ElementsOf<MetadataSlice>;
|
|
273
193
|
readonly actions: globalThis.Record<never, never>;
|
|
274
|
-
}
|
|
275
|
-
export
|
|
194
|
+
};
|
|
195
|
+
export class MetadataSlice extends _MetadataSliceAspect(__.Entity) {
|
|
276
196
|
}
|
|
197
|
+
|
|
198
|
+
// entity 'UTxODataSlice'
|
|
277
199
|
export declare function _UTxODataSliceAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
readonly kind:
|
|
284
|
-
readonly keys: __.KeysOf<
|
|
285
|
-
|
|
286
|
-
inlineDatum?: string | null;
|
|
287
|
-
referenceScriptHash?: Blake2b256 | null;
|
|
288
|
-
}>;
|
|
289
|
-
readonly elements: __.ElementsOf<{
|
|
290
|
-
dataHash?: Blake2b256 | null;
|
|
291
|
-
inlineDatum?: string | null;
|
|
292
|
-
referenceScriptHash?: Blake2b256 | null;
|
|
293
|
-
}>;
|
|
294
|
-
readonly actions: globalThis.Record<never, never>;
|
|
295
|
-
} & TBase;
|
|
296
|
-
declare const UTxODataSlice_base: {
|
|
297
|
-
new (...args: any[]): {
|
|
298
|
-
dataHash?: Blake2b256 | null;
|
|
299
|
-
inlineDatum?: string | null;
|
|
300
|
-
referenceScriptHash?: Blake2b256 | null;
|
|
301
|
-
};
|
|
302
|
-
readonly kind: "entity" | "type" | "aspect";
|
|
303
|
-
readonly keys: __.KeysOf<{
|
|
304
|
-
dataHash?: Blake2b256 | null;
|
|
305
|
-
inlineDatum?: string | null;
|
|
306
|
-
referenceScriptHash?: Blake2b256 | null;
|
|
307
|
-
}>;
|
|
308
|
-
readonly elements: __.ElementsOf<{
|
|
309
|
-
dataHash?: Blake2b256 | null;
|
|
310
|
-
inlineDatum?: string | null;
|
|
311
|
-
referenceScriptHash?: Blake2b256 | null;
|
|
312
|
-
}>;
|
|
200
|
+
new (...args: any[]): {
|
|
201
|
+
dataHash?: Blake2b256 | null
|
|
202
|
+
inlineDatum?: string | null
|
|
203
|
+
referenceScriptHash?: Blake2b256 | null
|
|
204
|
+
} & InstanceType<TBase>
|
|
205
|
+
readonly kind: 'type';
|
|
206
|
+
readonly keys: __.KeysOf<UTxODataSlice>;
|
|
207
|
+
readonly elements: __.ElementsOf<UTxODataSlice>;
|
|
313
208
|
readonly actions: globalThis.Record<never, never>;
|
|
314
|
-
}
|
|
315
|
-
export
|
|
209
|
+
};
|
|
210
|
+
export class UTxODataSlice extends _UTxODataSliceAspect(__.Entity) {
|
|
316
211
|
}
|
|
212
|
+
|
|
213
|
+
// entity 'ParsedInput'
|
|
317
214
|
export declare function _ParsedInputAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
readonly kind:
|
|
323
|
-
readonly keys: __.KeysOf<
|
|
324
|
-
|
|
325
|
-
outputIndex?: number | null;
|
|
326
|
-
}>;
|
|
327
|
-
readonly elements: __.ElementsOf<{
|
|
328
|
-
txHash?: Blake2b256 | null;
|
|
329
|
-
outputIndex?: number | null;
|
|
330
|
-
}>;
|
|
331
|
-
readonly actions: globalThis.Record<never, never>;
|
|
332
|
-
} & TBase;
|
|
333
|
-
declare const ParsedInput_base: {
|
|
334
|
-
new (...args: any[]): {
|
|
335
|
-
txHash?: Blake2b256 | null;
|
|
336
|
-
outputIndex?: number | null;
|
|
337
|
-
};
|
|
338
|
-
readonly kind: "entity" | "type" | "aspect";
|
|
339
|
-
readonly keys: __.KeysOf<{
|
|
340
|
-
txHash?: Blake2b256 | null;
|
|
341
|
-
outputIndex?: number | null;
|
|
342
|
-
}>;
|
|
343
|
-
readonly elements: __.ElementsOf<{
|
|
344
|
-
txHash?: Blake2b256 | null;
|
|
345
|
-
outputIndex?: number | null;
|
|
346
|
-
}>;
|
|
215
|
+
new (...args: any[]): {
|
|
216
|
+
txHash?: Blake2b256 | null
|
|
217
|
+
outputIndex?: number | null
|
|
218
|
+
} & InstanceType<TBase>
|
|
219
|
+
readonly kind: 'type';
|
|
220
|
+
readonly keys: __.KeysOf<ParsedInput>;
|
|
221
|
+
readonly elements: __.ElementsOf<ParsedInput>;
|
|
347
222
|
readonly actions: globalThis.Record<never, never>;
|
|
348
|
-
}
|
|
349
|
-
export
|
|
223
|
+
};
|
|
224
|
+
export class ParsedInput extends _ParsedInputAspect(__.Entity) {
|
|
350
225
|
}
|
|
226
|
+
|
|
227
|
+
// entity 'ParsedAsset'
|
|
351
228
|
export declare function _ParsedAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
readonly kind:
|
|
357
|
-
readonly keys: __.KeysOf<
|
|
358
|
-
|
|
359
|
-
quantity?: string | null;
|
|
360
|
-
}>;
|
|
361
|
-
readonly elements: __.ElementsOf<{
|
|
362
|
-
unit?: AssetUnit | null;
|
|
363
|
-
quantity?: string | null;
|
|
364
|
-
}>;
|
|
365
|
-
readonly actions: globalThis.Record<never, never>;
|
|
366
|
-
} & TBase;
|
|
367
|
-
declare const ParsedAsset_base: {
|
|
368
|
-
new (...args: any[]): {
|
|
369
|
-
unit?: AssetUnit | null;
|
|
370
|
-
quantity?: string | null;
|
|
371
|
-
};
|
|
372
|
-
readonly kind: "entity" | "type" | "aspect";
|
|
373
|
-
readonly keys: __.KeysOf<{
|
|
374
|
-
unit?: AssetUnit | null;
|
|
375
|
-
quantity?: string | null;
|
|
376
|
-
}>;
|
|
377
|
-
readonly elements: __.ElementsOf<{
|
|
378
|
-
unit?: AssetUnit | null;
|
|
379
|
-
quantity?: string | null;
|
|
380
|
-
}>;
|
|
229
|
+
new (...args: any[]): {
|
|
230
|
+
unit?: AssetUnit | null
|
|
231
|
+
quantity?: string | null
|
|
232
|
+
} & InstanceType<TBase>
|
|
233
|
+
readonly kind: 'type';
|
|
234
|
+
readonly keys: __.KeysOf<ParsedAsset>;
|
|
235
|
+
readonly elements: __.ElementsOf<ParsedAsset>;
|
|
381
236
|
readonly actions: globalThis.Record<never, never>;
|
|
382
|
-
}
|
|
383
|
-
export
|
|
237
|
+
};
|
|
238
|
+
export class ParsedAsset extends _ParsedAssetAspect(__.Entity) {
|
|
384
239
|
}
|
|
240
|
+
|
|
241
|
+
// entity 'ParsedOutput'
|
|
385
242
|
export declare function _ParsedOutputAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
readonly kind:
|
|
395
|
-
readonly keys: __.KeysOf<
|
|
396
|
-
|
|
397
|
-
lovelace?: Lovelace | null;
|
|
398
|
-
assets?: Array<ParsedAsset>;
|
|
399
|
-
datumHash?: Blake2b256 | null;
|
|
400
|
-
inlineDatumHex?: string | null;
|
|
401
|
-
referenceScriptHex?: string | null;
|
|
402
|
-
}>;
|
|
403
|
-
readonly elements: __.ElementsOf<{
|
|
404
|
-
address?: Bech32 | null;
|
|
405
|
-
lovelace?: Lovelace | null;
|
|
406
|
-
assets?: Array<ParsedAsset>;
|
|
407
|
-
datumHash?: Blake2b256 | null;
|
|
408
|
-
inlineDatumHex?: string | null;
|
|
409
|
-
referenceScriptHex?: string | null;
|
|
410
|
-
}>;
|
|
411
|
-
readonly actions: globalThis.Record<never, never>;
|
|
412
|
-
} & TBase;
|
|
413
|
-
declare const ParsedOutput_base: {
|
|
414
|
-
new (...args: any[]): {
|
|
415
|
-
address?: Bech32 | null;
|
|
416
|
-
lovelace?: Lovelace | null;
|
|
417
|
-
assets?: Array<ParsedAsset>;
|
|
418
|
-
datumHash?: Blake2b256 | null;
|
|
419
|
-
inlineDatumHex?: string | null;
|
|
420
|
-
referenceScriptHex?: string | null;
|
|
421
|
-
};
|
|
422
|
-
readonly kind: "entity" | "type" | "aspect";
|
|
423
|
-
readonly keys: __.KeysOf<{
|
|
424
|
-
address?: Bech32 | null;
|
|
425
|
-
lovelace?: Lovelace | null;
|
|
426
|
-
assets?: Array<ParsedAsset>;
|
|
427
|
-
datumHash?: Blake2b256 | null;
|
|
428
|
-
inlineDatumHex?: string | null;
|
|
429
|
-
referenceScriptHex?: string | null;
|
|
430
|
-
}>;
|
|
431
|
-
readonly elements: __.ElementsOf<{
|
|
432
|
-
address?: Bech32 | null;
|
|
433
|
-
lovelace?: Lovelace | null;
|
|
434
|
-
assets?: Array<ParsedAsset>;
|
|
435
|
-
datumHash?: Blake2b256 | null;
|
|
436
|
-
inlineDatumHex?: string | null;
|
|
437
|
-
referenceScriptHex?: string | null;
|
|
438
|
-
}>;
|
|
243
|
+
new (...args: any[]): {
|
|
244
|
+
address?: Bech32 | null
|
|
245
|
+
lovelace?: Lovelace | null
|
|
246
|
+
assets?: Array<ParsedAsset>
|
|
247
|
+
datumHash?: Blake2b256 | null
|
|
248
|
+
inlineDatumHex?: string | null
|
|
249
|
+
referenceScriptHex?: string | null
|
|
250
|
+
} & InstanceType<TBase>
|
|
251
|
+
readonly kind: 'type';
|
|
252
|
+
readonly keys: __.KeysOf<ParsedOutput>;
|
|
253
|
+
readonly elements: __.ElementsOf<ParsedOutput>;
|
|
439
254
|
readonly actions: globalThis.Record<never, never>;
|
|
440
|
-
}
|
|
441
|
-
export
|
|
255
|
+
};
|
|
256
|
+
export class ParsedOutput extends _ParsedOutputAspect(__.Entity) {
|
|
442
257
|
}
|
|
258
|
+
|
|
259
|
+
// entity 'ParsedWitnesses'
|
|
443
260
|
export declare function _ParsedWitnessesAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
readonly kind:
|
|
452
|
-
readonly keys: __.KeysOf<
|
|
453
|
-
|
|
454
|
-
nativeScripts?: number | null;
|
|
455
|
-
plutusScripts?: number | null;
|
|
456
|
-
plutusData?: number | null;
|
|
457
|
-
redeemers?: number | null;
|
|
458
|
-
}>;
|
|
459
|
-
readonly elements: __.ElementsOf<{
|
|
460
|
-
vkeyCount?: number | null;
|
|
461
|
-
nativeScripts?: number | null;
|
|
462
|
-
plutusScripts?: number | null;
|
|
463
|
-
plutusData?: number | null;
|
|
464
|
-
redeemers?: number | null;
|
|
465
|
-
}>;
|
|
466
|
-
readonly actions: globalThis.Record<never, never>;
|
|
467
|
-
} & TBase;
|
|
468
|
-
declare const ParsedWitnesses_base: {
|
|
469
|
-
new (...args: any[]): {
|
|
470
|
-
vkeyCount?: number | null;
|
|
471
|
-
nativeScripts?: number | null;
|
|
472
|
-
plutusScripts?: number | null;
|
|
473
|
-
plutusData?: number | null;
|
|
474
|
-
redeemers?: number | null;
|
|
475
|
-
};
|
|
476
|
-
readonly kind: "entity" | "type" | "aspect";
|
|
477
|
-
readonly keys: __.KeysOf<{
|
|
478
|
-
vkeyCount?: number | null;
|
|
479
|
-
nativeScripts?: number | null;
|
|
480
|
-
plutusScripts?: number | null;
|
|
481
|
-
plutusData?: number | null;
|
|
482
|
-
redeemers?: number | null;
|
|
483
|
-
}>;
|
|
484
|
-
readonly elements: __.ElementsOf<{
|
|
485
|
-
vkeyCount?: number | null;
|
|
486
|
-
nativeScripts?: number | null;
|
|
487
|
-
plutusScripts?: number | null;
|
|
488
|
-
plutusData?: number | null;
|
|
489
|
-
redeemers?: number | null;
|
|
490
|
-
}>;
|
|
261
|
+
new (...args: any[]): {
|
|
262
|
+
vkeyCount?: number | null
|
|
263
|
+
nativeScripts?: number | null
|
|
264
|
+
plutusScripts?: number | null
|
|
265
|
+
plutusData?: number | null
|
|
266
|
+
redeemers?: number | null
|
|
267
|
+
} & InstanceType<TBase>
|
|
268
|
+
readonly kind: 'type';
|
|
269
|
+
readonly keys: __.KeysOf<ParsedWitnesses>;
|
|
270
|
+
readonly elements: __.ElementsOf<ParsedWitnesses>;
|
|
491
271
|
readonly actions: globalThis.Record<never, never>;
|
|
492
|
-
}
|
|
493
|
-
export
|
|
272
|
+
};
|
|
273
|
+
export class ParsedWitnesses extends _ParsedWitnessesAspect(__.Entity) {
|
|
494
274
|
}
|
|
275
|
+
|
|
276
|
+
// entity 'ParsedTransaction'
|
|
495
277
|
export declare function _ParsedTransactionAspect<TBase extends new (...args: any[]) => object>(Base: TBase): {
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
readonly kind:
|
|
512
|
-
readonly keys: __.KeysOf<
|
|
513
|
-
|
|
514
|
-
network?: string | null;
|
|
515
|
-
inputs?: Array<ParsedInput>;
|
|
516
|
-
outputs?: Array<ParsedOutput>;
|
|
517
|
-
validityStart?: string | null;
|
|
518
|
-
validityEnd?: string | null;
|
|
519
|
-
fee?: Lovelace | null;
|
|
520
|
-
mint?: Array<ParsedAsset>;
|
|
521
|
-
metadataLabels?: Array<string>;
|
|
522
|
-
collateral?: Array<ParsedInput>;
|
|
523
|
-
requiredSigners?: Array<Blake2b224>;
|
|
524
|
-
scriptDataHash?: Blake2b256 | null;
|
|
525
|
-
witnesses?: ParsedWitnesses | null;
|
|
526
|
-
}>;
|
|
527
|
-
readonly elements: __.ElementsOf<{
|
|
528
|
-
txHash?: Blake2b256 | null;
|
|
529
|
-
network?: string | null;
|
|
530
|
-
inputs?: Array<ParsedInput>;
|
|
531
|
-
outputs?: Array<ParsedOutput>;
|
|
532
|
-
validityStart?: string | null;
|
|
533
|
-
validityEnd?: string | null;
|
|
534
|
-
fee?: Lovelace | null;
|
|
535
|
-
mint?: Array<ParsedAsset>;
|
|
536
|
-
metadataLabels?: Array<string>;
|
|
537
|
-
collateral?: Array<ParsedInput>;
|
|
538
|
-
requiredSigners?: Array<Blake2b224>;
|
|
539
|
-
scriptDataHash?: Blake2b256 | null;
|
|
540
|
-
witnesses?: ParsedWitnesses | null;
|
|
541
|
-
}>;
|
|
542
|
-
readonly actions: globalThis.Record<never, never>;
|
|
543
|
-
} & TBase;
|
|
544
|
-
declare const ParsedTransaction_base: {
|
|
545
|
-
new (...args: any[]): {
|
|
546
|
-
txHash?: Blake2b256 | null;
|
|
547
|
-
network?: string | null;
|
|
548
|
-
inputs?: Array<ParsedInput>;
|
|
549
|
-
outputs?: Array<ParsedOutput>;
|
|
550
|
-
validityStart?: string | null;
|
|
551
|
-
validityEnd?: string | null;
|
|
552
|
-
fee?: Lovelace | null;
|
|
553
|
-
mint?: Array<ParsedAsset>;
|
|
554
|
-
metadataLabels?: Array<string>;
|
|
555
|
-
collateral?: Array<ParsedInput>;
|
|
556
|
-
requiredSigners?: Array<Blake2b224>;
|
|
557
|
-
scriptDataHash?: Blake2b256 | null;
|
|
558
|
-
witnesses?: ParsedWitnesses | null;
|
|
559
|
-
};
|
|
560
|
-
readonly kind: "entity" | "type" | "aspect";
|
|
561
|
-
readonly keys: __.KeysOf<{
|
|
562
|
-
txHash?: Blake2b256 | null;
|
|
563
|
-
network?: string | null;
|
|
564
|
-
inputs?: Array<ParsedInput>;
|
|
565
|
-
outputs?: Array<ParsedOutput>;
|
|
566
|
-
validityStart?: string | null;
|
|
567
|
-
validityEnd?: string | null;
|
|
568
|
-
fee?: Lovelace | null;
|
|
569
|
-
mint?: Array<ParsedAsset>;
|
|
570
|
-
metadataLabels?: Array<string>;
|
|
571
|
-
collateral?: Array<ParsedInput>;
|
|
572
|
-
requiredSigners?: Array<Blake2b224>;
|
|
573
|
-
scriptDataHash?: Blake2b256 | null;
|
|
574
|
-
witnesses?: ParsedWitnesses | null;
|
|
575
|
-
}>;
|
|
576
|
-
readonly elements: __.ElementsOf<{
|
|
577
|
-
txHash?: Blake2b256 | null;
|
|
578
|
-
network?: string | null;
|
|
579
|
-
inputs?: Array<ParsedInput>;
|
|
580
|
-
outputs?: Array<ParsedOutput>;
|
|
581
|
-
validityStart?: string | null;
|
|
582
|
-
validityEnd?: string | null;
|
|
583
|
-
fee?: Lovelace | null;
|
|
584
|
-
mint?: Array<ParsedAsset>;
|
|
585
|
-
metadataLabels?: Array<string>;
|
|
586
|
-
collateral?: Array<ParsedInput>;
|
|
587
|
-
requiredSigners?: Array<Blake2b224>;
|
|
588
|
-
scriptDataHash?: Blake2b256 | null;
|
|
589
|
-
witnesses?: ParsedWitnesses | null;
|
|
590
|
-
}>;
|
|
278
|
+
new (...args: any[]): {
|
|
279
|
+
txHash?: Blake2b256 | null
|
|
280
|
+
network?: string | null
|
|
281
|
+
inputs?: Array<ParsedInput>
|
|
282
|
+
outputs?: Array<ParsedOutput>
|
|
283
|
+
validityStart?: string | null
|
|
284
|
+
validityEnd?: string | null
|
|
285
|
+
fee?: Lovelace | null
|
|
286
|
+
mint?: Array<ParsedAsset>
|
|
287
|
+
metadataLabels?: Array<string>
|
|
288
|
+
collateral?: Array<ParsedInput>
|
|
289
|
+
requiredSigners?: Array<Blake2b224>
|
|
290
|
+
scriptDataHash?: Blake2b256 | null
|
|
291
|
+
witnesses?: ParsedWitnesses | null
|
|
292
|
+
} & InstanceType<TBase>
|
|
293
|
+
readonly kind: 'type';
|
|
294
|
+
readonly keys: __.KeysOf<ParsedTransaction>;
|
|
295
|
+
readonly elements: __.ElementsOf<ParsedTransaction>;
|
|
591
296
|
readonly actions: globalThis.Record<never, never>;
|
|
592
|
-
}
|
|
593
|
-
export
|
|
297
|
+
};
|
|
298
|
+
export class ParsedTransaction extends _ParsedTransactionAspect(__.Entity) {
|
|
594
299
|
}
|
|
595
|
-
export {};
|
|
596
|
-
//# sourceMappingURL=index.d.ts.map
|