Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contract 0x6b175474e89094c44da98b954eedeac495271d0f is not detected as ERC20 #194

Open
medvedev1088 opened this issue Feb 3, 2020 · 2 comments
Labels
question Further information is requested

Comments

@medvedev1088
Copy link
Member

https://etherscan.io/address/0x6b175474e89094c44da98b954eedeac495271d0f

@jensenity
Copy link

c.implements('allowance(address,address)')

https://etherscan.io/address/0x6b175474e89094c44da98b954eedeac495271d0f#code
Line 91: mapping (address => mapping (address => uint)) public allowance;

Shows that this contract doesn't follow the eth_contract_service's is_erc20 rule. Line 91 uses allowance mapping while is_erc20 standard requires it to be a function.

@medvedev1088
Copy link
Member Author

AFAIK Solidity creates accessor methods for public fields automatically. There is a corresponding allowance(address, address) method as can be seen on Etherscan https://etherscan.io/address/0x6b175474e89094c44da98b954eedeac495271d0f#readContract.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants