@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': '
|
|
28
|
-
'Distribution': '
|
|
29
|
-
'AssetManager': '
|
|
27
|
+
'Liquidity': '0x483885DF21C911ef38D2D1B6CC61b7beCF72b37f',
|
|
28
|
+
'Distribution': '0x9B4545e0e3A1E853F0295fA69Deb34242B322332',
|
|
29
|
+
'AssetManager': '0x48Ba77046b15B18381234316c15C6A79251A14Eb',
|
|
30
30
|
'Custody': '0xb6DD33C076fE95ffACC84E048Bda1caa6C304673',
|
|
31
31
|
'CASH': {
|
|
32
32
|
'VCUSD': '0xac27eeA1D7B9778D5C8D9b595282AEA076e54E90',
|