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