@venusprotocol/isolated-pools 3.6.0-dev.3 → 3.6.0-dev.5

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/bscmainnet/Comptroller_LiquidStakedETH.json +187 -0
  2. package/deployments/bscmainnet/JumpRateModelV2_base0bps_slope350bps_jump8000bps_kink8000bps.json +608 -0
  3. package/deployments/bscmainnet/JumpRateModelV2_base0bps_slope900bps_jump7500bps_kink4500bps.json +608 -0
  4. package/deployments/bscmainnet/SwapRouter_LiquidStakedETH.json +2422 -0
  5. package/deployments/bscmainnet/VToken_vETH_LiquidStakedETH.json +257 -0
  6. package/deployments/bscmainnet/VToken_vweETH_LiquidStakedETH.json +257 -0
  7. package/deployments/bscmainnet/VToken_vwstETH_LiquidStakedETH.json +257 -0
  8. package/deployments/bscmainnet/solcInputs/743ca062289056795b3eefbac34e70b9.json +283 -0
  9. package/deployments/bscmainnet.json +5645 -2929
  10. package/deployments/bscmainnet_addresses.json +8 -1
  11. package/deployments/bsctestnet/Comptroller_LiquidStakedETH.json +187 -0
  12. package/deployments/bsctestnet/JumpRateModelV2_base0bps_slope350bps_jump8000bps_kink8000bps.json +608 -0
  13. package/deployments/bsctestnet/JumpRateModelV2_base0bps_slope900bps_jump7500bps_kink4500bps.json +608 -0
  14. package/deployments/bsctestnet/MockweETH.json +458 -0
  15. package/deployments/bsctestnet/MockwstETH.json +458 -0
  16. package/deployments/bsctestnet/SwapRouter_LiquidStakedETH.json +2422 -0
  17. package/deployments/bsctestnet/VToken_vETH_LiquidStakedETH.json +257 -0
  18. package/deployments/bsctestnet/VToken_vweETH_LiquidStakedETH.json +257 -0
  19. package/deployments/bsctestnet/VToken_vwstETH_LiquidStakedETH.json +257 -0
  20. package/deployments/bsctestnet/solcInputs/2040335765422e1de87160c828624fdd.json +406 -0
  21. package/deployments/bsctestnet/solcInputs/743ca062289056795b3eefbac34e70b9.json +283 -0
  22. package/deployments/bsctestnet.json +3926 -592
  23. package/deployments/bsctestnet_addresses.json +10 -1
  24. package/deployments/ethereum/JumpRateModelV2_base0bps_slope300bps_jump8000bps_kink9000bps.json +608 -0
  25. package/deployments/ethereum/solcInputs/675de3755730df34f493b27a4f957823.json +55 -0
  26. package/deployments/ethereum.json +360 -0
  27. package/deployments/ethereum_addresses.json +1 -0
  28. package/dist/deploy/004-swap-router.js +9 -0
  29. package/dist/deployments/bscmainnet.json +5645 -2929
  30. package/dist/deployments/bsctestnet.json +3926 -592
  31. package/dist/deployments/ethereum.json +360 -0
  32. package/dist/helpers/deploymentConfig.js +171 -1
  33. package/dist/typechain/factories/IVToken__factory.d.ts +5 -1
  34. package/dist/typechain/factories/IVToken__factory.js +201 -1
  35. package/package.json +1 -1
  36. package/typechain/IVToken.d.ts +341 -4
  37. package/typechain/factories/IVToken__factory.ts +201 -1
@@ -7,6 +7,206 @@ import { Provider } from "@ethersproject/providers";
7
7
  import type { IVToken, IVTokenInterface } from "../IVToken";
8
8
 
9
9
  const _abi = [
10
+ {
11
+ inputs: [
12
+ {
13
+ internalType: "address",
14
+ name: "account",
15
+ type: "address",
16
+ },
17
+ ],
18
+ name: "borrowBalanceCurrent",
19
+ outputs: [
20
+ {
21
+ internalType: "uint256",
22
+ name: "",
23
+ type: "uint256",
24
+ },
25
+ ],
26
+ stateMutability: "nonpayable",
27
+ type: "function",
28
+ },
29
+ {
30
+ inputs: [
31
+ {
32
+ internalType: "address",
33
+ name: "borrower",
34
+ type: "address",
35
+ },
36
+ {
37
+ internalType: "uint256",
38
+ name: "borrowAmount",
39
+ type: "uint256",
40
+ },
41
+ ],
42
+ name: "borrowBehalf",
43
+ outputs: [
44
+ {
45
+ internalType: "uint256",
46
+ name: "",
47
+ type: "uint256",
48
+ },
49
+ ],
50
+ stateMutability: "nonpayable",
51
+ type: "function",
52
+ },
53
+ {
54
+ inputs: [],
55
+ name: "exchangeRateCurrent",
56
+ outputs: [
57
+ {
58
+ internalType: "uint256",
59
+ name: "",
60
+ type: "uint256",
61
+ },
62
+ ],
63
+ stateMutability: "nonpayable",
64
+ type: "function",
65
+ },
66
+ {
67
+ inputs: [
68
+ {
69
+ internalType: "address",
70
+ name: "receiver",
71
+ type: "address",
72
+ },
73
+ {
74
+ internalType: "uint256",
75
+ name: "mintAmount",
76
+ type: "uint256",
77
+ },
78
+ ],
79
+ name: "mintBehalf",
80
+ outputs: [
81
+ {
82
+ internalType: "uint256",
83
+ name: "",
84
+ type: "uint256",
85
+ },
86
+ ],
87
+ stateMutability: "nonpayable",
88
+ type: "function",
89
+ },
90
+ {
91
+ inputs: [
92
+ {
93
+ internalType: "uint256",
94
+ name: "redeemTokens",
95
+ type: "uint256",
96
+ },
97
+ ],
98
+ name: "redeem",
99
+ outputs: [
100
+ {
101
+ internalType: "uint256",
102
+ name: "",
103
+ type: "uint256",
104
+ },
105
+ ],
106
+ stateMutability: "nonpayable",
107
+ type: "function",
108
+ },
109
+ {
110
+ inputs: [
111
+ {
112
+ internalType: "address",
113
+ name: "redeemer",
114
+ type: "address",
115
+ },
116
+ {
117
+ internalType: "uint256",
118
+ name: "redeemTokens",
119
+ type: "uint256",
120
+ },
121
+ ],
122
+ name: "redeemBehalf",
123
+ outputs: [
124
+ {
125
+ internalType: "uint256",
126
+ name: "",
127
+ type: "uint256",
128
+ },
129
+ ],
130
+ stateMutability: "nonpayable",
131
+ type: "function",
132
+ },
133
+ {
134
+ inputs: [
135
+ {
136
+ internalType: "address",
137
+ name: "redeemer",
138
+ type: "address",
139
+ },
140
+ {
141
+ internalType: "uint256",
142
+ name: "redeemAmount",
143
+ type: "uint256",
144
+ },
145
+ ],
146
+ name: "redeemUnderlyingBehalf",
147
+ outputs: [
148
+ {
149
+ internalType: "uint256",
150
+ name: "",
151
+ type: "uint256",
152
+ },
153
+ ],
154
+ stateMutability: "nonpayable",
155
+ type: "function",
156
+ },
157
+ {
158
+ inputs: [
159
+ {
160
+ internalType: "address",
161
+ name: "borrower",
162
+ type: "address",
163
+ },
164
+ {
165
+ internalType: "uint256",
166
+ name: "repayAmount",
167
+ type: "uint256",
168
+ },
169
+ ],
170
+ name: "repayBorrowBehalf",
171
+ outputs: [
172
+ {
173
+ internalType: "uint256",
174
+ name: "",
175
+ type: "uint256",
176
+ },
177
+ ],
178
+ stateMutability: "nonpayable",
179
+ type: "function",
180
+ },
181
+ {
182
+ inputs: [
183
+ {
184
+ internalType: "address",
185
+ name: "from",
186
+ type: "address",
187
+ },
188
+ {
189
+ internalType: "address",
190
+ name: "to",
191
+ type: "address",
192
+ },
193
+ {
194
+ internalType: "uint256",
195
+ name: "amount",
196
+ type: "uint256",
197
+ },
198
+ ],
199
+ name: "transferFrom",
200
+ outputs: [
201
+ {
202
+ internalType: "bool",
203
+ name: "",
204
+ type: "bool",
205
+ },
206
+ ],
207
+ stateMutability: "nonpayable",
208
+ type: "function",
209
+ },
10
210
  {
11
211
  inputs: [],
12
212
  name: "underlying",
@@ -17,7 +217,7 @@ const _abi = [
17
217
  type: "address",
18
218
  },
19
219
  ],
20
- stateMutability: "view",
220
+ stateMutability: "nonpayable",
21
221
  type: "function",
22
222
  },
23
223
  ];