@gearbox-protocol/sdk 1.8.8 → 1.8.10

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 (35) hide show
  1. package/lib/contracts/contractsRegister.js +1 -0
  2. package/lib/index.d.ts +1 -1
  3. package/lib/index.js +2 -3
  4. package/lib/pathfinder/pathOptions.d.ts +4 -0
  5. package/lib/pathfinder/pathOptions.js +68 -11
  6. package/lib/pathfinder/pathOptions.spec.js +53 -0
  7. package/lib/types/contracts/integrations/lido/IwstETHGateway.sol/IwstETHGateWay.d.ts +66 -0
  8. package/lib/types/contracts/integrations/lido/IwstETHGateway.sol/IwstETHGateWay.js +2 -0
  9. package/lib/types/contracts/integrations/lido/IwstETHGateway.sol/index.d.ts +1 -0
  10. package/lib/types/contracts/integrations/lido/IwstETHGateway.sol/index.js +2 -0
  11. package/lib/types/contracts/integrations/lido/index.d.ts +2 -0
  12. package/lib/types/contracts/interfaces/adapters/lido/IwstETHV1Adapter.d.ts +9 -1
  13. package/lib/types/contracts/pathfinder/interfaces/IPathFinder.d.ts +0 -11
  14. package/lib/types/contracts/pathfinder/interfaces/IWrapper.d.ts +152 -0
  15. package/lib/types/contracts/pathfinder/interfaces/IWrapper.js +2 -0
  16. package/lib/types/contracts/pathfinder/interfaces/index.d.ts +1 -0
  17. package/lib/types/contracts/test/suites/live/ITokenTestSuite.d.ts +1 -49
  18. package/lib/types/factories/contracts/integrations/lido/IwstETHGateway.sol/IwstETHGateWay__factory.d.ts +28 -0
  19. package/lib/types/factories/contracts/integrations/lido/IwstETHGateway.sol/IwstETHGateWay__factory.js +74 -0
  20. package/lib/types/factories/contracts/integrations/lido/IwstETHGateway.sol/index.d.ts +1 -0
  21. package/lib/types/factories/contracts/integrations/lido/IwstETHGateway.sol/index.js +8 -0
  22. package/lib/types/factories/contracts/integrations/lido/index.d.ts +1 -0
  23. package/lib/types/factories/contracts/integrations/lido/index.js +2 -1
  24. package/lib/types/factories/contracts/interfaces/adapters/lido/IwstETHV1Adapter__factory.js +13 -0
  25. package/lib/types/factories/contracts/pathfinder/interfaces/IPathFinder__factory.js +0 -13
  26. package/lib/types/factories/contracts/pathfinder/interfaces/IWrapper__factory.d.ts +61 -0
  27. package/lib/types/factories/contracts/pathfinder/interfaces/IWrapper__factory.js +296 -0
  28. package/lib/types/factories/contracts/pathfinder/interfaces/index.d.ts +1 -0
  29. package/lib/types/factories/contracts/pathfinder/interfaces/index.js +3 -1
  30. package/lib/types/factories/contracts/support/MultiCall.sol/Multicall2__factory.d.ts +1 -1
  31. package/lib/types/factories/contracts/support/MultiCall.sol/Multicall2__factory.js +1 -1
  32. package/lib/types/factories/contracts/test/suites/live/ITokenTestSuite__factory.js +0 -69
  33. package/lib/types/index.d.ts +4 -0
  34. package/lib/types/index.js +7 -3
  35. package/package.json +1 -1
@@ -8,29 +8,23 @@ export interface ITokenTestSuiteInterface extends utils.Interface {
8
8
  "approve(uint8,address,address,uint256)": FunctionFragment;
9
9
  "approve(uint8,address,address)": FunctionFragment;
10
10
  "approve(address,address,address)": FunctionFragment;
11
- "approveMany(uint8[],address,uint8)": FunctionFragment;
12
11
  "balanceOf(uint8,address)": FunctionFragment;
13
12
  "mint(address,address,uint256)": FunctionFragment;
14
13
  "mint(uint8,address,uint256)": FunctionFragment;
15
- "mintWithTotalSupply(address,address,uint256)": FunctionFragment;
16
- "mintWithTotalSupply(uint8,address,uint256)": FunctionFragment;
17
14
  "symbols(uint8)": FunctionFragment;
18
15
  "tokenCount()": FunctionFragment;
19
16
  "tokenIndexes(address)": FunctionFragment;
20
17
  "tokenTypes(uint8)": FunctionFragment;
21
18
  "topUpWETH(address,uint256)": FunctionFragment;
22
19
  };
23
- getFunction(nameOrSignatureOrTopic: "addressOf" | "approve(uint8,address,address,uint256)" | "approve(uint8,address,address)" | "approve(address,address,address)" | "approveMany" | "balanceOf" | "mint(address,address,uint256)" | "mint(uint8,address,uint256)" | "mintWithTotalSupply(address,address,uint256)" | "mintWithTotalSupply(uint8,address,uint256)" | "symbols" | "tokenCount" | "tokenIndexes" | "tokenTypes" | "topUpWETH"): FunctionFragment;
20
+ getFunction(nameOrSignatureOrTopic: "addressOf" | "approve(uint8,address,address,uint256)" | "approve(uint8,address,address)" | "approve(address,address,address)" | "balanceOf" | "mint(address,address,uint256)" | "mint(uint8,address,uint256)" | "symbols" | "tokenCount" | "tokenIndexes" | "tokenTypes" | "topUpWETH"): FunctionFragment;
24
21
  encodeFunctionData(functionFragment: "addressOf", values: [BigNumberish]): string;
25
22
  encodeFunctionData(functionFragment: "approve(uint8,address,address,uint256)", values: [BigNumberish, string, string, BigNumberish]): string;
26
23
  encodeFunctionData(functionFragment: "approve(uint8,address,address)", values: [BigNumberish, string, string]): string;
27
24
  encodeFunctionData(functionFragment: "approve(address,address,address)", values: [string, string, string]): string;
28
- encodeFunctionData(functionFragment: "approveMany", values: [BigNumberish[], string, BigNumberish]): string;
29
25
  encodeFunctionData(functionFragment: "balanceOf", values: [BigNumberish, string]): string;
30
26
  encodeFunctionData(functionFragment: "mint(address,address,uint256)", values: [string, string, BigNumberish]): string;
31
27
  encodeFunctionData(functionFragment: "mint(uint8,address,uint256)", values: [BigNumberish, string, BigNumberish]): string;
32
- encodeFunctionData(functionFragment: "mintWithTotalSupply(address,address,uint256)", values: [string, string, BigNumberish]): string;
33
- encodeFunctionData(functionFragment: "mintWithTotalSupply(uint8,address,uint256)", values: [BigNumberish, string, BigNumberish]): string;
34
28
  encodeFunctionData(functionFragment: "symbols", values: [BigNumberish]): string;
35
29
  encodeFunctionData(functionFragment: "tokenCount", values?: undefined): string;
36
30
  encodeFunctionData(functionFragment: "tokenIndexes", values: [string]): string;
@@ -40,12 +34,9 @@ export interface ITokenTestSuiteInterface extends utils.Interface {
40
34
  decodeFunctionResult(functionFragment: "approve(uint8,address,address,uint256)", data: BytesLike): Result;
41
35
  decodeFunctionResult(functionFragment: "approve(uint8,address,address)", data: BytesLike): Result;
42
36
  decodeFunctionResult(functionFragment: "approve(address,address,address)", data: BytesLike): Result;
43
- decodeFunctionResult(functionFragment: "approveMany", data: BytesLike): Result;
44
37
  decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
45
38
  decodeFunctionResult(functionFragment: "mint(address,address,uint256)", data: BytesLike): Result;
46
39
  decodeFunctionResult(functionFragment: "mint(uint8,address,uint256)", data: BytesLike): Result;
47
- decodeFunctionResult(functionFragment: "mintWithTotalSupply(address,address,uint256)", data: BytesLike): Result;
48
- decodeFunctionResult(functionFragment: "mintWithTotalSupply(uint8,address,uint256)", data: BytesLike): Result;
49
40
  decodeFunctionResult(functionFragment: "symbols", data: BytesLike): Result;
50
41
  decodeFunctionResult(functionFragment: "tokenCount", data: BytesLike): Result;
51
42
  decodeFunctionResult(functionFragment: "tokenIndexes", data: BytesLike): Result;
@@ -78,9 +69,6 @@ export interface ITokenTestSuite extends BaseContract {
78
69
  "approve(address,address,address)"(token: string, holder: string, targetContract: string, overrides?: Overrides & {
79
70
  from?: string | Promise<string>;
80
71
  }): Promise<ContractTransaction>;
81
- approveMany(tokensToApprove: BigNumberish[], holder: string, targetContract: BigNumberish, overrides?: Overrides & {
82
- from?: string | Promise<string>;
83
- }): Promise<ContractTransaction>;
84
72
  balanceOf(t: BigNumberish, holder: string, overrides?: CallOverrides): Promise<[BigNumber] & {
85
73
  balance: BigNumber;
86
74
  }>;
@@ -90,12 +78,6 @@ export interface ITokenTestSuite extends BaseContract {
90
78
  "mint(uint8,address,uint256)"(t: BigNumberish, to: string, amount: BigNumberish, overrides?: Overrides & {
91
79
  from?: string | Promise<string>;
92
80
  }): Promise<ContractTransaction>;
93
- "mintWithTotalSupply(address,address,uint256)"(token: string, to: string, amount: BigNumberish, overrides?: Overrides & {
94
- from?: string | Promise<string>;
95
- }): Promise<ContractTransaction>;
96
- "mintWithTotalSupply(uint8,address,uint256)"(t: BigNumberish, to: string, amount: BigNumberish, overrides?: Overrides & {
97
- from?: string | Promise<string>;
98
- }): Promise<ContractTransaction>;
99
81
  symbols(t: BigNumberish, overrides?: CallOverrides): Promise<[string]>;
100
82
  tokenCount(overrides?: CallOverrides): Promise<[BigNumber]>;
101
83
  tokenIndexes(arg0: string, overrides?: CallOverrides): Promise<[number] & {
@@ -116,9 +98,6 @@ export interface ITokenTestSuite extends BaseContract {
116
98
  "approve(address,address,address)"(token: string, holder: string, targetContract: string, overrides?: Overrides & {
117
99
  from?: string | Promise<string>;
118
100
  }): Promise<ContractTransaction>;
119
- approveMany(tokensToApprove: BigNumberish[], holder: string, targetContract: BigNumberish, overrides?: Overrides & {
120
- from?: string | Promise<string>;
121
- }): Promise<ContractTransaction>;
122
101
  balanceOf(t: BigNumberish, holder: string, overrides?: CallOverrides): Promise<BigNumber>;
123
102
  "mint(address,address,uint256)"(token: string, to: string, amount: BigNumberish, overrides?: Overrides & {
124
103
  from?: string | Promise<string>;
@@ -126,12 +105,6 @@ export interface ITokenTestSuite extends BaseContract {
126
105
  "mint(uint8,address,uint256)"(t: BigNumberish, to: string, amount: BigNumberish, overrides?: Overrides & {
127
106
  from?: string | Promise<string>;
128
107
  }): Promise<ContractTransaction>;
129
- "mintWithTotalSupply(address,address,uint256)"(token: string, to: string, amount: BigNumberish, overrides?: Overrides & {
130
- from?: string | Promise<string>;
131
- }): Promise<ContractTransaction>;
132
- "mintWithTotalSupply(uint8,address,uint256)"(t: BigNumberish, to: string, amount: BigNumberish, overrides?: Overrides & {
133
- from?: string | Promise<string>;
134
- }): Promise<ContractTransaction>;
135
108
  symbols(t: BigNumberish, overrides?: CallOverrides): Promise<string>;
136
109
  tokenCount(overrides?: CallOverrides): Promise<BigNumber>;
137
110
  tokenIndexes(arg0: string, overrides?: CallOverrides): Promise<number>;
@@ -144,12 +117,9 @@ export interface ITokenTestSuite extends BaseContract {
144
117
  "approve(uint8,address,address,uint256)"(t: BigNumberish, holder: string, targetContract: string, amount: BigNumberish, overrides?: CallOverrides): Promise<void>;
145
118
  "approve(uint8,address,address)"(t: BigNumberish, holder: string, targetContract: string, overrides?: CallOverrides): Promise<void>;
146
119
  "approve(address,address,address)"(token: string, holder: string, targetContract: string, overrides?: CallOverrides): Promise<void>;
147
- approveMany(tokensToApprove: BigNumberish[], holder: string, targetContract: BigNumberish, overrides?: CallOverrides): Promise<void>;
148
120
  balanceOf(t: BigNumberish, holder: string, overrides?: CallOverrides): Promise<BigNumber>;
149
121
  "mint(address,address,uint256)"(token: string, to: string, amount: BigNumberish, overrides?: CallOverrides): Promise<void>;
150
122
  "mint(uint8,address,uint256)"(t: BigNumberish, to: string, amount: BigNumberish, overrides?: CallOverrides): Promise<void>;
151
- "mintWithTotalSupply(address,address,uint256)"(token: string, to: string, amount: BigNumberish, overrides?: CallOverrides): Promise<void>;
152
- "mintWithTotalSupply(uint8,address,uint256)"(t: BigNumberish, to: string, amount: BigNumberish, overrides?: CallOverrides): Promise<void>;
153
123
  symbols(t: BigNumberish, overrides?: CallOverrides): Promise<string>;
154
124
  tokenCount(overrides?: CallOverrides): Promise<BigNumber>;
155
125
  tokenIndexes(arg0: string, overrides?: CallOverrides): Promise<number>;
@@ -168,9 +138,6 @@ export interface ITokenTestSuite extends BaseContract {
168
138
  "approve(address,address,address)"(token: string, holder: string, targetContract: string, overrides?: Overrides & {
169
139
  from?: string | Promise<string>;
170
140
  }): Promise<BigNumber>;
171
- approveMany(tokensToApprove: BigNumberish[], holder: string, targetContract: BigNumberish, overrides?: Overrides & {
172
- from?: string | Promise<string>;
173
- }): Promise<BigNumber>;
174
141
  balanceOf(t: BigNumberish, holder: string, overrides?: CallOverrides): Promise<BigNumber>;
175
142
  "mint(address,address,uint256)"(token: string, to: string, amount: BigNumberish, overrides?: Overrides & {
176
143
  from?: string | Promise<string>;
@@ -178,12 +145,6 @@ export interface ITokenTestSuite extends BaseContract {
178
145
  "mint(uint8,address,uint256)"(t: BigNumberish, to: string, amount: BigNumberish, overrides?: Overrides & {
179
146
  from?: string | Promise<string>;
180
147
  }): Promise<BigNumber>;
181
- "mintWithTotalSupply(address,address,uint256)"(token: string, to: string, amount: BigNumberish, overrides?: Overrides & {
182
- from?: string | Promise<string>;
183
- }): Promise<BigNumber>;
184
- "mintWithTotalSupply(uint8,address,uint256)"(t: BigNumberish, to: string, amount: BigNumberish, overrides?: Overrides & {
185
- from?: string | Promise<string>;
186
- }): Promise<BigNumber>;
187
148
  symbols(t: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
188
149
  tokenCount(overrides?: CallOverrides): Promise<BigNumber>;
189
150
  tokenIndexes(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
@@ -203,9 +164,6 @@ export interface ITokenTestSuite extends BaseContract {
203
164
  "approve(address,address,address)"(token: string, holder: string, targetContract: string, overrides?: Overrides & {
204
165
  from?: string | Promise<string>;
205
166
  }): Promise<PopulatedTransaction>;
206
- approveMany(tokensToApprove: BigNumberish[], holder: string, targetContract: BigNumberish, overrides?: Overrides & {
207
- from?: string | Promise<string>;
208
- }): Promise<PopulatedTransaction>;
209
167
  balanceOf(t: BigNumberish, holder: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
210
168
  "mint(address,address,uint256)"(token: string, to: string, amount: BigNumberish, overrides?: Overrides & {
211
169
  from?: string | Promise<string>;
@@ -213,12 +171,6 @@ export interface ITokenTestSuite extends BaseContract {
213
171
  "mint(uint8,address,uint256)"(t: BigNumberish, to: string, amount: BigNumberish, overrides?: Overrides & {
214
172
  from?: string | Promise<string>;
215
173
  }): Promise<PopulatedTransaction>;
216
- "mintWithTotalSupply(address,address,uint256)"(token: string, to: string, amount: BigNumberish, overrides?: Overrides & {
217
- from?: string | Promise<string>;
218
- }): Promise<PopulatedTransaction>;
219
- "mintWithTotalSupply(uint8,address,uint256)"(t: BigNumberish, to: string, amount: BigNumberish, overrides?: Overrides & {
220
- from?: string | Promise<string>;
221
- }): Promise<PopulatedTransaction>;
222
174
  symbols(t: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>;
223
175
  tokenCount(overrides?: CallOverrides): Promise<PopulatedTransaction>;
224
176
  tokenIndexes(arg0: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
@@ -0,0 +1,28 @@
1
+ import { Signer } from "ethers";
2
+ import type { Provider } from "@ethersproject/providers";
3
+ import type { IwstETHGateWay, IwstETHGateWayInterface } from "../../../../../contracts/integrations/lido/IwstETHGateway.sol/IwstETHGateWay";
4
+ export declare class IwstETHGateWay__factory {
5
+ static readonly abi: ({
6
+ inputs: never[];
7
+ name: string;
8
+ type: string;
9
+ outputs?: undefined;
10
+ stateMutability?: undefined;
11
+ } | {
12
+ inputs: {
13
+ internalType: string;
14
+ name: string;
15
+ type: string;
16
+ }[];
17
+ name: string;
18
+ outputs: {
19
+ internalType: string;
20
+ name: string;
21
+ type: string;
22
+ }[];
23
+ stateMutability: string;
24
+ type: string;
25
+ })[];
26
+ static createInterface(): IwstETHGateWayInterface;
27
+ static connect(address: string, signerOrProvider: Signer | Provider): IwstETHGateWay;
28
+ }
@@ -0,0 +1,74 @@
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.IwstETHGateWay__factory = void 0;
7
+ var ethers_1 = require("ethers");
8
+ var _abi = [
9
+ {
10
+ inputs: [],
11
+ name: "NonRegisterPoolException",
12
+ type: "error",
13
+ },
14
+ {
15
+ inputs: [
16
+ {
17
+ internalType: "uint256",
18
+ name: "amount",
19
+ type: "uint256",
20
+ },
21
+ {
22
+ internalType: "address",
23
+ name: "onBehalfOf",
24
+ type: "address",
25
+ },
26
+ {
27
+ internalType: "uint256",
28
+ name: "referralCode",
29
+ type: "uint256",
30
+ },
31
+ ],
32
+ name: "addLiquidity",
33
+ outputs: [],
34
+ stateMutability: "nonpayable",
35
+ type: "function",
36
+ },
37
+ {
38
+ inputs: [
39
+ {
40
+ internalType: "uint256",
41
+ name: "amount",
42
+ type: "uint256",
43
+ },
44
+ {
45
+ internalType: "address",
46
+ name: "to",
47
+ type: "address",
48
+ },
49
+ ],
50
+ name: "removeLiquidity",
51
+ outputs: [
52
+ {
53
+ internalType: "uint256",
54
+ name: "amountGet",
55
+ type: "uint256",
56
+ },
57
+ ],
58
+ stateMutability: "nonpayable",
59
+ type: "function",
60
+ },
61
+ ];
62
+ var IwstETHGateWay__factory = /** @class */ (function () {
63
+ function IwstETHGateWay__factory() {
64
+ }
65
+ IwstETHGateWay__factory.createInterface = function () {
66
+ return new ethers_1.utils.Interface(_abi);
67
+ };
68
+ IwstETHGateWay__factory.connect = function (address, signerOrProvider) {
69
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
70
+ };
71
+ IwstETHGateWay__factory.abi = _abi;
72
+ return IwstETHGateWay__factory;
73
+ }());
74
+ exports.IwstETHGateWay__factory = IwstETHGateWay__factory;
@@ -0,0 +1 @@
1
+ export { IwstETHGateWay__factory } from "./IwstETHGateWay__factory";
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IwstETHGateWay__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ var IwstETHGateWay__factory_1 = require("./IwstETHGateWay__factory");
8
+ Object.defineProperty(exports, "IwstETHGateWay__factory", { enumerable: true, get: function () { return IwstETHGateWay__factory_1.IwstETHGateWay__factory; } });
@@ -1,3 +1,4 @@
1
1
  export * as istEthSol from "./IstETH.sol";
2
2
  export * as iwstEthSol from "./IwstETH.sol";
3
+ export * as iwstEthGatewaySol from "./IwstETHGateway.sol";
3
4
  export { ILidoOracle__factory } from "./ILidoOracle__factory";
@@ -23,11 +23,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.ILidoOracle__factory = exports.iwstEthSol = exports.istEthSol = void 0;
26
+ exports.ILidoOracle__factory = exports.iwstEthGatewaySol = exports.iwstEthSol = exports.istEthSol = void 0;
27
27
  /* Autogenerated file. Do not edit manually. */
28
28
  /* tslint:disable */
29
29
  /* eslint-disable */
30
30
  exports.istEthSol = __importStar(require("./IstETH.sol"));
31
31
  exports.iwstEthSol = __importStar(require("./IwstETH.sol"));
32
+ exports.iwstEthGatewaySol = __importStar(require("./IwstETHGateway.sol"));
32
33
  var ILidoOracle__factory_1 = require("./ILidoOracle__factory");
33
34
  Object.defineProperty(exports, "ILidoOracle__factory", { enumerable: true, get: function () { return ILidoOracle__factory_1.ILidoOracle__factory; } });
@@ -176,6 +176,19 @@ var _abi = [
176
176
  stateMutability: "view",
177
177
  type: "function",
178
178
  },
179
+ {
180
+ inputs: [],
181
+ name: "stETH",
182
+ outputs: [
183
+ {
184
+ internalType: "address",
185
+ name: "",
186
+ type: "address",
187
+ },
188
+ ],
189
+ stateMutability: "view",
190
+ type: "function",
191
+ },
179
192
  {
180
193
  inputs: [],
181
194
  name: "stEthPerToken",
@@ -25,19 +25,6 @@ var _abi = [
25
25
  name: "PathFinderComponentUpdate",
26
26
  type: "event",
27
27
  },
28
- {
29
- anonymous: false,
30
- inputs: [
31
- {
32
- indexed: false,
33
- internalType: "address",
34
- name: "",
35
- type: "address",
36
- },
37
- ],
38
- name: "ResolverComponentUpdateFailed",
39
- type: "event",
40
- },
41
28
  {
42
29
  anonymous: false,
43
30
  inputs: [
@@ -0,0 +1,61 @@
1
+ import { Signer } from "ethers";
2
+ import type { Provider } from "@ethersproject/providers";
3
+ import type { IWrapper, IWrapperInterface } from "../../../../contracts/pathfinder/interfaces/IWrapper";
4
+ export declare class IWrapper__factory {
5
+ static readonly abi: ({
6
+ inputs: ({
7
+ components: {
8
+ internalType: string;
9
+ name: string;
10
+ type: string;
11
+ }[];
12
+ internalType: string;
13
+ name: string;
14
+ type: string;
15
+ } | {
16
+ internalType: string;
17
+ name: string;
18
+ type: string;
19
+ components?: undefined;
20
+ })[];
21
+ name: string;
22
+ outputs: {
23
+ components: ({
24
+ components: {
25
+ internalType: string;
26
+ name: string;
27
+ type: string;
28
+ }[];
29
+ internalType: string;
30
+ name: string;
31
+ type: string;
32
+ } | {
33
+ internalType: string;
34
+ name: string;
35
+ type: string;
36
+ components?: undefined;
37
+ })[];
38
+ internalType: string;
39
+ name: string;
40
+ type: string;
41
+ }[];
42
+ stateMutability: string;
43
+ type: string;
44
+ } | {
45
+ inputs: {
46
+ internalType: string;
47
+ name: string;
48
+ type: string;
49
+ }[];
50
+ name: string;
51
+ outputs: {
52
+ internalType: string;
53
+ name: string;
54
+ type: string;
55
+ }[];
56
+ stateMutability: string;
57
+ type: string;
58
+ })[];
59
+ static createInterface(): IWrapperInterface;
60
+ static connect(address: string, signerOrProvider: Signer | Provider): IWrapper;
61
+ }