* Replaces getNonGETHErrorDataResult with getDataFromNodeErrorMessage
Updates the extraction of data from the error message to include new GETH nodes version
* Add tests for new GETH nodes
* Replaces getNonGETHErrorDataResult with getDataFromNodeErrorMessage
Updates the extraction of data from the error message to include new GETH nodes version
* Add tests for new GETH nodes
* Add types
* Fix missing address in input field
* Fix reopening file upload modal once closed
* Error first callback onFileUploadHandlerClose
* Adds error text for qrs that can't be read
Fixes popping up again for wrong qr codes
* Fix opening modal
Co-authored-by: nicolas <nicosampler@users.noreply.github.com>
* Adds operation call check on isTokenTransfer
* Add comment in unclear if
Co-authored-by: Fernando <fernando.greco@gmail.com>
Co-authored-by: nicolas <nicosampler@users.noreply.github.com>
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
* Adds patch-package and postinstall
* Creates a patch to add EWC and Volta in web3-eth and web3-eth-ens
* Adds support for ewc in isValidEnsName
* Update web3 ewc patch
* Enables ens lookup for ewc and volta
* Fix eslint
* Update patch
Fix patch-package script in package.json
Co-authored-by: Fernando <fernando.greco@gmail.com>
Co-authored-by: nicolas <nicosampler@users.noreply.github.com>
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>
* create `logic/collectibles/utils` file and move all the
NFT-related helper functions into it
`generateERC721TransferTxData` will decide whether the method
to transfer an NFT will be `transfer` or `safeTransferFrom`,
based on preset conditions where CryptoKitties tokens is taken
as an exception.
Also, `transfer` was used instead of `transferFrom`
because `transferFrom` is not implemented in the
rinkeby version, and was the method used as a
fallback before.
- moved `SAFE_TRANSFER_FROM_WITHOUT_DATA_HASH` const
- moved `isSendERC721Transaction` function
- moved `getERC721Symbol` function
- moved `isERC721Contract` function
- created `getTransferMethodByContractAddress` along with `CK_ADDRESS` const
- created `generateERC721TransferTxData` function
- refactored `ReviewCollectible` component to use `generateERC721TransferTxData`
- updated tests
* remove `ENS_ADDRESS` constant as it's not used
* add unmock of collectibles/utils
* add tests for `getTransferMethodByContractAddress`
* Types
* Adds tokenAddress to getTxData for tokenTransfer transactions
* Adds sendModalOpenHandler to EllipsisTransactionDetails
* Adds getRawTxAmount util
* Add isTokenTransfer fix for ether in getTxData
* Uses sendFund modal for retry outgoing transfer transactions
* Adds ether address in getTxData result for outgoig transfers
* Uses nativeCoin
* Remove fragmnet
* Fix decimals for native coin
* Fix decimals usage in tx transfer amount
Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm>