@odatano/core 0.3.2 → 0.3.4
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 +1969 -0
- package/@cds-models/CardanoODataService/index.d.ts.map +1 -0
- package/@cds-models/CardanoODataService/index.js +329 -0
- package/@cds-models/CardanoODataService/index.js.map +1 -0
- package/@cds-models/CardanoODataService/index.ts +646 -0
- package/@cds-models/CardanoTransactionService/index.d.ts +1860 -0
- package/@cds-models/CardanoTransactionService/index.d.ts.map +1 -0
- package/@cds-models/CardanoTransactionService/index.js +328 -0
- package/@cds-models/CardanoTransactionService/index.js.map +1 -0
- package/@cds-models/CardanoTransactionService/index.ts +602 -0
- package/@cds-models/CardanoWatcherAdminService/index.js +113 -0
- package/@cds-models/CardanoWatcherAdminService/index.js.map +1 -0
- package/@cds-models/CardanoWatcherAdminService/index.ts +263 -0
- package/@cds-models/_/index.d.ts +66 -0
- package/@cds-models/_/index.d.ts.map +1 -0
- package/@cds-models/_/index.js +42 -0
- package/@cds-models/_/index.js.map +1 -0
- package/@cds-models/_/index.ts +96 -0
- package/@cds-models/cds/outbox/index.js +8 -0
- package/@cds-models/cds/outbox/index.js.map +1 -0
- package/@cds-models/cds/outbox/index.ts +27 -0
- package/@cds-models/cds/xt/MTXServices/index.js +8 -0
- package/@cds-models/cds/xt/MTXServices/index.js.map +1 -0
- package/@cds-models/cds/xt/MTXServices/index.ts +4 -0
- package/@cds-models/index.d.ts +168 -0
- package/@cds-models/index.d.ts.map +1 -0
- package/@cds-models/index.js +113 -0
- package/@cds-models/index.js.map +1 -0
- package/@cds-models/index.ts +84 -0
- package/@cds-models/odatano/cardano/index.d.ts +2882 -0
- package/@cds-models/odatano/cardano/index.d.ts.map +1 -0
- package/@cds-models/odatano/cardano/index.js +554 -0
- package/@cds-models/odatano/cardano/index.js.map +1 -0
- package/@cds-models/odatano/cardano/index.ts +802 -0
- package/@cds-models/odatano/reeve/index.js +83 -0
- package/@cds-models/odatano/reeve/index.js.map +1 -0
- package/@cds-models/odatano/reeve/index.ts +57 -0
- package/@cds-models/odatano/transactions/index.js +56 -0
- package/@cds-models/odatano/transactions/index.js.map +1 -0
- package/@cds-models/odatano/transactions/index.ts +18 -0
- package/@cds-models/odatano/watch/index.js +120 -0
- package/@cds-models/odatano/watch/index.js.map +1 -0
- package/@cds-models/odatano/watch/index.ts +110 -0
- package/@cds-models/sap/common/index.d.ts +678 -0
- package/@cds-models/sap/common/index.d.ts.map +1 -0
- package/@cds-models/sap/common/index.js +270 -0
- package/@cds-models/sap/common/index.js.map +1 -0
- package/@cds-models/sap/common/index.ts +249 -0
- package/package.json +1 -1
- package/src/plugin.d.ts.map +1 -1
- package/src/plugin.js +16 -0
- package/src/plugin.js.map +1 -1
- package/srv/cardano-service.cds +1 -1
- package/srv/cardano-tx-service.cds +1 -1
|
@@ -0,0 +1,802 @@
|
|
|
1
|
+
// This is an automatically generated file. Please do not change its contents manually!
|
|
2
|
+
import * as __ from './../../_';
|
|
3
|
+
import * as _ from './../..';
|
|
4
|
+
|
|
5
|
+
export type Blake2b224 = string;
|
|
6
|
+
export type Blake2b256 = string;
|
|
7
|
+
export type HexBytes = string;
|
|
8
|
+
export type Lovelace = number;
|
|
9
|
+
export type AssetUnit = string;
|
|
10
|
+
export type MetadataLabel = string;
|
|
11
|
+
export type Bech32 = string;
|
|
12
|
+
// enum
|
|
13
|
+
export const SubmissionStatus = {
|
|
14
|
+
pending: "pending",
|
|
15
|
+
submitted: "submitted",
|
|
16
|
+
confirmed: "confirmed",
|
|
17
|
+
failed: "failed",
|
|
18
|
+
} as const;
|
|
19
|
+
export type SubmissionStatus = "pending" | "submitted" | "confirmed" | "failed"
|
|
20
|
+
|
|
21
|
+
// enum
|
|
22
|
+
export const SigningStatus = {
|
|
23
|
+
pending: "pending",
|
|
24
|
+
signed: "signed",
|
|
25
|
+
verified: "verified",
|
|
26
|
+
submitted: "submitted",
|
|
27
|
+
expired: "expired",
|
|
28
|
+
failed: "failed",
|
|
29
|
+
} as const;
|
|
30
|
+
export type SigningStatus = "pending" | "signed" | "verified" | "submitted" | "expired" | "failed"
|
|
31
|
+
|
|
32
|
+
export function _AssetSliceAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
33
|
+
return class AssetSlice extends Base {
|
|
34
|
+
declare quantity?: Lovelace | null
|
|
35
|
+
declare policyId?: Blake2b224 | null
|
|
36
|
+
declare assetNameHex?: string | null
|
|
37
|
+
declare assetName?: string | null
|
|
38
|
+
declare fingerprint?: string | null
|
|
39
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'type';
|
|
40
|
+
declare static readonly keys: __.KeysOf<AssetSlice>;
|
|
41
|
+
declare static readonly elements: __.ElementsOf<AssetSlice>;
|
|
42
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export class AssetSlice extends _AssetSliceAspect(__.Entity) {}
|
|
46
|
+
Object.defineProperty(AssetSlice, 'name', { value: 'odatano.cardano.AssetSlice' })
|
|
47
|
+
Object.defineProperty(AssetSlice, 'is_singular', { value: true })
|
|
48
|
+
|
|
49
|
+
export function _MetadataSliceAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
50
|
+
return class MetadataSlice extends Base {
|
|
51
|
+
declare label?: MetadataLabel | null
|
|
52
|
+
declare payload?: string | null
|
|
53
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'type';
|
|
54
|
+
declare static readonly keys: __.KeysOf<MetadataSlice>;
|
|
55
|
+
declare static readonly elements: __.ElementsOf<MetadataSlice>;
|
|
56
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
export class MetadataSlice extends _MetadataSliceAspect(__.Entity) {}
|
|
60
|
+
Object.defineProperty(MetadataSlice, 'name', { value: 'odatano.cardano.MetadataSlice' })
|
|
61
|
+
Object.defineProperty(MetadataSlice, 'is_singular', { value: true })
|
|
62
|
+
|
|
63
|
+
export function _UTxODataSliceAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
64
|
+
return class UTxODataSlice extends Base {
|
|
65
|
+
declare dataHash?: Blake2b256 | null
|
|
66
|
+
declare inlineDatum?: string | null
|
|
67
|
+
declare referenceScriptHash?: Blake2b256 | null
|
|
68
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'type';
|
|
69
|
+
declare static readonly keys: __.KeysOf<UTxODataSlice>;
|
|
70
|
+
declare static readonly elements: __.ElementsOf<UTxODataSlice>;
|
|
71
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
export class UTxODataSlice extends _UTxODataSliceAspect(__.Entity) {}
|
|
75
|
+
Object.defineProperty(UTxODataSlice, 'name', { value: 'odatano.cardano.UTxODataSlice' })
|
|
76
|
+
Object.defineProperty(UTxODataSlice, 'is_singular', { value: true })
|
|
77
|
+
|
|
78
|
+
export function _NetworkInformationAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
79
|
+
return class NetworkInformation extends _._temporalAspect(Base) {
|
|
80
|
+
declare network?: __.Key<string>
|
|
81
|
+
declare maxSupply?: Lovelace | null
|
|
82
|
+
declare totalSupply?: Lovelace | null
|
|
83
|
+
declare circulatingSupply?: Lovelace | null
|
|
84
|
+
declare lockedSupply?: Lovelace | null
|
|
85
|
+
declare treasurySupply?: Lovelace | null
|
|
86
|
+
declare reservesSupply?: Lovelace | null
|
|
87
|
+
declare liveStake?: Lovelace | null
|
|
88
|
+
declare activeStake?: Lovelace | null
|
|
89
|
+
static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
90
|
+
declare static readonly keys: __.KeysOf<NetworkInformation>;
|
|
91
|
+
declare static readonly elements: __.ElementsOf<NetworkInformation>;
|
|
92
|
+
declare static readonly actions: typeof _.temporal.actions & globalThis.Record<never, never>;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
export class NetworkInformation extends _NetworkInformationAspect(__.Entity) {}
|
|
96
|
+
Object.defineProperty(NetworkInformation, 'name', { value: 'odatano.cardano.NetworkInformation' })
|
|
97
|
+
Object.defineProperty(NetworkInformation, 'is_singular', { value: true })
|
|
98
|
+
export class NetworkInformation_ extends Array<NetworkInformation> {$count?: number}
|
|
99
|
+
Object.defineProperty(NetworkInformation_, 'name', { value: 'odatano.cardano.NetworkInformation' })
|
|
100
|
+
|
|
101
|
+
export function _BlockAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
102
|
+
return class Block extends Base {
|
|
103
|
+
declare hash?: __.Key<string>
|
|
104
|
+
declare time?: string | null
|
|
105
|
+
declare height?: number | null
|
|
106
|
+
declare slotLeader?: string | null
|
|
107
|
+
declare epochNumber?: number | null
|
|
108
|
+
declare epoch?: __.Association.to<Epoch> | null
|
|
109
|
+
declare epochSlot?: number | null
|
|
110
|
+
declare size?: number | null
|
|
111
|
+
declare txCount?: number | null
|
|
112
|
+
declare fees?: Lovelace | null
|
|
113
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
114
|
+
declare static readonly keys: __.KeysOf<Block>;
|
|
115
|
+
declare static readonly elements: __.ElementsOf<Block>;
|
|
116
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
export class Block extends _BlockAspect(__.Entity) {}
|
|
120
|
+
Object.defineProperty(Block, 'name', { value: 'odatano.cardano.Blocks' })
|
|
121
|
+
Object.defineProperty(Block, 'is_singular', { value: true })
|
|
122
|
+
export class Blocks extends Array<Block> {$count?: number}
|
|
123
|
+
Object.defineProperty(Blocks, 'name', { value: 'odatano.cardano.Blocks' })
|
|
124
|
+
|
|
125
|
+
export function _EpochAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
126
|
+
return class Epoch extends Base {
|
|
127
|
+
declare epoch?: __.Key<number>
|
|
128
|
+
declare startTime?: number | null
|
|
129
|
+
declare endTime?: number | null
|
|
130
|
+
declare firstBlockTime?: number | null
|
|
131
|
+
declare lastBlockTime?: number | null
|
|
132
|
+
declare blockCount?: number | null
|
|
133
|
+
declare txCount?: number | null
|
|
134
|
+
declare output?: string | null
|
|
135
|
+
declare fees?: Lovelace | null
|
|
136
|
+
declare activeStake?: Lovelace | null
|
|
137
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
138
|
+
declare static readonly keys: __.KeysOf<Epoch>;
|
|
139
|
+
declare static readonly elements: __.ElementsOf<Epoch>;
|
|
140
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
export class Epoch extends _EpochAspect(__.Entity) {}
|
|
144
|
+
Object.defineProperty(Epoch, 'name', { value: 'odatano.cardano.Epochs' })
|
|
145
|
+
Object.defineProperty(Epoch, 'is_singular', { value: true })
|
|
146
|
+
export class Epochs extends Array<Epoch> {$count?: number}
|
|
147
|
+
Object.defineProperty(Epochs, 'name', { value: 'odatano.cardano.Epochs' })
|
|
148
|
+
|
|
149
|
+
export function _PoolAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
150
|
+
return class Pool extends Base {
|
|
151
|
+
declare poolId?: __.Key<string>
|
|
152
|
+
declare vrfKeyHash?: string | null
|
|
153
|
+
declare blocksMinted?: number | null
|
|
154
|
+
declare blocksEpoch?: number | null
|
|
155
|
+
declare liveStake?: Lovelace | null
|
|
156
|
+
declare liveSize?: number | null
|
|
157
|
+
declare liveSaturation?: number | null
|
|
158
|
+
declare liveDelegators?: number | null
|
|
159
|
+
declare activeStake?: Lovelace | null
|
|
160
|
+
declare activeSize?: number | null
|
|
161
|
+
declare pledge?: Lovelace | null
|
|
162
|
+
declare margin?: number | null
|
|
163
|
+
declare fixedCost?: Lovelace | null
|
|
164
|
+
declare rewardAccount?: string | null
|
|
165
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
166
|
+
declare static readonly keys: __.KeysOf<Pool>;
|
|
167
|
+
declare static readonly elements: __.ElementsOf<Pool>;
|
|
168
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
export class Pool extends _PoolAspect(__.Entity) {}
|
|
172
|
+
Object.defineProperty(Pool, 'name', { value: 'odatano.cardano.Pools' })
|
|
173
|
+
Object.defineProperty(Pool, 'is_singular', { value: true })
|
|
174
|
+
export class Pools extends Array<Pool> {$count?: number}
|
|
175
|
+
Object.defineProperty(Pools, 'name', { value: 'odatano.cardano.Pools' })
|
|
176
|
+
|
|
177
|
+
export function _DrepAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
178
|
+
return class Drep extends Base {
|
|
179
|
+
declare drepId?: __.Key<string>
|
|
180
|
+
declare hex?: string | null
|
|
181
|
+
declare amount?: Lovelace | null
|
|
182
|
+
declare hasScript?: boolean | null
|
|
183
|
+
declare lastActiveEpoch?: number | null
|
|
184
|
+
declare retired?: boolean | null
|
|
185
|
+
declare expired?: boolean | null
|
|
186
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
187
|
+
declare static readonly keys: __.KeysOf<Drep>;
|
|
188
|
+
declare static readonly elements: __.ElementsOf<Drep>;
|
|
189
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
export class Drep extends _DrepAspect(__.Entity) {}
|
|
193
|
+
Object.defineProperty(Drep, 'name', { value: 'odatano.cardano.Dreps' })
|
|
194
|
+
Object.defineProperty(Drep, 'is_singular', { value: true })
|
|
195
|
+
export class Dreps extends Array<Drep> {$count?: number}
|
|
196
|
+
Object.defineProperty(Dreps, 'name', { value: 'odatano.cardano.Dreps' })
|
|
197
|
+
|
|
198
|
+
export function _AddressAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
199
|
+
return class Address extends _._temporalAspect(Base) {
|
|
200
|
+
declare address?: __.Key<Bech32>
|
|
201
|
+
declare stakeAddress?: Bech32 | null
|
|
202
|
+
declare type?: string | null
|
|
203
|
+
declare isScript?: boolean | null
|
|
204
|
+
declare totalLovelace?: Lovelace | null
|
|
205
|
+
declare transactions?: __.Composition.of.many<AddressTransactions>
|
|
206
|
+
declare assets?: __.Composition.of.many<AddressAssets>
|
|
207
|
+
declare utxos?: __.Composition.of.many<AddressUTxOs>
|
|
208
|
+
declare hasTransactions?: boolean | null
|
|
209
|
+
declare hasAssets?: boolean | null
|
|
210
|
+
declare hasUTxOs?: boolean | null
|
|
211
|
+
static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
212
|
+
declare static readonly keys: __.KeysOf<Address>;
|
|
213
|
+
declare static readonly elements: __.ElementsOf<Address>;
|
|
214
|
+
declare static readonly actions: typeof _.temporal.actions & globalThis.Record<never, never>;
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
export class Address extends _AddressAspect(__.Entity) {}
|
|
218
|
+
Object.defineProperty(Address, 'name', { value: 'odatano.cardano.Addresses' })
|
|
219
|
+
Object.defineProperty(Address, 'is_singular', { value: true })
|
|
220
|
+
export class Addresses extends Array<Address> {$count?: number}
|
|
221
|
+
Object.defineProperty(Addresses, 'name', { value: 'odatano.cardano.Addresses' })
|
|
222
|
+
|
|
223
|
+
export function _AddressAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
224
|
+
return class AddressAsset extends _._temporalAspect(Base) {
|
|
225
|
+
declare address?: __.Key<__.Association.to<Address>>
|
|
226
|
+
declare address_address?: __.Key<Bech32>
|
|
227
|
+
declare unit?: __.Key<AssetUnit>
|
|
228
|
+
declare asset_quantity?: Lovelace | null
|
|
229
|
+
declare asset_policyId?: Blake2b224 | null
|
|
230
|
+
declare asset_assetNameHex?: string | null
|
|
231
|
+
declare asset_assetName?: string | null
|
|
232
|
+
declare asset_fingerprint?: string | null
|
|
233
|
+
static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
234
|
+
declare static readonly keys: __.KeysOf<AddressAsset>;
|
|
235
|
+
declare static readonly elements: __.ElementsOf<AddressAsset>;
|
|
236
|
+
declare static readonly actions: typeof _.temporal.actions & globalThis.Record<never, never>;
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
export class AddressAsset extends _AddressAssetAspect(__.Entity) {}
|
|
240
|
+
Object.defineProperty(AddressAsset, 'name', { value: 'odatano.cardano.AddressAssets' })
|
|
241
|
+
Object.defineProperty(AddressAsset, 'is_singular', { value: true })
|
|
242
|
+
export class AddressAssets extends Array<AddressAsset> {$count?: number}
|
|
243
|
+
Object.defineProperty(AddressAssets, 'name', { value: 'odatano.cardano.AddressAssets' })
|
|
244
|
+
|
|
245
|
+
export function _AddressUTxOAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
246
|
+
return class AddressUTxO extends _._temporalAspect(Base) {
|
|
247
|
+
declare address?: __.Key<__.Association.to<Address>>
|
|
248
|
+
declare address_address?: __.Key<Bech32>
|
|
249
|
+
declare hash?: __.Key<Blake2b256>
|
|
250
|
+
declare index?: __.Key<number>
|
|
251
|
+
declare blockHash?: Blake2b256 | null
|
|
252
|
+
declare utxodata_dataHash?: Blake2b256 | null
|
|
253
|
+
declare utxodata_inlineDatum?: string | null
|
|
254
|
+
declare utxodata_referenceScriptHash?: Blake2b256 | null
|
|
255
|
+
declare lovelace?: Lovelace | null
|
|
256
|
+
declare assets?: __.Composition.of.many<UTxOAssets>
|
|
257
|
+
declare hasAssets?: boolean | null
|
|
258
|
+
static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
259
|
+
declare static readonly keys: __.KeysOf<AddressUTxO>;
|
|
260
|
+
declare static readonly elements: __.ElementsOf<AddressUTxO>;
|
|
261
|
+
declare static readonly actions: typeof _.temporal.actions & globalThis.Record<never, never>;
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
export class AddressUTxO extends _AddressUTxOAspect(__.Entity) {}
|
|
265
|
+
Object.defineProperty(AddressUTxO, 'name', { value: 'odatano.cardano.AddressUTxOs' })
|
|
266
|
+
Object.defineProperty(AddressUTxO, 'is_singular', { value: true })
|
|
267
|
+
export class AddressUTxOs extends Array<AddressUTxO> {$count?: number}
|
|
268
|
+
Object.defineProperty(AddressUTxOs, 'name', { value: 'odatano.cardano.AddressUTxOs' })
|
|
269
|
+
|
|
270
|
+
export function _UTxOAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
271
|
+
return class UTxOAsset extends _._temporalAspect(Base) {
|
|
272
|
+
declare utxo?: __.Key<__.Association.to<AddressUTxO>>
|
|
273
|
+
declare utxo_hash?: __.Key<Blake2b256>
|
|
274
|
+
declare utxo_index?: __.Key<number>
|
|
275
|
+
declare utxo_address_address?: __.Key<Bech32>
|
|
276
|
+
declare unit?: __.Key<AssetUnit>
|
|
277
|
+
declare asset_quantity?: Lovelace | null
|
|
278
|
+
declare asset_policyId?: Blake2b224 | null
|
|
279
|
+
declare asset_assetNameHex?: string | null
|
|
280
|
+
declare asset_assetName?: string | null
|
|
281
|
+
declare asset_fingerprint?: string | null
|
|
282
|
+
static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
283
|
+
declare static readonly keys: __.KeysOf<UTxOAsset>;
|
|
284
|
+
declare static readonly elements: __.ElementsOf<UTxOAsset>;
|
|
285
|
+
declare static readonly actions: typeof _.temporal.actions & globalThis.Record<never, never>;
|
|
286
|
+
};
|
|
287
|
+
}
|
|
288
|
+
export class UTxOAsset extends _UTxOAssetAspect(__.Entity) {}
|
|
289
|
+
Object.defineProperty(UTxOAsset, 'name', { value: 'odatano.cardano.UTxOAssets' })
|
|
290
|
+
Object.defineProperty(UTxOAsset, 'is_singular', { value: true })
|
|
291
|
+
export class UTxOAssets extends Array<UTxOAsset> {$count?: number}
|
|
292
|
+
Object.defineProperty(UTxOAssets, 'name', { value: 'odatano.cardano.UTxOAssets' })
|
|
293
|
+
|
|
294
|
+
export function _AccountAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
295
|
+
return class Account extends _._temporalAspect(Base) {
|
|
296
|
+
declare stakeAddress?: __.Key<string>
|
|
297
|
+
declare active?: boolean | null
|
|
298
|
+
declare activeEpoch?: number | null
|
|
299
|
+
declare controlledAmount?: Lovelace | null
|
|
300
|
+
declare rewardsSum?: Lovelace | null
|
|
301
|
+
declare withdrawalsSum?: Lovelace | null
|
|
302
|
+
declare reservesSum?: Lovelace | null
|
|
303
|
+
declare treasurySum?: Lovelace | null
|
|
304
|
+
declare withdrawableAmount?: Lovelace | null
|
|
305
|
+
declare poolId?: __.Association.to<Pool> | null
|
|
306
|
+
declare poolId_poolId?: string | null
|
|
307
|
+
declare drepId?: __.Association.to<Drep> | null
|
|
308
|
+
declare drepId_drepId?: string | null
|
|
309
|
+
declare Address?: __.Composition.of.many<Addresses>
|
|
310
|
+
declare hasAddresses?: boolean | null
|
|
311
|
+
static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
312
|
+
declare static readonly keys: __.KeysOf<Account>;
|
|
313
|
+
declare static readonly elements: __.ElementsOf<Account>;
|
|
314
|
+
declare static readonly actions: typeof _.temporal.actions & globalThis.Record<never, never>;
|
|
315
|
+
};
|
|
316
|
+
}
|
|
317
|
+
export class Account extends _AccountAspect(__.Entity) {}
|
|
318
|
+
Object.defineProperty(Account, 'name', { value: 'odatano.cardano.Accounts' })
|
|
319
|
+
Object.defineProperty(Account, 'is_singular', { value: true })
|
|
320
|
+
export class Accounts extends Array<Account> {$count?: number}
|
|
321
|
+
Object.defineProperty(Accounts, 'name', { value: 'odatano.cardano.Accounts' })
|
|
322
|
+
|
|
323
|
+
export function _TransactionAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
324
|
+
return class Transaction extends Base {
|
|
325
|
+
declare hash?: __.Key<Blake2b256>
|
|
326
|
+
declare blockHash?: Blake2b256 | null
|
|
327
|
+
declare blockHeight?: number | null
|
|
328
|
+
declare blockTime?: number | null
|
|
329
|
+
declare slot?: number | null
|
|
330
|
+
declare txIndex?: number | null
|
|
331
|
+
declare fee?: Lovelace | null
|
|
332
|
+
declare deposit?: Lovelace | null
|
|
333
|
+
declare size?: number | null
|
|
334
|
+
declare metadata?: __.Composition.of.many<TransactionMetadata_>
|
|
335
|
+
declare inputs?: __.Composition.of.many<TransactionInputs>
|
|
336
|
+
declare outputs?: __.Composition.of.many<TransactionOutputs>
|
|
337
|
+
declare hasMetadata?: boolean | null
|
|
338
|
+
declare hasInputs?: boolean | null
|
|
339
|
+
declare hasOutputs?: boolean | null
|
|
340
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
341
|
+
declare static readonly keys: __.KeysOf<Transaction>;
|
|
342
|
+
declare static readonly elements: __.ElementsOf<Transaction>;
|
|
343
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
export class Transaction extends _TransactionAspect(__.Entity) {}
|
|
347
|
+
Object.defineProperty(Transaction, 'name', { value: 'odatano.cardano.Transactions' })
|
|
348
|
+
Object.defineProperty(Transaction, 'is_singular', { value: true })
|
|
349
|
+
export class Transactions extends Array<Transaction> {$count?: number}
|
|
350
|
+
Object.defineProperty(Transactions, 'name', { value: 'odatano.cardano.Transactions' })
|
|
351
|
+
|
|
352
|
+
export function _TransactionInputAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
353
|
+
return class TransactionInput extends Base {
|
|
354
|
+
declare tx?: __.Key<__.Association.to<Transaction>>
|
|
355
|
+
declare tx_hash?: __.Key<Blake2b256>
|
|
356
|
+
declare inputIndex?: __.Key<number>
|
|
357
|
+
declare address?: __.Association.to<Address> | null
|
|
358
|
+
declare address_address?: Bech32 | null
|
|
359
|
+
declare utxoData_dataHash?: Blake2b256 | null
|
|
360
|
+
declare utxoData_inlineDatum?: string | null
|
|
361
|
+
declare utxoData_referenceScriptHash?: Blake2b256 | null
|
|
362
|
+
declare isCollateral?: boolean | null
|
|
363
|
+
declare isReference?: boolean | null
|
|
364
|
+
declare assets?: __.Composition.of.many<TransactionInputAssets>
|
|
365
|
+
declare hasAddresses?: boolean | null
|
|
366
|
+
declare hasAssets?: boolean | null
|
|
367
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
368
|
+
declare static readonly keys: __.KeysOf<TransactionInput>;
|
|
369
|
+
declare static readonly elements: __.ElementsOf<TransactionInput>;
|
|
370
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
371
|
+
};
|
|
372
|
+
}
|
|
373
|
+
export class TransactionInput extends _TransactionInputAspect(__.Entity) {}
|
|
374
|
+
Object.defineProperty(TransactionInput, 'name', { value: 'odatano.cardano.TransactionInputs' })
|
|
375
|
+
Object.defineProperty(TransactionInput, 'is_singular', { value: true })
|
|
376
|
+
export class TransactionInputs extends Array<TransactionInput> {$count?: number}
|
|
377
|
+
Object.defineProperty(TransactionInputs, 'name', { value: 'odatano.cardano.TransactionInputs' })
|
|
378
|
+
|
|
379
|
+
export function _TransactionInputAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
380
|
+
return class TransactionInputAsset extends Base {
|
|
381
|
+
declare input?: __.Key<__.Association.to<TransactionInput>>
|
|
382
|
+
declare input_inputIndex?: __.Key<number>
|
|
383
|
+
declare input_tx_hash?: __.Key<Blake2b256>
|
|
384
|
+
declare unit?: __.Key<AssetUnit>
|
|
385
|
+
declare asset_quantity?: Lovelace | null
|
|
386
|
+
declare asset_policyId?: Blake2b224 | null
|
|
387
|
+
declare asset_assetNameHex?: string | null
|
|
388
|
+
declare asset_assetName?: string | null
|
|
389
|
+
declare asset_fingerprint?: string | null
|
|
390
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
391
|
+
declare static readonly keys: __.KeysOf<TransactionInputAsset>;
|
|
392
|
+
declare static readonly elements: __.ElementsOf<TransactionInputAsset>;
|
|
393
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
394
|
+
};
|
|
395
|
+
}
|
|
396
|
+
export class TransactionInputAsset extends _TransactionInputAssetAspect(__.Entity) {}
|
|
397
|
+
Object.defineProperty(TransactionInputAsset, 'name', { value: 'odatano.cardano.TransactionInputAssets' })
|
|
398
|
+
Object.defineProperty(TransactionInputAsset, 'is_singular', { value: true })
|
|
399
|
+
export class TransactionInputAssets extends Array<TransactionInputAsset> {$count?: number}
|
|
400
|
+
Object.defineProperty(TransactionInputAssets, 'name', { value: 'odatano.cardano.TransactionInputAssets' })
|
|
401
|
+
|
|
402
|
+
export function _TransactionOutputAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
403
|
+
return class TransactionOutput extends Base {
|
|
404
|
+
declare tx?: __.Key<__.Association.to<Transaction>>
|
|
405
|
+
declare tx_hash?: __.Key<Blake2b256>
|
|
406
|
+
declare outputIndex?: __.Key<number>
|
|
407
|
+
declare address?: __.Association.to<Address> | null
|
|
408
|
+
declare address_address?: Bech32 | null
|
|
409
|
+
declare utxo_dataHash?: Blake2b256 | null
|
|
410
|
+
declare utxo_inlineDatum?: string | null
|
|
411
|
+
declare utxo_referenceScriptHash?: Blake2b256 | null
|
|
412
|
+
declare assets?: __.Composition.of.many<TransactionOutputAssets>
|
|
413
|
+
declare hasAddresses?: boolean | null
|
|
414
|
+
declare hasAssets?: boolean | null
|
|
415
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
416
|
+
declare static readonly keys: __.KeysOf<TransactionOutput>;
|
|
417
|
+
declare static readonly elements: __.ElementsOf<TransactionOutput>;
|
|
418
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
419
|
+
};
|
|
420
|
+
}
|
|
421
|
+
export class TransactionOutput extends _TransactionOutputAspect(__.Entity) {}
|
|
422
|
+
Object.defineProperty(TransactionOutput, 'name', { value: 'odatano.cardano.TransactionOutputs' })
|
|
423
|
+
Object.defineProperty(TransactionOutput, 'is_singular', { value: true })
|
|
424
|
+
export class TransactionOutputs extends Array<TransactionOutput> {$count?: number}
|
|
425
|
+
Object.defineProperty(TransactionOutputs, 'name', { value: 'odatano.cardano.TransactionOutputs' })
|
|
426
|
+
|
|
427
|
+
export function _TransactionOutputAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
428
|
+
return class TransactionOutputAsset extends Base {
|
|
429
|
+
declare output?: __.Key<__.Association.to<TransactionOutput>>
|
|
430
|
+
declare output_outputIndex?: __.Key<number>
|
|
431
|
+
declare output_tx_hash?: __.Key<Blake2b256>
|
|
432
|
+
declare unit?: __.Key<AssetUnit>
|
|
433
|
+
declare asset_quantity?: Lovelace | null
|
|
434
|
+
declare asset_policyId?: Blake2b224 | null
|
|
435
|
+
declare asset_assetNameHex?: string | null
|
|
436
|
+
declare asset_assetName?: string | null
|
|
437
|
+
declare asset_fingerprint?: string | null
|
|
438
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
439
|
+
declare static readonly keys: __.KeysOf<TransactionOutputAsset>;
|
|
440
|
+
declare static readonly elements: __.ElementsOf<TransactionOutputAsset>;
|
|
441
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
442
|
+
};
|
|
443
|
+
}
|
|
444
|
+
export class TransactionOutputAsset extends _TransactionOutputAssetAspect(__.Entity) {}
|
|
445
|
+
Object.defineProperty(TransactionOutputAsset, 'name', { value: 'odatano.cardano.TransactionOutputAssets' })
|
|
446
|
+
Object.defineProperty(TransactionOutputAsset, 'is_singular', { value: true })
|
|
447
|
+
export class TransactionOutputAssets extends Array<TransactionOutputAsset> {$count?: number}
|
|
448
|
+
Object.defineProperty(TransactionOutputAssets, 'name', { value: 'odatano.cardano.TransactionOutputAssets' })
|
|
449
|
+
|
|
450
|
+
export function _TransactionMetadataAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
451
|
+
return class TransactionMetadata extends Base {
|
|
452
|
+
declare id?: __.Key<number>
|
|
453
|
+
declare tx?: __.Key<__.Association.to<Transaction>>
|
|
454
|
+
declare tx_hash?: __.Key<Blake2b256>
|
|
455
|
+
declare label?: string | null
|
|
456
|
+
declare payload?: string | null
|
|
457
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
458
|
+
declare static readonly keys: __.KeysOf<TransactionMetadata>;
|
|
459
|
+
declare static readonly elements: __.ElementsOf<TransactionMetadata>;
|
|
460
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
461
|
+
};
|
|
462
|
+
}
|
|
463
|
+
export class TransactionMetadata extends _TransactionMetadataAspect(__.Entity) {}
|
|
464
|
+
Object.defineProperty(TransactionMetadata, 'name', { value: 'odatano.cardano.TransactionMetadata' })
|
|
465
|
+
Object.defineProperty(TransactionMetadata, 'is_singular', { value: true })
|
|
466
|
+
export class TransactionMetadata_ extends Array<TransactionMetadata> {$count?: number}
|
|
467
|
+
Object.defineProperty(TransactionMetadata_, 'name', { value: 'odatano.cardano.TransactionMetadata' })
|
|
468
|
+
|
|
469
|
+
export function _LedgerProtocolParameterAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
470
|
+
return class LedgerProtocolParameter extends Base {
|
|
471
|
+
declare network?: __.Key<string>
|
|
472
|
+
declare epoch?: __.Key<number>
|
|
473
|
+
declare minFeeA?: number | null
|
|
474
|
+
declare minFeeB?: number | null
|
|
475
|
+
declare maxBlockSize?: number | null
|
|
476
|
+
declare maxTxSize?: number | null
|
|
477
|
+
declare maxBlockHeaderSize?: number | null
|
|
478
|
+
declare keyDeposit?: string | null
|
|
479
|
+
declare poolDeposit?: string | null
|
|
480
|
+
declare eMax?: number | null
|
|
481
|
+
declare nOpt?: number | null
|
|
482
|
+
declare a0?: number | null
|
|
483
|
+
declare rho?: number | null
|
|
484
|
+
declare tau?: number | null
|
|
485
|
+
declare minPoolCost?: string | null
|
|
486
|
+
declare decentralisationParam?: number | null
|
|
487
|
+
declare extraEntropy?: string | null
|
|
488
|
+
declare protocolMajorVer?: number | null
|
|
489
|
+
declare protocolMinorVer?: number | null
|
|
490
|
+
declare minUtxo?: string | null
|
|
491
|
+
declare nonce?: string | null
|
|
492
|
+
declare costModels?: string | null
|
|
493
|
+
declare priceMem?: number | null
|
|
494
|
+
declare priceStep?: number | null
|
|
495
|
+
declare maxTxExMem?: string | null
|
|
496
|
+
declare maxTxExSteps?: string | null
|
|
497
|
+
declare maxBlockExMem?: string | null
|
|
498
|
+
declare maxBlockExSteps?: string | null
|
|
499
|
+
declare maxValSize?: string | null
|
|
500
|
+
declare collateralPercent?: number | null
|
|
501
|
+
declare maxCollateralInputs?: number | null
|
|
502
|
+
declare coinsPerUtxoSize?: string | null
|
|
503
|
+
declare coinsPerUtxoWord?: string | null
|
|
504
|
+
declare fetchedAt?: __.CdsTimestamp | null
|
|
505
|
+
declare source?: string | null
|
|
506
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
507
|
+
declare static readonly keys: __.KeysOf<LedgerProtocolParameter>;
|
|
508
|
+
declare static readonly elements: __.ElementsOf<LedgerProtocolParameter>;
|
|
509
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
510
|
+
};
|
|
511
|
+
}
|
|
512
|
+
export class LedgerProtocolParameter extends _LedgerProtocolParameterAspect(__.Entity) {}
|
|
513
|
+
Object.defineProperty(LedgerProtocolParameter, 'name', { value: 'odatano.cardano.LedgerProtocolParameters' })
|
|
514
|
+
Object.defineProperty(LedgerProtocolParameter, 'is_singular', { value: true })
|
|
515
|
+
export class LedgerProtocolParameters extends Array<LedgerProtocolParameter> {$count?: number}
|
|
516
|
+
Object.defineProperty(LedgerProtocolParameters, 'name', { value: 'odatano.cardano.LedgerProtocolParameters' })
|
|
517
|
+
|
|
518
|
+
export function _TransactionBuildAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
519
|
+
return class TransactionBuild extends _._temporalAspect(Base) {
|
|
520
|
+
declare id?: __.Key<string>
|
|
521
|
+
declare network?: string | null
|
|
522
|
+
declare builderEngine?: string | null
|
|
523
|
+
declare senderAddress?: Bech32 | null
|
|
524
|
+
declare changeAddress?: Bech32 | null
|
|
525
|
+
declare unsignedTxCbor?: string | null
|
|
526
|
+
declare txBodyHash?: Blake2b256 | null
|
|
527
|
+
declare fee?: Lovelace | null
|
|
528
|
+
declare size?: number | null
|
|
529
|
+
declare createdAt?: number | null
|
|
530
|
+
declare inputs?: __.Composition.of.many<TransactionBuildInputs>
|
|
531
|
+
declare outputs?: __.Composition.of.many<TransactionBuildOutputs>
|
|
532
|
+
declare submission?: __.Association.to<TransactionSubmission> | null
|
|
533
|
+
declare hasInputs?: boolean | null
|
|
534
|
+
declare hasOutputs?: boolean | null
|
|
535
|
+
declare wasSubmitted?: boolean | null
|
|
536
|
+
static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
537
|
+
declare static readonly keys: __.KeysOf<TransactionBuild>;
|
|
538
|
+
declare static readonly elements: __.ElementsOf<TransactionBuild>;
|
|
539
|
+
declare static readonly actions: typeof _.temporal.actions & globalThis.Record<never, never>;
|
|
540
|
+
};
|
|
541
|
+
}
|
|
542
|
+
export class TransactionBuild extends _TransactionBuildAspect(__.Entity) {}
|
|
543
|
+
Object.defineProperty(TransactionBuild, 'name', { value: 'odatano.cardano.TransactionBuilds' })
|
|
544
|
+
Object.defineProperty(TransactionBuild, 'is_singular', { value: true })
|
|
545
|
+
export class TransactionBuilds extends Array<TransactionBuild> {$count?: number}
|
|
546
|
+
Object.defineProperty(TransactionBuilds, 'name', { value: 'odatano.cardano.TransactionBuilds' })
|
|
547
|
+
|
|
548
|
+
export function _TransactionBuildInputAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
549
|
+
return class TransactionBuildInput extends Base {
|
|
550
|
+
declare build?: __.Key<__.Association.to<TransactionBuild>>
|
|
551
|
+
declare build_id?: __.Key<string>
|
|
552
|
+
declare inputIndex?: __.Key<number>
|
|
553
|
+
declare txHash?: Blake2b256 | null
|
|
554
|
+
declare outputIndex?: number | null
|
|
555
|
+
declare address?: Bech32 | null
|
|
556
|
+
declare lovelace?: Lovelace | null
|
|
557
|
+
declare assets?: __.Composition.of.many<TransactionBuildInputAssets>
|
|
558
|
+
declare hasAssets?: boolean | null
|
|
559
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
560
|
+
declare static readonly keys: __.KeysOf<TransactionBuildInput>;
|
|
561
|
+
declare static readonly elements: __.ElementsOf<TransactionBuildInput>;
|
|
562
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
563
|
+
};
|
|
564
|
+
}
|
|
565
|
+
export class TransactionBuildInput extends _TransactionBuildInputAspect(__.Entity) {}
|
|
566
|
+
Object.defineProperty(TransactionBuildInput, 'name', { value: 'odatano.cardano.TransactionBuildInputs' })
|
|
567
|
+
Object.defineProperty(TransactionBuildInput, 'is_singular', { value: true })
|
|
568
|
+
export class TransactionBuildInputs extends Array<TransactionBuildInput> {$count?: number}
|
|
569
|
+
Object.defineProperty(TransactionBuildInputs, 'name', { value: 'odatano.cardano.TransactionBuildInputs' })
|
|
570
|
+
|
|
571
|
+
export function _TransactionBuildInputAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
572
|
+
return class TransactionBuildInputAsset extends Base {
|
|
573
|
+
declare input?: __.Key<__.Association.to<TransactionBuildInput>>
|
|
574
|
+
declare input_inputIndex?: __.Key<number>
|
|
575
|
+
declare input_build_id?: __.Key<string>
|
|
576
|
+
declare unit?: __.Key<AssetUnit>
|
|
577
|
+
declare asset_quantity?: Lovelace | null
|
|
578
|
+
declare asset_policyId?: Blake2b224 | null
|
|
579
|
+
declare asset_assetNameHex?: string | null
|
|
580
|
+
declare asset_assetName?: string | null
|
|
581
|
+
declare asset_fingerprint?: string | null
|
|
582
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
583
|
+
declare static readonly keys: __.KeysOf<TransactionBuildInputAsset>;
|
|
584
|
+
declare static readonly elements: __.ElementsOf<TransactionBuildInputAsset>;
|
|
585
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
586
|
+
};
|
|
587
|
+
}
|
|
588
|
+
export class TransactionBuildInputAsset extends _TransactionBuildInputAssetAspect(__.Entity) {}
|
|
589
|
+
Object.defineProperty(TransactionBuildInputAsset, 'name', { value: 'odatano.cardano.TransactionBuildInputAssets' })
|
|
590
|
+
Object.defineProperty(TransactionBuildInputAsset, 'is_singular', { value: true })
|
|
591
|
+
export class TransactionBuildInputAssets extends Array<TransactionBuildInputAsset> {$count?: number}
|
|
592
|
+
Object.defineProperty(TransactionBuildInputAssets, 'name', { value: 'odatano.cardano.TransactionBuildInputAssets' })
|
|
593
|
+
|
|
594
|
+
export function _TransactionBuildOutputAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
595
|
+
return class TransactionBuildOutput extends Base {
|
|
596
|
+
declare build?: __.Key<__.Association.to<TransactionBuild>>
|
|
597
|
+
declare build_id?: __.Key<string>
|
|
598
|
+
declare outputIndex?: __.Key<number>
|
|
599
|
+
declare address?: Bech32 | null
|
|
600
|
+
declare lovelace?: Lovelace | null
|
|
601
|
+
declare isChange?: boolean | null
|
|
602
|
+
declare assets?: __.Composition.of.many<TransactionBuildOutputAssets>
|
|
603
|
+
declare hasAssets?: boolean | null
|
|
604
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
605
|
+
declare static readonly keys: __.KeysOf<TransactionBuildOutput>;
|
|
606
|
+
declare static readonly elements: __.ElementsOf<TransactionBuildOutput>;
|
|
607
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
608
|
+
};
|
|
609
|
+
}
|
|
610
|
+
export class TransactionBuildOutput extends _TransactionBuildOutputAspect(__.Entity) {}
|
|
611
|
+
Object.defineProperty(TransactionBuildOutput, 'name', { value: 'odatano.cardano.TransactionBuildOutputs' })
|
|
612
|
+
Object.defineProperty(TransactionBuildOutput, 'is_singular', { value: true })
|
|
613
|
+
export class TransactionBuildOutputs extends Array<TransactionBuildOutput> {$count?: number}
|
|
614
|
+
Object.defineProperty(TransactionBuildOutputs, 'name', { value: 'odatano.cardano.TransactionBuildOutputs' })
|
|
615
|
+
|
|
616
|
+
export function _TransactionBuildOutputAssetAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
617
|
+
return class TransactionBuildOutputAsset extends Base {
|
|
618
|
+
declare output?: __.Key<__.Association.to<TransactionBuildOutput>>
|
|
619
|
+
declare output_outputIndex?: __.Key<number>
|
|
620
|
+
declare output_build_id?: __.Key<string>
|
|
621
|
+
declare unit?: __.Key<AssetUnit>
|
|
622
|
+
declare asset_quantity?: Lovelace | null
|
|
623
|
+
declare asset_policyId?: Blake2b224 | null
|
|
624
|
+
declare asset_assetNameHex?: string | null
|
|
625
|
+
declare asset_assetName?: string | null
|
|
626
|
+
declare asset_fingerprint?: string | null
|
|
627
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
628
|
+
declare static readonly keys: __.KeysOf<TransactionBuildOutputAsset>;
|
|
629
|
+
declare static readonly elements: __.ElementsOf<TransactionBuildOutputAsset>;
|
|
630
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
631
|
+
};
|
|
632
|
+
}
|
|
633
|
+
export class TransactionBuildOutputAsset extends _TransactionBuildOutputAssetAspect(__.Entity) {}
|
|
634
|
+
Object.defineProperty(TransactionBuildOutputAsset, 'name', { value: 'odatano.cardano.TransactionBuildOutputAssets' })
|
|
635
|
+
Object.defineProperty(TransactionBuildOutputAsset, 'is_singular', { value: true })
|
|
636
|
+
export class TransactionBuildOutputAssets extends Array<TransactionBuildOutputAsset> {$count?: number}
|
|
637
|
+
Object.defineProperty(TransactionBuildOutputAssets, 'name', { value: 'odatano.cardano.TransactionBuildOutputAssets' })
|
|
638
|
+
|
|
639
|
+
export function _TransactionSubmissionAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
640
|
+
return class TransactionSubmission extends Base {
|
|
641
|
+
declare id?: __.Key<string>
|
|
642
|
+
declare build?: __.Association.to<TransactionBuild> | null
|
|
643
|
+
declare build_id?: string | null
|
|
644
|
+
declare signedTxCbor?: string | null
|
|
645
|
+
declare txHash?: Blake2b256 | null
|
|
646
|
+
declare submittedAt?: number | null
|
|
647
|
+
declare status?: SubmissionStatus | null
|
|
648
|
+
declare errorCode?: string | null
|
|
649
|
+
declare errorMessage?: string | null
|
|
650
|
+
declare retryCount?: number | null
|
|
651
|
+
declare errors?: __.Composition.of.many<TransactionSubmissionErrors>
|
|
652
|
+
declare hasErrors?: boolean | null
|
|
653
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
654
|
+
declare static readonly keys: __.KeysOf<TransactionSubmission>;
|
|
655
|
+
declare static readonly elements: __.ElementsOf<TransactionSubmission>;
|
|
656
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
657
|
+
};
|
|
658
|
+
}
|
|
659
|
+
export class TransactionSubmission extends _TransactionSubmissionAspect(__.Entity) {}
|
|
660
|
+
Object.defineProperty(TransactionSubmission, 'name', { value: 'odatano.cardano.TransactionSubmissions' })
|
|
661
|
+
Object.defineProperty(TransactionSubmission, 'is_singular', { value: true })
|
|
662
|
+
export class TransactionSubmissions extends Array<TransactionSubmission> {$count?: number}
|
|
663
|
+
Object.defineProperty(TransactionSubmissions, 'name', { value: 'odatano.cardano.TransactionSubmissions' })
|
|
664
|
+
|
|
665
|
+
export function _TransactionSubmissionErrorAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
666
|
+
return class TransactionSubmissionError extends Base {
|
|
667
|
+
declare id?: __.Key<string>
|
|
668
|
+
declare submission?: __.Association.to<TransactionSubmission> | null
|
|
669
|
+
declare submission_id?: string | null
|
|
670
|
+
declare occurredAt?: number | null
|
|
671
|
+
declare errorType?: string | null
|
|
672
|
+
declare errorCode?: string | null
|
|
673
|
+
declare errorMessage?: string | null
|
|
674
|
+
declare errorDetails?: string | null
|
|
675
|
+
declare isRecoverable?: boolean | null
|
|
676
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
677
|
+
declare static readonly keys: __.KeysOf<TransactionSubmissionError>;
|
|
678
|
+
declare static readonly elements: __.ElementsOf<TransactionSubmissionError>;
|
|
679
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
680
|
+
};
|
|
681
|
+
}
|
|
682
|
+
export class TransactionSubmissionError extends _TransactionSubmissionErrorAspect(__.Entity) {}
|
|
683
|
+
Object.defineProperty(TransactionSubmissionError, 'name', { value: 'odatano.cardano.TransactionSubmissionErrors' })
|
|
684
|
+
Object.defineProperty(TransactionSubmissionError, 'is_singular', { value: true })
|
|
685
|
+
export class TransactionSubmissionErrors extends Array<TransactionSubmissionError> {$count?: number}
|
|
686
|
+
Object.defineProperty(TransactionSubmissionErrors, 'name', { value: 'odatano.cardano.TransactionSubmissionErrors' })
|
|
687
|
+
|
|
688
|
+
export function _AddressTransactionAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
689
|
+
return class AddressTransaction extends Base {
|
|
690
|
+
declare address?: __.Key<__.Association.to<Address>>
|
|
691
|
+
declare address_address?: __.Key<Bech32>
|
|
692
|
+
declare tx?: __.Key<__.Association.to<Transaction>>
|
|
693
|
+
declare tx_hash?: __.Key<Blake2b256>
|
|
694
|
+
declare netAmount?: number | null
|
|
695
|
+
declare blockTime?: number | null
|
|
696
|
+
declare netAssets?: string | null
|
|
697
|
+
declare hasAssets?: boolean | null
|
|
698
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
699
|
+
declare static readonly keys: __.KeysOf<AddressTransaction>;
|
|
700
|
+
declare static readonly elements: __.ElementsOf<AddressTransaction>;
|
|
701
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
702
|
+
};
|
|
703
|
+
}
|
|
704
|
+
export class AddressTransaction extends _AddressTransactionAspect(__.Entity) {}
|
|
705
|
+
Object.defineProperty(AddressTransaction, 'name', { value: 'odatano.cardano.AddressTransactions' })
|
|
706
|
+
Object.defineProperty(AddressTransaction, 'is_singular', { value: true })
|
|
707
|
+
export class AddressTransactions extends Array<AddressTransaction> {$count?: number}
|
|
708
|
+
Object.defineProperty(AddressTransactions, 'name', { value: 'odatano.cardano.AddressTransactions' })
|
|
709
|
+
|
|
710
|
+
export function _AddressSigningRequestAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
711
|
+
return class AddressSigningRequest extends Base {
|
|
712
|
+
declare address?: __.Key<__.Association.to<Address>>
|
|
713
|
+
declare address_address?: __.Key<Bech32>
|
|
714
|
+
declare signingRequest?: __.Key<__.Association.to<SigningRequest>>
|
|
715
|
+
declare signingRequest_id?: __.Key<string>
|
|
716
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
717
|
+
declare static readonly keys: __.KeysOf<AddressSigningRequest>;
|
|
718
|
+
declare static readonly elements: __.ElementsOf<AddressSigningRequest>;
|
|
719
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
720
|
+
};
|
|
721
|
+
}
|
|
722
|
+
export class AddressSigningRequest extends _AddressSigningRequestAspect(__.Entity) {}
|
|
723
|
+
Object.defineProperty(AddressSigningRequest, 'name', { value: 'odatano.cardano.AddressSigningRequests' })
|
|
724
|
+
Object.defineProperty(AddressSigningRequest, 'is_singular', { value: true })
|
|
725
|
+
export class AddressSigningRequests extends Array<AddressSigningRequest> {$count?: number}
|
|
726
|
+
Object.defineProperty(AddressSigningRequests, 'name', { value: 'odatano.cardano.AddressSigningRequests' })
|
|
727
|
+
|
|
728
|
+
export function _AddressTransactionBuildAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
729
|
+
return class AddressTransactionBuild extends Base {
|
|
730
|
+
declare address?: __.Key<__.Association.to<Address>>
|
|
731
|
+
declare address_address?: __.Key<Bech32>
|
|
732
|
+
declare txBuild?: __.Key<__.Association.to<TransactionBuild>>
|
|
733
|
+
declare txBuild_id?: __.Key<string>
|
|
734
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
735
|
+
declare static readonly keys: __.KeysOf<AddressTransactionBuild>;
|
|
736
|
+
declare static readonly elements: __.ElementsOf<AddressTransactionBuild>;
|
|
737
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
738
|
+
};
|
|
739
|
+
}
|
|
740
|
+
export class AddressTransactionBuild extends _AddressTransactionBuildAspect(__.Entity) {}
|
|
741
|
+
Object.defineProperty(AddressTransactionBuild, 'name', { value: 'odatano.cardano.AddressTransactionBuilds' })
|
|
742
|
+
Object.defineProperty(AddressTransactionBuild, 'is_singular', { value: true })
|
|
743
|
+
export class AddressTransactionBuilds extends Array<AddressTransactionBuild> {$count?: number}
|
|
744
|
+
Object.defineProperty(AddressTransactionBuilds, 'name', { value: 'odatano.cardano.AddressTransactionBuilds' })
|
|
745
|
+
|
|
746
|
+
export function _SigningRequestAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
747
|
+
return class SigningRequest extends Base {
|
|
748
|
+
declare id?: __.Key<string>
|
|
749
|
+
declare build?: __.Association.to<TransactionBuild> | null
|
|
750
|
+
declare build_id?: string | null
|
|
751
|
+
declare txBodyHash?: Blake2b256 | null
|
|
752
|
+
declare unsignedTxCbor?: string | null
|
|
753
|
+
declare network?: string | null
|
|
754
|
+
declare status?: SigningStatus | null
|
|
755
|
+
declare createdAt?: __.CdsTimestamp | null
|
|
756
|
+
declare expiresAt?: __.CdsTimestamp | null
|
|
757
|
+
declare signedAt?: __.CdsTimestamp | null
|
|
758
|
+
declare submittedAt?: __.CdsTimestamp | null
|
|
759
|
+
declare cardanoCliCommand?: string | null
|
|
760
|
+
declare cip30TxCbor?: string | null
|
|
761
|
+
declare signerType?: string | null
|
|
762
|
+
declare signerInfo?: string | null
|
|
763
|
+
declare verifications?: __.Composition.of.many<SignatureVerifications>
|
|
764
|
+
declare submission?: __.Association.to<TransactionSubmission> | null
|
|
765
|
+
declare submission_id?: string | null
|
|
766
|
+
declare errorMessage?: string | null
|
|
767
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
768
|
+
declare static readonly keys: __.KeysOf<SigningRequest>;
|
|
769
|
+
declare static readonly elements: __.ElementsOf<SigningRequest>;
|
|
770
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
771
|
+
};
|
|
772
|
+
}
|
|
773
|
+
export class SigningRequest extends _SigningRequestAspect(__.Entity) {}
|
|
774
|
+
Object.defineProperty(SigningRequest, 'name', { value: 'odatano.cardano.SigningRequests' })
|
|
775
|
+
Object.defineProperty(SigningRequest, 'is_singular', { value: true })
|
|
776
|
+
export class SigningRequests extends Array<SigningRequest> {$count?: number}
|
|
777
|
+
Object.defineProperty(SigningRequests, 'name', { value: 'odatano.cardano.SigningRequests' })
|
|
778
|
+
|
|
779
|
+
export function _SignatureVerificationAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
|
|
780
|
+
return class SignatureVerification extends Base {
|
|
781
|
+
declare id?: __.Key<string>
|
|
782
|
+
declare signingRequest?: __.Association.to<SigningRequest> | null
|
|
783
|
+
declare signingRequest_id?: string | null
|
|
784
|
+
declare signedTxCbor?: string | null
|
|
785
|
+
declare isValid?: boolean | null
|
|
786
|
+
declare txBodyHash?: Blake2b256 | null
|
|
787
|
+
declare witnessCount?: number | null
|
|
788
|
+
declare signerKeyHashes?: string | null
|
|
789
|
+
declare errorMessage?: string | null
|
|
790
|
+
declare warnings?: string | null
|
|
791
|
+
declare verifiedAt?: __.CdsTimestamp | null
|
|
792
|
+
static readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
|
|
793
|
+
declare static readonly keys: __.KeysOf<SignatureVerification>;
|
|
794
|
+
declare static readonly elements: __.ElementsOf<SignatureVerification>;
|
|
795
|
+
declare static readonly actions: globalThis.Record<never, never>;
|
|
796
|
+
};
|
|
797
|
+
}
|
|
798
|
+
export class SignatureVerification extends _SignatureVerificationAspect(__.Entity) {}
|
|
799
|
+
Object.defineProperty(SignatureVerification, 'name', { value: 'odatano.cardano.SignatureVerifications' })
|
|
800
|
+
Object.defineProperty(SignatureVerification, 'is_singular', { value: true })
|
|
801
|
+
export class SignatureVerifications extends Array<SignatureVerification> {$count?: number}
|
|
802
|
+
Object.defineProperty(SignatureVerifications, 'name', { value: 'odatano.cardano.SignatureVerifications' })
|