@verified-network/verified-sdk 0.9.3 → 0.9.5

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.
@@ -50226,15 +50226,15 @@
50226
50226
  "version": "0.8.0+commit.c7dfd78e.Emscripten.clang"
50227
50227
  },
50228
50228
  "networks": {
50229
- "5": {
50229
+ "3": {
50230
50230
  "events": {},
50231
50231
  "links": {},
50232
- "address": "0x358643DA31fdE65b15839EeC0C72f3dacD07EBeD",
50233
- "transactionHash": "0xf62c57a4009d17b066c6352fd0387ff00671274848d46bdad2ddb66c22e287d9"
50232
+ "address": "0x7d56F166AEA6A34525cC60Cf18e0b52c0ceC234f",
50233
+ "transactionHash": "0x89510f8f2c3c531ba628c30d75bdb73f68fa01f2c681e03fed87585e95ba2bda"
50234
50234
  }
50235
50235
  },
50236
50236
  "schemaVersion": "3.4.3",
50237
- "updatedAt": "2022-08-02T14:30:15.421Z",
50237
+ "updatedAt": "2022-09-20T19:38:01.676Z",
50238
50238
  "networkType": "ethereum",
50239
50239
  "devdoc": {
50240
50240
  "kind": "dev",
@@ -0,0 +1,141 @@
1
+ "use strict";
2
+ // SPDX-License-Identifier: BUSL-1.1
3
+ // @ts-nocheck
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ const index_1 = require("../../index");
6
+ const PrimaryIssueManager_json_1 = require("../../../abi/assetmanager/balancer/PrimaryIssueManager.json");
7
+ const PrimaryIssueManager_json_2 = require("../../../abi/assetmanager/kyber/PrimaryIssueManager.json");
8
+ var FUNCTIONS;
9
+ (function (FUNCTIONS) {
10
+ FUNCTIONS["OFFER"] = "offer";
11
+ FUNCTIONS["GETOFFERED"] = "getOffered";
12
+ FUNCTIONS["GETOFFERMADE"] = "getOfferMade";
13
+ FUNCTIONS["GETALLOTTEDSTAKE"] = "getAllotedStake";
14
+ FUNCTIONS["GETLIQUIDITYPROVIDERS"] = "getLiquidityProviders";
15
+ FUNCTIONS["ISSUE"] = "issue";
16
+ FUNCTIONS["ONSUBSCRIPTION"] = "onSubscription";
17
+ FUNCTIONS["SUBSCRIBE"] = "subscribe";
18
+ FUNCTIONS["GETSUBSCRIBERS"] = "getSubscribers";
19
+ FUNCTIONS["CLOSE"] = "close";
20
+ FUNCTIONS["ACCEPT"] = "accept";
21
+ FUNCTIONS["REJECT"] = "reject";
22
+ FUNCTIONS["SETTLE"] = "settle";
23
+ })(FUNCTIONS || (FUNCTIONS = {}));
24
+ class PrimaryIssueManager extends index_1.VerifiedContract {
25
+ constructor(signer, platformAddress, platform) {
26
+ const address = platformAddress;
27
+ if (platform == "balancer")
28
+ super(address, JSON.stringify(PrimaryIssueManager_json_1.abiBalancer), signer);
29
+ else if (platform == "kyber")
30
+ super(address, JSON.stringify(PrimaryIssueManager_json_2.abiKyber), signer);
31
+ this.contractAddress = address;
32
+ }
33
+ async offer(owned, isin, offered, tomatch, desired, min, issuer,
34
+ //_hashedMessage: string,
35
+ //_v: string,
36
+ //_r: string,
37
+ //_s: string,
38
+ options) {
39
+ await this.validateInput(index_1.DATATYPES.ADDRESS, owned);
40
+ await this.validateInput(index_1.DATATYPES.ADDRESS, tomatch);
41
+ await this.validateInput(index_1.DATATYPES.ADDRESS, issuer);
42
+ await this.validateInput(index_1.DATATYPES.STRING, isin);
43
+ await this.validateInput(index_1.DATATYPES.NUMBER, offered);
44
+ await this.validateInput(index_1.DATATYPES.NUMBER, desired);
45
+ await this.validateInput(index_1.DATATYPES.NUMBER, min);
46
+ return this.callContract(FUNCTIONS.OFFER, owned, this.sanitiseInput(index_1.DATATYPES.BYTE32, isin), offered, tomatch, desired, min, issuer,
47
+ /*_hashedMessage, _v, _r, _s,*/ options);
48
+ }
49
+ /**
50
+ * Gets security tokens offered for passed token parameter
51
+ * @param offered address of liquidity token offered by asset manager
52
+ * @param options
53
+ * @returns array of structs of security tokens matching with offered liquidity token
54
+ */
55
+ async getOffered(offered, options) {
56
+ await this.validateInput(index_1.DATATYPES.ADDRESS, offered);
57
+ return this.callContract(FUNCTIONS.GETOFFERED, offered, options);
58
+ }
59
+ /**
60
+ * Gets offer made previously with offered token and token to match
61
+ * @param offered address of offered token
62
+ * @param tomatch address of token to match
63
+ * @param options
64
+ * @returns token struct
65
+ */
66
+ async getOfferMade(offered, tomatch, options) {
67
+ await this.validateInput(index_1.DATATYPES.ADDRESS, offered);
68
+ await this.validateInput(index_1.DATATYPES.ADDRESS, tomatch);
69
+ return this.callContract(FUNCTIONS.GETOFFERMADE, offered, tomatch, options);
70
+ }
71
+ /**
72
+ * Gets allotted liquidity stake for caller (asset manager) that is available to invest
73
+ * @param options
74
+ * @returns amount of available liquidity for caller (asset manager)
75
+ */
76
+ async getAllotedStake() {
77
+ return this.callContract(FUNCTIONS.GETALLOTTEDSTAKE);
78
+ }
79
+ /**
80
+ * Gets liquidity providers for a security token offering
81
+ * @param security address of security token
82
+ * @param options
83
+ * @returns array of structs of liquidity providers
84
+ */
85
+ async getLiquidityProviders(security,
86
+ //_hashedMessage: string,
87
+ //_v: string,
88
+ //_r: string,
89
+ //_s: string,
90
+ options) {
91
+ await this.validateInput(index_1.DATATYPES.ADDRESS, security);
92
+ return this.callContract(FUNCTIONS.GETLIQUIDITYPROVIDERS, security,
93
+ //_hashedMessage, _v, _r, _s,
94
+ options);
95
+ }
96
+ async issue(security, cutoffTime, issuer, _hashedMessage, _v, _r, _s, options) {
97
+ await this.validateInput(index_1.DATATYPES.ADDRESS, security);
98
+ await this.validateInput(index_1.DATATYPES.ADDRESS, issuer);
99
+ await this.validateInput(index_1.DATATYPES.NUMBER, cutoffTime);
100
+ return this.callContract(FUNCTIONS.ISSUE, security, cutoffTime, issuer, _hashedMessage, _v, _r, _s, options);
101
+ }
102
+ async onSubscription(pool, _hashedMessage, _v, _r, _s, options) {
103
+ await this.validateInput(index_1.DATATYPES.ADDRESS, pool);
104
+ return this.callContract(FUNCTIONS.ONSUBSCRIPTION, pool, _hashedMessage, _v, _r, _s, options);
105
+ }
106
+ async subscribe(security, asset, assetName, amount, investor, price, paidIn, _hashedMessage, _v, _r, _s, options) {
107
+ await this.validateInput(index_1.DATATYPES.ADDRESS, security);
108
+ await this.validateInput(index_1.DATATYPES.ADDRESS, asset);
109
+ await this.validateInput(index_1.DATATYPES.STRING, assetName);
110
+ await this.validateInput(index_1.DATATYPES.ADDRESS, investor);
111
+ await this.validateInput(index_1.DATATYPES.NUMBER, amount);
112
+ await this.validateInput(index_1.DATATYPES.NUMBER, price);
113
+ await this.validateInput(index_1.DATATYPES.STRING, paidIn);
114
+ return this.callContract(FUNCTIONS.SUBSCRIBE, security, asset, assetName, amount, investor, price, paidIn, _hashedMessage, _v, _r, _s, options);
115
+ }
116
+ async getSubscribers(poolId, _hashedMessage, _v, _r, _s, options) {
117
+ await this.validateInput(index_1.DATATYPES.STRING, poolId);
118
+ return this.callContract(FUNCTIONS.GETSUBSCRIBERS, this.sanitiseInput(index_1.DATATYPES.BYTE32, poolId), _hashedMessage, _v, _r, _s, options);
119
+ }
120
+ async close(security, redeem, _hashedMessage, _v, _r, _s, options) {
121
+ await this.validateInput(index_1.DATATYPES.ADDRESS, security);
122
+ return this.callContract(FUNCTIONS.CLOSE, security, redeem, _hashedMessage, _v, _r, _s, options);
123
+ }
124
+ async accept(poolid, investor, amnt, asset, _hashedMessage, _v, _r, _s, options) {
125
+ await this.validateInput(index_1.DATATYPES.ADDRESS, investor);
126
+ await this.validateInput(index_1.DATATYPES.ADDRESS, asset);
127
+ await this.validateInput(index_1.DATATYPES.NUMBER, amnt);
128
+ await this.validateInput(index_1.DATATYPES.STRING, poolid);
129
+ return this.callContract(FUNCTIONS.ACCEPT, this.sanitiseInput(index_1.DATATYPES.BYTE32, poolId), investor, amnt, asset, _hashedMessage, _v, _r, _s, options);
130
+ }
131
+ async reject(poolid, investor, _hashedMessage, _v, _r, _s, options) {
132
+ await this.validateInput(index_1.DATATYPES.ADDRESS, investor);
133
+ await this.validateInput(index_1.DATATYPES.STRING, poolid);
134
+ return this.callContract(FUNCTIONS.REJECT, this.sanitiseInput(index_1.DATATYPES.BYTE32, poolId), investor, _hashedMessage, _v, _r, _s, options);
135
+ }
136
+ async settle(poolId, _hashedMessage, _v, _r, _s, options) {
137
+ await this.validateInput(index_1.DATATYPES.STRING, poolId);
138
+ return this.callContract(FUNCTIONS.SETTLE, this.sanitiseInput(index_1.DATATYPES.BYTE32, poolId), _hashedMessage, _v, _r, _s, options);
139
+ }
140
+ }
141
+ exports.default = PrimaryIssueManager;
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ // SPDX-License-Identifier: BUSL-1.1
3
+ // @ts-nocheck
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ const index_1 = require("../../index");
6
+ const SecondaryIssueManager_json_1 = require("../../../abi/assetmanager/balancer/SecondaryIssueManager.json");
7
+ var FUNCTIONS;
8
+ (function (FUNCTIONS) {
9
+ FUNCTIONS["ISSUESECONDARY"] = "issueSecondary";
10
+ FUNCTIONS["GETSETTLEMENTREQUESTS"] = "getSettlementRequests";
11
+ FUNCTIONS["GETSETTLEMENTREQUEST"] = "getSettlementRequest";
12
+ FUNCTIONS["SETSETTLEMENTSTATUS"] = "setSettlementStatus";
13
+ })(FUNCTIONS || (FUNCTIONS = {}));
14
+ class SecondaryIssueManager extends index_1.VerifiedContract {
15
+ constructor(signer, platformAddress) {
16
+ const address = platformAddress;
17
+ super(address, JSON.stringify(SecondaryIssueManager_json_1.abi), signer);
18
+ this.contractAddress = address;
19
+ }
20
+ async issueSecondary(security, currency, amount, id, _hashedMessage, _v, _r, _s, options) {
21
+ await this.validateInput(index_1.DATATYPES.ADDRESS, security);
22
+ await this.validateInput(index_1.DATATYPES.ADDRESS, currency);
23
+ await this.validateInput(index_1.DATATYPES.STRING, id);
24
+ await this.validateInput(index_1.DATATYPES.NUMBER, amount);
25
+ return this.callContract(FUNCTIONS.ISSUESECONDARY, security, currency, amount, this.sanitiseInput(index_1.DATATYPES.BYTE32, id), _hashedMessage, _v, _r, _s, options);
26
+ }
27
+ async getSettlementRequests(dpid, options) {
28
+ await this.validateInput(index_1.DATATYPES.STRING, dpid);
29
+ return this.callContract(FUNCTIONS.GETSETTLEMENTREQUESTS, this.sanitiseInput(index_1.DATATYPES.BYTE32, dpid), options);
30
+ }
31
+ async getSettlementRequest(ref, options) {
32
+ await this.validateInput(index_1.DATATYPES.STRING, ref);
33
+ return this.callContract(FUNCTIONS.GETSETTLEMENTREQUEST, this.sanitiseInput(index_1.DATATYPES.BYTE32, ref), options);
34
+ }
35
+ async setSettlementStatus(ref, status, id, options) {
36
+ await this.validateInput(index_1.DATATYPES.STRING, ref);
37
+ await this.validateInput(index_1.DATATYPES.STRING, status);
38
+ await this.validateInput(index_1.DATATYPES.STRING, id);
39
+ return this.callContract(FUNCTIONS.SETSETTLEMENTSTATUS, this.sanitiseInput(index_1.DATATYPES.BYTE32, ref), this.sanitiseInput(index_1.DATATYPES.BYTE32, status), this.sanitiseInput(index_1.DATATYPES.BYTE32, id), options);
40
+ }
41
+ }
42
+ exports.default = SecondaryIssueManager;
@@ -104,8 +104,8 @@ class PreTradeContract extends index_1.VerifiedContract {
104
104
  uint256 faceValue;
105
105
  } )
106
106
  */
107
- async getConfirmationRequest(_ref, options) {
108
- return this.callContract(FUNCTIONS.GETCONFIRMATIONREQUEST, _ref, options);
107
+ async getConfirmationRequest(_currencyCode, options) {
108
+ return this.callContract(FUNCTIONS.GETCONFIRMATIONREQUEST, _currencyCode, options);
109
109
  }
110
110
  /**
111
111
  * Confirm security registration request [sent by manager on PreTrade.sol, only works if manager’s role is DP]
@@ -10,6 +10,7 @@ var FUNCTIONS;
10
10
  FUNCTIONS["GETROLE"] = "getRole";
11
11
  FUNCTIONS["REMOVEROLE"] = "removeRole";
12
12
  FUNCTIONS["ADDROLE"] = "addRole";
13
+ FUNCTIONS["UPDATEKYC"] = "KycUpdate";
13
14
  })(FUNCTIONS || (FUNCTIONS = {}));
14
15
  class VerifiedClient extends index_1.VerifiedContract {
15
16
  constructor(signer) {
@@ -55,5 +56,13 @@ class VerifiedClient extends index_1.VerifiedContract {
55
56
  await this.validateInput(index_1.DATATYPES.STRING, _id);
56
57
  return this.callContract(FUNCTIONS.ADDROLE, _manager, _submanager, this.sanitiseInput(index_1.DATATYPES.BYTE32, _country), this.sanitiseInput(index_1.DATATYPES.BYTE32, _role), this.sanitiseInput(index_1.DATATYPES.BYTE32, _id), _hashedMessage, _v, _r, _s, options);
57
58
  }
59
+ async KycUpdate(client, name, surname, country, status, _hashedMessage, _v, _r, _s, options) {
60
+ await this.validateInput(index_1.DATATYPES.ADDRESS, client);
61
+ await this.validateInput(index_1.DATATYPES.STRING, name);
62
+ await this.validateInput(index_1.DATATYPES.STRING, surname);
63
+ await this.validateInput(index_1.DATATYPES.STRING, country);
64
+ await this.validateInput(index_1.DATATYPES.NUMBER, status);
65
+ return this.callContract(FUNCTIONS.UPDATEKYC, client, this.sanitiseInput(index_1.DATATYPES.BYTE32, name), this.sanitiseInput(index_1.DATATYPES.BYTE32, surname), this.sanitiseInput(index_1.DATATYPES.BYTE32, country), status, _hashedMessage, _v, _r, _s, options);
66
+ }
58
67
  }
59
68
  exports.default = VerifiedClient;
@@ -10,6 +10,7 @@ var FUNCTIONS;
10
10
  FUNCTIONS["GETTYPE"] = "getType";
11
11
  FUNCTIONS["GETTOKENBYNAMETYPE"] = "getTokenByNameType";
12
12
  FUNCTIONS["GETISSUER"] = "getIssuer";
13
+ FUNCTIONS["GETISSUES"] = "getIssues";
13
14
  FUNCTIONS["GETTOKENCOUNT"] = "getTokenCount";
14
15
  FUNCTIONS["GETTOKEN"] = "getToken";
15
16
  FUNCTIONS["GETNAMEANDTYPE"] = "getNameAndType";
@@ -101,6 +102,14 @@ class VerifiedFactory extends index_1.VerifiedContract {
101
102
  await this.validateInput(index_1.DATATYPES.STRING, tokenType);
102
103
  return this.callContract(FUNCTIONS.GETISSUER, this.sanitiseInput(index_1.DATATYPES.BYTE32, tokenType), this.sanitiseInput(index_1.DATATYPES.BYTE32, tokenName), options);
103
104
  }
105
+ /**
106
+ * Get issued security token addresses
107
+ * @param
108
+ * @returns returns array of addresses
109
+ */
110
+ async getIssues() {
111
+ return this.callContract(FUNCTIONS.GETISSUES);
112
+ }
104
113
  async issueSecurity(_security, _company, _isin, _currency, _issuer, _hashedMessage, _v, _r, _s, options) {
105
114
  await this.validateInput(index_1.DATATYPES.ADDRESS, _security);
106
115
  await this.validateInput(index_1.DATATYPES.ADDRESS, _issuer);
@@ -16,6 +16,8 @@ var FUNCTIONS;
16
16
  FUNCTIONS["GETSECURITYDETAILS"] = "getSecurityDetails";
17
17
  FUNCTIONS["CREATESECURITY"] = "createSecurity";
18
18
  FUNCTIONS["GETISSUEDSECURITIES"] = "getSecuritiesIssued";
19
+ FUNCTIONS["SUPPORTTOKENS"] = "supportTokens";
20
+ FUNCTIONS["CHECKSUPPORTFORTOKEN"] = "checkSupportForToken";
19
21
  })(FUNCTIONS || (FUNCTIONS = {}));
20
22
  class SecuritiesRegistryContract extends index_1.VerifiedContract {
21
23
  constructor(signer) {
@@ -24,6 +26,16 @@ class SecuritiesRegistryContract extends index_1.VerifiedContract {
24
26
  super(address, JSON.stringify(SecuritiesRegistry_json_1.abi), signer);
25
27
  this.contractAddress = address;
26
28
  }
29
+ async supportToken(_token, _name, _network, options) {
30
+ await this.validateInput(index_1.DATATYPES.ADDRESS, _token);
31
+ await this.validateInput(index_1.DATATYPES.STRING, _name);
32
+ await this.validateInput(index_1.DATATYPES.STRING, _network);
33
+ return this.callContract(FUNCTIONS.SUPPORTTOKENS, _token, this.sanitiseInput(index_1.DATATYPES.BYTE32, _name), this.sanitiseInput(index_1.DATATYPES.BYTE32, _network), options);
34
+ }
35
+ async checkSupportForToken(_token, options) {
36
+ await this.validateInput(index_1.DATATYPES.STRING, _token);
37
+ return this.callContract(FUNCTIONS.CHECKSUPPORTFORTOKEN, this.sanitiseInput(index_1.DATATYPES.BYTE32, _token), options);
38
+ }
27
39
  /**
28
40
  * Register demat account [sent by user on PreTrade.sol]
29
41
  * @param (bytes32 _currency, bytes32 _company, bytes32 _isin)
@@ -1,42 +1,43 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const contractAddress = {
4
- 'L1-goerli': {
5
- 'Client': '0x09129c81E9F67B1D186719F16f1e2Fd4DC7CC5A4',
4
+ 'L1-ropsten': {
5
+ 'Client': '0x2b64db86d487c2A11800572e5E4d9dD36D53e92f',
6
6
  'KYC': '',
7
7
  'System': '',
8
8
  'Holder': '',
9
9
  'Ledger': '',
10
10
  'Account': '',
11
- 'Factory': '0x4e5f5b34d8E381da1f121f558Eda0004251ADeCa',
12
- 'Cash': '0x3724D9e0b8b229994811704f1764e90DfF31937C',
13
- 'Bond': '0xA4670cf406e8d43cF52605441e875a7cCe6240C6',
11
+ 'Factory': '0x08223265869E87dD0f217AFBB94066358eCB671A',
12
+ 'Cash': '0xB4b7F053D8c26BAa683747218F09fac77A0950cd',
13
+ 'Bond': '0xa838081c70409C277EF337d34b3c7cB943F7b814',
14
14
  'Token': '',
15
15
  'Oracle': '',
16
- 'Rates': '0x9D90693dc06236d934Dafc8c5D339A3798afabff',
16
+ 'Rates': '0x4a09E0798E4F31662df7Ba7a505CeD2bd1d7cF83',
17
17
  'PreTrade': '',
18
18
  'Trade': '',
19
19
  'PostTrade': '',
20
20
  'SecuritiesRegistry': '',
21
- 'Security': '0x2118C679fE21f808bB2159793eC7e5c009aB5919',
21
+ 'Security': '0x7beBddE18f22b36593ab8d08c0991F9a3D328D3a',
22
22
  'OrderPool': '',
23
23
  'PoolFactory': '',
24
24
  'Stocks': '',
25
25
  'Bonds': '',
26
- 'Liquidity': '0x358643DA31fdE65b15839EeC0C72f3dacD07EBeD',
27
- 'Distribution': '0xa1eFf77E3B8f8FC55675048731d509cacF40F757',
28
- 'BalancerPrimaryIssueManager': '0xFc8E2ca7757BA61dDF6fcb63eD7f33C1a14a2204',
29
- 'BalancerSecondaryIssueManager': '0xC5908dC7FBAe5c89795a2b6125db91a2B63b8cDb',
30
- 'Custody': '0xF6ebB33E758eC36A2D3065F4633131DFF8307A07',
26
+ 'Liquidity': '0x7d56F166AEA6A34525cC60Cf18e0b52c0ceC234f',
27
+ 'Distribution': '0x16e333ea69bFb67b8161eeaEA7d4ea7553a0F5B9',
28
+ 'BalancerPrimaryIssueManager': '',
29
+ 'BalancerSecondaryIssueManager': '',
30
+ 'KyberPrimaryIssueManager': '0x19f0145703F3BfEcCe7c8ce7028d68b56289112d',
31
+ 'Custody': '0x7436eB550F7C7173F2f300ae24F88c3585bB27FB',
31
32
  'CASH': {
32
- 'VCUSD': '0xfbc7fB0615099D91eb6E0C1527141CC6589e9fe7',
33
- 'VCEUR': '0x2BAed66972676641Dd77fbA36dAa4127dB7A0672',
34
- 'VCINR': '0xFb9b475380aFFb10aC823Df42102e199c34b0Ceb'
33
+ 'VCUSD': '0xc64c9587F5BdCbe8A4F21dD1f93fC9964331C301',
34
+ 'VCEUR': '0xE4d0381Ca656cD7E397F502bE6b7b759f35A652B',
35
+ 'VCINR': '0xF7bA67cD1446ae2031220424ebB64F8e3Fbf83b7'
35
36
  },
36
37
  'BOND': {
37
- 'VBUSD': '0x0EBe5744F1b72C1875eCA2e02482Fc206De26A35',
38
- 'VBEUR': '0xD3daCD382E2A55F9207855D33f8b184a80f7c634',
39
- 'VBINR': '0xf56ba7bC1749697D959983496669a44b301eFE46'
38
+ 'VBUSD': '0x344C52e9537244EEd0c0354C39811563AF58f6c6',
39
+ 'VBEUR': '0x2bB131066A6C5f2e5d134164e090997D66d7a061',
40
+ 'VBINR': '0xD7C1F45dC486AD2094455B941A6ce93A0db3BB96'
40
41
  },
41
42
  },
42
43
  'L2-goerli': {
@@ -64,8 +65,8 @@ const contractAddress = {
64
65
  'Bonds': '0xb3D8BB812cC4F7680995B03dFF7c8A2168DCB9A4',
65
66
  'Liquidity': '',
66
67
  'Distribution': '0xc5c2Aeb737C016FDB2655Ff7B748667f5ab6A7f1',
67
- 'BalancerManager': '',
68
- 'PrimaryIssuePoolFactory': '',
68
+ 'BalancerPrimaryIssueManager': '',
69
+ 'BalancerSecondaryIssueManager': '',
69
70
  'Custody': '',
70
71
  'CASH': {
71
72
  'VCUSD': '0x7817ee8Ed70aE456d220Ac56c625074799A7fE1d',
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  return (mod && mod.__esModule) ? mod : { "default": mod };
5
5
  };
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.contractAddress = exports.utils = exports.VerifiedClient = exports.VerifiedRates = exports.VerifiedDistribution = exports.VerifiedFactory = exports.VerifiedSecurity = exports.VerifiedBond = exports.VerifiedCash = exports.BalancerSecondaryIssueManager = exports.BalancerPrimaryIssueManager = exports.RatesContract = exports.LiquidityContract = exports.CustodyContract = exports.BondsContract = exports.StocksContract = exports.ProductContract = exports.DistributionContract = exports.OracleContract = exports.SecurityContract = exports.TokenContract = exports.FactoryContract = exports.TradeContract = exports.SecuritiesRegistryContract = exports.PreTradeContract = exports.PostTradeContract = exports.PoolFactoryContract = exports.OrderPoolContract = exports.CashContract = exports.BondContract = exports.AccountContract = exports.LedgerContract = exports.HolderContract = exports.SystemContract = exports.KYCContract = exports.ClientContract = exports.Provider = exports.VerifiedWallet = void 0;
7
+ exports.contractAddress = exports.utils = exports.VerifiedClient = exports.VerifiedRates = exports.VerifiedDistribution = exports.VerifiedFactory = exports.VerifiedSecurity = exports.VerifiedBond = exports.VerifiedCash = exports.SecondaryIssueManager = exports.PrimaryIssueManager = exports.RatesContract = exports.LiquidityContract = exports.CustodyContract = exports.BondsContract = exports.StocksContract = exports.ProductContract = exports.DistributionContract = exports.OracleContract = exports.SecurityContract = exports.TokenContract = exports.FactoryContract = exports.TradeContract = exports.SecuritiesRegistryContract = exports.PreTradeContract = exports.PostTradeContract = exports.PoolFactoryContract = exports.OrderPoolContract = exports.CashContract = exports.BondContract = exports.AccountContract = exports.LedgerContract = exports.HolderContract = exports.SystemContract = exports.KYCContract = exports.ClientContract = exports.Provider = exports.VerifiedWallet = void 0;
8
8
  const wallet_1 = require("./wallet");
9
9
  Object.defineProperty(exports, "VerifiedWallet", { enumerable: true, get: function () { return wallet_1.VerifiedWallet; } });
10
10
  const utils_1 = require("./utils");
@@ -59,10 +59,10 @@ const distribution_1 = __importDefault(require("./contract/distribution"));
59
59
  exports.DistributionContract = distribution_1.default;
60
60
  const rates_1 = __importDefault(require("./contract/rates"));
61
61
  exports.RatesContract = rates_1.default;
62
- const primary_1 = __importDefault(require("./contract/balancer/primary"));
63
- exports.BalancerPrimaryIssueManager = primary_1.default;
64
- const secondary_1 = __importDefault(require("./contract/balancer/secondary"));
65
- exports.BalancerSecondaryIssueManager = secondary_1.default;
62
+ const primary_1 = __importDefault(require("./contract/amm/primary"));
63
+ exports.PrimaryIssueManager = primary_1.default;
64
+ const secondary_1 = __importDefault(require("./contract/amm/secondary"));
65
+ exports.SecondaryIssueManager = secondary_1.default;
66
66
  const cash_2 = __importDefault(require("./contract/public/cash"));
67
67
  exports.VerifiedCash = cash_2.default;
68
68
  const bond_2 = __importDefault(require("./contract/public/bond"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verified-network/verified-sdk",
3
- "version": "0.9.3",
3
+ "version": "0.9.5",
4
4
  "description": "An SDK to develop applications on the Verified Network",
5
5
  "repository": {
6
6
  "type": "git",