diff options
Diffstat (limited to 'packages/types/src/index.ts')
-rw-r--r-- | packages/types/src/index.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 71fcbf9db..472b56dc2 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -185,6 +185,8 @@ export interface MultiAssetDataWithRecursiveDecoding { nestedAssetData: SingleAssetData[]; } +export type AssetData = SingleAssetData | MultiAssetData | MultiAssetDataWithRecursiveDecoding; + // TODO: DRY. These should be extracted from contract code. export enum RevertReason { OrderUnfillable = 'ORDER_UNFILLABLE', |