@venusprotocol/isolated-pools 3.7.0-dev.5 → 3.7.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.
Files changed (37) hide show
  1. package/deployments/basesepolia/.chainId +1 -0
  2. package/deployments/basesepolia/ComptrollerBeacon.json +206 -0
  3. package/deployments/basesepolia/ComptrollerImpl.json +3396 -0
  4. package/deployments/basesepolia/Comptroller_Core.json +187 -0
  5. package/deployments/basesepolia/DefaultProxyAdmin.json +200 -0
  6. package/deployments/basesepolia/JumpRateModelV2_base0bps_slope750bps_jump25000bps_kink8000bps.json +608 -0
  7. package/deployments/basesepolia/JumpRateModelV2_base0bps_slope900bps_jump30000bps_kink4500bps.json +608 -0
  8. package/deployments/basesepolia/MockUSDC.json +458 -0
  9. package/deployments/basesepolia/MockcbBTC.json +458 -0
  10. package/deployments/basesepolia/NativeTokenGateway_vWETH_Core.json +599 -0
  11. package/deployments/basesepolia/PoolLens.json +1416 -0
  12. package/deployments/basesepolia/PoolRegistry.json +940 -0
  13. package/deployments/basesepolia/PoolRegistry_Implementation.json +1194 -0
  14. package/deployments/basesepolia/PoolRegistry_Proxy.json +262 -0
  15. package/deployments/basesepolia/RewardsDistributorImpl.json +1856 -0
  16. package/deployments/basesepolia/RewardsDistributor_Core_0.json +1420 -0
  17. package/deployments/basesepolia/RewardsDistributor_Core_0_Proxy.json +272 -0
  18. package/deployments/basesepolia/VTokenBeacon.json +206 -0
  19. package/deployments/basesepolia/VTokenImpl.json +3269 -0
  20. package/deployments/basesepolia/VToken_vUSDC_Core.json +257 -0
  21. package/deployments/basesepolia/VToken_vWETH_Core.json +257 -0
  22. package/deployments/basesepolia/VToken_vcbBTC_Core.json +257 -0
  23. package/deployments/basesepolia/solcInputs/1cc1a300ca8c782ec718d1d686c359e7.json +301 -0
  24. package/deployments/basesepolia/solcInputs/9fb535a58937a08c38529913271f4d87.json +397 -0
  25. package/deployments/basesepolia.json +11959 -0
  26. package/deployments/basesepolia_addresses.json +27 -0
  27. package/dist/deploy/018-native-token-gateway.js +14 -0
  28. package/dist/deployments/basesepolia.json +11959 -0
  29. package/dist/deployments/opmainnet.json +9280 -0
  30. package/dist/hardhat.config.js +19 -0
  31. package/dist/helpers/deploymentConfig.d.ts +9 -0
  32. package/dist/helpers/deploymentConfig.js +136 -1
  33. package/dist/typechain/factories/IVToken__factory.d.ts +1 -5
  34. package/dist/typechain/factories/IVToken__factory.js +1 -201
  35. package/package.json +1 -1
  36. package/typechain/IVToken.d.ts +4 -341
  37. package/typechain/factories/IVToken__factory.ts +1 -201
@@ -78,6 +78,10 @@ const DEPLOYER_PRIVATE_KEY = process.env.DEPLOYER_PRIVATE_KEY;
78
78
  "node_modules/@venusprotocol/protocol-reserve/deployments/arbitrumsepolia",
79
79
  ],
80
80
  arbitrumone: ["node_modules/@venusprotocol/protocol-reserve/deployments/arbitrumone"],
81
+ basesepolia: [
82
+ "node_modules/@venusprotocol/oracle/deployments/basesepolia",
83
+ "node_modules/@venusprotocol/protocol-reserve/deployments/basesepolia",
84
+ ],
81
85
  },
82
86
  };
83
87
  }
@@ -285,6 +289,12 @@ const config = {
285
289
  live: true,
286
290
  accounts: DEPLOYER_PRIVATE_KEY ? [`0x${DEPLOYER_PRIVATE_KEY}`] : [],
287
291
  },
292
+ basesepolia: {
293
+ url: process.env.ARCHIVE_NODE_basesepolia || "https://sepolia.base.org",
294
+ chainId: 84532,
295
+ live: true,
296
+ accounts: DEPLOYER_PRIVATE_KEY ? [`0x${DEPLOYER_PRIVATE_KEY}`] : [],
297
+ },
288
298
  },
289
299
  gasReporter: {
290
300
  enabled: process.env.REPORT_GAS !== undefined,
@@ -380,6 +390,14 @@ const config = {
380
390
  browserURL: "https://optimistic.etherscan.io/",
381
391
  },
382
392
  },
393
+ {
394
+ network: "basesepolia",
395
+ chainId: 84532,
396
+ urls: {
397
+ apiURL: "https://api-sepolia.basescan.org/api",
398
+ browserURL: "https://sepolia.basescan.org/",
399
+ },
400
+ },
383
401
  ],
384
402
  apiKey: {
385
403
  bscmainnet: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
@@ -392,6 +410,7 @@ const config = {
392
410
  arbitrumsepolia: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
393
411
  opsepolia: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
394
412
  opmainnet: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
413
+ basesepolia: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
395
414
  },
396
415
  },
397
416
  paths: {
@@ -14,6 +14,7 @@ export type NetworkConfig = {
14
14
  zksyncmainnet: DeploymentConfig;
15
15
  opsepolia: DeploymentConfig;
16
16
  opmainnet: DeploymentConfig;
17
+ basesepolia: DeploymentConfig;
17
18
  };
18
19
  export type PreconfiguredAddresses = {
19
20
  [contract: string]: string;
@@ -104,6 +105,7 @@ export declare const ZKSYNC_SEPOLIA_MULTISIG = "0xa2f83de95E9F28eD443132C331B6a9
104
105
  export declare const ZKSYNC_MAINNET_MULTISIG = "0x751Aa759cfBB6CE71A43b48e40e1cCcFC66Ba4aa";
105
106
  export declare const OP_SEPOLIA_MULTISIG = "0xd57365EE4E850e881229e2F8Aa405822f289e78d";
106
107
  export declare const OP_MAINNET_MULTISIG = "0x2e94dd14E81999CdBF5deDE31938beD7308354b3";
108
+ export declare const BASE_SEPOLIA_MULTISIG = "0xdf3b635d2b535f906BB02abb22AED71346E36a00";
107
109
  export declare const preconfiguredAddresses: {
108
110
  hardhat: {
109
111
  VTreasury: string;
@@ -208,6 +210,13 @@ export declare const preconfiguredAddresses: {
208
210
  CriticalTimelock: string;
209
211
  AccessControlManager: string;
210
212
  };
213
+ basesepolia: {
214
+ VTreasury: string;
215
+ NormalTimelock: string;
216
+ FastTrackTimelock: string;
217
+ CriticalTimelock: string;
218
+ AccessControlManager: string;
219
+ };
211
220
  };
212
221
  export declare const globalConfig: NetworkConfig;
213
222
  export declare function getConfig(networkName: string): Promise<DeploymentConfig>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getMaxBorrowRateMantissa = exports.getBidderDeploymentValues = exports.getTokenAddress = exports.getTokenConfig = exports.getConfig = exports.globalConfig = exports.preconfiguredAddresses = exports.OP_MAINNET_MULTISIG = exports.OP_SEPOLIA_MULTISIG = exports.ZKSYNC_MAINNET_MULTISIG = exports.ZKSYNC_SEPOLIA_MULTISIG = exports.ARBITRUM_ONE_MULTISIG = exports.ARBITRUM_SEPOLIA_MULTISIG = exports.OPBNBMAINNET_MULTISIG = exports.OPBNBTESTNET_MULTISIG = exports.ETHEREUM_MULTISIG = exports.SEPOLIA_MULTISIG = exports.blocksPerYear = exports.SECONDS_PER_YEAR = exports.OPBNB_BLOCKS_PER_YEAR = exports.ETH_BLOCKS_PER_YEAR = exports.BSC_BLOCKS_PER_YEAR = exports.InterestRateModels = void 0;
3
+ exports.getMaxBorrowRateMantissa = exports.getBidderDeploymentValues = exports.getTokenAddress = exports.getTokenConfig = exports.getConfig = exports.globalConfig = exports.preconfiguredAddresses = exports.BASE_SEPOLIA_MULTISIG = exports.OP_MAINNET_MULTISIG = exports.OP_SEPOLIA_MULTISIG = exports.ZKSYNC_MAINNET_MULTISIG = exports.ZKSYNC_SEPOLIA_MULTISIG = exports.ARBITRUM_ONE_MULTISIG = exports.ARBITRUM_SEPOLIA_MULTISIG = exports.OPBNBMAINNET_MULTISIG = exports.OPBNBTESTNET_MULTISIG = exports.ETHEREUM_MULTISIG = exports.SEPOLIA_MULTISIG = exports.blocksPerYear = exports.SECONDS_PER_YEAR = exports.OPBNB_BLOCKS_PER_YEAR = exports.ETH_BLOCKS_PER_YEAR = exports.BSC_BLOCKS_PER_YEAR = exports.InterestRateModels = void 0;
4
4
  const arbitrumone_json_1 = require("@venusprotocol/governance-contracts/deployments/arbitrumone.json");
5
5
  const arbitrumsepolia_json_1 = require("@venusprotocol/governance-contracts/deployments/arbitrumsepolia.json");
6
6
  const bscmainnet_json_1 = require("@venusprotocol/governance-contracts/deployments/bscmainnet.json");
@@ -48,6 +48,7 @@ exports.blocksPerYear = {
48
48
  zksyncmainnet: 0,
49
49
  opsepolia: 0,
50
50
  opmainnet: 0,
51
+ basesepolia: 0,
51
52
  isTimeBased: 0, // for time based contracts
52
53
  };
53
54
  exports.SEPOLIA_MULTISIG = "0x94fa6078b6b8a26f0b6edffbe6501b22a10470fb";
@@ -60,6 +61,7 @@ exports.ZKSYNC_SEPOLIA_MULTISIG = "0xa2f83de95E9F28eD443132C331B6a9C9B7a9F866";
60
61
  exports.ZKSYNC_MAINNET_MULTISIG = "0x751Aa759cfBB6CE71A43b48e40e1cCcFC66Ba4aa";
61
62
  exports.OP_SEPOLIA_MULTISIG = "0xd57365EE4E850e881229e2F8Aa405822f289e78d";
62
63
  exports.OP_MAINNET_MULTISIG = "0x2e94dd14E81999CdBF5deDE31938beD7308354b3";
64
+ exports.BASE_SEPOLIA_MULTISIG = "0xdf3b635d2b535f906BB02abb22AED71346E36a00";
63
65
  const DEFAULT_REDUCE_RESERVES_BLOCK_DELTA = "7200";
64
66
  const REDUCE_RESERVES_BLOCK_DELTA_ETHEREUM = "7200";
65
67
  const REDUCE_RESERVES_BLOCK_DELTA_OPBNBTESTNET = "300";
@@ -70,6 +72,7 @@ const REDUCE_RESERVES_BLOCK_DELTA_ZKSYNC_SEPOLIA = "86400";
70
72
  const REDUCE_RESERVES_BLOCK_DELTA_OP_SEPOLIA = "86400";
71
73
  const REDUCE_RESERVES_BLOCK_DELTA_ZKSYNC_MAINNET = "86400";
72
74
  const REDUCE_RESERVES_BLOCK_DELTA_OP_MAINNET = "86400";
75
+ const REDUCE_RESERVES_BLOCK_DELTA_BASE_SEPOLIA = "86400";
73
76
  exports.preconfiguredAddresses = {
74
77
  hardhat: {
75
78
  VTreasury: "account:deployer",
@@ -174,6 +177,13 @@ exports.preconfiguredAddresses = {
174
177
  CriticalTimelock: exports.OP_MAINNET_MULTISIG,
175
178
  AccessControlManager: "0xD71b1F33f6B0259683f11174EE4Ddc2bb9cE4eD6",
176
179
  },
180
+ basesepolia: {
181
+ VTreasury: "0x07e880DaA6572829cE8ABaaf0f5323A4eFC417A6",
182
+ NormalTimelock: exports.BASE_SEPOLIA_MULTISIG,
183
+ FastTrackTimelock: exports.BASE_SEPOLIA_MULTISIG,
184
+ CriticalTimelock: exports.BASE_SEPOLIA_MULTISIG,
185
+ AccessControlManager: "0x724138223D8F76b519fdE715f60124E7Ce51e051",
186
+ },
177
187
  };
178
188
  const poolRegistryPermissions = () => {
179
189
  const methods = [
@@ -5572,6 +5582,127 @@ exports.globalConfig = {
5572
5582
  ],
5573
5583
  preconfiguredAddresses: exports.preconfiguredAddresses.opmainnet,
5574
5584
  },
5585
+ basesepolia: {
5586
+ tokensConfig: [
5587
+ {
5588
+ isMock: true,
5589
+ name: "USD Coin",
5590
+ symbol: "USDC",
5591
+ decimals: 6,
5592
+ tokenAddress: hardhat_1.ethers.constants.AddressZero,
5593
+ },
5594
+ {
5595
+ isMock: false,
5596
+ name: "Wrapped Ether",
5597
+ symbol: "WETH",
5598
+ decimals: 18,
5599
+ tokenAddress: "0x4200000000000000000000000000000000000006",
5600
+ },
5601
+ {
5602
+ isMock: true,
5603
+ name: "Coinbase Wrapped BTC",
5604
+ symbol: "cbBTC",
5605
+ decimals: 8,
5606
+ tokenAddress: hardhat_1.ethers.constants.AddressZero,
5607
+ },
5608
+ {
5609
+ isMock: false,
5610
+ name: "Venus",
5611
+ symbol: "XVS",
5612
+ decimals: 18,
5613
+ tokenAddress: "0xE657EDb5579B82135a274E85187927C42E38C021",
5614
+ },
5615
+ ],
5616
+ poolConfig: [
5617
+ {
5618
+ id: "Core",
5619
+ name: "Core",
5620
+ closeFactor: (0, utils_1.convertToUnit)("0.5", 18),
5621
+ liquidationIncentive: (0, utils_1.convertToUnit)("1.1", 18),
5622
+ minLiquidatableCollateral: (0, utils_1.convertToUnit)("100", 18),
5623
+ vtokens: [
5624
+ {
5625
+ name: "Venus USDC (Core)",
5626
+ asset: "USDC",
5627
+ symbol: "vUSDC_Core",
5628
+ rateModel: InterestRateModels.JumpRate.toString(),
5629
+ baseRatePerYear: "0",
5630
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.075", 18),
5631
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("2.5", 18),
5632
+ kink_: (0, utils_1.convertToUnit)("0.8", 18),
5633
+ collateralFactor: (0, utils_1.convertToUnit)("0.75", 18),
5634
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.77", 18),
5635
+ reserveFactor: (0, utils_1.convertToUnit)("0.1", 18),
5636
+ initialSupply: (0, utils_1.convertToUnit)("2000", 6),
5637
+ supplyCap: (0, utils_1.convertToUnit)("150000", 6),
5638
+ borrowCap: (0, utils_1.convertToUnit)("130000", 6),
5639
+ reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_BASE_SEPOLIA,
5640
+ vTokenReceiver: exports.preconfiguredAddresses.basesepolia.VTreasury,
5641
+ },
5642
+ {
5643
+ name: "Venus WETH (Core)",
5644
+ asset: "WETH",
5645
+ symbol: "vWETH_Core",
5646
+ rateModel: InterestRateModels.JumpRate.toString(),
5647
+ baseRatePerYear: "0",
5648
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
5649
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
5650
+ kink_: (0, utils_1.convertToUnit)("0.45", 18),
5651
+ collateralFactor: (0, utils_1.convertToUnit)("0.7", 18),
5652
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.75", 18),
5653
+ reserveFactor: (0, utils_1.convertToUnit)("0.2", 18),
5654
+ initialSupply: (0, utils_1.convertToUnit)("0.6", 18),
5655
+ supplyCap: (0, utils_1.convertToUnit)(25, 18),
5656
+ borrowCap: (0, utils_1.convertToUnit)(16, 18),
5657
+ reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_BASE_SEPOLIA,
5658
+ vTokenReceiver: exports.preconfiguredAddresses.basesepolia.VTreasury,
5659
+ },
5660
+ {
5661
+ name: "Venus cbBTC (Core)",
5662
+ asset: "cbBTC",
5663
+ symbol: "vcbBTC_Core",
5664
+ rateModel: InterestRateModels.JumpRate.toString(),
5665
+ baseRatePerYear: "0",
5666
+ multiplierPerYear: (0, utils_1.convertToUnit)("0.09", 18),
5667
+ jumpMultiplierPerYear: (0, utils_1.convertToUnit)("3", 18),
5668
+ kink_: (0, utils_1.convertToUnit)("0.45", 18),
5669
+ collateralFactor: (0, utils_1.convertToUnit)("0.7", 18),
5670
+ liquidationThreshold: (0, utils_1.convertToUnit)("0.75", 18),
5671
+ reserveFactor: (0, utils_1.convertToUnit)("0.2", 18),
5672
+ initialSupply: (0, utils_1.convertToUnit)("0.6", 8),
5673
+ supplyCap: (0, utils_1.convertToUnit)(25, 8),
5674
+ borrowCap: (0, utils_1.convertToUnit)(16, 8),
5675
+ reduceReservesBlockDelta: REDUCE_RESERVES_BLOCK_DELTA_BASE_SEPOLIA,
5676
+ vTokenReceiver: exports.preconfiguredAddresses.basesepolia.VTreasury,
5677
+ },
5678
+ ],
5679
+ rewards: [
5680
+ // XVS Rewards Over 120 months (311040000 seconds)
5681
+ // WETH: 360 XVS for Suppliers
5682
+ // 360 XVS for Borrowers
5683
+ // WBTC: 360 XVS for Suppliers
5684
+ // 360 XVS for Borrowers
5685
+ // USDT: 360 XVS for Suppliers
5686
+ // 360 XVS for Borrowers
5687
+ // USDC: 360 XVS for Suppliers
5688
+ // 360 XVS for Borrowers
5689
+ // OP: 360 XVS for Suppliers
5690
+ // 360 XVS for Borrowers
5691
+ {
5692
+ asset: "XVS",
5693
+ markets: ["WETH", "USDC"],
5694
+ supplySpeeds: ["1157407407407", "1157407407407"],
5695
+ borrowSpeeds: ["1157407407407", "1157407407407"],
5696
+ },
5697
+ ],
5698
+ },
5699
+ ],
5700
+ accessControlConfig: [
5701
+ ...poolRegistryPermissions(),
5702
+ ...normalTimelockPermissions(exports.preconfiguredAddresses.basesepolia.NormalTimelock),
5703
+ ],
5704
+ preconfiguredAddresses: exports.preconfiguredAddresses.basesepolia,
5705
+ },
5575
5706
  };
5576
5707
  async function getConfig(networkName) {
5577
5708
  switch (networkName) {
@@ -5601,6 +5732,8 @@ async function getConfig(networkName) {
5601
5732
  return exports.globalConfig.opsepolia;
5602
5733
  case "opmainnet":
5603
5734
  return exports.globalConfig.opmainnet;
5735
+ case "basesepolia":
5736
+ return exports.globalConfig.basesepolia;
5604
5737
  case "development":
5605
5738
  return exports.globalConfig.bsctestnet;
5606
5739
  default:
@@ -5702,6 +5835,8 @@ function getMaxBorrowRateMantissa(networkName) {
5702
5835
  return ethers_1.BigNumber.from(0.0005e16);
5703
5836
  case "opbnbmainnet":
5704
5837
  return ethers_1.BigNumber.from(0.0005e16);
5838
+ case "basesepolia":
5839
+ return ethers_1.BigNumber.from(0.0005e16);
5705
5840
  case "development":
5706
5841
  return ethers_1.BigNumber.from(0.0005e16);
5707
5842
  default:
@@ -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: "nonpayable",
19
+ stateMutability: "view",
220
20
  type: "function",
221
21
  },
222
22
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venusprotocol/isolated-pools",
3
- "version": "3.7.0-dev.5",
3
+ "version": "3.7.0-dev.6",
4
4
  "description": "",
5
5
  "files": [
6
6
  "artifacts",