@venusprotocol/isolated-pools 4.2.0-dev.7 → 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.
@@ -7,206 +7,6 @@ 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
- },
210
10
  {
211
11
  inputs: [],
212
12
  name: "underlying",
@@ -217,7 +17,7 @@ const _abi = [
217
17
  type: "address",
218
18
  },
219
19
  ],
220
- stateMutability: "nonpayable",
20
+ stateMutability: "view",
221
21
  type: "function",
222
22
  },
223
23
  ];