@gearbox-protocol/sdk 3.0.0-next.74 → 3.0.0-next.76

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 (72) hide show
  1. package/contracts/index.sol +5 -1
  2. package/lib/core/creditAccount.d.ts +0 -1
  3. package/lib/core/creditAccount.js +0 -2
  4. package/lib/core/creditManager.d.ts +1 -0
  5. package/lib/core/creditManager.js +6 -0
  6. package/lib/types/CalldataExtractor.d.ts +44 -0
  7. package/lib/types/CalldataExtractor.js +2 -0
  8. package/lib/types/ERC20.d.ts +198 -0
  9. package/lib/types/ERC20.js +2 -0
  10. package/lib/types/IDataCompressorV2_10.d.ts +1 -4
  11. package/lib/types/IDataCompressorV3_00.d.ts +1 -4
  12. package/lib/types/NumericArrayLib.d.ts +27 -0
  13. package/lib/types/NumericArrayLib.js +2 -0
  14. package/lib/types/RedstoneConstants.d.ts +27 -0
  15. package/lib/types/RedstoneConstants.js +2 -0
  16. package/lib/types/RedstoneConsumerBase.d.ts +84 -0
  17. package/lib/types/RedstoneConsumerBase.js +2 -0
  18. package/lib/types/RedstoneConsumerNumericBase.d.ts +84 -0
  19. package/lib/types/RedstoneConsumerNumericBase.js +2 -0
  20. package/lib/types/RedstoneDefaultsLib.d.ts +27 -0
  21. package/lib/types/RedstoneDefaultsLib.js +2 -0
  22. package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedEvents.d.ts +39 -0
  23. package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedEvents.js +2 -0
  24. package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions.d.ts +27 -0
  25. package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions.js +2 -0
  26. package/lib/types/RedstonePriceFeed.sol/RedstonePriceFeed.d.ts +279 -0
  27. package/lib/types/RedstonePriceFeed.sol/RedstonePriceFeed.js +2 -0
  28. package/lib/types/RedstonePriceFeed.sol/index.d.ts +3 -0
  29. package/lib/types/RedstonePriceFeed.sol/index.js +2 -0
  30. package/lib/types/factories/AddressProvider__factory.d.ts +1 -1
  31. package/lib/types/factories/AddressProvider__factory.js +1 -1
  32. package/lib/types/factories/Balances.sol/BalanceOps__factory.d.ts +1 -1
  33. package/lib/types/factories/Balances.sol/BalanceOps__factory.js +1 -1
  34. package/lib/types/factories/CalldataExtractor__factory.d.ts +87 -0
  35. package/lib/types/factories/CalldataExtractor__factory.js +127 -0
  36. package/lib/types/factories/Claimable__factory.d.ts +1 -1
  37. package/lib/types/factories/Claimable__factory.js +1 -1
  38. package/lib/types/factories/ERC20__factory.d.ts +239 -0
  39. package/lib/types/factories/ERC20__factory.js +328 -0
  40. package/lib/types/factories/Errors__factory.d.ts +1 -1
  41. package/lib/types/factories/Errors__factory.js +1 -1
  42. package/lib/types/factories/FarmAccounting__factory.d.ts +1 -1
  43. package/lib/types/factories/FarmAccounting__factory.js +1 -1
  44. package/lib/types/factories/IDataCompressorV2_10__factory.d.ts +0 -8
  45. package/lib/types/factories/IDataCompressorV2_10__factory.js +0 -10
  46. package/lib/types/factories/IDataCompressorV3_00__factory.d.ts +0 -16
  47. package/lib/types/factories/IDataCompressorV3_00__factory.js +0 -20
  48. package/lib/types/factories/NumericArrayLib__factory.d.ts +25 -0
  49. package/lib/types/factories/NumericArrayLib__factory.js +47 -0
  50. package/lib/types/factories/RedstoneConstants__factory.d.ts +65 -0
  51. package/lib/types/factories/RedstoneConstants__factory.js +99 -0
  52. package/lib/types/factories/RedstoneConsumerBase__factory.d.ts +164 -0
  53. package/lib/types/factories/RedstoneConsumerBase__factory.js +223 -0
  54. package/lib/types/factories/RedstoneConsumerNumericBase__factory.d.ts +164 -0
  55. package/lib/types/factories/RedstoneConsumerNumericBase__factory.js +223 -0
  56. package/lib/types/factories/RedstoneDefaultsLib__factory.d.ts +45 -0
  57. package/lib/types/factories/RedstoneDefaultsLib__factory.js +74 -0
  58. package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.d.ts +18 -0
  59. package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.js +32 -0
  60. package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.d.ts +28 -0
  61. package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.js +44 -0
  62. package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.d.ts +443 -0
  63. package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.js +589 -0
  64. package/lib/types/factories/RedstonePriceFeed.sol/index.d.ts +3 -0
  65. package/lib/types/factories/RedstonePriceFeed.sol/index.js +12 -0
  66. package/lib/types/factories/SafeERC20__factory.d.ts +1 -1
  67. package/lib/types/factories/SafeERC20__factory.js +1 -1
  68. package/lib/types/factories/index.d.ts +8 -0
  69. package/lib/types/factories/index.js +17 -2
  70. package/lib/types/index.d.ts +22 -0
  71. package/lib/types/index.js +23 -3
  72. package/package.json +7 -6
@@ -0,0 +1,65 @@
1
+ import { Signer, ContractFactory, Overrides } from "ethers";
2
+ import type { Provider, TransactionRequest } from "@ethersproject/providers";
3
+ import type { PromiseOrValue } from "../common";
4
+ import type { RedstoneConstants, RedstoneConstantsInterface } from "../RedstoneConstants";
5
+ type RedstoneConstantsConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
6
+ export declare class RedstoneConstants__factory extends ContractFactory {
7
+ constructor(...args: RedstoneConstantsConstructorParams);
8
+ deploy(overrides?: Overrides & {
9
+ from?: PromiseOrValue<string>;
10
+ }): Promise<RedstoneConstants>;
11
+ getDeployTransaction(overrides?: Overrides & {
12
+ from?: PromiseOrValue<string>;
13
+ }): TransactionRequest;
14
+ attach(address: string): RedstoneConstants;
15
+ connect(signer: Signer): RedstoneConstants__factory;
16
+ static readonly bytecode = "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea2646970667358221220dfe119796083df6ee2aec149b65f917714a05bf90d6da999947fdf4b3b266e6e64736f6c63430008110033";
17
+ static readonly abi: readonly [{
18
+ readonly inputs: readonly [];
19
+ readonly name: "CalldataMustHaveValidPayload";
20
+ readonly type: "error";
21
+ }, {
22
+ readonly inputs: readonly [];
23
+ readonly name: "CalldataOverOrUnderFlow";
24
+ readonly type: "error";
25
+ }, {
26
+ readonly inputs: readonly [];
27
+ readonly name: "EachSignerMustProvideTheSameValue";
28
+ readonly type: "error";
29
+ }, {
30
+ readonly inputs: readonly [];
31
+ readonly name: "EmptyCalldataPointersArr";
32
+ readonly type: "error";
33
+ }, {
34
+ readonly inputs: readonly [];
35
+ readonly name: "IncorrectUnsignedMetadataSize";
36
+ readonly type: "error";
37
+ }, {
38
+ readonly inputs: readonly [{
39
+ readonly internalType: "uint256";
40
+ readonly name: "receivedSignersCount";
41
+ readonly type: "uint256";
42
+ }, {
43
+ readonly internalType: "uint256";
44
+ readonly name: "requiredSignersCount";
45
+ readonly type: "uint256";
46
+ }];
47
+ readonly name: "InsufficientNumberOfUniqueSigners";
48
+ readonly type: "error";
49
+ }, {
50
+ readonly inputs: readonly [];
51
+ readonly name: "InvalidCalldataPointer";
52
+ readonly type: "error";
53
+ }, {
54
+ readonly inputs: readonly [{
55
+ readonly internalType: "address";
56
+ readonly name: "receivedSigner";
57
+ readonly type: "address";
58
+ }];
59
+ readonly name: "SignerNotAuthorised";
60
+ readonly type: "error";
61
+ }];
62
+ static createInterface(): RedstoneConstantsInterface;
63
+ static connect(address: string, signerOrProvider: Signer | Provider): RedstoneConstants;
64
+ }
65
+ export {};
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RedstoneConstants__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [],
11
+ name: "CalldataMustHaveValidPayload",
12
+ type: "error",
13
+ },
14
+ {
15
+ inputs: [],
16
+ name: "CalldataOverOrUnderFlow",
17
+ type: "error",
18
+ },
19
+ {
20
+ inputs: [],
21
+ name: "EachSignerMustProvideTheSameValue",
22
+ type: "error",
23
+ },
24
+ {
25
+ inputs: [],
26
+ name: "EmptyCalldataPointersArr",
27
+ type: "error",
28
+ },
29
+ {
30
+ inputs: [],
31
+ name: "IncorrectUnsignedMetadataSize",
32
+ type: "error",
33
+ },
34
+ {
35
+ inputs: [
36
+ {
37
+ internalType: "uint256",
38
+ name: "receivedSignersCount",
39
+ type: "uint256",
40
+ },
41
+ {
42
+ internalType: "uint256",
43
+ name: "requiredSignersCount",
44
+ type: "uint256",
45
+ },
46
+ ],
47
+ name: "InsufficientNumberOfUniqueSigners",
48
+ type: "error",
49
+ },
50
+ {
51
+ inputs: [],
52
+ name: "InvalidCalldataPointer",
53
+ type: "error",
54
+ },
55
+ {
56
+ inputs: [
57
+ {
58
+ internalType: "address",
59
+ name: "receivedSigner",
60
+ type: "address",
61
+ },
62
+ ],
63
+ name: "SignerNotAuthorised",
64
+ type: "error",
65
+ },
66
+ ];
67
+ const _bytecode = "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea2646970667358221220dfe119796083df6ee2aec149b65f917714a05bf90d6da999947fdf4b3b266e6e64736f6c63430008110033";
68
+ const isSuperArgs = (xs) => xs.length > 1;
69
+ class RedstoneConstants__factory extends ethers_1.ContractFactory {
70
+ constructor(...args) {
71
+ if (isSuperArgs(args)) {
72
+ super(...args);
73
+ }
74
+ else {
75
+ super(_abi, _bytecode, args[0]);
76
+ }
77
+ }
78
+ deploy(overrides) {
79
+ return super.deploy(overrides || {});
80
+ }
81
+ getDeployTransaction(overrides) {
82
+ return super.getDeployTransaction(overrides || {});
83
+ }
84
+ attach(address) {
85
+ return super.attach(address);
86
+ }
87
+ connect(signer) {
88
+ return super.connect(signer);
89
+ }
90
+ static bytecode = _bytecode;
91
+ static abi = _abi;
92
+ static createInterface() {
93
+ return new ethers_1.utils.Interface(_abi);
94
+ }
95
+ static connect(address, signerOrProvider) {
96
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
97
+ }
98
+ }
99
+ exports.RedstoneConstants__factory = RedstoneConstants__factory;
@@ -0,0 +1,164 @@
1
+ import { Signer } from "ethers";
2
+ import type { Provider } from "@ethersproject/providers";
3
+ import type { RedstoneConsumerBase, RedstoneConsumerBaseInterface } from "../RedstoneConsumerBase";
4
+ export declare class RedstoneConsumerBase__factory {
5
+ static readonly abi: readonly [{
6
+ readonly inputs: readonly [];
7
+ readonly name: "CalldataMustHaveValidPayload";
8
+ readonly type: "error";
9
+ }, {
10
+ readonly inputs: readonly [];
11
+ readonly name: "CalldataOverOrUnderFlow";
12
+ readonly type: "error";
13
+ }, {
14
+ readonly inputs: readonly [];
15
+ readonly name: "CanNotPickMedianOfEmptyArray";
16
+ readonly type: "error";
17
+ }, {
18
+ readonly inputs: readonly [];
19
+ readonly name: "DataPackageTimestampMustNotBeZero";
20
+ readonly type: "error";
21
+ }, {
22
+ readonly inputs: readonly [];
23
+ readonly name: "DataPackageTimestampsMustBeEqual";
24
+ readonly type: "error";
25
+ }, {
26
+ readonly inputs: readonly [];
27
+ readonly name: "EachSignerMustProvideTheSameValue";
28
+ readonly type: "error";
29
+ }, {
30
+ readonly inputs: readonly [];
31
+ readonly name: "EmptyCalldataPointersArr";
32
+ readonly type: "error";
33
+ }, {
34
+ readonly inputs: readonly [];
35
+ readonly name: "GetDataServiceIdNotImplemented";
36
+ readonly type: "error";
37
+ }, {
38
+ readonly inputs: readonly [];
39
+ readonly name: "IncorrectUnsignedMetadataSize";
40
+ readonly type: "error";
41
+ }, {
42
+ readonly inputs: readonly [{
43
+ readonly internalType: "uint256";
44
+ readonly name: "receivedSignersCount";
45
+ readonly type: "uint256";
46
+ }, {
47
+ readonly internalType: "uint256";
48
+ readonly name: "requiredSignersCount";
49
+ readonly type: "uint256";
50
+ }];
51
+ readonly name: "InsufficientNumberOfUniqueSigners";
52
+ readonly type: "error";
53
+ }, {
54
+ readonly inputs: readonly [];
55
+ readonly name: "InvalidCalldataPointer";
56
+ readonly type: "error";
57
+ }, {
58
+ readonly inputs: readonly [];
59
+ readonly name: "RedstonePayloadMustHaveAtLeastOneDataPackage";
60
+ readonly type: "error";
61
+ }, {
62
+ readonly inputs: readonly [{
63
+ readonly internalType: "address";
64
+ readonly name: "receivedSigner";
65
+ readonly type: "address";
66
+ }];
67
+ readonly name: "SignerNotAuthorised";
68
+ readonly type: "error";
69
+ }, {
70
+ readonly inputs: readonly [{
71
+ readonly internalType: "uint256";
72
+ readonly name: "receivedTimestampSeconds";
73
+ readonly type: "uint256";
74
+ }, {
75
+ readonly internalType: "uint256";
76
+ readonly name: "blockTimestamp";
77
+ readonly type: "uint256";
78
+ }];
79
+ readonly name: "TimestampFromTooLongFuture";
80
+ readonly type: "error";
81
+ }, {
82
+ readonly inputs: readonly [{
83
+ readonly internalType: "uint256";
84
+ readonly name: "receivedTimestampSeconds";
85
+ readonly type: "uint256";
86
+ }, {
87
+ readonly internalType: "uint256";
88
+ readonly name: "blockTimestamp";
89
+ readonly type: "uint256";
90
+ }];
91
+ readonly name: "TimestampIsTooOld";
92
+ readonly type: "error";
93
+ }, {
94
+ readonly inputs: readonly [{
95
+ readonly internalType: "uint256[]";
96
+ readonly name: "values";
97
+ readonly type: "uint256[]";
98
+ }];
99
+ readonly name: "aggregateValues";
100
+ readonly outputs: readonly [{
101
+ readonly internalType: "uint256";
102
+ readonly name: "";
103
+ readonly type: "uint256";
104
+ }];
105
+ readonly stateMutability: "view";
106
+ readonly type: "function";
107
+ }, {
108
+ readonly inputs: readonly [];
109
+ readonly name: "extractTimestampsAndAssertAllAreEqual";
110
+ readonly outputs: readonly [{
111
+ readonly internalType: "uint256";
112
+ readonly name: "extractedTimestamp";
113
+ readonly type: "uint256";
114
+ }];
115
+ readonly stateMutability: "pure";
116
+ readonly type: "function";
117
+ }, {
118
+ readonly inputs: readonly [{
119
+ readonly internalType: "address";
120
+ readonly name: "receivedSigner";
121
+ readonly type: "address";
122
+ }];
123
+ readonly name: "getAuthorisedSignerIndex";
124
+ readonly outputs: readonly [{
125
+ readonly internalType: "uint8";
126
+ readonly name: "";
127
+ readonly type: "uint8";
128
+ }];
129
+ readonly stateMutability: "view";
130
+ readonly type: "function";
131
+ }, {
132
+ readonly inputs: readonly [];
133
+ readonly name: "getDataServiceId";
134
+ readonly outputs: readonly [{
135
+ readonly internalType: "string";
136
+ readonly name: "";
137
+ readonly type: "string";
138
+ }];
139
+ readonly stateMutability: "view";
140
+ readonly type: "function";
141
+ }, {
142
+ readonly inputs: readonly [];
143
+ readonly name: "getUniqueSignersThreshold";
144
+ readonly outputs: readonly [{
145
+ readonly internalType: "uint8";
146
+ readonly name: "";
147
+ readonly type: "uint8";
148
+ }];
149
+ readonly stateMutability: "view";
150
+ readonly type: "function";
151
+ }, {
152
+ readonly inputs: readonly [{
153
+ readonly internalType: "uint256";
154
+ readonly name: "receivedTimestampMilliseconds";
155
+ readonly type: "uint256";
156
+ }];
157
+ readonly name: "validateTimestamp";
158
+ readonly outputs: readonly [];
159
+ readonly stateMutability: "view";
160
+ readonly type: "function";
161
+ }];
162
+ static createInterface(): RedstoneConsumerBaseInterface;
163
+ static connect(address: string, signerOrProvider: Signer | Provider): RedstoneConsumerBase;
164
+ }
@@ -0,0 +1,223 @@
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.RedstoneConsumerBase__factory = void 0;
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [],
11
+ name: "CalldataMustHaveValidPayload",
12
+ type: "error",
13
+ },
14
+ {
15
+ inputs: [],
16
+ name: "CalldataOverOrUnderFlow",
17
+ type: "error",
18
+ },
19
+ {
20
+ inputs: [],
21
+ name: "CanNotPickMedianOfEmptyArray",
22
+ type: "error",
23
+ },
24
+ {
25
+ inputs: [],
26
+ name: "DataPackageTimestampMustNotBeZero",
27
+ type: "error",
28
+ },
29
+ {
30
+ inputs: [],
31
+ name: "DataPackageTimestampsMustBeEqual",
32
+ type: "error",
33
+ },
34
+ {
35
+ inputs: [],
36
+ name: "EachSignerMustProvideTheSameValue",
37
+ type: "error",
38
+ },
39
+ {
40
+ inputs: [],
41
+ name: "EmptyCalldataPointersArr",
42
+ type: "error",
43
+ },
44
+ {
45
+ inputs: [],
46
+ name: "GetDataServiceIdNotImplemented",
47
+ type: "error",
48
+ },
49
+ {
50
+ inputs: [],
51
+ name: "IncorrectUnsignedMetadataSize",
52
+ type: "error",
53
+ },
54
+ {
55
+ inputs: [
56
+ {
57
+ internalType: "uint256",
58
+ name: "receivedSignersCount",
59
+ type: "uint256",
60
+ },
61
+ {
62
+ internalType: "uint256",
63
+ name: "requiredSignersCount",
64
+ type: "uint256",
65
+ },
66
+ ],
67
+ name: "InsufficientNumberOfUniqueSigners",
68
+ type: "error",
69
+ },
70
+ {
71
+ inputs: [],
72
+ name: "InvalidCalldataPointer",
73
+ type: "error",
74
+ },
75
+ {
76
+ inputs: [],
77
+ name: "RedstonePayloadMustHaveAtLeastOneDataPackage",
78
+ type: "error",
79
+ },
80
+ {
81
+ inputs: [
82
+ {
83
+ internalType: "address",
84
+ name: "receivedSigner",
85
+ type: "address",
86
+ },
87
+ ],
88
+ name: "SignerNotAuthorised",
89
+ type: "error",
90
+ },
91
+ {
92
+ inputs: [
93
+ {
94
+ internalType: "uint256",
95
+ name: "receivedTimestampSeconds",
96
+ type: "uint256",
97
+ },
98
+ {
99
+ internalType: "uint256",
100
+ name: "blockTimestamp",
101
+ type: "uint256",
102
+ },
103
+ ],
104
+ name: "TimestampFromTooLongFuture",
105
+ type: "error",
106
+ },
107
+ {
108
+ inputs: [
109
+ {
110
+ internalType: "uint256",
111
+ name: "receivedTimestampSeconds",
112
+ type: "uint256",
113
+ },
114
+ {
115
+ internalType: "uint256",
116
+ name: "blockTimestamp",
117
+ type: "uint256",
118
+ },
119
+ ],
120
+ name: "TimestampIsTooOld",
121
+ type: "error",
122
+ },
123
+ {
124
+ inputs: [
125
+ {
126
+ internalType: "uint256[]",
127
+ name: "values",
128
+ type: "uint256[]",
129
+ },
130
+ ],
131
+ name: "aggregateValues",
132
+ outputs: [
133
+ {
134
+ internalType: "uint256",
135
+ name: "",
136
+ type: "uint256",
137
+ },
138
+ ],
139
+ stateMutability: "view",
140
+ type: "function",
141
+ },
142
+ {
143
+ inputs: [],
144
+ name: "extractTimestampsAndAssertAllAreEqual",
145
+ outputs: [
146
+ {
147
+ internalType: "uint256",
148
+ name: "extractedTimestamp",
149
+ type: "uint256",
150
+ },
151
+ ],
152
+ stateMutability: "pure",
153
+ type: "function",
154
+ },
155
+ {
156
+ inputs: [
157
+ {
158
+ internalType: "address",
159
+ name: "receivedSigner",
160
+ type: "address",
161
+ },
162
+ ],
163
+ name: "getAuthorisedSignerIndex",
164
+ outputs: [
165
+ {
166
+ internalType: "uint8",
167
+ name: "",
168
+ type: "uint8",
169
+ },
170
+ ],
171
+ stateMutability: "view",
172
+ type: "function",
173
+ },
174
+ {
175
+ inputs: [],
176
+ name: "getDataServiceId",
177
+ outputs: [
178
+ {
179
+ internalType: "string",
180
+ name: "",
181
+ type: "string",
182
+ },
183
+ ],
184
+ stateMutability: "view",
185
+ type: "function",
186
+ },
187
+ {
188
+ inputs: [],
189
+ name: "getUniqueSignersThreshold",
190
+ outputs: [
191
+ {
192
+ internalType: "uint8",
193
+ name: "",
194
+ type: "uint8",
195
+ },
196
+ ],
197
+ stateMutability: "view",
198
+ type: "function",
199
+ },
200
+ {
201
+ inputs: [
202
+ {
203
+ internalType: "uint256",
204
+ name: "receivedTimestampMilliseconds",
205
+ type: "uint256",
206
+ },
207
+ ],
208
+ name: "validateTimestamp",
209
+ outputs: [],
210
+ stateMutability: "view",
211
+ type: "function",
212
+ },
213
+ ];
214
+ class RedstoneConsumerBase__factory {
215
+ static abi = _abi;
216
+ static createInterface() {
217
+ return new ethers_1.utils.Interface(_abi);
218
+ }
219
+ static connect(address, signerOrProvider) {
220
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
221
+ }
222
+ }
223
+ exports.RedstoneConsumerBase__factory = RedstoneConsumerBase__factory;