ETH Price: $3,273.46 (-5.80%)

Contract

0xc61fdDD0ADc21F99b6A05d830E2Ca996c25EE089
 

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

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ERC20RupiahToken

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
Yes with 5000000 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2019-04-11
*/

// File: contracts/token/IERC20.sol

/**
 * The MIT License (MIT)
 *
 * OpenZeppelin <https://github.com/OpenZeppelin/openzeppelin-solidity/>     
 * Copyright (c) 2016 Smart Contract Solutions, Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy 
 * of this software and associated documentation files (the "Software"), to deal 
 * in the Software without restriction, including without limitation the rights 
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
 * copies of the Software, and to permit persons to whom the Software is furnished to 
 * do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all 
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
pragma solidity 0.4.25;

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
interface IERC20 {
    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);

    function totalSupply() external view returns (uint256);

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

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

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

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

// File: contracts/math/SafeMath.sol

/**
 * The MIT License (MIT)
 *
 * OpenZeppelin <https://github.com/OpenZeppelin/openzeppelin-solidity/>     
 * Copyright (c) 2016 Smart Contract Solutions, Inc.
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy 
 * of this software and associated documentation files (the "Software"), to deal 
 * in the Software without restriction, including without limitation the rights 
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
 * copies of the Software, and to permit persons to whom the Software is furnished to 
 * do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all 
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
pragma solidity 0.4.25;

/**
 * @title SafeMath
 * @dev Unsigned math operations with safety checks that revert on error
 */
library SafeMath {
    /**
    * @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 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 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 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 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: contracts/ownership/Ownable.sol

/**
 * The MIT License (MIT)
 *
 * OpenZeppelin <https://github.com/OpenZeppelin/openzeppelin-solidity/>     
 * Copyright (c) 2016 Smart Contract Solutions, Inc.
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy 
 * of this software and associated documentation files (the "Software"), to deal 
 * in the Software without restriction, including without limitation the rights 
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
 * copies of the Software, and to permit persons to whom the Software is furnished to 
 * do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all 
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
pragma solidity 0.4.25;

/**
 * @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 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 {
    owner = address(0);
    emit OwnershipTransferred(msg.sender, owner);
  }

  /**
   * @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));
    owner = _newOwner;
    emit OwnershipTransferred(owner, _newOwner);
  }
}

// File: contracts/lifecycle/Pausable.sol

/**
 * The MIT License (MIT)
 *
 * OpenZeppelin <https://github.com/OpenZeppelin/openzeppelin-solidity/>     
 * Copyright (c) 2016 Smart Contract Solutions, Inc.
 * Modified for Rupiah Token by FengkieJ 2019.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy 
 * of this software and associated documentation files (the "Software"), to deal 
 * in the Software without restriction, including without limitation the rights 
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
 * copies of the Software, and to permit persons to whom the Software is furnished to 
 * do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all 
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
pragma solidity 0.4.25;


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

    bool private _paused;

    /**
     * @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 onlyOwner {
        _paused = true;
        emit Paused(msg.sender);
    }

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

// File: contracts/governance/Blacklistable.sol

/**
 * Rupiah Token Smart Contract
 * Copyright (C) 2019 PT. Rupiah Token Indonesia <https://www.rupiahtoken.com/>. 
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * This file incorporates work covered byt the following copyright and
 * permission notice:
 *
 *     OpenZeppelin <https://github.com/OpenZeppelin/openzeppelin-solidity/>     
 *     Copyright (c) 2016 Smart Contract Solutions, Inc.
 *     Modified for Rupiah Token by FengkieJ 2019.
 * 
 *     centre-tokens <https://github.com/centrehq/centre-tokens>
 *     Copyright CENTRE SECZ 2018.
 *     Modified for Rupiah Token by FengkieJ 2019.
 *
 *     The MIT License (MIT)
 *
 *     Permission is hereby granted, free of charge, to any person obtaining a copy 
 *     of this software and associated documentation files (the "Software"), to deal 
 *     in the Software without restriction, including without limitation the rights 
 *     to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
 *     copies of the Software, and to permit persons to whom the Software is furnished to 
 *     do so, subject to the following conditions:
 *
 *     The above copyright notice and this permission notice shall be included in all 
 *     copies or substantial portions of the Software.
 *
 *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
 *     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
 *     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
 *     AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 
 *     CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
pragma solidity 0.4.25;


/**
 * @title Blacklistable 
 * @dev Allows accounts to be blacklisted by a "blacklister" role
*/
contract Blacklistable is Pausable {
    mapping(address => bool) internal blacklisted;

    event Blacklisted(address indexed _account);
    event Unblacklisted(address indexed _account);

    /**
     * @dev Throws if argument account is blacklisted
     * @param _account The address to check
    */
    modifier notBlacklisted(address _account) {
        require(blacklisted[_account] == false);
        _;
    }

    /**
     * @dev Checks if account is blacklisted
     * @param _account The address to check    
    */
    function isBlacklisted(address _account) public view returns (bool) {
        return blacklisted[_account];
    }

    /**
     * @dev Adds account to blacklist
     * @param _account The address to blacklist
    */
    function blacklist(address _account) public onlyOwner whenNotPaused {
        blacklisted[_account] = true;
        emit Blacklisted(_account);
    }

    /**
     * @dev Removes account from blacklist
     * @param _account The address to remove from the blacklist
    */
    function unblacklist(address _account) public onlyOwner whenNotPaused {
        blacklisted[_account] = false;
        emit Unblacklisted(_account);
    }
}

// File: contracts/zos/Initializable.sol

/**
 * The MIT License (MIT)
 *
 * ZeppelinOS (zos) <https://github.com/zeppelinos/zos>
 * Copyright (c) 2018 ZeppelinOS Global Limited.
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy 
 * of this software and associated documentation files (the "Software"), to deal 
 * in the Software without restriction, including without limitation the rights 
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
 * copies of the Software, and to permit persons to whom the Software is furnished to 
 * do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all 
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
pragma solidity >=0.4.24 <0.6.0;

/**
 * @title Initializable
 *
 * @dev Helper contract to support initializer functions. To use it, replace
 * the constructor with a function that has the `initializer` modifier.
 * WARNING: Unlike constructors, initializer functions must be manually
 * invoked. This applies both to deploying an Initializable contract, as well
 * as extending an Initializable contract via inheritance.
 * WARNING: When used with inheritance, manual care must be taken to not invoke
 * a parent initializer twice, or ensure that all initializers are idempotent,
 * because this is not dealt with automatically as with constructors.
 */
contract Initializable {

  /**
   * @dev Indicates that the contract has been initialized.
   */
  bool private initialized;

  /**
   * @dev Indicates that the contract is in the process of being initialized.
   */
  bool private initializing;

  /**
   * @dev Modifier to use in the initializer function of a contract.
   */
  modifier initializer() {
    require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized");

    bool wasInitializing = initializing;
    initializing = true;
    initialized = true;

    _;

    initializing = wasInitializing;
  }

  /// @dev Returns true if and only if the function is running in the constructor
  function isConstructor() private view returns (bool) {
    // extcodesize checks the size of the code stored in an address, and
    // address returns the current address. Since the code is still not
    // deployed when running a constructor, any checks on its code size will
    // yield zero, making it an effective way to detect if a contract is
    // under construction or not.
    uint256 cs;
    assembly { cs := extcodesize(address) }
    return cs == 0;
  }

  // Reserved storage space to allow for layout changes in the future.
  uint256[50] private ______gap;
}

// File: contracts/token/ERC20RupiahTokenV1.sol

/**
 * Rupiah Token Smart Contract
 * Copyright (C) 2019 PT. Rupiah Token Indonesia <https://www.rupiahtoken.com/>. 
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * This file incorporates work covered byt the following copyright and
 * permission notice:
 *
 *     OpenZeppelin <https://github.com/OpenZeppelin/openzeppelin-solidity/>     
 *     Copyright (c) 2016 Smart Contract Solutions, Inc.
 *     Modified for Rupiah Token by FengkieJ 2019.
 * 
 *     centre-tokens <https://github.com/centrehq/centre-tokens>
 *     Copyright CENTRE SECZ 2018.
 *     Modified for Rupiah Token by FengkieJ 2019.
 *
 *     ZeppelinOS (zos) <https://github.com/zeppelinos/zos>
 *     Copyright (c) 2018 ZeppelinOS Global Limited.
 *
 *     The MIT License (MIT)
 *
 *     Permission is hereby granted, free of charge, to any person obtaining a copy 
 *     of this software and associated documentation files (the "Software"), to deal 
 *     in the Software without restriction, including without limitation the rights 
 *     to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
 *     copies of the Software, and to permit persons to whom the Software is furnished to 
 *     do so, subject to the following conditions:
 *
 *     The above copyright notice and this permission notice shall be included in all 
 *     copies or substantial portions of the Software.
 *
 *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
 *     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
 *     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
 *     AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 
 *     CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
pragma solidity 0.4.25;







/**
 * @title ERC20RupiahToken
 * @dev ERC20 compliant fiat token that is backed by Indonesian Rupiah 1:1
 */
contract ERC20RupiahToken is IERC20, Blacklistable, Initializable {
    using SafeMath for uint256;
    
    string internal _name;
    string internal _symbol;
    string internal _currency;
    uint8 internal _decimals;
    
    mapping (address => uint256) internal _balances;
    mapping (address => mapping (address => uint256)) internal _allowed;
    uint256 internal _totalSupply;
    
    /**
     * @dev Initialize the smart contract to work with ZeppelinOS, can only be called once.
     * @param name describes the name of the token.
     * @param symbol describes the symbol of the token.
     * @param currency describes the currency of the token.
     * @param decimals describes the number of decimals of the token.
     */
    function initialize(string name, string symbol, string currency, uint8 decimals) initializer public {
	owner = msg.sender;
        _name = name;
        _symbol = symbol;
        _currency = currency;
        _decimals = decimals;
    }

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

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

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

    /**
     * @return the 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 whenNotPaused notBlacklisted(msg.sender) notBlacklisted(to) returns (bool) {
        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 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 whenNotPaused notBlacklisted(msg.sender) notBlacklisted(spender) returns (bool) {
        _approve(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 whenNotPaused notBlacklisted(msg.sender) notBlacklisted(from) notBlacklisted(to) returns (bool) {
        require(to != address(0));

        _approve(from, msg.sender, _allowed[from][msg.sender].sub(value));

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

    /**
     * @dev Increase the amount of tokens that an owner allowed to a spender.
     * approve should be called when allowed_[_spender] == 0. To increment
     * allowed value is better to use this function to avoid 2 calls (and wait until
     * the first transaction is mined)
     * From MonolithDAO Token.sol
     * 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 whenNotPaused notBlacklisted(msg.sender) notBlacklisted(spender) returns (bool) {
        _approve(msg.sender, spender, _allowed[msg.sender][spender].add(addedValue));
        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 whenNotPaused notBlacklisted(msg.sender) notBlacklisted(spender) returns (bool) {
        _approve(msg.sender, spender, _allowed[msg.sender][spender].sub(subtractedValue));
        return true;
    }

    /**
     * @dev 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) public whenNotPaused notBlacklisted(account) onlyOwner {
        require(account != address(0));
        
        value = value.mul(10**_decimals);
        _totalSupply = _totalSupply.add(value);
        _balances[account] = _balances[account].add(value);
        emit Transfer(address(0), account, value);
    }

    /**
     * @dev Function that burns an amount of the token.
     * @param value The amount that will be burnt.
     */
    function burn(uint256 value) public whenNotPaused onlyOwner {
        value = value.mul(10**_decimals);

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

    /**
     * @dev 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) public whenNotPaused notBlacklisted(account) onlyOwner {
        require(account != address(0));
        
        value = value.mul(10**_decimals);
        _totalSupply = _totalSupply.sub(value);
        _balances[account] = _balances[account].sub(value);
        emit Transfer(account, address(0), value);

        _approve(account, msg.sender, _allowed[account][msg.sender].sub(value));
    }
    
    /**
     * @dev Approve an address to spend another addresses' tokens.
     * @param owner The address that owns the tokens.
     * @param spender The address that will spend the tokens.
     * @param value The number of tokens that can be spent.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        require(spender != address(0));
        require(owner != address(0));

        _allowed[owner][spender] = value;
        emit Approval(owner, spender, value);
    }
}

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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"},{"name":"value","type":"uint256"}],"name":"mint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","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":"_account","type":"address"}],"name":"unblacklist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"},{"name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","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":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"currency","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"currency","type":"string"},{"name":"decimals","type":"uint8"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"}],"name":"blacklist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_account","type":"address"}],"name":"isBlacklisted","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_account","type":"address"}],"name":"Blacklisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_account","type":"address"}],"name":"Unblacklisted","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":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"}]

608060405260008054600160a060020a03191633179055611a40806100256000396000f3006080604052600436106101485763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461014d578063095ea7b3146101d757806318160ddd1461021c57806323b872dd14610243578063313ce5671461027a57806339509351146102a55780633f4ba83a146102d657806340c10f19146102ed57806342966c681461031e5780635c975abb1461033657806370a082311461034b578063715018a61461037957806375e3661e1461038e57806379cc6790146103bc5780638456cb59146103ed5780638da5cb5b1461040257806395d89b4114610440578063a457c2d714610455578063a9059cbb14610486578063dd62ed3e146104b7578063e5a6b10f146104eb578063ed5c475b14610500578063f2fde38b146105da578063f9f92be414610608578063fe575a8714610636575b600080fd5b34801561015957600080fd5b50610162610664565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019c578181015183820152602001610184565b50505050905090810190601f1680156101c95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101e357600080fd5b5061020873ffffffffffffffffffffffffffffffffffffffff60043516602435610719565b604080519115158252519081900360200190f35b34801561022857600080fd5b506102316107aa565b60408051918252519081900360200190f35b34801561024f57600080fd5b5061020873ffffffffffffffffffffffffffffffffffffffff600435811690602435166044356107b0565b34801561028657600080fd5b5061028f6109b8565b6040805160ff9092168252519081900360200190f35b3480156102b157600080fd5b5061020873ffffffffffffffffffffffffffffffffffffffff600435166024356109c1565b3480156102e257600080fd5b506102eb610a84565b005b3480156102f957600080fd5b506102eb73ffffffffffffffffffffffffffffffffffffffff60043516602435610b05565b34801561032a57600080fd5b506102eb600435610c7a565b34801561034257600080fd5b50610208610d69565b34801561035757600080fd5b5061023173ffffffffffffffffffffffffffffffffffffffff60043516610d8a565b34801561038557600080fd5b506102eb610db2565b34801561039a57600080fd5b506102eb73ffffffffffffffffffffffffffffffffffffffff60043516610e2a565b3480156103c857600080fd5b506102eb73ffffffffffffffffffffffffffffffffffffffff60043516602435610eea565b3480156103f957600080fd5b506102eb6110a6565b34801561040e57600080fd5b5061041761113e565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561044c57600080fd5b5061016261115a565b34801561046157600080fd5b5061020873ffffffffffffffffffffffffffffffffffffffff600435166024356111d9565b34801561049257600080fd5b5061020873ffffffffffffffffffffffffffffffffffffffff6004351660243561129c565b3480156104c357600080fd5b5061023173ffffffffffffffffffffffffffffffffffffffff60043581169060243516611405565b3480156104f757600080fd5b5061016261143d565b34801561050c57600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526102eb94369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497505050923560ff1693506114bc92505050565b3480156105e657600080fd5b506102eb73ffffffffffffffffffffffffffffffffffffffff600435166116ae565b34801561061457600080fd5b506102eb73ffffffffffffffffffffffffffffffffffffffff600435166116de565b34801561064257600080fd5b5061020873ffffffffffffffffffffffffffffffffffffffff600435166117a4565b60358054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561070e5780601f106106e35761010080835404028352916020019161070e565b820191906000526020600020905b8154815290600101906020018083116106f157829003601f168201915b505050505090505b90565b6000805474010000000000000000000000000000000000000000900460ff161561074257600080fd5b3360008181526001602052604090205460ff161561075f57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8416600090815260016020526040902054849060ff161561079457600080fd5b61079f3386866117cf565b506001949350505050565b603b5490565b6000805474010000000000000000000000000000000000000000900460ff16156107d957600080fd5b3360008181526001602052604090205460ff16156107f657600080fd5b73ffffffffffffffffffffffffffffffffffffffff8516600090815260016020526040902054859060ff161561082b57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8516600090815260016020526040902054859060ff161561086057600080fd5b73ffffffffffffffffffffffffffffffffffffffff8616151561088257600080fd5b73ffffffffffffffffffffffffffffffffffffffff87166000908152603a60209081526040808320338085529252909120546108cf9189916108ca908963ffffffff61188216565b6117cf565b73ffffffffffffffffffffffffffffffffffffffff8716600090815260396020526040902054610905908663ffffffff61188216565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152603960205260408082209390935590881681522054610947908663ffffffff6118a016565b73ffffffffffffffffffffffffffffffffffffffff80881660008181526039602090815260409182902094909455805189815290519193928b16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019695505050505050565b60385460ff1690565b6000805474010000000000000000000000000000000000000000900460ff16156109ea57600080fd5b3360008181526001602052604090205460ff1615610a0757600080fd5b73ffffffffffffffffffffffffffffffffffffffff8416600090815260016020526040902054849060ff1615610a3c57600080fd5b336000818152603a6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8a16845290915290205461079f919087906108ca908863ffffffff6118a016565b60005473ffffffffffffffffffffffffffffffffffffffff163314610aa857600080fd5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b60005474010000000000000000000000000000000000000000900460ff1615610b2d57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8216600090815260016020526040902054829060ff1615610b6257600080fd5b60005473ffffffffffffffffffffffffffffffffffffffff163314610b8657600080fd5b73ffffffffffffffffffffffffffffffffffffffff83161515610ba857600080fd5b603854610bc590839060ff908116600a0a1663ffffffff6118b916565b603b54909250610bdb908363ffffffff6118a016565b603b5573ffffffffffffffffffffffffffffffffffffffff8316600090815260396020526040902054610c14908363ffffffff6118a016565b73ffffffffffffffffffffffffffffffffffffffff841660008181526039602090815260408083209490945583518681529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505050565b60005474010000000000000000000000000000000000000000900460ff1615610ca257600080fd5b60005473ffffffffffffffffffffffffffffffffffffffff163314610cc657600080fd5b603854610ce390829060ff908116600a0a1663ffffffff6118b916565b603b54909150610cf9908263ffffffff61188216565b603b5533600090815260396020526040902054610d1c908263ffffffff61188216565b336000818152603960209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a350565b60005474010000000000000000000000000000000000000000900460ff1690565b73ffffffffffffffffffffffffffffffffffffffff1660009081526039602052604090205490565b60005473ffffffffffffffffffffffffffffffffffffffff163314610dd657600080fd5b600080547fffffffffffffffffffffffff000000000000000000000000000000000000000016815560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3565b60005473ffffffffffffffffffffffffffffffffffffffff163314610e4e57600080fd5b60005474010000000000000000000000000000000000000000900460ff1615610e7657600080fd5b73ffffffffffffffffffffffffffffffffffffffff811660008181526001602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055517f7534c63860313c46c473e4e98328f37017e9674e2162faf1a3ad7a96236c3b7b9190a250565b60005474010000000000000000000000000000000000000000900460ff1615610f1257600080fd5b73ffffffffffffffffffffffffffffffffffffffff8216600090815260016020526040902054829060ff1615610f4757600080fd5b60005473ffffffffffffffffffffffffffffffffffffffff163314610f6b57600080fd5b73ffffffffffffffffffffffffffffffffffffffff83161515610f8d57600080fd5b603854610faa90839060ff908116600a0a1663ffffffff6118b916565b603b54909250610fc0908363ffffffff61188216565b603b5573ffffffffffffffffffffffffffffffffffffffff8316600090815260396020526040902054610ff9908363ffffffff61188216565b73ffffffffffffffffffffffffffffffffffffffff84166000818152603960209081526040808320949094558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a373ffffffffffffffffffffffffffffffffffffffff83166000908152603a60209081526040808320338085529252909120546110a19185916108ca908663ffffffff61188216565b505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146110ca57600080fd5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60368054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561070e5780601f106106e35761010080835404028352916020019161070e565b6000805474010000000000000000000000000000000000000000900460ff161561120257600080fd5b3360008181526001602052604090205460ff161561121f57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8416600090815260016020526040902054849060ff161561125457600080fd5b336000818152603a6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8a16845290915290205461079f919087906108ca908863ffffffff61188216565b6000805474010000000000000000000000000000000000000000900460ff16156112c557600080fd5b3360008181526001602052604090205460ff16156112e257600080fd5b73ffffffffffffffffffffffffffffffffffffffff8416600090815260016020526040902054849060ff161561131757600080fd5b73ffffffffffffffffffffffffffffffffffffffff8516151561133957600080fd5b33600090815260396020526040902054611359908563ffffffff61188216565b336000908152603960205260408082209290925573ffffffffffffffffffffffffffffffffffffffff871681522054611398908563ffffffff6118a016565b73ffffffffffffffffffffffffffffffffffffffff86166000818152603960209081526040918290209390935580518781529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3506001949350505050565b73ffffffffffffffffffffffffffffffffffffffff9182166000908152603a6020908152604080832093909416825291909152205490565b60378054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561070e5780601f106106e35761010080835404028352916020019161070e565b600254600090610100900460ff16806114d857506114d86118e7565b806114e6575060025460ff16155b151561157957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201527f656e20696e697469616c697a6564000000000000000000000000000000000000606482015290519081900360840190fd5b506002805460016101007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff831681177fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169190911790925560008054337fffffffffffffffffffffffff0000000000000000000000000000000000000000909116179055855191900460ff1690611617906035906020880190611986565b50835161162b906036906020870190611986565b50825161163f906037906020860190611986565b506038805460ff9093167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009093169290921790915560028054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146116d257600080fd5b6116db816118f1565b50565b60005473ffffffffffffffffffffffffffffffffffffffff16331461170257600080fd5b60005474010000000000000000000000000000000000000000900460ff161561172a57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8116600081815260016020819052604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016909217909155517fffa4e6181777692565cf28528fc88fd1516ea86b56da075235fa575af6a4b8559190a250565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602052604090205460ff1690565b73ffffffffffffffffffffffffffffffffffffffff821615156117f157600080fd5b73ffffffffffffffffffffffffffffffffffffffff8316151561181357600080fd5b73ffffffffffffffffffffffffffffffffffffffff8084166000818152603a6020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000808383111561189257600080fd5b5050808203805b5092915050565b6000828201838110156118b257600080fd5b9392505050565b6000808315156118cc5760009150611899565b508282028284828115156118dc57fe5b04146118b257600080fd5b303b8015905b5090565b73ffffffffffffffffffffffffffffffffffffffff8116151561191357600080fd5b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83811691821780845560405192939116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106119c757805160ff19168380011785556119f4565b828001600101855582156119f4579182015b828111156119f45782518255916020019190600101906119d9565b506118ed926107169250905b808211156118ed5760008155600101611a005600a165627a7a72305820a8653069fefa30585aa5bc0527bc0f3854db3575c1afe3662bc00cf12d29a8f40029

Deployed Bytecode

0x6080604052600436106101485763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461014d578063095ea7b3146101d757806318160ddd1461021c57806323b872dd14610243578063313ce5671461027a57806339509351146102a55780633f4ba83a146102d657806340c10f19146102ed57806342966c681461031e5780635c975abb1461033657806370a082311461034b578063715018a61461037957806375e3661e1461038e57806379cc6790146103bc5780638456cb59146103ed5780638da5cb5b1461040257806395d89b4114610440578063a457c2d714610455578063a9059cbb14610486578063dd62ed3e146104b7578063e5a6b10f146104eb578063ed5c475b14610500578063f2fde38b146105da578063f9f92be414610608578063fe575a8714610636575b600080fd5b34801561015957600080fd5b50610162610664565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019c578181015183820152602001610184565b50505050905090810190601f1680156101c95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101e357600080fd5b5061020873ffffffffffffffffffffffffffffffffffffffff60043516602435610719565b604080519115158252519081900360200190f35b34801561022857600080fd5b506102316107aa565b60408051918252519081900360200190f35b34801561024f57600080fd5b5061020873ffffffffffffffffffffffffffffffffffffffff600435811690602435166044356107b0565b34801561028657600080fd5b5061028f6109b8565b6040805160ff9092168252519081900360200190f35b3480156102b157600080fd5b5061020873ffffffffffffffffffffffffffffffffffffffff600435166024356109c1565b3480156102e257600080fd5b506102eb610a84565b005b3480156102f957600080fd5b506102eb73ffffffffffffffffffffffffffffffffffffffff60043516602435610b05565b34801561032a57600080fd5b506102eb600435610c7a565b34801561034257600080fd5b50610208610d69565b34801561035757600080fd5b5061023173ffffffffffffffffffffffffffffffffffffffff60043516610d8a565b34801561038557600080fd5b506102eb610db2565b34801561039a57600080fd5b506102eb73ffffffffffffffffffffffffffffffffffffffff60043516610e2a565b3480156103c857600080fd5b506102eb73ffffffffffffffffffffffffffffffffffffffff60043516602435610eea565b3480156103f957600080fd5b506102eb6110a6565b34801561040e57600080fd5b5061041761113e565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561044c57600080fd5b5061016261115a565b34801561046157600080fd5b5061020873ffffffffffffffffffffffffffffffffffffffff600435166024356111d9565b34801561049257600080fd5b5061020873ffffffffffffffffffffffffffffffffffffffff6004351660243561129c565b3480156104c357600080fd5b5061023173ffffffffffffffffffffffffffffffffffffffff60043581169060243516611405565b3480156104f757600080fd5b5061016261143d565b34801561050c57600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526102eb94369492936024939284019190819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497505050923560ff1693506114bc92505050565b3480156105e657600080fd5b506102eb73ffffffffffffffffffffffffffffffffffffffff600435166116ae565b34801561061457600080fd5b506102eb73ffffffffffffffffffffffffffffffffffffffff600435166116de565b34801561064257600080fd5b5061020873ffffffffffffffffffffffffffffffffffffffff600435166117a4565b60358054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561070e5780601f106106e35761010080835404028352916020019161070e565b820191906000526020600020905b8154815290600101906020018083116106f157829003601f168201915b505050505090505b90565b6000805474010000000000000000000000000000000000000000900460ff161561074257600080fd5b3360008181526001602052604090205460ff161561075f57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8416600090815260016020526040902054849060ff161561079457600080fd5b61079f3386866117cf565b506001949350505050565b603b5490565b6000805474010000000000000000000000000000000000000000900460ff16156107d957600080fd5b3360008181526001602052604090205460ff16156107f657600080fd5b73ffffffffffffffffffffffffffffffffffffffff8516600090815260016020526040902054859060ff161561082b57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8516600090815260016020526040902054859060ff161561086057600080fd5b73ffffffffffffffffffffffffffffffffffffffff8616151561088257600080fd5b73ffffffffffffffffffffffffffffffffffffffff87166000908152603a60209081526040808320338085529252909120546108cf9189916108ca908963ffffffff61188216565b6117cf565b73ffffffffffffffffffffffffffffffffffffffff8716600090815260396020526040902054610905908663ffffffff61188216565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152603960205260408082209390935590881681522054610947908663ffffffff6118a016565b73ffffffffffffffffffffffffffffffffffffffff80881660008181526039602090815260409182902094909455805189815290519193928b16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019695505050505050565b60385460ff1690565b6000805474010000000000000000000000000000000000000000900460ff16156109ea57600080fd5b3360008181526001602052604090205460ff1615610a0757600080fd5b73ffffffffffffffffffffffffffffffffffffffff8416600090815260016020526040902054849060ff1615610a3c57600080fd5b336000818152603a6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8a16845290915290205461079f919087906108ca908863ffffffff6118a016565b60005473ffffffffffffffffffffffffffffffffffffffff163314610aa857600080fd5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b60005474010000000000000000000000000000000000000000900460ff1615610b2d57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8216600090815260016020526040902054829060ff1615610b6257600080fd5b60005473ffffffffffffffffffffffffffffffffffffffff163314610b8657600080fd5b73ffffffffffffffffffffffffffffffffffffffff83161515610ba857600080fd5b603854610bc590839060ff908116600a0a1663ffffffff6118b916565b603b54909250610bdb908363ffffffff6118a016565b603b5573ffffffffffffffffffffffffffffffffffffffff8316600090815260396020526040902054610c14908363ffffffff6118a016565b73ffffffffffffffffffffffffffffffffffffffff841660008181526039602090815260408083209490945583518681529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505050565b60005474010000000000000000000000000000000000000000900460ff1615610ca257600080fd5b60005473ffffffffffffffffffffffffffffffffffffffff163314610cc657600080fd5b603854610ce390829060ff908116600a0a1663ffffffff6118b916565b603b54909150610cf9908263ffffffff61188216565b603b5533600090815260396020526040902054610d1c908263ffffffff61188216565b336000818152603960209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a350565b60005474010000000000000000000000000000000000000000900460ff1690565b73ffffffffffffffffffffffffffffffffffffffff1660009081526039602052604090205490565b60005473ffffffffffffffffffffffffffffffffffffffff163314610dd657600080fd5b600080547fffffffffffffffffffffffff000000000000000000000000000000000000000016815560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3565b60005473ffffffffffffffffffffffffffffffffffffffff163314610e4e57600080fd5b60005474010000000000000000000000000000000000000000900460ff1615610e7657600080fd5b73ffffffffffffffffffffffffffffffffffffffff811660008181526001602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055517f7534c63860313c46c473e4e98328f37017e9674e2162faf1a3ad7a96236c3b7b9190a250565b60005474010000000000000000000000000000000000000000900460ff1615610f1257600080fd5b73ffffffffffffffffffffffffffffffffffffffff8216600090815260016020526040902054829060ff1615610f4757600080fd5b60005473ffffffffffffffffffffffffffffffffffffffff163314610f6b57600080fd5b73ffffffffffffffffffffffffffffffffffffffff83161515610f8d57600080fd5b603854610faa90839060ff908116600a0a1663ffffffff6118b916565b603b54909250610fc0908363ffffffff61188216565b603b5573ffffffffffffffffffffffffffffffffffffffff8316600090815260396020526040902054610ff9908363ffffffff61188216565b73ffffffffffffffffffffffffffffffffffffffff84166000818152603960209081526040808320949094558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a373ffffffffffffffffffffffffffffffffffffffff83166000908152603a60209081526040808320338085529252909120546110a19185916108ca908663ffffffff61188216565b505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146110ca57600080fd5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60368054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561070e5780601f106106e35761010080835404028352916020019161070e565b6000805474010000000000000000000000000000000000000000900460ff161561120257600080fd5b3360008181526001602052604090205460ff161561121f57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8416600090815260016020526040902054849060ff161561125457600080fd5b336000818152603a6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8a16845290915290205461079f919087906108ca908863ffffffff61188216565b6000805474010000000000000000000000000000000000000000900460ff16156112c557600080fd5b3360008181526001602052604090205460ff16156112e257600080fd5b73ffffffffffffffffffffffffffffffffffffffff8416600090815260016020526040902054849060ff161561131757600080fd5b73ffffffffffffffffffffffffffffffffffffffff8516151561133957600080fd5b33600090815260396020526040902054611359908563ffffffff61188216565b336000908152603960205260408082209290925573ffffffffffffffffffffffffffffffffffffffff871681522054611398908563ffffffff6118a016565b73ffffffffffffffffffffffffffffffffffffffff86166000818152603960209081526040918290209390935580518781529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3506001949350505050565b73ffffffffffffffffffffffffffffffffffffffff9182166000908152603a6020908152604080832093909416825291909152205490565b60378054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561070e5780601f106106e35761010080835404028352916020019161070e565b600254600090610100900460ff16806114d857506114d86118e7565b806114e6575060025460ff16155b151561157957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201527f656e20696e697469616c697a6564000000000000000000000000000000000000606482015290519081900360840190fd5b506002805460016101007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff831681177fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169190911790925560008054337fffffffffffffffffffffffff0000000000000000000000000000000000000000909116179055855191900460ff1690611617906035906020880190611986565b50835161162b906036906020870190611986565b50825161163f906037906020860190611986565b506038805460ff9093167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009093169290921790915560028054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146116d257600080fd5b6116db816118f1565b50565b60005473ffffffffffffffffffffffffffffffffffffffff16331461170257600080fd5b60005474010000000000000000000000000000000000000000900460ff161561172a57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8116600081815260016020819052604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016909217909155517fffa4e6181777692565cf28528fc88fd1516ea86b56da075235fa575af6a4b8559190a250565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602052604090205460ff1690565b73ffffffffffffffffffffffffffffffffffffffff821615156117f157600080fd5b73ffffffffffffffffffffffffffffffffffffffff8316151561181357600080fd5b73ffffffffffffffffffffffffffffffffffffffff8084166000818152603a6020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000808383111561189257600080fd5b5050808203805b5092915050565b6000828201838110156118b257600080fd5b9392505050565b6000808315156118cc5760009150611899565b508282028284828115156118dc57fe5b04146118b257600080fd5b303b8015905b5090565b73ffffffffffffffffffffffffffffffffffffffff8116151561191357600080fd5b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83811691821780845560405192939116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106119c757805160ff19168380011785556119f4565b828001600101855582156119f4579182015b828111156119f45782518255916020019190600101906119d9565b506118ed926107169250905b808211156118ed5760008155600101611a005600a165627a7a72305820a8653069fefa30585aa5bc0527bc0f3854db3575c1afe3662bc00cf12d29a8f40029

Swarm Source

bzzr://a8653069fefa30585aa5bc0527bc0f3854db3575c1afe3662bc00cf12d29a8f4

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.