diff options
-rw-r--r-- | packages/types/src/index.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 4375fc631..486f71a3a 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -165,6 +165,7 @@ export interface ERC721AssetData { tokenId: BigNumber; } +// TODO: DRY. These should be extracted from contract code. export enum RevertReason { OrderUnfillable = 'ORDER_UNFILLABLE', InvalidMaker = 'INVALID_MAKER', @@ -176,6 +177,10 @@ export enum RevertReason { InvalidSignature = 'INVALID_SIGNATURE', SignatureIllegal = 'SIGNATURE_ILLEGAL', SignatureUnsupported = 'SIGNATURE_UNSUPPORTED', + InvalidOrderSignature = 'INVALID_ORDER_SIGNATURE', + TakerOverpay = 'TAKER_OVERPAY', + OrderOverfill = 'ORDER_OVERFILL', + InvalidFillPrice = 'INVALID_FILL_PRICE', InvalidNewOrderEpoch = 'INVALID_NEW_ORDER_EPOCH', CompleteFillFailed = 'COMPLETE_FILL_FAILED', NegativeSpreadRequired = 'NEGATIVE_SPREAD_REQUIRED', |