Automatically merged updates to draft EIP(s) 777

Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
This commit is contained in:
Jacques Dafflon 2019-03-04 02:21:09 +01:00 committed by EIP Automerge Bot
parent de6663563e
commit 63977eaf35

View File

@ -557,7 +557,7 @@ interface ERC777TokensSender {
uint256 amount,
bytes data,
bytes operatorData
) public;
) external;
}
```
@ -566,7 +566,7 @@ interface ERC777TokensSender {
**`tokensToSend`**
``` solidity
function tokensToSend(address operator, address from, address to, uint256 amount, bytes data, bytes operatorData) public
function tokensToSend(address operator, address from, address to, uint256 amount, bytes data, bytes operatorData) external
```
Notify a send or burn (if `to` is `0x0`) of `amount` tokens from the `from` address to the `to` address by the `operator` address.
@ -614,7 +614,7 @@ interface ERC777TokensRecipient {
uint256 amount,
bytes data,
bytes operatorData
) public;
) external;
}
```
@ -628,7 +628,7 @@ If the *recipient* is a contract, which has not registered an `ERC777TokensRecip
**`tokensReceived`**
``` solidity
function tokensReceived(address operator, address from, address to, uint256 amount, bytes data, bytes operatorData) public
function tokensReceived(address operator, address from, address to, uint256 amount, bytes data, bytes operatorData) external
```
Notify a send or mint (if `from` is `0x0`) of `amount` tokens from the `from` address to the `to` address by the `operator` address.