@cowprotocol/cow-sdk 5.10.0-RC.2 → 5.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { utils, providers, BigNumber } from 'ethers';
2
2
  import { SupportedChainId } from '../common';
3
- import { BlockInfo, ConditionalOrderParams } from './types';
3
+ import { BlockInfo, ConditionalOrderParams, IsValid, IsValidResult } from './types';
4
4
  import { Order } from '@cowprotocol/contracts';
5
5
  import { GPv2Order } from '../common/generated/ComposableCoW';
6
6
  export declare const CONDITIONAL_ORDER_PARAMS_ABI: string[];
@@ -34,3 +34,4 @@ export declare function isValidAbi(types: readonly (string | utils.ParamType)[],
34
34
  export declare function getBlockInfo(provider: providers.Provider): Promise<BlockInfo>;
35
35
  export declare function formatEpoch(epoch: number): string;
36
36
  export declare function fromStructToOrder(order: GPv2Order.DataStruct): Order;
37
+ export declare function getIsValidResult(result: IsValidResult): result is IsValid;