aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/utils
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-06-22 07:25:42 +0800
committerRemco Bloemen <remco@wicked.ventures>2018-06-23 19:53:39 +0800
commit8ddcb6c841fd97bca2cddffd49a5b773cf53635f (patch)
treefa20464707926d0615b0620d3d7d302281d58f54 /packages/contracts/src/utils
parent1681361aedb2c7c4d97f8b74890ee2f86d96df45 (diff)
downloaddexon-sol-tools-8ddcb6c841fd97bca2cddffd49a5b773cf53635f.tar
dexon-sol-tools-8ddcb6c841fd97bca2cddffd49a5b773cf53635f.tar.gz
dexon-sol-tools-8ddcb6c841fd97bca2cddffd49a5b773cf53635f.tar.bz2
dexon-sol-tools-8ddcb6c841fd97bca2cddffd49a5b773cf53635f.tar.lz
dexon-sol-tools-8ddcb6c841fd97bca2cddffd49a5b773cf53635f.tar.xz
dexon-sol-tools-8ddcb6c841fd97bca2cddffd49a5b773cf53635f.tar.zst
dexon-sol-tools-8ddcb6c841fd97bca2cddffd49a5b773cf53635f.zip
Update and add tests
Diffstat (limited to 'packages/contracts/src/utils')
-rw-r--r--packages/contracts/src/utils/multi_sig_wrapper.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/contracts/src/utils/multi_sig_wrapper.ts b/packages/contracts/src/utils/multi_sig_wrapper.ts
index f0098bd5e..b0d4fa8ab 100644
--- a/packages/contracts/src/utils/multi_sig_wrapper.ts
+++ b/packages/contracts/src/utils/multi_sig_wrapper.ts
@@ -40,13 +40,15 @@ export class MultiSigWrapper {
const tx = await this._logDecoder.getTxWithDecodedLogsAsync(txHash);
return tx;
}
- public async executeRemoveAuthorizedAddressAsync(
+ public async executeRemoveAuthorizedAddressAtIndexAsync(
txId: BigNumber,
from: string,
): Promise<TransactionReceiptWithDecodedLogs> {
// tslint:disable-next-line:no-unnecessary-type-assertion
const txHash = await (this
- ._multiSig as AssetProxyOwnerContract).executeRemoveAuthorizedAddress.sendTransactionAsync(txId, { from });
+ ._multiSig as AssetProxyOwnerContract).executeRemoveAuthorizedAddressAtIndex.sendTransactionAsync(txId, {
+ from,
+ });
const tx = await this._logDecoder.getTxWithDecodedLogsAsync(txHash);
return tx;
}