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
bd13be91
Commit
bd13be91
authored
May 23, 2019
by
Francisco Giordano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lint
parent
2f9ae975
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
ERC165Checker.sol
contracts/introspection/ERC165Checker.sol
+1
-1
ERC777.sol
contracts/token/ERC777/ERC777.sol
+4
-4
IERC777Recipient.sol
contracts/token/ERC777/IERC777Recipient.sol
+1
-1
No files found.
contracts/introspection/ERC165Checker.sol
View file @
bd13be91
...
...
@@ -47,7 +47,7 @@ library ERC165Checker {
*
* See `IERC165.supportsInterface`.
*/
function _supportsAllInterfaces(address account, bytes4[] memory interfaceIds) internal view returns (bool) {
function _supportsAllInterfaces(address account, bytes4[] memory interfaceIds) internal view returns (bool) {
// query support of ERC165 itself
if (!_supportsERC165(account)) {
return false;
...
...
contracts/token/ERC777/ERC777.sol
View file @
bd13be91
...
...
@@ -348,7 +348,7 @@ contract ERC777 is IERC777, IERC20 {
bytes memory operatorData,
bool requireReceptionAck
)
private
private
{
require(from != address(0), "ERC777: send from the zero address");
require(to != address(0), "ERC777: send to the zero address");
...
...
@@ -375,7 +375,7 @@ contract ERC777 is IERC777, IERC20 {
bytes memory data,
bytes memory operatorData
)
private
private
{
require(from != address(0), "ERC777: burn from the zero address");
...
...
@@ -433,7 +433,7 @@ contract ERC777 is IERC777, IERC20 {
bytes memory userData,
bytes memory operatorData
)
private
private
{
address implementer = _erc1820.getInterfaceImplementer(from, TOKENS_SENDER_INTERFACE_HASH);
if (implementer != address(0)) {
...
...
@@ -461,7 +461,7 @@ contract ERC777 is IERC777, IERC20 {
bytes memory operatorData,
bool requireReceptionAck
)
private
private
{
address implementer = _erc1820.getInterfaceImplementer(to, TOKENS_RECIPIENT_INTERFACE_HASH);
if (implementer != address(0)) {
...
...
contracts/token/ERC777/IERC777Recipient.sol
View file @
bd13be91
...
...
@@ -10,7 +10,7 @@ pragma solidity ^0.5.0;
*
* See `IERC1820Registry` and `ERC1820Implementer`.
*/
interface IERC777Recipient {
interface IERC777Recipient {
/**
* @dev Called by an `IERC777` token contract whenever tokens are being
* moved or created into a registered account (`to`). The type of operation
...
...
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