aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-08-13 08:32:57 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-08-17 08:31:21 +0800
commit61ba012b1fa396093842a9dd4f6cdc9e373b4213 (patch)
treefa0bc360dd8f34399c3a7a69ab7487880fa30fa2 /packages
parentaeb9ffbf5a09f52d8b2c5b75cdd18f541739b1ea (diff)
downloaddexon-0x-contracts-61ba012b1fa396093842a9dd4f6cdc9e373b4213.tar.gz
dexon-0x-contracts-61ba012b1fa396093842a9dd4f6cdc9e373b4213.tar.zst
dexon-0x-contracts-61ba012b1fa396093842a9dd4f6cdc9e373b4213.zip
Add ERC721 revert reasons to types
Diffstat (limited to 'packages')
-rw-r--r--packages/types/src/index.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts
index 04480d093..f080fba21 100644
--- a/packages/types/src/index.ts
+++ b/packages/types/src/index.ts
@@ -224,6 +224,11 @@ export enum RevertReason {
InvalidMsgValue = 'INVALID_MSG_VALUE',
InsufficientEthRemaining = 'INSUFFICIENT_ETH_REMAINING',
Uint256Overflow = 'UINT256_OVERFLOW',
+ Erc721ZeroToAddress = 'ERC721_ZERO_TO_ADDRESS',
+ Erc721OwnerMismatch = 'ERC721_OWNER_MISMATCH',
+ Erc721InvalidSpender = 'ERC721_INVALID_SPENDER',
+ Erc721ZeroOwner = 'ERC721_ZERO_OWNER',
+ Erc721InvalidSelector = 'ERC721_INVALID_SELECTOR',
}
export enum StatusCodes {