Decode Function Results

August 12, 2022 ยท View on GitHub

Use this file to decode validation results from SeaportValidator. The return value from most SeaportValidator functions is a ErrorsAndWarnings struct which contains two uint16 arrays. First is the errors and second is the warnings. See below for the value of codes.

Issue Codes

CodeIssue
100Invalid order format. Ensure offer/consideration follow requirements
200ERC20 identifier must be zero
201ERC20 invalid token
202ERC20 insufficient allowance to conduit
203ERC20 insufficient balance
300ERC721 amount must be one
301ERC721 token is invalid
302ERC721 token with identifier does not exist
303ERC721 not owner of token
304ERC721 conduit not approved
305ERC721 offer item using criteria and more than amount of one requires partial fills.
400ERC1155 invalid token
401ERC1155 conduit not approved
402ERC1155 insufficient balance
500Consideration amount must not be zero
501Consideration recipient must not be null address
502Consideration contains extra items
503Private sale can not be to self
504Zero consideration items
505Duplicate consideration items
506Private Sale Order. Be careful on fulfillment
507Amount velocity is too high. Amount changes over 5% per 30 min if warning and over 50% per 30 min if error
508Amount step large. The steps between each step may be more than expected. Offer items are rounded down and consideration items are rounded up.
600Zero offer items
601Offer amount must not be zero
602More than one offer item
603Native offer item
604Duplicate offer item
605Amount velocity is too high. Amount changes over 5% per 30 min if warning and over 50% per 30 min if error
606Amount step large. The steps between each step may be more than expected. Offer items are rounded down and consideration items are rounded up.
700Primary fee missing
701Primary fee item type incorrect
702Primary fee token incorrect
703Primary fee start amount too low
704Primary fee end amount too low
705Primary fee recipient incorrect
800Order cancelled
801Order fully filled
900End time is before start time
901Order expired
902Order expiration in too long (default 26 weeks)
903Order not active
904Short order duration (default 30 min)
1000Conduit key invalid
1100Signature invalid
1101Signature counter below current counter
1102Signature counter more than two greater than current counter
1103Signature may be invalid since totalOriginalConsiderationItems is not set correctly
1200Creator fee missing
1201Creator fee item type incorrect
1202Creator fee token incorrect
1203Creator fee start amount too low
1204Creator fee end amount too low
1205Creator fee recipient incorrect
1300Native token address must be null address
1301Native token identifier must be zero
1302Native token insufficient balance
1400Zone rejected order. This order must be fulfilled by the zone.
1401Zone not set. Order unfulfillable
1500Merkle input only has one leaf
1501Merkle input not sorted correctly