@verified-network/verified-sdk 2.5.8 → 2.5.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.
|
@@ -15,7 +15,7 @@ export default class LiquidityContract extends VerifiedContract {
|
|
|
15
15
|
Specifies list of supported tokens that can be invested in the Verified Liquidity token
|
|
16
16
|
@param _tokens array of supported token addresses
|
|
17
17
|
*/
|
|
18
|
-
supportTokens(_tokens: string, _name: string, options?: Options): any;
|
|
18
|
+
supportTokens(_tokens: string, _name: string, _feed: string, options?: Options): any;
|
|
19
19
|
/**
|
|
20
20
|
Checks if a specified token is supported for investing in the Verified Liquidity token
|
|
21
21
|
@param _token token that is supported for investment
|
|
@@ -40,10 +40,11 @@ class LiquidityContract extends index_1.VerifiedContract {
|
|
|
40
40
|
Specifies list of supported tokens that can be invested in the Verified Liquidity token
|
|
41
41
|
@param _tokens array of supported token addresses
|
|
42
42
|
*/
|
|
43
|
-
async supportTokens(_tokens, _name, options) {
|
|
43
|
+
async supportTokens(_tokens, _name, _feed, options) {
|
|
44
44
|
await this.validateInput(index_1.DATATYPES.STRING, _tokens);
|
|
45
45
|
await this.validateInput(index_1.DATATYPES.STRING, _name);
|
|
46
|
-
|
|
46
|
+
await this.validateInput(index_1.DATATYPES.ADDRESS, _feed);
|
|
47
|
+
return this.callContract(FUNCTIONS.SUPPORTTOKENS, _tokens, _name, _feed, options);
|
|
47
48
|
}
|
|
48
49
|
/**
|
|
49
50
|
Checks if a specified token is supported for investing in the Verified Liquidity token
|
|
@@ -311,17 +311,17 @@ const contractAddress = {
|
|
|
311
311
|
},
|
|
312
312
|
11155111: {
|
|
313
313
|
Client: "",
|
|
314
|
-
Factory: "
|
|
315
|
-
Cash: "
|
|
316
|
-
Bond: "
|
|
317
|
-
Token: "
|
|
318
|
-
Oracle: "
|
|
319
|
-
Rates: "
|
|
314
|
+
Factory: "0xB5A60E07f0ea5F02DaABf863dd0A1ed7De09100E",
|
|
315
|
+
Cash: "0x139C32Af13B2a9533103C8b3Ddc95F022edaA1BB",
|
|
316
|
+
Bond: "0x769Eb4eDC782C9259438ba0cE47109664A8D4146",
|
|
317
|
+
Token: "0x3d89Aab04bb8Dd4d0Dc6C0c823d88B0fc5FfC4FB",
|
|
318
|
+
Oracle: "0x08179194052cc92FD954d1978959c534DcadB945",
|
|
319
|
+
Rates: "0x17c978cFa9eb5ADa2EeBDd309106caA2c529F7aC",
|
|
320
320
|
Security: "",
|
|
321
321
|
SecuritiesFactory: "",
|
|
322
|
-
Vitta: "
|
|
323
|
-
Liquidity: "
|
|
324
|
-
Distribution: "
|
|
322
|
+
Vitta: "0x39b4B94eE7FC9571723DaCbA14531EAC5Fd6E024",
|
|
323
|
+
Liquidity: "0xDFCaBCDD54e8E17f93261868DD24a2829148FF90",
|
|
324
|
+
Distribution: "0x5348C5565a0Af25732512F409623418057a8b84A",
|
|
325
325
|
PrimaryIssuePoolFactory: "0xDA13BC71FEe08FfD523f10458B0e2c2D8427BBD5",
|
|
326
326
|
BalancerPrimaryIssueManager: "",
|
|
327
327
|
SecondaryIssuePoolFactory: "0x4519148Cc4030c2e3573f1f886ed4071Fa35d62B",
|
|
@@ -331,16 +331,16 @@ const contractAddress = {
|
|
|
331
331
|
Custody: "0x594DC49A7C2B4b0f279247239cb6F1d943a99e7F",
|
|
332
332
|
Compound: "",
|
|
333
333
|
CASH: {
|
|
334
|
-
VCUSD: "
|
|
335
|
-
VCEUR: "
|
|
336
|
-
VCGBP: "
|
|
337
|
-
VCJPY: "
|
|
334
|
+
VCUSD: "0x3d4b0fb6a0c6Fb098D17988b2944d97491Dcd0c0",
|
|
335
|
+
VCEUR: "0x064e46cd30471bC963981A5E23F84FF186bAcf1A",
|
|
336
|
+
VCGBP: "0x6fe4A4d1089CEff2b108A29489F83954493961E2",
|
|
337
|
+
VCJPY: "0x3160a8E915B01167e21843b1C587Be318224E5ad",
|
|
338
338
|
},
|
|
339
339
|
BOND: {
|
|
340
|
-
VBUSD: "
|
|
341
|
-
VBEUR: "
|
|
342
|
-
VBGBP: "
|
|
343
|
-
VBJPY: "
|
|
340
|
+
VBUSD: "0xE9768314CAc622661299E9bB1c042a3cD487DbB9",
|
|
341
|
+
VBEUR: "0xEf808EE00033bf954ca210d618DEa964Ce891dF1",
|
|
342
|
+
VBGBP: "0x35F35D5Fa9B4dd310fFC0d5FB4a59bE6D00c9A32",
|
|
343
|
+
VBJPY: "0x89FB002d3E96B6c1495Fb442b845d31aCdcfD834",
|
|
344
344
|
},
|
|
345
345
|
},
|
|
346
346
|
balancerVault: "0xBA12222222228d8Ba445958a75a0704d566BF2C8",
|