diff --git a/EIPS/eip-777.md b/EIPS/eip-777.md index 6d772c6c..60cf4791 100644 --- a/EIPS/eip-777.md +++ b/EIPS/eip-777.md @@ -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`. > **parameters** > `amount`: Number of tokens to burn. +> `data`: Information provided by the *token holder*. **`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`.