@verified-network/verified-sdk 0.5.9 → 0.6.0

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.
@@ -10,6 +10,7 @@ var FUNCTIONS;
10
10
  FUNCTIONS["GETOFFERED"] = "getOffered";
11
11
  FUNCTIONS["GETOFFERMADE"] = "getOfferMade";
12
12
  FUNCTIONS["GETALLOTTEDSTAKE"] = "getAllotedStake";
13
+ FUNCTIONS["GETLIQUIDITYPROVIDERS"] = "getLiquidityProviders";
13
14
  })(FUNCTIONS || (FUNCTIONS = {}));
14
15
  class AssetManager extends index_1.VerifiedContract {
15
16
  constructor(signer, platformAddress) {
@@ -57,5 +58,15 @@ class AssetManager extends index_1.VerifiedContract {
57
58
  async getAllotedStake() {
58
59
  return this.callContract(FUNCTIONS.GETALLOTTEDSTAKE);
59
60
  }
61
+ /**
62
+ * Gets liquidity providers for a security token offering
63
+ * @param security address of security token
64
+ * @param options
65
+ * @returns array of structs of liquidity providers
66
+ */
67
+ async getLiquidityProviders(security, options) {
68
+ await this.validateInput(index_1.DATATYPES.ADDRESS, security);
69
+ return this.callContract(FUNCTIONS.GETLIQUIDITYPROVIDERS, security, options);
70
+ }
60
71
  }
61
72
  exports.default = AssetManager;
@@ -24,9 +24,9 @@ const contractAddress = {
24
24
  'Products': '0x8d0517CCCB30a6621bF7e718a023664B1626572b',
25
25
  'Stocks': '0x595EDBeD8073DadB80e8CF72Ae4e862D0ead6410',
26
26
  'Bonds': '0x40a62d2C91C532C7695Ac14fEf2B8F0087699885',
27
- 'Liquidity': '0xC86966d0CB548744aE62d8769698AD2b73D6bD63',
28
- 'Distribution': '0x87Fe4826dD795491B8DCaa6e1a8aA9BbA2A5A8B8',
29
- 'AssetManager': '0xEfA3Bb8d57c458e83B72255Eff078D430E5142aD',
27
+ 'Liquidity': '0x483885DF21C911ef38D2D1B6CC61b7beCF72b37f',
28
+ 'Distribution': '0x9B4545e0e3A1E853F0295fA69Deb34242B322332',
29
+ 'AssetManager': '0x48Ba77046b15B18381234316c15C6A79251A14Eb',
30
30
  'Custody': '0xb6DD33C076fE95ffACC84E048Bda1caa6C304673',
31
31
  'CASH': {
32
32
  'VCUSD': '0xac27eeA1D7B9778D5C8D9b595282AEA076e54E90',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verified-network/verified-sdk",
3
- "version": "0.5.9",
3
+ "version": "0.6.0",
4
4
  "description": "An SDK to develop applications on the Verified Network",
5
5
  "repository": {
6
6
  "type": "git",