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
a98814b9
Commit
a98814b9
authored
Apr 26, 2021
by
Francisco Giordano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix documentation typos
parent
a020a55f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
ERC1155.sol
contracts/token/ERC1155/ERC1155.sol
+0
-1
IERC1155Receiver.sol
contracts/token/ERC1155/IERC1155Receiver.sol
+1
-1
ERC1820Implementer.sol
contracts/utils/introspection/ERC1820Implementer.sol
+1
-1
No files found.
contracts/token/ERC1155/ERC1155.sol
View file @
a98814b9
...
@@ -10,7 +10,6 @@ import "../../utils/Context.sol";
...
@@ -10,7 +10,6 @@ import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";
import "../../utils/introspection/ERC165.sol";
/**
/**
*
* @dev Implementation of the basic standard multi-token.
* @dev Implementation of the basic standard multi-token.
* See https://eips.ethereum.org/EIPS/eip-1155
* See https://eips.ethereum.org/EIPS/eip-1155
* Originally based on code by Enjin: https://github.com/enjin/erc-1155
* Originally based on code by Enjin: https://github.com/enjin/erc-1155
...
...
contracts/token/ERC1155/IERC1155Receiver.sol
View file @
a98814b9
...
@@ -5,7 +5,7 @@ pragma solidity ^0.8.0;
...
@@ -5,7 +5,7 @@ pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
import "../../utils/introspection/IERC165.sol";
/**
/**
* _Available since v3.1._
*
@dev
_Available since v3.1._
*/
*/
interface IERC1155Receiver is IERC165 {
interface IERC1155Receiver is IERC165 {
...
...
contracts/utils/introspection/ERC1820Implementer.sol
View file @
a98814b9
...
@@ -18,7 +18,7 @@ contract ERC1820Implementer is IERC1820Implementer {
...
@@ -18,7 +18,7 @@ contract ERC1820Implementer is IERC1820Implementer {
mapping(bytes32 => mapping(address => bool)) private _supportedInterfaces;
mapping(bytes32 => mapping(address => bool)) private _supportedInterfaces;
/**
/**
* See {IERC1820Implementer-canImplementInterfaceForAddress}.
*
@dev
See {IERC1820Implementer-canImplementInterfaceForAddress}.
*/
*/
function canImplementInterfaceForAddress(bytes32 interfaceHash, address account) public view virtual override returns (bytes32) {
function canImplementInterfaceForAddress(bytes32 interfaceHash, address account) public view virtual override returns (bytes32) {
return _supportedInterfaces[interfaceHash][account] ? _ERC1820_ACCEPT_MAGIC : bytes32(0x00);
return _supportedInterfaces[interfaceHash][account] ? _ERC1820_ACCEPT_MAGIC : bytes32(0x00);
...
...
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