ETH Price: $3,433.81 (-0.05%)

Contract

0xF62E8a7d6FE7d660f0fFf60E61fb9488d22d47e6
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Advanced mode:
Parent Transaction Hash Block
From
To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Donut

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2019-01-14
*/

pragma solidity 0.4.25;

// File: openzeppelin-solidity/contracts/math/SafeMath.sol

/**
 * @title SafeMath
 * @dev Math operations with safety checks that revert on error
 */
library SafeMath {
    int256 constant private INT256_MIN = -2**255;

    /**
    * @dev Multiplies two unsigned integers, 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 Multiplies two signed integers, reverts on overflow.
    */
    function mul(int256 a, int256 b) internal pure returns (int256) {
        // 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;
        }

        require(!(a == -1 && b == INT256_MIN)); // This is the only case of overflow not detected by the check below

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

        return c;
    }

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

        return c;
    }

    /**
    * @dev Integer division of two signed integers truncating the quotient, reverts on division by zero.
    */
    function div(int256 a, int256 b) internal pure returns (int256) {
        require(b != 0); // Solidity only automatically asserts when dividing by 0
        require(!(b == -1 && a == INT256_MIN)); // This is the only case of overflow

        int256 c = a / b;

        return c;
    }

    /**
    * @dev Subtracts two unsigned integers, 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 Subtracts two signed integers, reverts on overflow.
    */
    function sub(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));

        return c;
    }

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

        return c;
    }

    /**
    * @dev Adds two signed integers, reverts on overflow.
    */
    function add(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));

        return c;
    }

    /**
    * @dev Divides two unsigned integers 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;
    }
}

// File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol

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

// File: openzeppelin-solidity/contracts/token/ERC20/ERC20.sol

/**
 * @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
 *
 * This implementation emits additional Approval events, allowing applications to reconstruct the allowance status for
 * all accounts just by listening to said events. Note that this isn't required by the specification, and other
 * compliant implementations may not do it.
 */
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.
     * Note that while this function emits an Approval event, this is not required as per the specification,
     * and other compliant implementations may not emit the event.
     * @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) {
        _allowed[from][msg.sender] = _allowed[from][msg.sender].sub(value);
        _transfer(from, to, value);
        emit Approval(from, msg.sender, _allowed[from][msg.sender]);
        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
     * Emits an Approval event.
     * @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
     * Emits an Approval event.
     * @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(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 != address(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 != address(0));

        _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.
     * Emits an Approval event (reflecting the reduced allowance).
     * @param account The account whose tokens will be burnt.
     * @param value The amount that will be burnt.
     */
    function _burnFrom(address account, uint256 value) internal {
        _allowed[account][msg.sender] = _allowed[account][msg.sender].sub(value);
        _burn(account, value);
        emit Approval(account, msg.sender, _allowed[account][msg.sender]);
    }
}

// File: openzeppelin-solidity/contracts/token/ERC20/ERC20Detailed.sol

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

// File: openzeppelin-solidity/contracts/access/Roles.sol

/**
 * @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];
    }
}

// File: openzeppelin-solidity/contracts/access/roles/MinterRole.sol

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);
    }
}

// File: openzeppelin-solidity/contracts/token/ERC20/ERC20Mintable.sol

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

// File: openzeppelin-solidity/contracts/access/roles/PauserRole.sol

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);
    }
}

// File: openzeppelin-solidity/contracts/lifecycle/Pausable.sol

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

// File: openzeppelin-solidity/contracts/token/ERC20/ERC20Pausable.sol

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

// File: contracts/Donut.sol

contract Donut is ERC20, ERC20Detailed, ERC20Mintable, ERC20Pausable {
  using SafeMath for uint256;

  // Launching without any indexes due to a bug in Web3.
  // https://github.com/ethereum/web3.js/issues/1916
  event Deposit(
      address from,
      address accountId,
      uint256 value);

  constructor()
      ERC20Mintable()
      ERC20Pausable()
      ERC20Detailed('Donut', 'DONUT', 18)
      ERC20()
      public {}

  function deposit(
      address accountId,
      uint256 value)
      public
      whenNotPaused
      returns (bool) {
    // Require deposits to be in whole number amounts.
    require(value.mod(1e18) == 0);
    _burn(msg.sender, value);
    emit Deposit(msg.sender, accountId, value);
    return true;
  }

  function depositFrom(
      address accountId,
      address from,
      uint256 value)
      public
      whenNotPaused
      returns (bool) {
    // Require deposits to be in whole number amounts.
    require(value.mod(1e18) == 0);
    _burnFrom(from, value);
    emit Deposit(from, accountId, value);
    return true;
  }
}

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":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":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":true,"inputs":[{"name":"account","type":"address"}],"name":"isPauser","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"accountId","type":"address"},{"name":"value","type":"uint256"}],"name":"deposit","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"accountId","type":"address"},{"name":"from","type":"address"},{"name":"value","type":"uint256"}],"name":"depositFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":"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":"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"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"from","type":"address"},{"indexed":false,"name":"accountId","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Deposit","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":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterRemoved","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"}]

60806040523480156200001157600080fd5b506040805190810160405280600581526020017f446f6e75740000000000000000000000000000000000000000000000000000008152506040805190810160405280600581526020017f444f4e5554000000000000000000000000000000000000000000000000000000815250601282600390805190602001906200009892919062000235565b508151620000ae90600490602085019062000235565b506005805460ff191660ff9290921691909117905550620000da905033640100000000620000fe810204565b620000ee3364010000000062000150810204565b6008805460ff19169055620002da565b6200011960068264010000000062000ffe620001a282021704565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b6200016b60078264010000000062000ffe620001a282021704565b604051600160a060020a038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b600160a060020a0381161515620001b857600080fd5b620001cd8282640100000000620001fd810204565b15620001d857600080fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b6000600160a060020a03821615156200021557600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200027857805160ff1916838001178555620002a8565b82800160010185558215620002a8579182015b82811115620002a85782518255916020019190600101906200028b565b50620002b6929150620002ba565b5090565b620002d791905b80821115620002b65760008155600101620002c1565b90565b61109880620002ea6000396000f3006080604052600436106101325763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610137578063095ea7b3146101c157806318160ddd146101f957806323b872dd14610220578063313ce5671461024a57806339509351146102755780633f4ba83a1461029957806340c10f19146102b057806346fbf68e146102d457806347e7ef24146102f55780635c975abb1461031957806368a9674d1461032e5780636ef8d66d1461035857806370a082311461036d57806382dc1ec41461038e5780638456cb59146103af57806395d89b41146103c4578063983b2d56146103d957806398650275146103fa578063a457c2d71461040f578063a9059cbb14610433578063aa271e1a14610457578063dd62ed3e14610478575b600080fd5b34801561014357600080fd5b5061014c61049f565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561018657818101518382015260200161016e565b50505050905090810190601f1680156101b35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101cd57600080fd5b506101e5600160a060020a0360043516602435610535565b604080519115158252519081900360200190f35b34801561020557600080fd5b5061020e610559565b60408051918252519081900360200190f35b34801561022c57600080fd5b506101e5600160a060020a036004358116906024351660443561055f565b34801561025657600080fd5b5061025f610585565b6040805160ff9092168252519081900360200190f35b34801561028157600080fd5b506101e5600160a060020a036004351660243561058e565b3480156102a557600080fd5b506102ae6105ab565b005b3480156102bc57600080fd5b506101e5600160a060020a036004351660243561060f565b3480156102e057600080fd5b506101e5600160a060020a0360043516610638565b34801561030157600080fd5b506101e5600160a060020a0360043516602435610651565b34801561032557600080fd5b506101e56106e1565b34801561033a57600080fd5b506101e5600160a060020a03600435811690602435166044356106ea565b34801561036457600080fd5b506102ae61077d565b34801561037957600080fd5b5061020e600160a060020a0360043516610788565b34801561039a57600080fd5b506102ae600160a060020a03600435166107a3565b3480156103bb57600080fd5b506102ae6107c3565b3480156103d057600080fd5b5061014c610829565b3480156103e557600080fd5b506102ae600160a060020a036004351661088a565b34801561040657600080fd5b506102ae6108a7565b34801561041b57600080fd5b506101e5600160a060020a03600435166024356108b0565b34801561043f57600080fd5b506101e5600160a060020a03600435166024356108cd565b34801561046357600080fd5b506101e5600160a060020a03600435166108ea565b34801561048457600080fd5b5061020e600160a060020a03600435811690602435166108fd565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561052b5780601f106105005761010080835404028352916020019161052b565b820191906000526020600020905b81548152906001019060200180831161050e57829003601f168201915b5050505050905090565b60085460009060ff161561054857600080fd5b6105528383610928565b9392505050565b60025490565b60085460009060ff161561057257600080fd5b61057d848484610994565b949350505050565b60055460ff1690565b60085460009060ff16156105a157600080fd5b6105528383610a4b565b6105b433610638565b15156105bf57600080fd5b60085460ff1615156105d057600080fd5b6008805460ff191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b600061061a336108ea565b151561062557600080fd5b61062f8383610ae9565b50600192915050565b600061064b60078363ffffffff610b9316565b92915050565b60085460009060ff161561066457600080fd5b61067c82670de0b6b3a764000063ffffffff610bca16565b1561068657600080fd5b6106903383610beb565b60408051338152600160a060020a038516602082015280820184905290517f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f629181900360600190a150600192915050565b60085460ff1690565b60085460009060ff16156106fd57600080fd5b61071582670de0b6b3a764000063ffffffff610bca16565b1561071f57600080fd5b6107298383610c94565b60408051600160a060020a0380861682528616602082015280820184905290517f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f629181900360600190a15060019392505050565b61078633610d44565b565b600160a060020a031660009081526020819052604090205490565b6107ac33610638565b15156107b757600080fd5b6107c081610d8c565b50565b6107cc33610638565b15156107d757600080fd5b60085460ff16156107e757600080fd5b6008805460ff191660011790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561052b5780601f106105005761010080835404028352916020019161052b565b610893336108ea565b151561089e57600080fd5b6107c081610dd4565b61078633610e1c565b60085460009060ff16156108c357600080fd5b6105528383610e64565b60085460009060ff16156108e057600080fd5b6105528383610eaf565b600061064b60068363ffffffff610b9316565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b6000600160a060020a038316151561093f57600080fd5b336000818152600160209081526040808320600160a060020a038816808552908352928190208690558051868152905192939260008051602061104d833981519152929181900390910190a350600192915050565b600160a060020a03831660009081526001602090815260408083203384529091528120546109c8908363ffffffff610ebc16565b600160a060020a03851660009081526001602090815260408083203384529091529020556109f7848484610ed3565b600160a060020a03841660008181526001602090815260408083203380855290835292819020548151908152905192939260008051602061104d833981519152929181900390910190a35060019392505050565b6000600160a060020a0383161515610a6257600080fd5b336000908152600160209081526040808320600160a060020a0387168452909152902054610a96908363ffffffff610fa016565b336000818152600160209081526040808320600160a060020a03891680855290835292819020859055805194855251919360008051602061104d833981519152929081900390910190a350600192915050565b600160a060020a0382161515610afe57600080fd5b600254610b11908263ffffffff610fa016565b600255600160a060020a038216600090815260208190526040902054610b3d908263ffffffff610fa016565b600160a060020a0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000600160a060020a0382161515610baa57600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b6000811515610bd857600080fd5b8183811515610be357fe5b069392505050565b600160a060020a0382161515610c0057600080fd5b600254610c13908263ffffffff610ebc16565b600255600160a060020a038216600090815260208190526040902054610c3f908263ffffffff610ebc16565b600160a060020a038316600081815260208181526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b600160a060020a0382166000908152600160209081526040808320338452909152902054610cc8908263ffffffff610ebc16565b600160a060020a0383166000908152600160209081526040808320338452909152902055610cf68282610beb565b600160a060020a03821660008181526001602090815260408083203380855290835292819020548151908152905192939260008051602061104d833981519152929181900390910190a35050565b610d5560078263ffffffff610fb216565b604051600160a060020a038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b610d9d60078263ffffffff610ffe16565b604051600160a060020a038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b610de560068263ffffffff610ffe16565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b610e2d60068263ffffffff610fb216565b604051600160a060020a038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b6000600160a060020a0383161515610e7b57600080fd5b336000908152600160209081526040808320600160a060020a0387168452909152902054610a96908363ffffffff610ebc16565b600061062f338484610ed3565b60008083831115610ecc57600080fd5b5050900390565b600160a060020a0382161515610ee857600080fd5b600160a060020a038316600090815260208190526040902054610f11908263ffffffff610ebc16565b600160a060020a038085166000908152602081905260408082209390935590841681522054610f46908263ffffffff610fa016565b600160a060020a038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282018381101561055257600080fd5b600160a060020a0381161515610fc757600080fd5b610fd18282610b93565b1515610fdc57600080fd5b600160a060020a0316600090815260209190915260409020805460ff19169055565b600160a060020a038116151561101357600080fd5b61101d8282610b93565b1561102757600080fd5b600160a060020a0316600090815260209190915260409020805460ff1916600117905556008c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a165627a7a72305820420b5df6cc7a2f5e56b2feae63086b7247f105ad9a0d3eabf603954209ef9e1b0029

Deployed Bytecode

0x6080604052600436106101325763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610137578063095ea7b3146101c157806318160ddd146101f957806323b872dd14610220578063313ce5671461024a57806339509351146102755780633f4ba83a1461029957806340c10f19146102b057806346fbf68e146102d457806347e7ef24146102f55780635c975abb1461031957806368a9674d1461032e5780636ef8d66d1461035857806370a082311461036d57806382dc1ec41461038e5780638456cb59146103af57806395d89b41146103c4578063983b2d56146103d957806398650275146103fa578063a457c2d71461040f578063a9059cbb14610433578063aa271e1a14610457578063dd62ed3e14610478575b600080fd5b34801561014357600080fd5b5061014c61049f565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561018657818101518382015260200161016e565b50505050905090810190601f1680156101b35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101cd57600080fd5b506101e5600160a060020a0360043516602435610535565b604080519115158252519081900360200190f35b34801561020557600080fd5b5061020e610559565b60408051918252519081900360200190f35b34801561022c57600080fd5b506101e5600160a060020a036004358116906024351660443561055f565b34801561025657600080fd5b5061025f610585565b6040805160ff9092168252519081900360200190f35b34801561028157600080fd5b506101e5600160a060020a036004351660243561058e565b3480156102a557600080fd5b506102ae6105ab565b005b3480156102bc57600080fd5b506101e5600160a060020a036004351660243561060f565b3480156102e057600080fd5b506101e5600160a060020a0360043516610638565b34801561030157600080fd5b506101e5600160a060020a0360043516602435610651565b34801561032557600080fd5b506101e56106e1565b34801561033a57600080fd5b506101e5600160a060020a03600435811690602435166044356106ea565b34801561036457600080fd5b506102ae61077d565b34801561037957600080fd5b5061020e600160a060020a0360043516610788565b34801561039a57600080fd5b506102ae600160a060020a03600435166107a3565b3480156103bb57600080fd5b506102ae6107c3565b3480156103d057600080fd5b5061014c610829565b3480156103e557600080fd5b506102ae600160a060020a036004351661088a565b34801561040657600080fd5b506102ae6108a7565b34801561041b57600080fd5b506101e5600160a060020a03600435166024356108b0565b34801561043f57600080fd5b506101e5600160a060020a03600435166024356108cd565b34801561046357600080fd5b506101e5600160a060020a03600435166108ea565b34801561048457600080fd5b5061020e600160a060020a03600435811690602435166108fd565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561052b5780601f106105005761010080835404028352916020019161052b565b820191906000526020600020905b81548152906001019060200180831161050e57829003601f168201915b5050505050905090565b60085460009060ff161561054857600080fd5b6105528383610928565b9392505050565b60025490565b60085460009060ff161561057257600080fd5b61057d848484610994565b949350505050565b60055460ff1690565b60085460009060ff16156105a157600080fd5b6105528383610a4b565b6105b433610638565b15156105bf57600080fd5b60085460ff1615156105d057600080fd5b6008805460ff191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b600061061a336108ea565b151561062557600080fd5b61062f8383610ae9565b50600192915050565b600061064b60078363ffffffff610b9316565b92915050565b60085460009060ff161561066457600080fd5b61067c82670de0b6b3a764000063ffffffff610bca16565b1561068657600080fd5b6106903383610beb565b60408051338152600160a060020a038516602082015280820184905290517f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f629181900360600190a150600192915050565b60085460ff1690565b60085460009060ff16156106fd57600080fd5b61071582670de0b6b3a764000063ffffffff610bca16565b1561071f57600080fd5b6107298383610c94565b60408051600160a060020a0380861682528616602082015280820184905290517f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f629181900360600190a15060019392505050565b61078633610d44565b565b600160a060020a031660009081526020819052604090205490565b6107ac33610638565b15156107b757600080fd5b6107c081610d8c565b50565b6107cc33610638565b15156107d757600080fd5b60085460ff16156107e757600080fd5b6008805460ff191660011790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561052b5780601f106105005761010080835404028352916020019161052b565b610893336108ea565b151561089e57600080fd5b6107c081610dd4565b61078633610e1c565b60085460009060ff16156108c357600080fd5b6105528383610e64565b60085460009060ff16156108e057600080fd5b6105528383610eaf565b600061064b60068363ffffffff610b9316565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b6000600160a060020a038316151561093f57600080fd5b336000818152600160209081526040808320600160a060020a038816808552908352928190208690558051868152905192939260008051602061104d833981519152929181900390910190a350600192915050565b600160a060020a03831660009081526001602090815260408083203384529091528120546109c8908363ffffffff610ebc16565b600160a060020a03851660009081526001602090815260408083203384529091529020556109f7848484610ed3565b600160a060020a03841660008181526001602090815260408083203380855290835292819020548151908152905192939260008051602061104d833981519152929181900390910190a35060019392505050565b6000600160a060020a0383161515610a6257600080fd5b336000908152600160209081526040808320600160a060020a0387168452909152902054610a96908363ffffffff610fa016565b336000818152600160209081526040808320600160a060020a03891680855290835292819020859055805194855251919360008051602061104d833981519152929081900390910190a350600192915050565b600160a060020a0382161515610afe57600080fd5b600254610b11908263ffffffff610fa016565b600255600160a060020a038216600090815260208190526040902054610b3d908263ffffffff610fa016565b600160a060020a0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000600160a060020a0382161515610baa57600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b6000811515610bd857600080fd5b8183811515610be357fe5b069392505050565b600160a060020a0382161515610c0057600080fd5b600254610c13908263ffffffff610ebc16565b600255600160a060020a038216600090815260208190526040902054610c3f908263ffffffff610ebc16565b600160a060020a038316600081815260208181526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b600160a060020a0382166000908152600160209081526040808320338452909152902054610cc8908263ffffffff610ebc16565b600160a060020a0383166000908152600160209081526040808320338452909152902055610cf68282610beb565b600160a060020a03821660008181526001602090815260408083203380855290835292819020548151908152905192939260008051602061104d833981519152929181900390910190a35050565b610d5560078263ffffffff610fb216565b604051600160a060020a038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b610d9d60078263ffffffff610ffe16565b604051600160a060020a038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b610de560068263ffffffff610ffe16565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b610e2d60068263ffffffff610fb216565b604051600160a060020a038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b6000600160a060020a0383161515610e7b57600080fd5b336000908152600160209081526040808320600160a060020a0387168452909152902054610a96908363ffffffff610ebc16565b600061062f338484610ed3565b60008083831115610ecc57600080fd5b5050900390565b600160a060020a0382161515610ee857600080fd5b600160a060020a038316600090815260208190526040902054610f11908263ffffffff610ebc16565b600160a060020a038085166000908152602081905260408082209390935590841681522054610f46908263ffffffff610fa016565b600160a060020a038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282018381101561055257600080fd5b600160a060020a0381161515610fc757600080fd5b610fd18282610b93565b1515610fdc57600080fd5b600160a060020a0316600090815260209190915260409020805460ff19169055565b600160a060020a038116151561101357600080fd5b61101d8282610b93565b1561102757600080fd5b600160a060020a0316600090815260209190915260409020805460ff1916600117905556008c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a165627a7a72305820420b5df6cc7a2f5e56b2feae63086b7247f105ad9a0d3eabf603954209ef9e1b0029

Swarm Source

bzzr://420b5df6cc7a2f5e56b2feae63086b7247f105ad9a0d3eabf603954209ef9e1b

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

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.