Near-One / rainbow-token-connector

ERC-20/NEP-141 Token Connector for Rainbow Bridge
62 stars 18 forks source link

Make ERC20Locker ERC223 compatible #3

Closed robert-zaremba closed 3 years ago

robert-zaremba commented 4 years ago

There are few ERC223 tokens out there and we would like to support them on the NEAR side. However, ERC223 has this rigorous check: it doesn't allow token transfers to contracts that don't support token receiving and handling. This PR implements a dummy tokenFallback function to satisfy ERC223 requirements.

robert-zaremba commented 4 years ago

Copying changes form https://github.com/near/rainbow-bridge-sol/pull/21