ETH Price: $3,339.03 (-0.83%)
Gas: 3 Gwei

Contract

0x72b509b59Bbfe847A1D68EaE96161ADFF8675064
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer91910042019-12-31 13:12:001672 days ago1577797920IN
0x72b509b5...FF8675064
0 ETH0.0003858610
Transfer91909922019-12-31 13:08:451672 days ago1577797725IN
0x72b509b5...FF8675064
0 ETH0.000361228
Transfer91909832019-12-31 13:06:161672 days ago1577797576IN
0x72b509b5...FF8675064
0 ETH0.000240818
Transfer88475252019-10-31 16:27:431733 days ago1572539263IN
0x72b509b5...FF8675064
0 ETH0.0003779810
Transfer87768502019-10-20 9:44:531744 days ago1571564693IN
0x72b509b5...FF8675064
0 ETH0.0003779810
Transfer87768492019-10-20 9:44:501744 days ago1571564690IN
0x72b509b5...FF8675064
0 ETH0.0008457916
Transfer87319642019-10-13 8:02:101751 days ago1570953730IN
0x72b509b5...FF8675064
0 ETH0.0006378416.875
Transfer87223012019-10-11 19:38:201753 days ago1570822700IN
0x72b509b5...FF8675064
0 ETH0.000188995
Transfer87017232019-10-08 13:58:001756 days ago1570543080IN
0x72b509b5...FF8675064
0 ETH0.0005279810
Transfer86682552019-10-03 8:43:291761 days ago1570092209IN
0x72b509b5...FF8675064
0 ETH0.0007400614
Transfer86677432019-10-03 6:43:151762 days ago1570084995IN
0x72b509b5...FF8675064
0 ETH0.000363479.6
Transfer86653912019-10-02 21:58:451762 days ago1570053525IN
0x72b509b5...FF8675064
0 ETH0.0005279810
Transfer86639202019-10-02 16:29:571762 days ago1570033797IN
0x72b509b5...FF8675064
0 ETH0.000428188.1
Transfer86568032019-10-01 13:36:591763 days ago1569937019IN
0x72b509b5...FF8675064
0 ETH0.0005279810
Transfer82860782019-08-04 19:32:441821 days ago1564947164IN
0x72b509b5...FF8675064
0 ETH0.000029721.3
Transfer82860672019-08-04 19:30:211821 days ago1564947021IN
0x72b509b5...FF8675064
0 ETH0.00002981.3
Transfer82860392019-08-04 19:21:561821 days ago1564946516IN
0x72b509b5...FF8675064
0 ETH0.00002981.3
Transfer82859892019-08-04 19:11:021821 days ago1564945862IN
0x72b509b5...FF8675064
0 ETH0.00002981.3
Transfer82859662019-08-04 19:05:391821 days ago1564945539IN
0x72b509b5...FF8675064
0 ETH0.00002981.3
Transfer82859222019-08-04 18:56:071821 days ago1564944967IN
0x72b509b5...FF8675064
0 ETH0.000029721.3
Transfer82858772019-08-04 18:47:381821 days ago1564944458IN
0x72b509b5...FF8675064
0 ETH0.000029721.3
Transfer82856752019-08-04 17:59:121821 days ago1564941552IN
0x72b509b5...FF8675064
0 ETH0.00002981.3
Transfer82855812019-08-04 17:38:331821 days ago1564940313IN
0x72b509b5...FF8675064
0 ETH0.00002981.3
Transfer82854432019-08-04 17:09:111821 days ago1564938551IN
0x72b509b5...FF8675064
0 ETH0.000029721.3
Transfer82840302019-08-04 11:51:311821 days ago1564919491IN
0x72b509b5...FF8675064
0 ETH0.000022921
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SgmToken

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-12-21
*/

/* file: ./node_modules/openzeppelin-solidity/contracts/token/ERC20/IERC20.sol */
pragma solidity ^0.4.24;

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
interface IERC20 {
  function totalSupply() external view returns (uint256);

  function balanceOf(address who) external view returns (uint256);

  function allowance(address owner, address spender)
    external view returns (uint256);

  function transfer(address to, uint256 value) external returns (bool);

  function approve(address spender, uint256 value)
    external returns (bool);

  function transferFrom(address from, address to, uint256 value)
    external returns (bool);

  event Transfer(
    address indexed from,
    address indexed to,
    uint256 value
  );

  event Approval(
    address indexed owner,
    address indexed spender,
    uint256 value
  );
}

/* eof (./node_modules/openzeppelin-solidity/contracts/token/ERC20/IERC20.sol) */
/* file: ./node_modules/openzeppelin-solidity/contracts/math/SafeMath.sol */
pragma solidity ^0.4.24;

/**
 * @title SafeMath
 * @dev Math operations with safety checks that revert on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, reverts on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
    // benefit is lost if 'b' is also tested.
    // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
    if (a == 0) {
      return 0;
    }

    uint256 c = a * b;
    require(c / a == b);

    return c;
  }

  /**
  * @dev Integer division of two numbers truncating the quotient, reverts on division by zero.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b > 0); // Solidity only automatically asserts when dividing by 0
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold

    return c;
  }

  /**
  * @dev Subtracts two numbers, reverts on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b <= a);
    uint256 c = a - b;

    return c;
  }

  /**
  * @dev Adds two numbers, reverts on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    require(c >= a);

    return c;
  }

  /**
  * @dev Divides two numbers and returns the remainder (unsigned integer modulo),
  * reverts when dividing by zero.
  */
  function mod(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b != 0);
    return a % b;
  }
}

/* eof (./node_modules/openzeppelin-solidity/contracts/math/SafeMath.sol) */
/* file: ./node_modules/openzeppelin-solidity/contracts/token/ERC20/SafeERC20.sol */
pragma solidity ^0.4.24;


/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure.
 * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {

  using SafeMath for uint256;

  function safeTransfer(
    IERC20 token,
    address to,
    uint256 value
  )
    internal
  {
    require(token.transfer(to, value));
  }

  function safeTransferFrom(
    IERC20 token,
    address from,
    address to,
    uint256 value
  )
    internal
  {
    require(token.transferFrom(from, to, value));
  }

  function safeApprove(
    IERC20 token,
    address spender,
    uint256 value
  )
    internal
  {
    // safeApprove should only be called when setting an initial allowance, 
    // or when resetting it to zero. To increase and decrease it, use 
    // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
    require((value == 0) || (token.allowance(msg.sender, spender) == 0));
    require(token.approve(spender, value));
  }

  function safeIncreaseAllowance(
    IERC20 token,
    address spender,
    uint256 value
  )
    internal
  {
    uint256 newAllowance = token.allowance(address(this), spender).add(value);
    require(token.approve(spender, newAllowance));
  }

  function safeDecreaseAllowance(
    IERC20 token,
    address spender,
    uint256 value
  )
    internal
  {
    uint256 newAllowance = token.allowance(address(this), spender).sub(value);
    require(token.approve(spender, newAllowance));
  }
}

/* eof (./node_modules/openzeppelin-solidity/contracts/token/ERC20/SafeERC20.sol) */
/* file: ./node_modules/openzeppelin-solidity/contracts/token/ERC20/ERC20Detailed.sol */
pragma solidity ^0.4.24;


/**
 * @title ERC20Detailed token
 * @dev The decimals are only for visualization purposes.
 * All the operations are done using the smallest and indivisible token unit,
 * just as on Ethereum all the operations are done in wei.
 */
contract ERC20Detailed is IERC20 {
  string private _name;
  string private _symbol;
  uint8 private _decimals;

  constructor(string name, string symbol, uint8 decimals) public {
    _name = name;
    _symbol = symbol;
    _decimals = decimals;
  }

  /**
   * @return the name of the token.
   */
  function name() public view returns(string) {
    return _name;
  }

  /**
   * @return the symbol of the token.
   */
  function symbol() public view returns(string) {
    return _symbol;
  }

  /**
   * @return the number of decimals of the token.
   */
  function decimals() public view returns(uint8) {
    return _decimals;
  }
}

/* eof (./node_modules/openzeppelin-solidity/contracts/token/ERC20/ERC20Detailed.sol) */
/* file: ./node_modules/openzeppelin-solidity/contracts/token/ERC20/ERC20.sol */
pragma solidity ^0.4.24;


/**
 * @title Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md
 * Originally based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 */
contract ERC20 is IERC20 {
  using SafeMath for uint256;

  mapping (address => uint256) private _balances;

  mapping (address => mapping (address => uint256)) private _allowed;

  uint256 private _totalSupply;

  /**
  * @dev Total number of tokens in existence
  */
  function totalSupply() public view returns (uint256) {
    return _totalSupply;
  }

  /**
  * @dev Gets the balance of the specified address.
  * @param owner The address to query the balance of.
  * @return An uint256 representing the amount owned by the passed address.
  */
  function balanceOf(address owner) public view returns (uint256) {
    return _balances[owner];
  }

  /**
   * @dev Function to check the amount of tokens that an owner allowed to a spender.
   * @param owner address The address which owns the funds.
   * @param spender address The address which will spend the funds.
   * @return A uint256 specifying the amount of tokens still available for the spender.
   */
  function allowance(
    address owner,
    address spender
   )
    public
    view
    returns (uint256)
  {
    return _allowed[owner][spender];
  }

  /**
  * @dev Transfer token for a specified address
  * @param to The address to transfer to.
  * @param value The amount to be transferred.
  */
  function transfer(address to, uint256 value) public returns (bool) {
    _transfer(msg.sender, to, value);
    return true;
  }

  /**
   * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
   * Beware that changing an allowance with this method brings the risk that someone may use both the old
   * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this
   * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards:
   * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
   * @param spender The address which will spend the funds.
   * @param value The amount of tokens to be spent.
   */
  function approve(address spender, uint256 value) public returns (bool) {
    require(spender != address(0));

    _allowed[msg.sender][spender] = value;
    emit Approval(msg.sender, spender, value);
    return true;
  }

  /**
   * @dev Transfer tokens from one address to another
   * @param from address The address which you want to send tokens from
   * @param to address The address which you want to transfer to
   * @param value uint256 the amount of tokens to be transferred
   */
  function transferFrom(
    address from,
    address to,
    uint256 value
  )
    public
    returns (bool)
  {
    require(value <= _allowed[from][msg.sender]);

    _allowed[from][msg.sender] = _allowed[from][msg.sender].sub(value);
    _transfer(from, to, value);
    return true;
  }

  /**
   * @dev Increase the amount of tokens that an owner allowed to a spender.
   * approve should be called when allowed_[_spender] == 0. To increment
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param spender The address which will spend the funds.
   * @param addedValue The amount of tokens to increase the allowance by.
   */
  function increaseAllowance(
    address spender,
    uint256 addedValue
  )
    public
    returns (bool)
  {
    require(spender != address(0));

    _allowed[msg.sender][spender] = (
      _allowed[msg.sender][spender].add(addedValue));
    emit Approval(msg.sender, spender, _allowed[msg.sender][spender]);
    return true;
  }

  /**
   * @dev Decrease the amount of tokens that an owner allowed to a spender.
   * approve should be called when allowed_[_spender] == 0. To decrement
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param spender The address which will spend the funds.
   * @param subtractedValue The amount of tokens to decrease the allowance by.
   */
  function decreaseAllowance(
    address spender,
    uint256 subtractedValue
  )
    public
    returns (bool)
  {
    require(spender != address(0));

    _allowed[msg.sender][spender] = (
      _allowed[msg.sender][spender].sub(subtractedValue));
    emit Approval(msg.sender, spender, _allowed[msg.sender][spender]);
    return true;
  }

  /**
  * @dev Transfer token for a specified addresses
  * @param from The address to transfer from.
  * @param to The address to transfer to.
  * @param value The amount to be transferred.
  */
  function _transfer(address from, address to, uint256 value) internal {
    require(value <= _balances[from]);
    require(to != address(0));

    _balances[from] = _balances[from].sub(value);
    _balances[to] = _balances[to].add(value);
    emit Transfer(from, to, value);
  }

  /**
   * @dev Internal function that mints an amount of the token and assigns it to
   * an account. This encapsulates the modification of balances such that the
   * proper events are emitted.
   * @param account The account that will receive the created tokens.
   * @param value The amount that will be created.
   */
  function _mint(address account, uint256 value) internal {
    require(account != 0);
    _totalSupply = _totalSupply.add(value);
    _balances[account] = _balances[account].add(value);
    emit Transfer(address(0), account, value);
  }

  /**
   * @dev Internal function that burns an amount of the token of a given
   * account.
   * @param account The account whose tokens will be burnt.
   * @param value The amount that will be burnt.
   */
  function _burn(address account, uint256 value) internal {
    require(account != 0);
    require(value <= _balances[account]);

    _totalSupply = _totalSupply.sub(value);
    _balances[account] = _balances[account].sub(value);
    emit Transfer(account, address(0), value);
  }

  /**
   * @dev Internal function that burns an amount of the token of a given
   * account, deducting from the sender's allowance for said account. Uses the
   * internal burn function.
   * @param account The account whose tokens will be burnt.
   * @param value The amount that will be burnt.
   */
  function _burnFrom(address account, uint256 value) internal {
    require(value <= _allowed[account][msg.sender]);

    // Should https://github.com/OpenZeppelin/zeppelin-solidity/issues/707 be accepted,
    // this function needs to emit an event with the updated approval.
    _allowed[account][msg.sender] = _allowed[account][msg.sender].sub(
      value);
    _burn(account, value);
  }
}

/* eof (./node_modules/openzeppelin-solidity/contracts/token/ERC20/ERC20.sol) */
/* file: ./node_modules/openzeppelin-solidity/contracts/access/Roles.sol */
pragma solidity ^0.4.24;

/**
 * @title Roles
 * @dev Library for managing addresses assigned to a Role.
 */
library Roles {
  struct Role {
    mapping (address => bool) bearer;
  }

  /**
   * @dev give an account access to this role
   */
  function add(Role storage role, address account) internal {
    require(account != address(0));
    require(!has(role, account));

    role.bearer[account] = true;
  }

  /**
   * @dev remove an account's access to this role
   */
  function remove(Role storage role, address account) internal {
    require(account != address(0));
    require(has(role, account));

    role.bearer[account] = false;
  }

  /**
   * @dev check if an account has this role
   * @return bool
   */
  function has(Role storage role, address account)
    internal
    view
    returns (bool)
  {
    require(account != address(0));
    return role.bearer[account];
  }
}

/* eof (./node_modules/openzeppelin-solidity/contracts/access/Roles.sol) */
/* file: ./node_modules/openzeppelin-solidity/contracts/access/roles/PauserRole.sol */
pragma solidity ^0.4.24;


contract PauserRole {
  using Roles for Roles.Role;

  event PauserAdded(address indexed account);
  event PauserRemoved(address indexed account);

  Roles.Role private pausers;

  constructor() internal {
    _addPauser(msg.sender);
  }

  modifier onlyPauser() {
    require(isPauser(msg.sender));
    _;
  }

  function isPauser(address account) public view returns (bool) {
    return pausers.has(account);
  }

  function addPauser(address account) public onlyPauser {
    _addPauser(account);
  }

  function renouncePauser() public {
    _removePauser(msg.sender);
  }

  function _addPauser(address account) internal {
    pausers.add(account);
    emit PauserAdded(account);
  }

  function _removePauser(address account) internal {
    pausers.remove(account);
    emit PauserRemoved(account);
  }
}

/* eof (./node_modules/openzeppelin-solidity/contracts/access/roles/PauserRole.sol) */
/* file: ./node_modules/openzeppelin-solidity/contracts/lifecycle/Pausable.sol */
pragma solidity ^0.4.24;


/**
 * @title Pausable
 * @dev Base contract which allows children to implement an emergency stop mechanism.
 */
contract Pausable is PauserRole {
  event Paused(address account);
  event Unpaused(address account);

  bool private _paused;

  constructor() internal {
    _paused = false;
  }

  /**
   * @return true if the contract is paused, false otherwise.
   */
  function paused() public view returns(bool) {
    return _paused;
  }

  /**
   * @dev Modifier to make a function callable only when the contract is not paused.
   */
  modifier whenNotPaused() {
    require(!_paused);
    _;
  }

  /**
   * @dev Modifier to make a function callable only when the contract is paused.
   */
  modifier whenPaused() {
    require(_paused);
    _;
  }

  /**
   * @dev called by the owner to pause, triggers stopped state
   */
  function pause() public onlyPauser whenNotPaused {
    _paused = true;
    emit Paused(msg.sender);
  }

  /**
   * @dev called by the owner to unpause, returns to normal state
   */
  function unpause() public onlyPauser whenPaused {
    _paused = false;
    emit Unpaused(msg.sender);
  }
}

/* eof (./node_modules/openzeppelin-solidity/contracts/lifecycle/Pausable.sol) */
/* file: ./node_modules/openzeppelin-solidity/contracts/token/ERC20/ERC20Pausable.sol */
pragma solidity ^0.4.24;


/**
 * @title Pausable token
 * @dev ERC20 modified with pausable transfers.
 **/
contract ERC20Pausable is ERC20, Pausable {

  function transfer(
    address to,
    uint256 value
  )
    public
    whenNotPaused
    returns (bool)
  {
    return super.transfer(to, value);
  }

  function transferFrom(
    address from,
    address to,
    uint256 value
  )
    public
    whenNotPaused
    returns (bool)
  {
    return super.transferFrom(from, to, value);
  }

  function approve(
    address spender,
    uint256 value
  )
    public
    whenNotPaused
    returns (bool)
  {
    return super.approve(spender, value);
  }

  function increaseAllowance(
    address spender,
    uint addedValue
  )
    public
    whenNotPaused
    returns (bool success)
  {
    return super.increaseAllowance(spender, addedValue);
  }

  function decreaseAllowance(
    address spender,
    uint subtractedValue
  )
    public
    whenNotPaused
    returns (bool success)
  {
    return super.decreaseAllowance(spender, subtractedValue);
  }
}

/* eof (./node_modules/openzeppelin-solidity/contracts/token/ERC20/ERC20Pausable.sol) */
/* file: ./node_modules/openzeppelin-solidity/contracts/token/ERC20/ERC20Burnable.sol */
pragma solidity ^0.4.24;


/**
 * @title Burnable Token
 * @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 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);
  }
}

/* eof (./node_modules/openzeppelin-solidity/contracts/token/ERC20/ERC20Burnable.sol) */
/* file: ./node_modules/openzeppelin-solidity/contracts/access/roles/MinterRole.sol */
pragma solidity ^0.4.24;


contract MinterRole {
  using Roles for Roles.Role;

  event MinterAdded(address indexed account);
  event MinterRemoved(address indexed account);

  Roles.Role private minters;

  constructor() internal {
    _addMinter(msg.sender);
  }

  modifier onlyMinter() {
    require(isMinter(msg.sender));
    _;
  }

  function isMinter(address account) public view returns (bool) {
    return minters.has(account);
  }

  function addMinter(address account) public onlyMinter {
    _addMinter(account);
  }

  function renounceMinter() public {
    _removeMinter(msg.sender);
  }

  function _addMinter(address account) internal {
    minters.add(account);
    emit MinterAdded(account);
  }

  function _removeMinter(address account) internal {
    minters.remove(account);
    emit MinterRemoved(account);
  }
}

/* eof (./node_modules/openzeppelin-solidity/contracts/access/roles/MinterRole.sol) */
/* file: ./node_modules/openzeppelin-solidity/contracts/token/ERC20/ERC20Mintable.sol */
pragma solidity ^0.4.24;


/**
 * @title ERC20Mintable
 * @dev ERC20 minting logic
 */
contract ERC20Mintable is ERC20, MinterRole {
  /**
   * @dev Function to mint tokens
   * @param to The address that will receive the minted tokens.
   * @param value The amount of tokens to mint.
   * @return A boolean that indicates if the operation was successful.
   */
  function mint(
    address to,
    uint256 value
  )
    public
    onlyMinter
    returns (bool)
  {
    _mint(to, value);
    return true;
  }
}

/* eof (./node_modules/openzeppelin-solidity/contracts/token/ERC20/ERC20Mintable.sol) */
/* file: ./node_modules/openzeppelin-solidity/contracts/token/ERC20/ERC20Capped.sol */
pragma solidity ^0.4.24;


/**
 * @title Capped token
 * @dev Mintable token with a token cap.
 */
contract ERC20Capped is ERC20Mintable {

  uint256 private _cap;

  constructor(uint256 cap)
    public
  {
    require(cap > 0);
    _cap = cap;
  }

  /**
   * @return the cap for the token minting.
   */
  function cap() public view returns(uint256) {
    return _cap;
  }

  function _mint(address account, uint256 value) internal {
    require(totalSupply().add(value) <= _cap);
    super._mint(account, value);
  }
}

/* eof (./node_modules/openzeppelin-solidity/contracts/token/ERC20/ERC20Capped.sol) */
/* file: ./node_modules/openzeppelin-solidity/contracts/ownership/Ownable.sol */
pragma solidity ^0.4.24;

/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
  address private _owner;

  event OwnershipTransferred(
    address indexed previousOwner,
    address indexed newOwner
  );

  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  constructor() internal {
    _owner = msg.sender;
    emit OwnershipTransferred(address(0), _owner);
  }

  /**
   * @return the address of the owner.
   */
  function owner() public view returns(address) {
    return _owner;
  }

  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(isOwner());
    _;
  }

  /**
   * @return true if `msg.sender` is the owner of the contract.
   */
  function isOwner() public view returns(bool) {
    return msg.sender == _owner;
  }

  /**
   * @dev Allows the current owner to relinquish control of the contract.
   * @notice Renouncing to ownership will leave the contract without an owner.
   * It will not be possible to call the functions with the `onlyOwner`
   * modifier anymore.
   */
  function renounceOwnership() public onlyOwner {
    emit OwnershipTransferred(_owner, address(0));
    _owner = address(0);
  }

  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) public onlyOwner {
    _transferOwnership(newOwner);
  }

  /**
   * @dev Transfers control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function _transferOwnership(address newOwner) internal {
    require(newOwner != address(0));
    emit OwnershipTransferred(_owner, newOwner);
    _owner = newOwner;
  }
}

/* eof (./node_modules/openzeppelin-solidity/contracts/ownership/Ownable.sol) */
/* file: ./contracts/token/SgmToken.sol */
pragma solidity 0.4.24;


/**
 * @title Sgame token
 * @author Validity Labs AG <[email protected]>
 */

contract SgmToken is Ownable, ERC20Detailed, ERC20Pausable, ERC20Burnable, ERC20Mintable, ERC20Capped {
    using SafeERC20 for ERC20;

    /**
     * @dev Constructor
     * @param name Name of the token to be created
     * @param symbol Symbol of the token to be created
     * @param decimals Decimals of the token to be created
     * @param newOwner Address which will have privileges to pause/unpause and mint the token
     */
    constructor(string name, string symbol, uint8 decimals, uint256 cap, address newOwner)
        public
        ERC20Detailed(name, symbol, decimals)
        ERC20Capped(cap) {
            roleSetup(newOwner);

        }

    /**
     * @dev Reclaim all ERC20 compatible tokens accidentally sent to the SGM token contract
     * @param recoveredToken ERC20 The address of the token contract
     */
    function reclaimToken(ERC20 recoveredToken) public onlyOwner {
        uint256 balance = recoveredToken.balanceOf(address(this));
        recoveredToken.safeTransfer(owner(), balance);
    }

    /**
     * @dev setup roles for new Sgame token
     * @param newOwner address of the client owner
     */
    function roleSetup(address newOwner) internal {
        addPauser(newOwner);
        _removePauser(msg.sender);

        addMinter(newOwner);
        _removeMinter(msg.sender);
    }
}
/* eof (./contracts/token/SgmToken.sol) */

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"recoveredToken","type":"address"}],"name":"reclaimToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"cap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isPauser","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renouncePauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addPauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isMinter","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"decimals","type":"uint8"},{"name":"cap","type":"uint256"},{"name":"newOwner","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"PauserAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"PauserRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

60806040523480156200001157600080fd5b50604051620018613803806200186183398101604081815282516020840151918401516060850151608086015160008054600160a060020a03191633178082559488019795909501959294919390928492889288928892600160a060020a039290921691907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a38251620000b09060019060208601906200046f565b508151620000c69060029060208501906200046f565b506003805460ff191660ff9290921691909117905550620000f290503364010000000062000140810204565b6008805460ff19169055620001103364010000000062000192810204565b600081116200011e57600080fd5b600a556200013581640100000000620001e4810204565b505050505062000514565b6200015b600782640100000000620012c36200023782021704565b604051600160a060020a038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b620001ad600982640100000000620012c36200023782021704565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b620001f88164010000000062000292810204565b6200020c33640100000000620002c6810204565b620002208164010000000062000318810204565b62000234336401000000006200034c810204565b50565b600160a060020a03811615156200024d57600080fd5b6200026282826401000000006200039e810204565b156200026d57600080fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b620002a633640100000000620003d6810204565b1515620002b257600080fd5b620002348164010000000062000140810204565b620002e160078264010000000062001277620003f982021704565b604051600160a060020a038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b6200032c3364010000000062000452810204565b15156200033857600080fd5b620002348164010000000062000192810204565b6200036760098264010000000062001277620003f982021704565b604051600160a060020a038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b6000600160a060020a0382161515620003b657600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b6000620003f360078364010000000062000df06200039e82021704565b92915050565b600160a060020a03811615156200040f57600080fd5b6200042482826401000000006200039e810204565b15156200043057600080fd5b600160a060020a0316600090815260209190915260409020805460ff19169055565b6000620003f360098364010000000062000df06200039e82021704565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620004b257805160ff1916838001178555620004e2565b82800160010185558215620004e2579182015b82811115620004e2578251825591602001919060010190620004c5565b50620004f0929150620004f4565b5090565b6200051191905b80821115620004f05760008155600101620004fb565b90565b61133d80620005246000396000f3006080604052600436106101745763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610179578063095ea7b31461020357806317ffc3201461023b57806318160ddd1461025e57806323b872dd14610285578063313ce567146102af578063355274ea146102da57806339509351146102ef5780633f4ba83a1461031357806340c10f191461032857806342966c681461034c57806346fbf68e146103645780635c975abb146103855780636ef8d66d1461039a57806370a08231146103af578063715018a6146103d057806379cc6790146103e557806382dc1ec4146104095780638456cb591461042a5780638da5cb5b1461043f5780638f32d59b1461047057806395d89b4114610485578063983b2d561461049a57806398650275146104bb578063a457c2d7146104d0578063a9059cbb146104f4578063aa271e1a14610518578063dd62ed3e14610539578063f2fde38b14610560575b600080fd5b34801561018557600080fd5b5061018e610581565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101c85781810151838201526020016101b0565b50505050905090810190601f1680156101f55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561020f57600080fd5b50610227600160a060020a0360043516602435610616565b604080519115158252519081900360200190f35b34801561024757600080fd5b5061025c600160a060020a036004351661063a565b005b34801561026a57600080fd5b50610273610704565b60408051918252519081900360200190f35b34801561029157600080fd5b50610227600160a060020a036004358116906024351660443561070a565b3480156102bb57600080fd5b506102c4610730565b6040805160ff9092168252519081900360200190f35b3480156102e657600080fd5b50610273610739565b3480156102fb57600080fd5b50610227600160a060020a036004351660243561073f565b34801561031f57600080fd5b5061025c61075c565b34801561033457600080fd5b50610227600160a060020a03600435166024356107c0565b34801561035857600080fd5b5061025c6004356107e9565b34801561037057600080fd5b50610227600160a060020a03600435166107f6565b34801561039157600080fd5b5061022761080f565b3480156103a657600080fd5b5061025c610818565b3480156103bb57600080fd5b50610273600160a060020a0360043516610823565b3480156103dc57600080fd5b5061025c61083e565b3480156103f157600080fd5b5061025c600160a060020a03600435166024356108a8565b34801561041557600080fd5b5061025c600160a060020a03600435166108b2565b34801561043657600080fd5b5061025c6108cf565b34801561044b57600080fd5b50610454610935565b60408051600160a060020a039092168252519081900360200190f35b34801561047c57600080fd5b50610227610944565b34801561049157600080fd5b5061018e610955565b3480156104a657600080fd5b5061025c600160a060020a03600435166109b3565b3480156104c757600080fd5b5061025c6109d0565b3480156104dc57600080fd5b50610227600160a060020a03600435166024356109d9565b34801561050057600080fd5b50610227600160a060020a03600435166024356109f6565b34801561052457600080fd5b50610227600160a060020a0360043516610a13565b34801561054557600080fd5b50610273600160a060020a0360043581169060243516610a26565b34801561056c57600080fd5b5061025c600160a060020a0360043516610a51565b60018054604080516020601f6002600019610100878916150201909516949094049384018190048102820181019092528281526060939092909183018282801561060c5780601f106105e15761010080835404028352916020019161060c565b820191906000526020600020905b8154815290600101906020018083116105ef57829003601f168201915b5050505050905090565b60085460009060ff161561062957600080fd5b6106338383610a6d565b9392505050565b6000610644610944565b151561064f57600080fd5b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600160a060020a038416916370a082319160248083019260209291908290030181600087803b1580156106b057600080fd5b505af11580156106c4573d6000803e3d6000fd5b505050506040513d60208110156106da57600080fd5b505190506107006106e9610935565b600160a060020a038416908363ffffffff610aeb16565b5050565b60065490565b60085460009060ff161561071d57600080fd5b610728848484610ba3565b949350505050565b60035460ff1690565b600a5490565b60085460009060ff161561075257600080fd5b6106338383610c40565b610765336107f6565b151561077057600080fd5b60085460ff16151561078157600080fd5b6008805460ff191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b60006107cb33610a13565b15156107d657600080fd5b6107e08383610cf0565b50600192915050565b6107f33382610d20565b50565b600061080960078363ffffffff610df016565b92915050565b60085460ff1690565b61082133610e27565b565b600160a060020a031660009081526004602052604090205490565b610846610944565b151561085157600080fd5b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b6107008282610e6f565b6108bb336107f6565b15156108c657600080fd5b6107f381610f01565b6108d8336107f6565b15156108e357600080fd5b60085460ff16156108f357600080fd5b6008805460ff191660011790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b600054600160a060020a031690565b600054600160a060020a0316331490565b60028054604080516020601f600019610100600187161502019094168590049384018190048102820181019092528281526060939092909183018282801561060c5780601f106105e15761010080835404028352916020019161060c565b6109bc33610a13565b15156109c757600080fd5b6107f381610f49565b61082133610f91565b60085460009060ff16156109ec57600080fd5b6106338383610fd9565b60085460009060ff1615610a0957600080fd5b6106338383611024565b600061080960098363ffffffff610df016565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b610a59610944565b1515610a6457600080fd5b6107f381611031565b6000600160a060020a0383161515610a8457600080fd5b336000818152600560209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b82600160a060020a031663a9059cbb83836040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b158015610b6757600080fd5b505af1158015610b7b573d6000803e3d6000fd5b505050506040513d6020811015610b9157600080fd5b50511515610b9e57600080fd5b505050565b600160a060020a0383166000908152600560209081526040808320338452909152812054821115610bd357600080fd5b600160a060020a0384166000908152600560209081526040808320338452909152902054610c07908363ffffffff6110ae16565b600160a060020a0385166000908152600560209081526040808320338452909152902055610c368484846110c5565b5060019392505050565b6000600160a060020a0383161515610c5757600080fd5b336000908152600560209081526040808320600160a060020a0387168452909152902054610c8b908363ffffffff6111b916565b336000818152600560209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600a54610d0b82610cff610704565b9063ffffffff6111b916565b1115610d1657600080fd5b61070082826111cb565b600160a060020a0382161515610d3557600080fd5b600160a060020a038216600090815260046020526040902054811115610d5a57600080fd5b600654610d6d908263ffffffff6110ae16565b600655600160a060020a038216600090815260046020526040902054610d99908263ffffffff6110ae16565b600160a060020a0383166000818152600460209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b6000600160a060020a0382161515610e0757600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b610e3860078263ffffffff61127716565b604051600160a060020a038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b600160a060020a0382166000908152600560209081526040808320338452909152902054811115610e9f57600080fd5b600160a060020a0382166000908152600560209081526040808320338452909152902054610ed3908263ffffffff6110ae16565b600160a060020a03831660009081526005602090815260408083203384529091529020556107008282610d20565b610f1260078263ffffffff6112c316565b604051600160a060020a038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b610f5a60098263ffffffff6112c316565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b610fa260098263ffffffff61127716565b604051600160a060020a038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b6000600160a060020a0383161515610ff057600080fd5b336000908152600560209081526040808320600160a060020a0387168452909152902054610c8b908363ffffffff6110ae16565b60006107e03384846110c5565b600160a060020a038116151561104657600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600080838311156110be57600080fd5b5050900390565b600160a060020a0383166000908152600460205260409020548111156110ea57600080fd5b600160a060020a03821615156110ff57600080fd5b600160a060020a038316600090815260046020526040902054611128908263ffffffff6110ae16565b600160a060020a03808516600090815260046020526040808220939093559084168152205461115d908263ffffffff6111b916565b600160a060020a0380841660008181526004602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282018381101561063357600080fd5b600160a060020a03821615156111e057600080fd5b6006546111f3908263ffffffff6111b916565b600655600160a060020a03821660009081526004602052604090205461121f908263ffffffff6111b916565b600160a060020a03831660008181526004602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600160a060020a038116151561128c57600080fd5b6112968282610df0565b15156112a157600080fd5b600160a060020a0316600090815260209190915260409020805460ff19169055565b600160a060020a03811615156112d857600080fd5b6112e28282610df0565b156112ec57600080fd5b600160a060020a0316600090815260209190915260409020805460ff191660011790555600a165627a7a723058207fe1c25e66bc435cc4a91de755c34f24850143c97662a79d0163ce43f71d1d4c002900000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000121836204bc2ce21e000000000000000000000000000000c5d2509cb740ba519c2a667f2bf3f4e0a2b95f50000000000000000000000000000000000000000000000000000000000000000b5367616d6520546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000353474d0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101745763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610179578063095ea7b31461020357806317ffc3201461023b57806318160ddd1461025e57806323b872dd14610285578063313ce567146102af578063355274ea146102da57806339509351146102ef5780633f4ba83a1461031357806340c10f191461032857806342966c681461034c57806346fbf68e146103645780635c975abb146103855780636ef8d66d1461039a57806370a08231146103af578063715018a6146103d057806379cc6790146103e557806382dc1ec4146104095780638456cb591461042a5780638da5cb5b1461043f5780638f32d59b1461047057806395d89b4114610485578063983b2d561461049a57806398650275146104bb578063a457c2d7146104d0578063a9059cbb146104f4578063aa271e1a14610518578063dd62ed3e14610539578063f2fde38b14610560575b600080fd5b34801561018557600080fd5b5061018e610581565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101c85781810151838201526020016101b0565b50505050905090810190601f1680156101f55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561020f57600080fd5b50610227600160a060020a0360043516602435610616565b604080519115158252519081900360200190f35b34801561024757600080fd5b5061025c600160a060020a036004351661063a565b005b34801561026a57600080fd5b50610273610704565b60408051918252519081900360200190f35b34801561029157600080fd5b50610227600160a060020a036004358116906024351660443561070a565b3480156102bb57600080fd5b506102c4610730565b6040805160ff9092168252519081900360200190f35b3480156102e657600080fd5b50610273610739565b3480156102fb57600080fd5b50610227600160a060020a036004351660243561073f565b34801561031f57600080fd5b5061025c61075c565b34801561033457600080fd5b50610227600160a060020a03600435166024356107c0565b34801561035857600080fd5b5061025c6004356107e9565b34801561037057600080fd5b50610227600160a060020a03600435166107f6565b34801561039157600080fd5b5061022761080f565b3480156103a657600080fd5b5061025c610818565b3480156103bb57600080fd5b50610273600160a060020a0360043516610823565b3480156103dc57600080fd5b5061025c61083e565b3480156103f157600080fd5b5061025c600160a060020a03600435166024356108a8565b34801561041557600080fd5b5061025c600160a060020a03600435166108b2565b34801561043657600080fd5b5061025c6108cf565b34801561044b57600080fd5b50610454610935565b60408051600160a060020a039092168252519081900360200190f35b34801561047c57600080fd5b50610227610944565b34801561049157600080fd5b5061018e610955565b3480156104a657600080fd5b5061025c600160a060020a03600435166109b3565b3480156104c757600080fd5b5061025c6109d0565b3480156104dc57600080fd5b50610227600160a060020a03600435166024356109d9565b34801561050057600080fd5b50610227600160a060020a03600435166024356109f6565b34801561052457600080fd5b50610227600160a060020a0360043516610a13565b34801561054557600080fd5b50610273600160a060020a0360043581169060243516610a26565b34801561056c57600080fd5b5061025c600160a060020a0360043516610a51565b60018054604080516020601f6002600019610100878916150201909516949094049384018190048102820181019092528281526060939092909183018282801561060c5780601f106105e15761010080835404028352916020019161060c565b820191906000526020600020905b8154815290600101906020018083116105ef57829003601f168201915b5050505050905090565b60085460009060ff161561062957600080fd5b6106338383610a6d565b9392505050565b6000610644610944565b151561064f57600080fd5b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600160a060020a038416916370a082319160248083019260209291908290030181600087803b1580156106b057600080fd5b505af11580156106c4573d6000803e3d6000fd5b505050506040513d60208110156106da57600080fd5b505190506107006106e9610935565b600160a060020a038416908363ffffffff610aeb16565b5050565b60065490565b60085460009060ff161561071d57600080fd5b610728848484610ba3565b949350505050565b60035460ff1690565b600a5490565b60085460009060ff161561075257600080fd5b6106338383610c40565b610765336107f6565b151561077057600080fd5b60085460ff16151561078157600080fd5b6008805460ff191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b60006107cb33610a13565b15156107d657600080fd5b6107e08383610cf0565b50600192915050565b6107f33382610d20565b50565b600061080960078363ffffffff610df016565b92915050565b60085460ff1690565b61082133610e27565b565b600160a060020a031660009081526004602052604090205490565b610846610944565b151561085157600080fd5b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b6107008282610e6f565b6108bb336107f6565b15156108c657600080fd5b6107f381610f01565b6108d8336107f6565b15156108e357600080fd5b60085460ff16156108f357600080fd5b6008805460ff191660011790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b600054600160a060020a031690565b600054600160a060020a0316331490565b60028054604080516020601f600019610100600187161502019094168590049384018190048102820181019092528281526060939092909183018282801561060c5780601f106105e15761010080835404028352916020019161060c565b6109bc33610a13565b15156109c757600080fd5b6107f381610f49565b61082133610f91565b60085460009060ff16156109ec57600080fd5b6106338383610fd9565b60085460009060ff1615610a0957600080fd5b6106338383611024565b600061080960098363ffffffff610df016565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b610a59610944565b1515610a6457600080fd5b6107f381611031565b6000600160a060020a0383161515610a8457600080fd5b336000818152600560209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b82600160a060020a031663a9059cbb83836040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b158015610b6757600080fd5b505af1158015610b7b573d6000803e3d6000fd5b505050506040513d6020811015610b9157600080fd5b50511515610b9e57600080fd5b505050565b600160a060020a0383166000908152600560209081526040808320338452909152812054821115610bd357600080fd5b600160a060020a0384166000908152600560209081526040808320338452909152902054610c07908363ffffffff6110ae16565b600160a060020a0385166000908152600560209081526040808320338452909152902055610c368484846110c5565b5060019392505050565b6000600160a060020a0383161515610c5757600080fd5b336000908152600560209081526040808320600160a060020a0387168452909152902054610c8b908363ffffffff6111b916565b336000818152600560209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600a54610d0b82610cff610704565b9063ffffffff6111b916565b1115610d1657600080fd5b61070082826111cb565b600160a060020a0382161515610d3557600080fd5b600160a060020a038216600090815260046020526040902054811115610d5a57600080fd5b600654610d6d908263ffffffff6110ae16565b600655600160a060020a038216600090815260046020526040902054610d99908263ffffffff6110ae16565b600160a060020a0383166000818152600460209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b6000600160a060020a0382161515610e0757600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b610e3860078263ffffffff61127716565b604051600160a060020a038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b600160a060020a0382166000908152600560209081526040808320338452909152902054811115610e9f57600080fd5b600160a060020a0382166000908152600560209081526040808320338452909152902054610ed3908263ffffffff6110ae16565b600160a060020a03831660009081526005602090815260408083203384529091529020556107008282610d20565b610f1260078263ffffffff6112c316565b604051600160a060020a038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b610f5a60098263ffffffff6112c316565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b610fa260098263ffffffff61127716565b604051600160a060020a038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b6000600160a060020a0383161515610ff057600080fd5b336000908152600560209081526040808320600160a060020a0387168452909152902054610c8b908363ffffffff6110ae16565b60006107e03384846110c5565b600160a060020a038116151561104657600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600080838311156110be57600080fd5b5050900390565b600160a060020a0383166000908152600460205260409020548111156110ea57600080fd5b600160a060020a03821615156110ff57600080fd5b600160a060020a038316600090815260046020526040902054611128908263ffffffff6110ae16565b600160a060020a03808516600090815260046020526040808220939093559084168152205461115d908263ffffffff6111b916565b600160a060020a0380841660008181526004602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282018381101561063357600080fd5b600160a060020a03821615156111e057600080fd5b6006546111f3908263ffffffff6111b916565b600655600160a060020a03821660009081526004602052604090205461121f908263ffffffff6111b916565b600160a060020a03831660008181526004602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600160a060020a038116151561128c57600080fd5b6112968282610df0565b15156112a157600080fd5b600160a060020a0316600090815260209190915260409020805460ff19169055565b600160a060020a03811615156112d857600080fd5b6112e28282610df0565b156112ec57600080fd5b600160a060020a0316600090815260209190915260409020805460ff191660011790555600a165627a7a723058207fe1c25e66bc435cc4a91de755c34f24850143c97662a79d0163ce43f71d1d4c0029

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000121836204bc2ce21e000000000000000000000000000000c5d2509cb740ba519c2a667f2bf3f4e0a2b95f50000000000000000000000000000000000000000000000000000000000000000b5367616d6520546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000353474d0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Sgame Token
Arg [1] : symbol (string): SGM
Arg [2] : decimals (uint8): 18
Arg [3] : cap (uint256): 350000000000000000000000000
Arg [4] : newOwner (address): 0xC5D2509cB740BA519C2a667F2Bf3f4e0a2b95f50

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 00000000000000000000000000000000000000000121836204bc2ce21e000000
Arg [4] : 000000000000000000000000c5d2509cb740ba519c2a667f2bf3f4e0a2b95f50
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [6] : 5367616d6520546f6b656e000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 53474d0000000000000000000000000000000000000000000000000000000000


Swarm Source

bzzr://7fe1c25e66bc435cc4a91de755c34f24850143c97662a79d0163ce43f71d1d4c

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.