@sentio/sdk 1.16.3 → 1.17.0

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 (149) hide show
  1. package/lib/aptos-processor.d.ts +21 -0
  2. package/lib/aptos-processor.js +65 -0
  3. package/lib/aptos-processor.js.map +1 -0
  4. package/lib/bind-options.d.ts +2 -0
  5. package/lib/bind-options.js +4 -1
  6. package/lib/bind-options.js.map +1 -1
  7. package/lib/builtin/eacaggregatorproxy/index.d.ts +2 -0
  8. package/lib/builtin/eacaggregatorproxy/index.js +22 -0
  9. package/lib/builtin/eacaggregatorproxy/index.js.map +1 -0
  10. package/lib/builtin/eacaggregatorproxy/test-utils.d.ts +6 -0
  11. package/lib/builtin/eacaggregatorproxy/test-utils.js +57 -0
  12. package/lib/builtin/eacaggregatorproxy/test-utils.js.map +1 -0
  13. package/lib/builtin/internal/EACAggregatorProxy.d.ts +460 -0
  14. package/lib/builtin/internal/EACAggregatorProxy.js +3 -0
  15. package/lib/builtin/internal/EACAggregatorProxy.js.map +1 -0
  16. package/lib/builtin/internal/eacaggregatorproxy_processor.d.ts +317 -0
  17. package/lib/builtin/internal/eacaggregatorproxy_processor.js +813 -0
  18. package/lib/builtin/internal/eacaggregatorproxy_processor.js.map +1 -0
  19. package/lib/builtin/internal/factories/EACAggregatorProxy__factory.d.ts +46 -0
  20. package/lib/builtin/internal/factories/EACAggregatorProxy__factory.js +527 -0
  21. package/lib/builtin/internal/factories/EACAggregatorProxy__factory.js.map +1 -0
  22. package/lib/builtin/internal/factories/index.d.ts +1 -0
  23. package/lib/builtin/internal/factories/index.js +3 -1
  24. package/lib/builtin/internal/factories/index.js.map +1 -1
  25. package/lib/builtin/internal/index.d.ts +2 -0
  26. package/lib/builtin/internal/index.js +3 -1
  27. package/lib/builtin/internal/index.js.map +1 -1
  28. package/lib/context.d.ts +5 -0
  29. package/lib/context.js +15 -3
  30. package/lib/context.js.map +1 -1
  31. package/lib/gen/processor/protos/processor.d.ts +2 -0
  32. package/lib/gen/processor/protos/processor.js +19 -0
  33. package/lib/gen/processor/protos/processor.js.map +1 -1
  34. package/lib/index.d.ts +2 -1
  35. package/lib/index.js +4 -1
  36. package/lib/index.js.map +1 -1
  37. package/lib/meter.js +17 -0
  38. package/lib/meter.js.map +1 -1
  39. package/lib/numberish.js +7 -0
  40. package/lib/numberish.js.map +1 -1
  41. package/lib/processor-state.d.ts +2 -0
  42. package/lib/processor-state.js +1 -0
  43. package/lib/processor-state.js.map +1 -1
  44. package/lib/service.js +47 -0
  45. package/lib/service.js.map +1 -1
  46. package/lib/solana/builtin/spl-token-processor.d.ts +16 -1
  47. package/lib/solana/builtin/spl-token-processor.js +120 -0
  48. package/lib/solana/builtin/spl-token-processor.js.map +1 -1
  49. package/lib/solana/builtin/types.d.ts +97 -0
  50. package/lib/solana/builtin/types.js.map +1 -1
  51. package/lib/test/{mirrorworld.d.ts → aptos.test.d.ts} +0 -0
  52. package/lib/test/aptos.test.js +142 -0
  53. package/lib/test/aptos.test.js.map +1 -0
  54. package/lib/test/erc20-template.test.js +21 -2
  55. package/lib/test/erc20-template.test.js.map +1 -1
  56. package/lib/test/erc20.js +4 -5
  57. package/lib/test/erc20.js.map +1 -1
  58. package/lib/test/erc20.test.js +0 -13
  59. package/lib/test/erc20.test.js.map +1 -1
  60. package/lib/test/{tic-tac-toe.d.ts → error-capture.test.d.ts} +0 -0
  61. package/lib/test/error-capture.test.js +76 -0
  62. package/lib/test/error-capture.test.js.map +1 -0
  63. package/lib/test/solana.test.js +1 -17
  64. package/lib/test/solana.test.js.map +1 -1
  65. package/lib/test/souffl3.d.ts +1 -0
  66. package/lib/test/souffl3.js +24 -0
  67. package/lib/test/souffl3.js.map +1 -0
  68. package/lib/test/sui.test.js +28 -1
  69. package/lib/test/sui.test.js.map +1 -1
  70. package/lib/test/test-provider.d.ts +1 -1
  71. package/lib/test/test-provider.js +11 -5
  72. package/lib/test/test-provider.js.map +1 -1
  73. package/lib/test/types/{game_wallet.d.ts → basic_1.d.ts} +2 -21
  74. package/lib/test/types/basic_1.js +66 -0
  75. package/lib/test/types/basic_1.js.map +1 -0
  76. package/lib/test/types/basic_1_processor.d.ts +13 -0
  77. package/lib/test/types/basic_1_processor.js +41 -0
  78. package/lib/test/types/basic_1_processor.js.map +1 -0
  79. package/lib/utils/chainlink-oracles-goerli.csv +8 -0
  80. package/lib/utils/chainlink-oracles.csv +217 -0
  81. package/lib/utils/dex-price.d.ts +22 -0
  82. package/lib/utils/dex-price.js +114 -0
  83. package/lib/utils/dex-price.js.map +1 -0
  84. package/lib/utils/dex-price.test.d.ts +1 -0
  85. package/lib/utils/dex-price.test.js +22 -0
  86. package/lib/utils/dex-price.test.js.map +1 -0
  87. package/lib/utils/erc20.d.ts +1 -0
  88. package/lib/utils/erc20.js +7 -3
  89. package/lib/utils/erc20.js.map +1 -1
  90. package/lib/utils/index.d.ts +3 -1
  91. package/lib/utils/index.js +6 -1
  92. package/lib/utils/index.js.map +1 -1
  93. package/package.json +3 -3
  94. package/src/abis/EACAggregatorProxy.json +227 -0
  95. package/src/aptos-processor.ts +75 -0
  96. package/src/bind-options.ts +1 -0
  97. package/src/builtin/eacaggregatorproxy/index.ts +6 -0
  98. package/src/builtin/eacaggregatorproxy/test-utils.ts +89 -0
  99. package/src/builtin/internal/EACAggregatorProxy.ts +861 -0
  100. package/src/builtin/internal/eacaggregatorproxy_processor.ts +1417 -0
  101. package/src/builtin/internal/factories/EACAggregatorProxy__factory.ts +533 -0
  102. package/src/builtin/internal/factories/index.ts +1 -0
  103. package/src/builtin/internal/index.ts +2 -0
  104. package/src/context.ts +15 -2
  105. package/src/gen/processor/protos/processor.ts +20 -0
  106. package/src/index.ts +2 -1
  107. package/src/meter.ts +18 -2
  108. package/src/numberish.ts +7 -0
  109. package/src/processor-state.ts +3 -0
  110. package/src/service.ts +51 -0
  111. package/src/solana/builtin/spl-token-processor.ts +137 -1
  112. package/src/solana/builtin/types.ts +11 -0
  113. package/src/test/abis/solana/basic_1.json +62 -0
  114. package/src/test/aptos.test.ts +148 -0
  115. package/src/test/erc20-template.test.ts +26 -3
  116. package/src/test/erc20.test.ts +1 -15
  117. package/src/test/erc20.ts +4 -5
  118. package/src/test/error-capture.test.ts +82 -0
  119. package/src/test/solana.test.ts +1 -18
  120. package/src/test/souffl3.ts +24 -0
  121. package/src/test/sui.test.ts +31 -2
  122. package/src/test/test-provider.ts +11 -5
  123. package/src/test/types/basic_1.ts +62 -0
  124. package/src/test/types/basic_1_processor.ts +41 -0
  125. package/src/utils/chainlink-oracles-goerli.csv +8 -0
  126. package/src/utils/chainlink-oracles.csv +217 -0
  127. package/src/utils/dex-price.test.ts +24 -0
  128. package/src/utils/dex-price.ts +136 -0
  129. package/src/utils/erc20.ts +5 -1
  130. package/src/utils/index.ts +3 -1
  131. package/lib/test/erc20-template.d.ts +0 -1
  132. package/lib/test/erc20-template.js +0 -23
  133. package/lib/test/erc20-template.js.map +0 -1
  134. package/lib/test/mirrorworld.js +0 -42
  135. package/lib/test/mirrorworld.js.map +0 -1
  136. package/lib/test/tic-tac-toe.js +0 -31
  137. package/lib/test/tic-tac-toe.js.map +0 -1
  138. package/lib/test/types/game_wallet.js +0 -1396
  139. package/lib/test/types/game_wallet.js.map +0 -1
  140. package/lib/test/types/game_wallet_processor.d.ts +0 -107
  141. package/lib/test/types/game_wallet_processor.js +0 -105
  142. package/lib/test/types/game_wallet_processor.js.map +0 -1
  143. package/src/test/abis/solana/mirrorworld.json +0 -1392
  144. package/src/test/erc20-template.ts +0 -25
  145. package/src/test/mirrorworld.ts +0 -40
  146. package/src/test/sentio.yaml +0 -4
  147. package/src/test/tic-tac-toe.ts +0 -31
  148. package/src/test/types/game_wallet.ts +0 -1392
  149. package/src/test/types/game_wallet_processor.ts +0 -113
@@ -0,0 +1,527 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.EACAggregatorProxy__factory = void 0;
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "address",
13
+ name: "_aggregator",
14
+ type: "address",
15
+ },
16
+ {
17
+ internalType: "address",
18
+ name: "_accessController",
19
+ type: "address",
20
+ },
21
+ ],
22
+ stateMutability: "nonpayable",
23
+ type: "constructor",
24
+ },
25
+ {
26
+ anonymous: false,
27
+ inputs: [
28
+ {
29
+ indexed: true,
30
+ internalType: "int256",
31
+ name: "current",
32
+ type: "int256",
33
+ },
34
+ {
35
+ indexed: true,
36
+ internalType: "uint256",
37
+ name: "roundId",
38
+ type: "uint256",
39
+ },
40
+ {
41
+ indexed: false,
42
+ internalType: "uint256",
43
+ name: "updatedAt",
44
+ type: "uint256",
45
+ },
46
+ ],
47
+ name: "AnswerUpdated",
48
+ type: "event",
49
+ },
50
+ {
51
+ anonymous: false,
52
+ inputs: [
53
+ {
54
+ indexed: true,
55
+ internalType: "uint256",
56
+ name: "roundId",
57
+ type: "uint256",
58
+ },
59
+ {
60
+ indexed: true,
61
+ internalType: "address",
62
+ name: "startedBy",
63
+ type: "address",
64
+ },
65
+ {
66
+ indexed: false,
67
+ internalType: "uint256",
68
+ name: "startedAt",
69
+ type: "uint256",
70
+ },
71
+ ],
72
+ name: "NewRound",
73
+ type: "event",
74
+ },
75
+ {
76
+ anonymous: false,
77
+ inputs: [
78
+ {
79
+ indexed: true,
80
+ internalType: "address",
81
+ name: "from",
82
+ type: "address",
83
+ },
84
+ {
85
+ indexed: true,
86
+ internalType: "address",
87
+ name: "to",
88
+ type: "address",
89
+ },
90
+ ],
91
+ name: "OwnershipTransferRequested",
92
+ type: "event",
93
+ },
94
+ {
95
+ anonymous: false,
96
+ inputs: [
97
+ {
98
+ indexed: true,
99
+ internalType: "address",
100
+ name: "from",
101
+ type: "address",
102
+ },
103
+ {
104
+ indexed: true,
105
+ internalType: "address",
106
+ name: "to",
107
+ type: "address",
108
+ },
109
+ ],
110
+ name: "OwnershipTransferred",
111
+ type: "event",
112
+ },
113
+ {
114
+ inputs: [],
115
+ name: "acceptOwnership",
116
+ outputs: [],
117
+ stateMutability: "nonpayable",
118
+ type: "function",
119
+ },
120
+ {
121
+ inputs: [],
122
+ name: "accessController",
123
+ outputs: [
124
+ {
125
+ internalType: "contract AccessControllerInterface",
126
+ name: "",
127
+ type: "address",
128
+ },
129
+ ],
130
+ stateMutability: "view",
131
+ type: "function",
132
+ },
133
+ {
134
+ inputs: [],
135
+ name: "aggregator",
136
+ outputs: [
137
+ {
138
+ internalType: "address",
139
+ name: "",
140
+ type: "address",
141
+ },
142
+ ],
143
+ stateMutability: "view",
144
+ type: "function",
145
+ },
146
+ {
147
+ inputs: [
148
+ {
149
+ internalType: "address",
150
+ name: "_aggregator",
151
+ type: "address",
152
+ },
153
+ ],
154
+ name: "confirmAggregator",
155
+ outputs: [],
156
+ stateMutability: "nonpayable",
157
+ type: "function",
158
+ },
159
+ {
160
+ inputs: [],
161
+ name: "decimals",
162
+ outputs: [
163
+ {
164
+ internalType: "uint8",
165
+ name: "",
166
+ type: "uint8",
167
+ },
168
+ ],
169
+ stateMutability: "view",
170
+ type: "function",
171
+ },
172
+ {
173
+ inputs: [],
174
+ name: "description",
175
+ outputs: [
176
+ {
177
+ internalType: "string",
178
+ name: "",
179
+ type: "string",
180
+ },
181
+ ],
182
+ stateMutability: "view",
183
+ type: "function",
184
+ },
185
+ {
186
+ inputs: [
187
+ {
188
+ internalType: "uint256",
189
+ name: "_roundId",
190
+ type: "uint256",
191
+ },
192
+ ],
193
+ name: "getAnswer",
194
+ outputs: [
195
+ {
196
+ internalType: "int256",
197
+ name: "",
198
+ type: "int256",
199
+ },
200
+ ],
201
+ stateMutability: "view",
202
+ type: "function",
203
+ },
204
+ {
205
+ inputs: [
206
+ {
207
+ internalType: "uint80",
208
+ name: "_roundId",
209
+ type: "uint80",
210
+ },
211
+ ],
212
+ name: "getRoundData",
213
+ outputs: [
214
+ {
215
+ internalType: "uint80",
216
+ name: "roundId",
217
+ type: "uint80",
218
+ },
219
+ {
220
+ internalType: "int256",
221
+ name: "answer",
222
+ type: "int256",
223
+ },
224
+ {
225
+ internalType: "uint256",
226
+ name: "startedAt",
227
+ type: "uint256",
228
+ },
229
+ {
230
+ internalType: "uint256",
231
+ name: "updatedAt",
232
+ type: "uint256",
233
+ },
234
+ {
235
+ internalType: "uint80",
236
+ name: "answeredInRound",
237
+ type: "uint80",
238
+ },
239
+ ],
240
+ stateMutability: "view",
241
+ type: "function",
242
+ },
243
+ {
244
+ inputs: [
245
+ {
246
+ internalType: "uint256",
247
+ name: "_roundId",
248
+ type: "uint256",
249
+ },
250
+ ],
251
+ name: "getTimestamp",
252
+ outputs: [
253
+ {
254
+ internalType: "uint256",
255
+ name: "",
256
+ type: "uint256",
257
+ },
258
+ ],
259
+ stateMutability: "view",
260
+ type: "function",
261
+ },
262
+ {
263
+ inputs: [],
264
+ name: "latestAnswer",
265
+ outputs: [
266
+ {
267
+ internalType: "int256",
268
+ name: "",
269
+ type: "int256",
270
+ },
271
+ ],
272
+ stateMutability: "view",
273
+ type: "function",
274
+ },
275
+ {
276
+ inputs: [],
277
+ name: "latestRound",
278
+ outputs: [
279
+ {
280
+ internalType: "uint256",
281
+ name: "",
282
+ type: "uint256",
283
+ },
284
+ ],
285
+ stateMutability: "view",
286
+ type: "function",
287
+ },
288
+ {
289
+ inputs: [],
290
+ name: "latestRoundData",
291
+ outputs: [
292
+ {
293
+ internalType: "uint80",
294
+ name: "roundId",
295
+ type: "uint80",
296
+ },
297
+ {
298
+ internalType: "int256",
299
+ name: "answer",
300
+ type: "int256",
301
+ },
302
+ {
303
+ internalType: "uint256",
304
+ name: "startedAt",
305
+ type: "uint256",
306
+ },
307
+ {
308
+ internalType: "uint256",
309
+ name: "updatedAt",
310
+ type: "uint256",
311
+ },
312
+ {
313
+ internalType: "uint80",
314
+ name: "answeredInRound",
315
+ type: "uint80",
316
+ },
317
+ ],
318
+ stateMutability: "view",
319
+ type: "function",
320
+ },
321
+ {
322
+ inputs: [],
323
+ name: "latestTimestamp",
324
+ outputs: [
325
+ {
326
+ internalType: "uint256",
327
+ name: "",
328
+ type: "uint256",
329
+ },
330
+ ],
331
+ stateMutability: "view",
332
+ type: "function",
333
+ },
334
+ {
335
+ inputs: [],
336
+ name: "owner",
337
+ outputs: [
338
+ {
339
+ internalType: "address payable",
340
+ name: "",
341
+ type: "address",
342
+ },
343
+ ],
344
+ stateMutability: "view",
345
+ type: "function",
346
+ },
347
+ {
348
+ inputs: [
349
+ {
350
+ internalType: "uint16",
351
+ name: "",
352
+ type: "uint16",
353
+ },
354
+ ],
355
+ name: "phaseAggregators",
356
+ outputs: [
357
+ {
358
+ internalType: "contract AggregatorV2V3Interface",
359
+ name: "",
360
+ type: "address",
361
+ },
362
+ ],
363
+ stateMutability: "view",
364
+ type: "function",
365
+ },
366
+ {
367
+ inputs: [],
368
+ name: "phaseId",
369
+ outputs: [
370
+ {
371
+ internalType: "uint16",
372
+ name: "",
373
+ type: "uint16",
374
+ },
375
+ ],
376
+ stateMutability: "view",
377
+ type: "function",
378
+ },
379
+ {
380
+ inputs: [
381
+ {
382
+ internalType: "address",
383
+ name: "_aggregator",
384
+ type: "address",
385
+ },
386
+ ],
387
+ name: "proposeAggregator",
388
+ outputs: [],
389
+ stateMutability: "nonpayable",
390
+ type: "function",
391
+ },
392
+ {
393
+ inputs: [],
394
+ name: "proposedAggregator",
395
+ outputs: [
396
+ {
397
+ internalType: "contract AggregatorV2V3Interface",
398
+ name: "",
399
+ type: "address",
400
+ },
401
+ ],
402
+ stateMutability: "view",
403
+ type: "function",
404
+ },
405
+ {
406
+ inputs: [
407
+ {
408
+ internalType: "uint80",
409
+ name: "_roundId",
410
+ type: "uint80",
411
+ },
412
+ ],
413
+ name: "proposedGetRoundData",
414
+ outputs: [
415
+ {
416
+ internalType: "uint80",
417
+ name: "roundId",
418
+ type: "uint80",
419
+ },
420
+ {
421
+ internalType: "int256",
422
+ name: "answer",
423
+ type: "int256",
424
+ },
425
+ {
426
+ internalType: "uint256",
427
+ name: "startedAt",
428
+ type: "uint256",
429
+ },
430
+ {
431
+ internalType: "uint256",
432
+ name: "updatedAt",
433
+ type: "uint256",
434
+ },
435
+ {
436
+ internalType: "uint80",
437
+ name: "answeredInRound",
438
+ type: "uint80",
439
+ },
440
+ ],
441
+ stateMutability: "view",
442
+ type: "function",
443
+ },
444
+ {
445
+ inputs: [],
446
+ name: "proposedLatestRoundData",
447
+ outputs: [
448
+ {
449
+ internalType: "uint80",
450
+ name: "roundId",
451
+ type: "uint80",
452
+ },
453
+ {
454
+ internalType: "int256",
455
+ name: "answer",
456
+ type: "int256",
457
+ },
458
+ {
459
+ internalType: "uint256",
460
+ name: "startedAt",
461
+ type: "uint256",
462
+ },
463
+ {
464
+ internalType: "uint256",
465
+ name: "updatedAt",
466
+ type: "uint256",
467
+ },
468
+ {
469
+ internalType: "uint80",
470
+ name: "answeredInRound",
471
+ type: "uint80",
472
+ },
473
+ ],
474
+ stateMutability: "view",
475
+ type: "function",
476
+ },
477
+ {
478
+ inputs: [
479
+ {
480
+ internalType: "address",
481
+ name: "_accessController",
482
+ type: "address",
483
+ },
484
+ ],
485
+ name: "setController",
486
+ outputs: [],
487
+ stateMutability: "nonpayable",
488
+ type: "function",
489
+ },
490
+ {
491
+ inputs: [
492
+ {
493
+ internalType: "address",
494
+ name: "_to",
495
+ type: "address",
496
+ },
497
+ ],
498
+ name: "transferOwnership",
499
+ outputs: [],
500
+ stateMutability: "nonpayable",
501
+ type: "function",
502
+ },
503
+ {
504
+ inputs: [],
505
+ name: "version",
506
+ outputs: [
507
+ {
508
+ internalType: "uint256",
509
+ name: "",
510
+ type: "uint256",
511
+ },
512
+ ],
513
+ stateMutability: "view",
514
+ type: "function",
515
+ },
516
+ ];
517
+ class EACAggregatorProxy__factory {
518
+ static abi = _abi;
519
+ static createInterface() {
520
+ return new ethers_1.utils.Interface(_abi);
521
+ }
522
+ static connect(address, signerOrProvider) {
523
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
524
+ }
525
+ }
526
+ exports.EACAggregatorProxy__factory = EACAggregatorProxy__factory;
527
+ //# sourceMappingURL=EACAggregatorProxy__factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EACAggregatorProxy__factory.js","sourceRoot":"","sources":["../../../../src/builtin/internal/factories/EACAggregatorProxy__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAiD;AAOjD,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,mBAAmB;gBACzB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,QAAQ;gBACtB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;aACf;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,eAAe;QACrB,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY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AS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACF,CAAC;AAEF,MAAa,2BAA2B;IACtC,MAAM,CAAU,GAAG,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAAgC,CAAC;IAClE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAuB,CAAC;IAC7E,CAAC;;AAVH,kEAWC","sourcesContent":["/* Autogenerated file. Do not edit manually. */\n/* tslint:disable */\n/* eslint-disable */\n\nimport { Contract, Signer, utils } from \"ethers\";\nimport type { Provider } from \"@ethersproject/providers\";\nimport type {\n EACAggregatorProxy,\n EACAggregatorProxyInterface,\n} from \"../EACAggregatorProxy\";\n\nconst _abi = [\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"_aggregator\",\n type: \"address\",\n },\n {\n internalType: \"address\",\n name: \"_accessController\",\n type: \"address\",\n },\n ],\n stateMutability: \"nonpayable\",\n type: \"constructor\",\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: \"int256\",\n name: \"current\",\n type: \"int256\",\n },\n {\n indexed: true,\n internalType: \"uint256\",\n name: \"roundId\",\n type: \"uint256\",\n },\n {\n indexed: false,\n internalType: \"uint256\",\n name: \"updatedAt\",\n type: \"uint256\",\n },\n ],\n name: \"AnswerUpdated\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: \"uint256\",\n name: \"roundId\",\n type: \"uint256\",\n },\n {\n indexed: true,\n internalType: \"address\",\n name: \"startedBy\",\n type: \"address\",\n },\n {\n indexed: false,\n internalType: \"uint256\",\n name: \"startedAt\",\n type: \"uint256\",\n },\n ],\n name: \"NewRound\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: \"address\",\n name: \"from\",\n type: \"address\",\n },\n {\n indexed: true,\n internalType: \"address\",\n name: \"to\",\n type: \"address\",\n },\n ],\n name: \"OwnershipTransferRequested\",\n type: \"event\",\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: \"address\",\n name: \"from\",\n type: \"address\",\n },\n {\n indexed: true,\n internalType: \"address\",\n name: \"to\",\n type: \"address\",\n },\n ],\n name: \"OwnershipTransferred\",\n type: \"event\",\n },\n {\n inputs: [],\n name: \"acceptOwnership\",\n outputs: [],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"accessController\",\n outputs: [\n {\n internalType: \"contract AccessControllerInterface\",\n name: \"\",\n type: \"address\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"aggregator\",\n outputs: [\n {\n internalType: \"address\",\n name: \"\",\n type: \"address\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"_aggregator\",\n type: \"address\",\n },\n ],\n name: \"confirmAggregator\",\n outputs: [],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"decimals\",\n outputs: [\n {\n internalType: \"uint8\",\n name: \"\",\n type: \"uint8\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"description\",\n outputs: [\n {\n internalType: \"string\",\n name: \"\",\n type: \"string\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"uint256\",\n name: \"_roundId\",\n type: \"uint256\",\n },\n ],\n name: \"getAnswer\",\n outputs: [\n {\n internalType: \"int256\",\n name: \"\",\n type: \"int256\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"uint80\",\n name: \"_roundId\",\n type: \"uint80\",\n },\n ],\n name: \"getRoundData\",\n outputs: [\n {\n internalType: \"uint80\",\n name: \"roundId\",\n type: \"uint80\",\n },\n {\n internalType: \"int256\",\n name: \"answer\",\n type: \"int256\",\n },\n {\n internalType: \"uint256\",\n name: \"startedAt\",\n type: \"uint256\",\n },\n {\n internalType: \"uint256\",\n name: \"updatedAt\",\n type: \"uint256\",\n },\n {\n internalType: \"uint80\",\n name: \"answeredInRound\",\n type: \"uint80\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"uint256\",\n name: \"_roundId\",\n type: \"uint256\",\n },\n ],\n name: \"getTimestamp\",\n outputs: [\n {\n internalType: \"uint256\",\n name: \"\",\n type: \"uint256\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"latestAnswer\",\n outputs: [\n {\n internalType: \"int256\",\n name: \"\",\n type: \"int256\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"latestRound\",\n outputs: [\n {\n internalType: \"uint256\",\n name: \"\",\n type: \"uint256\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"latestRoundData\",\n outputs: [\n {\n internalType: \"uint80\",\n name: \"roundId\",\n type: \"uint80\",\n },\n {\n internalType: \"int256\",\n name: \"answer\",\n type: \"int256\",\n },\n {\n internalType: \"uint256\",\n name: \"startedAt\",\n type: \"uint256\",\n },\n {\n internalType: \"uint256\",\n name: \"updatedAt\",\n type: \"uint256\",\n },\n {\n internalType: \"uint80\",\n name: \"answeredInRound\",\n type: \"uint80\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"latestTimestamp\",\n outputs: [\n {\n internalType: \"uint256\",\n name: \"\",\n type: \"uint256\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"owner\",\n outputs: [\n {\n internalType: \"address payable\",\n name: \"\",\n type: \"address\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"uint16\",\n name: \"\",\n type: \"uint16\",\n },\n ],\n name: \"phaseAggregators\",\n outputs: [\n {\n internalType: \"contract AggregatorV2V3Interface\",\n name: \"\",\n type: \"address\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"phaseId\",\n outputs: [\n {\n internalType: \"uint16\",\n name: \"\",\n type: \"uint16\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"_aggregator\",\n type: \"address\",\n },\n ],\n name: \"proposeAggregator\",\n outputs: [],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"proposedAggregator\",\n outputs: [\n {\n internalType: \"contract AggregatorV2V3Interface\",\n name: \"\",\n type: \"address\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"uint80\",\n name: \"_roundId\",\n type: \"uint80\",\n },\n ],\n name: \"proposedGetRoundData\",\n outputs: [\n {\n internalType: \"uint80\",\n name: \"roundId\",\n type: \"uint80\",\n },\n {\n internalType: \"int256\",\n name: \"answer\",\n type: \"int256\",\n },\n {\n internalType: \"uint256\",\n name: \"startedAt\",\n type: \"uint256\",\n },\n {\n internalType: \"uint256\",\n name: \"updatedAt\",\n type: \"uint256\",\n },\n {\n internalType: \"uint80\",\n name: \"answeredInRound\",\n type: \"uint80\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"proposedLatestRoundData\",\n outputs: [\n {\n internalType: \"uint80\",\n name: \"roundId\",\n type: \"uint80\",\n },\n {\n internalType: \"int256\",\n name: \"answer\",\n type: \"int256\",\n },\n {\n internalType: \"uint256\",\n name: \"startedAt\",\n type: \"uint256\",\n },\n {\n internalType: \"uint256\",\n name: \"updatedAt\",\n type: \"uint256\",\n },\n {\n internalType: \"uint80\",\n name: \"answeredInRound\",\n type: \"uint80\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"_accessController\",\n type: \"address\",\n },\n ],\n name: \"setController\",\n outputs: [],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"_to\",\n type: \"address\",\n },\n ],\n name: \"transferOwnership\",\n outputs: [],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [],\n name: \"version\",\n outputs: [\n {\n internalType: \"uint256\",\n name: \"\",\n type: \"uint256\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n];\n\nexport class EACAggregatorProxy__factory {\n static readonly abi = _abi;\n static createInterface(): EACAggregatorProxyInterface {\n return new utils.Interface(_abi) as EACAggregatorProxyInterface;\n }\n static connect(\n address: string,\n signerOrProvider: Signer | Provider\n ): EACAggregatorProxy {\n return new Contract(address, _abi, signerOrProvider) as EACAggregatorProxy;\n }\n}\n"]}
@@ -1,3 +1,4 @@
1
+ export { EACAggregatorProxy__factory } from "./EACAggregatorProxy__factory";
1
2
  export { ERC20__factory } from "./ERC20__factory";
2
3
  export { ERC20Bytes__factory } from "./ERC20Bytes__factory";
3
4
  export { WETH9__factory } from "./WETH9__factory";
@@ -1,9 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WETH9__factory = exports.ERC20Bytes__factory = exports.ERC20__factory = void 0;
3
+ exports.WETH9__factory = exports.ERC20Bytes__factory = exports.ERC20__factory = exports.EACAggregatorProxy__factory = void 0;
4
4
  /* Autogenerated file. Do not edit manually. */
5
5
  /* tslint:disable */
6
6
  /* eslint-disable */
7
+ var EACAggregatorProxy__factory_1 = require("./EACAggregatorProxy__factory");
8
+ Object.defineProperty(exports, "EACAggregatorProxy__factory", { enumerable: true, get: function () { return EACAggregatorProxy__factory_1.EACAggregatorProxy__factory; } });
7
9
  var ERC20__factory_1 = require("./ERC20__factory");
8
10
  Object.defineProperty(exports, "ERC20__factory", { enumerable: true, get: function () { return ERC20__factory_1.ERC20__factory; } });
9
11
  var ERC20Bytes__factory_1 = require("./ERC20Bytes__factory");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/builtin/internal/factories/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mDAAkD;AAAzC,gHAAA,cAAc,OAAA;AACvB,6DAA4D;AAAnD,0HAAA,mBAAmB,OAAA;AAC5B,mDAAkD;AAAzC,gHAAA,cAAc,OAAA","sourcesContent":["/* Autogenerated file. Do not edit manually. */\n/* tslint:disable */\n/* eslint-disable */\nexport { ERC20__factory } from \"./ERC20__factory\";\nexport { ERC20Bytes__factory } from \"./ERC20Bytes__factory\";\nexport { WETH9__factory } from \"./WETH9__factory\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/builtin/internal/factories/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,6EAA4E;AAAnE,0IAAA,2BAA2B,OAAA;AACpC,mDAAkD;AAAzC,gHAAA,cAAc,OAAA;AACvB,6DAA4D;AAAnD,0HAAA,mBAAmB,OAAA;AAC5B,mDAAkD;AAAzC,gHAAA,cAAc,OAAA","sourcesContent":["/* Autogenerated file. Do not edit manually. */\n/* tslint:disable */\n/* eslint-disable */\nexport { EACAggregatorProxy__factory } from \"./EACAggregatorProxy__factory\";\nexport { ERC20__factory } from \"./ERC20__factory\";\nexport { ERC20Bytes__factory } from \"./ERC20Bytes__factory\";\nexport { WETH9__factory } from \"./WETH9__factory\";\n"]}
@@ -1,7 +1,9 @@
1
+ export type { EACAggregatorProxy } from "./EACAggregatorProxy";
1
2
  export type { ERC20 } from "./ERC20";
2
3
  export type { ERC20Bytes } from "./ERC20Bytes";
3
4
  export type { WETH9 } from "./WETH9";
4
5
  export * as factories from "./factories";
6
+ export { EACAggregatorProxy__factory } from "./factories/EACAggregatorProxy__factory";
5
7
  export { ERC20__factory } from "./factories/ERC20__factory";
6
8
  export { ERC20Bytes__factory } from "./factories/ERC20Bytes__factory";
7
9
  export { WETH9__factory } from "./factories/WETH9__factory";
@@ -23,8 +23,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.WETH9__factory = exports.ERC20Bytes__factory = exports.ERC20__factory = exports.factories = void 0;
26
+ exports.WETH9__factory = exports.ERC20Bytes__factory = exports.ERC20__factory = exports.EACAggregatorProxy__factory = exports.factories = void 0;
27
27
  exports.factories = __importStar(require("./factories"));
28
+ var EACAggregatorProxy__factory_1 = require("./factories/EACAggregatorProxy__factory");
29
+ Object.defineProperty(exports, "EACAggregatorProxy__factory", { enumerable: true, get: function () { return EACAggregatorProxy__factory_1.EACAggregatorProxy__factory; } });
28
30
  var ERC20__factory_1 = require("./factories/ERC20__factory");
29
31
  Object.defineProperty(exports, "ERC20__factory", { enumerable: true, get: function () { return ERC20__factory_1.ERC20__factory; } });
30
32
  var ERC20Bytes__factory_1 = require("./factories/ERC20Bytes__factory");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/builtin/internal/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,yDAAyC;AACzC,6DAA4D;AAAnD,gHAAA,cAAc,OAAA;AACvB,uEAAsE;AAA7D,0HAAA,mBAAmB,OAAA;AAC5B,6DAA4D;AAAnD,gHAAA,cAAc,OAAA","sourcesContent":["/* Autogenerated file. Do not edit manually. */\n/* tslint:disable */\n/* eslint-disable */\nexport type { ERC20 } from \"./ERC20\";\nexport type { ERC20Bytes } from \"./ERC20Bytes\";\nexport type { WETH9 } from \"./WETH9\";\nexport * as factories from \"./factories\";\nexport { ERC20__factory } from \"./factories/ERC20__factory\";\nexport { ERC20Bytes__factory } from \"./factories/ERC20Bytes__factory\";\nexport { WETH9__factory } from \"./factories/WETH9__factory\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/builtin/internal/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,yDAAyC;AACzC,uFAAsF;AAA7E,0IAAA,2BAA2B,OAAA;AACpC,6DAA4D;AAAnD,gHAAA,cAAc,OAAA;AACvB,uEAAsE;AAA7D,0HAAA,mBAAmB,OAAA;AAC5B,6DAA4D;AAAnD,gHAAA,cAAc,OAAA","sourcesContent":["/* Autogenerated file. Do not edit manually. */\n/* tslint:disable */\n/* eslint-disable */\nexport type { EACAggregatorProxy } from \"./EACAggregatorProxy\";\nexport type { ERC20 } from \"./ERC20\";\nexport type { ERC20Bytes } from \"./ERC20Bytes\";\nexport type { WETH9 } from \"./WETH9\";\nexport * as factories from \"./factories\";\nexport { EACAggregatorProxy__factory } from \"./factories/EACAggregatorProxy__factory\";\nexport { ERC20__factory } from \"./factories/ERC20__factory\";\nexport { ERC20Bytes__factory } from \"./factories/ERC20Bytes__factory\";\nexport { WETH9__factory } from \"./factories/WETH9__factory\";\n"]}
package/lib/context.d.ts CHANGED
@@ -17,6 +17,7 @@ export declare class EthContext extends BaseContext {
17
17
  block?: Block;
18
18
  trace?: Trace;
19
19
  blockNumber: Long;
20
+ transactionHash?: string;
20
21
  constructor(chainId: number, block?: Block, log?: Log, trace?: Trace);
21
22
  }
22
23
  export declare class Context<TContract extends BaseContract, TContractBoundView extends BoundContractView<TContract, ContractView<TContract>>> extends EthContext {
@@ -51,3 +52,7 @@ export declare class SuiContext extends BaseContext {
51
52
  address: string;
52
53
  constructor(address: string);
53
54
  }
55
+ export declare class AptosContext extends BaseContext {
56
+ address: string;
57
+ constructor(address: string);
58
+ }