diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-08-13 08:32:57 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-08-17 08:31:21 +0800 |
commit | 61ba012b1fa396093842a9dd4f6cdc9e373b4213 (patch) | |
tree | fa0bc360dd8f34399c3a7a69ab7487880fa30fa2 | |
parent | aeb9ffbf5a09f52d8b2c5b75cdd18f541739b1ea (diff) | |
download | dexon-sol-tools-61ba012b1fa396093842a9dd4f6cdc9e373b4213.tar dexon-sol-tools-61ba012b1fa396093842a9dd4f6cdc9e373b4213.tar.gz dexon-sol-tools-61ba012b1fa396093842a9dd4f6cdc9e373b4213.tar.bz2 dexon-sol-tools-61ba012b1fa396093842a9dd4f6cdc9e373b4213.tar.lz dexon-sol-tools-61ba012b1fa396093842a9dd4f6cdc9e373b4213.tar.xz dexon-sol-tools-61ba012b1fa396093842a9dd4f6cdc9e373b4213.tar.zst dexon-sol-tools-61ba012b1fa396093842a9dd4f6cdc9e373b4213.zip |
Add ERC721 revert reasons to types
-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 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 { |