@venusprotocol/isolated-pools 4.2.0-dev.5 → 4.2.0-dev.6

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.
@@ -373,6 +373,7 @@ const config = {
373
373
  url: process.env.ARCHIVE_NODE_unichainsepolia || "https://sepolia.unichain.org",
374
374
  chainId: 1301,
375
375
  live: true,
376
+ tags: ["testnet"],
376
377
  accounts: DEPLOYER_PRIVATE_KEY ? [`0x${DEPLOYER_PRIVATE_KEY}`] : [],
377
378
  },
378
379
  unichainmainnet: {
@@ -7015,6 +7015,13 @@ exports.globalConfig = {
7015
7015
  decimals: 18,
7016
7016
  tokenAddress: "0xC0e51E865bc9Fed0a32Cc0B2A65449567Bc5c741",
7017
7017
  },
7018
+ {
7019
+ isMock: true,
7020
+ name: "Uniswap",
7021
+ symbol: "UNI",
7022
+ decimals: 18,
7023
+ tokenAddress: hardhat_1.ethers.constants.AddressZero,
7024
+ },
7018
7025
  ],
7019
7026
  poolConfig: [
7020
7027
  {
@@ -7096,6 +7103,24 @@ exports.globalConfig = {
7096
7103
  reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_SEPOLIA,
7097
7104
  vTokenReceiver: exports.preconfiguredAddresses.unichainsepolia.VTreasury,
7098
7105
  },
7106
+ {
7107
+ name: "Venus UNI (Core)",
7108
+ asset: "UNI",
7109
+ symbol: "vUNI_Core",
7110
+ rateModel: InterestRateModels.JumpRate.toString(),
7111
+ baseRatePerYear: "0",
7112
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
7113
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
7114
+ kink_: (0, utils_1.convertToUnit)("0.3", 18),
7115
+ collateralFactor: (0, utils_1.convertToUnit)("0", 18),
7116
+ liquidationThreshold: (0, utils_1.convertToUnit)("0", 18),
7117
+ reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
7118
+ initialSupply: (0, utils_1.convertToUnit)("529.463427983309919376", 18),
7119
+ supplyCap: (0, utils_1.convertToUnit)("20000", 18),
7120
+ borrowCap: (0, utils_1.convertToUnit)("0", 18),
7121
+ reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_SEPOLIA,
7122
+ vTokenReceiver: exports.preconfiguredAddresses.unichainsepolia.VTreasury,
7123
+ },
7099
7124
  ],
7100
7125
  rewards: [
7101
7126
  // XVS Rewards Over 3600 days (311040000 seconds)
@@ -7147,6 +7172,13 @@ exports.globalConfig = {
7147
7172
  decimals: 18,
7148
7173
  tokenAddress: "0x81908BBaad3f6fC74093540Ab2E9B749BB62aA0d",
7149
7174
  },
7175
+ {
7176
+ isMock: false,
7177
+ name: "Uniswap",
7178
+ symbol: "UNI",
7179
+ decimals: 18,
7180
+ tokenAddress: "0x8f187aa05619a017077f5308904739877ce9ea21",
7181
+ },
7150
7182
  ],
7151
7183
  poolConfig: [
7152
7184
  {
@@ -7192,6 +7224,24 @@ exports.globalConfig = {
7192
7224
  reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_MAINNET,
7193
7225
  vTokenReceiver: exports.preconfiguredAddresses.unichainmainnet.VTreasury,
7194
7226
  },
7227
+ {
7228
+ name: "Venus UNI (Core)",
7229
+ asset: "UNI",
7230
+ symbol: "vUNI_Core",
7231
+ rateModel: InterestRateModels.JumpRate.toString(),
7232
+ baseRatePerYear: "0",
7233
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
7234
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
7235
+ kink_: (0, utils_1.convertToUnit)("0.3", 18),
7236
+ collateralFactor: (0, utils_1.convertToUnit)("0", 18),
7237
+ liquidationThreshold: (0, utils_1.convertToUnit)("0", 18),
7238
+ reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
7239
+ initialSupply: (0, utils_1.convertToUnit)("529.463427983309919376", 18),
7240
+ supplyCap: (0, utils_1.convertToUnit)("20000", 18),
7241
+ borrowCap: (0, utils_1.convertToUnit)("0", 18),
7242
+ reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_MAINNET,
7243
+ vTokenReceiver: exports.preconfiguredAddresses.unichainmainnet.VTreasury,
7244
+ },
7195
7245
  ],
7196
7246
  rewards: [
7197
7247
  // XVS Rewards Over 30 days (2592000 seconds)
@@ -3,7 +3,11 @@ import { Provider } from "@ethersproject/providers";
3
3
  import type { IVToken, IVTokenInterface } from "../IVToken";
4
4
  export declare class IVToken__factory {
5
5
  static readonly abi: {
6
- inputs: never[];
6
+ inputs: {
7
+ internalType: string;
8
+ name: string;
9
+ type: string;
10
+ }[];
7
11
  name: string;
8
12
  outputs: {
9
13
  internalType: string;
@@ -6,6 +6,206 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.IVToken__factory = void 0;
7
7
  const ethers_1 = require("ethers");
8
8
  const _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "address",
13
+ name: "account",
14
+ type: "address",
15
+ },
16
+ ],
17
+ name: "borrowBalanceCurrent",
18
+ outputs: [
19
+ {
20
+ internalType: "uint256",
21
+ name: "",
22
+ type: "uint256",
23
+ },
24
+ ],
25
+ stateMutability: "nonpayable",
26
+ type: "function",
27
+ },
28
+ {
29
+ inputs: [
30
+ {
31
+ internalType: "address",
32
+ name: "borrower",
33
+ type: "address",
34
+ },
35
+ {
36
+ internalType: "uint256",
37
+ name: "borrowAmount",
38
+ type: "uint256",
39
+ },
40
+ ],
41
+ name: "borrowBehalf",
42
+ outputs: [
43
+ {
44
+ internalType: "uint256",
45
+ name: "",
46
+ type: "uint256",
47
+ },
48
+ ],
49
+ stateMutability: "nonpayable",
50
+ type: "function",
51
+ },
52
+ {
53
+ inputs: [],
54
+ name: "exchangeRateCurrent",
55
+ outputs: [
56
+ {
57
+ internalType: "uint256",
58
+ name: "",
59
+ type: "uint256",
60
+ },
61
+ ],
62
+ stateMutability: "nonpayable",
63
+ type: "function",
64
+ },
65
+ {
66
+ inputs: [
67
+ {
68
+ internalType: "address",
69
+ name: "receiver",
70
+ type: "address",
71
+ },
72
+ {
73
+ internalType: "uint256",
74
+ name: "mintAmount",
75
+ type: "uint256",
76
+ },
77
+ ],
78
+ name: "mintBehalf",
79
+ outputs: [
80
+ {
81
+ internalType: "uint256",
82
+ name: "",
83
+ type: "uint256",
84
+ },
85
+ ],
86
+ stateMutability: "nonpayable",
87
+ type: "function",
88
+ },
89
+ {
90
+ inputs: [
91
+ {
92
+ internalType: "uint256",
93
+ name: "redeemTokens",
94
+ type: "uint256",
95
+ },
96
+ ],
97
+ name: "redeem",
98
+ outputs: [
99
+ {
100
+ internalType: "uint256",
101
+ name: "",
102
+ type: "uint256",
103
+ },
104
+ ],
105
+ stateMutability: "nonpayable",
106
+ type: "function",
107
+ },
108
+ {
109
+ inputs: [
110
+ {
111
+ internalType: "address",
112
+ name: "redeemer",
113
+ type: "address",
114
+ },
115
+ {
116
+ internalType: "uint256",
117
+ name: "redeemTokens",
118
+ type: "uint256",
119
+ },
120
+ ],
121
+ name: "redeemBehalf",
122
+ outputs: [
123
+ {
124
+ internalType: "uint256",
125
+ name: "",
126
+ type: "uint256",
127
+ },
128
+ ],
129
+ stateMutability: "nonpayable",
130
+ type: "function",
131
+ },
132
+ {
133
+ inputs: [
134
+ {
135
+ internalType: "address",
136
+ name: "redeemer",
137
+ type: "address",
138
+ },
139
+ {
140
+ internalType: "uint256",
141
+ name: "redeemAmount",
142
+ type: "uint256",
143
+ },
144
+ ],
145
+ name: "redeemUnderlyingBehalf",
146
+ outputs: [
147
+ {
148
+ internalType: "uint256",
149
+ name: "",
150
+ type: "uint256",
151
+ },
152
+ ],
153
+ stateMutability: "nonpayable",
154
+ type: "function",
155
+ },
156
+ {
157
+ inputs: [
158
+ {
159
+ internalType: "address",
160
+ name: "borrower",
161
+ type: "address",
162
+ },
163
+ {
164
+ internalType: "uint256",
165
+ name: "repayAmount",
166
+ type: "uint256",
167
+ },
168
+ ],
169
+ name: "repayBorrowBehalf",
170
+ outputs: [
171
+ {
172
+ internalType: "uint256",
173
+ name: "",
174
+ type: "uint256",
175
+ },
176
+ ],
177
+ stateMutability: "nonpayable",
178
+ type: "function",
179
+ },
180
+ {
181
+ inputs: [
182
+ {
183
+ internalType: "address",
184
+ name: "from",
185
+ type: "address",
186
+ },
187
+ {
188
+ internalType: "address",
189
+ name: "to",
190
+ type: "address",
191
+ },
192
+ {
193
+ internalType: "uint256",
194
+ name: "amount",
195
+ type: "uint256",
196
+ },
197
+ ],
198
+ name: "transferFrom",
199
+ outputs: [
200
+ {
201
+ internalType: "bool",
202
+ name: "",
203
+ type: "bool",
204
+ },
205
+ ],
206
+ stateMutability: "nonpayable",
207
+ type: "function",
208
+ },
9
209
  {
10
210
  inputs: [],
11
211
  name: "underlying",
@@ -16,7 +216,7 @@ const _abi = [
16
216
  type: "address",
17
217
  },
18
218
  ],
19
- stateMutability: "view",
219
+ stateMutability: "nonpayable",
20
220
  type: "function",
21
221
  },
22
222
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venusprotocol/isolated-pools",
3
- "version": "4.2.0-dev.5",
3
+ "version": "4.2.0-dev.6",
4
4
  "description": "",
5
5
  "files": [
6
6
  "artifacts",
@@ -11,6 +11,7 @@ import {
11
11
  PopulatedTransaction,
12
12
  BaseContract,
13
13
  ContractTransaction,
14
+ Overrides,
14
15
  CallOverrides,
15
16
  } from "ethers";
16
17
  import { BytesLike } from "@ethersproject/bytes";
@@ -20,14 +21,89 @@ import type { TypedEventFilter, TypedEvent, TypedListener } from "./common";
20
21
 
21
22
  interface IVTokenInterface extends ethers.utils.Interface {
22
23
  functions: {
24
+ "borrowBalanceCurrent(address)": FunctionFragment;
25
+ "borrowBehalf(address,uint256)": FunctionFragment;
26
+ "exchangeRateCurrent()": FunctionFragment;
27
+ "mintBehalf(address,uint256)": FunctionFragment;
28
+ "redeem(uint256)": FunctionFragment;
29
+ "redeemBehalf(address,uint256)": FunctionFragment;
30
+ "redeemUnderlyingBehalf(address,uint256)": FunctionFragment;
31
+ "repayBorrowBehalf(address,uint256)": FunctionFragment;
32
+ "transferFrom(address,address,uint256)": FunctionFragment;
23
33
  "underlying()": FunctionFragment;
24
34
  };
25
35
 
36
+ encodeFunctionData(
37
+ functionFragment: "borrowBalanceCurrent",
38
+ values: [string]
39
+ ): string;
40
+ encodeFunctionData(
41
+ functionFragment: "borrowBehalf",
42
+ values: [string, BigNumberish]
43
+ ): string;
44
+ encodeFunctionData(
45
+ functionFragment: "exchangeRateCurrent",
46
+ values?: undefined
47
+ ): string;
48
+ encodeFunctionData(
49
+ functionFragment: "mintBehalf",
50
+ values: [string, BigNumberish]
51
+ ): string;
52
+ encodeFunctionData(
53
+ functionFragment: "redeem",
54
+ values: [BigNumberish]
55
+ ): string;
56
+ encodeFunctionData(
57
+ functionFragment: "redeemBehalf",
58
+ values: [string, BigNumberish]
59
+ ): string;
60
+ encodeFunctionData(
61
+ functionFragment: "redeemUnderlyingBehalf",
62
+ values: [string, BigNumberish]
63
+ ): string;
64
+ encodeFunctionData(
65
+ functionFragment: "repayBorrowBehalf",
66
+ values: [string, BigNumberish]
67
+ ): string;
68
+ encodeFunctionData(
69
+ functionFragment: "transferFrom",
70
+ values: [string, string, BigNumberish]
71
+ ): string;
26
72
  encodeFunctionData(
27
73
  functionFragment: "underlying",
28
74
  values?: undefined
29
75
  ): string;
30
76
 
77
+ decodeFunctionResult(
78
+ functionFragment: "borrowBalanceCurrent",
79
+ data: BytesLike
80
+ ): Result;
81
+ decodeFunctionResult(
82
+ functionFragment: "borrowBehalf",
83
+ data: BytesLike
84
+ ): Result;
85
+ decodeFunctionResult(
86
+ functionFragment: "exchangeRateCurrent",
87
+ data: BytesLike
88
+ ): Result;
89
+ decodeFunctionResult(functionFragment: "mintBehalf", data: BytesLike): Result;
90
+ decodeFunctionResult(functionFragment: "redeem", data: BytesLike): Result;
91
+ decodeFunctionResult(
92
+ functionFragment: "redeemBehalf",
93
+ data: BytesLike
94
+ ): Result;
95
+ decodeFunctionResult(
96
+ functionFragment: "redeemUnderlyingBehalf",
97
+ data: BytesLike
98
+ ): Result;
99
+ decodeFunctionResult(
100
+ functionFragment: "repayBorrowBehalf",
101
+ data: BytesLike
102
+ ): Result;
103
+ decodeFunctionResult(
104
+ functionFragment: "transferFrom",
105
+ data: BytesLike
106
+ ): Result;
31
107
  decodeFunctionResult(functionFragment: "underlying", data: BytesLike): Result;
32
108
 
33
109
  events: {};
@@ -77,22 +153,283 @@ export class IVToken extends BaseContract {
77
153
  interface: IVTokenInterface;
78
154
 
79
155
  functions: {
80
- underlying(overrides?: CallOverrides): Promise<[string]>;
156
+ borrowBalanceCurrent(
157
+ account: string,
158
+ overrides?: Overrides & { from?: string | Promise<string> }
159
+ ): Promise<ContractTransaction>;
160
+
161
+ borrowBehalf(
162
+ borrower: string,
163
+ borrowAmount: BigNumberish,
164
+ overrides?: Overrides & { from?: string | Promise<string> }
165
+ ): Promise<ContractTransaction>;
166
+
167
+ exchangeRateCurrent(
168
+ overrides?: Overrides & { from?: string | Promise<string> }
169
+ ): Promise<ContractTransaction>;
170
+
171
+ mintBehalf(
172
+ receiver: string,
173
+ mintAmount: BigNumberish,
174
+ overrides?: Overrides & { from?: string | Promise<string> }
175
+ ): Promise<ContractTransaction>;
176
+
177
+ redeem(
178
+ redeemTokens: BigNumberish,
179
+ overrides?: Overrides & { from?: string | Promise<string> }
180
+ ): Promise<ContractTransaction>;
181
+
182
+ redeemBehalf(
183
+ redeemer: string,
184
+ redeemTokens: BigNumberish,
185
+ overrides?: Overrides & { from?: string | Promise<string> }
186
+ ): Promise<ContractTransaction>;
187
+
188
+ redeemUnderlyingBehalf(
189
+ redeemer: string,
190
+ redeemAmount: BigNumberish,
191
+ overrides?: Overrides & { from?: string | Promise<string> }
192
+ ): Promise<ContractTransaction>;
193
+
194
+ repayBorrowBehalf(
195
+ borrower: string,
196
+ repayAmount: BigNumberish,
197
+ overrides?: Overrides & { from?: string | Promise<string> }
198
+ ): Promise<ContractTransaction>;
199
+
200
+ transferFrom(
201
+ from: string,
202
+ to: string,
203
+ amount: BigNumberish,
204
+ overrides?: Overrides & { from?: string | Promise<string> }
205
+ ): Promise<ContractTransaction>;
206
+
207
+ underlying(
208
+ overrides?: Overrides & { from?: string | Promise<string> }
209
+ ): Promise<ContractTransaction>;
81
210
  };
82
211
 
83
- underlying(overrides?: CallOverrides): Promise<string>;
212
+ borrowBalanceCurrent(
213
+ account: string,
214
+ overrides?: Overrides & { from?: string | Promise<string> }
215
+ ): Promise<ContractTransaction>;
216
+
217
+ borrowBehalf(
218
+ borrower: string,
219
+ borrowAmount: BigNumberish,
220
+ overrides?: Overrides & { from?: string | Promise<string> }
221
+ ): Promise<ContractTransaction>;
222
+
223
+ exchangeRateCurrent(
224
+ overrides?: Overrides & { from?: string | Promise<string> }
225
+ ): Promise<ContractTransaction>;
226
+
227
+ mintBehalf(
228
+ receiver: string,
229
+ mintAmount: BigNumberish,
230
+ overrides?: Overrides & { from?: string | Promise<string> }
231
+ ): Promise<ContractTransaction>;
232
+
233
+ redeem(
234
+ redeemTokens: BigNumberish,
235
+ overrides?: Overrides & { from?: string | Promise<string> }
236
+ ): Promise<ContractTransaction>;
237
+
238
+ redeemBehalf(
239
+ redeemer: string,
240
+ redeemTokens: BigNumberish,
241
+ overrides?: Overrides & { from?: string | Promise<string> }
242
+ ): Promise<ContractTransaction>;
243
+
244
+ redeemUnderlyingBehalf(
245
+ redeemer: string,
246
+ redeemAmount: BigNumberish,
247
+ overrides?: Overrides & { from?: string | Promise<string> }
248
+ ): Promise<ContractTransaction>;
249
+
250
+ repayBorrowBehalf(
251
+ borrower: string,
252
+ repayAmount: BigNumberish,
253
+ overrides?: Overrides & { from?: string | Promise<string> }
254
+ ): Promise<ContractTransaction>;
255
+
256
+ transferFrom(
257
+ from: string,
258
+ to: string,
259
+ amount: BigNumberish,
260
+ overrides?: Overrides & { from?: string | Promise<string> }
261
+ ): Promise<ContractTransaction>;
262
+
263
+ underlying(
264
+ overrides?: Overrides & { from?: string | Promise<string> }
265
+ ): Promise<ContractTransaction>;
84
266
 
85
267
  callStatic: {
268
+ borrowBalanceCurrent(
269
+ account: string,
270
+ overrides?: CallOverrides
271
+ ): Promise<BigNumber>;
272
+
273
+ borrowBehalf(
274
+ borrower: string,
275
+ borrowAmount: BigNumberish,
276
+ overrides?: CallOverrides
277
+ ): Promise<BigNumber>;
278
+
279
+ exchangeRateCurrent(overrides?: CallOverrides): Promise<BigNumber>;
280
+
281
+ mintBehalf(
282
+ receiver: string,
283
+ mintAmount: BigNumberish,
284
+ overrides?: CallOverrides
285
+ ): Promise<BigNumber>;
286
+
287
+ redeem(
288
+ redeemTokens: BigNumberish,
289
+ overrides?: CallOverrides
290
+ ): Promise<BigNumber>;
291
+
292
+ redeemBehalf(
293
+ redeemer: string,
294
+ redeemTokens: BigNumberish,
295
+ overrides?: CallOverrides
296
+ ): Promise<BigNumber>;
297
+
298
+ redeemUnderlyingBehalf(
299
+ redeemer: string,
300
+ redeemAmount: BigNumberish,
301
+ overrides?: CallOverrides
302
+ ): Promise<BigNumber>;
303
+
304
+ repayBorrowBehalf(
305
+ borrower: string,
306
+ repayAmount: BigNumberish,
307
+ overrides?: CallOverrides
308
+ ): Promise<BigNumber>;
309
+
310
+ transferFrom(
311
+ from: string,
312
+ to: string,
313
+ amount: BigNumberish,
314
+ overrides?: CallOverrides
315
+ ): Promise<boolean>;
316
+
86
317
  underlying(overrides?: CallOverrides): Promise<string>;
87
318
  };
88
319
 
89
320
  filters: {};
90
321
 
91
322
  estimateGas: {
92
- underlying(overrides?: CallOverrides): Promise<BigNumber>;
323
+ borrowBalanceCurrent(
324
+ account: string,
325
+ overrides?: Overrides & { from?: string | Promise<string> }
326
+ ): Promise<BigNumber>;
327
+
328
+ borrowBehalf(
329
+ borrower: string,
330
+ borrowAmount: BigNumberish,
331
+ overrides?: Overrides & { from?: string | Promise<string> }
332
+ ): Promise<BigNumber>;
333
+
334
+ exchangeRateCurrent(
335
+ overrides?: Overrides & { from?: string | Promise<string> }
336
+ ): Promise<BigNumber>;
337
+
338
+ mintBehalf(
339
+ receiver: string,
340
+ mintAmount: BigNumberish,
341
+ overrides?: Overrides & { from?: string | Promise<string> }
342
+ ): Promise<BigNumber>;
343
+
344
+ redeem(
345
+ redeemTokens: BigNumberish,
346
+ overrides?: Overrides & { from?: string | Promise<string> }
347
+ ): Promise<BigNumber>;
348
+
349
+ redeemBehalf(
350
+ redeemer: string,
351
+ redeemTokens: BigNumberish,
352
+ overrides?: Overrides & { from?: string | Promise<string> }
353
+ ): Promise<BigNumber>;
354
+
355
+ redeemUnderlyingBehalf(
356
+ redeemer: string,
357
+ redeemAmount: BigNumberish,
358
+ overrides?: Overrides & { from?: string | Promise<string> }
359
+ ): Promise<BigNumber>;
360
+
361
+ repayBorrowBehalf(
362
+ borrower: string,
363
+ repayAmount: BigNumberish,
364
+ overrides?: Overrides & { from?: string | Promise<string> }
365
+ ): Promise<BigNumber>;
366
+
367
+ transferFrom(
368
+ from: string,
369
+ to: string,
370
+ amount: BigNumberish,
371
+ overrides?: Overrides & { from?: string | Promise<string> }
372
+ ): Promise<BigNumber>;
373
+
374
+ underlying(
375
+ overrides?: Overrides & { from?: string | Promise<string> }
376
+ ): Promise<BigNumber>;
93
377
  };
94
378
 
95
379
  populateTransaction: {
96
- underlying(overrides?: CallOverrides): Promise<PopulatedTransaction>;
380
+ borrowBalanceCurrent(
381
+ account: string,
382
+ overrides?: Overrides & { from?: string | Promise<string> }
383
+ ): Promise<PopulatedTransaction>;
384
+
385
+ borrowBehalf(
386
+ borrower: string,
387
+ borrowAmount: BigNumberish,
388
+ overrides?: Overrides & { from?: string | Promise<string> }
389
+ ): Promise<PopulatedTransaction>;
390
+
391
+ exchangeRateCurrent(
392
+ overrides?: Overrides & { from?: string | Promise<string> }
393
+ ): Promise<PopulatedTransaction>;
394
+
395
+ mintBehalf(
396
+ receiver: string,
397
+ mintAmount: BigNumberish,
398
+ overrides?: Overrides & { from?: string | Promise<string> }
399
+ ): Promise<PopulatedTransaction>;
400
+
401
+ redeem(
402
+ redeemTokens: BigNumberish,
403
+ overrides?: Overrides & { from?: string | Promise<string> }
404
+ ): Promise<PopulatedTransaction>;
405
+
406
+ redeemBehalf(
407
+ redeemer: string,
408
+ redeemTokens: BigNumberish,
409
+ overrides?: Overrides & { from?: string | Promise<string> }
410
+ ): Promise<PopulatedTransaction>;
411
+
412
+ redeemUnderlyingBehalf(
413
+ redeemer: string,
414
+ redeemAmount: BigNumberish,
415
+ overrides?: Overrides & { from?: string | Promise<string> }
416
+ ): Promise<PopulatedTransaction>;
417
+
418
+ repayBorrowBehalf(
419
+ borrower: string,
420
+ repayAmount: BigNumberish,
421
+ overrides?: Overrides & { from?: string | Promise<string> }
422
+ ): Promise<PopulatedTransaction>;
423
+
424
+ transferFrom(
425
+ from: string,
426
+ to: string,
427
+ amount: BigNumberish,
428
+ overrides?: Overrides & { from?: string | Promise<string> }
429
+ ): Promise<PopulatedTransaction>;
430
+
431
+ underlying(
432
+ overrides?: Overrides & { from?: string | Promise<string> }
433
+ ): Promise<PopulatedTransaction>;
97
434
  };
98
435
  }