Contract 0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce

 

TxHash Block Age From To Value [TxFee]
0x32647c34ea769c77d21b21c5803c1dfba5c2664e46d5c4e05eef61fcbc9cd40073799774 days 3 hrs ago0xc1d5b98abe9362ba2d3fadd2bf595b7629406927 IN  0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce0 Ether0.001595228
0x92be3d94c5ba9b7a1b8f73ca8b4f87f03e26af68d20b341fbeaadabfa1bcf0c3731018615 days 4 mins ago0x13762304394addfd4e776c0dbca9a51784e42490 IN  0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce0 Ether0.0001147416
0x5cc955bba795426cdbd679fcc1b48b3f83dd725db05e0a8b8c239db19aa00ca2730989215 days 1 hr ago0x13762304394addfd4e776c0dbca9a51784e42490 IN  0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce0 Ether0.0001721124
0x330bbe9f3493e1cdeeb32cb697c922fd190b8b3681d7c44390f2c1beaffe0164730466815 days 20 hrs ago0x13762304394addfd4e776c0dbca9a51784e42490 IN  0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce0 Ether0.0001147416
0xaf8cc47b2597173dbb0216f79f8cfb289ddc647536dd773166a868873101f6b2730440615 days 21 hrs ago0x13762304394addfd4e776c0dbca9a51784e42490 IN  0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce0 Ether0.0001507416
0x5395505331980d5960e0f90a15dc607d93dacd7195903c5afc22bafb1c58dfe0730341316 days 1 hr ago0xd0359128c2d2fd60e03939dd332385aa49c8b842 IN  0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce0 Ether0.0009135
0xf1d399c81bf5ee05e9af51cf1d57541112c55a28f4b2827bce417e7569ef9589728972718 days 5 hrs ago0xa024b2556b9f1c4bb53033dd6f6d592fe2d8c360 IN  0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce0 Ether0.002210228
0x9ee300bdc3bffd073a7464b77461de94395b2af250b2128e7d86c3736e2b06c8722401433 days 36 mins ago0xa024b2556b9f1c4bb53033dd6f6d592fe2d8c360 IN  0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce0 Ether0.001600476
0x4b66f8ae7f6d0b34a17f4be7d9ab54fcf3bf8789097c660b44bed802d78d2f47722400433 days 39 mins ago0xa024b2556b9f1c4bb53033dd6f6d592fe2d8c360 IN  0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce0 Ether0.001600476
0xb6a9a69b20be0534f41dd3d83381e05f0897f785be52a863017bda8484c08c30722397533 days 48 mins ago0xa024b2556b9f1c4bb53033dd6f6d592fe2d8c360 IN  0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce0 Ether0.002210228
0xf35fb4899a601d36bf302618beac209bd1c311083b23826b8982f162916d15b5721875334 days 6 hrs ago0xa024b2556b9f1c4bb53033dd6f6d592fe2d8c360 IN  0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce0 Ether0.002210228
0xd5acbd0f574ef3340026915af00780a2ccbe289303ca4a942125c9bdaed10293714212550 days 12 hrs ago0xa0a2a3ba614666c67596d03462c07470b294a00d IN  0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce0 Ether0.00065746
0x541e3d96b06b5acf511f04b30e6571083f08cff5c3098d3bf403127dd7a1f470714212350 days 12 hrs ago0xa0a2a3ba614666c67596d03462c07470b294a00d IN  0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce0 Ether0.00102088
0x65ab4de883962de489935066e872fb3fd5b8c241c59f03a69d7582d160e27b9a714212050 days 12 hrs ago0xa0a2a3ba614666c67596d03462c07470b294a00d IN  0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce0 Ether0.00065618
0xf9eec9ec632f2a1f9f17d9fe720a46c18bca86419eb03cb10efda78234198264714211550 days 12 hrs ago0xa0a2a3ba614666c67596d03462c07470b294a00d IN  0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce0 Ether0.00102884
0x3ad7321bb1baa74774e95c49642b389845fb6faaa7d8d21f79b81d4e071655b7714210350 days 12 hrs ago0xa0a2a3ba614666c67596d03462c07470b294a00d IN  0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce0 Ether0.00110504
0x88a37663843f9152fd62cc773c2c345c5a5ecdefc24a13871fc8b5a68d0744c8714209750 days 12 hrs ago0xa0a2a3ba614666c67596d03462c07470b294a00d IN  0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce0 Ether0.00201658
0x1df8406ff696f6647d2dc63a4858fe7cd23a231325a60177819c219c79dc4a93714209150 days 12 hrs ago0xa0a2a3ba614666c67596d03462c07470b294a00d IN  0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce0 Ether0.00109448
0xec2ed193f3e5fb275892bf18776ea0677db7b1a3730814f0224e76c67a9aff40714207950 days 12 hrs ago0xa0a2a3ba614666c67596d03462c07470b294a00d IN  0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce0 Ether0.0391871
0x352afb8a7806bca9c745e5c4413591ae3945f67cd31d5acc712b2dd2f5a7ba20714207050 days 12 hrs ago0xa0a2a3ba614666c67596d03462c07470b294a00d IN  Contract Creation0 Ether0.07824822
[ Download CSV Export 

Latest 5 internal transactions Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
0xec2ed193f3e5fb275892bf18776ea0677db7b1a3730814f0224e76c67a9aff40714207950 days 12 hrs ago0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce  Contract Creation0 Ether
0xec2ed193f3e5fb275892bf18776ea0677db7b1a3730814f0224e76c67a9aff40714207950 days 12 hrs ago0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce  Contract Creation0 Ether
0xec2ed193f3e5fb275892bf18776ea0677db7b1a3730814f0224e76c67a9aff40714207950 days 12 hrs ago0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce  Contract Creation0 Ether
0xec2ed193f3e5fb275892bf18776ea0677db7b1a3730814f0224e76c67a9aff40714207950 days 12 hrs ago0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce  Contract Creation0 Ether
0xec2ed193f3e5fb275892bf18776ea0677db7b1a3730814f0224e76c67a9aff40714207950 days 12 hrs ago0x437365ffb4c5dd6fd6f9f6ed0b4a9e23d7edc9ce  Contract Creation0 Ether
[ Download CSV Export 

Contract Source Code Verified (Exact Match)

Contract Name:
FaireumToken

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
No

Runs (Optimizer):
200

Contract Source Code

pragma solidity 0.4.25;

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

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

        return c;
    }

    /**
    * @dev Integer division of two numbers truncating the quotient, reverts on division by zero.
    */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        // 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 numbers, reverts on overflow (i.e. if subtrahend is greater than minuend).
    */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a);
        uint256 c = a - b;

        return c;
    }

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

        return c;
    }

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

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

contract AdminRole {
    using Roles for Roles.Role;

    event AdminAdded(address indexed account);
    event AdminRemoved(address indexed account);

    Roles.Role private _admins;

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

    modifier onlyAdmin() {
        require(isAdmin(msg.sender));
        _;
    }

    function isAdmin(address account) public view returns (bool) {
        return _admins.has(account);
    }

    function addAdmin(address account) public onlyAdmin {
        _addAdmin(account);
    }

    function renounceAdmin() public {
        _removeAdmin(msg.sender);
    }

    function _addAdmin(address account) internal {
        _admins.add(account);
        emit AdminAdded(account);
    }

    function _removeAdmin(address account) internal {
        _admins.remove(account);
        emit AdminRemoved(account);
    }
}

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

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

/**
 * @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 memory name, string memory symbol, uint8 decimals) public {
        _name = name;
        _symbol = symbol;
        _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 number of decimals of the token.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }
}

/**
 * @title TokenVault
 * @dev TokenVault is a token holder contract that will allow a
 * beneficiary to spend the tokens from some function of a specified ERC20 token
 */
contract TokenVault {
    // ERC20 token contract being held
    IERC20 public token;

    constructor(IERC20 _token) public {
        token = _token;
    }

    /**
     * @notice increase the allowance of the token contract
     * to the full amount of tokens held in this vault
     */
    function fillUpAllowance() public {
        uint256 amount = token.balanceOf(this);
        require(amount > 0);

        token.approve(token, amount);
    }

    /**
     * @notice change the allowance for a specific spender
     */
    function approve(address _spender, uint256 _tokensAmount) public {
        require(msg.sender == address(token));

        token.approve(_spender, _tokensAmount);
    }
}

contract FaireumToken is ERC20, ERC20Detailed, AdminRole {
    using SafeMath for uint256;

    uint8 public constant DECIMALS = 18;

    /// Maximum tokens to be allocated (1.2 billion FAIRC)
    uint256 public constant INITIAL_SUPPLY = 1200000000 * 10**uint256(DECIMALS);

    /// This vault is used to keep the Faireum team, developers and advisors tokens
    TokenVault public teamAdvisorsTokensVault;

    /// This vault is used to keep the reward pool tokens
    TokenVault public rewardPoolTokensVault;

    /// This vault is used to keep the founders tokens
    TokenVault public foundersTokensVault;

    /// This vault is used to keep the tokens for marketing/partnership/airdrop
    TokenVault public marketingAirdropTokensVault;

    /// This vault is used to keep the tokens for sale
    TokenVault public saleTokensVault;

    /// The reference time point at which all token locks start
    //  Mon Mar 11 2019 00:00:00 GMT+0000   The begining of Pre ICO
    uint256 public locksStartDate = 1552262400;

    mapping(address => uint256) public lockedHalfYearBalances;
    mapping(address => uint256) public lockedFullYearBalances;

    modifier timeLock(address from, uint256 value) {
        if (lockedHalfYearBalances[from] > 0 && now >= locksStartDate + 182 days) lockedHalfYearBalances[from] = 0;
        if (now < locksStartDate + 365 days) {
            uint256 unlocks = balanceOf(from).sub(lockedHalfYearBalances[from]).sub(lockedFullYearBalances[from]);
            require(value <= unlocks);
        } else if (lockedFullYearBalances[from] > 0) lockedFullYearBalances[from] = 0;
        _;
    }

    constructor () public ERC20Detailed("Faireum Token", "FAIRC", DECIMALS) {
    }

    /// @dev function to lock reward pool tokens
    function lockRewardPoolTokens(address _beneficiary, uint256 _tokensAmount) public onlyAdmin {
        _lockTokens(address(rewardPoolTokensVault), false, _beneficiary, _tokensAmount);
    }

    /// @dev function to lock founders tokens
    function lockFoundersTokens(address _beneficiary, uint256 _tokensAmount) public onlyAdmin {
        _lockTokens(address(foundersTokensVault), false, _beneficiary, _tokensAmount);
    }

    /// @dev function to lock team/devs/advisors tokens
    function lockTeamTokens(address _beneficiary, uint256 _tokensAmount) public onlyAdmin {
        require(_tokensAmount.mod(2) == 0);
        uint256 _half = _tokensAmount.div(2);
        _lockTokens(address(teamAdvisorsTokensVault), false, _beneficiary, _half);
        _lockTokens(address(teamAdvisorsTokensVault), true, _beneficiary, _half);
    }

    /// @dev check the locked balance for an address
    function lockedBalanceOf(address _owner) public view returns (uint256) {
        return lockedFullYearBalances[_owner].add(lockedHalfYearBalances[_owner]);
    }

    /// @dev change the allowance for an ICO sale service provider
    function approveSaleSpender(address _spender, uint256 _tokensAmount) public onlyAdmin {
        saleTokensVault.approve(_spender, _tokensAmount);
    }

    /// @dev change the allowance for an ICO marketing service provider
    function approveMarketingSpender(address _spender, uint256 _tokensAmount) public onlyAdmin {
        marketingAirdropTokensVault.approve(_spender, _tokensAmount);
    }

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

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

    function burn(uint256 value) public {
        _burn(msg.sender, value);
    }

    function createTokensVaults() external onlyAdmin {
        require(teamAdvisorsTokensVault == address(0));
        require(rewardPoolTokensVault == address(0));
        require(foundersTokensVault == address(0));
        require(marketingAirdropTokensVault == address(0));
        require(saleTokensVault == address(0));

        // Team, devs and advisors tokens - 120M FAIRC (10%)
        teamAdvisorsTokensVault = createTokenVault(120000000 * (10 ** uint256(DECIMALS)));
        // Reward funding pool tokens - 240M FAIRC (20%)
        rewardPoolTokensVault = createTokenVault(240000000 * (10 ** uint256(DECIMALS)));
        // Founders tokens - 60M FAIRC (5%)
        foundersTokensVault = createTokenVault(60000000 * (10 ** uint256(DECIMALS)));
        // Marketing/partnership/airdrop tokens - 120M FAIRC (10%)
        marketingAirdropTokensVault = createTokenVault(120000000 * (10 ** uint256(DECIMALS)));
        // Sale tokens - 660M FAIRC (55%)
        saleTokensVault = createTokenVault(660000000 * (10 ** uint256(DECIMALS)));

        require(totalSupply() == INITIAL_SUPPLY);
    }

    /// @dev Admin-only function to recover any tokens mistakenly sent to this contract
    function recoverERC20Tokens(address _contractAddress) external onlyAdmin  {
        IERC20 erc20Token = IERC20(_contractAddress);
        if (erc20Token.balanceOf(address(this)) > 0) {
            require(erc20Token.transfer(msg.sender, erc20Token.balanceOf(address(this))));
        }
    }

    /// @dev Create a TokenVault, fill with newly minted tokens and
    /// allow them to be spent only from the token contract
    function createTokenVault(uint256 tokens) internal returns (TokenVault) {
        TokenVault tokenVault = new TokenVault(ERC20(this));
        _mint(address(tokenVault), tokens);
        tokenVault.fillUpAllowance();
        return tokenVault;
    }

    /// @dev generic function to lock tokens from a vault
    function _lockTokens(address _fromVault, bool _halfYear, address _beneficiary, uint256 _tokensAmount) internal {
        require(_beneficiary != address(0));

        if (_halfYear) {
            lockedHalfYearBalances[_beneficiary] = lockedHalfYearBalances[_beneficiary].add(_tokensAmount);
        } else {
            lockedFullYearBalances[_beneficiary] = lockedFullYearBalances[_beneficiary].add(_tokensAmount);
        }

        require(this.transferFrom(_fromVault, _beneficiary, _tokensAmount));
    }
}

Contract ABI

[{"constant":false,"inputs":[{"name":"_beneficiary","type":"address"},{"name":"_tokensAmount","type":"uint256"}],"name":"lockRewardPoolTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isAdmin","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_beneficiary","type":"address"},{"name":"_tokensAmount","type":"uint256"}],"name":"lockTeamTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"DECIMALS","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"INITIAL_SUPPLY","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"createTokensVaults","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_tokensAmount","type":"uint256"}],"name":"approveSaleSpender","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"foundersTokensVault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"lockedBalanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"teamAdvisorsTokensVault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"locksStartDate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"marketingAirdropTokensVault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"saleTokensVault","outputs":[{"name":"","type":"address"}],"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":"_contractAddress","type":"address"}],"name":"recoverERC20Tokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_beneficiary","type":"address"},{"name":"_tokensAmount","type":"uint256"}],"name":"lockFoundersTokens","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":"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":"rewardPoolTokensVault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"lockedHalfYearBalances","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"lockedFullYearBalances","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_tokensAmount","type":"uint256"}],"name":"approveMarketingSpender","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"AdminAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"AdminRemoved","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"}]

Contract Creation Code

6080604052635c85a500600c553480156200001957600080fd5b506040805190810160405280600d81526020017f4661697265756d20546f6b656e000000000000000000000000000000000000008152506040805190810160405280600581526020017f464149524300000000000000000000000000000000000000000000000000000081525060128260039080519060200190620000a0929190620002ba565b508160049080519060200190620000b9929190620002ba565b5080600560006101000a81548160ff021916908360ff160217905550505050620000f233620000f8640100000000026401000000009004565b62000369565b6200011c816006620001626401000000000262002f90179091906401000000009004565b8073ffffffffffffffffffffffffffffffffffffffff167f44d6d25963f097ad14f29f06854a01f575648a1ef82f30e562ccd3889717e33960405160405180910390a250565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156200019f57600080fd5b620001ba828262000225640100000000026401000000009004565b151515620001c757600080fd5b60018260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141515156200026357600080fd5b8260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002fd57805160ff19168380011785556200032e565b828001600101855582156200032e579182015b828111156200032d57825182559160200191906001019062000310565b5b5090506200033d919062000341565b5090565b6200036691905b808211156200036257600081600090555060010162000348565b5090565b90565b6136a380620003796000396000f3006080604052600436106101a1576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806302649c31146101a657806306fdde03146101f3578063095ea7b31461028357806318160ddd146102e857806323b872dd1461031357806324d7806c146103985780632daacafb146103f35780632e0f2625146104405780632ff2e9dc1461047157806330a881911461049c578063313ce567146104b357806338f45195146104e4578063395093511461053157806342966c681461059657806346f808cf146105c3578063593557361461061a5780635c1795fe146106715780636ab532a1146106c85780636ba73ff7146106f3578063704802751461074a578063709cf8c01461078d57806370a08231146107e457806384afff9b1461083b5780638bad0c0a1461087e5780638f095e0b1461089557806395d89b41146108e2578063a457c2d714610972578063a9059cbb146109d7578063b261969814610a3c578063c79f204614610a93578063d4bd519f14610aea578063dd62ed3e14610b41578063e399ff9014610bb8575b600080fd5b3480156101b257600080fd5b506101f1600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610c05565b005b3480156101ff57600080fd5b50610208610c4c565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561024857808201518184015260208101905061022d565b50505050905090810190601f1680156102755780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561028f57600080fd5b506102ce600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610cee565b604051808215151515815260200191505060405180910390f35b3480156102f457600080fd5b506102fd610e1b565b6040518082815260200191505060405180910390f35b34801561031f57600080fd5b5061037e600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610e25565b604051808215151515815260200191505060405180910390f35b3480156103a457600080fd5b506103d9600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611042565b604051808215151515815260200191505060405180910390f35b3480156103ff57600080fd5b5061043e600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061105f565b005b34801561044c57600080fd5b50610455611110565b604051808260ff1660ff16815260200191505060405180910390f35b34801561047d57600080fd5b50610486611115565b6040518082815260200191505060405180910390f35b3480156104a857600080fd5b506104b1611126565b005b3480156104bf57600080fd5b506104c86114dd565b604051808260ff1660ff16815260200191505060405180910390f35b3480156104f057600080fd5b5061052f600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506114f4565b005b34801561053d57600080fd5b5061057c600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506115e9565b604051808215151515815260200191505060405180910390f35b3480156105a257600080fd5b506105c160048036038101908080359060200190929190505050611820565b005b3480156105cf57600080fd5b506105d861182d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561062657600080fd5b5061065b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611853565b6040518082815260200191505060405180910390f35b34801561067d57600080fd5b506106866118ed565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156106d457600080fd5b506106dd611913565b6040518082815260200191505060405180910390f35b3480156106ff57600080fd5b50610708611919565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561075657600080fd5b5061078b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061193f565b005b34801561079957600080fd5b506107a261195f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156107f057600080fd5b50610825600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611985565b6040518082815260200191505060405180910390f35b34801561084757600080fd5b5061087c600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506119cd565b005b34801561088a57600080fd5b50610893611c87565b005b3480156108a157600080fd5b506108e0600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611c92565b005b3480156108ee57600080fd5b506108f7611cd9565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561093757808201518184015260208101905061091c565b50505050905090810190601f1680156109645780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561097e57600080fd5b506109bd600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611d7b565b604051808215151515815260200191505060405180910390f35b3480156109e357600080fd5b50610a22600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611fb2565b604051808215151515815260200191505060405180910390f35b348015610a4857600080fd5b50610a516121cd565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610a9f57600080fd5b50610ad4600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506121f3565b6040518082815260200191505060405180910390f35b348015610af657600080fd5b50610b2b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061220b565b6040518082815260200191505060405180910390f35b348015610b4d57600080fd5b50610ba2600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612223565b6040518082815260200191505060405180910390f35b348015610bc457600080fd5b50610c03600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506122aa565b005b610c0e33611042565b1515610c1957600080fd5b610c48600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000848461239f565b5050565b606060038054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ce45780601f10610cb957610100808354040283529160200191610ce4565b820191906000526020600020905b815481529060010190602001808311610cc757829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614151515610d2b57600080fd5b81600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a36001905092915050565b6000600254905090565b60008382600080600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054118015610e80575062eff100600c54014210155b15610ecb576000600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6301e13380600c5401421015610f9c57610f86600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f78600d60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f6a87611985565b61263490919063ffffffff16565b61263490919063ffffffff16565b9050808211151515610f9757600080fd5b61102b565b6000600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561102a576000600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b611036878787612655565b93505050509392505050565b600061105882600661285d90919063ffffffff16565b9050919050565b600061106a33611042565b151561107557600080fd5b600061108b6002846128f190919063ffffffff16565b14151561109757600080fd5b6110ab60028361291690919063ffffffff16565b90506110dc600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000858461239f565b61110b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166001858461239f565b505050565b601281565b601260ff16600a0a6347868c000281565b61112f33611042565b151561113a57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561119757600080fd5b600073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415156111f457600080fd5b600073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561125157600080fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415156112ae57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561130b57600080fd5b611321601260ff16600a0a6307270e0002612940565b600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611377601260ff16600a0a630e4e1c0002612940565b600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506113cd601260ff16600a0a630393870002612940565b600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611423601260ff16600a0a6307270e0002612940565b600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611479601260ff16600a0a632756cd0002612940565b600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601260ff16600a0a6347868c00026114cf610e1b565b1415156114db57600080fd5b565b6000600560009054906101000a900460ff16905090565b6114fd33611042565b151561150857600080fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b383836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156115cd57600080fd5b505af11580156115e1573d6000803e3d6000fd5b505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415151561162657600080fd5b6116b582600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612a3090919063ffffffff16565b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a36001905092915050565b61182a3382612a51565b50565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006118e6600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612a3090919063ffffffff16565b9050919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c5481565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61194833611042565b151561195357600080fd5b61195c81612ba5565b50565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006119d833611042565b15156119e357600080fd5b81905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015611a8357600080fd5b505af1158015611a97573d6000803e3d6000fd5b505050506040513d6020811015611aad57600080fd5b81019080805190602001909291905050501115611c83578073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015611b7c57600080fd5b505af1158015611b90573d6000803e3d6000fd5b505050506040513d6020811015611ba657600080fd5b81019080805190602001909291905050506040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611c3c57600080fd5b505af1158015611c50573d6000803e3d6000fd5b505050506040513d6020811015611c6657600080fd5b81019080805190602001909291905050501515611c8257600080fd5b5b5050565b611c9033612bff565b565b611c9b33611042565b1515611ca657600080fd5b611cd5600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000848461239f565b5050565b606060048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611d715780601f10611d4657610100808354040283529160200191611d71565b820191906000526020600020905b815481529060010190602001808311611d5457829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614151515611db857600080fd5b611e4782600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461263490919063ffffffff16565b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a36001905092915050565b60003382600080600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411801561200d575062eff100600c54014210155b15612058576000600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6301e13380600c540142101561212957612113600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612105600d60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120f787611985565b61263490919063ffffffff16565b61263490919063ffffffff16565b905080821115151561212457600080fd5b6121b8565b6000600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156121b7576000600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b6121c28686612c59565b935050505092915050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600d6020528060005260406000206000915090505481565b600e6020528060005260406000206000915090505481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6122b333611042565b15156122be57600080fd5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b383836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561238357600080fd5b505af1158015612397573d6000803e3d6000fd5b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141515156123db57600080fd5b821561247b5761243381600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612a3090919063ffffffff16565b600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612511565b6124cd81600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612a3090919063ffffffff16565b600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b3073ffffffffffffffffffffffffffffffffffffffff166323b872dd8584846040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156125e857600080fd5b505af11580156125fc573d6000803e3d6000fd5b505050506040513d602081101561261257600080fd5b8101908080519060200190929190505050151561262e57600080fd5b50505050565b60008083831115151561264657600080fd5b82840390508091505092915050565b60006126e682600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461263490919063ffffffff16565b600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612771848484612c70565b3373ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546040518082815260200191505060405180910390a3600190509392505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415151561289a57600080fd5b8260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600080821415151561290257600080fd5b818381151561290d57fe5b06905092915050565b60008060008311151561292857600080fd5b828481151561293357fe5b0490508091505092915050565b6000803061294c6130ef565b808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050604051809103906000f08015801561299e573d6000803e3d6000fd5b5090506129ab8184612e3c565b8073ffffffffffffffffffffffffffffffffffffffff166312d60f866040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b158015612a0f57600080fd5b505af1158015612a23573d6000803e3d6000fd5b5050505080915050919050565b6000808284019050838110151515612a4757600080fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614151515612a8d57600080fd5b612aa28160025461263490919063ffffffff16565b600281905550612af9816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461263490919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b612bb9816006612f9090919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167f44d6d25963f097ad14f29f06854a01f575648a1ef82f30e562ccd3889717e33960405160405180910390a250565b612c1381600661304090919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167fa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f60405160405180910390a250565b6000612c66338484612c70565b6001905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614151515612cac57600080fd5b612cfd816000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461263490919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612d90816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612a3090919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614151515612e7857600080fd5b612e8d81600254612a3090919063ffffffff16565b600281905550612ee4816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612a3090919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515612fcc57600080fd5b612fd6828261285d565b151515612fe257600080fd5b60018260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561307c57600080fd5b613086828261285d565b151561309157600080fd5b60008260000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60405161057880613100833901905600608060405234801561001057600080fd5b5060405160208061057883398101806040528101908080519060200190929190505050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506104f5806100836000396000f300608060405260043610610057576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063095ea7b31461005c57806312d60f86146100a9578063fc0c546a146100c0575b600080fd5b34801561006857600080fd5b506100a7600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610117565b005b3480156100b557600080fd5b506100be610276565b005b3480156100cc57600080fd5b506100d56104a4565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561017257600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b383836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561023657600080fd5b505af115801561024a573d6000803e3d6000fd5b505050506040513d602081101561026057600080fd5b8101908080519060200190929190505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561033457600080fd5b505af1158015610348573d6000803e3d6000fd5b505050506040513d602081101561035e57600080fd5b8101908080519060200190929190505050905060008111151561038057600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b36000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561046557600080fd5b505af1158015610479573d6000803e3d6000fd5b505050506040513d602081101561048f57600080fd5b81019080805190602001909291905050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16815600a165627a7a72305820f4710dca97359b178c7ba997e8f61a1f04cca5b59e5448e5b85078ef979c29570029a165627a7a72305820f43c536658a67bab5d40f0d52422ee4c608868044fcaf0efae81524a451429e80029

Swarm Source

bzzr://f43c536658a67bab5d40f0d52422ee4c608868044fcaf0efae81524a451429e8
Block Age Transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.