@verified-network/verified-sdk 1.0.4 → 1.0.6

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.
@@ -22,13 +22,14 @@ class SecondaryIssueManager extends index_1.VerifiedContract {
22
22
  super(address, JSON.stringify(SecondaryIssueManager_json_1.abi), signer);
23
23
  this.contractAddress = address;
24
24
  }
25
- async issueSecondary(security, currency, securityAmount, minOrderSize, currencyAmount, options) {
25
+ async issueSecondary(security, currency, securityOutstanding, securityAmount, minOrderSize, currencyAmount, options) {
26
26
  await this.validateInput(index_1.DATATYPES.ADDRESS, security);
27
27
  await this.validateInput(index_1.DATATYPES.ADDRESS, currency);
28
+ await this.validateInput(index_1.DATATYPES.NUMBER, securityOutstanding);
28
29
  await this.validateInput(index_1.DATATYPES.NUMBER, securityAmount);
29
30
  await this.validateInput(index_1.DATATYPES.NUMBER, minOrderSize);
30
31
  await this.validateInput(index_1.DATATYPES.NUMBER, currencyAmount);
31
- return this.callContract(FUNCTIONS.ISSUESECONDARY, security, currency, securityAmount, minOrderSize, currencyAmount, options);
32
+ return this.callContract(FUNCTIONS.ISSUESECONDARY, security, currency, securityOutstanding, securityAmount, minOrderSize, currencyAmount, options);
32
33
  }
33
34
  async setIssuingFee(security, currency, swapfee, options) {
34
35
  await this.validateInput(index_1.DATATYPES.ADDRESS, security);
@@ -14,9 +14,9 @@ const contractAddress = {
14
14
  'Vitta': '0x427Eb7D7B60c817DC5cB938c8ffe00aec4d7cbc3',
15
15
  'Liquidity': '0xBD799e6A12e89875c3B04c3d5ad735E543b1b09E',
16
16
  'Distribution': '0x926B263ee343CBA2209e37bBAbE6a6e9F8B30e95',
17
- 'BalancerPrimaryIssueManager': '0xabdf83d04218089102Fa0DA03f8A9Ad88a9A02a3',
18
- 'BalancerSecondaryIssueManager': '0x2966D631455a20E4Fa0858fB005332D1376C8dFD',
19
- 'BalancerMarginIssueManager': '0x68829C3877850Cd73Ec355C2fc040Ae1c17684b5',
17
+ 'BalancerPrimaryIssueManager': '0x9fFA5Da52a0B23b7381Fc24e6C5fBBd675Ec9569',
18
+ 'BalancerSecondaryIssueManager': '0x0eb539895C035dF6a4953A08E1D934AfE2eA43e0',
19
+ 'BalancerMarginIssueManager': '0xfC119FB40C33777885E4456127aB2A7584e5C978',
20
20
  'Custody': '',
21
21
  'CASH': {
22
22
  'VCUSD': '0xa18244Fb7236EE7E0D5382579eE0341FA621B9bB',
@@ -62,20 +62,20 @@ const contractAddress = {
62
62
  },
63
63
  },
64
64
  137: {
65
- 'Client': '0xF6C805B604e58322E342B6dAe8146f5892F4E26a',
65
+ 'Client': '0x1e37Ec2Bff3185f9047b7554dd4032C2CbEDfC7A',
66
66
  'Factory': '',
67
67
  'Cash': '',
68
68
  'Bond': '',
69
69
  'Token': '',
70
70
  'Oracle': '',
71
71
  'Rates': '',
72
- 'Security': '0xc3A4517768fce19D55e3417FACD282746CaB0D5A',
73
- 'SecuritiesFactory': '0x4bE9e52079d302FC99041642acf5ef33779f960b',
74
- 'Vitta': '0x40b8764740149704A09bF7526b82D92E4c0958a9',
75
- 'Liquidity': '0x266d35A820B8e7f1CcAf7f14A24eC2232aE3D010',
76
- 'Distribution': '0xa5D4c6d6Fb8efFb3785F31352be3343E0B7113A3',
77
- 'BalancerPrimaryIssueManager': '0xaeb0135cF07CDdb695dF7f15E8a9D5f7eCCF6076',
78
- 'BalancerSecondaryIssueManager': '0x1E99ae988c872598Bf1874BEf42020Df9796f6dA',
72
+ 'Security': '0x8acBeFF5F1F2e0A4298A6449494C0aA6Dd830d3D',
73
+ 'SecuritiesFactory': '0x1aF6015fBc9E20ad48EEAC363249B8B0b4aAa929',
74
+ 'Vitta': '0xAb26871f689241758F42627d812E2A3eda7c630e',
75
+ 'Liquidity': '0x93581c9DD7dc73a6C3887F4bd0bA74D175aDbD85',
76
+ 'Distribution': '0x2d99a4c42a386408C687A4825D7Ea3ab378994B8',
77
+ 'BalancerPrimaryIssueManager': '0xf1e1641864A1d606AeAe5Ce776927748e76986A3',
78
+ 'BalancerSecondaryIssueManager': '0xAA0489b224097732452007073bBE6B98F8528E5D',
79
79
  'BalancerMarginIssueManager': '',
80
80
  'Custody': '',
81
81
  'CASH': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verified-network/verified-sdk",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "An SDK to develop applications on the Verified Network",
5
5
  "repository": {
6
6
  "type": "git",