@odatano/core 1.10.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 +43 -34
- 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/signing/signature-verifier.js +4 -5
- package/srv/blockchain/transaction-building/buildooor-tx.d.ts +7 -10
- package/srv/blockchain/transaction-building/buildooor-tx.js +12 -15
- 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-build-helper.d.ts +1 -2
- package/srv/utils/tx-build-helper.js +3 -5
- 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/srv/blockchain/transaction-building/keep-relevant.d.ts +0 -29
- package/srv/blockchain/transaction-building/keep-relevant.js +0 -116
|
@@ -1,390 +1,88 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
})
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
})
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
exports.
|
|
39
|
-
exports.
|
|
40
|
-
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
43
|
-
|
|
44
|
-
exports.
|
|
45
|
-
exports.
|
|
46
|
-
|
|
47
|
-
exports.
|
|
48
|
-
exports.
|
|
49
|
-
|
|
50
|
-
exports.
|
|
51
|
-
exports.
|
|
52
|
-
|
|
53
|
-
exports.
|
|
54
|
-
exports.
|
|
55
|
-
|
|
56
|
-
exports.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
exports.default = default_1;
|
|
90
|
-
function _NetworkInformationAspect(Base) {
|
|
91
|
-
return class NetworkInformation extends Base {
|
|
92
|
-
static kind = 'entity';
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
class NetworkInformation extends _NetworkInformationAspect(__.Entity) {
|
|
96
|
-
}
|
|
97
|
-
exports.NetworkInformation = NetworkInformation;
|
|
98
|
-
Object.defineProperty(NetworkInformation, 'name', { value: 'CardanoODataService.NetworkInformation' });
|
|
99
|
-
Object.defineProperty(NetworkInformation, 'is_singular', { value: true });
|
|
100
|
-
class NetworkInformation_ extends Array {
|
|
101
|
-
$count;
|
|
102
|
-
}
|
|
103
|
-
exports.NetworkInformation_ = NetworkInformation_;
|
|
104
|
-
Object.defineProperty(NetworkInformation_, 'name', { value: 'CardanoODataService.NetworkInformation' });
|
|
105
|
-
function _BlockAspect(Base) {
|
|
106
|
-
return class Block extends Base {
|
|
107
|
-
static kind = 'entity';
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
class Block extends _BlockAspect(__.Entity) {
|
|
111
|
-
}
|
|
112
|
-
exports.Block = Block;
|
|
113
|
-
Object.defineProperty(Block, 'name', { value: 'CardanoODataService.Blocks' });
|
|
114
|
-
Object.defineProperty(Block, 'is_singular', { value: true });
|
|
115
|
-
class Blocks extends Array {
|
|
116
|
-
$count;
|
|
117
|
-
}
|
|
118
|
-
exports.Blocks = Blocks;
|
|
119
|
-
Object.defineProperty(Blocks, 'name', { value: 'CardanoODataService.Blocks' });
|
|
120
|
-
function _EpochAspect(Base) {
|
|
121
|
-
return class Epoch extends Base {
|
|
122
|
-
static kind = 'entity';
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
class Epoch extends _EpochAspect(__.Entity) {
|
|
126
|
-
}
|
|
127
|
-
exports.Epoch = Epoch;
|
|
128
|
-
Object.defineProperty(Epoch, 'name', { value: 'CardanoODataService.Epochs' });
|
|
129
|
-
Object.defineProperty(Epoch, 'is_singular', { value: true });
|
|
130
|
-
class Epochs extends Array {
|
|
131
|
-
$count;
|
|
132
|
-
}
|
|
133
|
-
exports.Epochs = Epochs;
|
|
134
|
-
Object.defineProperty(Epochs, 'name', { value: 'CardanoODataService.Epochs' });
|
|
135
|
-
function _PoolAspect(Base) {
|
|
136
|
-
return class Pool extends Base {
|
|
137
|
-
static kind = 'entity';
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
class Pool extends _PoolAspect(__.Entity) {
|
|
141
|
-
}
|
|
142
|
-
exports.Pool = Pool;
|
|
143
|
-
Object.defineProperty(Pool, 'name', { value: 'CardanoODataService.Pools' });
|
|
144
|
-
Object.defineProperty(Pool, 'is_singular', { value: true });
|
|
145
|
-
class Pools extends Array {
|
|
146
|
-
$count;
|
|
147
|
-
}
|
|
148
|
-
exports.Pools = Pools;
|
|
149
|
-
Object.defineProperty(Pools, 'name', { value: 'CardanoODataService.Pools' });
|
|
150
|
-
function _DrepAspect(Base) {
|
|
151
|
-
return class Drep extends Base {
|
|
152
|
-
static kind = 'entity';
|
|
153
|
-
};
|
|
154
|
-
}
|
|
155
|
-
class Drep extends _DrepAspect(__.Entity) {
|
|
156
|
-
}
|
|
157
|
-
exports.Drep = Drep;
|
|
158
|
-
Object.defineProperty(Drep, 'name', { value: 'CardanoODataService.Dreps' });
|
|
159
|
-
Object.defineProperty(Drep, 'is_singular', { value: true });
|
|
160
|
-
class Dreps extends Array {
|
|
161
|
-
$count;
|
|
162
|
-
}
|
|
163
|
-
exports.Dreps = Dreps;
|
|
164
|
-
Object.defineProperty(Dreps, 'name', { value: 'CardanoODataService.Dreps' });
|
|
165
|
-
function _AssetAspect(Base) {
|
|
166
|
-
return class Asset extends Base {
|
|
167
|
-
static kind = 'entity';
|
|
168
|
-
};
|
|
169
|
-
}
|
|
170
|
-
class Asset extends _AssetAspect(__.Entity) {
|
|
171
|
-
}
|
|
172
|
-
exports.Asset = Asset;
|
|
173
|
-
Object.defineProperty(Asset, 'name', { value: 'CardanoODataService.Assets' });
|
|
174
|
-
Object.defineProperty(Asset, 'is_singular', { value: true });
|
|
175
|
-
class Assets extends Array {
|
|
176
|
-
$count;
|
|
177
|
-
}
|
|
178
|
-
exports.Assets = Assets;
|
|
179
|
-
Object.defineProperty(Assets, 'name', { value: 'CardanoODataService.Assets' });
|
|
180
|
-
function _AssetHistoryAspect(Base) {
|
|
181
|
-
return class AssetHistory extends Base {
|
|
182
|
-
static kind = 'entity';
|
|
183
|
-
};
|
|
184
|
-
}
|
|
185
|
-
class AssetHistory extends _AssetHistoryAspect(__.Entity) {
|
|
186
|
-
}
|
|
187
|
-
exports.AssetHistory = AssetHistory;
|
|
188
|
-
Object.defineProperty(AssetHistory, 'name', { value: 'CardanoODataService.AssetHistory' });
|
|
189
|
-
Object.defineProperty(AssetHistory, 'is_singular', { value: true });
|
|
190
|
-
class AssetHistory_ extends Array {
|
|
191
|
-
$count;
|
|
192
|
-
}
|
|
193
|
-
exports.AssetHistory_ = AssetHistory_;
|
|
194
|
-
Object.defineProperty(AssetHistory_, 'name', { value: 'CardanoODataService.AssetHistory' });
|
|
195
|
-
function _TransactionAspect(Base) {
|
|
196
|
-
return class Transaction extends Base {
|
|
197
|
-
static kind = 'entity';
|
|
198
|
-
};
|
|
199
|
-
}
|
|
200
|
-
class Transaction extends _TransactionAspect(__.Entity) {
|
|
201
|
-
}
|
|
202
|
-
exports.Transaction = Transaction;
|
|
203
|
-
Object.defineProperty(Transaction, 'name', { value: 'CardanoODataService.Transactions' });
|
|
204
|
-
Object.defineProperty(Transaction, 'is_singular', { value: true });
|
|
205
|
-
class Transactions extends Array {
|
|
206
|
-
$count;
|
|
207
|
-
}
|
|
208
|
-
exports.Transactions = Transactions;
|
|
209
|
-
Object.defineProperty(Transactions, 'name', { value: 'CardanoODataService.Transactions' });
|
|
210
|
-
function _TransactionInputAspect(Base) {
|
|
211
|
-
return class TransactionInput extends Base {
|
|
212
|
-
static kind = 'entity';
|
|
213
|
-
};
|
|
214
|
-
}
|
|
215
|
-
class TransactionInput extends _TransactionInputAspect(__.Entity) {
|
|
216
|
-
}
|
|
217
|
-
exports.TransactionInput = TransactionInput;
|
|
218
|
-
Object.defineProperty(TransactionInput, 'name', { value: 'CardanoODataService.TransactionInputs' });
|
|
219
|
-
Object.defineProperty(TransactionInput, 'is_singular', { value: true });
|
|
220
|
-
class TransactionInputs extends Array {
|
|
221
|
-
$count;
|
|
222
|
-
}
|
|
223
|
-
exports.TransactionInputs = TransactionInputs;
|
|
224
|
-
Object.defineProperty(TransactionInputs, 'name', { value: 'CardanoODataService.TransactionInputs' });
|
|
225
|
-
function _TransactionOutputAspect(Base) {
|
|
226
|
-
return class TransactionOutput extends Base {
|
|
227
|
-
static kind = 'entity';
|
|
228
|
-
};
|
|
229
|
-
}
|
|
230
|
-
class TransactionOutput extends _TransactionOutputAspect(__.Entity) {
|
|
231
|
-
}
|
|
232
|
-
exports.TransactionOutput = TransactionOutput;
|
|
233
|
-
Object.defineProperty(TransactionOutput, 'name', { value: 'CardanoODataService.TransactionOutputs' });
|
|
234
|
-
Object.defineProperty(TransactionOutput, 'is_singular', { value: true });
|
|
235
|
-
class TransactionOutputs extends Array {
|
|
236
|
-
$count;
|
|
237
|
-
}
|
|
238
|
-
exports.TransactionOutputs = TransactionOutputs;
|
|
239
|
-
Object.defineProperty(TransactionOutputs, 'name', { value: 'CardanoODataService.TransactionOutputs' });
|
|
240
|
-
function _TransactionInputAssetAspect(Base) {
|
|
241
|
-
return class TransactionInputAsset extends Base {
|
|
242
|
-
static kind = 'entity';
|
|
243
|
-
};
|
|
244
|
-
}
|
|
245
|
-
class TransactionInputAsset extends _TransactionInputAssetAspect(__.Entity) {
|
|
246
|
-
}
|
|
247
|
-
exports.TransactionInputAsset = TransactionInputAsset;
|
|
248
|
-
Object.defineProperty(TransactionInputAsset, 'name', { value: 'CardanoODataService.TransactionInputAssets' });
|
|
249
|
-
Object.defineProperty(TransactionInputAsset, 'is_singular', { value: true });
|
|
250
|
-
class TransactionInputAssets extends Array {
|
|
251
|
-
$count;
|
|
252
|
-
}
|
|
253
|
-
exports.TransactionInputAssets = TransactionInputAssets;
|
|
254
|
-
Object.defineProperty(TransactionInputAssets, 'name', { value: 'CardanoODataService.TransactionInputAssets' });
|
|
255
|
-
function _TransactionOutputAssetAspect(Base) {
|
|
256
|
-
return class TransactionOutputAsset extends Base {
|
|
257
|
-
static kind = 'entity';
|
|
258
|
-
};
|
|
259
|
-
}
|
|
260
|
-
class TransactionOutputAsset extends _TransactionOutputAssetAspect(__.Entity) {
|
|
261
|
-
}
|
|
262
|
-
exports.TransactionOutputAsset = TransactionOutputAsset;
|
|
263
|
-
Object.defineProperty(TransactionOutputAsset, 'name', { value: 'CardanoODataService.TransactionOutputAssets' });
|
|
264
|
-
Object.defineProperty(TransactionOutputAsset, 'is_singular', { value: true });
|
|
265
|
-
class TransactionOutputAssets extends Array {
|
|
266
|
-
$count;
|
|
267
|
-
}
|
|
268
|
-
exports.TransactionOutputAssets = TransactionOutputAssets;
|
|
269
|
-
Object.defineProperty(TransactionOutputAssets, 'name', { value: 'CardanoODataService.TransactionOutputAssets' });
|
|
270
|
-
function _AccountAspect(Base) {
|
|
271
|
-
return class Account extends Base {
|
|
272
|
-
static kind = 'entity';
|
|
273
|
-
};
|
|
274
|
-
}
|
|
275
|
-
class Account extends _AccountAspect(__.Entity) {
|
|
276
|
-
}
|
|
277
|
-
exports.Account = Account;
|
|
278
|
-
Object.defineProperty(Account, 'name', { value: 'CardanoODataService.Accounts' });
|
|
279
|
-
Object.defineProperty(Account, 'is_singular', { value: true });
|
|
280
|
-
class Accounts extends Array {
|
|
281
|
-
$count;
|
|
282
|
-
}
|
|
283
|
-
exports.Accounts = Accounts;
|
|
284
|
-
Object.defineProperty(Accounts, 'name', { value: 'CardanoODataService.Accounts' });
|
|
285
|
-
function _AddressAspect(Base) {
|
|
286
|
-
return class Address extends Base {
|
|
287
|
-
static kind = 'entity';
|
|
288
|
-
};
|
|
289
|
-
}
|
|
290
|
-
class Address extends _AddressAspect(__.Entity) {
|
|
291
|
-
}
|
|
292
|
-
exports.Address = Address;
|
|
293
|
-
Object.defineProperty(Address, 'name', { value: 'CardanoODataService.Addresses' });
|
|
294
|
-
Object.defineProperty(Address, 'is_singular', { value: true });
|
|
295
|
-
class Addresses extends Array {
|
|
296
|
-
$count;
|
|
297
|
-
}
|
|
298
|
-
exports.Addresses = Addresses;
|
|
299
|
-
Object.defineProperty(Addresses, 'name', { value: 'CardanoODataService.Addresses' });
|
|
300
|
-
function _AddressAssetAspect(Base) {
|
|
301
|
-
return class AddressAsset extends Base {
|
|
302
|
-
static kind = 'entity';
|
|
303
|
-
};
|
|
304
|
-
}
|
|
305
|
-
class AddressAsset extends _AddressAssetAspect(__.Entity) {
|
|
306
|
-
}
|
|
307
|
-
exports.AddressAsset = AddressAsset;
|
|
308
|
-
Object.defineProperty(AddressAsset, 'name', { value: 'CardanoODataService.AddressAssets' });
|
|
309
|
-
Object.defineProperty(AddressAsset, 'is_singular', { value: true });
|
|
310
|
-
class AddressAssets extends Array {
|
|
311
|
-
$count;
|
|
312
|
-
}
|
|
313
|
-
exports.AddressAssets = AddressAssets;
|
|
314
|
-
Object.defineProperty(AddressAssets, 'name', { value: 'CardanoODataService.AddressAssets' });
|
|
315
|
-
function _AddressUTxOAspect(Base) {
|
|
316
|
-
return class AddressUTxO extends Base {
|
|
317
|
-
static kind = 'entity';
|
|
318
|
-
};
|
|
319
|
-
}
|
|
320
|
-
class AddressUTxO extends _AddressUTxOAspect(__.Entity) {
|
|
321
|
-
}
|
|
322
|
-
exports.AddressUTxO = AddressUTxO;
|
|
323
|
-
Object.defineProperty(AddressUTxO, 'name', { value: 'CardanoODataService.AddressUTxOs' });
|
|
324
|
-
Object.defineProperty(AddressUTxO, 'is_singular', { value: true });
|
|
325
|
-
class AddressUTxOs extends Array {
|
|
326
|
-
$count;
|
|
327
|
-
}
|
|
328
|
-
exports.AddressUTxOs = AddressUTxOs;
|
|
329
|
-
Object.defineProperty(AddressUTxOs, 'name', { value: 'CardanoODataService.AddressUTxOs' });
|
|
330
|
-
function _AddressTransactionAspect(Base) {
|
|
331
|
-
return class AddressTransaction extends Base {
|
|
332
|
-
static kind = 'entity';
|
|
333
|
-
};
|
|
334
|
-
}
|
|
335
|
-
class AddressTransaction extends _AddressTransactionAspect(__.Entity) {
|
|
336
|
-
}
|
|
337
|
-
exports.AddressTransaction = AddressTransaction;
|
|
338
|
-
Object.defineProperty(AddressTransaction, 'name', { value: 'CardanoODataService.AddressTransactions' });
|
|
339
|
-
Object.defineProperty(AddressTransaction, 'is_singular', { value: true });
|
|
340
|
-
class AddressTransactions extends Array {
|
|
341
|
-
$count;
|
|
342
|
-
}
|
|
343
|
-
exports.AddressTransactions = AddressTransactions;
|
|
344
|
-
Object.defineProperty(AddressTransactions, 'name', { value: 'CardanoODataService.AddressTransactions' });
|
|
345
|
-
function _UTxOAssetAspect(Base) {
|
|
346
|
-
return class UTxOAsset extends Base {
|
|
347
|
-
static kind = 'entity';
|
|
348
|
-
};
|
|
349
|
-
}
|
|
350
|
-
class UTxOAsset extends _UTxOAssetAspect(__.Entity) {
|
|
351
|
-
}
|
|
352
|
-
exports.UTxOAsset = UTxOAsset;
|
|
353
|
-
Object.defineProperty(UTxOAsset, 'name', { value: 'CardanoODataService.UTxOAssets' });
|
|
354
|
-
Object.defineProperty(UTxOAsset, 'is_singular', { value: true });
|
|
355
|
-
class UTxOAssets extends Array {
|
|
356
|
-
$count;
|
|
357
|
-
}
|
|
358
|
-
exports.UTxOAssets = UTxOAssets;
|
|
359
|
-
Object.defineProperty(UTxOAssets, 'name', { value: 'CardanoODataService.UTxOAssets' });
|
|
360
|
-
function _TransactionMetadataAspect(Base) {
|
|
361
|
-
return class TransactionMetadata extends Base {
|
|
362
|
-
static kind = 'entity';
|
|
363
|
-
};
|
|
364
|
-
}
|
|
365
|
-
class TransactionMetadata extends _TransactionMetadataAspect(__.Entity) {
|
|
366
|
-
}
|
|
367
|
-
exports.TransactionMetadata = TransactionMetadata;
|
|
368
|
-
Object.defineProperty(TransactionMetadata, 'name', { value: 'CardanoODataService.TransactionMetadata' });
|
|
369
|
-
Object.defineProperty(TransactionMetadata, 'is_singular', { value: true });
|
|
370
|
-
class TransactionMetadata_ extends Array {
|
|
371
|
-
$count;
|
|
372
|
-
}
|
|
373
|
-
exports.TransactionMetadata_ = TransactionMetadata_;
|
|
374
|
-
Object.defineProperty(TransactionMetadata_, 'name', { value: 'CardanoODataService.TransactionMetadata' });
|
|
375
|
-
function _LedgerProtocolParameterAspect(Base) {
|
|
376
|
-
return class LedgerProtocolParameter extends Base {
|
|
377
|
-
static kind = 'entity';
|
|
378
|
-
};
|
|
379
|
-
}
|
|
380
|
-
class LedgerProtocolParameter extends _LedgerProtocolParameterAspect(__.Entity) {
|
|
381
|
-
}
|
|
382
|
-
exports.LedgerProtocolParameter = LedgerProtocolParameter;
|
|
383
|
-
Object.defineProperty(LedgerProtocolParameter, 'name', { value: 'CardanoODataService.LedgerProtocolParameters' });
|
|
384
|
-
Object.defineProperty(LedgerProtocolParameter, 'is_singular', { value: true });
|
|
385
|
-
class LedgerProtocolParameters extends Array {
|
|
386
|
-
$count;
|
|
387
|
-
}
|
|
388
|
-
exports.LedgerProtocolParameters = LedgerProtocolParameters;
|
|
389
|
-
Object.defineProperty(LedgerProtocolParameters, 'name', { value: 'CardanoODataService.LedgerProtocolParameters' });
|
|
390
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
// This is an automatically generated file. Please do not change its contents manually!
|
|
2
|
+
const { createEntityProxy } = require('./../_')
|
|
3
|
+
// service
|
|
4
|
+
const CardanoODataService = { name: 'CardanoODataService' }
|
|
5
|
+
module.exports = CardanoODataService
|
|
6
|
+
module.exports.CardanoODataService = CardanoODataService
|
|
7
|
+
// NetworkInformation
|
|
8
|
+
module.exports.NetworkInformation = createEntityProxy(['CardanoODataService', 'NetworkInformation'], { target: { is_singular: true } })
|
|
9
|
+
module.exports.NetworkInformation_ = createEntityProxy(['CardanoODataService', 'NetworkInformation'], { target: { is_singular: false }})
|
|
10
|
+
// Blocks
|
|
11
|
+
module.exports.Block = createEntityProxy(['CardanoODataService', 'Blocks'], { target: { is_singular: true } })
|
|
12
|
+
module.exports.Blocks = createEntityProxy(['CardanoODataService', 'Blocks'], { target: { is_singular: false }})
|
|
13
|
+
// Epochs
|
|
14
|
+
module.exports.Epoch = createEntityProxy(['CardanoODataService', 'Epochs'], { target: { is_singular: true } })
|
|
15
|
+
module.exports.Epochs = createEntityProxy(['CardanoODataService', 'Epochs'], { target: { is_singular: false }})
|
|
16
|
+
// Pools
|
|
17
|
+
module.exports.Pool = createEntityProxy(['CardanoODataService', 'Pools'], { target: { is_singular: true } })
|
|
18
|
+
module.exports.Pools = createEntityProxy(['CardanoODataService', 'Pools'], { target: { is_singular: false }})
|
|
19
|
+
// Dreps
|
|
20
|
+
module.exports.Drep = createEntityProxy(['CardanoODataService', 'Dreps'], { target: { is_singular: true } })
|
|
21
|
+
module.exports.Dreps = createEntityProxy(['CardanoODataService', 'Dreps'], { target: { is_singular: false }})
|
|
22
|
+
// Assets
|
|
23
|
+
module.exports.Asset = createEntityProxy(['CardanoODataService', 'Assets'], { target: { is_singular: true } })
|
|
24
|
+
module.exports.Assets = createEntityProxy(['CardanoODataService', 'Assets'], { target: { is_singular: false }})
|
|
25
|
+
// AssetHistory
|
|
26
|
+
module.exports.AssetHistory = createEntityProxy(['CardanoODataService', 'AssetHistory'], { target: { is_singular: true } })
|
|
27
|
+
module.exports.AssetHistory_ = createEntityProxy(['CardanoODataService', 'AssetHistory'], { target: { is_singular: false }})
|
|
28
|
+
// Transactions
|
|
29
|
+
module.exports.Transaction = createEntityProxy(['CardanoODataService', 'Transactions'], { target: { is_singular: true } })
|
|
30
|
+
module.exports.Transactions = createEntityProxy(['CardanoODataService', 'Transactions'], { target: { is_singular: false }})
|
|
31
|
+
// TransactionInputs
|
|
32
|
+
module.exports.TransactionInput = createEntityProxy(['CardanoODataService', 'TransactionInputs'], { target: { is_singular: true } })
|
|
33
|
+
module.exports.TransactionInputs = createEntityProxy(['CardanoODataService', 'TransactionInputs'], { target: { is_singular: false }})
|
|
34
|
+
// TransactionOutputs
|
|
35
|
+
module.exports.TransactionOutput = createEntityProxy(['CardanoODataService', 'TransactionOutputs'], { target: { is_singular: true } })
|
|
36
|
+
module.exports.TransactionOutputs = createEntityProxy(['CardanoODataService', 'TransactionOutputs'], { target: { is_singular: false }})
|
|
37
|
+
// TransactionInputAssets
|
|
38
|
+
module.exports.TransactionInputAsset = createEntityProxy(['CardanoODataService', 'TransactionInputAssets'], { target: { is_singular: true } })
|
|
39
|
+
module.exports.TransactionInputAssets = createEntityProxy(['CardanoODataService', 'TransactionInputAssets'], { target: { is_singular: false }})
|
|
40
|
+
// TransactionOutputAssets
|
|
41
|
+
module.exports.TransactionOutputAsset = createEntityProxy(['CardanoODataService', 'TransactionOutputAssets'], { target: { is_singular: true } })
|
|
42
|
+
module.exports.TransactionOutputAssets = createEntityProxy(['CardanoODataService', 'TransactionOutputAssets'], { target: { is_singular: false }})
|
|
43
|
+
// Accounts
|
|
44
|
+
module.exports.Account = createEntityProxy(['CardanoODataService', 'Accounts'], { target: { is_singular: true } })
|
|
45
|
+
module.exports.Accounts = createEntityProxy(['CardanoODataService', 'Accounts'], { target: { is_singular: false }})
|
|
46
|
+
// Addresses
|
|
47
|
+
module.exports.Address = createEntityProxy(['CardanoODataService', 'Addresses'], { target: { is_singular: true } })
|
|
48
|
+
module.exports.Addresses = createEntityProxy(['CardanoODataService', 'Addresses'], { target: { is_singular: false }})
|
|
49
|
+
// AddressAssets
|
|
50
|
+
module.exports.AddressAsset = createEntityProxy(['CardanoODataService', 'AddressAssets'], { target: { is_singular: true } })
|
|
51
|
+
module.exports.AddressAssets = createEntityProxy(['CardanoODataService', 'AddressAssets'], { target: { is_singular: false }})
|
|
52
|
+
// AddressUTxOs
|
|
53
|
+
module.exports.AddressUTxO = createEntityProxy(['CardanoODataService', 'AddressUTxOs'], { target: { is_singular: true } })
|
|
54
|
+
module.exports.AddressUTxOs = createEntityProxy(['CardanoODataService', 'AddressUTxOs'], { target: { is_singular: false }})
|
|
55
|
+
// AddressTransactions
|
|
56
|
+
module.exports.AddressTransaction = createEntityProxy(['CardanoODataService', 'AddressTransactions'], { target: { is_singular: true } })
|
|
57
|
+
module.exports.AddressTransactions = createEntityProxy(['CardanoODataService', 'AddressTransactions'], { target: { is_singular: false }})
|
|
58
|
+
// UTxOAssets
|
|
59
|
+
module.exports.UTxOAsset = createEntityProxy(['CardanoODataService', 'UTxOAssets'], { target: { is_singular: true } })
|
|
60
|
+
module.exports.UTxOAssets = createEntityProxy(['CardanoODataService', 'UTxOAssets'], { target: { is_singular: false }})
|
|
61
|
+
// TransactionMetadata
|
|
62
|
+
module.exports.TransactionMetadata = createEntityProxy(['CardanoODataService', 'TransactionMetadata'], { target: { is_singular: true } })
|
|
63
|
+
module.exports.TransactionMetadata_ = createEntityProxy(['CardanoODataService', 'TransactionMetadata'], { target: { is_singular: false }})
|
|
64
|
+
// LedgerProtocolParameters
|
|
65
|
+
module.exports.LedgerProtocolParameter = createEntityProxy(['CardanoODataService', 'LedgerProtocolParameters'], { target: { is_singular: true } })
|
|
66
|
+
module.exports.LedgerProtocolParameters = createEntityProxy(['CardanoODataService', 'LedgerProtocolParameters'], { target: { is_singular: false }})
|
|
67
|
+
// events
|
|
68
|
+
// actions
|
|
69
|
+
module.exports.GetNetworkInformation = 'GetNetworkInformation'
|
|
70
|
+
module.exports.GetBlockByHash = 'GetBlockByHash'
|
|
71
|
+
module.exports.GetEpochByNumber = 'GetEpochByNumber'
|
|
72
|
+
module.exports.GetPoolById = 'GetPoolById'
|
|
73
|
+
module.exports.GetDrepById = 'GetDrepById'
|
|
74
|
+
module.exports.GetAssetInfo = 'GetAssetInfo'
|
|
75
|
+
module.exports.GetAssetHistory = 'GetAssetHistory'
|
|
76
|
+
module.exports.GetAccountByStakeAddress = 'GetAccountByStakeAddress'
|
|
77
|
+
module.exports.GetTransactionByHash = 'GetTransactionByHash'
|
|
78
|
+
module.exports.GetMetadataByTxHash = 'GetMetadataByTxHash'
|
|
79
|
+
module.exports.GetAddressByBech32 = 'GetAddressByBech32'
|
|
80
|
+
module.exports.GetUTxOsByAddress = 'GetUTxOsByAddress'
|
|
81
|
+
module.exports.GetUTxOsByCredential = 'GetUTxOsByCredential'
|
|
82
|
+
module.exports.GetAssetsByAddress = 'GetAssetsByAddress'
|
|
83
|
+
module.exports.GetLatestTransactionsByAddress = 'GetLatestTransactionsByAddress'
|
|
84
|
+
module.exports.GetLatestBlock = 'GetLatestBlock'
|
|
85
|
+
module.exports.GetLatestEpoch = 'GetLatestEpoch'
|
|
86
|
+
module.exports.GetLedgerProtocolParameters = 'GetLedgerProtocolParameters'
|
|
87
|
+
module.exports.ParseTransactionCbor = 'ParseTransactionCbor'
|
|
88
|
+
// enums
|