aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-07-05 18:06:06 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-07-05 21:58:41 +0800
commit795da130a2650de8d9bd89a4d82b1e5da1206c17 (patch)
treeb9e29037c8743825e62c629f0798ea7c3db8fe61 /packages
parent51a625d4af5c18fad4f3bb5efae81d6817bb7432 (diff)
downloaddexon-0x-contracts-795da130a2650de8d9bd89a4d82b1e5da1206c17.tar
dexon-0x-contracts-795da130a2650de8d9bd89a4d82b1e5da1206c17.tar.gz
dexon-0x-contracts-795da130a2650de8d9bd89a4d82b1e5da1206c17.tar.bz2
dexon-0x-contracts-795da130a2650de8d9bd89a4d82b1e5da1206c17.tar.lz
dexon-0x-contracts-795da130a2650de8d9bd89a4d82b1e5da1206c17.tar.xz
dexon-0x-contracts-795da130a2650de8d9bd89a4d82b1e5da1206c17.tar.zst
dexon-0x-contracts-795da130a2650de8d9bd89a4d82b1e5da1206c17.zip
Rename Proxie to Proxy
Diffstat (limited to 'packages')
-rw-r--r--packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts2
-rw-r--r--packages/contract-wrappers/test/exchange_wrapper_test.ts6
2 files changed, 3 insertions, 5 deletions
diff --git a/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts b/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts
index 9d38e0c98..1a30ef6d2 100644
--- a/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts
+++ b/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts
@@ -42,7 +42,7 @@ export class ExchangeWrapper extends ContractWrapper {
* @param methodOpts Optional arguments this method accepts.
* @return The address of an asset proxy for a given signature
*/
- public async getAssetProxieBySignatureAsync(proxySignature: string, methodOpts: MethodOpts = {}): Promise<string> {
+ public async getAssetProxyBySignatureAsync(proxySignature: string, methodOpts: MethodOpts = {}): Promise<string> {
assert.isHexString('proxySignature', proxySignature);
assert.doesConformToSchema('methodOpts', methodOpts, methodOptsSchema);
const exchangeContract = await this._getExchangeContractAsync();
diff --git a/packages/contract-wrappers/test/exchange_wrapper_test.ts b/packages/contract-wrappers/test/exchange_wrapper_test.ts
index 15927641b..f26bc1d4a 100644
--- a/packages/contract-wrappers/test/exchange_wrapper_test.ts
+++ b/packages/contract-wrappers/test/exchange_wrapper_test.ts
@@ -326,13 +326,11 @@ describe('ExchangeWrapper', () => {
describe('#getAssetProxyBySignatureAsync', () => {
it('should fill or kill a valid order', async () => {
const erc20ProxyId = await contractWrappers.erc20Proxy.getProxyIdAsync();
- const erc20ProxyAddressById = await contractWrappers.exchange.getAssetProxieBySignatureAsync(erc20ProxyId);
+ const erc20ProxyAddressById = await contractWrappers.exchange.getAssetProxyBySignatureAsync(erc20ProxyId);
const erc20ProxyAddress = contractWrappers.erc20Proxy.getContractAddress();
expect(erc20ProxyAddressById).to.be.equal(erc20ProxyAddress);
const erc721ProxyId = await contractWrappers.erc721Proxy.getProxyIdAsync();
- const erc721ProxyAddressById = await contractWrappers.exchange.getAssetProxieBySignatureAsync(
- erc721ProxyId,
- );
+ const erc721ProxyAddressById = await contractWrappers.exchange.getAssetProxyBySignatureAsync(erc721ProxyId);
const erc721ProxyAddress = contractWrappers.erc721Proxy.getContractAddress();
expect(erc721ProxyAddressById).to.be.equal(erc721ProxyAddress);
});