@sentio/sdk 1.40.5 → 1.41.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/builtin/eacaggregatorproxy/index.js +3 -16
- package/lib/builtin/eacaggregatorproxy/index.js.map +1 -1
- package/lib/builtin/eacaggregatorproxy/test-utils.d.ts +5 -5
- package/lib/builtin/eacaggregatorproxy/test-utils.js +8 -4
- package/lib/builtin/eacaggregatorproxy/test-utils.js.map +1 -1
- package/lib/builtin/erc1155/index.js +3 -16
- package/lib/builtin/erc1155/index.js.map +1 -1
- package/lib/builtin/erc1155/test-utils.d.ts +5 -5
- package/lib/builtin/erc1155/test-utils.js +8 -4
- package/lib/builtin/erc1155/test-utils.js.map +1 -1
- package/lib/builtin/erc20/index.js +3 -16
- package/lib/builtin/erc20/index.js.map +1 -1
- package/lib/builtin/erc20/test-utils.d.ts +4 -4
- package/lib/builtin/erc20/test-utils.js +6 -3
- package/lib/builtin/erc20/test-utils.js.map +1 -1
- package/lib/builtin/erc20bytes/index.js +3 -16
- package/lib/builtin/erc20bytes/index.js.map +1 -1
- package/lib/builtin/erc20bytes/test-utils.d.ts +3 -3
- package/lib/builtin/erc20bytes/test-utils.js +4 -2
- package/lib/builtin/erc20bytes/test-utils.js.map +1 -1
- package/lib/builtin/erc721/index.js +3 -16
- package/lib/builtin/erc721/index.js.map +1 -1
- package/lib/builtin/erc721/test-utils.d.ts +4 -4
- package/lib/builtin/erc721/test-utils.js +6 -3
- package/lib/builtin/erc721/test-utils.js.map +1 -1
- package/lib/builtin/index.js +5 -27
- package/lib/builtin/index.js.map +1 -1
- package/lib/builtin/internal/EACAggregatorProxy.d.ts +19 -430
- package/lib/builtin/internal/EACAggregatorProxy.js.map +1 -1
- package/lib/builtin/internal/ERC1155.d.ts +18 -161
- package/lib/builtin/internal/ERC1155.js.map +1 -1
- package/lib/builtin/internal/ERC20.d.ts +12 -279
- package/lib/builtin/internal/ERC20.js.map +1 -1
- package/lib/builtin/internal/ERC20Bytes.d.ts +11 -146
- package/lib/builtin/internal/ERC20Bytes.js.map +1 -1
- package/lib/builtin/internal/ERC721.d.ts +12 -222
- package/lib/builtin/internal/ERC721.js.map +1 -1
- package/lib/builtin/internal/WETH9.d.ts +16 -191
- package/lib/builtin/internal/WETH9.js.map +1 -1
- package/lib/builtin/internal/common.d.ts +3 -18
- package/lib/builtin/internal/common.js +6 -0
- package/lib/builtin/internal/common.js.map +1 -1
- package/lib/builtin/internal/eacaggregatorproxy_processor.d.ts +161 -168
- package/lib/builtin/internal/eacaggregatorproxy_processor.js +94 -288
- package/lib/builtin/internal/eacaggregatorproxy_processor.js.map +1 -1
- package/lib/builtin/internal/erc1155_processor.d.ts +45 -50
- package/lib/builtin/internal/erc1155_processor.js +68 -132
- package/lib/builtin/internal/erc1155_processor.js.map +1 -1
- package/lib/builtin/internal/erc20_processor.d.ts +59 -63
- package/lib/builtin/internal/erc20_processor.js +64 -155
- package/lib/builtin/internal/erc20_processor.js.map +1 -1
- package/lib/builtin/internal/erc20bytes_processor.d.ts +37 -40
- package/lib/builtin/internal/erc20bytes_processor.js +50 -118
- package/lib/builtin/internal/erc20bytes_processor.js.map +1 -1
- package/lib/builtin/internal/erc721_processor.d.ts +56 -60
- package/lib/builtin/internal/erc721_processor.js +66 -167
- package/lib/builtin/internal/erc721_processor.js.map +1 -1
- package/lib/builtin/internal/factories/EACAggregatorProxy__factory.d.ts +1 -2
- package/lib/builtin/internal/factories/EACAggregatorProxy__factory.js +1 -1
- package/lib/builtin/internal/factories/EACAggregatorProxy__factory.js.map +1 -1
- package/lib/builtin/internal/factories/ERC1155__factory.d.ts +1 -2
- package/lib/builtin/internal/factories/ERC1155__factory.js +1 -1
- package/lib/builtin/internal/factories/ERC1155__factory.js.map +1 -1
- package/lib/builtin/internal/factories/ERC20Bytes__factory.d.ts +1 -2
- package/lib/builtin/internal/factories/ERC20Bytes__factory.js +1 -1
- package/lib/builtin/internal/factories/ERC20Bytes__factory.js.map +1 -1
- package/lib/builtin/internal/factories/ERC20__factory.d.ts +1 -2
- package/lib/builtin/internal/factories/ERC20__factory.js +1 -1
- package/lib/builtin/internal/factories/ERC20__factory.js.map +1 -1
- package/lib/builtin/internal/factories/ERC721__factory.d.ts +1 -2
- package/lib/builtin/internal/factories/ERC721__factory.js +1 -1
- package/lib/builtin/internal/factories/ERC721__factory.js.map +1 -1
- package/lib/builtin/internal/factories/WETH9__factory.d.ts +1 -2
- package/lib/builtin/internal/factories/WETH9__factory.js +1 -1
- package/lib/builtin/internal/factories/WETH9__factory.js.map +1 -1
- package/lib/builtin/internal/index.js +2 -24
- package/lib/builtin/internal/index.js.map +1 -1
- package/lib/builtin/internal/weth9_processor.d.ts +44 -49
- package/lib/builtin/internal/weth9_processor.js +70 -144
- package/lib/builtin/internal/weth9_processor.js.map +1 -1
- package/lib/builtin/weth9/index.js +3 -16
- package/lib/builtin/weth9/index.js.map +1 -1
- package/lib/builtin/weth9/test-utils.d.ts +5 -5
- package/lib/builtin/weth9/test-utils.js +8 -4
- package/lib/builtin/weth9/test-utils.js.map +1 -1
- package/lib/core/big-decimal.d.ts +6 -0
- package/lib/core/big-decimal.js +6 -2
- package/lib/core/big-decimal.js.map +1 -1
- package/lib/core/bind-options.d.ts +1 -1
- package/lib/core/bind-options.js +2 -2
- package/lib/core/bind-options.js.map +1 -1
- package/lib/core/context.d.ts +8 -14
- package/lib/core/context.js +7 -6
- package/lib/core/context.js.map +1 -1
- package/lib/core/core-plugin.d.ts +1 -1
- package/lib/core/core-plugin.js +1 -1
- package/lib/core/core-plugin.js.map +1 -1
- package/lib/core/generic-processor.test.js.map +1 -1
- package/lib/core/index.d.ts +0 -5
- package/lib/core/index.js +1 -9
- package/lib/core/index.js.map +1 -1
- package/lib/core/numberish.d.ts +2 -3
- package/lib/core/numberish.js +35 -33
- package/lib/core/numberish.js.map +1 -1
- package/lib/core/numberish.test.js.map +1 -1
- package/lib/core/sui-plugin.d.ts +1 -1
- package/lib/core/sui-plugin.js +1 -1
- package/lib/core/sui-plugin.js.map +1 -1
- package/lib/error.js +2 -2
- package/lib/error.js.map +1 -1
- package/lib/eth/account-processor-state.d.ts +5 -0
- package/lib/eth/account-processor-state.js +9 -0
- package/lib/eth/account-processor-state.js.map +1 -0
- package/lib/{core → eth}/account-processor.d.ts +4 -8
- package/lib/{core → eth}/account-processor.js +33 -42
- package/lib/eth/account-processor.js.map +1 -0
- package/lib/{core → eth}/base-processor-template.d.ts +7 -8
- package/lib/{core → eth}/base-processor-template.js +3 -3
- package/lib/eth/base-processor-template.js.map +1 -0
- package/lib/{core → eth}/base-processor.d.ts +7 -7
- package/lib/{core → eth}/base-processor.js +13 -18
- package/lib/eth/base-processor.js.map +1 -0
- package/lib/{binds.d.ts → eth/binds.d.ts} +4 -3
- package/lib/{binds.js → eth/binds.js} +3 -3
- package/lib/eth/binds.js.map +1 -0
- package/lib/{core → eth}/eth-plugin.d.ts +2 -2
- package/lib/{core → eth}/eth-plugin.js +19 -13
- package/lib/eth/eth-plugin.js.map +1 -0
- package/lib/{core → eth}/generic-processor.d.ts +3 -3
- package/lib/{core → eth}/generic-processor.js +5 -5
- package/lib/eth/generic-processor.js.map +1 -0
- package/lib/eth/index.d.ts +6 -0
- package/lib/eth/index.js +15 -0
- package/lib/eth/index.js.map +1 -0
- package/lib/eth/provider.d.ts +4 -0
- package/lib/eth/provider.js +74 -0
- package/lib/eth/provider.js.map +1 -0
- package/lib/{core → eth}/trace.d.ts +2 -2
- package/lib/{core → eth}/trace.js +0 -0
- package/lib/eth/trace.js.map +1 -0
- package/lib/index.d.ts +2 -2
- package/lib/index.js +7 -23
- package/lib/index.js.map +1 -1
- package/lib/target-ethers-sentio/event-handler.d.ts +1 -0
- package/lib/target-ethers-sentio/event-handler.js +21 -5
- package/lib/target-ethers-sentio/event-handler.js.map +1 -1
- package/lib/target-ethers-sentio/file.js +59 -57
- package/lib/target-ethers-sentio/file.js.map +1 -1
- package/lib/target-ethers-sentio/functions-handler.js +7 -4
- package/lib/target-ethers-sentio/functions-handler.js.map +1 -1
- package/lib/target-ethers-sentio/index.d.ts +1 -1
- package/lib/target-ethers-sentio/index.js +3 -5
- package/lib/target-ethers-sentio/index.js.map +1 -1
- package/lib/target-ethers-sentio/view-function.js +15 -15
- package/lib/target-ethers-sentio/view-function.js.map +1 -1
- package/lib/testing/metric-utils.js +2 -2
- package/lib/testing/metric-utils.js.map +1 -1
- package/lib/testing/test-processor-server.d.ts +11 -11
- package/lib/testing/test-processor-server.js +7 -12
- package/lib/testing/test-processor-server.js.map +1 -1
- package/lib/testing/test-provider.js +1 -6
- package/lib/testing/test-provider.js.map +1 -1
- package/lib/utils/conversion.d.ts +2 -2
- package/lib/utils/conversion.js +12 -5
- package/lib/utils/conversion.js.map +1 -1
- package/lib/utils/dex-price.d.ts +1 -1
- package/lib/utils/dex-price.js +5 -6
- package/lib/utils/dex-price.js.map +1 -1
- package/lib/utils/dex-price.test.js.map +1 -1
- package/lib/utils/erc20.test.js.map +1 -1
- package/lib/utils/index.js +5 -27
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/token.d.ts +2 -3
- package/lib/utils/token.js +5 -6
- package/lib/utils/token.js.map +1 -1
- package/lib/webpack.config.js +1 -1
- package/package.json +7 -13
- package/src/builtin/eacaggregatorproxy/test-utils.ts +13 -9
- package/src/builtin/erc1155/test-utils.ts +13 -9
- package/src/builtin/erc20/test-utils.ts +10 -7
- package/src/builtin/erc20bytes/test-utils.ts +7 -5
- package/src/builtin/erc721/test-utils.ts +10 -7
- package/src/builtin/internal/EACAggregatorProxy.ts +20 -815
- package/src/builtin/internal/ERC1155.ts +20 -483
- package/src/builtin/internal/ERC20.ts +15 -641
- package/src/builtin/internal/ERC20Bytes.ts +13 -357
- package/src/builtin/internal/ERC721.ts +15 -601
- package/src/builtin/internal/WETH9.ts +20 -439
- package/src/builtin/internal/common.ts +33 -33
- package/src/builtin/internal/eacaggregatorproxy_processor.ts +344 -425
- package/src/builtin/internal/erc1155_processor.ts +202 -209
- package/src/builtin/internal/erc20_processor.ts +191 -225
- package/src/builtin/internal/erc20bytes_processor.ts +136 -165
- package/src/builtin/internal/erc721_processor.ts +218 -242
- package/src/builtin/internal/factories/EACAggregatorProxy__factory.ts +2 -3
- package/src/builtin/internal/factories/ERC1155__factory.ts +2 -3
- package/src/builtin/internal/factories/ERC20Bytes__factory.ts +2 -3
- package/src/builtin/internal/factories/ERC20__factory.ts +2 -3
- package/src/builtin/internal/factories/ERC721__factory.ts +2 -3
- package/src/builtin/internal/factories/WETH9__factory.ts +2 -3
- package/src/builtin/internal/weth9_processor.ts +176 -208
- package/src/builtin/weth9/test-utils.ts +13 -9
- package/src/core/big-decimal.ts +11 -0
- package/src/core/bind-options.ts +2 -3
- package/src/core/context.ts +14 -13
- package/src/core/core-plugin.ts +1 -1
- package/src/core/index.ts +0 -6
- package/src/core/numberish.ts +39 -40
- package/src/core/sui-plugin.ts +1 -1
- package/src/error.ts +1 -1
- package/src/eth/account-processor-state.ts +6 -0
- package/src/{core → eth}/account-processor.ts +40 -50
- package/src/{core → eth}/base-processor-template.ts +11 -12
- package/src/{core → eth}/base-processor.ts +37 -31
- package/src/{binds.ts → eth/binds.ts} +6 -5
- package/src/{core → eth}/eth-plugin.ts +19 -12
- package/src/{core → eth}/generic-processor.ts +5 -5
- package/src/eth/index.ts +6 -0
- package/src/eth/provider.ts +82 -0
- package/src/{core → eth}/trace.ts +2 -3
- package/src/index.ts +2 -3
- package/src/target-ethers-sentio/event-handler.ts +22 -5
- package/src/target-ethers-sentio/file.ts +65 -65
- package/src/target-ethers-sentio/functions-handler.ts +8 -4
- package/src/target-ethers-sentio/index.ts +1 -1
- package/src/target-ethers-sentio/view-function.ts +17 -18
- package/src/testing/metric-utils.ts +2 -2
- package/src/testing/test-processor-server.ts +23 -24
- package/src/testing/test-provider.ts +2 -7
- package/src/utils/conversion.ts +12 -5
- package/src/utils/dex-price.ts +3 -3
- package/src/utils/token.ts +10 -11
- package/src/webpack.config.js +1 -1
- package/lib/binds.js.map +0 -1
- package/lib/core/account-processor.js.map +0 -1
- package/lib/core/base-processor-template.js.map +0 -1
- package/lib/core/base-processor.js.map +0 -1
- package/lib/core/eth-plugin.js.map +0 -1
- package/lib/core/generic-processor.js.map +0 -1
- package/lib/core/trace.js.map +0 -1
|
@@ -1,256 +1,246 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Networkish } from "
|
|
3
|
-
import { BindOptions, BaseProcessor, BaseProcessorTemplate, BoundContractView, ContractContext, ContractView, TypedCallTrace } from "@sentio/sdk";
|
|
1
|
+
import { BigNumberish, Overrides } from "ethers";
|
|
2
|
+
import { Networkish } from "ethers/providers";
|
|
3
|
+
import { Trace, BindOptions, BaseProcessor, BaseProcessorTemplate, BoundContractView, ContractContext, ContractView, TypedCallTrace } from "@sentio/sdk";
|
|
4
4
|
import { EthFetchConfig } from "@sentio/protos";
|
|
5
|
-
import { PromiseOrValue } from "./common";
|
|
6
5
|
import { EACAggregatorProxy } from "./index";
|
|
7
6
|
import { AnswerUpdatedEvent, AnswerUpdatedEventFilter, NewRoundEvent, NewRoundEventFilter, OwnershipTransferRequestedEvent, OwnershipTransferRequestedEventFilter, OwnershipTransferredEvent, OwnershipTransferredEventFilter } from "./EACAggregatorProxy";
|
|
8
7
|
export interface AcceptOwnershipCallObject {
|
|
9
8
|
}
|
|
10
9
|
export type AcceptOwnershipCallTrace = TypedCallTrace<[
|
|
11
|
-
], AcceptOwnershipCallObject
|
|
10
|
+
], AcceptOwnershipCallObject> & Trace;
|
|
12
11
|
export interface AccessControllerCallObject {
|
|
13
12
|
}
|
|
14
13
|
export type AccessControllerCallTrace = TypedCallTrace<[
|
|
15
|
-
], AccessControllerCallObject
|
|
14
|
+
], AccessControllerCallObject> & Trace;
|
|
16
15
|
export interface AggregatorCallObject {
|
|
17
16
|
}
|
|
18
|
-
export type AggregatorCallTrace = TypedCallTrace<[], AggregatorCallObject
|
|
17
|
+
export type AggregatorCallTrace = TypedCallTrace<[], AggregatorCallObject> & Trace;
|
|
19
18
|
export interface ConfirmAggregatorCallObject {
|
|
20
19
|
_aggregator: string;
|
|
21
20
|
}
|
|
22
21
|
export type ConfirmAggregatorCallTrace = TypedCallTrace<[
|
|
23
22
|
string
|
|
24
|
-
], ConfirmAggregatorCallObject
|
|
23
|
+
], ConfirmAggregatorCallObject> & Trace;
|
|
25
24
|
export interface DecimalsCallObject {
|
|
26
25
|
}
|
|
27
|
-
export type DecimalsCallTrace = TypedCallTrace<[], DecimalsCallObject
|
|
26
|
+
export type DecimalsCallTrace = TypedCallTrace<[], DecimalsCallObject> & Trace;
|
|
28
27
|
export interface DescriptionCallObject {
|
|
29
28
|
}
|
|
30
|
-
export type DescriptionCallTrace = TypedCallTrace<[], DescriptionCallObject
|
|
29
|
+
export type DescriptionCallTrace = TypedCallTrace<[], DescriptionCallObject> & Trace;
|
|
31
30
|
export interface GetAnswerCallObject {
|
|
32
|
-
_roundId:
|
|
31
|
+
_roundId: bigint;
|
|
33
32
|
}
|
|
34
|
-
export type GetAnswerCallTrace = TypedCallTrace<[
|
|
35
|
-
BigNumber
|
|
36
|
-
], GetAnswerCallObject>;
|
|
33
|
+
export type GetAnswerCallTrace = TypedCallTrace<[bigint], GetAnswerCallObject> & Trace;
|
|
37
34
|
export interface GetRoundDataCallObject {
|
|
38
|
-
_roundId:
|
|
35
|
+
_roundId: bigint;
|
|
39
36
|
}
|
|
40
37
|
export type GetRoundDataCallTrace = TypedCallTrace<[
|
|
41
|
-
|
|
42
|
-
], GetRoundDataCallObject
|
|
38
|
+
bigint
|
|
39
|
+
], GetRoundDataCallObject> & Trace;
|
|
43
40
|
export interface GetTimestampCallObject {
|
|
44
|
-
_roundId:
|
|
41
|
+
_roundId: bigint;
|
|
45
42
|
}
|
|
46
43
|
export type GetTimestampCallTrace = TypedCallTrace<[
|
|
47
|
-
|
|
48
|
-
], GetTimestampCallObject
|
|
44
|
+
bigint
|
|
45
|
+
], GetTimestampCallObject> & Trace;
|
|
49
46
|
export interface LatestAnswerCallObject {
|
|
50
47
|
}
|
|
51
|
-
export type LatestAnswerCallTrace = TypedCallTrace<[], LatestAnswerCallObject
|
|
48
|
+
export type LatestAnswerCallTrace = TypedCallTrace<[], LatestAnswerCallObject> & Trace;
|
|
52
49
|
export interface LatestRoundCallObject {
|
|
53
50
|
}
|
|
54
|
-
export type LatestRoundCallTrace = TypedCallTrace<[], LatestRoundCallObject
|
|
51
|
+
export type LatestRoundCallTrace = TypedCallTrace<[], LatestRoundCallObject> & Trace;
|
|
55
52
|
export interface LatestRoundDataCallObject {
|
|
56
53
|
}
|
|
57
54
|
export type LatestRoundDataCallTrace = TypedCallTrace<[
|
|
58
|
-
], LatestRoundDataCallObject
|
|
55
|
+
], LatestRoundDataCallObject> & Trace;
|
|
59
56
|
export interface LatestTimestampCallObject {
|
|
60
57
|
}
|
|
61
58
|
export type LatestTimestampCallTrace = TypedCallTrace<[
|
|
62
|
-
], LatestTimestampCallObject
|
|
59
|
+
], LatestTimestampCallObject> & Trace;
|
|
63
60
|
export interface OwnerCallObject {
|
|
64
61
|
}
|
|
65
|
-
export type OwnerCallTrace = TypedCallTrace<[], OwnerCallObject
|
|
62
|
+
export type OwnerCallTrace = TypedCallTrace<[], OwnerCallObject> & Trace;
|
|
66
63
|
export interface PhaseAggregatorsCallObject {
|
|
67
64
|
}
|
|
68
65
|
export type PhaseAggregatorsCallTrace = TypedCallTrace<[
|
|
69
|
-
|
|
70
|
-
], PhaseAggregatorsCallObject
|
|
66
|
+
bigint
|
|
67
|
+
], PhaseAggregatorsCallObject> & Trace;
|
|
71
68
|
export interface PhaseIdCallObject {
|
|
72
69
|
}
|
|
73
|
-
export type PhaseIdCallTrace = TypedCallTrace<[], PhaseIdCallObject
|
|
70
|
+
export type PhaseIdCallTrace = TypedCallTrace<[], PhaseIdCallObject> & Trace;
|
|
74
71
|
export interface ProposeAggregatorCallObject {
|
|
75
72
|
_aggregator: string;
|
|
76
73
|
}
|
|
77
74
|
export type ProposeAggregatorCallTrace = TypedCallTrace<[
|
|
78
75
|
string
|
|
79
|
-
], ProposeAggregatorCallObject
|
|
76
|
+
], ProposeAggregatorCallObject> & Trace;
|
|
80
77
|
export interface ProposedAggregatorCallObject {
|
|
81
78
|
}
|
|
82
79
|
export type ProposedAggregatorCallTrace = TypedCallTrace<[
|
|
83
|
-
], ProposedAggregatorCallObject
|
|
80
|
+
], ProposedAggregatorCallObject> & Trace;
|
|
84
81
|
export interface ProposedGetRoundDataCallObject {
|
|
85
|
-
_roundId:
|
|
82
|
+
_roundId: bigint;
|
|
86
83
|
}
|
|
87
84
|
export type ProposedGetRoundDataCallTrace = TypedCallTrace<[
|
|
88
|
-
|
|
89
|
-
], ProposedGetRoundDataCallObject
|
|
85
|
+
bigint
|
|
86
|
+
], ProposedGetRoundDataCallObject> & Trace;
|
|
90
87
|
export interface ProposedLatestRoundDataCallObject {
|
|
91
88
|
}
|
|
92
89
|
export type ProposedLatestRoundDataCallTrace = TypedCallTrace<[
|
|
93
|
-
], ProposedLatestRoundDataCallObject
|
|
90
|
+
], ProposedLatestRoundDataCallObject> & Trace;
|
|
94
91
|
export interface SetControllerCallObject {
|
|
95
92
|
_accessController: string;
|
|
96
93
|
}
|
|
97
94
|
export type SetControllerCallTrace = TypedCallTrace<[
|
|
98
95
|
string
|
|
99
|
-
], SetControllerCallObject
|
|
96
|
+
], SetControllerCallObject> & Trace;
|
|
100
97
|
export interface TransferOwnershipCallObject {
|
|
101
98
|
_to: string;
|
|
102
99
|
}
|
|
103
100
|
export type TransferOwnershipCallTrace = TypedCallTrace<[
|
|
104
101
|
string
|
|
105
|
-
], TransferOwnershipCallObject
|
|
102
|
+
], TransferOwnershipCallObject> & Trace;
|
|
106
103
|
export interface VersionCallObject {
|
|
107
104
|
}
|
|
108
|
-
export type VersionCallTrace = TypedCallTrace<[], VersionCallObject
|
|
105
|
+
export type VersionCallTrace = TypedCallTrace<[], VersionCallObject> & Trace;
|
|
109
106
|
export declare class EACAggregatorProxyContractView extends ContractView<EACAggregatorProxy> {
|
|
110
107
|
constructor(contract: EACAggregatorProxy);
|
|
111
|
-
accessController(overrides?:
|
|
112
|
-
aggregator(overrides?:
|
|
113
|
-
decimals(overrides?:
|
|
114
|
-
description(overrides?:
|
|
115
|
-
getAnswer(_roundId:
|
|
116
|
-
getRoundData(_roundId:
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
108
|
+
accessController(overrides?: Overrides): Promise<string>;
|
|
109
|
+
aggregator(overrides?: Overrides): Promise<string>;
|
|
110
|
+
decimals(overrides?: Overrides): Promise<bigint>;
|
|
111
|
+
description(overrides?: Overrides): Promise<string>;
|
|
112
|
+
getAnswer(_roundId: BigNumberish, overrides?: Overrides): Promise<bigint>;
|
|
113
|
+
getRoundData(_roundId: BigNumberish, overrides?: Overrides): Promise<[
|
|
114
|
+
bigint,
|
|
115
|
+
bigint,
|
|
116
|
+
bigint,
|
|
117
|
+
bigint,
|
|
118
|
+
bigint
|
|
122
119
|
] & {
|
|
123
|
-
roundId:
|
|
124
|
-
answer:
|
|
125
|
-
startedAt:
|
|
126
|
-
updatedAt:
|
|
127
|
-
answeredInRound:
|
|
120
|
+
roundId: bigint;
|
|
121
|
+
answer: bigint;
|
|
122
|
+
startedAt: bigint;
|
|
123
|
+
updatedAt: bigint;
|
|
124
|
+
answeredInRound: bigint;
|
|
128
125
|
}>;
|
|
129
|
-
getTimestamp(_roundId:
|
|
130
|
-
latestAnswer(overrides?:
|
|
131
|
-
latestRound(overrides?:
|
|
132
|
-
latestRoundData(overrides?:
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
126
|
+
getTimestamp(_roundId: BigNumberish, overrides?: Overrides): Promise<bigint>;
|
|
127
|
+
latestAnswer(overrides?: Overrides): Promise<bigint>;
|
|
128
|
+
latestRound(overrides?: Overrides): Promise<bigint>;
|
|
129
|
+
latestRoundData(overrides?: Overrides): Promise<[
|
|
130
|
+
bigint,
|
|
131
|
+
bigint,
|
|
132
|
+
bigint,
|
|
133
|
+
bigint,
|
|
134
|
+
bigint
|
|
138
135
|
] & {
|
|
139
|
-
roundId:
|
|
140
|
-
answer:
|
|
141
|
-
startedAt:
|
|
142
|
-
updatedAt:
|
|
143
|
-
answeredInRound:
|
|
136
|
+
roundId: bigint;
|
|
137
|
+
answer: bigint;
|
|
138
|
+
startedAt: bigint;
|
|
139
|
+
updatedAt: bigint;
|
|
140
|
+
answeredInRound: bigint;
|
|
144
141
|
}>;
|
|
145
|
-
latestTimestamp(overrides?:
|
|
146
|
-
owner(overrides?:
|
|
147
|
-
phaseAggregators(arg0:
|
|
148
|
-
phaseId(overrides?:
|
|
149
|
-
proposedAggregator(overrides?:
|
|
150
|
-
proposedGetRoundData(_roundId:
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
142
|
+
latestTimestamp(overrides?: Overrides): Promise<bigint>;
|
|
143
|
+
owner(overrides?: Overrides): Promise<string>;
|
|
144
|
+
phaseAggregators(arg0: BigNumberish, overrides?: Overrides): Promise<string>;
|
|
145
|
+
phaseId(overrides?: Overrides): Promise<bigint>;
|
|
146
|
+
proposedAggregator(overrides?: Overrides): Promise<string>;
|
|
147
|
+
proposedGetRoundData(_roundId: BigNumberish, overrides?: Overrides): Promise<[
|
|
148
|
+
bigint,
|
|
149
|
+
bigint,
|
|
150
|
+
bigint,
|
|
151
|
+
bigint,
|
|
152
|
+
bigint
|
|
156
153
|
] & {
|
|
157
|
-
roundId:
|
|
158
|
-
answer:
|
|
159
|
-
startedAt:
|
|
160
|
-
updatedAt:
|
|
161
|
-
answeredInRound:
|
|
154
|
+
roundId: bigint;
|
|
155
|
+
answer: bigint;
|
|
156
|
+
startedAt: bigint;
|
|
157
|
+
updatedAt: bigint;
|
|
158
|
+
answeredInRound: bigint;
|
|
162
159
|
}>;
|
|
163
|
-
proposedLatestRoundData(overrides?:
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
160
|
+
proposedLatestRoundData(overrides?: Overrides): Promise<[
|
|
161
|
+
bigint,
|
|
162
|
+
bigint,
|
|
163
|
+
bigint,
|
|
164
|
+
bigint,
|
|
165
|
+
bigint
|
|
169
166
|
] & {
|
|
170
|
-
roundId:
|
|
171
|
-
answer:
|
|
172
|
-
startedAt:
|
|
173
|
-
updatedAt:
|
|
174
|
-
answeredInRound:
|
|
167
|
+
roundId: bigint;
|
|
168
|
+
answer: bigint;
|
|
169
|
+
startedAt: bigint;
|
|
170
|
+
updatedAt: bigint;
|
|
171
|
+
answeredInRound: bigint;
|
|
175
172
|
}>;
|
|
176
|
-
version(overrides?:
|
|
173
|
+
version(overrides?: Overrides): Promise<bigint>;
|
|
177
174
|
}
|
|
178
175
|
export declare class EACAggregatorProxyBoundContractView extends BoundContractView<EACAggregatorProxy, EACAggregatorProxyContractView> {
|
|
179
|
-
accessController(overrides?:
|
|
180
|
-
aggregator(overrides?:
|
|
181
|
-
decimals(overrides?:
|
|
182
|
-
description(overrides?:
|
|
183
|
-
getAnswer(_roundId:
|
|
184
|
-
getRoundData(_roundId:
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
176
|
+
accessController(overrides?: Overrides): Promise<string>;
|
|
177
|
+
aggregator(overrides?: Overrides): Promise<string>;
|
|
178
|
+
decimals(overrides?: Overrides): Promise<bigint>;
|
|
179
|
+
description(overrides?: Overrides): Promise<string>;
|
|
180
|
+
getAnswer(_roundId: BigNumberish, overrides?: Overrides): Promise<bigint>;
|
|
181
|
+
getRoundData(_roundId: BigNumberish, overrides?: Overrides): Promise<[
|
|
182
|
+
bigint,
|
|
183
|
+
bigint,
|
|
184
|
+
bigint,
|
|
185
|
+
bigint,
|
|
186
|
+
bigint
|
|
190
187
|
] & {
|
|
191
|
-
roundId:
|
|
192
|
-
answer:
|
|
193
|
-
startedAt:
|
|
194
|
-
updatedAt:
|
|
195
|
-
answeredInRound:
|
|
188
|
+
roundId: bigint;
|
|
189
|
+
answer: bigint;
|
|
190
|
+
startedAt: bigint;
|
|
191
|
+
updatedAt: bigint;
|
|
192
|
+
answeredInRound: bigint;
|
|
196
193
|
}>;
|
|
197
|
-
getTimestamp(_roundId:
|
|
198
|
-
latestAnswer(overrides?:
|
|
199
|
-
latestRound(overrides?:
|
|
200
|
-
latestRoundData(overrides?:
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
194
|
+
getTimestamp(_roundId: BigNumberish, overrides?: Overrides): Promise<bigint>;
|
|
195
|
+
latestAnswer(overrides?: Overrides): Promise<bigint>;
|
|
196
|
+
latestRound(overrides?: Overrides): Promise<bigint>;
|
|
197
|
+
latestRoundData(overrides?: Overrides): Promise<[
|
|
198
|
+
bigint,
|
|
199
|
+
bigint,
|
|
200
|
+
bigint,
|
|
201
|
+
bigint,
|
|
202
|
+
bigint
|
|
206
203
|
] & {
|
|
207
|
-
roundId:
|
|
208
|
-
answer:
|
|
209
|
-
startedAt:
|
|
210
|
-
updatedAt:
|
|
211
|
-
answeredInRound:
|
|
204
|
+
roundId: bigint;
|
|
205
|
+
answer: bigint;
|
|
206
|
+
startedAt: bigint;
|
|
207
|
+
updatedAt: bigint;
|
|
208
|
+
answeredInRound: bigint;
|
|
212
209
|
}>;
|
|
213
|
-
latestTimestamp(overrides?:
|
|
214
|
-
owner(overrides?:
|
|
215
|
-
phaseAggregators(arg0:
|
|
216
|
-
phaseId(overrides?:
|
|
217
|
-
proposedAggregator(overrides?:
|
|
218
|
-
proposedGetRoundData(_roundId:
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
210
|
+
latestTimestamp(overrides?: Overrides): Promise<bigint>;
|
|
211
|
+
owner(overrides?: Overrides): Promise<string>;
|
|
212
|
+
phaseAggregators(arg0: BigNumberish, overrides?: Overrides): Promise<string>;
|
|
213
|
+
phaseId(overrides?: Overrides): Promise<bigint>;
|
|
214
|
+
proposedAggregator(overrides?: Overrides): Promise<string>;
|
|
215
|
+
proposedGetRoundData(_roundId: BigNumberish, overrides?: Overrides): Promise<[
|
|
216
|
+
bigint,
|
|
217
|
+
bigint,
|
|
218
|
+
bigint,
|
|
219
|
+
bigint,
|
|
220
|
+
bigint
|
|
224
221
|
] & {
|
|
225
|
-
roundId:
|
|
226
|
-
answer:
|
|
227
|
-
startedAt:
|
|
228
|
-
updatedAt:
|
|
229
|
-
answeredInRound:
|
|
222
|
+
roundId: bigint;
|
|
223
|
+
answer: bigint;
|
|
224
|
+
startedAt: bigint;
|
|
225
|
+
updatedAt: bigint;
|
|
226
|
+
answeredInRound: bigint;
|
|
230
227
|
}>;
|
|
231
|
-
proposedLatestRoundData(overrides?:
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
228
|
+
proposedLatestRoundData(overrides?: Overrides): Promise<[
|
|
229
|
+
bigint,
|
|
230
|
+
bigint,
|
|
231
|
+
bigint,
|
|
232
|
+
bigint,
|
|
233
|
+
bigint
|
|
237
234
|
] & {
|
|
238
|
-
roundId:
|
|
239
|
-
answer:
|
|
240
|
-
startedAt:
|
|
241
|
-
updatedAt:
|
|
242
|
-
answeredInRound:
|
|
235
|
+
roundId: bigint;
|
|
236
|
+
answer: bigint;
|
|
237
|
+
startedAt: bigint;
|
|
238
|
+
updatedAt: bigint;
|
|
239
|
+
answeredInRound: bigint;
|
|
243
240
|
}>;
|
|
244
|
-
version(overrides?:
|
|
241
|
+
version(overrides?: Overrides): Promise<bigint>;
|
|
245
242
|
}
|
|
246
243
|
export type EACAggregatorProxyContext = ContractContext<EACAggregatorProxy, EACAggregatorProxyBoundContractView>;
|
|
247
|
-
export declare class EACAggregatorProxyProcessorTemplate extends BaseProcessorTemplate<EACAggregatorProxy, EACAggregatorProxyBoundContractView> {
|
|
248
|
-
bindInternal(options: BindOptions): EACAggregatorProxyProcessor;
|
|
249
|
-
onEventAnswerUpdated(handler: (event: AnswerUpdatedEvent, ctx: EACAggregatorProxyContext) => void, filter?: AnswerUpdatedEventFilter | AnswerUpdatedEventFilter[], fetchConfig?: EthFetchConfig): this;
|
|
250
|
-
onEventNewRound(handler: (event: NewRoundEvent, ctx: EACAggregatorProxyContext) => void, filter?: NewRoundEventFilter | NewRoundEventFilter[], fetchConfig?: EthFetchConfig): this;
|
|
251
|
-
onEventOwnershipTransferRequested(handler: (event: OwnershipTransferRequestedEvent, ctx: EACAggregatorProxyContext) => void, filter?: OwnershipTransferRequestedEventFilter | OwnershipTransferRequestedEventFilter[], fetchConfig?: EthFetchConfig): this;
|
|
252
|
-
onEventOwnershipTransferred(handler: (event: OwnershipTransferredEvent, ctx: EACAggregatorProxyContext) => void, filter?: OwnershipTransferredEventFilter | OwnershipTransferredEventFilter[], fetchConfig?: EthFetchConfig): this;
|
|
253
|
-
}
|
|
254
244
|
export declare class EACAggregatorProxyProcessor extends BaseProcessor<EACAggregatorProxy, EACAggregatorProxyBoundContractView> {
|
|
255
245
|
onEventAnswerUpdated(handler: (event: AnswerUpdatedEvent, ctx: EACAggregatorProxyContext) => void, filter?: AnswerUpdatedEventFilter | AnswerUpdatedEventFilter[], fetchConfig?: EthFetchConfig): this;
|
|
256
246
|
onEventNewRound(handler: (event: NewRoundEvent, ctx: EACAggregatorProxyContext) => void, filter?: NewRoundEventFilter | NewRoundEventFilter[], fetchConfig?: EthFetchConfig): this;
|
|
@@ -280,16 +270,19 @@ export declare class EACAggregatorProxyProcessor extends BaseProcessor<EACAggreg
|
|
|
280
270
|
onCallTransferOwnership(handler: (call: TransferOwnershipCallTrace, ctx: EACAggregatorProxyContext) => void, fetchConfig?: EthFetchConfig): this;
|
|
281
271
|
onCallVersion(handler: (call: VersionCallTrace, ctx: EACAggregatorProxyContext) => void, fetchConfig?: EthFetchConfig): this;
|
|
282
272
|
static filters: {
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
"OwnershipTransferRequested(address,address)"(from?: PromiseOrValue<string> | null | undefined, to?: PromiseOrValue<string> | null | undefined): OwnershipTransferRequestedEventFilter;
|
|
288
|
-
OwnershipTransferRequested(from?: PromiseOrValue<string> | null | undefined, to?: PromiseOrValue<string> | null | undefined): OwnershipTransferRequestedEventFilter;
|
|
289
|
-
"OwnershipTransferred(address,address)"(from?: PromiseOrValue<string> | null | undefined, to?: PromiseOrValue<string> | null | undefined): OwnershipTransferredEventFilter;
|
|
290
|
-
OwnershipTransferred(from?: PromiseOrValue<string> | null | undefined, to?: PromiseOrValue<string> | null | undefined): OwnershipTransferredEventFilter;
|
|
273
|
+
AnswerUpdated(current?: BigNumberish | null, roundId?: BigNumberish | null, updatedAt?: null): import("ethers").DeferredTopicFilter;
|
|
274
|
+
NewRound(roundId?: BigNumberish | null, startedBy?: string | null, startedAt?: null): import("ethers").DeferredTopicFilter;
|
|
275
|
+
OwnershipTransferRequested(from?: string | null, to?: string | null): import("ethers").DeferredTopicFilter;
|
|
276
|
+
OwnershipTransferred(from?: string | null, to?: string | null): import("ethers").DeferredTopicFilter;
|
|
291
277
|
};
|
|
292
278
|
protected CreateBoundContractView(): EACAggregatorProxyBoundContractView;
|
|
293
279
|
static bind(options: BindOptions): EACAggregatorProxyProcessor;
|
|
294
280
|
}
|
|
281
|
+
export declare class EACAggregatorProxyProcessorTemplate extends BaseProcessorTemplate<EACAggregatorProxy, EACAggregatorProxyBoundContractView> {
|
|
282
|
+
bindInternal(options: BindOptions): EACAggregatorProxyProcessor;
|
|
283
|
+
onEventAnswerUpdated(handler: (event: AnswerUpdatedEvent, ctx: EACAggregatorProxyContext) => void, filter?: AnswerUpdatedEventFilter | AnswerUpdatedEventFilter[], fetchConfig?: EthFetchConfig): this;
|
|
284
|
+
onEventNewRound(handler: (event: NewRoundEvent, ctx: EACAggregatorProxyContext) => void, filter?: NewRoundEventFilter | NewRoundEventFilter[], fetchConfig?: EthFetchConfig): this;
|
|
285
|
+
onEventOwnershipTransferRequested(handler: (event: OwnershipTransferRequestedEvent, ctx: EACAggregatorProxyContext) => void, filter?: OwnershipTransferRequestedEventFilter | OwnershipTransferRequestedEventFilter[], fetchConfig?: EthFetchConfig): this;
|
|
286
|
+
onEventOwnershipTransferred(handler: (event: OwnershipTransferredEvent, ctx: EACAggregatorProxyContext) => void, filter?: OwnershipTransferredEventFilter | OwnershipTransferredEventFilter[], fetchConfig?: EthFetchConfig): this;
|
|
287
|
+
}
|
|
295
288
|
export declare function getEACAggregatorProxyContract(address: string, network?: Networkish): EACAggregatorProxyContractView;
|