mirror of
https://github.com/status-im/EIPs.git
synced 2025-03-03 16:10:58 +00:00
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:
parent
de6663563e
commit
63977eaf35
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user