@venusprotocol/isolated-pools 3.6.0-dev.2 → 3.6.0-dev.4
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/Comptroller_LiquidStakedETH.json +187 -0
- package/deployments/bscmainnet/JumpRateModelV2_base0bps_slope350bps_jump8000bps_kink8000bps.json +608 -0
- package/deployments/bscmainnet/JumpRateModelV2_base0bps_slope900bps_jump7500bps_kink4500bps.json +608 -0
- package/deployments/bscmainnet/SwapRouter_LiquidStakedETH.json +2422 -0
- package/deployments/bscmainnet/VToken_vETH_LiquidStakedETH.json +257 -0
- package/deployments/bscmainnet/VToken_vweETH_LiquidStakedETH.json +257 -0
- package/deployments/bscmainnet/VToken_vwstETH_LiquidStakedETH.json +257 -0
- package/deployments/bscmainnet/solcInputs/743ca062289056795b3eefbac34e70b9.json +283 -0
- package/deployments/bscmainnet.json +5645 -2929
- package/deployments/bscmainnet_addresses.json +8 -1
- package/deployments/bsctestnet/Comptroller_LiquidStakedETH.json +187 -0
- package/deployments/bsctestnet/JumpRateModelV2_base0bps_slope350bps_jump8000bps_kink8000bps.json +608 -0
- package/deployments/bsctestnet/JumpRateModelV2_base0bps_slope900bps_jump7500bps_kink4500bps.json +608 -0
- package/deployments/bsctestnet/MockweETH.json +458 -0
- package/deployments/bsctestnet/MockwstETH.json +458 -0
- package/deployments/bsctestnet/SwapRouter_LiquidStakedETH.json +2422 -0
- package/deployments/bsctestnet/VToken_vETH_LiquidStakedETH.json +257 -0
- package/deployments/bsctestnet/VToken_vweETH_LiquidStakedETH.json +257 -0
- package/deployments/bsctestnet/VToken_vwstETH_LiquidStakedETH.json +257 -0
- package/deployments/bsctestnet/solcInputs/2040335765422e1de87160c828624fdd.json +406 -0
- package/deployments/bsctestnet/solcInputs/743ca062289056795b3eefbac34e70b9.json +283 -0
- package/deployments/bsctestnet.json +3926 -592
- package/deployments/bsctestnet_addresses.json +10 -1
- package/deployments/zksyncmainnet/RewardsDistributorImpl.json +1954 -0
- package/deployments/zksyncmainnet/RewardsDistributor_Core_0.json +1477 -0
- package/deployments/zksyncmainnet/RewardsDistributor_Core_0_Proxy.json +332 -0
- package/deployments/zksyncmainnet.json +2569 -0
- package/deployments/zksyncmainnet_addresses.json +3 -0
- package/dist/deploy/004-swap-router.js +9 -0
- package/dist/deployments/bscmainnet.json +5645 -2929
- package/dist/deployments/bsctestnet.json +3926 -592
- package/dist/deployments/zksyncmainnet.json +2569 -0
- package/dist/helpers/deploymentConfig.js +201 -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
|
@@ -764,6 +764,27 @@ exports.globalConfig = {
|
|
|
764
764
|
decimals: 9,
|
|
765
765
|
tokenAddress: hardhat_1.ethers.constants.AddressZero,
|
|
766
766
|
},
|
|
767
|
+
{
|
|
768
|
+
isMock: true,
|
|
769
|
+
name: "Wrapped liquid staked Ether 2.0",
|
|
770
|
+
symbol: "wstETH",
|
|
771
|
+
decimals: 18,
|
|
772
|
+
tokenAddress: hardhat_1.ethers.constants.AddressZero,
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
isMock: true,
|
|
776
|
+
name: "Wrapped eETH",
|
|
777
|
+
symbol: "weETH",
|
|
778
|
+
decimals: 18,
|
|
779
|
+
tokenAddress: hardhat_1.ethers.constants.AddressZero,
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
isMock: false,
|
|
783
|
+
name: "Ethereum Token",
|
|
784
|
+
symbol: "ETH",
|
|
785
|
+
decimals: 18,
|
|
786
|
+
tokenAddress: "0x98f7A83361F7Ac8765CcEBAB1425da6b341958a7",
|
|
787
|
+
},
|
|
767
788
|
],
|
|
768
789
|
poolConfig: [
|
|
769
790
|
{
|
|
@@ -1498,6 +1519,70 @@ exports.globalConfig = {
|
|
|
1498
1519
|
},
|
|
1499
1520
|
],
|
|
1500
1521
|
},
|
|
1522
|
+
{
|
|
1523
|
+
id: "LiquidStakedETH",
|
|
1524
|
+
name: "Liquid Staked ETH",
|
|
1525
|
+
closeFactor: (0, utils_1.convertToUnit)("0.5", 18),
|
|
1526
|
+
liquidationIncentive: (0, utils_1.convertToUnit)("1.02", 18),
|
|
1527
|
+
minLiquidatableCollateral: (0, utils_1.convertToUnit)("100", 18),
|
|
1528
|
+
vtokens: [
|
|
1529
|
+
{
|
|
1530
|
+
name: "Venus wstETH (Liquid Staked ETH)",
|
|
1531
|
+
asset: "wstETH",
|
|
1532
|
+
symbol: "vwstETH_LiquidStakedETH",
|
|
1533
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
1534
|
+
baseRatePerYear: "0",
|
|
1535
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
|
|
1536
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.75", 18),
|
|
1537
|
+
kink_: (0, utils_1.convertToUnit)("0.45", 18),
|
|
1538
|
+
collateralFactor: (0, utils_1.convertToUnit)("0.9", 18),
|
|
1539
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0.93", 18),
|
|
1540
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
|
|
1541
|
+
initialSupply: (0, utils_1.convertToUnit)("3.55", 18),
|
|
1542
|
+
supplyCap: (0, utils_1.convertToUnit)("50", 18),
|
|
1543
|
+
borrowCap: (0, utils_1.convertToUnit)("5", 18),
|
|
1544
|
+
reduceReservesBlockDelta: "28800",
|
|
1545
|
+
vTokenReceiver: exports.preconfiguredAddresses.bsctestnet.VTreasury,
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
name: "Venus weETH (Liquid Staked ETH)",
|
|
1549
|
+
asset: "weETH",
|
|
1550
|
+
symbol: "vweETH_LiquidStakedETH",
|
|
1551
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
1552
|
+
baseRatePerYear: "0",
|
|
1553
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
|
|
1554
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.75", 18),
|
|
1555
|
+
kink_: (0, utils_1.convertToUnit)("0.45", 18),
|
|
1556
|
+
collateralFactor: (0, utils_1.convertToUnit)("0.9", 18),
|
|
1557
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0.93", 18),
|
|
1558
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
|
|
1559
|
+
initialSupply: (0, utils_1.convertToUnit)("4.43236349753311919", 18),
|
|
1560
|
+
supplyCap: (0, utils_1.convertToUnit)("400", 18),
|
|
1561
|
+
borrowCap: (0, utils_1.convertToUnit)("200", 18),
|
|
1562
|
+
reduceReservesBlockDelta: "28800",
|
|
1563
|
+
vTokenReceiver: exports.preconfiguredAddresses.bsctestnet.VTreasury,
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
name: "Venus ETH (Liquid Staked ETH)",
|
|
1567
|
+
asset: "ETH",
|
|
1568
|
+
symbol: "vETH_LiquidStakedETH",
|
|
1569
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
1570
|
+
baseRatePerYear: "0",
|
|
1571
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.035", 18),
|
|
1572
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.8", 18),
|
|
1573
|
+
kink_: (0, utils_1.convertToUnit)("0.8", 18),
|
|
1574
|
+
collateralFactor: (0, utils_1.convertToUnit)("0", 18),
|
|
1575
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0", 18),
|
|
1576
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.15", 18),
|
|
1577
|
+
initialSupply: (0, utils_1.convertToUnit)("2", 18),
|
|
1578
|
+
supplyCap: (0, utils_1.convertToUnit)("450", 18),
|
|
1579
|
+
borrowCap: (0, utils_1.convertToUnit)("400", 18),
|
|
1580
|
+
reduceReservesBlockDelta: "28800",
|
|
1581
|
+
vTokenReceiver: exports.preconfiguredAddresses.bsctestnet.VTreasury,
|
|
1582
|
+
},
|
|
1583
|
+
],
|
|
1584
|
+
rewards: [],
|
|
1585
|
+
},
|
|
1501
1586
|
],
|
|
1502
1587
|
accessControlConfig: [
|
|
1503
1588
|
...poolRegistryPermissions(),
|
|
@@ -1677,6 +1762,27 @@ exports.globalConfig = {
|
|
|
1677
1762
|
decimals: 9,
|
|
1678
1763
|
tokenAddress: "0xc748673057861a797275CD8A068AbB95A902e8de",
|
|
1679
1764
|
},
|
|
1765
|
+
{
|
|
1766
|
+
isMock: false,
|
|
1767
|
+
name: "Wrapped liquid staked Ether 2.0",
|
|
1768
|
+
symbol: "wstETH",
|
|
1769
|
+
decimals: 18,
|
|
1770
|
+
tokenAddress: "0x26c5e01524d2E6280A48F2c50fF6De7e52E9611C",
|
|
1771
|
+
},
|
|
1772
|
+
{
|
|
1773
|
+
isMock: false,
|
|
1774
|
+
name: "Wrapped eETH",
|
|
1775
|
+
symbol: "weETH",
|
|
1776
|
+
decimals: 18,
|
|
1777
|
+
tokenAddress: "0x04c0599ae5a44757c0af6f9ec3b93da8976c150a",
|
|
1778
|
+
},
|
|
1779
|
+
{
|
|
1780
|
+
isMock: false,
|
|
1781
|
+
name: "Ethereum Token",
|
|
1782
|
+
symbol: "ETH",
|
|
1783
|
+
decimals: 18,
|
|
1784
|
+
tokenAddress: "0x2170Ed0880ac9A755fd29B2688956BD959F933F8",
|
|
1785
|
+
},
|
|
1680
1786
|
],
|
|
1681
1787
|
poolConfig: [
|
|
1682
1788
|
{
|
|
@@ -2411,6 +2517,70 @@ exports.globalConfig = {
|
|
|
2411
2517
|
},
|
|
2412
2518
|
],
|
|
2413
2519
|
},
|
|
2520
|
+
{
|
|
2521
|
+
id: "LiquidStakedETH",
|
|
2522
|
+
name: "Liquid Staked ETH",
|
|
2523
|
+
closeFactor: (0, utils_1.convertToUnit)("0.5", 18),
|
|
2524
|
+
liquidationIncentive: (0, utils_1.convertToUnit)("1.02", 18),
|
|
2525
|
+
minLiquidatableCollateral: (0, utils_1.convertToUnit)("100", 18),
|
|
2526
|
+
vtokens: [
|
|
2527
|
+
{
|
|
2528
|
+
name: "Venus wstETH (Liquid Staked ETH)",
|
|
2529
|
+
asset: "wstETH",
|
|
2530
|
+
symbol: "vwstETH_LiquidStakedETH",
|
|
2531
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
2532
|
+
baseRatePerYear: "0",
|
|
2533
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
|
|
2534
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.75", 18),
|
|
2535
|
+
kink_: (0, utils_1.convertToUnit)("0.45", 18),
|
|
2536
|
+
collateralFactor: (0, utils_1.convertToUnit)("0.9", 18),
|
|
2537
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0.93", 18),
|
|
2538
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
|
|
2539
|
+
initialSupply: (0, utils_1.convertToUnit)("3.55", 18),
|
|
2540
|
+
supplyCap: (0, utils_1.convertToUnit)("50", 18),
|
|
2541
|
+
borrowCap: (0, utils_1.convertToUnit)("5", 18),
|
|
2542
|
+
reduceReservesBlockDelta: "28800",
|
|
2543
|
+
vTokenReceiver: exports.preconfiguredAddresses.bscmainnet.VTreasury,
|
|
2544
|
+
},
|
|
2545
|
+
{
|
|
2546
|
+
name: "Venus weETH (Liquid Staked ETH)",
|
|
2547
|
+
asset: "weETH",
|
|
2548
|
+
symbol: "vweETH_LiquidStakedETH",
|
|
2549
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
2550
|
+
baseRatePerYear: "0",
|
|
2551
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
|
|
2552
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.75", 18),
|
|
2553
|
+
kink_: (0, utils_1.convertToUnit)("0.45", 18),
|
|
2554
|
+
collateralFactor: (0, utils_1.convertToUnit)("0.9", 18),
|
|
2555
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0.93", 18),
|
|
2556
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
|
|
2557
|
+
initialSupply: (0, utils_1.convertToUnit)("4.43236349753311919", 18),
|
|
2558
|
+
supplyCap: (0, utils_1.convertToUnit)("400", 18),
|
|
2559
|
+
borrowCap: (0, utils_1.convertToUnit)("200", 18),
|
|
2560
|
+
reduceReservesBlockDelta: "28800",
|
|
2561
|
+
vTokenReceiver: exports.preconfiguredAddresses.bscmainnet.VTreasury,
|
|
2562
|
+
},
|
|
2563
|
+
{
|
|
2564
|
+
name: "Venus ETH (Liquid Staked ETH)",
|
|
2565
|
+
asset: "ETH",
|
|
2566
|
+
symbol: "vETH_LiquidStakedETH",
|
|
2567
|
+
rateModel: InterestRateModels.JumpRate.toString(),
|
|
2568
|
+
baseRatePerYear: "0",
|
|
2569
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.035", 18),
|
|
2570
|
+
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.8", 18),
|
|
2571
|
+
kink_: (0, utils_1.convertToUnit)("0.8", 18),
|
|
2572
|
+
collateralFactor: (0, utils_1.convertToUnit)("0", 18),
|
|
2573
|
+
liquidationThreshold: (0, utils_1.convertToUnit)("0", 18),
|
|
2574
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.15", 18),
|
|
2575
|
+
initialSupply: (0, utils_1.convertToUnit)("2", 18),
|
|
2576
|
+
supplyCap: (0, utils_1.convertToUnit)("450", 18),
|
|
2577
|
+
borrowCap: (0, utils_1.convertToUnit)("400", 18),
|
|
2578
|
+
reduceReservesBlockDelta: "28800",
|
|
2579
|
+
vTokenReceiver: exports.preconfiguredAddresses.bscmainnet.VTreasury,
|
|
2580
|
+
},
|
|
2581
|
+
],
|
|
2582
|
+
rewards: [],
|
|
2583
|
+
},
|
|
2414
2584
|
],
|
|
2415
2585
|
accessControlConfig: [
|
|
2416
2586
|
...poolRegistryPermissions(),
|
|
@@ -4830,6 +5000,37 @@ exports.globalConfig = {
|
|
|
4830
5000
|
vTokenReceiver: exports.preconfiguredAddresses.zksyncmainnet.VTreasury,
|
|
4831
5001
|
},
|
|
4832
5002
|
],
|
|
5003
|
+
rewards: [
|
|
5004
|
+
// XVS Rewards Over 1 month (2,592,000 seconds)
|
|
5005
|
+
// WETH: 1920 XVS for Suppliers (80%)
|
|
5006
|
+
// 480 XVS for Borrowers (20%)
|
|
5007
|
+
// WBTC: 1920 XVS for Suppliers
|
|
5008
|
+
// 480 XVS for Borrowers
|
|
5009
|
+
// USDT: 1440 XVS for Suppliers
|
|
5010
|
+
// 360 XVS for Borrowers
|
|
5011
|
+
// USDC.e: 2880 XVS for Suppliers
|
|
5012
|
+
// 720 XVS for Borrowers
|
|
5013
|
+
// ZK: 1440 XVS for Suppliers
|
|
5014
|
+
// 360 XVS for Borrowers
|
|
5015
|
+
{
|
|
5016
|
+
asset: "XVS",
|
|
5017
|
+
markets: ["WETH", "WBTC", "USDT", "USDC.e", "ZK"],
|
|
5018
|
+
supplySpeeds: [
|
|
5019
|
+
"740740740740740",
|
|
5020
|
+
"740740740740740",
|
|
5021
|
+
"555555555555554",
|
|
5022
|
+
"1111111111111110",
|
|
5023
|
+
"555555555555554",
|
|
5024
|
+
],
|
|
5025
|
+
borrowSpeeds: [
|
|
5026
|
+
"185185185185184",
|
|
5027
|
+
"185185185185184",
|
|
5028
|
+
"138888888888888",
|
|
5029
|
+
"277777777777776",
|
|
5030
|
+
"138888888888888",
|
|
5031
|
+
],
|
|
5032
|
+
},
|
|
5033
|
+
],
|
|
4833
5034
|
},
|
|
4834
5035
|
],
|
|
4835
5036
|
accessControlConfig: [
|
|
@@ -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
|
];
|