@gearbox-protocol/sdk 14.10.3-next.2 → 14.10.3

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 (48) hide show
  1. package/dist/cjs/dev/AccountOpener.js +5 -4
  2. package/dist/cjs/plugins/apy/strategy-data-source.js +1 -1
  3. package/dist/cjs/sdk/market/MarketSuite.js +63 -3
  4. package/dist/cjs/sdk/market/ZapperRegister.js +3 -5
  5. package/dist/cjs/sdk/market/credit/CreditSuite.js +81 -9
  6. package/dist/cjs/sdk/market/index.js +1 -3
  7. package/dist/cjs/sdk/market/pool/PoolSuite.js +64 -0
  8. package/dist/cjs/sdk/market/pool/PoolV310Contract.js +0 -20
  9. package/dist/cjs/sdk/pools/PoolService.js +60 -58
  10. package/dist/esm/dev/AccountOpener.js +5 -4
  11. package/dist/esm/plugins/apy/strategy-data-source.js +1 -1
  12. package/dist/esm/sdk/market/MarketSuite.js +63 -3
  13. package/dist/esm/sdk/market/ZapperRegister.js +3 -5
  14. package/dist/esm/sdk/market/credit/CreditSuite.js +81 -9
  15. package/dist/esm/sdk/market/index.js +0 -1
  16. package/dist/esm/sdk/market/pool/PoolSuite.js +64 -0
  17. package/dist/esm/sdk/market/pool/PoolV310Contract.js +0 -20
  18. package/dist/esm/sdk/pools/PoolService.js +60 -62
  19. package/dist/types/sdk/market/MarketSuite.d.ts +70 -1
  20. package/dist/types/sdk/market/ZapperRegister.d.ts +4 -4
  21. package/dist/types/sdk/market/credit/CreditSuite.d.ts +84 -4
  22. package/dist/types/sdk/market/index.d.ts +0 -1
  23. package/dist/types/sdk/market/pool/PoolSuite.d.ts +75 -0
  24. package/dist/types/sdk/market/pool/PoolV310Contract.d.ts +2 -12
  25. package/dist/types/sdk/pools/PoolService.d.ts +3 -3
  26. package/dist/types/sdk/pools/types.d.ts +5 -10
  27. package/package.json +1 -1
  28. package/dist/cjs/abi/iERC20Zapper.js +0 -33
  29. package/dist/cjs/abi/iETHZapper.js +0 -30
  30. package/dist/cjs/sdk/market/zapper/IERC20ZapperContract.js +0 -98
  31. package/dist/cjs/sdk/market/zapper/IETHZapperContract.js +0 -89
  32. package/dist/cjs/sdk/market/zapper/Zapper.js +0 -41
  33. package/dist/cjs/sdk/market/zapper/createZapper.js +0 -38
  34. package/dist/cjs/sdk/market/zapper/index.js +0 -28
  35. package/dist/esm/abi/iERC20Zapper.js +0 -9
  36. package/dist/esm/abi/iETHZapper.js +0 -6
  37. package/dist/esm/sdk/market/zapper/IERC20ZapperContract.js +0 -74
  38. package/dist/esm/sdk/market/zapper/IETHZapperContract.js +0 -65
  39. package/dist/esm/sdk/market/zapper/Zapper.js +0 -17
  40. package/dist/esm/sdk/market/zapper/createZapper.js +0 -14
  41. package/dist/esm/sdk/market/zapper/index.js +0 -4
  42. package/dist/types/abi/iERC20Zapper.d.ts +0 -313
  43. package/dist/types/abi/iETHZapper.d.ts +0 -153
  44. package/dist/types/sdk/market/zapper/IERC20ZapperContract.d.ts +0 -350
  45. package/dist/types/sdk/market/zapper/IETHZapperContract.d.ts +0 -186
  46. package/dist/types/sdk/market/zapper/Zapper.d.ts +0 -10
  47. package/dist/types/sdk/market/zapper/createZapper.d.ts +0 -6
  48. package/dist/types/sdk/market/zapper/index.d.ts +0 -4
@@ -1,38 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var createZapper_exports = {};
20
- __export(createZapper_exports, {
21
- createZapper: () => createZapper
22
- });
23
- module.exports = __toCommonJS(createZapper_exports);
24
- var import_constants = require("../../constants/index.js");
25
- var import_utils = require("../../utils/index.js");
26
- var import_IERC20ZapperContract = require("./IERC20ZapperContract.js");
27
- var import_IETHZapperContract = require("./IETHZapperContract.js");
28
- var import_Zapper = require("./Zapper.js");
29
- function createZapper(sdk, data) {
30
- if (data.type === "base") {
31
- return (0, import_utils.hexEq)(data.tokenIn.addr, import_constants.NATIVE_ADDRESS) ? new import_IETHZapperContract.IETHZapperContract(sdk, data) : new import_IERC20ZapperContract.IERC20ZapperContract(sdk, data);
32
- }
33
- return new import_Zapper.Zapper(data);
34
- }
35
- // Annotate the CommonJS export names for ESM import in node:
36
- 0 && (module.exports = {
37
- createZapper
38
- });
@@ -1,28 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __copyProps = (to, from, except, desc) => {
7
- if (from && typeof from === "object" || typeof from === "function") {
8
- for (let key of __getOwnPropNames(from))
9
- if (!__hasOwnProp.call(to, key) && key !== except)
10
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
- }
12
- return to;
13
- };
14
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
- var zapper_exports = {};
17
- module.exports = __toCommonJS(zapper_exports);
18
- __reExport(zapper_exports, require("./createZapper.js"), module.exports);
19
- __reExport(zapper_exports, require("./IERC20ZapperContract.js"), module.exports);
20
- __reExport(zapper_exports, require("./IETHZapperContract.js"), module.exports);
21
- __reExport(zapper_exports, require("./Zapper.js"), module.exports);
22
- // Annotate the CommonJS export names for ESM import in node:
23
- 0 && (module.exports = {
24
- ...require("./createZapper.js"),
25
- ...require("./IERC20ZapperContract.js"),
26
- ...require("./IETHZapperContract.js"),
27
- ...require("./Zapper.js")
28
- });
@@ -1,9 +0,0 @@
1
- import { ierc20ZapperDepositsAbi } from "./iERC20ZapperDeposits.js";
2
- import { iZapperAbi } from "./iZapper.js";
3
- const ierc20ZapperAbi = [
4
- ...ierc20ZapperDepositsAbi,
5
- ...iZapperAbi
6
- ];
7
- export {
8
- ierc20ZapperAbi
9
- };
@@ -1,6 +0,0 @@
1
- import { iethZapperDepositsAbi } from "./iETHZapperDeposits.js";
2
- import { iZapperAbi } from "./iZapper.js";
3
- const iethZapperAbi = [...iethZapperDepositsAbi, ...iZapperAbi];
4
- export {
5
- iethZapperAbi
6
- };
@@ -1,74 +0,0 @@
1
- import { ierc20ZapperAbi } from "../../../abi/iERC20Zapper.js";
2
- import { BaseContract } from "../../base/index.js";
3
- const abi = ierc20ZapperAbi;
4
- class IERC20ZapperContract extends BaseContract {
5
- pool;
6
- type;
7
- baseParams;
8
- tokenIn;
9
- tokenOut;
10
- constructor(sdk, data) {
11
- super(sdk, {
12
- addr: data.baseParams.addr,
13
- abi,
14
- name: `ERC20Zapper(${sdk.labelAddress(data.baseParams.addr)})`,
15
- version: data.baseParams.version,
16
- contractType: data.baseParams.contractType
17
- });
18
- this.pool = data.pool;
19
- this.type = data.type;
20
- this.baseParams = data.baseParams;
21
- this.tokenIn = data.tokenIn;
22
- this.tokenOut = data.tokenOut;
23
- }
24
- /**
25
- * Deposits ERC20 tokens into the pool via this zapper.
26
- */
27
- deposit(tokenInAmount, receiver) {
28
- return this.createRawTx({
29
- functionName: "deposit",
30
- args: [tokenInAmount, receiver]
31
- });
32
- }
33
- /**
34
- * Deposits ERC20 tokens into the pool via this zapper using a referral code.
35
- */
36
- depositWithReferral(tokenInAmount, receiver, referralCode) {
37
- return this.createRawTx({
38
- functionName: "depositWithReferral",
39
- args: [tokenInAmount, receiver, referralCode]
40
- });
41
- }
42
- /**
43
- * Deposits ERC20 tokens via this zapper with a referral code and an
44
- * EIP-2612 permit signature, skipping a separate approve transaction.
45
- */
46
- depositWithReferralAndPermit(tokenInAmount, receiver, referralCode, deadline, v, r, s) {
47
- return this.createRawTx({
48
- functionName: "depositWithReferralAndPermit",
49
- args: [tokenInAmount, receiver, referralCode, deadline, v, r, s]
50
- });
51
- }
52
- /**
53
- * Redeems pool shares (diesel tokens) for the underlying asset via this zapper.
54
- */
55
- redeem(tokenInAmount, receiver) {
56
- return this.createRawTx({
57
- functionName: "redeem",
58
- args: [tokenInAmount, receiver]
59
- });
60
- }
61
- /**
62
- * Redeems pool shares via this zapper with an EIP-2612 permit signature,
63
- * skipping a separate approve transaction.
64
- */
65
- redeemWithPermit(tokenInAmount, receiver, deadline, v, r, s) {
66
- return this.createRawTx({
67
- functionName: "redeemWithPermit",
68
- args: [tokenInAmount, receiver, deadline, v, r, s]
69
- });
70
- }
71
- }
72
- export {
73
- IERC20ZapperContract
74
- };
@@ -1,65 +0,0 @@
1
- import { iethZapperAbi } from "../../../abi/iETHZapper.js";
2
- import { BaseContract } from "../../base/index.js";
3
- const abi = iethZapperAbi;
4
- class IETHZapperContract extends BaseContract {
5
- pool;
6
- type;
7
- baseParams;
8
- tokenIn;
9
- tokenOut;
10
- constructor(sdk, data) {
11
- super(sdk, {
12
- addr: data.baseParams.addr,
13
- abi,
14
- name: `ETHZapper(${sdk.labelAddress(data.baseParams.addr)})`,
15
- version: data.baseParams.version,
16
- contractType: data.baseParams.contractType
17
- });
18
- this.pool = data.pool;
19
- this.type = data.type;
20
- this.baseParams = data.baseParams;
21
- this.tokenIn = data.tokenIn;
22
- this.tokenOut = data.tokenOut;
23
- }
24
- /**
25
- * Deposits native ETH into the pool via this zapper.
26
- */
27
- deposit(receiver) {
28
- return this.createRawTx({
29
- functionName: "deposit",
30
- args: [receiver]
31
- });
32
- }
33
- /**
34
- * Deposits native ETH into the pool via this zapper using a referral code.
35
- * The caller must attach the deposit amount as msg.value.
36
- */
37
- depositWithReferral(receiver, referralCode) {
38
- return this.createRawTx({
39
- functionName: "depositWithReferral",
40
- args: [receiver, referralCode]
41
- });
42
- }
43
- /**
44
- * Redeems pool shares (diesel tokens) for the underlying asset via this zapper.
45
- */
46
- redeem(tokenInAmount, receiver) {
47
- return this.createRawTx({
48
- functionName: "redeem",
49
- args: [tokenInAmount, receiver]
50
- });
51
- }
52
- /**
53
- * Redeems pool shares via this zapper with an EIP-2612 permit signature,
54
- * skipping a separate approve transaction.
55
- */
56
- redeemWithPermit(tokenInAmount, receiver, deadline, v, r, s) {
57
- return this.createRawTx({
58
- functionName: "redeemWithPermit",
59
- args: [tokenInAmount, receiver, deadline, v, r, s]
60
- });
61
- }
62
- }
63
- export {
64
- IETHZapperContract
65
- };
@@ -1,17 +0,0 @@
1
- class Zapper {
2
- pool;
3
- type;
4
- baseParams;
5
- tokenIn;
6
- tokenOut;
7
- constructor(data) {
8
- this.pool = data.pool;
9
- this.type = data.type;
10
- this.baseParams = data.baseParams;
11
- this.tokenIn = data.tokenIn;
12
- this.tokenOut = data.tokenOut;
13
- }
14
- }
15
- export {
16
- Zapper
17
- };
@@ -1,14 +0,0 @@
1
- import { NATIVE_ADDRESS } from "../../constants/index.js";
2
- import { hexEq } from "../../utils/index.js";
3
- import { IERC20ZapperContract } from "./IERC20ZapperContract.js";
4
- import { IETHZapperContract } from "./IETHZapperContract.js";
5
- import { Zapper } from "./Zapper.js";
6
- function createZapper(sdk, data) {
7
- if (data.type === "base") {
8
- return hexEq(data.tokenIn.addr, NATIVE_ADDRESS) ? new IETHZapperContract(sdk, data) : new IERC20ZapperContract(sdk, data);
9
- }
10
- return new Zapper(data);
11
- }
12
- export {
13
- createZapper
14
- };
@@ -1,4 +0,0 @@
1
- export * from "./createZapper.js";
2
- export * from "./IERC20ZapperContract.js";
3
- export * from "./IETHZapperContract.js";
4
- export * from "./Zapper.js";
@@ -1,313 +0,0 @@
1
- export declare const ierc20ZapperAbi: readonly [{
2
- readonly type: "function";
3
- readonly inputs: readonly [{
4
- readonly name: "tokenInAmount";
5
- readonly internalType: "uint256";
6
- readonly type: "uint256";
7
- }, {
8
- readonly name: "receiver";
9
- readonly internalType: "address";
10
- readonly type: "address";
11
- }];
12
- readonly name: "deposit";
13
- readonly outputs: readonly [{
14
- readonly name: "tokenOutAmount";
15
- readonly internalType: "uint256";
16
- readonly type: "uint256";
17
- }];
18
- readonly stateMutability: "nonpayable";
19
- }, {
20
- readonly type: "function";
21
- readonly inputs: readonly [{
22
- readonly name: "tokenInAmount";
23
- readonly internalType: "uint256";
24
- readonly type: "uint256";
25
- }, {
26
- readonly name: "receiver";
27
- readonly internalType: "address";
28
- readonly type: "address";
29
- }, {
30
- readonly name: "deadline";
31
- readonly internalType: "uint256";
32
- readonly type: "uint256";
33
- }, {
34
- readonly name: "v";
35
- readonly internalType: "uint8";
36
- readonly type: "uint8";
37
- }, {
38
- readonly name: "r";
39
- readonly internalType: "bytes32";
40
- readonly type: "bytes32";
41
- }, {
42
- readonly name: "s";
43
- readonly internalType: "bytes32";
44
- readonly type: "bytes32";
45
- }];
46
- readonly name: "depositWithPermit";
47
- readonly outputs: readonly [{
48
- readonly name: "tokenOutAmount";
49
- readonly internalType: "uint256";
50
- readonly type: "uint256";
51
- }];
52
- readonly stateMutability: "nonpayable";
53
- }, {
54
- readonly type: "function";
55
- readonly inputs: readonly [{
56
- readonly name: "tokenInAmount";
57
- readonly internalType: "uint256";
58
- readonly type: "uint256";
59
- }, {
60
- readonly name: "receiver";
61
- readonly internalType: "address";
62
- readonly type: "address";
63
- }, {
64
- readonly name: "nonce";
65
- readonly internalType: "uint256";
66
- readonly type: "uint256";
67
- }, {
68
- readonly name: "expiry";
69
- readonly internalType: "uint256";
70
- readonly type: "uint256";
71
- }, {
72
- readonly name: "v";
73
- readonly internalType: "uint8";
74
- readonly type: "uint8";
75
- }, {
76
- readonly name: "r";
77
- readonly internalType: "bytes32";
78
- readonly type: "bytes32";
79
- }, {
80
- readonly name: "s";
81
- readonly internalType: "bytes32";
82
- readonly type: "bytes32";
83
- }];
84
- readonly name: "depositWithPermitAllowed";
85
- readonly outputs: readonly [{
86
- readonly name: "tokenOutAmount";
87
- readonly internalType: "uint256";
88
- readonly type: "uint256";
89
- }];
90
- readonly stateMutability: "nonpayable";
91
- }, {
92
- readonly type: "function";
93
- readonly inputs: readonly [{
94
- readonly name: "tokenInAmount";
95
- readonly internalType: "uint256";
96
- readonly type: "uint256";
97
- }, {
98
- readonly name: "receiver";
99
- readonly internalType: "address";
100
- readonly type: "address";
101
- }, {
102
- readonly name: "referralCode";
103
- readonly internalType: "uint256";
104
- readonly type: "uint256";
105
- }];
106
- readonly name: "depositWithReferral";
107
- readonly outputs: readonly [{
108
- readonly name: "tokenOutAmount";
109
- readonly internalType: "uint256";
110
- readonly type: "uint256";
111
- }];
112
- readonly stateMutability: "nonpayable";
113
- }, {
114
- readonly type: "function";
115
- readonly inputs: readonly [{
116
- readonly name: "tokenInAmount";
117
- readonly internalType: "uint256";
118
- readonly type: "uint256";
119
- }, {
120
- readonly name: "receiver";
121
- readonly internalType: "address";
122
- readonly type: "address";
123
- }, {
124
- readonly name: "referralCode";
125
- readonly internalType: "uint256";
126
- readonly type: "uint256";
127
- }, {
128
- readonly name: "deadline";
129
- readonly internalType: "uint256";
130
- readonly type: "uint256";
131
- }, {
132
- readonly name: "v";
133
- readonly internalType: "uint8";
134
- readonly type: "uint8";
135
- }, {
136
- readonly name: "r";
137
- readonly internalType: "bytes32";
138
- readonly type: "bytes32";
139
- }, {
140
- readonly name: "s";
141
- readonly internalType: "bytes32";
142
- readonly type: "bytes32";
143
- }];
144
- readonly name: "depositWithReferralAndPermit";
145
- readonly outputs: readonly [{
146
- readonly name: "tokenOutAmount";
147
- readonly internalType: "uint256";
148
- readonly type: "uint256";
149
- }];
150
- readonly stateMutability: "nonpayable";
151
- }, {
152
- readonly type: "function";
153
- readonly inputs: readonly [{
154
- readonly name: "tokenInAmount";
155
- readonly internalType: "uint256";
156
- readonly type: "uint256";
157
- }, {
158
- readonly name: "receiver";
159
- readonly internalType: "address";
160
- readonly type: "address";
161
- }, {
162
- readonly name: "referralCode";
163
- readonly internalType: "uint256";
164
- readonly type: "uint256";
165
- }, {
166
- readonly name: "nonce";
167
- readonly internalType: "uint256";
168
- readonly type: "uint256";
169
- }, {
170
- readonly name: "expiry";
171
- readonly internalType: "uint256";
172
- readonly type: "uint256";
173
- }, {
174
- readonly name: "v";
175
- readonly internalType: "uint8";
176
- readonly type: "uint8";
177
- }, {
178
- readonly name: "r";
179
- readonly internalType: "bytes32";
180
- readonly type: "bytes32";
181
- }, {
182
- readonly name: "s";
183
- readonly internalType: "bytes32";
184
- readonly type: "bytes32";
185
- }];
186
- readonly name: "depositWithReferralAndPermitAllowed";
187
- readonly outputs: readonly [{
188
- readonly name: "tokenOutAmount";
189
- readonly internalType: "uint256";
190
- readonly type: "uint256";
191
- }];
192
- readonly stateMutability: "nonpayable";
193
- }, {
194
- readonly type: "function";
195
- readonly inputs: readonly [];
196
- readonly name: "pool";
197
- readonly outputs: readonly [{
198
- readonly name: "";
199
- readonly internalType: "address";
200
- readonly type: "address";
201
- }];
202
- readonly stateMutability: "view";
203
- }, {
204
- readonly type: "function";
205
- readonly inputs: readonly [{
206
- readonly name: "tokenInAmount";
207
- readonly internalType: "uint256";
208
- readonly type: "uint256";
209
- }];
210
- readonly name: "previewDeposit";
211
- readonly outputs: readonly [{
212
- readonly name: "tokenOutAmount";
213
- readonly internalType: "uint256";
214
- readonly type: "uint256";
215
- }];
216
- readonly stateMutability: "view";
217
- }, {
218
- readonly type: "function";
219
- readonly inputs: readonly [{
220
- readonly name: "tokenOutAmount";
221
- readonly internalType: "uint256";
222
- readonly type: "uint256";
223
- }];
224
- readonly name: "previewRedeem";
225
- readonly outputs: readonly [{
226
- readonly name: "tokenInAmount";
227
- readonly internalType: "uint256";
228
- readonly type: "uint256";
229
- }];
230
- readonly stateMutability: "view";
231
- }, {
232
- readonly type: "function";
233
- readonly inputs: readonly [{
234
- readonly name: "tokenOutAmount";
235
- readonly internalType: "uint256";
236
- readonly type: "uint256";
237
- }, {
238
- readonly name: "receiver";
239
- readonly internalType: "address";
240
- readonly type: "address";
241
- }];
242
- readonly name: "redeem";
243
- readonly outputs: readonly [{
244
- readonly name: "tokenInAmount";
245
- readonly internalType: "uint256";
246
- readonly type: "uint256";
247
- }];
248
- readonly stateMutability: "nonpayable";
249
- }, {
250
- readonly type: "function";
251
- readonly inputs: readonly [{
252
- readonly name: "tokenOutAmount";
253
- readonly internalType: "uint256";
254
- readonly type: "uint256";
255
- }, {
256
- readonly name: "receiver";
257
- readonly internalType: "address";
258
- readonly type: "address";
259
- }, {
260
- readonly name: "deadline";
261
- readonly internalType: "uint256";
262
- readonly type: "uint256";
263
- }, {
264
- readonly name: "v";
265
- readonly internalType: "uint8";
266
- readonly type: "uint8";
267
- }, {
268
- readonly name: "r";
269
- readonly internalType: "bytes32";
270
- readonly type: "bytes32";
271
- }, {
272
- readonly name: "s";
273
- readonly internalType: "bytes32";
274
- readonly type: "bytes32";
275
- }];
276
- readonly name: "redeemWithPermit";
277
- readonly outputs: readonly [{
278
- readonly name: "tokenInAmount";
279
- readonly internalType: "uint256";
280
- readonly type: "uint256";
281
- }];
282
- readonly stateMutability: "nonpayable";
283
- }, {
284
- readonly type: "function";
285
- readonly inputs: readonly [];
286
- readonly name: "tokenIn";
287
- readonly outputs: readonly [{
288
- readonly name: "";
289
- readonly internalType: "address";
290
- readonly type: "address";
291
- }];
292
- readonly stateMutability: "view";
293
- }, {
294
- readonly type: "function";
295
- readonly inputs: readonly [];
296
- readonly name: "tokenOut";
297
- readonly outputs: readonly [{
298
- readonly name: "";
299
- readonly internalType: "address";
300
- readonly type: "address";
301
- }];
302
- readonly stateMutability: "view";
303
- }, {
304
- readonly type: "function";
305
- readonly inputs: readonly [];
306
- readonly name: "underlying";
307
- readonly outputs: readonly [{
308
- readonly name: "";
309
- readonly internalType: "address";
310
- readonly type: "address";
311
- }];
312
- readonly stateMutability: "view";
313
- }];