@verified-network/verified-sdk 2.5.9 → 2.6.1

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.
@@ -23,13 +23,13 @@ export default class Client extends VerifiedContract {
23
23
  * @params (address _submanager, bytes32 _country, bytes32 _role)
24
24
  * @returns
25
25
  */
26
- removeRole(_manager: string, _submanager: string, _country: string, _role: string, _hashedMessage: string, _v: string, _r: string, _s: string, options?: Options): any;
26
+ removeRole(_manager: string, _submanager: string, _country: string, _role: string, options?: Options): any;
27
27
  /**
28
28
  * Create role for sub-manager [callable only by manager
29
29
  * @params (address _submanager, bytes32 _country, bytes32 _role)
30
30
  * @returns
31
31
  */
32
- addRole(_manager: string, _submanager: string, _country: string, _role: string, _id: string, _hashedMessage: string, _v: string, _r: string, _s: string, options?: Options): any;
32
+ addRole(_manager: string, _submanager: string, _country: string, _role: string, _id: string, options?: Options): any;
33
33
  KycUpdate(client: string, name: string, surname: string, country: string, contact: string, status: string, options?: Options): any;
34
34
  fullKycUpdate(client: string, identity: string, videokyc: string, docs: string, options?: Options): any;
35
35
  getClientKYC(_client: string, options?: Options): any;
@@ -53,25 +53,25 @@ class Client extends index_1.VerifiedContract {
53
53
  * @params (address _submanager, bytes32 _country, bytes32 _role)
54
54
  * @returns
55
55
  */
56
- async removeRole(_manager, _submanager, _country, _role, _hashedMessage, _v, _r, _s, options) {
56
+ async removeRole(_manager, _submanager, _country, _role, options) {
57
57
  await this.validateInput(index_1.DATATYPES.ADDRESS, _manager);
58
58
  await this.validateInput(index_1.DATATYPES.ADDRESS, _submanager);
59
59
  await this.validateInput(index_1.DATATYPES.STRING, _country);
60
60
  await this.validateInput(index_1.DATATYPES.STRING, _role);
61
- return this.callContract(FUNCTIONS.REMOVEROLE, _manager, _submanager, this.sanitiseInput(index_1.DATATYPES.BYTE32, _country), this.sanitiseInput(index_1.DATATYPES.BYTE32, _role), _hashedMessage, _v, _r, _s, options);
61
+ return this.callContract(FUNCTIONS.REMOVEROLE, _manager, _submanager, this.sanitiseInput(index_1.DATATYPES.BYTE32, _country), this.sanitiseInput(index_1.DATATYPES.BYTE32, _role), options);
62
62
  }
63
63
  /**
64
64
  * Create role for sub-manager [callable only by manager
65
65
  * @params (address _submanager, bytes32 _country, bytes32 _role)
66
66
  * @returns
67
67
  */
68
- async addRole(_manager, _submanager, _country, _role, _id, _hashedMessage, _v, _r, _s, options) {
68
+ async addRole(_manager, _submanager, _country, _role, _id, options) {
69
69
  await this.validateInput(index_1.DATATYPES.ADDRESS, _manager);
70
70
  await this.validateInput(index_1.DATATYPES.ADDRESS, _submanager);
71
71
  await this.validateInput(index_1.DATATYPES.STRING, _country);
72
72
  await this.validateInput(index_1.DATATYPES.STRING, _role);
73
73
  await this.validateInput(index_1.DATATYPES.STRING, _id);
74
- 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);
74
+ 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), options);
75
75
  }
76
76
  async KycUpdate(client, name, surname, country, contact, status, options) {
77
77
  await this.validateInput(index_1.DATATYPES.ADDRESS, client);
@@ -310,37 +310,37 @@ const contractAddress = {
310
310
  },
311
311
  },
312
312
  11155111: {
313
- Client: "",
314
- Factory: "0xB5A60E07f0ea5F02DaABf863dd0A1ed7De09100E",
315
- Cash: "0x139C32Af13B2a9533103C8b3Ddc95F022edaA1BB",
316
- Bond: "0x769Eb4eDC782C9259438ba0cE47109664A8D4146",
317
- Token: "0x3d89Aab04bb8Dd4d0Dc6C0c823d88B0fc5FfC4FB",
318
- Oracle: "0x08179194052cc92FD954d1978959c534DcadB945",
319
- Rates: "0x17c978cFa9eb5ADa2EeBDd309106caA2c529F7aC",
320
- Security: "",
321
- SecuritiesFactory: "",
313
+ Client: "0x20346E44d8600Ad5e2cad81E9c2c559B0C6511c9",
314
+ Factory: "0x01245b4498753D18684c6016949314b36c5Ad1d7",
315
+ Cash: "0x558D45c2c8C56fef7b27740c8cDE82661e03595E",
316
+ Bond: "0x9b3f6C5CfC67f3365Cd7f4A909ece62447e41A90",
317
+ Token: "0x5556040714852f76148fD692811924bAe968276d",
318
+ Oracle: "0xA55181A96F055dB101cE04a8E1b55c955B5e87FE",
319
+ Rates: "0xfF01062082866238b89851D4aBf4Db982227C60b",
320
+ Security: "0x8C5026eF10861adBdbBbc540401dE4D453769fCE",
321
+ SecuritiesFactory: "0xA6220cDbE81a8BA3BF4eb8b2648A7557cD2b2Ff4",
322
322
  Vitta: "0x39b4B94eE7FC9571723DaCbA14531EAC5Fd6E024",
323
323
  Liquidity: "0xDFCaBCDD54e8E17f93261868DD24a2829148FF90",
324
- Distribution: "0x5348C5565a0Af25732512F409623418057a8b84A",
324
+ Distribution: "0x9b164eD1dF8Ca8eC5b7753eA945347e0871E53Af",
325
325
  PrimaryIssuePoolFactory: "0xDA13BC71FEe08FfD523f10458B0e2c2D8427BBD5",
326
- BalancerPrimaryIssueManager: "",
326
+ BalancerPrimaryIssueManager: "0x2059B03099388051fcfB573BeC63da1fF822FBA2",
327
327
  SecondaryIssuePoolFactory: "0x4519148Cc4030c2e3573f1f886ed4071Fa35d62B",
328
- BalancerSecondaryIssueManager: "",
328
+ BalancerSecondaryIssueManager: "0xBA8c21a1E239784F6187ebCadD1Ea3613D53F059",
329
329
  MarginTradingPoolFactory: "0xB1ae3Fc5B16d3736bf0db20606fB9a10b435392c",
330
- BalancerMarginIssueManager: "",
330
+ BalancerMarginIssueManager: "0x8D806166E3F95F9dB783A493C8d53403753FE4E9",
331
331
  Custody: "0x594DC49A7C2B4b0f279247239cb6F1d943a99e7F",
332
332
  Compound: "",
333
333
  CASH: {
334
- VCUSD: "0x3d4b0fb6a0c6Fb098D17988b2944d97491Dcd0c0",
335
- VCEUR: "0x064e46cd30471bC963981A5E23F84FF186bAcf1A",
336
- VCGBP: "0x6fe4A4d1089CEff2b108A29489F83954493961E2",
337
- VCJPY: "0x3160a8E915B01167e21843b1C587Be318224E5ad",
334
+ VCUSD: "0xEf6F730511eC63aA10781b37bfe8eC2013868D35",
335
+ VCEUR: "0x3050B6BD7693717ADF04710AA5D499bbb168180C",
336
+ VCGBP: "0xd14503F05f91B5bbeBA2566832da6D237539E0DE",
337
+ VCJPY: "0xC498b2d05dD0889F5420F6316a77f90Af80Dc164",
338
338
  },
339
339
  BOND: {
340
- VBUSD: "0xE9768314CAc622661299E9bB1c042a3cD487DbB9",
341
- VBEUR: "0xEf808EE00033bf954ca210d618DEa964Ce891dF1",
342
- VBGBP: "0x35F35D5Fa9B4dd310fFC0d5FB4a59bE6D00c9A32",
343
- VBJPY: "0x89FB002d3E96B6c1495Fb442b845d31aCdcfD834",
340
+ VBUSD: "0x1a64400Bd3D64CEB4764EA380c27907846FAEF6a",
341
+ VBEUR: "0x9E1f9f38AE834731Cb5dBabB553a2EFD84B8275f",
342
+ VBGBP: "0xFc4B3992007C63343267544fBb43b818694d4f05",
343
+ VBJPY: "0x2ccce52EF684c7d3112fE40ec01Aa1BB17E4E963",
344
344
  },
345
345
  },
346
346
  balancerVault: "0xBA12222222228d8Ba445958a75a0704d566BF2C8",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verified-network/verified-sdk",
3
- "version": "2.5.9",
3
+ "version": "2.6.1",
4
4
  "description": "An SDK to develop applications on the Verified Network",
5
5
  "repository": {
6
6
  "type": "git",