Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
openzeppelin-contracts-upgradeable
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
openzeppelin-contracts-upgradeable
Commits
a020a55f
Commit
a020a55f
authored
Apr 26, 2021
by
Francisco Giordano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix whitespace in doc comments
parent
5756e319
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
IERC1820Registry.sol
contracts/utils/introspection/IERC1820Registry.sol
+14
-14
No files found.
contracts/utils/introspection/IERC1820Registry.sol
View file @
a020a55f
...
@@ -80,28 +80,28 @@ interface IERC1820Registry {
...
@@ -80,28 +80,28 @@ interface IERC1820Registry {
function interfaceHash(string calldata interfaceName) external pure returns (bytes32);
function interfaceHash(string calldata interfaceName) external pure returns (bytes32);
/**
/**
*
@notice Updates the cache with whether the contract implements an ERC165 interface or not.
* @notice Updates the cache with whether the contract implements an ERC165 interface or not.
*
@param account Address of the contract for which to update the cache.
* @param account Address of the contract for which to update the cache.
*
@param interfaceId ERC165 interface for which to update the cache.
* @param interfaceId ERC165 interface for which to update the cache.
*/
*/
function updateERC165Cache(address account, bytes4 interfaceId) external;
function updateERC165Cache(address account, bytes4 interfaceId) external;
/**
/**
*
@notice Checks whether a contract implements an ERC165 interface or not.
* @notice Checks whether a contract implements an ERC165 interface or not.
*
If the result is not cached a direct lookup on the contract address is performed.
* If the result is not cached a direct lookup on the contract address is performed.
*
If the result is not cached or the cached value is out-of-date, the cache MUST be updated manually by calling
* If the result is not cached or the cached value is out-of-date, the cache MUST be updated manually by calling
*
{updateERC165Cache} with the contract address.
* {updateERC165Cache} with the contract address.
*
@param account Address of the contract to check.
* @param account Address of the contract to check.
*
@param interfaceId ERC165 interface to check.
* @param interfaceId ERC165 interface to check.
*
@return True if `account` implements `interfaceId`, false otherwise.
* @return True if `account` implements `interfaceId`, false otherwise.
*/
*/
function implementsERC165Interface(address account, bytes4 interfaceId) external view returns (bool);
function implementsERC165Interface(address account, bytes4 interfaceId) external view returns (bool);
/**
/**
*
@notice Checks whether a contract implements an ERC165 interface or not without using nor updating the cache.
* @notice Checks whether a contract implements an ERC165 interface or not without using nor updating the cache.
*
@param account Address of the contract to check.
* @param account Address of the contract to check.
*
@param interfaceId ERC165 interface to check.
* @param interfaceId ERC165 interface to check.
*
@return True if `account` implements `interfaceId`, false otherwise.
* @return True if `account` implements `interfaceId`, false otherwise.
*/
*/
function implementsERC165InterfaceNoCache(address account, bytes4 interfaceId) external view returns (bool);
function implementsERC165InterfaceNoCache(address account, bytes4 interfaceId) external view returns (bool);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment