@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
- return this.callContract(FUNCTIONS.SUPPORTTOKENS, _tokens, _name, options);
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: "0x60dDeeD42EB62c98210513b3465c5aBf9503D8Ff",
315
- Cash: "0x7eFDfeA69676b12060E00DFa57A86E158aBEF454",
316
- Bond: "0x9cE001D04aa109f53055CE25D641a303224C6014",
317
- Token: "0x1A8449883f4DE9e5BD94b2e6D6cf5c863D2CaD1d",
318
- Oracle: "0x6F698b337e15dEaB55B80fe4E6f75C5c7850BE2f",
319
- Rates: "0x131d6B6fb7D5D18fd106dbb4e605B66b46e887B7",
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: "0x9dff1f4c9Dc57dd80Ddd75528dF0fd8966078Ae3",
323
- Liquidity: "0x589399c2290e98978d8c8f4a75fD7006C0c00209",
324
- Distribution: "0xDb4f402520a0eb1922aE629CFA2D720a39361c63",
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: "0x4F775199bAD6D02a0189eF4922cf47Cb64aB5F32",
335
- VCEUR: "0xF556385dd699f60207744F0181f2D285634808c2",
336
- VCGBP: "0xeF9c36B7909CC7D10AfC1e3c261808fB261aD486",
337
- VCJPY: "0x54D26696c01A5591b93Ea15DB01C72d4d3eBE25C",
334
+ VCUSD: "0x3d4b0fb6a0c6Fb098D17988b2944d97491Dcd0c0",
335
+ VCEUR: "0x064e46cd30471bC963981A5E23F84FF186bAcf1A",
336
+ VCGBP: "0x6fe4A4d1089CEff2b108A29489F83954493961E2",
337
+ VCJPY: "0x3160a8E915B01167e21843b1C587Be318224E5ad",
338
338
  },
339
339
  BOND: {
340
- VBUSD: "0x3B52c3825Ae26d21C3594d28853fabe7deB7AF06",
341
- VBEUR: "0x5822746522C0cE9310e8a7088b3daCd943E78A5e",
342
- VBGBP: "0xe2981ff6F1211bEEaB3522dd85d600Cf73cCE665",
343
- VBJPY: "0x0614a2BBeE52cc8B76739Ab008F343e960E42779",
340
+ VBUSD: "0xE9768314CAc622661299E9bB1c042a3cD487DbB9",
341
+ VBEUR: "0xEf808EE00033bf954ca210d618DEa964Ce891dF1",
342
+ VBGBP: "0x35F35D5Fa9B4dd310fFC0d5FB4a59bE6D00c9A32",
343
+ VBJPY: "0x89FB002d3E96B6c1495Fb442b845d31aCdcfD834",
344
344
  },
345
345
  },
346
346
  balancerVault: "0xBA12222222228d8Ba445958a75a0704d566BF2C8",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verified-network/verified-sdk",
3
- "version": "2.5.8",
3
+ "version": "2.5.9",
4
4
  "description": "An SDK to develop applications on the Verified Network",
5
5
  "repository": {
6
6
  "type": "git",