SingularityNET Token
ERC20
This contract is an ERC20 token.
                Name
                
                        SingularityNET Token
                
            
            
                Symbol
                AGI
            
            
                Decimals
                8
            
            
                Total Supply
                1,000,000,000 AGI
            
            
            
        About
Stats
                Public Functions
                12
            
            
                Event Types
                6
            
            
                Code Size
                9,484 bytes
            
        Events (6) keyboard_arrow_up
Functions
balanceOf keyboard_arrow_up
transfer keyboard_arrow_up
Requirements help
Source Code
function transfer(address _to, uint256 _value)
  public
  whenNotPaused
  returns (bool)
{
  return super.transfer(_to, _value);
}
allowance keyboard_arrow_up
transferFrom keyboard_arrow_up
Requirements help
Source Code
function transferFrom(
  address _from,
  address _to,
  uint256 _value
) public whenNotPaused returns (bool) {
  return super.transferFrom(_from, _to, _value);
}
approve keyboard_arrow_up
Source Code
function approve(address _spender, uint256 _value)
  public
  whenNotPaused
  returns (bool)
{
  return super.approve(_spender, _value);
}
increaseApproval keyboard_arrow_up
Source Code
function increaseApproval(address _spender, uint256 _addedValue)
  public
  whenNotPaused
  returns (bool success)
{
  return super.increaseApproval(_spender, _addedValue);
}
decreaseApproval keyboard_arrow_up
Source Code
function decreaseApproval(address _spender, uint256 _subtractedValue)
  public
  whenNotPaused
  returns (bool success)
{
  return super.decreaseApproval(_spender, _subtractedValue);
}
burn keyboard_arrow_up
Requirements help
Source Code
function burn(uint256 _value) public {
  require(_value > 0);
  require(_value <= balances[msg.sender]);
  // no need to require value <= totalSupply, since that would imply the
  // sender's balance is greater than the totalSupply, which *should* be an assertion failure
  address burner = msg.sender;
  balances[burner] = balances[burner].sub(_value);
  totalSupply = totalSupply.sub(_value);
  Burn(burner, _value);
}
transferOwnership keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function transferOwnership(address newOwner) public onlyOwner {
  require(newOwner != address(0));
  OwnershipTransferred(owner, newOwner);
  owner = newOwner;
}
pause keyboard_arrow_up
unpause keyboard_arrow_up
transferTokens keyboard_arrow_up
Modifiers help
onlyOwner checks for the following:
Source Code
function transferTokens(address beneficiary, uint256 amount)
  onlyOwner
  returns (bool)
{
  require(amount > 0);
  balances[owner] = balances[owner].sub(amount);
  balances[beneficiary] = balances[beneficiary].add(amount);
  Transfer(owner, beneficiary, amount);
  return true;
}
Internal Functions
Internal functions are parts of the contract that can't be used directly, but instead are used by the public functions listed above.
 
         
    



