@verified-network/verified-sdk 1.8.4 → 1.8.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.
- package/dist/abi/custody/Vault.json +11967 -8113
- package/dist/abi/payments/Bond.json +1040 -1049
- package/dist/abi/payments/Cash.json +11692 -10901
- package/dist/abi/payments/Factory.json +2641 -2744
- package/dist/abi/payments/Rates.json +693 -700
- package/dist/abi/payments/Token.json +1102 -1109
- package/dist/contract/custody/index.d.ts +1 -1
- package/dist/contract/custody/index.js +5 -4
- package/dist/contractAddress/index.js +16 -16
- package/package.json +1 -1
|
@@ -24,7 +24,7 @@ export default class Custody extends VerifiedContract {
|
|
|
24
24
|
gasPrice: number;
|
|
25
25
|
gasLimit: number;
|
|
26
26
|
}): any;
|
|
27
|
-
confirmParticipant(_creator: string, _id: string, _participant: string, _pin: string, options?: {
|
|
27
|
+
confirmParticipant(_creator: string, _id: string, _participant: string, _pin: string, _confirmation: string, options?: {
|
|
28
28
|
gasPrice: number;
|
|
29
29
|
gasLimit: number;
|
|
30
30
|
}): any;
|
|
@@ -60,12 +60,13 @@ class Custody extends index_1.VerifiedContract {
|
|
|
60
60
|
await this.validateInput(index_1.DATATYPES.STRING, _participant);
|
|
61
61
|
return this.callContract(FUNCTIONS.REMOVEPARTICIPANT, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), _id, this.sanitiseInput(index_1.DATATYPES.BYTE32, _participant), options);
|
|
62
62
|
}
|
|
63
|
-
async confirmParticipant(_creator, _id, _participant, _pin, options) {
|
|
63
|
+
async confirmParticipant(_creator, _id, _participant, _pin, _confirmation, options) {
|
|
64
64
|
await this.validateInput(index_1.DATATYPES.STRING, _creator);
|
|
65
65
|
await this.validateInput(index_1.DATATYPES.STRING, _id);
|
|
66
66
|
await this.validateInput(index_1.DATATYPES.STRING, _participant);
|
|
67
|
-
await this.validateInput(index_1.DATATYPES.
|
|
68
|
-
|
|
67
|
+
await this.validateInput(index_1.DATATYPES.STRING, _pin);
|
|
68
|
+
await this.validateInput(index_1.DATATYPES.BOOLEAN, _confirmation);
|
|
69
|
+
return this.callContract(FUNCTIONS.CONFIRMPARTICIPANT, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), _id, this.sanitiseInput(index_1.DATATYPES.BYTE32, _participant), _pin, _confirmation, options);
|
|
69
70
|
}
|
|
70
71
|
async defineQuorum(_creator, _id, _minParticipants, options) {
|
|
71
72
|
await this.validateInput(index_1.DATATYPES.STRING, _creator);
|
|
@@ -83,7 +84,7 @@ class Custody extends index_1.VerifiedContract {
|
|
|
83
84
|
await this.validateInput(index_1.DATATYPES.STRING, _id);
|
|
84
85
|
await this.validateInput(index_1.DATATYPES.STRING, _participant);
|
|
85
86
|
await this.validateInput(index_1.DATATYPES.STRING, _tx);
|
|
86
|
-
await this.validateInput(index_1.DATATYPES.
|
|
87
|
+
await this.validateInput(index_1.DATATYPES.STRING, _pin);
|
|
87
88
|
return this.callContract(FUNCTIONS.SIGNTRANSACTION, this.sanitiseInput(index_1.DATATYPES.BYTE32, _creator), _id, this.sanitiseInput(index_1.DATATYPES.BYTE32, _participant), _tx, _pin, options);
|
|
88
89
|
}
|
|
89
90
|
async checkQuorum(_creator, _id, _participant, _txid, options) {
|
|
@@ -260,7 +260,7 @@ const contractAddress = {
|
|
|
260
260
|
'BalancerSecondaryIssueManager': '',
|
|
261
261
|
'MarginTradingPoolFactory': '',
|
|
262
262
|
'BalancerMarginIssueManager': '',
|
|
263
|
-
'Custody': '
|
|
263
|
+
'Custody': '0xaE539F980dB256AbCCdfC1F30a0F39355B1E1FC8',
|
|
264
264
|
'Compound': '0x146144772fF3fF3124beF9730a4c6F5D15efe931',
|
|
265
265
|
'CASH': {
|
|
266
266
|
'VCUSD': '0x1C751BA898D01789af51A9022b7A6f45836a5d6c',
|
|
@@ -311,12 +311,12 @@ const contractAddress = {
|
|
|
311
311
|
},
|
|
312
312
|
11155111: {
|
|
313
313
|
'Client': '0xeEa4F0C03fAb166Aa20f38A2747469084cB769d0',
|
|
314
|
-
'Factory': '
|
|
315
|
-
'Cash': '
|
|
316
|
-
'Bond': '
|
|
317
|
-
'Token': '
|
|
318
|
-
'Oracle': '
|
|
319
|
-
'Rates': '
|
|
314
|
+
'Factory': '0xbCB4474430E019F661C50F3C53DF0F9fC0d807Af',
|
|
315
|
+
'Cash': '0x4c6cbAAe9ea3a6B3e4C41be783C276D0510c6Fc4',
|
|
316
|
+
'Bond': '0x7008aE1175E9D8027FeDf29bA6A4DDEBdD37bF19',
|
|
317
|
+
'Token': '0x2eD16fAe5637304afC3a9a26909F6f7503de4B68',
|
|
318
|
+
'Oracle': '0xa6fe084c74fF11A3bcD91e9c2115C730c294C0F7',
|
|
319
|
+
'Rates': '0x9E3A77Fa67e0D6d49d5F07D0a3175dbA2300F5fc',
|
|
320
320
|
'Security': '0xBe0ffE30eF6C651E12bfA1de4557C7DB0226E6f6',
|
|
321
321
|
'SecuritiesFactory': '0x3279b50c98F3A78b6FAEacaBcC0e4746a4c69760',
|
|
322
322
|
'Vitta': '0x87145164371Ad7851AD3B4D47C9820F95983d8EA',
|
|
@@ -329,18 +329,18 @@ const contractAddress = {
|
|
|
329
329
|
'MarginTradingPoolFactory': '0xB1ae3Fc5B16d3736bf0db20606fB9a10b435392c',
|
|
330
330
|
'BalancerMarginIssueManager': '0x5592FAE805138ea75c67363eD9609E6529d1Ed9A',
|
|
331
331
|
'Custody': '0x7aE9f79067AB4FDc8d41B18f1e6491590ac76f9d',
|
|
332
|
-
'Compound': '
|
|
332
|
+
'Compound': '0x8c364b06741C9fE045E0e510A39BCbAf7445D8fD',
|
|
333
333
|
'CASH': {
|
|
334
|
-
'VCUSD': '
|
|
335
|
-
'VCEUR': '
|
|
336
|
-
'VCCHF': '
|
|
337
|
-
'VCINR': '
|
|
334
|
+
'VCUSD': '0xC824FCCfe6545c42B609cF6aD6219748A306D83a',
|
|
335
|
+
'VCEUR': '',
|
|
336
|
+
'VCCHF': '',
|
|
337
|
+
'VCINR': ''
|
|
338
338
|
},
|
|
339
339
|
'BOND': {
|
|
340
|
-
'VBUSD': '
|
|
341
|
-
'VBEUR': '
|
|
342
|
-
'VCCHF': '
|
|
343
|
-
'VBINR': '
|
|
340
|
+
'VBUSD': '0x251Fd310CEe3fFdf0B0Eb3eb280CfFbB2Da5bAcc',
|
|
341
|
+
'VBEUR': '',
|
|
342
|
+
'VCCHF': '',
|
|
343
|
+
'VBINR': ''
|
|
344
344
|
},
|
|
345
345
|
},
|
|
346
346
|
'balancerVault': '0xBA12222222228d8Ba445958a75a0704d566BF2C8'
|