From 10c2ca22fa2255fb60dad68735b0b6457691a11b Mon Sep 17 00:00:00 2001 From: Dexaran Date: Thu, 24 Aug 2023 19:48:56 +0400 Subject: [PATCH] Update eip-223.md --- EIPS/eip-223.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/EIPS/eip-223.md b/EIPS/eip-223.md index 473f43ba9706d..667c433f53ec1 100644 --- a/EIPS/eip-223.md +++ b/EIPS/eip-223.md @@ -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); } /** @@ -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