ERC20_TRANSFER_EXCEEDS_ALLOWANCE error message changed according OZ v4.5 changes

This commit is contained in:
donosonaumczuk
2022-02-22 02:45:15 -03:00
parent 6a49f63322
commit 00f63c4a96

View File

@@ -34,7 +34,7 @@ export const ERRORS = {
ERC721_NOT_OWN: 'ERC721: transfer of token that is not own',
ERC721_TRANSFER_NOT_OWNER_OR_APPROVED: 'ERC721: transfer caller is not owner nor approved',
ERC721_QUERY_FOR_NONEXISTENT_TOKEN: 'ERC721: owner query for nonexistent token',
ERC20_TRANSFER_EXCEEDS_ALLOWANCE: 'ERC20: transfer amount exceeds allowance',
ERC20_TRANSFER_EXCEEDS_ALLOWANCE: 'ERC20: insufficient allowance',
NO_SELECTOR:
"Transaction reverted: function selector was not recognized and there's no fallback function",
PAUSED: 'Paused()',