Added leading underscore to internal functions, renamed supportsInterfaces. (#1435)
(cherry picked from commit 0231fac514)
This commit is contained in:
committed by
Leo Arias
parent
4394107660
commit
ab932e1873
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user