@venusprotocol/isolated-pools 4.2.0-dev.8 → 4.2.0-dev.9
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/deployments/bscmainnet/VToken_vasBNB_LiquidStakedBNB.json +257 -0
- package/deployments/bscmainnet/solcInputs/3688ad0b9c5aa96bd2e711a0711cac24.json +451 -0
- package/deployments/bscmainnet.json +74 -0
- package/deployments/bscmainnet_addresses.json +1 -0
- package/deployments/bsctestnet/VToken_vasBNB_LiquidStakedBNB.json +257 -0
- package/deployments/bsctestnet/solcInputs/3688ad0b9c5aa96bd2e711a0711cac24.json +451 -0
- package/deployments/bsctestnet.json +74 -0
- package/deployments/bsctestnet_addresses.json +1 -0
- package/dist/deployments/bscmainnet.json +74 -0
- package/dist/deployments/bsctestnet.json +74 -0
- package/dist/helpers/deploymentConfig.js +50 -0
- package/dist/typechain/factories/IVToken__factory.d.ts +1 -5
- package/dist/typechain/factories/IVToken__factory.js +1 -201
- package/package.json +1 -1
- package/typechain/IVToken.d.ts +4 -341
- package/typechain/factories/IVToken__factory.ts +1 -201
|
@@ -71292,6 +71292,80 @@
|
|
|
71292
71292
|
}
|
|
71293
71293
|
]
|
|
71294
71294
|
},
|
|
71295
|
+
"VToken_vasBNB_LiquidStakedBNB": {
|
|
71296
|
+
"address": "0xc9D979AA6F3bE732A53a27188D74e929FD107187",
|
|
71297
|
+
"abi": [
|
|
71298
|
+
{
|
|
71299
|
+
"inputs": [
|
|
71300
|
+
{
|
|
71301
|
+
"internalType": "address",
|
|
71302
|
+
"name": "beacon",
|
|
71303
|
+
"type": "address"
|
|
71304
|
+
},
|
|
71305
|
+
{
|
|
71306
|
+
"internalType": "bytes",
|
|
71307
|
+
"name": "data",
|
|
71308
|
+
"type": "bytes"
|
|
71309
|
+
}
|
|
71310
|
+
],
|
|
71311
|
+
"stateMutability": "payable",
|
|
71312
|
+
"type": "constructor"
|
|
71313
|
+
},
|
|
71314
|
+
{
|
|
71315
|
+
"anonymous": false,
|
|
71316
|
+
"inputs": [
|
|
71317
|
+
{
|
|
71318
|
+
"indexed": false,
|
|
71319
|
+
"internalType": "address",
|
|
71320
|
+
"name": "previousAdmin",
|
|
71321
|
+
"type": "address"
|
|
71322
|
+
},
|
|
71323
|
+
{
|
|
71324
|
+
"indexed": false,
|
|
71325
|
+
"internalType": "address",
|
|
71326
|
+
"name": "newAdmin",
|
|
71327
|
+
"type": "address"
|
|
71328
|
+
}
|
|
71329
|
+
],
|
|
71330
|
+
"name": "AdminChanged",
|
|
71331
|
+
"type": "event"
|
|
71332
|
+
},
|
|
71333
|
+
{
|
|
71334
|
+
"anonymous": false,
|
|
71335
|
+
"inputs": [
|
|
71336
|
+
{
|
|
71337
|
+
"indexed": true,
|
|
71338
|
+
"internalType": "address",
|
|
71339
|
+
"name": "beacon",
|
|
71340
|
+
"type": "address"
|
|
71341
|
+
}
|
|
71342
|
+
],
|
|
71343
|
+
"name": "BeaconUpgraded",
|
|
71344
|
+
"type": "event"
|
|
71345
|
+
},
|
|
71346
|
+
{
|
|
71347
|
+
"anonymous": false,
|
|
71348
|
+
"inputs": [
|
|
71349
|
+
{
|
|
71350
|
+
"indexed": true,
|
|
71351
|
+
"internalType": "address",
|
|
71352
|
+
"name": "implementation",
|
|
71353
|
+
"type": "address"
|
|
71354
|
+
}
|
|
71355
|
+
],
|
|
71356
|
+
"name": "Upgraded",
|
|
71357
|
+
"type": "event"
|
|
71358
|
+
},
|
|
71359
|
+
{
|
|
71360
|
+
"stateMutability": "payable",
|
|
71361
|
+
"type": "fallback"
|
|
71362
|
+
},
|
|
71363
|
+
{
|
|
71364
|
+
"stateMutability": "payable",
|
|
71365
|
+
"type": "receive"
|
|
71366
|
+
}
|
|
71367
|
+
]
|
|
71368
|
+
},
|
|
71295
71369
|
"VToken_vlisUSD_Stablecoins": {
|
|
71296
71370
|
"address": "0xbd7037aCB46Bc2fD45b4f1b3AaA857fa5105E5AB",
|
|
71297
71371
|
"abi": [
|
|
@@ -154,6 +154,7 @@
|
|
|
154
154
|
"VToken_vWIN_Tron": "0xEe543D5de2Dbb5b07675Fc72831A2f1812428393",
|
|
155
155
|
"VToken_vankrBNB_DeFi": "0xe507B30C41E9e375BCe05197c1e09fc9ee40c0f6",
|
|
156
156
|
"VToken_vankrBNB_LiquidStakedBNB": "0x57a664Dd7f1dE19545fEE9c86C949e3BF43d6D47",
|
|
157
|
+
"VToken_vasBNB_LiquidStakedBNB": "0xc9D979AA6F3bE732A53a27188D74e929FD107187",
|
|
157
158
|
"VToken_vlisUSD_Stablecoins": "0xbd7037aCB46Bc2fD45b4f1b3AaA857fa5105E5AB",
|
|
158
159
|
"VToken_vslisBNB_LiquidStakedBNB": "0xeffE7874C345aE877c1D893cd5160DDD359b24dA",
|
|
159
160
|
"VToken_vstkBNB_LiquidStakedBNB": "0x75aa42c832a8911B77219DbeBABBB40040d16987",
|
|
@@ -61992,6 +61992,80 @@
|
|
|
61992
61992
|
}
|
|
61993
61993
|
]
|
|
61994
61994
|
},
|
|
61995
|
+
"VToken_vasBNB_LiquidStakedBNB": {
|
|
61996
|
+
"address": "0x4A50a0a1c832190362e1491D5bB464b1bc2Bd288",
|
|
61997
|
+
"abi": [
|
|
61998
|
+
{
|
|
61999
|
+
"inputs": [
|
|
62000
|
+
{
|
|
62001
|
+
"internalType": "address",
|
|
62002
|
+
"name": "beacon",
|
|
62003
|
+
"type": "address"
|
|
62004
|
+
},
|
|
62005
|
+
{
|
|
62006
|
+
"internalType": "bytes",
|
|
62007
|
+
"name": "data",
|
|
62008
|
+
"type": "bytes"
|
|
62009
|
+
}
|
|
62010
|
+
],
|
|
62011
|
+
"stateMutability": "payable",
|
|
62012
|
+
"type": "constructor"
|
|
62013
|
+
},
|
|
62014
|
+
{
|
|
62015
|
+
"anonymous": false,
|
|
62016
|
+
"inputs": [
|
|
62017
|
+
{
|
|
62018
|
+
"indexed": false,
|
|
62019
|
+
"internalType": "address",
|
|
62020
|
+
"name": "previousAdmin",
|
|
62021
|
+
"type": "address"
|
|
62022
|
+
},
|
|
62023
|
+
{
|
|
62024
|
+
"indexed": false,
|
|
62025
|
+
"internalType": "address",
|
|
62026
|
+
"name": "newAdmin",
|
|
62027
|
+
"type": "address"
|
|
62028
|
+
}
|
|
62029
|
+
],
|
|
62030
|
+
"name": "AdminChanged",
|
|
62031
|
+
"type": "event"
|
|
62032
|
+
},
|
|
62033
|
+
{
|
|
62034
|
+
"anonymous": false,
|
|
62035
|
+
"inputs": [
|
|
62036
|
+
{
|
|
62037
|
+
"indexed": true,
|
|
62038
|
+
"internalType": "address",
|
|
62039
|
+
"name": "beacon",
|
|
62040
|
+
"type": "address"
|
|
62041
|
+
}
|
|
62042
|
+
],
|
|
62043
|
+
"name": "BeaconUpgraded",
|
|
62044
|
+
"type": "event"
|
|
62045
|
+
},
|
|
62046
|
+
{
|
|
62047
|
+
"anonymous": false,
|
|
62048
|
+
"inputs": [
|
|
62049
|
+
{
|
|
62050
|
+
"indexed": true,
|
|
62051
|
+
"internalType": "address",
|
|
62052
|
+
"name": "implementation",
|
|
62053
|
+
"type": "address"
|
|
62054
|
+
}
|
|
62055
|
+
],
|
|
62056
|
+
"name": "Upgraded",
|
|
62057
|
+
"type": "event"
|
|
62058
|
+
},
|
|
62059
|
+
{
|
|
62060
|
+
"stateMutability": "payable",
|
|
62061
|
+
"type": "fallback"
|
|
62062
|
+
},
|
|
62063
|
+
{
|
|
62064
|
+
"stateMutability": "payable",
|
|
62065
|
+
"type": "receive"
|
|
62066
|
+
}
|
|
62067
|
+
]
|
|
62068
|
+
},
|
|
61995
62069
|
"VToken_vlisUSD_Stablecoins": {
|
|
61996
62070
|
"address": "0xCa2D81AA7C09A1a025De797600A7081146dceEd9",
|
|
61997
62071
|
"abi": [
|
|
@@ -71292,6 +71292,80 @@
|
|
|
71292
71292
|
}
|
|
71293
71293
|
]
|
|
71294
71294
|
},
|
|
71295
|
+
"VToken_vasBNB_LiquidStakedBNB": {
|
|
71296
|
+
"address": "0xc9D979AA6F3bE732A53a27188D74e929FD107187",
|
|
71297
|
+
"abi": [
|
|
71298
|
+
{
|
|
71299
|
+
"inputs": [
|
|
71300
|
+
{
|
|
71301
|
+
"internalType": "address",
|
|
71302
|
+
"name": "beacon",
|
|
71303
|
+
"type": "address"
|
|
71304
|
+
},
|
|
71305
|
+
{
|
|
71306
|
+
"internalType": "bytes",
|
|
71307
|
+
"name": "data",
|
|
71308
|
+
"type": "bytes"
|
|
71309
|
+
}
|
|
71310
|
+
],
|
|
71311
|
+
"stateMutability": "payable",
|
|
71312
|
+
"type": "constructor"
|
|
71313
|
+
},
|
|
71314
|
+
{
|
|
71315
|
+
"anonymous": false,
|
|
71316
|
+
"inputs": [
|
|
71317
|
+
{
|
|
71318
|
+
"indexed": false,
|
|
71319
|
+
"internalType": "address",
|
|
71320
|
+
"name": "previousAdmin",
|
|
71321
|
+
"type": "address"
|
|
71322
|
+
},
|
|
71323
|
+
{
|
|
71324
|
+
"indexed": false,
|
|
71325
|
+
"internalType": "address",
|
|
71326
|
+
"name": "newAdmin",
|
|
71327
|
+
"type": "address"
|
|
71328
|
+
}
|
|
71329
|
+
],
|
|
71330
|
+
"name": "AdminChanged",
|
|
71331
|
+
"type": "event"
|
|
71332
|
+
},
|
|
71333
|
+
{
|
|
71334
|
+
"anonymous": false,
|
|
71335
|
+
"inputs": [
|
|
71336
|
+
{
|
|
71337
|
+
"indexed": true,
|
|
71338
|
+
"internalType": "address",
|
|
71339
|
+
"name": "beacon",
|
|
71340
|
+
"type": "address"
|
|
71341
|
+
}
|
|
71342
|
+
],
|
|
71343
|
+
"name": "BeaconUpgraded",
|
|
71344
|
+
"type": "event"
|
|
71345
|
+
},
|
|
71346
|
+
{
|
|
71347
|
+
"anonymous": false,
|
|
71348
|
+
"inputs": [
|
|
71349
|
+
{
|
|
71350
|
+
"indexed": true,
|
|
71351
|
+
"internalType": "address",
|
|
71352
|
+
"name": "implementation",
|
|
71353
|
+
"type": "address"
|
|
71354
|
+
}
|
|
71355
|
+
],
|
|
71356
|
+
"name": "Upgraded",
|
|
71357
|
+
"type": "event"
|
|
71358
|
+
},
|
|
71359
|
+
{
|
|
71360
|
+
"stateMutability": "payable",
|
|
71361
|
+
"type": "fallback"
|
|
71362
|
+
},
|
|
71363
|
+
{
|
|
71364
|
+
"stateMutability": "payable",
|
|
71365
|
+
"type": "receive"
|
|
71366
|
+
}
|
|
71367
|
+
]
|
|
71368
|
+
},
|
|
71295
71369
|
"VToken_vlisUSD_Stablecoins": {
|
|
71296
71370
|
"address": "0xbd7037aCB46Bc2fD45b4f1b3AaA857fa5105E5AB",
|
|
71297
71371
|
"abi": [
|
|
@@ -872,6 +872,13 @@ exports.globalConfig = {
|
|
|
872
872
|
decimals: 18,
|
|
873
873
|
tokenAddress: hardhat_1.ethers.constants.AddressZero,
|
|
874
874
|
},
|
|
875
|
+
{
|
|
876
|
+
isMock: false,
|
|
877
|
+
name: "Astherus BNB",
|
|
878
|
+
symbol: "asBNB",
|
|
879
|
+
decimals: 18,
|
|
880
|
+
tokenAddress: "0xc625f060ad25f4A6c2d9eBF30C133dB61B7AF072",
|
|
881
|
+
},
|
|
875
882
|
],
|
|
876
883
|
poolConfig: [
|
|
877
884
|
{
|
|
@@ -1394,6 +1401,24 @@ exports.globalConfig = {
|
|
|
1394
1401
|
vTokenReceiver: exports.preconfiguredAddresses.bsctestnet.VTreasury,
|
|
1395
1402
|
reduceReservesBlockDelta: "28800",
|
|
1396
1403
|
},
|
|
1404
|
+
{
|
|
1405
|
+
name: "Venus asBNB (Liquid Staked BNB)",
|
|
1406
|
+
asset: "asBNB",
|
|
1407
|
+
symbol: "vasBNB_LiquidStakedBNB",
|
|
1408
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
1409
|
+
baseRatePerYear: (0, utils_1.convertToUnit)("0", 18),
|
|
1410
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.035", 18),
|
|
1411
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.8", 18),
|
|
1412
|
+
kink_: (0, utils_1.convertToUnit)("0.8", 18),
|
|
1413
|
+
collateralFactor: (0, utils_1.convertToUnit)("0.87", 18),
|
|
1414
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0.90", 18),
|
|
1415
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
|
|
1416
|
+
initialSupply: (0, utils_1.convertToUnit)("18", 18),
|
|
1417
|
+
supplyCap: (0, utils_1.convertToUnit)("2000", 18),
|
|
1418
|
+
borrowCap: (0, utils_1.convertToUnit)("0", 18),
|
|
1419
|
+
vTokenReceiver: exports.preconfiguredAddresses.bsctestnet.VTreasury,
|
|
1420
|
+
reduceReservesBlockDelta: "28800",
|
|
1421
|
+
},
|
|
1397
1422
|
],
|
|
1398
1423
|
rewards: [
|
|
1399
1424
|
{
|
|
@@ -1962,6 +1987,13 @@ exports.globalConfig = {
|
|
|
1962
1987
|
decimals: 18,
|
|
1963
1988
|
tokenAddress: "0xe8f1c9804770e11ab73395be54686ad656601e9e",
|
|
1964
1989
|
},
|
|
1990
|
+
{
|
|
1991
|
+
isMock: false,
|
|
1992
|
+
name: "Astherus BNB",
|
|
1993
|
+
symbol: "asBNB",
|
|
1994
|
+
decimals: 18,
|
|
1995
|
+
tokenAddress: "0x77734e70b6E88b4d82fE632a168EDf6e700912b6",
|
|
1996
|
+
},
|
|
1965
1997
|
],
|
|
1966
1998
|
poolConfig: [
|
|
1967
1999
|
{
|
|
@@ -2484,6 +2516,24 @@ exports.globalConfig = {
|
|
|
2484
2516
|
vTokenReceiver: "0x078357b0e6dca79450850d25cd48a1b5daf08f48",
|
|
2485
2517
|
reduceReservesBlockDelta: "28800",
|
|
2486
2518
|
},
|
|
2519
|
+
{
|
|
2520
|
+
name: "Venus asBNB (Liquid Staked BNB)",
|
|
2521
|
+
asset: "asBNB",
|
|
2522
|
+
symbol: "vasBNB_LiquidStakedBNB",
|
|
2523
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
2524
|
+
baseRatePerYear: (0, utils_1.convertToUnit)("0", 18),
|
|
2525
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.035", 18),
|
|
2526
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.8", 18),
|
|
2527
|
+
kink_: (0, utils_1.convertToUnit)("0.8", 18),
|
|
2528
|
+
collateralFactor: (0, utils_1.convertToUnit)("0.87", 18),
|
|
2529
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0.90", 18),
|
|
2530
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
|
|
2531
|
+
initialSupply: (0, utils_1.convertToUnit)("18", 18),
|
|
2532
|
+
supplyCap: (0, utils_1.convertToUnit)("2000", 18),
|
|
2533
|
+
borrowCap: (0, utils_1.convertToUnit)("0", 18),
|
|
2534
|
+
vTokenReceiver: "0xa8c0C6Ee62F5AD95730fe23cCF37d1c1FFAA1c3f",
|
|
2535
|
+
reduceReservesBlockDelta: "28800",
|
|
2536
|
+
},
|
|
2487
2537
|
],
|
|
2488
2538
|
rewards: [
|
|
2489
2539
|
{
|
|
@@ -3,11 +3,7 @@ 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:
|
|
7
|
-
internalType: string;
|
|
8
|
-
name: string;
|
|
9
|
-
type: string;
|
|
10
|
-
}[];
|
|
6
|
+
inputs: never[];
|
|
11
7
|
name: string;
|
|
12
8
|
outputs: {
|
|
13
9
|
internalType: string;
|
|
@@ -6,206 +6,6 @@ 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
|
-
},
|
|
209
9
|
{
|
|
210
10
|
inputs: [],
|
|
211
11
|
name: "underlying",
|
|
@@ -216,7 +16,7 @@ const _abi = [
|
|
|
216
16
|
type: "address",
|
|
217
17
|
},
|
|
218
18
|
],
|
|
219
|
-
stateMutability: "
|
|
19
|
+
stateMutability: "view",
|
|
220
20
|
type: "function",
|
|
221
21
|
},
|
|
222
22
|
];
|