db5e5832d1
Old ERC721 contracts do not have `safeTransferFrom` function, because of that we couldn't estimate the gas and we couldn't resolve the right route. Now we firstly check for `safeTransferFrom` function which is supported by ERC721A contracts and if the contract doesn't have it then we do `transferFrom` function call. Example of ERC721A contract: - https://etherscan.io/address/0x0024bc1035d30ae229a4712189b32131758cb000#code Example of ERC721 contract: - https://etherscan.io/address/0x06012c8cf97bead5deae237070f9587f8e7a266d#code |
||
---|---|---|
.. | ||
ERC721.abi | ||
doc.go | ||
erc721.go | ||
erc721.sol |