@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.
Files changed (118) hide show
  1. package/@cds-models/CardanoIndexerService/index.d.ts +142 -0
  2. package/@cds-models/CardanoIndexerService/index.js +23 -0
  3. package/@cds-models/CardanoODataService/index.d.ts +693 -2172
  4. package/@cds-models/CardanoODataService/index.js +88 -390
  5. package/@cds-models/CardanoSignService/index.d.ts +443 -1574
  6. package/@cds-models/CardanoSignService/index.js +62 -293
  7. package/@cds-models/CardanoTransactionService/index.d.ts +431 -1488
  8. package/@cds-models/CardanoTransactionService/index.js +60 -271
  9. package/@cds-models/CardanoWorkerService/index.d.ts +224 -0
  10. package/@cds-models/CardanoWorkerService/index.js +32 -0
  11. package/@cds-models/_/index.d.ts +70 -40
  12. package/@cds-models/_/index.js +17 -32
  13. package/@cds-models/cds/outbox/index.d.ts +28 -0
  14. package/@cds-models/index.d.ts +225 -522
  15. package/@cds-models/index.js +35 -218
  16. package/@cds-models/odatano/cardano/index.d.ts +896 -2947
  17. package/@cds-models/odatano/cardano/index.js +109 -536
  18. package/@cds-models/sap/common/index.d.ts +196 -600
  19. package/@cds-models/sap/common/index.js +28 -269
  20. package/README.md +136 -102
  21. package/db/schema.cds +283 -1
  22. package/db/types.cds +48 -0
  23. package/package.json +43 -34
  24. package/src/index.d.ts +1 -1
  25. package/src/index.js +10 -2
  26. package/src/plugin.js +12 -2
  27. package/srv/blockchain/backends/blockfrost-backend.d.ts +21 -2
  28. package/srv/blockchain/backends/blockfrost-backend.js +68 -15
  29. package/srv/blockchain/backends/cardano-backend.d.ts +69 -0
  30. package/srv/blockchain/backends/cardano-backend.js +13 -0
  31. package/srv/blockchain/backends/koios-backend.d.ts +26 -2
  32. package/srv/blockchain/backends/koios-backend.js +147 -15
  33. package/srv/blockchain/backends/ogmios-backend.d.ts +37 -6
  34. package/srv/blockchain/backends/ogmios-backend.js +254 -5
  35. package/srv/blockchain/cardano-client.d.ts +19 -0
  36. package/srv/blockchain/cardano-client.js +36 -0
  37. package/srv/blockchain/cardano-indexer.d.ts +50 -1
  38. package/srv/blockchain/cardano-indexer.js +191 -0
  39. package/srv/blockchain/crawler/crawler.d.ts +151 -0
  40. package/srv/blockchain/crawler/crawler.js +677 -0
  41. package/srv/blockchain/crawler/hooks.d.ts +43 -0
  42. package/srv/blockchain/crawler/hooks.js +62 -0
  43. package/srv/blockchain/crawler/index.d.ts +26 -0
  44. package/srv/blockchain/crawler/index.js +135 -0
  45. package/srv/blockchain/crawler/sync-state.d.ts +94 -0
  46. package/srv/blockchain/crawler/sync-state.js +265 -0
  47. package/srv/blockchain/signing/hsm-signer.d.ts +45 -0
  48. package/srv/blockchain/signing/hsm-signer.js +8 -1
  49. package/srv/blockchain/signing/signature-verifier.js +4 -5
  50. package/srv/blockchain/transaction-building/buildooor-tx.d.ts +7 -10
  51. package/srv/blockchain/transaction-building/buildooor-tx.js +12 -15
  52. package/srv/blockchain/wallet-worker/build-request.d.ts +26 -0
  53. package/srv/blockchain/wallet-worker/build-request.js +341 -0
  54. package/srv/blockchain/wallet-worker/confirmation-tracker.d.ts +86 -0
  55. package/srv/blockchain/wallet-worker/confirmation-tracker.js +228 -0
  56. package/srv/blockchain/wallet-worker/index.d.ts +14 -0
  57. package/srv/blockchain/wallet-worker/index.js +80 -0
  58. package/srv/blockchain/wallet-worker/job-store.d.ts +261 -0
  59. package/srv/blockchain/wallet-worker/job-store.js +564 -0
  60. package/srv/blockchain/wallet-worker/lease-heartbeat.d.ts +43 -0
  61. package/srv/blockchain/wallet-worker/lease-heartbeat.js +99 -0
  62. package/srv/blockchain/wallet-worker/signers.d.ts +57 -0
  63. package/srv/blockchain/wallet-worker/signers.js +131 -0
  64. package/srv/blockchain/wallet-worker/wallet-worker.d.ts +145 -0
  65. package/srv/blockchain/wallet-worker/wallet-worker.js +542 -0
  66. package/srv/cardano-indexer-service.cds +73 -0
  67. package/srv/cardano-indexer-service.d.ts +2 -0
  68. package/srv/cardano-indexer-service.js +76 -0
  69. package/srv/cardano-service.js +22 -1
  70. package/srv/cardano-tx-service.d.ts +1 -11
  71. package/srv/cardano-tx-service.js +11 -162
  72. package/srv/cardano-worker-service.cds +125 -0
  73. package/srv/cardano-worker-service.d.ts +2 -0
  74. package/srv/cardano-worker-service.js +199 -0
  75. package/srv/server.d.ts +32 -1
  76. package/srv/server.js +228 -2
  77. package/srv/utils/collections.d.ts +13 -0
  78. package/srv/utils/collections.js +24 -0
  79. package/srv/utils/crypto.d.ts +16 -0
  80. package/srv/utils/crypto.js +75 -0
  81. package/srv/utils/error-codes.d.ts +6 -0
  82. package/srv/utils/error-codes.js +6 -0
  83. package/srv/utils/errors.d.ts +12 -0
  84. package/srv/utils/errors.js +45 -0
  85. package/srv/utils/mappers.js +13 -3
  86. package/srv/utils/service-events.d.ts +26 -0
  87. package/srv/utils/service-events.js +46 -0
  88. package/srv/utils/tx-build-helper.d.ts +1 -2
  89. package/srv/utils/tx-build-helper.js +3 -5
  90. package/srv/utils/tx-request-parsers.d.ts +58 -0
  91. package/srv/utils/tx-request-parsers.js +170 -0
  92. package/srv/utils/tx-utils.d.ts +2 -1
  93. package/srv/utils/tx-utils.js +3 -2
  94. package/srv/utils/types.d.ts +2 -1
  95. package/@cds-models/CardanoODataService/index.d.ts.map +0 -1
  96. package/@cds-models/CardanoODataService/index.js.map +0 -1
  97. package/@cds-models/CardanoODataService/index.ts +0 -776
  98. package/@cds-models/CardanoSignService/index.d.ts.map +0 -1
  99. package/@cds-models/CardanoSignService/index.js.map +0 -1
  100. package/@cds-models/CardanoSignService/index.ts +0 -569
  101. package/@cds-models/CardanoTransactionService/index.d.ts.map +0 -1
  102. package/@cds-models/CardanoTransactionService/index.js.map +0 -1
  103. package/@cds-models/CardanoTransactionService/index.ts +0 -526
  104. package/@cds-models/_/index.d.ts.map +0 -1
  105. package/@cds-models/_/index.js.map +0 -1
  106. package/@cds-models/_/index.ts +0 -96
  107. package/@cds-models/cds/outbox/index.ts +0 -27
  108. package/@cds-models/index.d.ts.map +0 -1
  109. package/@cds-models/index.js.map +0 -1
  110. package/@cds-models/index.ts +0 -245
  111. package/@cds-models/odatano/cardano/index.d.ts.map +0 -1
  112. package/@cds-models/odatano/cardano/index.js.map +0 -1
  113. package/@cds-models/odatano/cardano/index.ts +0 -789
  114. package/@cds-models/sap/common/index.d.ts.map +0 -1
  115. package/@cds-models/sap/common/index.js.map +0 -1
  116. package/@cds-models/sap/common/index.ts +0 -249
  117. package/srv/blockchain/transaction-building/keep-relevant.d.ts +0 -29
  118. package/srv/blockchain/transaction-building/keep-relevant.js +0 -116
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,SAAS,CAAC;AAE7B,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC;AAE5B,wBAAgB,eAAe,CAAC,KAAK,SAAS,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,MAAM,EAAE,IAAI,EAAE,KAAK;kBAA7B,GAAG,EAAE;eAE9C,MAAM,GAAG,IAAI;gBACZ,MAAM,GAAG,IAAI;;mBACP,QAAQ,GAAG,MAAM,GAAG,QAAQ;mBACpB,EAAE,CAAC,MAAM;eAHxB,MAAM,GAAG,IAAI;gBACZ,MAAM,GAAG,IAAI;MAEoB;uBACf,EAAE,CAAC,UAAU;eAJhC,MAAM,GAAG,IAAI;gBACZ,MAAM,GAAG,IAAI;MAG4B;sBACxB,UAAU,CAAC,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC;UAEnE;;kBAT2D,GAAG,EAAE;eAE9C,MAAM,GAAG,IAAI;gBACZ,MAAM,GAAG,IAAI;;mBACP,QAAQ,GAAG,MAAM,GAAG,QAAQ;;eAFnC,MAAM,GAAG,IAAI;gBACZ,MAAM,GAAG,IAAI;;;eADd,MA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,EAlBgB,UAAU,0BAAV,UAAU,QAkB1B;AACD,WAAiB,SAAS;IACxB,SAAgB,WAAW,CAA+C,IAAW;QACnF,OAAO,MAAM,IAAK,SAAQ,kBAAkB,CAAC,IAAI,CAAC;YAIhD,MAAM,CAAmB,IAAI,GAAiC,QAAQ,CAAC;SAIxE,CAAC;IACJ,CAAC;IAVe,qBAAW,cAU1B,CAAA;IACD,MAAa,IAAK,SAAQ,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC;KAAG;IAAtC,cAAI,OAAkC,CAAA;IACnD,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,4BAA4B,EAAE,CAAC,CAAA;IAC5E,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,aAAa,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAA;IAC3D,MAAa,KAAM,SAAQ,KAAW;QAAE,MAAM,CAAS;KAAC;IAA3C,eAAK,QAAsC,CAAA;IACxD,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,4BAA4B,EAAE,CAAC,CAAA;AAE/E,CAAC,EAlBgB,SAAS,yBAAT,SAAS,QAkBzB"}
@@ -1,249 +0,0 @@
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 Locale = string;
6
- // the following represents the CDS aspect 'CodeList'
7
- export function _CodeListAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
8
- return class CodeList extends Base {
9
- declare name?: string | null
10
- declare descr?: string | null
11
- static readonly kind: 'entity' | 'type' | 'aspect' = 'aspect';
12
- declare static readonly keys: __.KeysOf<CodeList>;
13
- declare static readonly elements: __.ElementsOf<CodeList>;
14
- declare static readonly actions: globalThis.Record<never, never>;
15
- };
16
- }
17
- /**
18
- * Aspect for a code list with name and description
19
- *
20
- * See https://cap.cloud.sap/docs/cds/common#aspect-codelist
21
- */
22
- export class CodeList extends _CodeListAspect(__.Entity) {}
23
- /**
24
- * Aspect for a code list with name and description
25
- *
26
- * See https://cap.cloud.sap/docs/cds/common#aspect-codelist
27
- */
28
- export class CodeList_ extends Array<CodeList> {$count?: number}
29
- Object.defineProperty(CodeList_, 'name', { value: 'sap.common.CodeList' })
30
- // the following represents the CDS aspect 'TextsAspect'
31
- export function _TextsAspectAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
32
- return class TextsAspect extends Base {
33
- /** Type for a language code */
34
- declare locale?: __.Key<Locale>
35
- static readonly kind: 'entity' | 'type' | 'aspect' = 'aspect';
36
- declare static readonly keys: __.KeysOf<TextsAspect>;
37
- declare static readonly elements: __.ElementsOf<TextsAspect>;
38
- declare static readonly actions: globalThis.Record<never, never>;
39
- };
40
- }
41
- export class TextsAspect extends _TextsAspectAspect(__.Entity) {}
42
- export class TextsAspect_ extends Array<TextsAspect> {$count?: number}
43
- Object.defineProperty(TextsAspect_, 'name', { value: 'sap.common.TextsAspect' })
44
- // the following represents the CDS aspect 'FlowHistory'
45
- export function _FlowHistoryAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
46
- return class FlowHistory extends Base {
47
- declare transitions_?: __.Composition.of.many<Array< {
48
- timestamp?: __.Key<__.DeepRequired<_.managed>['createdAt']>,
49
- user?: __.DeepRequired<_.managed>['createdBy'] | null,
50
- status?: string | null,
51
- comment?: string | null,
52
- }>>
53
- static readonly kind: 'entity' | 'type' | 'aspect' = 'aspect';
54
- declare static readonly keys: __.KeysOf<FlowHistory>;
55
- declare static readonly elements: __.ElementsOf<FlowHistory>;
56
- declare static readonly actions: globalThis.Record<never, never>;
57
- };
58
- }
59
- export class FlowHistory extends _FlowHistoryAspect(__.Entity) {}
60
- export class FlowHistory_ extends Array<FlowHistory> {$count?: number}
61
- Object.defineProperty(FlowHistory_, 'name', { value: 'sap.common.FlowHistory' })
62
- export function _LanguageAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
63
- return class Language extends _CodeListAspect(Base) {
64
- /** Type for a language code */
65
- declare code?: __.Key<Locale>
66
- declare texts?: __.Composition.of.many<Languages.texts>
67
- declare localized?: __.Association.to<Languages.text> | null
68
- static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
69
- declare static readonly keys: __.KeysOf<Language>;
70
- declare static readonly elements: __.ElementsOf<Language>;
71
- declare static readonly actions: typeof CodeList.actions & globalThis.Record<never, never>;
72
- };
73
- }
74
- /**
75
- * Code list for languages
76
- *
77
- * See https://cap.cloud.sap/docs/cds/common#entity-languages
78
- */
79
- export class Language extends _LanguageAspect(__.Entity) {}
80
- Object.defineProperty(Language, 'name', { value: 'sap.common.Languages' })
81
- Object.defineProperty(Language, 'is_singular', { value: true })
82
- /**
83
- * Code list for languages
84
- *
85
- * See https://cap.cloud.sap/docs/cds/common#entity-languages
86
- */
87
- export class Languages extends Array<Language> {$count?: number}
88
- Object.defineProperty(Languages, 'name', { value: 'sap.common.Languages' })
89
-
90
- export function _CountryAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
91
- return class Country extends _CodeListAspect(Base) {
92
- declare code?: __.Key<string>
93
- declare texts?: __.Composition.of.many<Countries.texts>
94
- declare localized?: __.Association.to<Countries.text> | null
95
- static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
96
- declare static readonly keys: __.KeysOf<Country>;
97
- declare static readonly elements: __.ElementsOf<Country>;
98
- declare static readonly actions: typeof CodeList.actions & globalThis.Record<never, never>;
99
- };
100
- }
101
- /**
102
- * Code list for countries
103
- *
104
- * See https://cap.cloud.sap/docs/cds/common#entity-countries
105
- */
106
- export class Country extends _CountryAspect(__.Entity) {}
107
- Object.defineProperty(Country, 'name', { value: 'sap.common.Countries' })
108
- Object.defineProperty(Country, 'is_singular', { value: true })
109
- /**
110
- * Code list for countries
111
- *
112
- * See https://cap.cloud.sap/docs/cds/common#entity-countries
113
- */
114
- export class Countries extends Array<Country> {$count?: number}
115
- Object.defineProperty(Countries, 'name', { value: 'sap.common.Countries' })
116
-
117
- export function _CurrencyAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
118
- return class Currency extends _CodeListAspect(Base) {
119
- declare code?: __.Key<string>
120
- declare symbol?: string | null
121
- declare minorUnit?: number | null
122
- declare texts?: __.Composition.of.many<Currencies.texts>
123
- declare localized?: __.Association.to<Currencies.text> | null
124
- static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
125
- declare static readonly keys: __.KeysOf<Currency>;
126
- declare static readonly elements: __.ElementsOf<Currency>;
127
- declare static readonly actions: typeof CodeList.actions & globalThis.Record<never, never>;
128
- };
129
- }
130
- /**
131
- * Code list for currencies
132
- *
133
- * See https://cap.cloud.sap/docs/cds/common#entity-currencies
134
- */
135
- export class Currency extends _CurrencyAspect(__.Entity) {}
136
- Object.defineProperty(Currency, 'name', { value: 'sap.common.Currencies' })
137
- Object.defineProperty(Currency, 'is_singular', { value: true })
138
- /**
139
- * Code list for currencies
140
- *
141
- * See https://cap.cloud.sap/docs/cds/common#entity-currencies
142
- */
143
- export class Currencies extends Array<Currency> {$count?: number}
144
- Object.defineProperty(Currencies, 'name', { value: 'sap.common.Currencies' })
145
-
146
- export function _TimezoneAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
147
- return class Timezone extends _CodeListAspect(Base) {
148
- declare code?: __.Key<string>
149
- declare texts?: __.Composition.of.many<Timezones.texts>
150
- declare localized?: __.Association.to<Timezones.text> | null
151
- static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
152
- declare static readonly keys: __.KeysOf<Timezone>;
153
- declare static readonly elements: __.ElementsOf<Timezone>;
154
- declare static readonly actions: typeof CodeList.actions & globalThis.Record<never, never>;
155
- };
156
- }
157
- /**
158
- * Code list for time zones
159
- *
160
- * See https://cap.cloud.sap/docs/cds/common#entity-timezones
161
- */
162
- export class Timezone extends _TimezoneAspect(__.Entity) {}
163
- Object.defineProperty(Timezone, 'name', { value: 'sap.common.Timezones' })
164
- Object.defineProperty(Timezone, 'is_singular', { value: true })
165
- /**
166
- * Code list for time zones
167
- *
168
- * See https://cap.cloud.sap/docs/cds/common#entity-timezones
169
- */
170
- export class Timezones extends Array<Timezone> {$count?: number}
171
- Object.defineProperty(Timezones, 'name', { value: 'sap.common.Timezones' })
172
-
173
- export namespace Languages {
174
- export function _textAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
175
- return class text extends _TextsAspectAspect(Base) {
176
- declare name?: string | null
177
- declare descr?: string | null
178
- /** Type for a language code */
179
- declare code?: __.Key<Locale>
180
- static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
181
- declare static readonly keys: __.KeysOf<text> & typeof TextsAspect.keys;
182
- declare static readonly elements: __.ElementsOf<text>;
183
- declare static readonly actions: typeof TextsAspect.actions & globalThis.Record<never, never>;
184
- };
185
- }
186
- export class text extends _textAspect(__.Entity) {}
187
- Object.defineProperty(text, 'name', { value: 'sap.common.Languages.texts' })
188
- Object.defineProperty(text, 'is_singular', { value: true })
189
- export class texts extends Array<text> {$count?: number}
190
- Object.defineProperty(texts, 'name', { value: 'sap.common.Languages.texts' })
191
-
192
- }
193
- export namespace Countries {
194
- export function _textAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
195
- return class text extends _TextsAspectAspect(Base) {
196
- declare name?: string | null
197
- declare descr?: string | null
198
- declare code?: __.Key<string>
199
- static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
200
- declare static readonly keys: __.KeysOf<text> & typeof TextsAspect.keys;
201
- declare static readonly elements: __.ElementsOf<text>;
202
- declare static readonly actions: typeof TextsAspect.actions & globalThis.Record<never, never>;
203
- };
204
- }
205
- export class text extends _textAspect(__.Entity) {}
206
- Object.defineProperty(text, 'name', { value: 'sap.common.Countries.texts' })
207
- Object.defineProperty(text, 'is_singular', { value: true })
208
- export class texts extends Array<text> {$count?: number}
209
- Object.defineProperty(texts, 'name', { value: 'sap.common.Countries.texts' })
210
-
211
- }
212
- export namespace Currencies {
213
- export function _textAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
214
- return class text extends _TextsAspectAspect(Base) {
215
- declare name?: string | null
216
- declare descr?: string | null
217
- declare code?: __.Key<string>
218
- static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
219
- declare static readonly keys: __.KeysOf<text> & typeof TextsAspect.keys;
220
- declare static readonly elements: __.ElementsOf<text>;
221
- declare static readonly actions: typeof TextsAspect.actions & globalThis.Record<never, never>;
222
- };
223
- }
224
- export class text extends _textAspect(__.Entity) {}
225
- Object.defineProperty(text, 'name', { value: 'sap.common.Currencies.texts' })
226
- Object.defineProperty(text, 'is_singular', { value: true })
227
- export class texts extends Array<text> {$count?: number}
228
- Object.defineProperty(texts, 'name', { value: 'sap.common.Currencies.texts' })
229
-
230
- }
231
- export namespace Timezones {
232
- export function _textAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
233
- return class text extends _TextsAspectAspect(Base) {
234
- declare name?: string | null
235
- declare descr?: string | null
236
- declare code?: __.Key<string>
237
- static override readonly kind: 'entity' | 'type' | 'aspect' = 'entity';
238
- declare static readonly keys: __.KeysOf<text> & typeof TextsAspect.keys;
239
- declare static readonly elements: __.ElementsOf<text>;
240
- declare static readonly actions: typeof TextsAspect.actions & globalThis.Record<never, never>;
241
- };
242
- }
243
- export class text extends _textAspect(__.Entity) {}
244
- Object.defineProperty(text, 'name', { value: 'sap.common.Timezones.texts' })
245
- Object.defineProperty(text, 'is_singular', { value: true })
246
- export class texts extends Array<text> {$count?: number}
247
- Object.defineProperty(texts, 'name', { value: 'sap.common.Timezones.texts' })
248
-
249
- }
@@ -1,29 +0,0 @@
1
- import { type CanBeUInteger, type ITxBuildInput } from "@harmoniclabs/buildooor";
2
- import { Value, type ValueUnits } from "@harmoniclabs/cardano-ledger-ts";
3
- /**
4
- * Coin selection ("keep relevant" strategy) — vendored fix for
5
- * @harmoniclabs/buildooor 0.2.6 (HarmonicLabs/buildooor PR #12).
6
- *
7
- * The shipped `TxBuilder.keepRelevant` has several defects: the asset-relevance
8
- * filter matches lovelace too (whenever lovelace is requested, EVERY input counts
9
- * as a multi-asset match and the whole UTxO set is selected), the dedup between
10
- * the asset and lovelace selection phases compares only the tx id — not id#index,
11
- * so sibling outputs of one transaction collapse and inputs get selected twice —
12
- * the lovelace sort goes through parseInt/number (breaks above 2^53), and
13
- * `enoughValueHasBeenSelected` has an operator-precedence bug that makes asset
14
- * sums meaningless.
15
- *
16
- * Vendored here (instead of patch-package) so the fix actually reaches consumers
17
- * of the published package: `patches/` never ships in the tarball, and running
18
- * patch-package from a dependency's postinstall is unreliable under npm hoisting.
19
- * Drop this module and call `txBuilder.keepRelevant` again once a buildooor
20
- * release contains the upstream PR.
21
- *
22
- * Semantics: select the inputs holding any requested non-lovelace asset, then add
23
- * smallest-first lovelace-relevant inputs until the requested lovelace (plus a
24
- * safety minimum for fee/change) is covered. Selection may still undershoot when
25
- * the pool itself is insufficient — Buildooor's build() surfaces that as its own
26
- * insufficient-funds error, exactly like the upstream implementation.
27
- */
28
- export declare function keepRelevant(requestedOutputSet: Value | ValueUnits | Record<string, CanBeUInteger>, initialUTxOSet: ITxBuildInput[], minimumLovelaceRequired?: CanBeUInteger): ITxBuildInput[];
29
- //# sourceMappingURL=keep-relevant.d.ts.map
@@ -1,116 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.keepRelevant = keepRelevant;
4
- const buildooor_1 = require("@harmoniclabs/buildooor");
5
- const cardano_ledger_ts_1 = require("@harmoniclabs/cardano-ledger-ts");
6
- /**
7
- * Coin selection ("keep relevant" strategy) — vendored fix for
8
- * @harmoniclabs/buildooor 0.2.6 (HarmonicLabs/buildooor PR #12).
9
- *
10
- * The shipped `TxBuilder.keepRelevant` has several defects: the asset-relevance
11
- * filter matches lovelace too (whenever lovelace is requested, EVERY input counts
12
- * as a multi-asset match and the whole UTxO set is selected), the dedup between
13
- * the asset and lovelace selection phases compares only the tx id — not id#index,
14
- * so sibling outputs of one transaction collapse and inputs get selected twice —
15
- * the lovelace sort goes through parseInt/number (breaks above 2^53), and
16
- * `enoughValueHasBeenSelected` has an operator-precedence bug that makes asset
17
- * sums meaningless.
18
- *
19
- * Vendored here (instead of patch-package) so the fix actually reaches consumers
20
- * of the published package: `patches/` never ships in the tarball, and running
21
- * patch-package from a dependency's postinstall is unreliable under npm hoisting.
22
- * Drop this module and call `txBuilder.keepRelevant` again once a buildooor
23
- * release contains the upstream PR.
24
- *
25
- * Semantics: select the inputs holding any requested non-lovelace asset, then add
26
- * smallest-first lovelace-relevant inputs until the requested lovelace (plus a
27
- * safety minimum for fee/change) is covered. Selection may still undershoot when
28
- * the pool itself is insufficient — Buildooor's build() surfaces that as its own
29
- * insufficient-funds error, exactly like the upstream implementation.
30
- */
31
- function keepRelevant(requestedOutputSet, initialUTxOSet, minimumLovelaceRequired = 5_000_000) {
32
- const requested = normalizeRequestedOutputSet(requestedOutputSet);
33
- const requestedLovelace = (requested["lovelace"] ?? 0n) + (0, buildooor_1.forceBigUInt)(minimumLovelaceRequired);
34
- const requestedAssetUnits = Object.keys(requested).filter(unit => unit !== "lovelace");
35
- const multiAssetIns = initialUTxOSet.filter(input => new cardano_ledger_ts_1.UTxO(input.utxo).resolved.value.toUnits()
36
- .filter(asset => asset.unit !== "lovelace")
37
- .some(asset => requestedAssetUnits.includes(asset.unit)));
38
- const totLovelaces = getTotLovelaces(multiAssetIns);
39
- const lovelaceIns = totLovelaces < requestedLovelace
40
- ? remainingLovelace(requestedLovelace - totLovelaces,
41
- // filter out inputs already picked by the multi-asset selection
42
- initialUTxOSet.filter(initialUtxo => {
43
- const refStr = utxoRefStr(initialUtxo);
44
- return !multiAssetIns.some(selected => utxoRefStr(selected) === refStr);
45
- }))
46
- : [];
47
- return lovelaceIns.concat(multiAssetIns).map(buildooor_1.normalizeITxBuildInput);
48
- }
49
- /**
50
- * Tolerates `Value` instances from a duplicated `cardano-ledger-ts` in
51
- * node_modules, where `instanceof` fails across the two copies.
52
- */
53
- function isValueLike(x) {
54
- return x instanceof cardano_ledger_ts_1.Value ||
55
- (!Array.isArray(x) && typeof x?.toUnits === "function");
56
- }
57
- /**
58
- * `keepRelevant` historically accepted two shapes besides `Value`: the
59
- * `ValueUnits` array returned by `Value.toUnits()` and a Mesh-style
60
- * `{ [unit]: quantity }` record. Normalize all of them to a record with
61
- * `bigint` quantities so the algorithm only deals with one shape.
62
- */
63
- function normalizeRequestedOutputSet(requested) {
64
- const units = isValueLike(requested)
65
- ? requested.toUnits()
66
- : requested;
67
- const result = {};
68
- if (Array.isArray(units)) {
69
- for (const { unit, quantity } of units) {
70
- result[unit] = (result[unit] ?? 0n) + BigInt(quantity);
71
- }
72
- return result;
73
- }
74
- for (const unit of Object.keys(units)) {
75
- result[unit] = BigInt(units[unit]);
76
- }
77
- return result;
78
- }
79
- /** Full utxo ref (id#index) — the id alone collapses sibling outputs of one tx. */
80
- function utxoRefStr(input) {
81
- const ref = input.utxo.utxoRef;
82
- return `${ref.id.toString()}#${ref.index.toString()}`;
83
- }
84
- function getTotLovelaces(inputs) {
85
- return inputs.reduce((sum, input) => sum + new cardano_ledger_ts_1.UTxO(input.utxo).resolved.value.lovelaces, 0n);
86
- }
87
- function remainingLovelace(quantity, initialUTxOSet) {
88
- // smallest-first, compared as bigint (a number sort breaks above 2^53 lovelace)
89
- const sortedUTxOs = initialUTxOSet.slice().sort((a, b) => {
90
- const aLovelaces = new cardano_ledger_ts_1.UTxO(a.utxo).resolved.value.lovelaces;
91
- const bLovelaces = new cardano_ledger_ts_1.UTxO(b.utxo).resolved.value.lovelaces;
92
- return aLovelaces < bLovelaces ? -1 : aLovelaces > bLovelaces ? 1 : 0;
93
- });
94
- return selectValue(sortedUTxOs, { lovelace: quantity });
95
- }
96
- function enoughValueHasBeenSelected(selection, assets) {
97
- return Object.keys(assets).every(unit => selection.reduce((selectedQuantity, input) => {
98
- const utxoQuantity = new cardano_ledger_ts_1.UTxO(input.utxo).resolved.value.toUnits()
99
- .reduce((quantity, a) => quantity + (unit === a.unit ? BigInt(a.quantity) : 0n), 0n);
100
- return selectedQuantity + utxoQuantity;
101
- }, 0n) >= assets[unit]);
102
- }
103
- function selectValue(inputUTxO, outputSet, selection = []) {
104
- if (inputUTxO.length === 0 || enoughValueHasBeenSelected(selection, outputSet)) {
105
- return selection;
106
- }
107
- if (canValueBeSelected(inputUTxO[0], outputSet)) {
108
- return selectValue(inputUTxO.slice(1), outputSet, selection.concat(inputUTxO[0]));
109
- }
110
- return selectValue(inputUTxO.slice(1), outputSet, selection);
111
- }
112
- function canValueBeSelected(input, assets) {
113
- return Object.keys(assets).some(unit => new cardano_ledger_ts_1.UTxO(input.utxo).resolved.value.toUnits()
114
- .some(asset => asset.unit === unit));
115
- }
116
- //# sourceMappingURL=keep-relevant.js.map