@verified-network/verified-sdk 1.8.5 → 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.
|
@@ -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',
|
|
@@ -329,7 +329,7 @@ const contractAddress = {
|
|
|
329
329
|
'MarginTradingPoolFactory': '0xB1ae3Fc5B16d3736bf0db20606fB9a10b435392c',
|
|
330
330
|
'BalancerMarginIssueManager': '0x5592FAE805138ea75c67363eD9609E6529d1Ed9A',
|
|
331
331
|
'Custody': '0x7aE9f79067AB4FDc8d41B18f1e6491590ac76f9d',
|
|
332
|
-
'Compound': '
|
|
332
|
+
'Compound': '0x8c364b06741C9fE045E0e510A39BCbAf7445D8fD',
|
|
333
333
|
'CASH': {
|
|
334
334
|
'VCUSD': '0xC824FCCfe6545c42B609cF6aD6219748A306D83a',
|
|
335
335
|
'VCEUR': '',
|