@verified-network/verified-sdk 0.1.8 → 0.1.9
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.
|
@@ -33,11 +33,11 @@ class ClientContract extends index_1.VerifiedContract {
|
|
|
33
33
|
initialize(_address) {
|
|
34
34
|
return this.callContract(FUNCTIONS.INITIALIZE, params);
|
|
35
35
|
}
|
|
36
|
-
setCustody(address, custody, options) {
|
|
36
|
+
async setCustody(address, custody, options) {
|
|
37
37
|
await this.validateInput(index_1.DATATYPES.ADDRESS, address);
|
|
38
38
|
return this.callContract(FUNCTIONS.SETCUSTODY, address, this.sanitiseInput(index_1.DATATYPES.BYTE32, custody), options);
|
|
39
39
|
}
|
|
40
|
-
getCustody(address, options) {
|
|
40
|
+
async getCustody(address, options) {
|
|
41
41
|
await this.validateInput(index_1.DATATYPES.ADDRESS, address);
|
|
42
42
|
return this.callContract(FUNCTIONS.GETCUSTODY, address, options);
|
|
43
43
|
}
|