@sentio/sdk 2.59.0-rc.23 → 2.59.0-rc.25
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/lib/aptos/aptos-plugin.d.ts +6 -5
- package/lib/aptos/aptos-plugin.d.ts.map +1 -1
- package/lib/aptos/aptos-plugin.js +31 -33
- package/lib/aptos/aptos-plugin.js.map +1 -1
- package/lib/aptos/aptos-processor.d.ts +19 -19
- package/lib/aptos/aptos-processor.d.ts.map +1 -1
- package/lib/aptos/aptos-processor.js +95 -44
- package/lib/aptos/aptos-processor.js.map +1 -1
- package/lib/aptos/aptos-resource-processor-template.d.ts +5 -4
- package/lib/aptos/aptos-resource-processor-template.d.ts.map +1 -1
- package/lib/aptos/aptos-resource-processor-template.js +8 -8
- package/lib/aptos/aptos-resource-processor-template.js.map +1 -1
- package/lib/aptos/builtin/0x1.d.ts +333 -332
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +664 -664
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.d.ts +66 -65
- package/lib/aptos/builtin/0x3.d.ts.map +1 -1
- package/lib/aptos/builtin/0x3.js +130 -130
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/aptos/builtin/0x4.d.ts +29 -28
- package/lib/aptos/builtin/0x4.d.ts.map +1 -1
- package/lib/aptos/builtin/0x4.js +56 -56
- package/lib/aptos/builtin/0x4.js.map +1 -1
- package/lib/aptos/codegen/codegen.js +27 -0
- package/lib/aptos/codegen/codegen.js.map +1 -1
- package/lib/aptos/data.d.ts +28 -3
- package/lib/aptos/data.d.ts.map +1 -1
- package/lib/aptos/data.js +61 -0
- package/lib/aptos/data.js.map +1 -1
- package/lib/aptos/index.d.ts +1 -0
- package/lib/aptos/index.d.ts.map +1 -1
- package/lib/aptos/index.js.map +1 -1
- package/lib/aptos/models.d.ts +1 -0
- package/lib/aptos/models.d.ts.map +1 -1
- package/lib/btc/btc-plugin.d.ts +4 -1
- package/lib/btc/btc-plugin.d.ts.map +1 -1
- package/lib/btc/btc-plugin.js +27 -0
- package/lib/btc/btc-plugin.js.map +1 -1
- package/lib/btc/btc-processor.d.ts +6 -5
- package/lib/btc/btc-processor.d.ts.map +1 -1
- package/lib/btc/btc-processor.js +35 -9
- package/lib/btc/btc-processor.js.map +1 -1
- package/lib/btc/types.d.ts +2 -1
- package/lib/btc/types.d.ts.map +1 -1
- package/lib/core/handler-options.d.ts +25 -0
- package/lib/core/handler-options.d.ts.map +1 -0
- package/lib/core/handler-options.js +21 -0
- package/lib/core/handler-options.js.map +1 -0
- package/lib/core/index.d.ts +2 -0
- package/lib/core/index.d.ts.map +1 -1
- package/lib/core/index.js +2 -0
- package/lib/core/index.js.map +1 -1
- package/lib/core/partition-handler-manager.d.ts +44 -0
- package/lib/core/partition-handler-manager.d.ts.map +1 -0
- package/lib/core/partition-handler-manager.js +76 -0
- package/lib/core/partition-handler-manager.js.map +1 -0
- package/lib/cosmos/cosmos-processor.d.ts +3 -2
- package/lib/cosmos/cosmos-processor.d.ts.map +1 -1
- package/lib/cosmos/cosmos-processor.js +11 -1
- package/lib/cosmos/cosmos-processor.js.map +1 -1
- package/lib/cosmos/types.d.ts +1 -0
- package/lib/cosmos/types.d.ts.map +1 -1
- package/lib/eth/base-processor.d.ts +18 -17
- package/lib/eth/base-processor.d.ts.map +1 -1
- package/lib/eth/base-processor.js +147 -26
- package/lib/eth/base-processor.js.map +1 -1
- package/lib/eth/builtin/internal/eacaggregatorproxy-processor.d.ts +32 -31
- package/lib/eth/builtin/internal/eacaggregatorproxy-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/eacaggregatorproxy-processor.js +62 -62
- package/lib/eth/builtin/internal/eacaggregatorproxy-processor.js.map +1 -1
- package/lib/eth/builtin/internal/erc1155-processor.d.ts +17 -16
- package/lib/eth/builtin/internal/erc1155-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/erc1155-processor.js +32 -32
- package/lib/eth/builtin/internal/erc1155-processor.js.map +1 -1
- package/lib/eth/builtin/internal/erc20-processor.d.ts +25 -24
- package/lib/eth/builtin/internal/erc20-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/erc20-processor.js +48 -48
- package/lib/eth/builtin/internal/erc20-processor.js.map +1 -1
- package/lib/eth/builtin/internal/erc20bytes-processor.d.ts +14 -13
- package/lib/eth/builtin/internal/erc20bytes-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/erc20bytes-processor.js +26 -26
- package/lib/eth/builtin/internal/erc20bytes-processor.js.map +1 -1
- package/lib/eth/builtin/internal/erc721-processor.d.ts +21 -20
- package/lib/eth/builtin/internal/erc721-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/erc721-processor.js +40 -40
- package/lib/eth/builtin/internal/erc721-processor.js.map +1 -1
- package/lib/eth/builtin/internal/weth9-processor.d.ts +20 -19
- package/lib/eth/builtin/internal/weth9-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/weth9-processor.js +38 -38
- package/lib/eth/builtin/internal/weth9-processor.js.map +1 -1
- package/lib/eth/codegen/event-handler.js +2 -2
- package/lib/eth/codegen/event-handler.js.map +1 -1
- package/lib/eth/codegen/file.d.ts.map +1 -1
- package/lib/eth/codegen/file.js +1 -0
- package/lib/eth/codegen/file.js.map +1 -1
- package/lib/eth/codegen/functions-handler.js +2 -2
- package/lib/eth/codegen/functions-handler.js.map +1 -1
- package/lib/eth/eth-plugin.d.ts +4 -1
- package/lib/eth/eth-plugin.d.ts.map +1 -1
- package/lib/eth/eth-plugin.js +42 -1
- package/lib/eth/eth-plugin.js.map +1 -1
- package/lib/eth/eth.d.ts +2 -7
- package/lib/eth/eth.d.ts.map +1 -1
- package/lib/eth/eth.js +8 -1
- package/lib/eth/eth.js.map +1 -1
- package/lib/fuel/codegen/codegen.js +5 -5
- package/lib/fuel/codegen/codegen.js.map +1 -1
- package/lib/fuel/fuel-plugin.d.ts +4 -1
- package/lib/fuel/fuel-plugin.d.ts.map +1 -1
- package/lib/fuel/fuel-plugin.js +41 -0
- package/lib/fuel/fuel-plugin.js.map +1 -1
- package/lib/fuel/fuel-processor-template.d.ts +7 -4
- package/lib/fuel/fuel-processor-template.d.ts.map +1 -1
- package/lib/fuel/fuel-processor-template.js +11 -9
- package/lib/fuel/fuel-processor-template.js.map +1 -1
- package/lib/fuel/fuel-processor.d.ts +7 -7
- package/lib/fuel/fuel-processor.d.ts.map +1 -1
- package/lib/fuel/fuel-processor.js +90 -19
- package/lib/fuel/fuel-processor.js.map +1 -1
- package/lib/fuel/types.d.ts +3 -0
- package/lib/fuel/types.d.ts.map +1 -1
- package/lib/move/filter.d.ts +4 -0
- package/lib/move/filter.d.ts.map +1 -1
- package/lib/move/filter.js +4 -0
- package/lib/move/filter.js.map +1 -1
- package/lib/move/shared-network-codegen.d.ts.map +1 -1
- package/lib/move/shared-network-codegen.js +5 -4
- package/lib/move/shared-network-codegen.js.map +1 -1
- package/lib/solana/solana-processor.d.ts +10 -4
- package/lib/solana/solana-processor.d.ts.map +1 -1
- package/lib/solana/solana-processor.js +13 -4
- package/lib/solana/solana-processor.js.map +1 -1
- package/lib/stark/starknet-processor.d.ts +3 -1
- package/lib/stark/starknet-processor.d.ts.map +1 -1
- package/lib/stark/starknet-processor.js +27 -2
- package/lib/stark/starknet-processor.js.map +1 -1
- package/lib/sui/builtin/0x1.d.ts +7 -6
- package/lib/sui/builtin/0x1.d.ts.map +1 -1
- package/lib/sui/builtin/0x1.js +12 -12
- package/lib/sui/builtin/0x1.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +61 -60
- package/lib/sui/builtin/0x2.d.ts.map +1 -1
- package/lib/sui/builtin/0x2.js +120 -120
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +49 -48
- package/lib/sui/builtin/0x3.d.ts.map +1 -1
- package/lib/sui/builtin/0x3.js +96 -96
- package/lib/sui/builtin/0x3.js.map +1 -1
- package/lib/sui/models.d.ts +1 -0
- package/lib/sui/models.d.ts.map +1 -1
- package/lib/sui/sui-plugin.d.ts +6 -3
- package/lib/sui/sui-plugin.d.ts.map +1 -1
- package/lib/sui/sui-plugin.js +59 -20
- package/lib/sui/sui-plugin.js.map +1 -1
- package/lib/sui/sui-processor.d.ts +5 -4
- package/lib/sui/sui-processor.d.ts.map +1 -1
- package/lib/sui/sui-processor.js +47 -11
- package/lib/sui/sui-processor.js.map +1 -1
- package/package.json +3 -3
- package/src/aptos/aptos-plugin.ts +35 -39
- package/src/aptos/aptos-processor.ts +104 -60
- package/src/aptos/aptos-resource-processor-template.ts +9 -8
- package/src/aptos/builtin/0x1.ts +1565 -664
- package/src/aptos/builtin/0x3.ts +302 -130
- package/src/aptos/builtin/0x4.ts +123 -56
- package/src/aptos/codegen/codegen.ts +34 -1
- package/src/aptos/data.ts +78 -3
- package/src/aptos/index.ts +2 -0
- package/src/aptos/models.ts +2 -0
- package/src/btc/btc-plugin.ts +38 -0
- package/src/btc/btc-processor.ts +35 -10
- package/src/btc/types.ts +2 -1
- package/src/core/handler-options.ts +40 -0
- package/src/core/index.ts +5 -0
- package/src/core/partition-handler-manager.ts +94 -0
- package/src/cosmos/cosmos-processor.ts +12 -1
- package/src/cosmos/types.ts +1 -0
- package/src/eth/base-processor.ts +139 -33
- package/src/eth/builtin/internal/eacaggregatorproxy-processor.ts +118 -62
- package/src/eth/builtin/internal/erc1155-processor.ts +76 -32
- package/src/eth/builtin/internal/erc20-processor.ts +79 -48
- package/src/eth/builtin/internal/erc20bytes-processor.ts +47 -26
- package/src/eth/builtin/internal/erc721-processor.ts +77 -40
- package/src/eth/builtin/internal/weth9-processor.ts +79 -38
- package/src/eth/codegen/event-handler.ts +2 -2
- package/src/eth/codegen/file.ts +1 -0
- package/src/eth/codegen/functions-handler.ts +2 -2
- package/src/eth/eth-plugin.ts +55 -3
- package/src/eth/eth.ts +12 -1
- package/src/fuel/codegen/codegen.ts +5 -5
- package/src/fuel/fuel-plugin.ts +56 -0
- package/src/fuel/fuel-processor-template.ts +17 -10
- package/src/fuel/fuel-processor.ts +89 -13
- package/src/fuel/types.ts +3 -0
- package/src/move/filter.ts +4 -0
- package/src/move/shared-network-codegen.ts +5 -4
- package/src/solana/solana-processor.ts +28 -6
- package/src/stark/starknet-processor.ts +28 -2
- package/src/sui/builtin/0x1.ts +22 -12
- package/src/sui/builtin/0x2.ts +220 -120
- package/src/sui/builtin/0x3.ts +241 -96
- package/src/sui/models.ts +2 -0
- package/src/sui/sui-plugin.ts +68 -22
- package/src/sui/sui-processor.ts +48 -11
@@ -2,6 +2,7 @@
|
|
2
2
|
/* tslint:disable */
|
3
3
|
/* eslint-disable */
|
4
4
|
import { BigNumberish, Overrides } from "ethers";
|
5
|
+
import { HandlerOptions } from "@sentio/sdk";
|
5
6
|
import {
|
6
7
|
addContractByABI,
|
7
8
|
getContractByABI,
|
@@ -1288,7 +1289,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1288
1289
|
ctx: EACAggregatorProxyContext,
|
1289
1290
|
) => void,
|
1290
1291
|
filter?: AnswerUpdatedEventFilter | AnswerUpdatedEventFilter[],
|
1291
|
-
|
1292
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, AnswerUpdatedEvent>,
|
1292
1293
|
preprocessHandler?: (
|
1293
1294
|
event: AnswerUpdatedEvent,
|
1294
1295
|
ctx: EACAggregatorProxyContext,
|
@@ -1300,13 +1301,18 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1300
1301
|
"AnswerUpdated(int256,uint256,uint256)"
|
1301
1302
|
](null, null, null);
|
1302
1303
|
}
|
1303
|
-
return super.onEthEvent(
|
1304
|
+
return super.onEthEvent(
|
1305
|
+
handler,
|
1306
|
+
filter!,
|
1307
|
+
handlerOptions,
|
1308
|
+
preprocessHandler,
|
1309
|
+
);
|
1304
1310
|
}
|
1305
1311
|
|
1306
1312
|
onEventNewRound(
|
1307
1313
|
handler: (event: NewRoundEvent, ctx: EACAggregatorProxyContext) => void,
|
1308
1314
|
filter?: NewRoundEventFilter | NewRoundEventFilter[],
|
1309
|
-
|
1315
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, NewRoundEvent>,
|
1310
1316
|
preprocessHandler?: (
|
1311
1317
|
event: NewRoundEvent,
|
1312
1318
|
ctx: EACAggregatorProxyContext,
|
@@ -1320,7 +1326,12 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1320
1326
|
null,
|
1321
1327
|
);
|
1322
1328
|
}
|
1323
|
-
return super.onEthEvent(
|
1329
|
+
return super.onEthEvent(
|
1330
|
+
handler,
|
1331
|
+
filter!,
|
1332
|
+
handlerOptions,
|
1333
|
+
preprocessHandler,
|
1334
|
+
);
|
1324
1335
|
}
|
1325
1336
|
|
1326
1337
|
onEventOwnershipTransferRequested(
|
@@ -1331,7 +1342,10 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1331
1342
|
filter?:
|
1332
1343
|
| OwnershipTransferRequestedEventFilter
|
1333
1344
|
| OwnershipTransferRequestedEventFilter[],
|
1334
|
-
|
1345
|
+
handlerOptions?: HandlerOptions<
|
1346
|
+
EthFetchConfig,
|
1347
|
+
OwnershipTransferRequestedEvent
|
1348
|
+
>,
|
1335
1349
|
preprocessHandler?: (
|
1336
1350
|
event: OwnershipTransferRequestedEvent,
|
1337
1351
|
ctx: EACAggregatorProxyContext,
|
@@ -1343,7 +1357,12 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1343
1357
|
"OwnershipTransferRequested(address,address)"
|
1344
1358
|
](null, null);
|
1345
1359
|
}
|
1346
|
-
return super.onEthEvent(
|
1360
|
+
return super.onEthEvent(
|
1361
|
+
handler,
|
1362
|
+
filter!,
|
1363
|
+
handlerOptions,
|
1364
|
+
preprocessHandler,
|
1365
|
+
);
|
1347
1366
|
}
|
1348
1367
|
|
1349
1368
|
onEventOwnershipTransferred(
|
@@ -1354,7 +1373,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1354
1373
|
filter?:
|
1355
1374
|
| OwnershipTransferredEventFilter
|
1356
1375
|
| OwnershipTransferredEventFilter[],
|
1357
|
-
|
1376
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, OwnershipTransferredEvent>,
|
1358
1377
|
preprocessHandler?: (
|
1359
1378
|
event: OwnershipTransferredEvent,
|
1360
1379
|
ctx: EACAggregatorProxyContext,
|
@@ -1366,7 +1385,12 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1366
1385
|
"OwnershipTransferred(address,address)"
|
1367
1386
|
](null, null);
|
1368
1387
|
}
|
1369
|
-
return super.onEthEvent(
|
1388
|
+
return super.onEthEvent(
|
1389
|
+
handler,
|
1390
|
+
filter!,
|
1391
|
+
handlerOptions,
|
1392
|
+
preprocessHandler,
|
1393
|
+
);
|
1370
1394
|
}
|
1371
1395
|
|
1372
1396
|
onCallAcceptOwnership(
|
@@ -1374,7 +1398,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1374
1398
|
call: AcceptOwnershipCallTrace,
|
1375
1399
|
ctx: EACAggregatorProxyContext,
|
1376
1400
|
) => void,
|
1377
|
-
|
1401
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, AcceptOwnershipCallTrace>,
|
1378
1402
|
preprocessHandler?: (
|
1379
1403
|
call: AcceptOwnershipCallTrace,
|
1380
1404
|
ctx: EACAggregatorProxyContext,
|
@@ -1383,7 +1407,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1383
1407
|
return super.onEthTrace(
|
1384
1408
|
"0x79ba5097",
|
1385
1409
|
handler as any,
|
1386
|
-
|
1410
|
+
handlerOptions,
|
1387
1411
|
preprocessHandler,
|
1388
1412
|
);
|
1389
1413
|
}
|
@@ -1393,7 +1417,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1393
1417
|
call: AccessControllerCallTrace,
|
1394
1418
|
ctx: EACAggregatorProxyContext,
|
1395
1419
|
) => void,
|
1396
|
-
|
1420
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, AccessControllerCallTrace>,
|
1397
1421
|
preprocessHandler?: (
|
1398
1422
|
call: AccessControllerCallTrace,
|
1399
1423
|
ctx: EACAggregatorProxyContext,
|
@@ -1402,7 +1426,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1402
1426
|
return super.onEthTrace(
|
1403
1427
|
"0xbc43cbaf",
|
1404
1428
|
handler as any,
|
1405
|
-
|
1429
|
+
handlerOptions,
|
1406
1430
|
preprocessHandler,
|
1407
1431
|
);
|
1408
1432
|
}
|
@@ -1412,7 +1436,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1412
1436
|
call: AggregatorCallTrace,
|
1413
1437
|
ctx: EACAggregatorProxyContext,
|
1414
1438
|
) => void,
|
1415
|
-
|
1439
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, AggregatorCallTrace>,
|
1416
1440
|
preprocessHandler?: (
|
1417
1441
|
call: AggregatorCallTrace,
|
1418
1442
|
ctx: EACAggregatorProxyContext,
|
@@ -1421,7 +1445,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1421
1445
|
return super.onEthTrace(
|
1422
1446
|
"0x245a7bfc",
|
1423
1447
|
handler as any,
|
1424
|
-
|
1448
|
+
handlerOptions,
|
1425
1449
|
preprocessHandler,
|
1426
1450
|
);
|
1427
1451
|
}
|
@@ -1431,7 +1455,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1431
1455
|
call: ConfirmAggregatorCallTrace,
|
1432
1456
|
ctx: EACAggregatorProxyContext,
|
1433
1457
|
) => void,
|
1434
|
-
|
1458
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, ConfirmAggregatorCallTrace>,
|
1435
1459
|
preprocessHandler?: (
|
1436
1460
|
call: ConfirmAggregatorCallTrace,
|
1437
1461
|
ctx: EACAggregatorProxyContext,
|
@@ -1440,14 +1464,14 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1440
1464
|
return super.onEthTrace(
|
1441
1465
|
"0xa928c096",
|
1442
1466
|
handler as any,
|
1443
|
-
|
1467
|
+
handlerOptions,
|
1444
1468
|
preprocessHandler,
|
1445
1469
|
);
|
1446
1470
|
}
|
1447
1471
|
|
1448
1472
|
onCallDecimals(
|
1449
1473
|
handler: (call: DecimalsCallTrace, ctx: EACAggregatorProxyContext) => void,
|
1450
|
-
|
1474
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, DecimalsCallTrace>,
|
1451
1475
|
preprocessHandler?: (
|
1452
1476
|
call: DecimalsCallTrace,
|
1453
1477
|
ctx: EACAggregatorProxyContext,
|
@@ -1456,7 +1480,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1456
1480
|
return super.onEthTrace(
|
1457
1481
|
"0x313ce567",
|
1458
1482
|
handler as any,
|
1459
|
-
|
1483
|
+
handlerOptions,
|
1460
1484
|
preprocessHandler,
|
1461
1485
|
);
|
1462
1486
|
}
|
@@ -1466,7 +1490,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1466
1490
|
call: DescriptionCallTrace,
|
1467
1491
|
ctx: EACAggregatorProxyContext,
|
1468
1492
|
) => void,
|
1469
|
-
|
1493
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, DescriptionCallTrace>,
|
1470
1494
|
preprocessHandler?: (
|
1471
1495
|
call: DescriptionCallTrace,
|
1472
1496
|
ctx: EACAggregatorProxyContext,
|
@@ -1475,14 +1499,14 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1475
1499
|
return super.onEthTrace(
|
1476
1500
|
"0x7284e416",
|
1477
1501
|
handler as any,
|
1478
|
-
|
1502
|
+
handlerOptions,
|
1479
1503
|
preprocessHandler,
|
1480
1504
|
);
|
1481
1505
|
}
|
1482
1506
|
|
1483
1507
|
onCallGetAnswer(
|
1484
1508
|
handler: (call: GetAnswerCallTrace, ctx: EACAggregatorProxyContext) => void,
|
1485
|
-
|
1509
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, GetAnswerCallTrace>,
|
1486
1510
|
preprocessHandler?: (
|
1487
1511
|
call: GetAnswerCallTrace,
|
1488
1512
|
ctx: EACAggregatorProxyContext,
|
@@ -1491,7 +1515,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1491
1515
|
return super.onEthTrace(
|
1492
1516
|
"0xb5ab58dc",
|
1493
1517
|
handler as any,
|
1494
|
-
|
1518
|
+
handlerOptions,
|
1495
1519
|
preprocessHandler,
|
1496
1520
|
);
|
1497
1521
|
}
|
@@ -1501,7 +1525,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1501
1525
|
call: GetRoundDataCallTrace,
|
1502
1526
|
ctx: EACAggregatorProxyContext,
|
1503
1527
|
) => void,
|
1504
|
-
|
1528
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, GetRoundDataCallTrace>,
|
1505
1529
|
preprocessHandler?: (
|
1506
1530
|
call: GetRoundDataCallTrace,
|
1507
1531
|
ctx: EACAggregatorProxyContext,
|
@@ -1510,7 +1534,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1510
1534
|
return super.onEthTrace(
|
1511
1535
|
"0x9a6fc8f5",
|
1512
1536
|
handler as any,
|
1513
|
-
|
1537
|
+
handlerOptions,
|
1514
1538
|
preprocessHandler,
|
1515
1539
|
);
|
1516
1540
|
}
|
@@ -1520,7 +1544,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1520
1544
|
call: GetTimestampCallTrace,
|
1521
1545
|
ctx: EACAggregatorProxyContext,
|
1522
1546
|
) => void,
|
1523
|
-
|
1547
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, GetTimestampCallTrace>,
|
1524
1548
|
preprocessHandler?: (
|
1525
1549
|
call: GetTimestampCallTrace,
|
1526
1550
|
ctx: EACAggregatorProxyContext,
|
@@ -1529,7 +1553,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1529
1553
|
return super.onEthTrace(
|
1530
1554
|
"0xb633620c",
|
1531
1555
|
handler as any,
|
1532
|
-
|
1556
|
+
handlerOptions,
|
1533
1557
|
preprocessHandler,
|
1534
1558
|
);
|
1535
1559
|
}
|
@@ -1539,7 +1563,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1539
1563
|
call: LatestAnswerCallTrace,
|
1540
1564
|
ctx: EACAggregatorProxyContext,
|
1541
1565
|
) => void,
|
1542
|
-
|
1566
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, LatestAnswerCallTrace>,
|
1543
1567
|
preprocessHandler?: (
|
1544
1568
|
call: LatestAnswerCallTrace,
|
1545
1569
|
ctx: EACAggregatorProxyContext,
|
@@ -1548,7 +1572,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1548
1572
|
return super.onEthTrace(
|
1549
1573
|
"0x50d25bcd",
|
1550
1574
|
handler as any,
|
1551
|
-
|
1575
|
+
handlerOptions,
|
1552
1576
|
preprocessHandler,
|
1553
1577
|
);
|
1554
1578
|
}
|
@@ -1558,7 +1582,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1558
1582
|
call: LatestRoundCallTrace,
|
1559
1583
|
ctx: EACAggregatorProxyContext,
|
1560
1584
|
) => void,
|
1561
|
-
|
1585
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, LatestRoundCallTrace>,
|
1562
1586
|
preprocessHandler?: (
|
1563
1587
|
call: LatestRoundCallTrace,
|
1564
1588
|
ctx: EACAggregatorProxyContext,
|
@@ -1567,7 +1591,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1567
1591
|
return super.onEthTrace(
|
1568
1592
|
"0x668a0f02",
|
1569
1593
|
handler as any,
|
1570
|
-
|
1594
|
+
handlerOptions,
|
1571
1595
|
preprocessHandler,
|
1572
1596
|
);
|
1573
1597
|
}
|
@@ -1577,7 +1601,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1577
1601
|
call: LatestRoundDataCallTrace,
|
1578
1602
|
ctx: EACAggregatorProxyContext,
|
1579
1603
|
) => void,
|
1580
|
-
|
1604
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, LatestRoundDataCallTrace>,
|
1581
1605
|
preprocessHandler?: (
|
1582
1606
|
call: LatestRoundDataCallTrace,
|
1583
1607
|
ctx: EACAggregatorProxyContext,
|
@@ -1586,7 +1610,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1586
1610
|
return super.onEthTrace(
|
1587
1611
|
"0xfeaf968c",
|
1588
1612
|
handler as any,
|
1589
|
-
|
1613
|
+
handlerOptions,
|
1590
1614
|
preprocessHandler,
|
1591
1615
|
);
|
1592
1616
|
}
|
@@ -1596,7 +1620,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1596
1620
|
call: LatestTimestampCallTrace,
|
1597
1621
|
ctx: EACAggregatorProxyContext,
|
1598
1622
|
) => void,
|
1599
|
-
|
1623
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, LatestTimestampCallTrace>,
|
1600
1624
|
preprocessHandler?: (
|
1601
1625
|
call: LatestTimestampCallTrace,
|
1602
1626
|
ctx: EACAggregatorProxyContext,
|
@@ -1605,14 +1629,14 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1605
1629
|
return super.onEthTrace(
|
1606
1630
|
"0x8205bf6a",
|
1607
1631
|
handler as any,
|
1608
|
-
|
1632
|
+
handlerOptions,
|
1609
1633
|
preprocessHandler,
|
1610
1634
|
);
|
1611
1635
|
}
|
1612
1636
|
|
1613
1637
|
onCallOwner(
|
1614
1638
|
handler: (call: OwnerCallTrace, ctx: EACAggregatorProxyContext) => void,
|
1615
|
-
|
1639
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, OwnerCallTrace>,
|
1616
1640
|
preprocessHandler?: (
|
1617
1641
|
call: OwnerCallTrace,
|
1618
1642
|
ctx: EACAggregatorProxyContext,
|
@@ -1621,7 +1645,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1621
1645
|
return super.onEthTrace(
|
1622
1646
|
"0x8da5cb5b",
|
1623
1647
|
handler as any,
|
1624
|
-
|
1648
|
+
handlerOptions,
|
1625
1649
|
preprocessHandler,
|
1626
1650
|
);
|
1627
1651
|
}
|
@@ -1631,7 +1655,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1631
1655
|
call: PhaseAggregatorsCallTrace,
|
1632
1656
|
ctx: EACAggregatorProxyContext,
|
1633
1657
|
) => void,
|
1634
|
-
|
1658
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, PhaseAggregatorsCallTrace>,
|
1635
1659
|
preprocessHandler?: (
|
1636
1660
|
call: PhaseAggregatorsCallTrace,
|
1637
1661
|
ctx: EACAggregatorProxyContext,
|
@@ -1640,14 +1664,14 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1640
1664
|
return super.onEthTrace(
|
1641
1665
|
"0xc1597304",
|
1642
1666
|
handler as any,
|
1643
|
-
|
1667
|
+
handlerOptions,
|
1644
1668
|
preprocessHandler,
|
1645
1669
|
);
|
1646
1670
|
}
|
1647
1671
|
|
1648
1672
|
onCallPhaseId(
|
1649
1673
|
handler: (call: PhaseIdCallTrace, ctx: EACAggregatorProxyContext) => void,
|
1650
|
-
|
1674
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, PhaseIdCallTrace>,
|
1651
1675
|
preprocessHandler?: (
|
1652
1676
|
call: PhaseIdCallTrace,
|
1653
1677
|
ctx: EACAggregatorProxyContext,
|
@@ -1656,7 +1680,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1656
1680
|
return super.onEthTrace(
|
1657
1681
|
"0x58303b10",
|
1658
1682
|
handler as any,
|
1659
|
-
|
1683
|
+
handlerOptions,
|
1660
1684
|
preprocessHandler,
|
1661
1685
|
);
|
1662
1686
|
}
|
@@ -1666,7 +1690,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1666
1690
|
call: ProposeAggregatorCallTrace,
|
1667
1691
|
ctx: EACAggregatorProxyContext,
|
1668
1692
|
) => void,
|
1669
|
-
|
1693
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, ProposeAggregatorCallTrace>,
|
1670
1694
|
preprocessHandler?: (
|
1671
1695
|
call: ProposeAggregatorCallTrace,
|
1672
1696
|
ctx: EACAggregatorProxyContext,
|
@@ -1675,7 +1699,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1675
1699
|
return super.onEthTrace(
|
1676
1700
|
"0xf8a2abd3",
|
1677
1701
|
handler as any,
|
1678
|
-
|
1702
|
+
handlerOptions,
|
1679
1703
|
preprocessHandler,
|
1680
1704
|
);
|
1681
1705
|
}
|
@@ -1685,7 +1709,10 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1685
1709
|
call: ProposedAggregatorCallTrace,
|
1686
1710
|
ctx: EACAggregatorProxyContext,
|
1687
1711
|
) => void,
|
1688
|
-
|
1712
|
+
handlerOptions?: HandlerOptions<
|
1713
|
+
EthFetchConfig,
|
1714
|
+
ProposedAggregatorCallTrace
|
1715
|
+
>,
|
1689
1716
|
preprocessHandler?: (
|
1690
1717
|
call: ProposedAggregatorCallTrace,
|
1691
1718
|
ctx: EACAggregatorProxyContext,
|
@@ -1694,7 +1721,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1694
1721
|
return super.onEthTrace(
|
1695
1722
|
"0xe8c4be30",
|
1696
1723
|
handler as any,
|
1697
|
-
|
1724
|
+
handlerOptions,
|
1698
1725
|
preprocessHandler,
|
1699
1726
|
);
|
1700
1727
|
}
|
@@ -1704,7 +1731,10 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1704
1731
|
call: ProposedGetRoundDataCallTrace,
|
1705
1732
|
ctx: EACAggregatorProxyContext,
|
1706
1733
|
) => void,
|
1707
|
-
|
1734
|
+
handlerOptions?: HandlerOptions<
|
1735
|
+
EthFetchConfig,
|
1736
|
+
ProposedGetRoundDataCallTrace
|
1737
|
+
>,
|
1708
1738
|
preprocessHandler?: (
|
1709
1739
|
call: ProposedGetRoundDataCallTrace,
|
1710
1740
|
ctx: EACAggregatorProxyContext,
|
@@ -1713,7 +1743,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1713
1743
|
return super.onEthTrace(
|
1714
1744
|
"0x6001ac53",
|
1715
1745
|
handler as any,
|
1716
|
-
|
1746
|
+
handlerOptions,
|
1717
1747
|
preprocessHandler,
|
1718
1748
|
);
|
1719
1749
|
}
|
@@ -1723,7 +1753,10 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1723
1753
|
call: ProposedLatestRoundDataCallTrace,
|
1724
1754
|
ctx: EACAggregatorProxyContext,
|
1725
1755
|
) => void,
|
1726
|
-
|
1756
|
+
handlerOptions?: HandlerOptions<
|
1757
|
+
EthFetchConfig,
|
1758
|
+
ProposedLatestRoundDataCallTrace
|
1759
|
+
>,
|
1727
1760
|
preprocessHandler?: (
|
1728
1761
|
call: ProposedLatestRoundDataCallTrace,
|
1729
1762
|
ctx: EACAggregatorProxyContext,
|
@@ -1732,7 +1765,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1732
1765
|
return super.onEthTrace(
|
1733
1766
|
"0x8f6b4d91",
|
1734
1767
|
handler as any,
|
1735
|
-
|
1768
|
+
handlerOptions,
|
1736
1769
|
preprocessHandler,
|
1737
1770
|
);
|
1738
1771
|
}
|
@@ -1742,7 +1775,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1742
1775
|
call: SetControllerCallTrace,
|
1743
1776
|
ctx: EACAggregatorProxyContext,
|
1744
1777
|
) => void,
|
1745
|
-
|
1778
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, SetControllerCallTrace>,
|
1746
1779
|
preprocessHandler?: (
|
1747
1780
|
call: SetControllerCallTrace,
|
1748
1781
|
ctx: EACAggregatorProxyContext,
|
@@ -1751,7 +1784,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1751
1784
|
return super.onEthTrace(
|
1752
1785
|
"0x92eefe9b",
|
1753
1786
|
handler as any,
|
1754
|
-
|
1787
|
+
handlerOptions,
|
1755
1788
|
preprocessHandler,
|
1756
1789
|
);
|
1757
1790
|
}
|
@@ -1761,7 +1794,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1761
1794
|
call: TransferOwnershipCallTrace,
|
1762
1795
|
ctx: EACAggregatorProxyContext,
|
1763
1796
|
) => void,
|
1764
|
-
|
1797
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, TransferOwnershipCallTrace>,
|
1765
1798
|
preprocessHandler?: (
|
1766
1799
|
call: TransferOwnershipCallTrace,
|
1767
1800
|
ctx: EACAggregatorProxyContext,
|
@@ -1770,14 +1803,14 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1770
1803
|
return super.onEthTrace(
|
1771
1804
|
"0xf2fde38b",
|
1772
1805
|
handler as any,
|
1773
|
-
|
1806
|
+
handlerOptions,
|
1774
1807
|
preprocessHandler,
|
1775
1808
|
);
|
1776
1809
|
}
|
1777
1810
|
|
1778
1811
|
onCallVersion(
|
1779
1812
|
handler: (call: VersionCallTrace, ctx: EACAggregatorProxyContext) => void,
|
1780
|
-
|
1813
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, VersionCallTrace>,
|
1781
1814
|
preprocessHandler?: (
|
1782
1815
|
call: VersionCallTrace,
|
1783
1816
|
ctx: EACAggregatorProxyContext,
|
@@ -1786,7 +1819,7 @@ export class EACAggregatorProxyProcessor extends BaseProcessor<
|
|
1786
1819
|
return super.onEthTrace(
|
1787
1820
|
"0x54fd4d50",
|
1788
1821
|
handler as any,
|
1789
|
-
|
1822
|
+
handlerOptions,
|
1790
1823
|
preprocessHandler,
|
1791
1824
|
);
|
1792
1825
|
}
|
@@ -1876,7 +1909,7 @@ export class EACAggregatorProxyProcessorTemplate extends BaseProcessorTemplate<
|
|
1876
1909
|
ctx: EACAggregatorProxyContext,
|
1877
1910
|
) => void,
|
1878
1911
|
filter?: AnswerUpdatedEventFilter | AnswerUpdatedEventFilter[],
|
1879
|
-
|
1912
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, AnswerUpdatedEvent>,
|
1880
1913
|
preprocessHandler?: (
|
1881
1914
|
event: AnswerUpdatedEvent,
|
1882
1915
|
ctx: EACAggregatorProxyContext,
|
@@ -1888,13 +1921,18 @@ export class EACAggregatorProxyProcessorTemplate extends BaseProcessorTemplate<
|
|
1888
1921
|
"AnswerUpdated(int256,uint256,uint256)"
|
1889
1922
|
](null, null, null);
|
1890
1923
|
}
|
1891
|
-
return super.onEthEvent(
|
1924
|
+
return super.onEthEvent(
|
1925
|
+
handler,
|
1926
|
+
filter!,
|
1927
|
+
handlerOptions,
|
1928
|
+
preprocessHandler,
|
1929
|
+
);
|
1892
1930
|
}
|
1893
1931
|
|
1894
1932
|
onEventNewRound(
|
1895
1933
|
handler: (event: NewRoundEvent, ctx: EACAggregatorProxyContext) => void,
|
1896
1934
|
filter?: NewRoundEventFilter | NewRoundEventFilter[],
|
1897
|
-
|
1935
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, NewRoundEvent>,
|
1898
1936
|
preprocessHandler?: (
|
1899
1937
|
event: NewRoundEvent,
|
1900
1938
|
ctx: EACAggregatorProxyContext,
|
@@ -1908,7 +1946,12 @@ export class EACAggregatorProxyProcessorTemplate extends BaseProcessorTemplate<
|
|
1908
1946
|
null,
|
1909
1947
|
);
|
1910
1948
|
}
|
1911
|
-
return super.onEthEvent(
|
1949
|
+
return super.onEthEvent(
|
1950
|
+
handler,
|
1951
|
+
filter!,
|
1952
|
+
handlerOptions,
|
1953
|
+
preprocessHandler,
|
1954
|
+
);
|
1912
1955
|
}
|
1913
1956
|
|
1914
1957
|
onEventOwnershipTransferRequested(
|
@@ -1919,7 +1962,10 @@ export class EACAggregatorProxyProcessorTemplate extends BaseProcessorTemplate<
|
|
1919
1962
|
filter?:
|
1920
1963
|
| OwnershipTransferRequestedEventFilter
|
1921
1964
|
| OwnershipTransferRequestedEventFilter[],
|
1922
|
-
|
1965
|
+
handlerOptions?: HandlerOptions<
|
1966
|
+
EthFetchConfig,
|
1967
|
+
OwnershipTransferRequestedEvent
|
1968
|
+
>,
|
1923
1969
|
preprocessHandler?: (
|
1924
1970
|
event: OwnershipTransferRequestedEvent,
|
1925
1971
|
ctx: EACAggregatorProxyContext,
|
@@ -1931,7 +1977,12 @@ export class EACAggregatorProxyProcessorTemplate extends BaseProcessorTemplate<
|
|
1931
1977
|
"OwnershipTransferRequested(address,address)"
|
1932
1978
|
](null, null);
|
1933
1979
|
}
|
1934
|
-
return super.onEthEvent(
|
1980
|
+
return super.onEthEvent(
|
1981
|
+
handler,
|
1982
|
+
filter!,
|
1983
|
+
handlerOptions,
|
1984
|
+
preprocessHandler,
|
1985
|
+
);
|
1935
1986
|
}
|
1936
1987
|
|
1937
1988
|
onEventOwnershipTransferred(
|
@@ -1942,7 +1993,7 @@ export class EACAggregatorProxyProcessorTemplate extends BaseProcessorTemplate<
|
|
1942
1993
|
filter?:
|
1943
1994
|
| OwnershipTransferredEventFilter
|
1944
1995
|
| OwnershipTransferredEventFilter[],
|
1945
|
-
|
1996
|
+
handlerOptions?: HandlerOptions<EthFetchConfig, OwnershipTransferredEvent>,
|
1946
1997
|
preprocessHandler?: (
|
1947
1998
|
event: OwnershipTransferredEvent,
|
1948
1999
|
ctx: EACAggregatorProxyContext,
|
@@ -1954,7 +2005,12 @@ export class EACAggregatorProxyProcessorTemplate extends BaseProcessorTemplate<
|
|
1954
2005
|
"OwnershipTransferred(address,address)"
|
1955
2006
|
](null, null);
|
1956
2007
|
}
|
1957
|
-
return super.onEthEvent(
|
2008
|
+
return super.onEthEvent(
|
2009
|
+
handler,
|
2010
|
+
filter!,
|
2011
|
+
handlerOptions,
|
2012
|
+
preprocessHandler,
|
2013
|
+
);
|
1958
2014
|
}
|
1959
2015
|
}
|
1960
2016
|
|