@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.
- package/dist/abi/assetmanager/balancer/MarginIssueManager.json +6 -73986
- package/dist/abi/assetmanager/balancer/PrimaryIssueManager.json +6 -79026
- package/dist/abi/assetmanager/balancer/SecondaryIssueManager.json +6 -45448
- package/dist/abi/securities/Client.json +51 -41359
- package/dist/abi/securities/SecuritiesFactory.json +14 -19507
- package/dist/abi/securities/Security.json +1 -39096
- package/dist/contract/client/index.d.ts +2 -2
- package/dist/contract/client/index.js +4 -4
- package/dist/contractAddress/index.js +21 -21
- package/package.json +1 -1
|
@@ -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,
|
|
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,
|
|
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,
|
|
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),
|
|
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,
|
|
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),
|
|
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: "
|
|
315
|
-
Cash: "
|
|
316
|
-
Bond: "
|
|
317
|
-
Token: "
|
|
318
|
-
Oracle: "
|
|
319
|
-
Rates: "
|
|
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: "
|
|
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: "
|
|
335
|
-
VCEUR: "
|
|
336
|
-
VCGBP: "
|
|
337
|
-
VCJPY: "
|
|
334
|
+
VCUSD: "0xEf6F730511eC63aA10781b37bfe8eC2013868D35",
|
|
335
|
+
VCEUR: "0x3050B6BD7693717ADF04710AA5D499bbb168180C",
|
|
336
|
+
VCGBP: "0xd14503F05f91B5bbeBA2566832da6D237539E0DE",
|
|
337
|
+
VCJPY: "0xC498b2d05dD0889F5420F6316a77f90Af80Dc164",
|
|
338
338
|
},
|
|
339
339
|
BOND: {
|
|
340
|
-
VBUSD: "
|
|
341
|
-
VBEUR: "
|
|
342
|
-
VBGBP: "
|
|
343
|
-
VBJPY: "
|
|
340
|
+
VBUSD: "0x1a64400Bd3D64CEB4764EA380c27907846FAEF6a",
|
|
341
|
+
VBEUR: "0x9E1f9f38AE834731Cb5dBabB553a2EFD84B8275f",
|
|
342
|
+
VBGBP: "0xFc4B3992007C63343267544fBb43b818694d4f05",
|
|
343
|
+
VBJPY: "0x2ccce52EF684c7d3112fE40ec01Aa1BB17E4E963",
|
|
344
344
|
},
|
|
345
345
|
},
|
|
346
346
|
balancerVault: "0xBA12222222228d8Ba445958a75a0704d566BF2C8",
|