aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/contract_wrappers/proxy_wrapper.ts2
-rw-r--r--src/types.ts2
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>;
};
}