Fix linting errors
This commit is contained in:
parent
ccdb81ac40
commit
a91bc415ed
@ -154,6 +154,7 @@ export const assetDataUtils = {
|
|||||||
return {
|
return {
|
||||||
assetProxyId: decodedAssetData.assetProxyId,
|
assetProxyId: decodedAssetData.assetProxyId,
|
||||||
amounts: flattenedAmounts,
|
amounts: flattenedAmounts,
|
||||||
|
// tslint:disable-next-line:no-unnecessary-type-assertion
|
||||||
nestedAssetData: flattenedDecodedNestedAssetData as SingleAssetData[],
|
nestedAssetData: flattenedDecodedNestedAssetData as SingleAssetData[],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
@ -41,6 +41,7 @@ export {
|
|||||||
MultiAssetDataWithRecursiveDecoding,
|
MultiAssetDataWithRecursiveDecoding,
|
||||||
AssetProxyId,
|
AssetProxyId,
|
||||||
SignatureType,
|
SignatureType,
|
||||||
|
ObjectMap,
|
||||||
OrderStateValid,
|
OrderStateValid,
|
||||||
OrderStateInvalid,
|
OrderStateInvalid,
|
||||||
ExchangeContractErrs,
|
ExchangeContractErrs,
|
||||||
|
@ -27,6 +27,7 @@ const KNOWN_MULTI_ASSET_ENCODING = {
|
|||||||
'0x94cfcdd7000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000024f47261b00000000000000000000000001dc4c1cefef38a777b15aa20260a54e584b16c48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044025717920000000000000000000000001dc4c1cefef38a777b15aa20260a54e584b16c48000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000',
|
'0x94cfcdd7000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000024f47261b00000000000000000000000001dc4c1cefef38a777b15aa20260a54e584b16c48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044025717920000000000000000000000001dc4c1cefef38a777b15aa20260a54e584b16c48000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// tslint:disable:no-unnecessary-type-assertion
|
||||||
describe('assetDataUtils', () => {
|
describe('assetDataUtils', () => {
|
||||||
it('should encode ERC20', () => {
|
it('should encode ERC20', () => {
|
||||||
const assetData = assetDataUtils.encodeERC20AssetData(KNOWN_ERC20_ENCODING.address);
|
const assetData = assetDataUtils.encodeERC20AssetData(KNOWN_ERC20_ENCODING.address);
|
||||||
|
@ -7,6 +7,7 @@ export {
|
|||||||
OrderStateInvalid,
|
OrderStateInvalid,
|
||||||
OrderState,
|
OrderState,
|
||||||
ExchangeContractErrs,
|
ExchangeContractErrs,
|
||||||
|
ObjectMap,
|
||||||
OrderRelevantState,
|
OrderRelevantState,
|
||||||
Stats,
|
Stats,
|
||||||
} from '@0x/types';
|
} from '@0x/types';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user