diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-30 04:11:22 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-30 04:11:22 +0800 |
commit | fd242a1e0620fdff535934e241720bbe42b276dd (patch) | |
tree | 0093f1ddd8e6b435b90551fe5d806030c95b1f31 /src | |
parent | 83eeeb85b2add3648bb27f811d8e762467652836 (diff) | |
download | dexon-0x-contracts-fd242a1e0620fdff535934e241720bbe42b276dd.tar dexon-0x-contracts-fd242a1e0620fdff535934e241720bbe42b276dd.tar.gz dexon-0x-contracts-fd242a1e0620fdff535934e241720bbe42b276dd.tar.bz2 dexon-0x-contracts-fd242a1e0620fdff535934e241720bbe42b276dd.tar.lz dexon-0x-contracts-fd242a1e0620fdff535934e241720bbe42b276dd.tar.xz dexon-0x-contracts-fd242a1e0620fdff535934e241720bbe42b276dd.tar.zst dexon-0x-contracts-fd242a1e0620fdff535934e241720bbe42b276dd.zip |
Fix a typo in authorized
Diffstat (limited to 'src')
-rw-r--r-- | src/contract_wrappers/proxy_wrapper.ts | 2 | ||||
-rw-r--r-- | src/types.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/contract_wrappers/proxy_wrapper.ts b/src/contract_wrappers/proxy_wrapper.ts index 18c6fdd23..da4f55320 100644 --- a/src/contract_wrappers/proxy_wrapper.ts +++ b/src/contract_wrappers/proxy_wrapper.ts @@ -22,7 +22,7 @@ export class ProxyWrapper extends ContractWrapper { */ public async isAuthorizedAsync(exchangeContractAddress: string): Promise<boolean> { const proxyContractInstance = await this._getTokenRegistryContractAsync(); - const isAuthorized = await proxyContractInstance.authrized.call(exchangeContractAddress); + const isAuthorized = await proxyContractInstance.authorized.call(exchangeContractAddress); return isAuthorized; } private async _getTokenRegistryContractAsync(): Promise<ProxyContract> { diff --git a/src/types.ts b/src/types.ts index f37cb73f0..2af778677 100644 --- a/src/types.ts +++ b/src/types.ts @@ -149,7 +149,7 @@ export interface EtherTokenContract extends ContractInstance { } export interface ProxyContract extends ContractInstance { - authrized: { + authorized: { call: (address: string) => Promise<boolean>; }; } |