@venusprotocol/isolated-pools 3.8.0 → 3.9.0-dev.2
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/arbitrumone/VToken_vgmBTC-USDC_Core.json +257 -0
- package/deployments/arbitrumone/VToken_vgmWETH-USDC_Core.json +257 -0
- package/deployments/arbitrumone.json +148 -0
- package/deployments/arbitrumone_addresses.json +2 -0
- package/deployments/arbitrumsepolia/JumpRateModelV2_base0bps_slope1500bps_jump25000bps_kink4500bps.json +608 -0
- package/deployments/arbitrumsepolia/JumpRateModelV2_base0bps_slope300bps_jump45000bps_kink9000bps.json +608 -0
- package/deployments/arbitrumsepolia/MockgmBTC.json +458 -0
- package/deployments/arbitrumsepolia/MockgmETH.json +458 -0
- package/deployments/arbitrumsepolia/VToken_vgmBTC-USDC_Core.json +257 -0
- package/deployments/arbitrumsepolia/VToken_vgmWETH-USDC_Core.json +257 -0
- package/deployments/arbitrumsepolia/solcInputs/3c20dc65cc123659b5918437b44f9306.json +403 -0
- package/deployments/arbitrumsepolia.json +1549 -63
- package/deployments/arbitrumsepolia_addresses.json +6 -0
- package/deployments/basemainnet/JumpRateModelV2_base0bps_slope900bps_jump30000bps_kink4500bps.json +608 -0
- package/deployments/basemainnet/VToken_vwsuperOETHb_Core.json +257 -0
- package/deployments/basemainnet/solcInputs/3c20dc65cc123659b5918437b44f9306.json +403 -0
- package/deployments/basemainnet.json +434 -0
- package/deployments/basemainnet_addresses.json +3 -1
- package/deployments/basesepolia/MockwsuperOETHb.json +477 -0
- package/deployments/basesepolia/VToken_vwsuperOETHb_Core.json +257 -0
- package/deployments/basesepolia/solcInputs/338456d498a2526684d442357ddf6830.json +52 -0
- package/deployments/basesepolia/solcInputs/3c20dc65cc123659b5918437b44f9306.json +403 -0
- package/deployments/basesepolia.json +402 -0
- package/deployments/basesepolia_addresses.json +3 -1
- package/dist/deployments/arbitrumone.json +148 -0
- package/dist/deployments/arbitrumsepolia.json +1549 -63
- package/dist/deployments/basemainnet.json +434 -0
- package/dist/deployments/basesepolia.json +402 -0
- package/dist/helpers/deploymentConfig.js +165 -12
- package/dist/typechain/factories/PoolRegistryInterface__factory.d.ts +16 -2
- package/dist/typechain/factories/PoolRegistryInterface__factory.js +119 -0
- package/package.json +2 -2
- package/typechain/PoolRegistryInterface.d.ts +178 -0
- package/typechain/factories/PoolRegistryInterface__factory.ts +119 -0
|
@@ -2,7 +2,7 @@ import { Signer } from "ethers";
|
|
|
2
2
|
import { Provider } from "@ethersproject/providers";
|
|
3
3
|
import type { PoolRegistryInterface, PoolRegistryInterfaceInterface } from "../PoolRegistryInterface";
|
|
4
4
|
export declare class PoolRegistryInterface__factory {
|
|
5
|
-
static readonly abi: {
|
|
5
|
+
static readonly abi: ({
|
|
6
6
|
inputs: {
|
|
7
7
|
internalType: string;
|
|
8
8
|
name: string;
|
|
@@ -21,7 +21,21 @@ export declare class PoolRegistryInterface__factory {
|
|
|
21
21
|
}[];
|
|
22
22
|
stateMutability: string;
|
|
23
23
|
type: string;
|
|
24
|
-
}
|
|
24
|
+
} | {
|
|
25
|
+
inputs: {
|
|
26
|
+
internalType: string;
|
|
27
|
+
name: string;
|
|
28
|
+
type: string;
|
|
29
|
+
}[];
|
|
30
|
+
name: string;
|
|
31
|
+
outputs: {
|
|
32
|
+
internalType: string;
|
|
33
|
+
name: string;
|
|
34
|
+
type: string;
|
|
35
|
+
}[];
|
|
36
|
+
stateMutability: string;
|
|
37
|
+
type: string;
|
|
38
|
+
})[];
|
|
25
39
|
static createInterface(): PoolRegistryInterfaceInterface;
|
|
26
40
|
static connect(address: string, signerOrProvider: Signer | Provider): PoolRegistryInterface;
|
|
27
41
|
}
|
|
@@ -6,6 +6,46 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.PoolRegistryInterface__factory = void 0;
|
|
7
7
|
const ethers_1 = require("ethers");
|
|
8
8
|
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [],
|
|
11
|
+
name: "getAllPools",
|
|
12
|
+
outputs: [
|
|
13
|
+
{
|
|
14
|
+
components: [
|
|
15
|
+
{
|
|
16
|
+
internalType: "string",
|
|
17
|
+
name: "name",
|
|
18
|
+
type: "string",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
internalType: "address",
|
|
22
|
+
name: "creator",
|
|
23
|
+
type: "address",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
internalType: "address",
|
|
27
|
+
name: "comptroller",
|
|
28
|
+
type: "address",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
internalType: "uint256",
|
|
32
|
+
name: "blockPosted",
|
|
33
|
+
type: "uint256",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
internalType: "uint256",
|
|
37
|
+
name: "timestampPosted",
|
|
38
|
+
type: "uint256",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
internalType: "struct PoolRegistryInterface.VenusPool[]",
|
|
42
|
+
name: "",
|
|
43
|
+
type: "tuple[]",
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
stateMutability: "view",
|
|
47
|
+
type: "function",
|
|
48
|
+
},
|
|
9
49
|
{
|
|
10
50
|
inputs: [
|
|
11
51
|
{
|
|
@@ -52,6 +92,85 @@ const _abi = [
|
|
|
52
92
|
stateMutability: "view",
|
|
53
93
|
type: "function",
|
|
54
94
|
},
|
|
95
|
+
{
|
|
96
|
+
inputs: [
|
|
97
|
+
{
|
|
98
|
+
internalType: "address",
|
|
99
|
+
name: "asset",
|
|
100
|
+
type: "address",
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
name: "getPoolsSupportedByAsset",
|
|
104
|
+
outputs: [
|
|
105
|
+
{
|
|
106
|
+
internalType: "address[]",
|
|
107
|
+
name: "",
|
|
108
|
+
type: "address[]",
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
stateMutability: "view",
|
|
112
|
+
type: "function",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
inputs: [
|
|
116
|
+
{
|
|
117
|
+
internalType: "address",
|
|
118
|
+
name: "comptroller",
|
|
119
|
+
type: "address",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
internalType: "address",
|
|
123
|
+
name: "asset",
|
|
124
|
+
type: "address",
|
|
125
|
+
},
|
|
126
|
+
],
|
|
127
|
+
name: "getVTokenForAsset",
|
|
128
|
+
outputs: [
|
|
129
|
+
{
|
|
130
|
+
internalType: "address",
|
|
131
|
+
name: "",
|
|
132
|
+
type: "address",
|
|
133
|
+
},
|
|
134
|
+
],
|
|
135
|
+
stateMutability: "view",
|
|
136
|
+
type: "function",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
inputs: [
|
|
140
|
+
{
|
|
141
|
+
internalType: "address",
|
|
142
|
+
name: "comptroller",
|
|
143
|
+
type: "address",
|
|
144
|
+
},
|
|
145
|
+
],
|
|
146
|
+
name: "getVenusPoolMetadata",
|
|
147
|
+
outputs: [
|
|
148
|
+
{
|
|
149
|
+
components: [
|
|
150
|
+
{
|
|
151
|
+
internalType: "string",
|
|
152
|
+
name: "category",
|
|
153
|
+
type: "string",
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
internalType: "string",
|
|
157
|
+
name: "logoURL",
|
|
158
|
+
type: "string",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
internalType: "string",
|
|
162
|
+
name: "description",
|
|
163
|
+
type: "string",
|
|
164
|
+
},
|
|
165
|
+
],
|
|
166
|
+
internalType: "struct PoolRegistryInterface.VenusPoolMetaData",
|
|
167
|
+
name: "",
|
|
168
|
+
type: "tuple",
|
|
169
|
+
},
|
|
170
|
+
],
|
|
171
|
+
stateMutability: "view",
|
|
172
|
+
type: "function",
|
|
173
|
+
},
|
|
55
174
|
];
|
|
56
175
|
class PoolRegistryInterface__factory {
|
|
57
176
|
static createInterface() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@venusprotocol/isolated-pools",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.0-dev.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"files": [
|
|
6
6
|
"artifacts",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@types/node": "^12.20.50",
|
|
78
78
|
"@typescript-eslint/eslint-plugin": "^5.27.1",
|
|
79
79
|
"@typescript-eslint/parser": "^5.27.1",
|
|
80
|
-
"@venusprotocol/governance-contracts": "2.
|
|
80
|
+
"@venusprotocol/governance-contracts": "2.7.0",
|
|
81
81
|
"@venusprotocol/oracle": "2.7.0",
|
|
82
82
|
"@venusprotocol/protocol-reserve": "3.0.1",
|
|
83
83
|
"@venusprotocol/venus-protocol": "9.4.0",
|
|
@@ -20,18 +20,54 @@ import type { TypedEventFilter, TypedEvent, TypedListener } from "./common";
|
|
|
20
20
|
|
|
21
21
|
interface PoolRegistryInterfaceInterface extends ethers.utils.Interface {
|
|
22
22
|
functions: {
|
|
23
|
+
"getAllPools()": FunctionFragment;
|
|
23
24
|
"getPoolByComptroller(address)": FunctionFragment;
|
|
25
|
+
"getPoolsSupportedByAsset(address)": FunctionFragment;
|
|
26
|
+
"getVTokenForAsset(address,address)": FunctionFragment;
|
|
27
|
+
"getVenusPoolMetadata(address)": FunctionFragment;
|
|
24
28
|
};
|
|
25
29
|
|
|
30
|
+
encodeFunctionData(
|
|
31
|
+
functionFragment: "getAllPools",
|
|
32
|
+
values?: undefined
|
|
33
|
+
): string;
|
|
26
34
|
encodeFunctionData(
|
|
27
35
|
functionFragment: "getPoolByComptroller",
|
|
28
36
|
values: [string]
|
|
29
37
|
): string;
|
|
38
|
+
encodeFunctionData(
|
|
39
|
+
functionFragment: "getPoolsSupportedByAsset",
|
|
40
|
+
values: [string]
|
|
41
|
+
): string;
|
|
42
|
+
encodeFunctionData(
|
|
43
|
+
functionFragment: "getVTokenForAsset",
|
|
44
|
+
values: [string, string]
|
|
45
|
+
): string;
|
|
46
|
+
encodeFunctionData(
|
|
47
|
+
functionFragment: "getVenusPoolMetadata",
|
|
48
|
+
values: [string]
|
|
49
|
+
): string;
|
|
30
50
|
|
|
51
|
+
decodeFunctionResult(
|
|
52
|
+
functionFragment: "getAllPools",
|
|
53
|
+
data: BytesLike
|
|
54
|
+
): Result;
|
|
31
55
|
decodeFunctionResult(
|
|
32
56
|
functionFragment: "getPoolByComptroller",
|
|
33
57
|
data: BytesLike
|
|
34
58
|
): Result;
|
|
59
|
+
decodeFunctionResult(
|
|
60
|
+
functionFragment: "getPoolsSupportedByAsset",
|
|
61
|
+
data: BytesLike
|
|
62
|
+
): Result;
|
|
63
|
+
decodeFunctionResult(
|
|
64
|
+
functionFragment: "getVTokenForAsset",
|
|
65
|
+
data: BytesLike
|
|
66
|
+
): Result;
|
|
67
|
+
decodeFunctionResult(
|
|
68
|
+
functionFragment: "getVenusPoolMetadata",
|
|
69
|
+
data: BytesLike
|
|
70
|
+
): Result;
|
|
35
71
|
|
|
36
72
|
events: {};
|
|
37
73
|
}
|
|
@@ -80,6 +116,20 @@ export class PoolRegistryInterface extends BaseContract {
|
|
|
80
116
|
interface: PoolRegistryInterfaceInterface;
|
|
81
117
|
|
|
82
118
|
functions: {
|
|
119
|
+
getAllPools(
|
|
120
|
+
overrides?: CallOverrides
|
|
121
|
+
): Promise<
|
|
122
|
+
[
|
|
123
|
+
([string, string, string, BigNumber, BigNumber] & {
|
|
124
|
+
name: string;
|
|
125
|
+
creator: string;
|
|
126
|
+
comptroller: string;
|
|
127
|
+
blockPosted: BigNumber;
|
|
128
|
+
timestampPosted: BigNumber;
|
|
129
|
+
})[]
|
|
130
|
+
]
|
|
131
|
+
>;
|
|
132
|
+
|
|
83
133
|
getPoolByComptroller(
|
|
84
134
|
comptroller: string,
|
|
85
135
|
overrides?: CallOverrides
|
|
@@ -94,8 +144,44 @@ export class PoolRegistryInterface extends BaseContract {
|
|
|
94
144
|
}
|
|
95
145
|
]
|
|
96
146
|
>;
|
|
147
|
+
|
|
148
|
+
getPoolsSupportedByAsset(
|
|
149
|
+
asset: string,
|
|
150
|
+
overrides?: CallOverrides
|
|
151
|
+
): Promise<[string[]]>;
|
|
152
|
+
|
|
153
|
+
getVTokenForAsset(
|
|
154
|
+
comptroller: string,
|
|
155
|
+
asset: string,
|
|
156
|
+
overrides?: CallOverrides
|
|
157
|
+
): Promise<[string]>;
|
|
158
|
+
|
|
159
|
+
getVenusPoolMetadata(
|
|
160
|
+
comptroller: string,
|
|
161
|
+
overrides?: CallOverrides
|
|
162
|
+
): Promise<
|
|
163
|
+
[
|
|
164
|
+
[string, string, string] & {
|
|
165
|
+
category: string;
|
|
166
|
+
logoURL: string;
|
|
167
|
+
description: string;
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
>;
|
|
97
171
|
};
|
|
98
172
|
|
|
173
|
+
getAllPools(
|
|
174
|
+
overrides?: CallOverrides
|
|
175
|
+
): Promise<
|
|
176
|
+
([string, string, string, BigNumber, BigNumber] & {
|
|
177
|
+
name: string;
|
|
178
|
+
creator: string;
|
|
179
|
+
comptroller: string;
|
|
180
|
+
blockPosted: BigNumber;
|
|
181
|
+
timestampPosted: BigNumber;
|
|
182
|
+
})[]
|
|
183
|
+
>;
|
|
184
|
+
|
|
99
185
|
getPoolByComptroller(
|
|
100
186
|
comptroller: string,
|
|
101
187
|
overrides?: CallOverrides
|
|
@@ -109,7 +195,41 @@ export class PoolRegistryInterface extends BaseContract {
|
|
|
109
195
|
}
|
|
110
196
|
>;
|
|
111
197
|
|
|
198
|
+
getPoolsSupportedByAsset(
|
|
199
|
+
asset: string,
|
|
200
|
+
overrides?: CallOverrides
|
|
201
|
+
): Promise<string[]>;
|
|
202
|
+
|
|
203
|
+
getVTokenForAsset(
|
|
204
|
+
comptroller: string,
|
|
205
|
+
asset: string,
|
|
206
|
+
overrides?: CallOverrides
|
|
207
|
+
): Promise<string>;
|
|
208
|
+
|
|
209
|
+
getVenusPoolMetadata(
|
|
210
|
+
comptroller: string,
|
|
211
|
+
overrides?: CallOverrides
|
|
212
|
+
): Promise<
|
|
213
|
+
[string, string, string] & {
|
|
214
|
+
category: string;
|
|
215
|
+
logoURL: string;
|
|
216
|
+
description: string;
|
|
217
|
+
}
|
|
218
|
+
>;
|
|
219
|
+
|
|
112
220
|
callStatic: {
|
|
221
|
+
getAllPools(
|
|
222
|
+
overrides?: CallOverrides
|
|
223
|
+
): Promise<
|
|
224
|
+
([string, string, string, BigNumber, BigNumber] & {
|
|
225
|
+
name: string;
|
|
226
|
+
creator: string;
|
|
227
|
+
comptroller: string;
|
|
228
|
+
blockPosted: BigNumber;
|
|
229
|
+
timestampPosted: BigNumber;
|
|
230
|
+
})[]
|
|
231
|
+
>;
|
|
232
|
+
|
|
113
233
|
getPoolByComptroller(
|
|
114
234
|
comptroller: string,
|
|
115
235
|
overrides?: CallOverrides
|
|
@@ -122,21 +242,79 @@ export class PoolRegistryInterface extends BaseContract {
|
|
|
122
242
|
timestampPosted: BigNumber;
|
|
123
243
|
}
|
|
124
244
|
>;
|
|
245
|
+
|
|
246
|
+
getPoolsSupportedByAsset(
|
|
247
|
+
asset: string,
|
|
248
|
+
overrides?: CallOverrides
|
|
249
|
+
): Promise<string[]>;
|
|
250
|
+
|
|
251
|
+
getVTokenForAsset(
|
|
252
|
+
comptroller: string,
|
|
253
|
+
asset: string,
|
|
254
|
+
overrides?: CallOverrides
|
|
255
|
+
): Promise<string>;
|
|
256
|
+
|
|
257
|
+
getVenusPoolMetadata(
|
|
258
|
+
comptroller: string,
|
|
259
|
+
overrides?: CallOverrides
|
|
260
|
+
): Promise<
|
|
261
|
+
[string, string, string] & {
|
|
262
|
+
category: string;
|
|
263
|
+
logoURL: string;
|
|
264
|
+
description: string;
|
|
265
|
+
}
|
|
266
|
+
>;
|
|
125
267
|
};
|
|
126
268
|
|
|
127
269
|
filters: {};
|
|
128
270
|
|
|
129
271
|
estimateGas: {
|
|
272
|
+
getAllPools(overrides?: CallOverrides): Promise<BigNumber>;
|
|
273
|
+
|
|
130
274
|
getPoolByComptroller(
|
|
131
275
|
comptroller: string,
|
|
132
276
|
overrides?: CallOverrides
|
|
133
277
|
): Promise<BigNumber>;
|
|
278
|
+
|
|
279
|
+
getPoolsSupportedByAsset(
|
|
280
|
+
asset: string,
|
|
281
|
+
overrides?: CallOverrides
|
|
282
|
+
): Promise<BigNumber>;
|
|
283
|
+
|
|
284
|
+
getVTokenForAsset(
|
|
285
|
+
comptroller: string,
|
|
286
|
+
asset: string,
|
|
287
|
+
overrides?: CallOverrides
|
|
288
|
+
): Promise<BigNumber>;
|
|
289
|
+
|
|
290
|
+
getVenusPoolMetadata(
|
|
291
|
+
comptroller: string,
|
|
292
|
+
overrides?: CallOverrides
|
|
293
|
+
): Promise<BigNumber>;
|
|
134
294
|
};
|
|
135
295
|
|
|
136
296
|
populateTransaction: {
|
|
297
|
+
getAllPools(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
298
|
+
|
|
137
299
|
getPoolByComptroller(
|
|
138
300
|
comptroller: string,
|
|
139
301
|
overrides?: CallOverrides
|
|
140
302
|
): Promise<PopulatedTransaction>;
|
|
303
|
+
|
|
304
|
+
getPoolsSupportedByAsset(
|
|
305
|
+
asset: string,
|
|
306
|
+
overrides?: CallOverrides
|
|
307
|
+
): Promise<PopulatedTransaction>;
|
|
308
|
+
|
|
309
|
+
getVTokenForAsset(
|
|
310
|
+
comptroller: string,
|
|
311
|
+
asset: string,
|
|
312
|
+
overrides?: CallOverrides
|
|
313
|
+
): Promise<PopulatedTransaction>;
|
|
314
|
+
|
|
315
|
+
getVenusPoolMetadata(
|
|
316
|
+
comptroller: string,
|
|
317
|
+
overrides?: CallOverrides
|
|
318
|
+
): Promise<PopulatedTransaction>;
|
|
141
319
|
};
|
|
142
320
|
}
|
|
@@ -10,6 +10,46 @@ import type {
|
|
|
10
10
|
} from "../PoolRegistryInterface";
|
|
11
11
|
|
|
12
12
|
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [],
|
|
15
|
+
name: "getAllPools",
|
|
16
|
+
outputs: [
|
|
17
|
+
{
|
|
18
|
+
components: [
|
|
19
|
+
{
|
|
20
|
+
internalType: "string",
|
|
21
|
+
name: "name",
|
|
22
|
+
type: "string",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
internalType: "address",
|
|
26
|
+
name: "creator",
|
|
27
|
+
type: "address",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
internalType: "address",
|
|
31
|
+
name: "comptroller",
|
|
32
|
+
type: "address",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
internalType: "uint256",
|
|
36
|
+
name: "blockPosted",
|
|
37
|
+
type: "uint256",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
internalType: "uint256",
|
|
41
|
+
name: "timestampPosted",
|
|
42
|
+
type: "uint256",
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
internalType: "struct PoolRegistryInterface.VenusPool[]",
|
|
46
|
+
name: "",
|
|
47
|
+
type: "tuple[]",
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
stateMutability: "view",
|
|
51
|
+
type: "function",
|
|
52
|
+
},
|
|
13
53
|
{
|
|
14
54
|
inputs: [
|
|
15
55
|
{
|
|
@@ -56,6 +96,85 @@ const _abi = [
|
|
|
56
96
|
stateMutability: "view",
|
|
57
97
|
type: "function",
|
|
58
98
|
},
|
|
99
|
+
{
|
|
100
|
+
inputs: [
|
|
101
|
+
{
|
|
102
|
+
internalType: "address",
|
|
103
|
+
name: "asset",
|
|
104
|
+
type: "address",
|
|
105
|
+
},
|
|
106
|
+
],
|
|
107
|
+
name: "getPoolsSupportedByAsset",
|
|
108
|
+
outputs: [
|
|
109
|
+
{
|
|
110
|
+
internalType: "address[]",
|
|
111
|
+
name: "",
|
|
112
|
+
type: "address[]",
|
|
113
|
+
},
|
|
114
|
+
],
|
|
115
|
+
stateMutability: "view",
|
|
116
|
+
type: "function",
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
inputs: [
|
|
120
|
+
{
|
|
121
|
+
internalType: "address",
|
|
122
|
+
name: "comptroller",
|
|
123
|
+
type: "address",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
internalType: "address",
|
|
127
|
+
name: "asset",
|
|
128
|
+
type: "address",
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
name: "getVTokenForAsset",
|
|
132
|
+
outputs: [
|
|
133
|
+
{
|
|
134
|
+
internalType: "address",
|
|
135
|
+
name: "",
|
|
136
|
+
type: "address",
|
|
137
|
+
},
|
|
138
|
+
],
|
|
139
|
+
stateMutability: "view",
|
|
140
|
+
type: "function",
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
inputs: [
|
|
144
|
+
{
|
|
145
|
+
internalType: "address",
|
|
146
|
+
name: "comptroller",
|
|
147
|
+
type: "address",
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
name: "getVenusPoolMetadata",
|
|
151
|
+
outputs: [
|
|
152
|
+
{
|
|
153
|
+
components: [
|
|
154
|
+
{
|
|
155
|
+
internalType: "string",
|
|
156
|
+
name: "category",
|
|
157
|
+
type: "string",
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
internalType: "string",
|
|
161
|
+
name: "logoURL",
|
|
162
|
+
type: "string",
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
internalType: "string",
|
|
166
|
+
name: "description",
|
|
167
|
+
type: "string",
|
|
168
|
+
},
|
|
169
|
+
],
|
|
170
|
+
internalType: "struct PoolRegistryInterface.VenusPoolMetaData",
|
|
171
|
+
name: "",
|
|
172
|
+
type: "tuple",
|
|
173
|
+
},
|
|
174
|
+
],
|
|
175
|
+
stateMutability: "view",
|
|
176
|
+
type: "function",
|
|
177
|
+
},
|
|
59
178
|
];
|
|
60
179
|
|
|
61
180
|
export class PoolRegistryInterface__factory {
|