ETH Price: $2,415.11 (-1.11%)

Contract

0x1c74cFF0376FB4031Cd7492cD6dB2D66c3f2c6B9
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer204957892024-08-10 4:21:4760 days ago1723263707IN
bZx Protocol Token v1
0 ETH0.000024120.9
Approve176167152023-07-03 23:30:35463 days ago1688427035IN
bZx Protocol Token v1
0 ETH0.0003641513.93241167
Approve167635472023-03-05 17:01:35584 days ago1678035695IN
bZx Protocol Token v1
0 ETH0.0006763425.87699723
Approve160483222022-11-25 16:55:23684 days ago1669395323IN
bZx Protocol Token v1
0 ETH0.0002606710.79993081
Approve153643732022-08-18 10:04:36783 days ago1660817076IN
bZx Protocol Token v1
0 ETH0.000249839.5585009
Approve149088302022-06-05 11:23:44857 days ago1654428224IN
bZx Protocol Token v1
0 ETH0.0005152119.71195474
Approve148352862022-05-24 10:38:12869 days ago1653388692IN
bZx Protocol Token v1
0 ETH0.0002613710
Approve148240642022-05-22 15:07:29871 days ago1653232049IN
bZx Protocol Token v1
0 ETH0.0005537921.18823346
Approve144687202022-03-27 14:14:08927 days ago1648390448IN
bZx Protocol Token v1
0 ETH0.0005606621.45096112
Transfer Ownersh...135839972021-11-09 19:21:541065 days ago1636485714IN
bZx Protocol Token v1
0 ETH0.00467032159.34770431
Approve135571122021-11-05 14:23:331069 days ago1636122213IN
bZx Protocol Token v1
0 ETH0.00459792175.91629785
Approve135570192021-11-05 14:01:541069 days ago1636120914IN
bZx Protocol Token v1
0 ETH0.00317808121.59323519
Approve135569132021-11-05 13:39:541069 days ago1636119594IN
bZx Protocol Token v1
0 ETH0.00352854135.00204607
Approve131652492021-09-05 10:49:291130 days ago1630838969IN
bZx Protocol Token v1
0 ETH0.0018510870.82226658
Approve131652492021-09-05 10:49:291130 days ago1630838969IN
bZx Protocol Token v1
0 ETH0.001824969.82066841
Transfer131283762021-08-30 18:00:441136 days ago1630346444IN
bZx Protocol Token v1
0 ETH0.00306961127.90062443
Transfer129974082021-08-10 12:31:301156 days ago1628598690IN
bZx Protocol Token v1
0 ETH0.001045239
Approve129972972021-08-10 12:07:061156 days ago1628597226IN
bZx Protocol Token v1
0 ETH0.0012467142.95913674
Approve129972632021-08-10 11:59:521156 days ago1628596792IN
bZx Protocol Token v1
0 ETH0.0015425333.45408883
Transfer129389482021-08-01 9:52:441165 days ago1627811564IN
bZx Protocol Token v1
0 ETH0.000482418
Approve129009432021-07-26 9:03:141171 days ago1627290194IN
bZx Protocol Token v1
0 ETH0.00779872168
Transfer128936302021-07-25 5:38:541172 days ago1627191534IN
bZx Protocol Token v1
0 ETH0.00040215.00000145
Approve128529902021-07-18 21:25:301178 days ago1626643530IN
bZx Protocol Token v1
0 ETH0.0004719718
Approve127370952021-06-30 18:51:161197 days ago1625079076IN
bZx Protocol Token v1
0 ETH0.001106924
Approve127162092021-06-27 13:02:011200 days ago1624798921IN
bZx Protocol Token v1
0 ETH0.0004613310
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:
BZRxToken

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-09-26
*/

/**
 * Copyright 2017–2018, bZeroX, LLC. All Rights Reserved.
 * Licensed under the Apache License, Version 2.0.
 */

pragma solidity 0.4.24;


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

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) {
    // Gas optimization: this is cheaper than asserting '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;
    }

    c = _a * _b;
    assert(c / _a == _b);
    return c;
  }

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  function div(uint256 _a, uint256 _b) internal pure returns (uint256) {
    // assert(_b > 0); // Solidity automatically throws 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 _a / _b;
  }

  /**
  * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 _a, uint256 _b) internal pure returns (uint256) {
    assert(_b <= _a);
    return _a - _b;
  }

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 _a, uint256 _b) internal pure returns (uint256 c) {
    c = _a + _b;
    assert(c >= _a);
    return c;
  }
}

/**
 * @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 public owner;


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


  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  constructor() public {
    owner = msg.sender;
  }

  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(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 OwnershipRenounced(owner);
    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;
  }
}

/**
 * @title ERC20Basic
 * @dev Simpler version of ERC20 interface
 * See https://github.com/ethereum/EIPs/issues/179
 */
contract ERC20Basic {
  function totalSupply() public view returns (uint256);
  function balanceOf(address _who) public view returns (uint256);
  function transfer(address _to, uint256 _value) public returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
}

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 is ERC20Basic {
  function allowance(address _owner, address _spender)
    public view returns (uint256);

  function transferFrom(address _from, address _to, uint256 _value)
    public returns (bool);

  function approve(address _spender, uint256 _value) public returns (bool);
  event Approval(
    address indexed owner,
    address indexed spender,
    uint256 value
  );
}

/**
 * @title DetailedERC20 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 DetailedERC20 is ERC20 {
  string public name;
  string public symbol;
  uint8 public decimals;

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

/**
 * @title Basic token
 * @dev Basic version of StandardToken, with no allowances.
 */
contract BasicToken is ERC20Basic {
  using SafeMath for uint256;

  mapping(address => uint256) internal balances;

  uint256 internal totalSupply_;

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

  /**
  * @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) {
    require(_value <= balances[msg.sender]);
    require(_to != address(0));

    balances[msg.sender] = balances[msg.sender].sub(_value);
    balances[_to] = balances[_to].add(_value);
    emit Transfer(msg.sender, _to, _value);
    return true;
  }

  /**
  * @dev Gets the balance of the specified address.
  * @param _owner The address to query the 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];
  }

}

/**
 * @title Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * https://github.com/ethereum/EIPs/issues/20
 * Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 */
contract StandardToken is ERC20, BasicToken {

  mapping (address => mapping (address => uint256)) internal allowed;


  /**
   * @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 <= balances[_from]);
    require(_value <= allowed[_from][msg.sender]);
    require(_to != address(0));

    balances[_from] = balances[_from].sub(_value);
    balances[_to] = balances[_to].add(_value);
    allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
    emit Transfer(_from, _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) {
    allowed[msg.sender][_spender] = _value;
    emit Approval(msg.sender, _spender, _value);
    return true;
  }

  /**
   * @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 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 increaseApproval(
    address _spender,
    uint256 _addedValue
  )
    public
    returns (bool)
  {
    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 decreaseApproval(
    address _spender,
    uint256 _subtractedValue
  )
    public
    returns (bool)
  {
    uint256 oldValue = allowed[msg.sender][_spender];
    if (_subtractedValue >= oldValue) {
      allowed[msg.sender][_spender] = 0;
    } else {
      allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
    }
    emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

}

contract UnlimitedAllowanceToken is StandardToken {

    uint internal constant MAX_UINT = 2**256 - 1;
    
    /// @dev ERC20 transferFrom, modified such that an allowance of MAX_UINT represents an unlimited allowance, and to add revert reasons.
    /// @param _from Address to transfer from.
    /// @param _to Address to transfer to.
    /// @param _value Amount to transfer.
    /// @return Success of transfer.
    function transferFrom(
        address _from,
        address _to,
        uint256 _value)
        public
        returns (bool)
    {
        uint allowance = allowed[_from][msg.sender];
        require(_value <= balances[_from], "insufficient balance");
        require(_value <= allowance, "insufficient allowance");
        require(_to != address(0), "token burn not allowed");

        balances[_from] = balances[_from].sub(_value);
        balances[_to] = balances[_to].add(_value);
        if (allowance < MAX_UINT) {
            allowed[_from][msg.sender] = allowance.sub(_value);
        }
        emit Transfer(_from, _to, _value);
        return true;
    }

    /// @dev Transfer token for a specified address, modified to add revert reasons.
    /// @param _to The address to transfer to.
    /// @param _value The amount to be transferred.
    function transfer(
        address _to,
        uint256 _value)
        public 
        returns (bool)
    {
        require(_value <= balances[msg.sender], "insufficient balance");
        require(_to != address(0), "token burn not allowed");

        balances[msg.sender] = balances[msg.sender].sub(_value);
        balances[_to] = balances[_to].add(_value);
        emit Transfer(msg.sender, _to, _value);
        return true;
    }
}

contract BZRxToken is UnlimitedAllowanceToken, DetailedERC20, Ownable {

    event Mint(address indexed to, uint256 amount);
    event MintFinished();
    event LockingFinished();

    bool public mintingFinished = false;
    bool public lockingFinished = false;

    mapping (address => bool) public minters;

    modifier canMint() {
        require(!mintingFinished);
        _;
    }

    modifier hasMintPermission() {
        require(minters[msg.sender]);
        _;
    }

    modifier isLocked() {
        require(!lockingFinished);
        _;
    }

    constructor()
        public
        DetailedERC20(
            "bZx Protocol Token",
            "BZRX", 
            18
        )
    {
        minters[msg.sender] = true;
    }

    /// @dev ERC20 transferFrom function
    /// @param _from Address to transfer from.
    /// @param _to Address to transfer to.
    /// @param _value Amount to transfer.
    /// @return Success of transfer.
    function transferFrom(
        address _from,
        address _to,
        uint256 _value)
        public
        returns (bool)
    {
        if (lockingFinished || minters[msg.sender]) {
            return super.transferFrom(
                _from,
                _to,
                _value
            );
        }

        revert("this token is locked for transfers");
    }

    /// @dev ERC20 transfer function
    /// @param _to Address to transfer to.
    /// @param _value Amount to transfer.
    /// @return Success of transfer.
    function transfer(
        address _to, 
        uint256 _value) 
        public 
        returns (bool)
    {
        if (lockingFinished || minters[msg.sender]) {
            return super.transfer(
                _to,
                _value
            );
        }

        revert("this token is locked for transfers");
    }

    /// @dev Allows minter to initiate a transfer on behalf of another spender
    /// @param _spender Minter with permission to spend.
    /// @param _from Address to transfer from.
    /// @param _to Address to transfer to.
    /// @param _value Amount to transfer.
    /// @return Success of transfer.
    function minterTransferFrom(
        address _spender,
        address _from,
        address _to,
        uint256 _value)
        public
        hasMintPermission
        canMint
        returns (bool)
    {
        require(canTransfer(
            _spender,
            _from,
            _value),
            "canTransfer is false");

        require(_to != address(0), "token burn not allowed");

        uint allowance = allowed[_from][_spender];
        balances[_from] = balances[_from].sub(_value);
        balances[_to] = balances[_to].add(_value);
        if (allowance < MAX_UINT) {
            allowed[_from][_spender] = allowance.sub(_value);
        }
        emit Transfer(_from, _to, _value);
        return true;
    }

    /**
    * @dev Function to mint tokens
    * @param _to The address that will receive the minted tokens.
    * @param _amount The amount of tokens to mint.
    * @return A boolean that indicates if the operation was successful.
    */
    function mint(
        address _to,
        uint256 _amount)
        public
        hasMintPermission
        canMint
        returns (bool)
    {
        require(_to != address(0), "token burn not allowed");
        totalSupply_ = totalSupply_.add(_amount);
        balances[_to] = balances[_to].add(_amount);
        emit Mint(_to, _amount);
        emit Transfer(address(0), _to, _amount);
        return true;
    }

    /**
    * @dev Function to stop minting new tokens.
    * @return True if the operation was successful.
    */
    function finishMinting() 
        public 
        onlyOwner 
        canMint 
    {
        mintingFinished = true;
        emit MintFinished();
    }

    /**
    * @dev Function to stop locking token.
    * @return True if the operation was successful.
    */
    function finishLocking() 
        public 
        onlyOwner 
        isLocked 
    {
        lockingFinished = true;
        emit LockingFinished();
    }

    /**
    * @dev Function to add minter address.
    * @return True if the operation was successful.
    */
    function addMinter(
        address _minter) 
        public 
        onlyOwner 
        canMint 
    {
        minters[_minter] = true;
    }

    /**
    * @dev Function to remove minter address.
    * @return True if the operation was successful.
    */
    function removeMinter(
        address _minter) 
        public 
        onlyOwner 
        canMint 
    {
        minters[_minter] = false;
    }

    /**
    * @dev Function to check balance and allowance for a spender.
    * @return True transfer will succeed based on balance and allowance.
    */
    function canTransfer(
        address _spender,
        address _from,
        uint256 _value)
        public
        view
        returns (bool)
    {
        return (
            balances[_from] >= _value && 
            (_spender == _from || allowed[_from][_spender] >= _value)
        );
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"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":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":false,"inputs":[{"name":"_minter","type":"address"}],"name":"removeMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"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":"finishMinting","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"minterTransferFrom","outputs":[{"name":"","type":"bool"}],"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":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_minter","type":"address"}],"name":"addMinter","outputs":[],"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":"lockingFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"finishLocking","outputs":[],"payable":false,"stateMutability":"nonpayable","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":true,"inputs":[{"name":"_spender","type":"address"},{"name":"_from","type":"address"},{"name":"_value","type":"uint256"}],"name":"canTransfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"minters","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[],"name":"MintFinished","type":"event"},{"anonymous":false,"inputs":[],"name":"LockingFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"}],"name":"OwnershipRenounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]

60806040526005805460a860020a61ffff02191690553480156200002257600080fd5b5060408051808201825260128082527f625a782050726f746f636f6c20546f6b656e000000000000000000000000000060208084019182528451808601909552600485527f425a5258000000000000000000000000000000000000000000000000000000009085015282519293926200009e9160039162000102565b508151620000b490600490602085019062000102565b506005805433610100810261010060a860020a031960ff90951660ff199384161794909416939093179091556000918252600660205260409091208054909116600117905550620001a79050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200014557805160ff191683800117855562000175565b8280016001018555821562000175579182015b828111156200017557825182559160200191906001019062000158565b506200018392915062000187565b5090565b620001a491905b808211156200018357600081556001016200018e565b90565b6113f280620001b76000396000f30060806040526004361061013d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461014257806306fdde031461016b578063095ea7b3146101f557806318160ddd1461021957806323b872dd146102405780633092afd51461026a578063313ce5671461028d57806340c10f19146102b857806366188463146102dc57806370a0823114610300578063715018a6146103215780637d64bcb41461033657806389f1c26e1461034b5780638da5cb5b1461037b57806395d89b41146103ac578063983b2d56146103c1578063a9059cbb146103e2578063cb567d3314610406578063d73dd6231461041b578063d85d6d411461043f578063dd62ed3e14610454578063e46638e61461047b578063f2fde38b146104a5578063f46eccc4146104c6575b600080fd5b34801561014e57600080fd5b506101576104e7565b604080519115158252519081900360200190f35b34801561017757600080fd5b506101806104f7565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ba5781810151838201526020016101a2565b50505050905090810190601f1680156101e75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561020157600080fd5b50610157600160a060020a0360043516602435610585565b34801561022557600080fd5b5061022e6105ec565b60408051918252519081900360200190f35b34801561024c57600080fd5b50610157600160a060020a03600435811690602435166044356105f2565b34801561027657600080fd5b5061028b600160a060020a03600435166106b0565b005b34801561029957600080fd5b506102a2610704565b6040805160ff9092168252519081900360200190f35b3480156102c457600080fd5b50610157600160a060020a036004351660243561070d565b3480156102e857600080fd5b50610157600160a060020a0360043516602435610857565b34801561030c57600080fd5b5061022e600160a060020a0360043516610946565b34801561032d57600080fd5b5061028b610961565b34801561034257600080fd5b5061028b6109d9565b34801561035757600080fd5b50610157600160a060020a0360043581169060243581169060443516606435610a5c565b34801561038757600080fd5b50610390610c5a565b60408051600160a060020a039092168252519081900360200190f35b3480156103b857600080fd5b50610180610c6e565b3480156103cd57600080fd5b5061028b600160a060020a0360043516610cc9565b3480156103ee57600080fd5b50610157600160a060020a0360043516602435610d20565b34801561041257600080fd5b50610157610d60565b34801561042757600080fd5b50610157600160a060020a0360043516602435610d70565b34801561044b57600080fd5b5061028b610e09565b34801561046057600080fd5b5061022e600160a060020a0360043581169060243516610e8d565b34801561048757600080fd5b50610157600160a060020a0360043581169060243516604435610eb8565b3480156104b157600080fd5b5061028b600160a060020a0360043516610f28565b3480156104d257600080fd5b50610157600160a060020a0360043516610f50565b60055460a860020a900460ff1681565b6003805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561057d5780601f106105525761010080835404028352916020019161057d565b820191906000526020600020905b81548152906001019060200180831161056057829003601f168201915b505050505081565b336000818152600260209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60015490565b60055460009060b060020a900460ff168061061c57503360009081526006602052604090205460ff165b156106335761062c848484610f65565b90506106a9565b6040805160e560020a62461bcd02815260206004820152602260248201527f7468697320746f6b656e206973206c6f636b656420666f72207472616e73666560448201527f7273000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b9392505050565b6005546101009004600160a060020a031633146106cc57600080fd5b60055460a860020a900460ff16156106e357600080fd5b600160a060020a03166000908152600660205260409020805460ff19169055565b60055460ff1681565b3360009081526006602052604081205460ff16151561072b57600080fd5b60055460a860020a900460ff161561074257600080fd5b600160a060020a0383161515610790576040805160e560020a62461bcd0281526020600482015260166024820152600080516020611387833981519152604482015290519081900360640190fd5b6001546107a3908363ffffffff61118d16565b600155600160a060020a0383166000908152602081905260409020546107cf908363ffffffff61118d16565b600160a060020a03841660008181526020818152604091829020939093558051858152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a2604080518381529051600160a060020a038516916000916000805160206113a78339815191529181900360200190a350600192915050565b336000908152600260209081526040808320600160a060020a03861684529091528120548083106108ab57336000908152600260209081526040808320600160a060020a03881684529091528120556108e0565b6108bb818463ffffffff61119a16565b336000908152600260209081526040808320600160a060020a03891684529091529020555b336000818152600260209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a031660009081526020819052604090205490565b6005546101009004600160a060020a0316331461097d57600080fd5b600554604051610100909104600160a060020a0316907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a26005805474ffffffffffffffffffffffffffffffffffffffff0019169055565b6005546101009004600160a060020a031633146109f557600080fd5b60055460a860020a900460ff1615610a0c57600080fd5b6005805475ff000000000000000000000000000000000000000000191660a860020a1790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a1565b33600090815260066020526040812054819060ff161515610a7c57600080fd5b60055460a860020a900460ff1615610a9357600080fd5b610a9e868685610eb8565b1515610af4576040805160e560020a62461bcd02815260206004820152601460248201527f63616e5472616e736665722069732066616c7365000000000000000000000000604482015290519081900360640190fd5b600160a060020a0384161515610b42576040805160e560020a62461bcd0281526020600482015260166024820152600080516020611387833981519152604482015290519081900360640190fd5b50600160a060020a038085166000818152600260209081526040808320948a168352938152838220549282528190529190912054610b86908463ffffffff61119a16565b600160a060020a038087166000908152602081905260408082209390935590861681522054610bbb908463ffffffff61118d16565b600160a060020a038516600090815260208190526040902055600019811015610c1557610bee818463ffffffff61119a16565b600160a060020a038087166000908152600260209081526040808320938b16835292905220555b83600160a060020a031685600160a060020a03166000805160206113a7833981519152856040518082815260200191505060405180910390a350600195945050505050565b6005546101009004600160a060020a031681565b6004805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561057d5780601f106105525761010080835404028352916020019161057d565b6005546101009004600160a060020a03163314610ce557600080fd5b60055460a860020a900460ff1615610cfc57600080fd5b600160a060020a03166000908152600660205260409020805460ff19166001179055565b60055460009060b060020a900460ff1680610d4a57503360009081526006602052604090205460ff165b1561063357610d5983836111ac565b90506105e6565b60055460b060020a900460ff1681565b336000908152600260209081526040808320600160a060020a0386168452909152812054610da4908363ffffffff61118d16565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6005546101009004600160a060020a03163314610e2557600080fd5b60055460b060020a900460ff1615610e3c57600080fd5b6005805476ff00000000000000000000000000000000000000000000191660b060020a1790556040517fd5b6951701d74484fac8fc9c70e11d7eb722983818da7bcdd9750cc8740e51b290600090a1565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600160a060020a0382166000908152602081905260408120548211801590610f20575082600160a060020a031684600160a060020a03161480610f205750600160a060020a038084166000908152600260209081526040808320938816835292905220548211155b949350505050565b6005546101009004600160a060020a03163314610f4457600080fd5b610f4d816112fd565b50565b60066020526000908152604090205460ff1681565b600160a060020a038316600081815260026020908152604080832033845282528083205493835290829052812054909190831115610fed576040805160e560020a62461bcd02815260206004820152601460248201527f696e73756666696369656e742062616c616e6365000000000000000000000000604482015290519081900360640190fd5b80831115611045576040805160e560020a62461bcd02815260206004820152601660248201527f696e73756666696369656e7420616c6c6f77616e636500000000000000000000604482015290519081900360640190fd5b600160a060020a0384161515611093576040805160e560020a62461bcd0281526020600482015260166024820152600080516020611387833981519152604482015290519081900360640190fd5b600160a060020a0385166000908152602081905260409020546110bc908463ffffffff61119a16565b600160a060020a0380871660009081526020819052604080822093909355908616815220546110f1908463ffffffff61118d16565b600160a060020a03851660009081526020819052604090205560001981101561114957611124818463ffffffff61119a16565b600160a060020a03861660009081526002602090815260408083203384529091529020555b83600160a060020a031685600160a060020a03166000805160206113a7833981519152856040518082815260200191505060405180910390a3506001949350505050565b818101828110156105e657fe5b6000828211156111a657fe5b50900390565b33600090815260208190526040812054821115611213576040805160e560020a62461bcd02815260206004820152601460248201527f696e73756666696369656e742062616c616e6365000000000000000000000000604482015290519081900360640190fd5b600160a060020a0383161515611261576040805160e560020a62461bcd0281526020600482015260166024820152600080516020611387833981519152604482015290519081900360640190fd5b33600090815260208190526040902054611281908363ffffffff61119a16565b3360009081526020819052604080822092909255600160a060020a038516815220546112b3908363ffffffff61118d16565b600160a060020a038416600081815260208181526040918290209390935580518581529051919233926000805160206113a78339815191529281900390910190a350600192915050565b600160a060020a038116151561131257600080fd5b600554604051600160a060020a0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a360058054600160a060020a039092166101000274ffffffffffffffffffffffffffffffffffffffff00199092169190911790555600746f6b656e206275726e206e6f7420616c6c6f77656400000000000000000000ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820af38c2ad93cd5a7181b2888a27d3194c71d0e88eb151e993f382710f5d211cb50029

Deployed Bytecode

0x60806040526004361061013d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461014257806306fdde031461016b578063095ea7b3146101f557806318160ddd1461021957806323b872dd146102405780633092afd51461026a578063313ce5671461028d57806340c10f19146102b857806366188463146102dc57806370a0823114610300578063715018a6146103215780637d64bcb41461033657806389f1c26e1461034b5780638da5cb5b1461037b57806395d89b41146103ac578063983b2d56146103c1578063a9059cbb146103e2578063cb567d3314610406578063d73dd6231461041b578063d85d6d411461043f578063dd62ed3e14610454578063e46638e61461047b578063f2fde38b146104a5578063f46eccc4146104c6575b600080fd5b34801561014e57600080fd5b506101576104e7565b604080519115158252519081900360200190f35b34801561017757600080fd5b506101806104f7565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ba5781810151838201526020016101a2565b50505050905090810190601f1680156101e75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561020157600080fd5b50610157600160a060020a0360043516602435610585565b34801561022557600080fd5b5061022e6105ec565b60408051918252519081900360200190f35b34801561024c57600080fd5b50610157600160a060020a03600435811690602435166044356105f2565b34801561027657600080fd5b5061028b600160a060020a03600435166106b0565b005b34801561029957600080fd5b506102a2610704565b6040805160ff9092168252519081900360200190f35b3480156102c457600080fd5b50610157600160a060020a036004351660243561070d565b3480156102e857600080fd5b50610157600160a060020a0360043516602435610857565b34801561030c57600080fd5b5061022e600160a060020a0360043516610946565b34801561032d57600080fd5b5061028b610961565b34801561034257600080fd5b5061028b6109d9565b34801561035757600080fd5b50610157600160a060020a0360043581169060243581169060443516606435610a5c565b34801561038757600080fd5b50610390610c5a565b60408051600160a060020a039092168252519081900360200190f35b3480156103b857600080fd5b50610180610c6e565b3480156103cd57600080fd5b5061028b600160a060020a0360043516610cc9565b3480156103ee57600080fd5b50610157600160a060020a0360043516602435610d20565b34801561041257600080fd5b50610157610d60565b34801561042757600080fd5b50610157600160a060020a0360043516602435610d70565b34801561044b57600080fd5b5061028b610e09565b34801561046057600080fd5b5061022e600160a060020a0360043581169060243516610e8d565b34801561048757600080fd5b50610157600160a060020a0360043581169060243516604435610eb8565b3480156104b157600080fd5b5061028b600160a060020a0360043516610f28565b3480156104d257600080fd5b50610157600160a060020a0360043516610f50565b60055460a860020a900460ff1681565b6003805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561057d5780601f106105525761010080835404028352916020019161057d565b820191906000526020600020905b81548152906001019060200180831161056057829003601f168201915b505050505081565b336000818152600260209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60015490565b60055460009060b060020a900460ff168061061c57503360009081526006602052604090205460ff165b156106335761062c848484610f65565b90506106a9565b6040805160e560020a62461bcd02815260206004820152602260248201527f7468697320746f6b656e206973206c6f636b656420666f72207472616e73666560448201527f7273000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b9392505050565b6005546101009004600160a060020a031633146106cc57600080fd5b60055460a860020a900460ff16156106e357600080fd5b600160a060020a03166000908152600660205260409020805460ff19169055565b60055460ff1681565b3360009081526006602052604081205460ff16151561072b57600080fd5b60055460a860020a900460ff161561074257600080fd5b600160a060020a0383161515610790576040805160e560020a62461bcd0281526020600482015260166024820152600080516020611387833981519152604482015290519081900360640190fd5b6001546107a3908363ffffffff61118d16565b600155600160a060020a0383166000908152602081905260409020546107cf908363ffffffff61118d16565b600160a060020a03841660008181526020818152604091829020939093558051858152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a2604080518381529051600160a060020a038516916000916000805160206113a78339815191529181900360200190a350600192915050565b336000908152600260209081526040808320600160a060020a03861684529091528120548083106108ab57336000908152600260209081526040808320600160a060020a03881684529091528120556108e0565b6108bb818463ffffffff61119a16565b336000908152600260209081526040808320600160a060020a03891684529091529020555b336000818152600260209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a031660009081526020819052604090205490565b6005546101009004600160a060020a0316331461097d57600080fd5b600554604051610100909104600160a060020a0316907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a26005805474ffffffffffffffffffffffffffffffffffffffff0019169055565b6005546101009004600160a060020a031633146109f557600080fd5b60055460a860020a900460ff1615610a0c57600080fd5b6005805475ff000000000000000000000000000000000000000000191660a860020a1790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a1565b33600090815260066020526040812054819060ff161515610a7c57600080fd5b60055460a860020a900460ff1615610a9357600080fd5b610a9e868685610eb8565b1515610af4576040805160e560020a62461bcd02815260206004820152601460248201527f63616e5472616e736665722069732066616c7365000000000000000000000000604482015290519081900360640190fd5b600160a060020a0384161515610b42576040805160e560020a62461bcd0281526020600482015260166024820152600080516020611387833981519152604482015290519081900360640190fd5b50600160a060020a038085166000818152600260209081526040808320948a168352938152838220549282528190529190912054610b86908463ffffffff61119a16565b600160a060020a038087166000908152602081905260408082209390935590861681522054610bbb908463ffffffff61118d16565b600160a060020a038516600090815260208190526040902055600019811015610c1557610bee818463ffffffff61119a16565b600160a060020a038087166000908152600260209081526040808320938b16835292905220555b83600160a060020a031685600160a060020a03166000805160206113a7833981519152856040518082815260200191505060405180910390a350600195945050505050565b6005546101009004600160a060020a031681565b6004805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561057d5780601f106105525761010080835404028352916020019161057d565b6005546101009004600160a060020a03163314610ce557600080fd5b60055460a860020a900460ff1615610cfc57600080fd5b600160a060020a03166000908152600660205260409020805460ff19166001179055565b60055460009060b060020a900460ff1680610d4a57503360009081526006602052604090205460ff165b1561063357610d5983836111ac565b90506105e6565b60055460b060020a900460ff1681565b336000908152600260209081526040808320600160a060020a0386168452909152812054610da4908363ffffffff61118d16565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6005546101009004600160a060020a03163314610e2557600080fd5b60055460b060020a900460ff1615610e3c57600080fd5b6005805476ff00000000000000000000000000000000000000000000191660b060020a1790556040517fd5b6951701d74484fac8fc9c70e11d7eb722983818da7bcdd9750cc8740e51b290600090a1565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600160a060020a0382166000908152602081905260408120548211801590610f20575082600160a060020a031684600160a060020a03161480610f205750600160a060020a038084166000908152600260209081526040808320938816835292905220548211155b949350505050565b6005546101009004600160a060020a03163314610f4457600080fd5b610f4d816112fd565b50565b60066020526000908152604090205460ff1681565b600160a060020a038316600081815260026020908152604080832033845282528083205493835290829052812054909190831115610fed576040805160e560020a62461bcd02815260206004820152601460248201527f696e73756666696369656e742062616c616e6365000000000000000000000000604482015290519081900360640190fd5b80831115611045576040805160e560020a62461bcd02815260206004820152601660248201527f696e73756666696369656e7420616c6c6f77616e636500000000000000000000604482015290519081900360640190fd5b600160a060020a0384161515611093576040805160e560020a62461bcd0281526020600482015260166024820152600080516020611387833981519152604482015290519081900360640190fd5b600160a060020a0385166000908152602081905260409020546110bc908463ffffffff61119a16565b600160a060020a0380871660009081526020819052604080822093909355908616815220546110f1908463ffffffff61118d16565b600160a060020a03851660009081526020819052604090205560001981101561114957611124818463ffffffff61119a16565b600160a060020a03861660009081526002602090815260408083203384529091529020555b83600160a060020a031685600160a060020a03166000805160206113a7833981519152856040518082815260200191505060405180910390a3506001949350505050565b818101828110156105e657fe5b6000828211156111a657fe5b50900390565b33600090815260208190526040812054821115611213576040805160e560020a62461bcd02815260206004820152601460248201527f696e73756666696369656e742062616c616e6365000000000000000000000000604482015290519081900360640190fd5b600160a060020a0383161515611261576040805160e560020a62461bcd0281526020600482015260166024820152600080516020611387833981519152604482015290519081900360640190fd5b33600090815260208190526040902054611281908363ffffffff61119a16565b3360009081526020819052604080822092909255600160a060020a038516815220546112b3908363ffffffff61118d16565b600160a060020a038416600081815260208181526040918290209390935580518581529051919233926000805160206113a78339815191529281900390910190a350600192915050565b600160a060020a038116151561131257600080fd5b600554604051600160a060020a0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a360058054600160a060020a039092166101000274ffffffffffffffffffffffffffffffffffffffff00199092169190911790555600746f6b656e206275726e206e6f7420616c6c6f77656400000000000000000000ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820af38c2ad93cd5a7181b2888a27d3194c71d0e88eb151e993f382710f5d211cb50029

Swarm Source

bzzr://af38c2ad93cd5a7181b2888a27d3194c71d0e88eb151e993f382710f5d211cb5

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.