Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update EIP-223: Update eip-223.md #7521

Merged
merged 1 commit into from
Aug 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions EIPS/eip-223.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,13 @@ library Address {

abstract contract IERC223Recipient {
/**
* @dev Standard ERC223 function that will handle incoming token transfers.
* @dev Standard ERC-223 receiving function that will handle incoming token transfers.
*
* @param _from Token sender address.
* @param _value Amount of tokens.
* @param _data Transaction metadata.
*/
function tokenReceived(address _from, uint _value, bytes memory _data) public virtual;
function tokenReceived(address _from, uint _value, bytes memory _data) public virtual returns (bytes4);
}

/**
Expand All @@ -255,7 +255,7 @@ contract ERC223Token {
uint8 private _decimals;
uint256 private _totalSupply;

mapping(address => uint256) public balances; // List of user balances.
mapping(address => uint256) private balances; // List of user balances.

/**
* @dev Sets the values for {name} and {symbol}, initializes {decimals} with
Expand Down
Loading