diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-11-28 08:33:51 +0800 |
---|---|---|
committer | Greg Hysen <greg.hysen@gmail.com> | 2018-11-29 08:38:11 +0800 |
commit | 14c094d050e7b2d0a4b31d02dbe58a54153be7bb (patch) | |
tree | 363d74ffde6ad86e981b18be4569d97f234deeb9 /packages/utils/src/abi_encoder/evm_data_types/int.ts | |
parent | f196dc9e35d12aad281142371af4d2c32db1fd60 (diff) | |
download | dexon-0x-contracts-14c094d050e7b2d0a4b31d02dbe58a54153be7bb.tar dexon-0x-contracts-14c094d050e7b2d0a4b31d02dbe58a54153be7bb.tar.gz dexon-0x-contracts-14c094d050e7b2d0a4b31d02dbe58a54153be7bb.tar.bz2 dexon-0x-contracts-14c094d050e7b2d0a4b31d02dbe58a54153be7bb.tar.lz dexon-0x-contracts-14c094d050e7b2d0a4b31d02dbe58a54153be7bb.tar.xz dexon-0x-contracts-14c094d050e7b2d0a4b31d02dbe58a54153be7bb.tar.zst dexon-0x-contracts-14c094d050e7b2d0a4b31d02dbe58a54153be7bb.zip |
Use SolidityTypes from `ethereum-types` package.
Diffstat (limited to 'packages/utils/src/abi_encoder/evm_data_types/int.ts')
-rw-r--r-- | packages/utils/src/abi_encoder/evm_data_types/int.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/utils/src/abi_encoder/evm_data_types/int.ts b/packages/utils/src/abi_encoder/evm_data_types/int.ts index 9d328bba9..3e465fc15 100644 --- a/packages/utils/src/abi_encoder/evm_data_types/int.ts +++ b/packages/utils/src/abi_encoder/evm_data_types/int.ts @@ -1,4 +1,4 @@ -import { DataItem } from 'ethereum-types'; +import { DataItem, SolidityTypes } from 'ethereum-types'; import * as _ from 'lodash'; import { BigNumber } from '../../configured_bignumber'; @@ -53,6 +53,6 @@ export class Int extends AbstractDataTypes.Blob { } public getSignature(): string { - return `int${this._width}`; + return `${SolidityTypes.Int}${this._width}`; } } |