@venusprotocol/isolated-pools 4.2.0-dev.12 → 4.2.0-dev.14

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 (38) hide show
  1. package/deployments/ethereum/JumpRateModelV2_base0bps_slope0bps_jump0bps_kink0bps_bpy2628000.json +600 -0
  2. package/deployments/ethereum/JumpRateModelV2_base0bps_slope1000bps_jump25000bps_kink8000bps_bpy2628000.json +608 -0
  3. package/deployments/ethereum/VToken_vUSDe_Core.json +257 -0
  4. package/deployments/ethereum/VToken_vsUSDe_Core.json +257 -0
  5. package/deployments/ethereum/solcInputs/63aefd090744a1a82e68ec023a9846aa.json +460 -0
  6. package/deployments/ethereum.json +1344 -476
  7. package/deployments/ethereum_addresses.json +4 -0
  8. package/deployments/sepolia/JumpRateModelV2_base0bps_slope0bps_jump0bps_kink0bps_bpy2628000.json +600 -0
  9. package/deployments/sepolia/JumpRateModelV2_base0bps_slope1000bps_jump25000bps_kink8000bps_bpy2628000.json +608 -0
  10. package/deployments/sepolia/VToken_vUSDe_Core.json +257 -0
  11. package/deployments/sepolia/VToken_vsUSDe_Core.json +257 -0
  12. package/deployments/sepolia/solcInputs/63aefd090744a1a82e68ec023a9846aa.json +460 -0
  13. package/deployments/sepolia.json +1113 -245
  14. package/deployments/sepolia_addresses.json +4 -0
  15. package/deployments/unichainmainnet/JumpRateModelV2_base0bps_slope900bps_jump30000bps_kink4500bps_timeBased.json +608 -0
  16. package/deployments/unichainmainnet/VToken_vweETH_Core.json +257 -0
  17. package/deployments/unichainmainnet/VToken_vwstETH_Core.json +257 -0
  18. package/deployments/unichainmainnet/solcInputs/ce6625b54019da2185242b008485096c.json +487 -0
  19. package/deployments/unichainmainnet.json +508 -0
  20. package/deployments/unichainmainnet_addresses.json +4 -1
  21. package/deployments/unichainsepolia/JumpRateModelV2_base0bps_slope900bps_jump30000bps_kink4500bps_timeBased.json +608 -0
  22. package/deployments/unichainsepolia/MockweETH.json +458 -0
  23. package/deployments/unichainsepolia/MockwstETH.json +458 -0
  24. package/deployments/unichainsepolia/VToken_vweETH_Core.json +257 -0
  25. package/deployments/unichainsepolia/VToken_vwstETH_Core.json +257 -0
  26. package/deployments/unichainsepolia/solcInputs/ce6625b54019da2185242b008485096c.json +487 -0
  27. package/deployments/unichainsepolia.json +1132 -6
  28. package/deployments/unichainsepolia_addresses.json +6 -1
  29. package/dist/deployments/ethereum.json +1344 -476
  30. package/dist/deployments/sepolia.json +1113 -245
  31. package/dist/deployments/unichainmainnet.json +508 -0
  32. package/dist/deployments/unichainsepolia.json +1132 -6
  33. package/dist/helpers/deploymentConfig.js +192 -2
  34. package/dist/typechain/factories/IVToken__factory.d.ts +5 -1
  35. package/dist/typechain/factories/IVToken__factory.js +201 -1
  36. package/package.json +1 -1
  37. package/typechain/IVToken.d.ts +341 -4
  38. package/typechain/factories/IVToken__factory.ts +201 -1
@@ -206,14 +206,14 @@ exports.preconfiguredAddresses = {
206
206
  },
207
207
  unichainsepolia: {
208
208
  VTreasury: "0x0C7CB62F2194cD701bcE8FD8067b43A3Bb76428e",
209
- NormalTimelock: exports.UNICHAIN_SEPOLIA_MULTISIG,
209
+ NormalTimelock: "0x5e20F5A2e23463D39287185DF84607DF7068F314",
210
210
  FastTrackTimelock: exports.UNICHAIN_SEPOLIA_MULTISIG,
211
211
  CriticalTimelock: exports.UNICHAIN_SEPOLIA_MULTISIG,
212
212
  AccessControlManager: "0x854C064EA6b503A97980F481FA3B7279012fdeDd",
213
213
  },
214
214
  unichainmainnet: {
215
215
  VTreasury: "0x958F4C84d3ad523Fa9936Dc465A123C7AD43D69B",
216
- NormalTimelock: exports.UNICHAIN_MAINNET_MULTISIG,
216
+ NormalTimelock: "0x918532A78d22419Da4091930d472bDdf532BE89a",
217
217
  FastTrackTimelock: exports.UNICHAIN_MAINNET_MULTISIG,
218
218
  CriticalTimelock: exports.UNICHAIN_MAINNET_MULTISIG,
219
219
  AccessControlManager: "0x1f12014c497a9d905155eB9BfDD9FaC6885e61d0",
@@ -3129,6 +3129,13 @@ exports.globalConfig = {
3129
3129
  decimals: 18,
3130
3130
  tokenAddress: hardhat_1.ethers.constants.AddressZero,
3131
3131
  },
3132
+ {
3133
+ isMock: true,
3134
+ name: "USDe",
3135
+ symbol: "USDe",
3136
+ decimals: 18,
3137
+ tokenAddress: hardhat_1.ethers.constants.AddressZero,
3138
+ },
3132
3139
  ],
3133
3140
  poolConfig: [
3134
3141
  {
@@ -3516,6 +3523,42 @@ exports.globalConfig = {
3516
3523
  reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
3517
3524
  vTokenReceiver: exports.preconfiguredAddresses.sepolia.VTreasury,
3518
3525
  },
3526
+ {
3527
+ name: "Venus sUSDe (Core)",
3528
+ asset: "sUSDe",
3529
+ symbol: "vsUSDe_Core",
3530
+ rateModel: InterestRateModels.JumpRate.toString(),
3531
+ baseRatePerYear: "0",
3532
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.1", 18),
3533
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
3534
+ kink_: (0, utils_1.convertToUnit)("0.8", 18),
3535
+ collateralFactor: (0, utils_1.convertToUnit)("0.72", 18),
3536
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.75", 18),
3537
+ reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
3538
+ initialSupply: (0, utils_1.convertToUnit)("10_000", 18),
3539
+ supplyCap: (0, utils_1.convertToUnit)("20_000_000", 18),
3540
+ borrowCap: (0, utils_1.convertToUnit)("0", 18),
3541
+ reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
3542
+ vTokenReceiver: exports.preconfiguredAddresses.sepolia.VTreasury,
3543
+ },
3544
+ {
3545
+ name: "Venus USDe (Core)",
3546
+ asset: "USDe",
3547
+ symbol: "vUSDe_Core",
3548
+ rateModel: InterestRateModels.JumpRate.toString(),
3549
+ baseRatePerYear: "0",
3550
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.1", 18),
3551
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
3552
+ kink_: (0, utils_1.convertToUnit)("0.8", 18),
3553
+ collateralFactor: (0, utils_1.convertToUnit)("0.72", 18),
3554
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.75", 18),
3555
+ reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
3556
+ initialSupply: (0, utils_1.convertToUnit)("10_000", 18),
3557
+ supplyCap: (0, utils_1.convertToUnit)("30_000_000", 18),
3558
+ borrowCap: (0, utils_1.convertToUnit)("25_000_000", 18),
3559
+ reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
3560
+ vTokenReceiver: exports.preconfiguredAddresses.sepolia.VTreasury,
3561
+ },
3519
3562
  ],
3520
3563
  rewards: [
3521
3564
  // XVS Rewards Over 90 days (648000 blocks)
@@ -4218,6 +4261,13 @@ exports.globalConfig = {
4218
4261
  decimals: 18,
4219
4262
  tokenAddress: "0xba100000625a3754423978a60c9317c58a424e3D",
4220
4263
  },
4264
+ {
4265
+ isMock: false,
4266
+ name: "USDe",
4267
+ symbol: "USDe",
4268
+ decimals: 18,
4269
+ tokenAddress: "0x4c9edd5852cd905f086c759e8383e09bff1e68b3",
4270
+ },
4221
4271
  ],
4222
4272
  poolConfig: [
4223
4273
  {
@@ -4593,6 +4643,42 @@ exports.globalConfig = {
4593
4643
  reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
4594
4644
  vTokenReceiver: "0x3e8734ec146c981e3ed1f6b582d447dde701d90c",
4595
4645
  },
4646
+ {
4647
+ name: "Venus sUSDe (Core)",
4648
+ asset: "sUSDe",
4649
+ symbol: "vsUSDe_Core",
4650
+ rateModel: InterestRateModels.JumpRate.toString(),
4651
+ baseRatePerYear: "0",
4652
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.1", 18),
4653
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
4654
+ kink_: (0, utils_1.convertToUnit)("0.8", 18),
4655
+ collateralFactor: (0, utils_1.convertToUnit)("0.72", 18),
4656
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.75", 18),
4657
+ reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
4658
+ initialSupply: (0, utils_1.convertToUnit)("10_000", 18),
4659
+ supplyCap: (0, utils_1.convertToUnit)("20_000_000", 18),
4660
+ borrowCap: (0, utils_1.convertToUnit)("0", 18),
4661
+ reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
4662
+ vTokenReceiver: "0x3e8734ec146c981e3ed1f6b582d447dde701d90c",
4663
+ },
4664
+ {
4665
+ name: "Venus USDe (Core)",
4666
+ asset: "USDe",
4667
+ symbol: "vUSDe_Core",
4668
+ rateModel: InterestRateModels.JumpRate.toString(),
4669
+ baseRatePerYear: "0",
4670
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.1", 18),
4671
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
4672
+ kink_: (0, utils_1.convertToUnit)("0.8", 18),
4673
+ collateralFactor: (0, utils_1.convertToUnit)("0.72", 18),
4674
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.75", 18),
4675
+ reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
4676
+ initialSupply: (0, utils_1.convertToUnit)("10_000", 18),
4677
+ supplyCap: (0, utils_1.convertToUnit)("30_000_000", 18),
4678
+ borrowCap: (0, utils_1.convertToUnit)("25_000_000", 18),
4679
+ reduceReservesBlockDelta: DEFAULT_REDUCE_RESERVES_BLOCK_DELTA,
4680
+ vTokenReceiver: "0x3e8734ec146c981e3ed1f6b582d447dde701d90c",
4681
+ },
4596
4682
  ],
4597
4683
  rewards: [
4598
4684
  // XVS Rewards Over 90 days (648000 blocks)
@@ -7174,6 +7260,20 @@ exports.globalConfig = {
7174
7260
  decimals: 18,
7175
7261
  tokenAddress: hardhat_1.ethers.constants.AddressZero,
7176
7262
  },
7263
+ {
7264
+ isMock: true,
7265
+ name: "Wrapped eETH",
7266
+ symbol: "weETH",
7267
+ decimals: 18,
7268
+ tokenAddress: hardhat_1.ethers.constants.AddressZero,
7269
+ },
7270
+ {
7271
+ isMock: true,
7272
+ name: "Wrapped liquid staked Ether 2.0",
7273
+ symbol: "wstETH",
7274
+ decimals: 18,
7275
+ tokenAddress: hardhat_1.ethers.constants.AddressZero,
7276
+ },
7177
7277
  ],
7178
7278
  poolConfig: [
7179
7279
  {
@@ -7273,6 +7373,42 @@ exports.globalConfig = {
7273
7373
  reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_SEPOLIA,
7274
7374
  vTokenReceiver: exports.preconfiguredAddresses.unichainsepolia.VTreasury,
7275
7375
  },
7376
+ {
7377
+ name: "Venus wstETH (Core)",
7378
+ asset: "wstETH",
7379
+ symbol: "vwstETH_Core",
7380
+ rateModel: InterestRateModels.JumpRate.toString(),
7381
+ baseRatePerYear: "0",
7382
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
7383
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
7384
+ kink_: (0, utils_1.convertToUnit)("0.45", 18),
7385
+ collateralFactor: (0, utils_1.convertToUnit)("0.7", 18),
7386
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.725", 18),
7387
+ reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
7388
+ initialSupply: (0, utils_1.convertToUnit)("3", 18),
7389
+ supplyCap: (0, utils_1.convertToUnit)("14000", 18),
7390
+ borrowCap: (0, utils_1.convertToUnit)("7000", 18),
7391
+ reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_SEPOLIA,
7392
+ vTokenReceiver: exports.preconfiguredAddresses.unichainsepolia.VTreasury,
7393
+ },
7394
+ {
7395
+ name: "Venus weETH (Core)",
7396
+ asset: "weETH",
7397
+ symbol: "vweETH_Core",
7398
+ rateModel: InterestRateModels.JumpRate.toString(),
7399
+ baseRatePerYear: "0",
7400
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
7401
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
7402
+ kink_: (0, utils_1.convertToUnit)("0.45", 18),
7403
+ collateralFactor: (0, utils_1.convertToUnit)("0.7", 18),
7404
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.75", 18),
7405
+ reserveFactor: (0, utils_1.convertToUnit)("0.4", 18),
7406
+ initialSupply: (0, utils_1.convertToUnit)("3", 18),
7407
+ supplyCap: (0, utils_1.convertToUnit)("4000", 18),
7408
+ borrowCap: (0, utils_1.convertToUnit)("400", 18),
7409
+ reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_SEPOLIA,
7410
+ vTokenReceiver: exports.preconfiguredAddresses.unichainsepolia.VTreasury,
7411
+ },
7276
7412
  ],
7277
7413
  rewards: [
7278
7414
  // XVS Rewards Over 3600 days (311040000 seconds)
@@ -7331,6 +7467,20 @@ exports.globalConfig = {
7331
7467
  decimals: 18,
7332
7468
  tokenAddress: "0x8f187aa05619a017077f5308904739877ce9ea21",
7333
7469
  },
7470
+ {
7471
+ isMock: false,
7472
+ name: "Wrapped eETH",
7473
+ symbol: "weETH",
7474
+ decimals: 18,
7475
+ tokenAddress: "0x7DCC39B4d1C53CB31e1aBc0e358b43987FEF80f7",
7476
+ },
7477
+ {
7478
+ isMock: false,
7479
+ name: "Wrapped liquid staked Ether 2.0",
7480
+ symbol: "wstETH",
7481
+ decimals: 18,
7482
+ tokenAddress: "0xc02fE7317D4eb8753a02c35fe019786854A92001",
7483
+ },
7334
7484
  ],
7335
7485
  poolConfig: [
7336
7486
  {
@@ -7394,6 +7544,42 @@ exports.globalConfig = {
7394
7544
  reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_MAINNET,
7395
7545
  vTokenReceiver: exports.preconfiguredAddresses.unichainmainnet.VTreasury,
7396
7546
  },
7547
+ {
7548
+ name: "Venus wstETH (Core)",
7549
+ asset: "wstETH",
7550
+ symbol: "vwstETH_Core",
7551
+ rateModel: InterestRateModels.JumpRate.toString(),
7552
+ baseRatePerYear: "0",
7553
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.15", 18),
7554
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
7555
+ kink_: (0, utils_1.convertToUnit)("0.45", 18),
7556
+ collateralFactor: (0, utils_1.convertToUnit)("0.7", 18),
7557
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.725", 18),
7558
+ reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
7559
+ initialSupply: (0, utils_1.convertToUnit)("3", 18),
7560
+ supplyCap: (0, utils_1.convertToUnit)("14000", 18),
7561
+ borrowCap: (0, utils_1.convertToUnit)("7000", 18),
7562
+ reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_MAINNET,
7563
+ vTokenReceiver: exports.preconfiguredAddresses.unichainmainnet.VTreasury,
7564
+ },
7565
+ {
7566
+ name: "Venus weETH (Core)",
7567
+ asset: "weETH",
7568
+ symbol: "vweETH_Core",
7569
+ rateModel: InterestRateModels.JumpRate.toString(),
7570
+ baseRatePerYear: "0",
7571
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
7572
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
7573
+ kink_: (0, utils_1.convertToUnit)("0.45", 18),
7574
+ collateralFactor: (0, utils_1.convertToUnit)("0.7", 18),
7575
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.75", 18),
7576
+ reserveFactor: (0, utils_1.convertToUnit)("0.4", 18),
7577
+ initialSupply: (0, utils_1.convertToUnit)("3", 18),
7578
+ supplyCap: (0, utils_1.convertToUnit)("4000", 18),
7579
+ borrowCap: (0, utils_1.convertToUnit)("400", 18),
7580
+ reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_UNICHAIN_MAINNET,
7581
+ vTokenReceiver: exports.preconfiguredAddresses.unichainmainnet.VTreasury,
7582
+ },
7397
7583
  ],
7398
7584
  rewards: [
7399
7585
  // XVS Rewards Over 30 days (2592000 seconds)
@@ -7659,6 +7845,10 @@ function getMaxBorrowRateMantissa(networkName) {
7659
7845
  return ethers_1.BigNumber.from(0.0005e16);
7660
7846
  case "opbnbmainnet":
7661
7847
  return ethers_1.BigNumber.from(0.0005e16);
7848
+ case "unichainsepolia":
7849
+ return ethers_1.BigNumber.from(0.0005e16);
7850
+ case "unichainmainnet":
7851
+ return ethers_1.BigNumber.from(0.0005e16);
7662
7852
  case "development":
7663
7853
  return ethers_1.BigNumber.from(0.0005e16);
7664
7854
  default:
@@ -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.12",
3
+ "version": "4.2.0-dev.14",
4
4
  "description": "",
5
5
  "files": [
6
6
  "artifacts",