diff options
Diffstat (limited to 'packages/utils/src')
11 files changed, 10 insertions, 11 deletions
diff --git a/packages/utils/src/abi_encoder/calldata/calldata.ts b/packages/utils/src/abi_encoder/calldata/calldata.ts index 5ac4c1fe7..1abf1b681 100644 --- a/packages/utils/src/abi_encoder/calldata/calldata.ts +++ b/packages/utils/src/abi_encoder/calldata/calldata.ts @@ -1,4 +1,3 @@ - import * as ethUtil from 'ethereumjs-util'; import * as _ from 'lodash'; diff --git a/packages/utils/src/abi_encoder/calldata/calldata_blocks.ts b/packages/utils/src/abi_encoder/calldata/calldata_blocks.ts index 37660ef21..8d4e7d7ca 100644 --- a/packages/utils/src/abi_encoder/calldata/calldata_blocks.ts +++ b/packages/utils/src/abi_encoder/calldata/calldata_blocks.ts @@ -1,3 +1,3 @@ export * from './dependent_calldata_block'; export * from './member_calldata_block'; -export * from './payload_calldata_block';
\ No newline at end of file +export * from './payload_calldata_block'; diff --git a/packages/utils/src/abi_encoder/calldata/dependent_calldata_block.ts b/packages/utils/src/abi_encoder/calldata/dependent_calldata_block.ts index d6870ec0b..4aec5eabc 100644 --- a/packages/utils/src/abi_encoder/calldata/dependent_calldata_block.ts +++ b/packages/utils/src/abi_encoder/calldata/dependent_calldata_block.ts @@ -56,4 +56,4 @@ export class DependentCalldataBlock extends CalldataBlock { const rawData = Buffer.concat(rawDataComponents); return rawData; } -}
\ No newline at end of file +} diff --git a/packages/utils/src/abi_encoder/calldata/index.ts b/packages/utils/src/abi_encoder/calldata/index.ts index 0e1f57a2d..2c786cd8d 100644 --- a/packages/utils/src/abi_encoder/calldata/index.ts +++ b/packages/utils/src/abi_encoder/calldata/index.ts @@ -3,4 +3,4 @@ export * from './dependent_calldata_block'; export * from './payload_calldata_block'; export * from './member_calldata_block'; export * from './calldata'; -export * from './raw_calldata';
\ No newline at end of file +export * from './raw_calldata'; diff --git a/packages/utils/src/abi_encoder/calldata/member_calldata_block.ts b/packages/utils/src/abi_encoder/calldata/member_calldata_block.ts index e9bcb2f34..c35beb8de 100644 --- a/packages/utils/src/abi_encoder/calldata/member_calldata_block.ts +++ b/packages/utils/src/abi_encoder/calldata/member_calldata_block.ts @@ -45,4 +45,4 @@ export class MemberCalldataBlock extends CalldataBlock { public getMembers(): CalldataBlock[] { return this._members; } -}
\ No newline at end of file +} diff --git a/packages/utils/src/abi_encoder/calldata/payload_calldata_block.ts b/packages/utils/src/abi_encoder/calldata/payload_calldata_block.ts index 81a88bc19..0420b01d8 100644 --- a/packages/utils/src/abi_encoder/calldata/payload_calldata_block.ts +++ b/packages/utils/src/abi_encoder/calldata/payload_calldata_block.ts @@ -17,4 +17,4 @@ export class PayloadCalldataBlock extends CalldataBlock { public getRawData(): Buffer { return this._payload; } -}
\ No newline at end of file +} diff --git a/packages/utils/src/abi_encoder/calldata/raw_calldata.ts b/packages/utils/src/abi_encoder/calldata/raw_calldata.ts index 8b946ee4b..b7bd35737 100644 --- a/packages/utils/src/abi_encoder/calldata/raw_calldata.ts +++ b/packages/utils/src/abi_encoder/calldata/raw_calldata.ts @@ -79,4 +79,4 @@ export class RawCalldata { public getSelector(): string { return this._selector; } -}
\ No newline at end of file +} diff --git a/packages/utils/src/abi_encoder/evm_data_type_factory.ts b/packages/utils/src/abi_encoder/evm_data_type_factory.ts index 0f8dfb4a3..a3e1d404e 100644 --- a/packages/utils/src/abi_encoder/evm_data_type_factory.ts +++ b/packages/utils/src/abi_encoder/evm_data_type_factory.ts @@ -120,5 +120,5 @@ export class EvmDataTypeFactory implements DataTypeFactory { return pointer; } - private constructor() { } + private constructor() {} } diff --git a/packages/utils/src/abi_encoder/evm_data_types/address.ts b/packages/utils/src/abi_encoder/evm_data_types/address.ts index 4bd992cab..3e2c9e78c 100644 --- a/packages/utils/src/abi_encoder/evm_data_types/address.ts +++ b/packages/utils/src/abi_encoder/evm_data_types/address.ts @@ -13,7 +13,7 @@ export class Address extends PayloadDataType { private static readonly _SIZE_KNOWN_AT_COMPILE_TIME: boolean = true; private static readonly _ADDRESS_SIZE_IN_BYTES = 20; private static readonly _DECODED_ADDRESS_OFFSET_IN_BYTES = Constants.EVM_WORD_WIDTH_IN_BYTES - - Address._ADDRESS_SIZE_IN_BYTES; + Address._ADDRESS_SIZE_IN_BYTES; public static matchType(type: string): boolean { return type === 'address'; diff --git a/packages/utils/src/abi_encoder/utils/queue.ts b/packages/utils/src/abi_encoder/utils/queue.ts index 2e27afd45..3309d8ba2 100644 --- a/packages/utils/src/abi_encoder/utils/queue.ts +++ b/packages/utils/src/abi_encoder/utils/queue.ts @@ -36,4 +36,4 @@ export class Queue<T> { public peek(): T | undefined { return this._store.length >= 0 ? this._store[0] : undefined; } -}
\ No newline at end of file +} diff --git a/packages/utils/src/abi_encoder/utils/rules.ts b/packages/utils/src/abi_encoder/utils/rules.ts index cf97ef6da..31471e97a 100644 --- a/packages/utils/src/abi_encoder/utils/rules.ts +++ b/packages/utils/src/abi_encoder/utils/rules.ts @@ -5,4 +5,4 @@ export interface DecodingRules { export interface EncodingRules { optimize?: boolean; annotate?: boolean; -}
\ No newline at end of file +} |