Updated code style to 4 space indentation and 120 characters per line. (#1508)
* Updated code style to 4 spaces and 120 max characters per line. * Update contracts/token/ERC721/ERC721Pausable.sol Co-Authored-By: nventuro <nicolas.venturo@gmail.com> * Update contracts/token/ERC721/IERC721.sol Co-Authored-By: nventuro <nicolas.venturo@gmail.com>
This commit is contained in:
@ -7,21 +7,20 @@ import "./ERC20.sol";
|
||||
* @dev Token that can be irreversibly burned (destroyed).
|
||||
*/
|
||||
contract ERC20Burnable is ERC20 {
|
||||
/**
|
||||
* @dev Burns a specific amount of tokens.
|
||||
* @param value The amount of token to be burned.
|
||||
*/
|
||||
function burn(uint256 value) public {
|
||||
_burn(msg.sender, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dev Burns a specific amount of tokens.
|
||||
* @param value The amount of token to be burned.
|
||||
*/
|
||||
function burn(uint256 value) public {
|
||||
_burn(msg.sender, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dev Burns a specific amount of tokens from the target address and decrements allowance
|
||||
* @param from address The address which you want to send tokens from
|
||||
* @param value uint256 The amount of token to be burned
|
||||
*/
|
||||
function burnFrom(address from, uint256 value) public {
|
||||
_burnFrom(from, value);
|
||||
}
|
||||
/**
|
||||
* @dev Burns a specific amount of tokens from the target address and decrements allowance
|
||||
* @param from address The address which you want to send tokens from
|
||||
* @param value uint256 The amount of token to be burned
|
||||
*/
|
||||
function burnFrom(address from, uint256 value) public {
|
||||
_burnFrom(from, value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user