@verified-network/verified-sdk 0.8.6 → 0.8.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.
@@ -0,0 +1,121 @@
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/PrimaryIssueManager.json");
7
+ var FUNCTIONS;
8
+ (function (FUNCTIONS) {
9
+ FUNCTIONS["OFFER"] = "offer";
10
+ FUNCTIONS["GETOFFERED"] = "getOffered";
11
+ FUNCTIONS["GETOFFERMADE"] = "getOfferMade";
12
+ FUNCTIONS["GETALLOTTEDSTAKE"] = "getAllotedStake";
13
+ FUNCTIONS["GETLIQUIDITYPROVIDERS"] = "getLiquidityProviders";
14
+ FUNCTIONS["ISSUE"] = "issue";
15
+ FUNCTIONS["GETSUBSCRIBERS"] = "getSubscribers";
16
+ FUNCTIONS["CLOSE"] = "close";
17
+ FUNCTIONS["ACCEPT"] = "accept";
18
+ FUNCTIONS["REJECT"] = "reject";
19
+ FUNCTIONS["SETTLE"] = "settle";
20
+ })(FUNCTIONS || (FUNCTIONS = {}));
21
+ class BalancerPrimaryIssueManager extends index_1.VerifiedContract {
22
+ constructor(signer, platformAddress) {
23
+ const address = platformAddress;
24
+ super(address, JSON.stringify(PrimaryIssueManager_json_1.abi), signer);
25
+ this.contractAddress = address;
26
+ }
27
+ async offer(owned, isin, offered, tomatch, desired, min, issuer,
28
+ //_hashedMessage: string,
29
+ //_v: string,
30
+ //_r: string,
31
+ //_s: string,
32
+ options) {
33
+ await this.validateInput(index_1.DATATYPES.ADDRESS, owned);
34
+ await this.validateInput(index_1.DATATYPES.ADDRESS, tomatch);
35
+ await this.validateInput(index_1.DATATYPES.ADDRESS, issuer);
36
+ await this.validateInput(index_1.DATATYPES.STRING, isin);
37
+ await this.validateInput(index_1.DATATYPES.NUMBER, offered);
38
+ await this.validateInput(index_1.DATATYPES.NUMBER, desired);
39
+ await this.validateInput(index_1.DATATYPES.NUMBER, min);
40
+ return this.callContract(FUNCTIONS.OFFER, owned, this.sanitiseInput(index_1.DATATYPES.BYTE32, isin), offered, tomatch, desired, min, issuer,
41
+ /*_hashedMessage, _v, _r, _s,*/ options);
42
+ }
43
+ /**
44
+ * Gets security tokens offered for passed token parameter
45
+ * @param offered address of liquidity token offered by asset manager
46
+ * @param options
47
+ * @returns array of structs of security tokens matching with offered liquidity token
48
+ */
49
+ async getOffered(offered, options) {
50
+ await this.validateInput(index_1.DATATYPES.ADDRESS, offered);
51
+ return this.callContract(FUNCTIONS.GETOFFERED, offered, options);
52
+ }
53
+ /**
54
+ * Gets offer made previously with offered token and token to match
55
+ * @param offered address of offered token
56
+ * @param tomatch address of token to match
57
+ * @param options
58
+ * @returns token struct
59
+ */
60
+ async getOfferMade(offered, tomatch, options) {
61
+ await this.validateInput(index_1.DATATYPES.ADDRESS, offered);
62
+ await this.validateInput(index_1.DATATYPES.ADDRESS, tomatch);
63
+ return this.callContract(FUNCTIONS.GETOFFERMADE, offered, tomatch, options);
64
+ }
65
+ /**
66
+ * Gets allotted liquidity stake for caller (asset manager) that is available to invest
67
+ * @param options
68
+ * @returns amount of available liquidity for caller (asset manager)
69
+ */
70
+ async getAllotedStake() {
71
+ return this.callContract(FUNCTIONS.GETALLOTTEDSTAKE);
72
+ }
73
+ /**
74
+ * Gets liquidity providers for a security token offering
75
+ * @param security address of security token
76
+ * @param options
77
+ * @returns array of structs of liquidity providers
78
+ */
79
+ async getLiquidityProviders(security,
80
+ //_hashedMessage: string,
81
+ //_v: string,
82
+ //_r: string,
83
+ //_s: string,
84
+ options) {
85
+ await this.validateInput(index_1.DATATYPES.ADDRESS, security);
86
+ return this.callContract(FUNCTIONS.GETLIQUIDITYPROVIDERS, security,
87
+ //_hashedMessage, _v, _r, _s,
88
+ options);
89
+ }
90
+ async issue(security, cutoffTime, issuer, _hashedMessage, _v, _r, _s, options) {
91
+ await this.validateInput(index_1.DATATYPES.ADDRESS, security);
92
+ await this.validateInput(index_1.DATATYPES.ADDRESS, issuer);
93
+ await this.validateInput(index_1.DATATYPES.NUMBER, cutoffTime);
94
+ return this.callContract(FUNCTIONS.ISSUE, security, cutoffTime, issuer, _hashedMessage, _v, _r, _s, options);
95
+ }
96
+ async getSubscribers(poolId, _hashedMessage, _v, _r, _s, options) {
97
+ await this.validateInput(index_1.DATATYPES.STRING, poolId);
98
+ return this.callContract(FUNCTIONS.GETSUBSCRIBERS, this.sanitiseInput(index_1.DATATYPES.BYTE32, poolId), _hashedMessage, _v, _r, _s, options);
99
+ }
100
+ async close(security, _hashedMessage, _v, _r, _s, options) {
101
+ await this.validateInput(index_1.DATATYPES.ADDRESS, security);
102
+ return this.callContract(FUNCTIONS.CLOSE, security, _hashedMessage, _v, _r, _s, options);
103
+ }
104
+ async accept(poolid, investor, amnt, asset, _hashedMessage, _v, _r, _s, options) {
105
+ await this.validateInput(index_1.DATATYPES.ADDRESS, investor);
106
+ await this.validateInput(index_1.DATATYPES.ADDRESS, asset);
107
+ await this.validateInput(index_1.DATATYPES.NUMBER, amnt);
108
+ await this.validateInput(index_1.DATATYPES.STRING, poolid);
109
+ return this.callContract(FUNCTIONS.ACCEPT, this.sanitiseInput(index_1.DATATYPES.BYTE32, poolId), investor, amnt, asset, _hashedMessage, _v, _r, _s, options);
110
+ }
111
+ async reject(poolid, investor, _hashedMessage, _v, _r, _s, options) {
112
+ await this.validateInput(index_1.DATATYPES.ADDRESS, investor);
113
+ await this.validateInput(index_1.DATATYPES.STRING, poolid);
114
+ return this.callContract(FUNCTIONS.REJECT, this.sanitiseInput(index_1.DATATYPES.BYTE32, poolId), investor, _hashedMessage, _v, _r, _s, options);
115
+ }
116
+ async settle(poolId, _hashedMessage, _v, _r, _s, options) {
117
+ await this.validateInput(index_1.DATATYPES.STRING, poolId);
118
+ return this.callContract(FUNCTIONS.SETTLE, this.sanitiseInput(index_1.DATATYPES.BYTE32, poolId), _hashedMessage, _v, _r, _s, options);
119
+ }
120
+ }
121
+ exports.default = BalancerPrimaryIssueManager;
@@ -0,0 +1,48 @@
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/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 BalancerSecondaryIssueManager 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,
21
+ //_hashedMessage: string,
22
+ //_v: string,
23
+ //_r: string,
24
+ //_s: string,
25
+ options) {
26
+ await this.validateInput(index_1.DATATYPES.ADDRESS, security);
27
+ await this.validateInput(index_1.DATATYPES.ADDRESS, currency);
28
+ await this.validateInput(index_1.DATATYPES.STRING, id);
29
+ await this.validateInput(index_1.DATATYPES.NUMBER, amount);
30
+ return this.callContract(FUNCTIONS.ISSUESECONDARY, security, currency, amount, this.sanitiseInput(index_1.DATATYPES.BYTE32, id),
31
+ /*_hashedMessage, _v, _r, _s,*/ options);
32
+ }
33
+ async getSettlementRequests(dpid, options) {
34
+ await this.validateInput(index_1.DATATYPES.STRING, dpid);
35
+ return this.callContract(FUNCTIONS.GETSETTLEMENTREQUESTS, this.sanitiseInput(index_1.DATATYPES.BYTE32, dpid), options);
36
+ }
37
+ async getSettlementRequest(ref, options) {
38
+ await this.validateInput(index_1.DATATYPES.STRING, ref);
39
+ return this.callContract(FUNCTIONS.GETSETTLEMENTREQUEST, this.sanitiseInput(index_1.DATATYPES.BYTE32, ref), options);
40
+ }
41
+ async setSettlementStatus(ref, status, id, options) {
42
+ await this.validateInput(index_1.DATATYPES.STRING, ref);
43
+ await this.validateInput(index_1.DATATYPES.STRING, status);
44
+ await this.validateInput(index_1.DATATYPES.STRING, id);
45
+ 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);
46
+ }
47
+ }
48
+ exports.default = BalancerSecondaryIssueManager;
@@ -16,6 +16,9 @@ var FUNCTIONS;
16
16
  FUNCTIONS["SIGNTRANSACTION"] = "signTransaction";
17
17
  FUNCTIONS["CHECKQUORUM"] = "checkQuorum";
18
18
  FUNCTIONS["GETSHARDS"] = "getShards";
19
+ FUNCTIONS["NEWPARTICIPANT"] = "NewParticipant";
20
+ FUNCTIONS["NEWTRANSACTION"] = "NewTransaction";
21
+ FUNCTIONS["SIGNATURE"] = "SignTransaction";
19
22
  })(FUNCTIONS || (FUNCTIONS = {}));
20
23
  class CustodyContract extends index_1.VerifiedContract {
21
24
  constructor(signer) {
@@ -27,59 +30,61 @@ class CustodyContract extends index_1.VerifiedContract {
27
30
  async createVault(_creator, _id, options) {
28
31
  await this.validateInput(index_1.DATATYPES.STRING, _creator);
29
32
  await this.validateInput(index_1.DATATYPES.STRING, _id);
30
- return this.callContract(FUNCTIONS.CREATEVAULT, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), this.sanitiseInput(index_1.DATATYPES.BYTE32, _id), options);
33
+ return this.callContract(FUNCTIONS.CREATEVAULT, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), _id, options);
31
34
  }
32
35
  async getCreator(_creator, options) {
33
36
  await this.validateInput(index_1.DATATYPES.STRING, _creator);
34
37
  return this.callContract(FUNCTIONS.GETCREATOR, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), options);
35
38
  }
36
- async addParticipant(_creator, _id, _participant, options) {
39
+ async addParticipant(_creator, _participant, _shard, options) {
37
40
  await this.validateInput(index_1.DATATYPES.STRING, _creator);
38
- await this.validateInput(index_1.DATATYPES.STRING, _id);
39
41
  await this.validateInput(index_1.DATATYPES.STRING, _participant);
40
- return this.callContract(FUNCTIONS.ADDPARTICIPANT, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), this.sanitiseInput(index_1.DATATYPES.BYTE32, _id), this.sanitiseInput(index_1.DATATYPES.BYTE32, _participant), options);
42
+ await this.validateInput(index_1.DATATYPES.STRING, _shard);
43
+ return this.callContract(FUNCTIONS.ADDPARTICIPANT, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), this.sanitiseInput(index_1.DATATYPES.BYTE32, _participant), _shard, options);
41
44
  }
42
- async removeParticipant(_creator, _id, _participant, options) {
45
+ async removeParticipant(_creator, _participant, options) {
43
46
  await this.validateInput(index_1.DATATYPES.STRING, _creator);
44
- await this.validateInput(index_1.DATATYPES.STRING, _id);
45
47
  await this.validateInput(index_1.DATATYPES.STRING, _participant);
46
- return this.callContract(FUNCTIONS.REMOVEPARTICIPANT, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), this.sanitiseInput(index_1.DATATYPES.BYTE32, _id), this.sanitiseInput(index_1.DATATYPES.BYTE32, _participant), options);
48
+ return this.callContract(FUNCTIONS.REMOVEPARTICIPANT, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), this.sanitiseInput(index_1.DATATYPES.BYTE32, _participant), options);
47
49
  }
48
- async confirmParticipant(_creator, _participant, _id, _shard, _pin, options) {
50
+ async confirmParticipant(_creator, _participant, _pin, options) {
49
51
  await this.validateInput(index_1.DATATYPES.STRING, _creator);
50
- await this.validateInput(index_1.DATATYPES.STRING, _id);
51
52
  await this.validateInput(index_1.DATATYPES.STRING, _participant);
52
- await this.validateInput(index_1.DATATYPES.STRING, _shard);
53
- return this.callContract(FUNCTIONS.CONFIRMPARTICIPANT, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), this.sanitiseInput(index_1.DATATYPES.BYTE32, _participant), this.sanitiseInput(index_1.DATATYPES.BYTE32, _id), _shard, _pin, options);
53
+ return this.callContract(FUNCTIONS.CONFIRMPARTICIPANT, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), this.sanitiseInput(index_1.DATATYPES.BYTE32, _participant), _pin, options);
54
54
  }
55
- async defineQuorum(_creator, _id, _minParticipants, options) {
55
+ async defineQuorum(_creator, _minParticipants, options) {
56
56
  await this.validateInput(index_1.DATATYPES.STRING, _creator);
57
- await this.validateInput(index_1.DATATYPES.STRING, _id);
58
- return this.callContract(FUNCTIONS.DEFINEQUORUM, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), this.sanitiseInput(index_1.DATATYPES.BYTE32, _id), _minParticipants, options);
57
+ await this.validateInput(index_1.DATATYPES.NUMBER, _minParticipants);
58
+ return this.callContract(FUNCTIONS.DEFINEQUORUM, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), _minParticipants, options);
59
59
  }
60
- async promptSignatures(_creator, _id, options) {
60
+ async promptSignatures(_creator, options) {
61
61
  await this.validateInput(index_1.DATATYPES.STRING, _creator);
62
- await this.validateInput(index_1.DATATYPES.STRING, _id);
63
- return this.callContract(FUNCTIONS.PROMPTSIGNATURES, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), this.sanitiseInput(index_1.DATATYPES.BYTE32, _id), options);
62
+ return this.callContract(FUNCTIONS.PROMPTSIGNATURES, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), options);
64
63
  }
65
- async signTransaction(_creator, _participant, _id, _tx, _pin, options) {
64
+ async signTransaction(_creator, _participant, _tx, _pin, options) {
66
65
  await this.validateInput(index_1.DATATYPES.STRING, _creator);
67
- await this.validateInput(index_1.DATATYPES.STRING, _id);
68
66
  await this.validateInput(index_1.DATATYPES.STRING, _participant);
69
- return this.callContract(FUNCTIONS.SIGNTRANSACTION, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), this.sanitiseInput(index_1.DATATYPES.BYTE32, _participant), this.sanitiseInput(index_1.DATATYPES.BYTE32, _id), _tx, _pin, options);
67
+ return this.callContract(FUNCTIONS.SIGNTRANSACTION, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), this.sanitiseInput(index_1.DATATYPES.BYTE32, _participant), _tx, _pin, options);
70
68
  }
71
- async checkQuorum(_creator, _id, _participant, _txid, options) {
69
+ async checkQuorum(_creator, _participant, _txid, options) {
72
70
  await this.validateInput(index_1.DATATYPES.STRING, _creator);
73
- await this.validateInput(index_1.DATATYPES.STRING, _id);
74
71
  await this.validateInput(index_1.DATATYPES.STRING, _participant);
75
72
  await this.validateInput(index_1.DATATYPES.STRING, _txid);
76
- return this.callContract(FUNCTIONS.CHECKQUORUM, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), this.sanitiseInput(index_1.DATATYPES.BYTE32, _id), this.sanitiseInput(index_1.DATATYPES.BYTE32, _participant), this.sanitiseInput(index_1.DATATYPES.BYTE32, _txid), options);
73
+ return this.callContract(FUNCTIONS.CHECKQUORUM, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), this.sanitiseInput(index_1.DATATYPES.BYTE32, _participant), _txid, options);
77
74
  }
78
- async getShards(_creator, _id, _txid, options) {
75
+ async getShards(_creator, _txid, options) {
79
76
  await this.validateInput(index_1.DATATYPES.STRING, _creator);
80
- await this.validateInput(index_1.DATATYPES.STRING, _id);
81
77
  await this.validateInput(index_1.DATATYPES.STRING, _txid);
82
- return this.callContract(FUNCTIONS.GETSHARDS, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), this.sanitiseInput(index_1.DATATYPES.BYTE32, _id), this.sanitiseInput(index_1.DATATYPES.BYTE32, _txid), options);
78
+ return this.callContract(FUNCTIONS.GETSHARDS, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), _txid, options);
79
+ }
80
+ notifyNewParticipant(callback) {
81
+ this.getEvent(FUNCTIONS.NEWPARTICIPANT, callback);
82
+ }
83
+ notifyNewTransaction(callback) {
84
+ this.getEvent(FUNCTIONS.NEWTRANSACTION, callback);
85
+ }
86
+ notifySignTransaction(callback) {
87
+ this.getEvent(FUNCTIONS.SIGNATURE, callback);
83
88
  }
84
89
  }
85
90
  exports.default = CustodyContract;
@@ -1,42 +1,42 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const contractAddress = {
4
- 'L1-goerli': {
5
- 'Client': '0xF1ECb20bce1B31ae61bd5dBf8decac0428942D18',
4
+ 'L1-rinkeby': {
5
+ 'Client': '0xA0893b7bafC5773c088Bf11E323f8C4F03759929',
6
6
  'KYC': '',
7
7
  'System': '',
8
8
  'Holder': '',
9
9
  'Ledger': '',
10
10
  'Account': '',
11
- 'Factory': '0x31A0469B5B0941aCcf75643aAB81ae319AD07733',
12
- 'Cash': '0x13AAf050FD9BB16bb57A9D141515f789cD711004',
13
- 'Bond': '0xc97E5FFE71eE3dBf90a01917b154a20F6DfF6eb9',
11
+ 'Factory': '0x52E88bced2F214cb6DC27B4c9b5D2026CA9A5C91',
12
+ 'Cash': '0xe94E5c776b67f895dB02b0841365115Dc1847733',
13
+ 'Bond': '0xEA503c36561564f0AA2745677e7835722168e634',
14
14
  'Token': '',
15
15
  'Oracle': '',
16
- 'Rates': '0xDccbBf85d4881f0BA8ea7c9Cb02f4Ed8a123A3fD',
16
+ 'Rates': '0x9f9D43B1231ba641EAAf1ca2982b9b9E39884538',
17
17
  'PreTrade': '',
18
18
  'Trade': '',
19
19
  'PostTrade': '',
20
20
  'SecuritiesRegistry': '',
21
- 'Security': '0x6c09aA54F469052E29bBa80b632fDBc95Ea0a0e8',
21
+ 'Security': '0x59c03C48407641648D673e483d40c8a9A3552DFc',
22
22
  'OrderPool': '',
23
23
  'PoolFactory': '',
24
24
  'Stocks': '',
25
25
  'Bonds': '',
26
- 'Liquidity': '0xE3B74659a6464519987DEe03F17696690BF3Ae10',
27
- 'Distribution': '0x5c3171AFEC854f8B6FD138ee9533629ABd8A5365',
28
- 'BalancerManager': '0x4654FbF60b3e42Df6127451cAaC5CFeD86e2eA53',
29
- 'PrimaryIssuePoolFactory': '0x738731dbA0D01c8d6197d65437cc7B627fA687bD',
30
- 'Custody': '',
26
+ 'Liquidity': '0x06b40A1471d715FD0581854F22166283D89b0302',
27
+ 'Distribution': '0x7aE7fe788D1f14B22a7f6C3707320FbE3A51968b',
28
+ 'BalancerPrimaryIssueManager': '0xc4FC6e44AC4bB67eC08FFF6ce47BB44E9BE038e8',
29
+ 'BalancerSecondaryIssueManager': '0x8099A9C79672BDDD0506364f4B0791A2384a960B',
30
+ 'Custody': '0x8357FB36fFA9dcE78A43Fb33DbFFAAB2738E5B1a',
31
31
  'CASH': {
32
- 'VCUSD': '0x64EA01fF7e9A0986Cd70b4d19CEDB26a9f99F0c1',
33
- 'VCEUR': '0x5f678B12C4a5fc2136CC9060B10BB2a8AFdfA5b6',
34
- 'VCINR': '0x74153fe9E896EC7067CC53c9533BFC00c45CD629'
32
+ 'VCUSD': '0x0817a43DB9b3e562FF70C1aa6e27E109324ca16A',
33
+ 'VCEUR': '0xF0B677058BbBA3066B644034054447412D5EB40d',
34
+ 'VCINR': '0x0D3d2e2Be0902Ebe5fD7E75dD57B127203Fc9e78'
35
35
  },
36
36
  'BOND': {
37
- 'VBUSD': '0x64a281e17b089aB8F0D50729b2C9C779B460e1fC',
38
- 'VBEUR': '0x220C22b1a292504afdA9FC0fE39D83e4bcBb834E',
39
- 'VBINR': '0x3cbaD48599a8EBfF275480E51ee03F9b1F63F0de'
37
+ 'VBUSD': '0xD1fB140A486BFCec3744E4aE2b9B7c84989ae937',
38
+ 'VBEUR': '0xA719C7365F5a20Ef694409B0fF0084127919b019',
39
+ 'VBINR': '0xD8A84301df4138c48Fdb1b6C7c96980983200835'
40
40
  },
41
41
  },
42
42
  'L2-goerli': {
@@ -59,8 +59,9 @@ const contractAddress = {
59
59
  'Security': '0x324dfB528BEea8419eC96C6a54E0DA7744A4f8da',
60
60
  'OrderPool': '0x69C61a08b46fdd75D6f000CCf2b85618AC7011a5',
61
61
  'PoolFactory': '0xEE713f9e7d7D03267534C2628019C16dC1c41ecB',
62
- 'Stocks': '0xA02119054272E52f6b6380c358E995f95Db2E9B2',
63
- 'Bonds': '0xBa0daEBb3D325e6cE3401ff2FF913a5FEe20181D',
62
+ 'Products': '0xFfa36c902BC8Ce8B4A413B90e4BEdC0C01Caa2e6',
63
+ 'Stocks': '0x60bc622E02424ACDD415373B6Dd40870d077faa4',
64
+ 'Bonds': '0xa4C1b21F2B4d121d3159953c8Bda5b248CC35353',
64
65
  'Liquidity': '',
65
66
  'Distribution': '',
66
67
  'BalancerManager': '',
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.AssetManager = 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.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;
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,8 +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 assetmanager_1 = __importDefault(require("./contract/assetmanager"));
63
- exports.AssetManager = assetmanager_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;
64
66
  const cash_2 = __importDefault(require("./contract/public/cash"));
65
67
  exports.VerifiedCash = cash_2.default;
66
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.8.6",
3
+ "version": "0.8.9",
4
4
  "description": "An SDK to develop applications on the Verified Network",
5
5
  "repository": {
6
6
  "type": "git",