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
6838caf5ab
commit
567ba3ba12
@ -493,7 +493,7 @@ Token contracts MAY implement other functions to burn tokens.
|
||||
**`burn` function**
|
||||
|
||||
``` solidity
|
||||
function burn(uint256 amount) public;
|
||||
function burn(uint256 amount, bytes data) public;
|
||||
```
|
||||
|
||||
Burn the `amount` of tokens from the address `msg.sender`.
|
||||
@ -502,11 +502,12 @@ The *operator* and the *token holder* MUST both be the `msg.sender`.
|
||||
|
||||
> <small>**parameters**</small>
|
||||
> <small>`amount`: Number of tokens to burn.</small>
|
||||
> <small>`data`: Information provided by the *token holder*.</small>
|
||||
|
||||
**`operatorBurn` function**
|
||||
|
||||
``` solidity
|
||||
function operatorBurn(address from, uint256 amount, bytes operatorData) public;
|
||||
function operatorBurn(address from, uint256 amount, bytes data, bytes operatorData) public;
|
||||
```
|
||||
|
||||
Burn the `amount` of tokens on behalf of the address `from`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user