InvoiceTokenERC20
contract InvoiceTokenERC20
is ERC20
Reference
Modifiers
onlyOwner
modifier onlyOwner()
Functions
allowance
function allowance(address _owner, address _spender) public view returns (uint256)
Function to check the amount of tokens that an owner allowed to a spender.
- Parameters:
_owner
- address The address which owns the funds._spender
- address The address which will spend the funds.- Returns:
- A uint256 specifying the amount of tokens still available for the spender.
approve
function approve(address _spender, uint256 _value) public returns (bool)
Approve is not supported regarding the specs.
- Parameters:
_spender
- address_value
- The amount of tokens to be spent.- Returns:
- bool
balanceOf
function balanceOf(address _owner) public view returns (uint256)
Gets the balance of the specified address.
- Parameters:
_owner
- The address to query the the balance of.- Returns:
- An uint256 representing the amount owned by the passed address.
fallback
function (string _name, string _symbol, address _tokensOwner) public
- Parameters:
_name
- string_symbol
- string_tokensOwner
- address
totalSupply
function totalSupply() public view returns (uint256)
Total number of tokens in existence.
- Returns:
- uint256
transfer
function transfer(address _to, uint256 _value) public returns (bool)
Transfer token for a specified address.
- Modifiers:
- onlyOwner
- Parameters:
_to
- The address to transfer to._value
- The amount to be transferred.- Returns:
- bool
transferFrom
function transferFrom(address _from, address _to, uint256 _value) public returns (bool)
Transfer tokens from one address to another.
- Parameters:
_from
- address The address which you want to send tokens from_to
- address The address which you want to transfer to_value
- uint256 the amount of tokens to be transferred- Returns:
- bool