@verified-network/verified-sdk 1.6.6 → 1.6.7

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.
@@ -31,7 +31,7 @@ export default class MarginIssueManager extends VerifiedContract {
31
31
  gasPrice: any;
32
32
  gasLimit: any;
33
33
  }): any;
34
- onSettle(security: string, currency: string, financing: string, dividend: string, commissions: string, options?: {
34
+ onSettle(security: string, currency: string, financingBid: string, financingOffer: string, dividendBid: string, dividendOffer: string, swapLong: string, swapShort: string, options?: {
35
35
  gasPrice: any;
36
36
  gasLimit: any;
37
37
  }): any;
@@ -94,13 +94,16 @@ class MarginIssueManager extends index_1.VerifiedContract {
94
94
  await this.validateInput(DATATYPES.NUMBER, settlementTime);
95
95
  return this.callContract(FUNCTIONS.ONSETTLE, security, currency, financingPerSec, charge, dividendPerSec, payout, settlementTime, options);
96
96
  }*/
97
- async onSettle(security, currency, financing, dividend, commissions, options) {
97
+ async onSettle(security, currency, financingBid, financingOffer, dividendBid, dividendOffer, swapLong, swapShort, options) {
98
98
  await this.validateInput(index_1.DATATYPES.ADDRESS, security);
99
99
  await this.validateInput(index_1.DATATYPES.ADDRESS, currency);
100
- await this.validateInput(index_1.DATATYPES.NUMBER, financing);
101
- await this.validateInput(index_1.DATATYPES.NUMBER, dividend);
102
- await this.validateInput(index_1.DATATYPES.NUMBER, commissions);
103
- return this.callContract(FUNCTIONS.ONSETTLE, security, currency, financing, dividend, commissions, options);
100
+ await this.validateInput(index_1.DATATYPES.NUMBER, financingBid);
101
+ await this.validateInput(index_1.DATATYPES.NUMBER, financingOffer);
102
+ await this.validateInput(index_1.DATATYPES.NUMBER, dividendBid);
103
+ await this.validateInput(index_1.DATATYPES.NUMBER, dividendOffer);
104
+ await this.validateInput(index_1.DATATYPES.NUMBER, swapLong);
105
+ await this.validateInput(index_1.DATATYPES.NUMBER, swapShort);
106
+ return this.callContract(FUNCTIONS.ONSETTLE, security, currency, financingBid, financingOffer, dividendBid, dividendOffer, swapLong, swapShort, options);
104
107
  }
105
108
  async withdraw(security, currency, amount, options) {
106
109
  await this.validateInput(index_1.DATATYPES.ADDRESS, security);
@@ -327,7 +327,7 @@ const contractAddress = {
327
327
  'SecondaryIssuePoolFactory': '0xde763208aB2279435D0e6AA4297d25164873Fe82',
328
328
  'BalancerSecondaryIssueManager': '0x32464AC66668824E6d1261472F085045354B2CBa',
329
329
  'MarginTradingPoolFactory': '0xB1ae3Fc5B16d3736bf0db20606fB9a10b435392c',
330
- 'BalancerMarginIssueManager': '0x13c9C292d99fD6fA3e68741B574EBD5aCb4772B6',
330
+ 'BalancerMarginIssueManager': '0x53F20058A93364689C70d2CBf4057F507e32e000',
331
331
  'Custody': '0x7aE9f79067AB4FDc8d41B18f1e6491590ac76f9d',
332
332
  'Compound': '',
333
333
  'CASH': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verified-network/verified-sdk",
3
- "version": "1.6.6",
3
+ "version": "1.6.7",
4
4
  "description": "An SDK to develop applications on the Verified Network",
5
5
  "repository": {
6
6
  "type": "git",