Added leading underscore to internal functions, renamed supportsInterfaces. (#1435)

(cherry picked from commit 0231fac514)
This commit is contained in:
Nicolás Venturo
2018-10-18 10:49:01 -03:00
committed by Leo Arias
parent 4394107660
commit ab932e1873
3 changed files with 30 additions and 30 deletions

View File

@ -10,7 +10,7 @@ contract ERC165CheckerMock {
view
returns (bool)
{
return account.supportsERC165();
return account._supportsERC165();
}
function supportsInterface(address account, bytes4 interfaceId)
@ -18,14 +18,14 @@ contract ERC165CheckerMock {
view
returns (bool)
{
return account.supportsInterface(interfaceId);
return account._supportsInterface(interfaceId);
}
function supportsInterfaces(address account, bytes4[] interfaceIds)
function supportsAllInterfaces(address account, bytes4[] interfaceIds)
public
view
returns (bool)
{
return account.supportsInterfaces(interfaceIds);
return account._supportsAllInterfaces(interfaceIds);
}
}