ETH Price: $2,071.21 (+1.54%)
Gas: 0.13 Gwei

Contract

0xB47fA11D32d1005baBc52E876bcfa6BFA19E490b
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Create145657382022-04-11 17:33:481430 days ago1649698428IN
0xB47fA11D...FA19E490b
0 ETH0.0542503543.00572843
Create144887152022-03-30 16:50:201442 days ago1648659020IN
0xB47fA11D...FA19E490b
0 ETH0.13029686103.29084935
Create143221262022-03-04 18:25:191467 days ago1646418319IN
0xB47fA11D...FA19E490b
0 ETH0.0711655255.53819145
Create140803632022-01-26 9:15:131505 days ago1643188513IN
0xB47fA11D...FA19E490b
0 ETH0.1130152589.59026575
Create Simple132247312021-09-14 15:45:441639 days ago1631634344IN
0xB47fA11D...FA19E490b
0 ETH0.1005223979.70294948
Create Simple132243812021-09-14 14:28:091639 days ago1631629689IN
0xB47fA11D...FA19E490b
0 ETH0.0731741957.11767596
Create Simple132243272021-09-14 14:14:151639 days ago1631628855IN
0xB47fA11D...FA19E490b
0 ETH0.0819284263.95037763
Create Simple132242932021-09-14 14:06:161639 days ago1631628376IN
0xB47fA11D...FA19E490b
0 ETH0.09490174.07630024
Create Simple132241702021-09-14 13:40:011639 days ago1631626801IN
0xB47fA11D...FA19E490b
0 ETH0.1044367281.51954118

Latest 9 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
-145657382022-04-11 17:33:481430 days ago1649698428
0xB47fA11D...FA19E490b
 Contract Creation0 ETH
-144887152022-03-30 16:50:201442 days ago1648659020
0xB47fA11D...FA19E490b
 Contract Creation0 ETH
-143221262022-03-04 18:25:191467 days ago1646418319
0xB47fA11D...FA19E490b
 Contract Creation0 ETH
-140803632022-01-26 9:15:131505 days ago1643188513
0xB47fA11D...FA19E490b
 Contract Creation0 ETH
-132247312021-09-14 15:45:441639 days ago1631634344
0xB47fA11D...FA19E490b
 Contract Creation0 ETH
-132243812021-09-14 14:28:091639 days ago1631629689
0xB47fA11D...FA19E490b
 Contract Creation0 ETH
-132243272021-09-14 14:14:151639 days ago1631628855
0xB47fA11D...FA19E490b
 Contract Creation0 ETH
-132242932021-09-14 14:06:161639 days ago1631628376
0xB47fA11D...FA19E490b
 Contract Creation0 ETH
-132241702021-09-14 13:40:011639 days ago1631626801
0xB47fA11D...FA19E490b
 Contract Creation0 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CrunchVestingFactory

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "../CrunchVesting.sol";

contract CrunchVestingFactory is HasCrunchParent {
    event Created(
        CrunchVesting indexed vesting,
        CrunchToken crunch,
        address owner,
        address beneficiary,
        uint256 cliffDuration,
        uint256 duration,
        bool revokable
    );

    uint256 public constant oneYear = 365.25 days;

    constructor(CrunchToken crunch) HasCrunchParent(crunch) {}

    function create(
        address beneficiary,
        uint256 cliffDuration,
        uint256 duration,
        bool revokable
    ) public onlyOwner returns (CrunchVesting vesting) {
        vesting = new CrunchVesting(
            crunch,
            owner(),
            beneficiary,
            cliffDuration,
            duration,
            revokable
        );

        emit Created(
            vesting,
            crunch,
            owner(),
            beneficiary,
            cliffDuration,
            duration,
            revokable
        );
    }

    function createSimple(address beneficiary, bool revokable)
        public
        onlyOwner
        returns (CrunchVesting)
    {
        return create(beneficiary, oneYear, oneYear * 4, revokable);
    }

    function transferToOwner() public onlyOwner returns (uint256 balance) {
        balance = crunch.balanceOf(address(this));

        if (balance == 0) {
            revert("Vesting Factory: no token are in the factory");
        }

        crunch.transfer(owner(), balance);
    }
}

File 2 of 13 : CrunchToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";

import "./erc677/ERC677.sol";

contract CrunchToken is ERC677, ERC20Burnable {
    constructor() ERC20("Crunch Token", "CRUNCH") {
        _mint(msg.sender, 10765163 * 10**decimals());
    }
}

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "./access/HasCrunchParent.sol";

contract CrunchVesting is HasCrunchParent {
    event TokensReleased(uint256 amount);
    event TokenVestingRevoked();

    /* beneficiary of tokens after they are released. */
    address public beneficiary;

    /** the start time of the token vesting. */
    uint256 public start;
    /** the cliff time of the token vesting. */
    uint256 public cliff;
    /** the duration of the token vesting. */
    uint256 public duration;

    /** the amount of the token released. */
    uint256 public released;

    /** true if the vesting can be revoked. */
    bool public revokable;

    /** true if the vesting has been revoked. */
    bool public revoked;

    constructor(
        CrunchToken crunch,
        address _overrideOwner,
        address _beneficiary,
        uint256 _cliffDuration,
        uint256 _duration,
        bool _revokable
    ) HasCrunchParent(crunch) {
        require(
            _beneficiary != address(0),
            "Vesting: beneficiary is the zero address"
        );
        require(
            _cliffDuration <= _duration,
            "Vesting: cliff is longer than duration"
        );
        require(_duration > 0, "Vesting: duration is 0");

        beneficiary = _beneficiary;
        start = block.timestamp;
        cliff = start + _cliffDuration;
        duration = _duration;
        revokable = _revokable;

        if (_overrideOwner != address(0)) {
            transferOwnership(_overrideOwner);
        }
    }

    /** @notice Transfers vested tokens to beneficiary. */
    function release() public {
        uint256 unreleased = releasableAmount();

        require(unreleased > 0, "Vesting: no tokens are due");

        released += unreleased;

        crunch.transfer(beneficiary, unreleased);

        emit TokensReleased(unreleased);
    }

    /** @notice Allows the owner to revoke the vesting. Tokens already vested remain in the contract, the rest are returned to the owner. */
    function revoke() public onlyOwner {
        require(revokable, "Vesting: token not revokable");
        require(!revoked, "Vesting: token already revoked");

        uint256 balance = crunch.balanceOf(address(this));

        uint256 unreleased = releasableAmount();
        uint256 refund = balance - unreleased;

        revoked = true;

        crunch.transfer(owner(), refund);

        emit TokenVestingRevoked();
    }

    /** @dev Calculates the amount that has already vested but hasn't been released yet. */
    function releasableAmount() public view returns (uint256) {
        return vestedAmount() - released;
    }

    /** @dev Calculates the amount that has already vested. */
    function vestedAmount() public view returns (uint256) {
        uint256 currentBalance = crunch.balanceOf(address(this));
        uint256 totalBalance = currentBalance + released;

        if (block.timestamp < cliff) {
            return 0;
        } else if ((block.timestamp >= start + duration) || revoked) {
            return totalBalance;
        } else {
            return (totalBalance * (block.timestamp - start)) / duration;
        }
    }
}

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "@openzeppelin/contracts/access/Ownable.sol";

import "../CrunchToken.sol";

contract HasCrunchParent is Ownable {
    event ParentUpdated(address from, address to);

    CrunchToken public crunch;

    constructor(CrunchToken _crunch) {
        crunch = _crunch;

        emit ParentUpdated(address(0), address(crunch));
    }

    modifier onlyCrunchParent() {
        require(
            address(crunch) == _msgSender(),
            "HasCrunchParent: caller is not the crunch token"
        );
        _;
    }

    function setCrunch(CrunchToken _crunch) public onlyOwner {
        require(address(crunch) != address(_crunch), "useless to update to same crunch token");

        emit ParentUpdated(address(crunch), address(_crunch));

        crunch = _crunch;
    }
}

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./ERC677.sol";
import "./IERC677.sol";
import "./IERC677Receiver.sol";

abstract contract ERC677 is IERC677, ERC20 {
    function transferAndCall(
        address recipient,
        uint256 amount,
        bytes memory data
    ) public virtual override returns (bool success) {
        super.transfer(recipient, amount);

        emit TransferAndCall(msg.sender, recipient, amount, data);

        if (isContract(recipient)) {
            IERC677Receiver receiver = IERC677Receiver(recipient);
            receiver.onTokenTransfer(msg.sender, amount, data);
        }

        return true;
    }

    function isContract(address addr) private view returns (bool hasCode) {
        uint256 length;
        assembly {
            length := extcodesize(addr)
        }
        return length > 0;
    }
}

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

interface IERC677 is IERC20 {
    /**
     * @dev transfer token to a contract address with additional data if the recipient is a contact.
     * @param recipient The address to transfer to.
     * @param amount The amount to be transferred.
     * @param data The extra data to be passed to the receiving contract.
     */
    function transferAndCall(
        address recipient,
        uint256 amount,
        bytes memory data
    ) external returns (bool success);

    event TransferAndCall(
        address indexed from,
        address indexed to,
        uint256 value,
        bytes data
    );
}

File 7 of 13 : IERC677Receiver.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IERC677Receiver {
    function onTokenTransfer(
        address sender,
        uint256 value,
        bytes memory data
    ) external;
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: 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
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../../../utils/Context.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        unchecked {
            _approve(account, _msgSender(), currentAllowance - amount);
        }
        _burn(account, amount);
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"contract CrunchToken","name":"crunch","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract CrunchVesting","name":"vesting","type":"address"},{"indexed":false,"internalType":"contract CrunchToken","name":"crunch","type":"address"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"cliffDuration","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"duration","type":"uint256"},{"indexed":false,"internalType":"bool","name":"revokable","type":"bool"}],"name":"Created","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"}],"name":"ParentUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"cliffDuration","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"bool","name":"revokable","type":"bool"}],"name":"create","outputs":[{"internalType":"contract CrunchVesting","name":"vesting","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"bool","name":"revokable","type":"bool"}],"name":"createSimple","outputs":[{"internalType":"contract CrunchVesting","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"crunch","outputs":[{"internalType":"contract CrunchToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oneYear","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract CrunchToken","name":"_crunch","type":"address"}],"name":"setCrunch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferToOwner","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200341d3803806200341d8339818101604052810190620000379190620001e2565b80620000586200004c620000ff60201b60201c565b6200010760201b60201c565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507ffc6f5679951ef0c7cec54bda4ffa2f475aad31c9e9e8075b98210ecc8f0beac66000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16604051620000ef92919062000225565b60405180910390a15050620002b9565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050620001dc816200029f565b92915050565b600060208284031215620001fb57620001fa6200029a565b5b60006200020b84828501620001cb565b91505092915050565b6200021f8162000252565b82525050565b60006040820190506200023c600083018562000214565b6200024b602083018462000214565b9392505050565b60006200025f826200027a565b9050919050565b6000620002738262000252565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b620002aa8162000266565b8114620002b657600080fd5b50565b61315480620002c96000396000f3fe60806040523480156200001157600080fd5b5060043610620000a05760003560e01c8063715018a6116200006f578063715018a6146200013f5780638da5cb5b146200014b578063f27c3bf6146200016d578063f2fde38b146200018f578063fd768f5514620001af57620000a0565b80632d90ae9414620000a557806353ce8b7414620000c757806354c34dd414620000fd5780635dc3edc3146200011f575b600080fd5b620000af620001e5565b604051620000be919062000f79565b60405180910390f35b620000e56004803603810190620000df919062000b93565b62000426565b604051620000f4919062000ed4565b60405180910390f35b62000107620004d7565b60405162000116919062000e4a565b60405180910390f35b6200013d600480360381019062000137919062000c7e565b620004fd565b005b62000149620006b5565b005b6200015562000746565b60405162000164919062000dd3565b60405180910390f35b620001776200076f565b60405162000186919062000f79565b60405180910390f35b620001ad6004803603810190620001a7919062000b61565b62000777565b005b620001cd6004803603810190620001c7919062000bda565b6200087b565b604051620001dc919062000ed4565b60405180910390f35b6000620001f1620009fd565b73ffffffffffffffffffffffffffffffffffffffff166200021162000746565b73ffffffffffffffffffffffffffffffffffffffff16146200026a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002619062000f13565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401620002c7919062000dd3565b60206040518083038186803b158015620002e057600080fd5b505afa158015620002f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200031b919062000cb0565b9050600081141562000364576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200035b9062000f57565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb620003ac62000746565b836040518363ffffffff1660e01b8152600401620003cc92919062000e1d565b602060405180830381600087803b158015620003e757600080fd5b505af1158015620003fc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000422919062000c4c565b5090565b600062000432620009fd565b73ffffffffffffffffffffffffffffffffffffffff166200045262000746565b73ffffffffffffffffffffffffffffffffffffffff1614620004ab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004a29062000f13565b60405180910390fd5b620004cf836301e187e060046301e187e0620004c8919062000fa7565b856200087b565b905092915050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b62000507620009fd565b73ffffffffffffffffffffffffffffffffffffffff166200052762000746565b73ffffffffffffffffffffffffffffffffffffffff161462000580576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005779062000f13565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141562000614576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200060b9062000f35565b60405180910390fd5b7ffc6f5679951ef0c7cec54bda4ffa2f475aad31c9e9e8075b98210ecc8f0beac6600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826040516200066992919062000df0565b60405180910390a180600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b620006bf620009fd565b73ffffffffffffffffffffffffffffffffffffffff16620006df62000746565b73ffffffffffffffffffffffffffffffffffffffff161462000738576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200072f9062000f13565b60405180910390fd5b62000744600062000a05565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6301e187e081565b62000781620009fd565b73ffffffffffffffffffffffffffffffffffffffff16620007a162000746565b73ffffffffffffffffffffffffffffffffffffffff1614620007fa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007f19062000f13565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156200086d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008649062000ef1565b60405180910390fd5b620008788162000a05565b50565b600062000887620009fd565b73ffffffffffffffffffffffffffffffffffffffff16620008a762000746565b73ffffffffffffffffffffffffffffffffffffffff161462000900576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008f79062000f13565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166200092d62000746565b868686866040516200093f9062000ac9565b620009509695949392919062000e67565b604051809103906000f0801580156200096d573d6000803e3d6000fd5b5090508073ffffffffffffffffffffffffffffffffffffffff167f3e8bcc9b93833a94091247bb47cb577f9366023c4e463a313ccead340617184b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620009d562000746565b88888888604051620009ed9695949392919062000e67565b60405180910390a2949350505050565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611eb6806200126983390190565b60008135905062000ae88162001200565b92915050565b60008135905062000aff816200121a565b92915050565b60008151905062000b16816200121a565b92915050565b60008135905062000b2d8162001234565b92915050565b60008135905062000b44816200124e565b92915050565b60008151905062000b5b816200124e565b92915050565b60006020828403121562000b7a5762000b79620010e5565b5b600062000b8a8482850162000ad7565b91505092915050565b6000806040838503121562000bad5762000bac620010e5565b5b600062000bbd8582860162000ad7565b925050602062000bd08582860162000aee565b9150509250929050565b6000806000806080858703121562000bf75762000bf6620010e5565b5b600062000c078782880162000ad7565b945050602062000c1a8782880162000b33565b935050604062000c2d8782880162000b33565b925050606062000c408782880162000aee565b91505092959194509250565b60006020828403121562000c655762000c64620010e5565b5b600062000c758482850162000b05565b91505092915050565b60006020828403121562000c975762000c96620010e5565b5b600062000ca78482850162000b1c565b91505092915050565b60006020828403121562000cc95762000cc8620010e5565b5b600062000cd98482850162000b4a565b91505092915050565b62000ced8162001008565b82525050565b62000cfe816200101c565b82525050565b62000d0f8162001066565b82525050565b62000d20816200107a565b82525050565b600062000d3560268362000f96565b915062000d4282620010ea565b604082019050919050565b600062000d5c60208362000f96565b915062000d698262001139565b602082019050919050565b600062000d8360268362000f96565b915062000d908262001162565b604082019050919050565b600062000daa602c8362000f96565b915062000db782620011b1565b604082019050919050565b62000dcd816200105c565b82525050565b600060208201905062000dea600083018462000ce2565b92915050565b600060408201905062000e07600083018562000ce2565b62000e16602083018462000ce2565b9392505050565b600060408201905062000e34600083018562000ce2565b62000e43602083018462000dc2565b9392505050565b600060208201905062000e61600083018462000d04565b92915050565b600060c08201905062000e7e600083018962000d04565b62000e8d602083018862000ce2565b62000e9c604083018762000ce2565b62000eab606083018662000dc2565b62000eba608083018562000dc2565b62000ec960a083018462000cf3565b979650505050505050565b600060208201905062000eeb600083018462000d15565b92915050565b6000602082019050818103600083015262000f0c8162000d26565b9050919050565b6000602082019050818103600083015262000f2e8162000d4d565b9050919050565b6000602082019050818103600083015262000f508162000d74565b9050919050565b6000602082019050818103600083015262000f728162000d9b565b9050919050565b600060208201905062000f90600083018462000dc2565b92915050565b600082825260208201905092915050565b600062000fb4826200105c565b915062000fc1836200105c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562000ffd5762000ffc620010b6565b5b828202905092915050565b600062001015826200103c565b9050919050565b60008115159050919050565b6000620010358262001008565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600062001073826200108e565b9050919050565b600062001087826200108e565b9050919050565b60006200109b82620010a2565b9050919050565b6000620010af826200103c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600080fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f7573656c65737320746f2075706461746520746f2073616d65206372756e636860008201527f20746f6b656e0000000000000000000000000000000000000000000000000000602082015250565b7f56657374696e6720466163746f72793a206e6f20746f6b656e2061726520696e60008201527f2074686520666163746f72790000000000000000000000000000000000000000602082015250565b6200120b8162001008565b81146200121757600080fd5b50565b62001225816200101c565b81146200123157600080fd5b50565b6200123f8162001028565b81146200124b57600080fd5b50565b62001259816200105c565b81146200126557600080fd5b5056fe60806040523480156200001157600080fd5b5060405162001eb638038062001eb6833981810160405281019062000037919062000530565b85620000586200004c620002c960201b60201c565b620002d160201b60201c565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507ffc6f5679951ef0c7cec54bda4ffa2f475aad31c9e9e8075b98210ecc8f0beac66000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16604051620000ef929190620006a0565b60405180910390a150600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156200016b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001629062000711565b60405180910390fd5b81831115620001b1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001a89062000755565b60405180910390fd5b60008211620001f7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001ee9062000733565b60405180910390fd5b83600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555042600381905550826003546200024f919062000788565b6004819055508160058190555080600760006101000a81548160ff021916908315150217905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614620002bd57620002bc856200039560201b60201c565b5b50505050505062000a1e565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003a5620002c960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003cb620004ab60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000424576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200041b90620006ef565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000497576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200048e90620006cd565b60405180910390fd5b620004a881620002d160201b60201c565b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600081519050620004e581620009b6565b92915050565b600081519050620004fc81620009d0565b92915050565b6000815190506200051381620009ea565b92915050565b6000815190506200052a8162000a04565b92915050565b60008060008060008060c0878903121562000550576200054f62000872565b5b60006200056089828a0162000502565b96505060206200057389828a01620004d4565b95505060406200058689828a01620004d4565b94505060606200059989828a0162000519565b9350506080620005ac89828a0162000519565b92505060a0620005bf89828a01620004eb565b9150509295509295509295565b620005d781620007e5565b82525050565b6000620005ec60268362000777565b9150620005f98262000877565b604082019050919050565b60006200061360208362000777565b91506200062082620008c6565b602082019050919050565b60006200063a60288362000777565b91506200064782620008ef565b604082019050919050565b60006200066160168362000777565b91506200066e826200093e565b602082019050919050565b60006200068860268362000777565b9150620006958262000967565b604082019050919050565b6000604082019050620006b76000830185620005cc565b620006c66020830184620005cc565b9392505050565b60006020820190508181036000830152620006e881620005dd565b9050919050565b600060208201905081810360008301526200070a8162000604565b9050919050565b600060208201905081810360008301526200072c816200062b565b9050919050565b600060208201905081810360008301526200074e8162000652565b9050919050565b60006020820190508181036000830152620007708162000679565b9050919050565b600082825260208201905092915050565b6000620007958262000839565b9150620007a28362000839565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620007da57620007d962000843565b5b828201905092915050565b6000620007f28262000819565b9050919050565b60008115159050919050565b60006200081282620007e5565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600080fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f56657374696e673a2062656e656669636961727920697320746865207a65726f60008201527f2061646472657373000000000000000000000000000000000000000000000000602082015250565b7f56657374696e673a206475726174696f6e206973203000000000000000000000600082015250565b7f56657374696e673a20636c696666206973206c6f6e676572207468616e20647560008201527f726174696f6e0000000000000000000000000000000000000000000000000000602082015250565b620009c181620007e5565b8114620009cd57600080fd5b50565b620009db81620007f9565b8114620009e757600080fd5b50565b620009f58162000805565b811462000a0157600080fd5b50565b62000a0f8162000839565b811462000a1b57600080fd5b50565b6114888062000a2e6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c8063715018a611610097578063b6549f7511610066578063b6549f7514610243578063be9a65551461024d578063e11360b31461026b578063f2fde38b1461028957610100565b8063715018a6146101f357806386d1a69f146101fd5780638da5cb5b14610207578063961325211461022557610100565b806354c34dd4116100d357806354c34dd41461017d5780635b9400811461019b5780635dc3edc3146101b957806363d256ce146101d557610100565b80630fb5a6b41461010557806313d033c01461012357806338af3eed1461014157806344b1231f1461015f575b600080fd5b61010d6102a5565b60405161011a9190611080565b60405180910390f35b61012b6102ab565b6040516101389190611080565b60405180910390f35b6101496102b1565b6040516101569190610f1d565b60405180910390f35b6101676102d7565b6040516101749190611080565b60405180910390f35b610185610415565b6040516101929190610fa5565b60405180910390f35b6101a361043b565b6040516101b09190611080565b60405180910390f35b6101d360048036038101906101ce9190610db5565b610457565b005b6101dd610603565b6040516101ea9190610f8a565b60405180910390f35b6101fb610616565b005b61020561069e565b005b61020f610812565b60405161021c9190610f1d565b60405180910390f35b61022d61083b565b60405161023a9190611080565b60405180910390f35b61024b610841565b005b610255610b2a565b6040516102629190611080565b60405180910390f35b610273610b30565b6040516102809190610f8a565b60405180910390f35b6102a3600480360381019061029e9190610d5b565b610b43565b005b60055481565b60045481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016103359190610f1d565b60206040518083038186803b15801561034d57600080fd5b505afa158015610361573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103859190610de2565b905060006006548261039791906110ac565b90506004544210156103ae57600092505050610412565b6005546003546103be91906110ac565b421015806103d85750600760019054906101000a900460ff165b156103e7578092505050610412565b600554600354426103f8919061118d565b826104039190611133565b61040d9190611102565b925050505b90565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006006546104486102d7565b610452919061118d565b905090565b61045f610c3b565b73ffffffffffffffffffffffffffffffffffffffff1661047d610812565b73ffffffffffffffffffffffffffffffffffffffff16146104d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ca90611040565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610564576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055b90611060565b60405180910390fd5b7ffc6f5679951ef0c7cec54bda4ffa2f475aad31c9e9e8075b98210ecc8f0beac6600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826040516105b7929190610f38565b60405180910390a180600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600760019054906101000a900460ff1681565b61061e610c3b565b73ffffffffffffffffffffffffffffffffffffffff1661063c610812565b73ffffffffffffffffffffffffffffffffffffffff1614610692576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068990611040565b60405180910390fd5b61069c6000610c43565b565b60006106a861043b565b9050600081116106ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e490611020565b60405180910390fd5b80600660008282546106ff91906110ac565b92505081905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401610785929190610f61565b602060405180830381600087803b15801561079f57600080fd5b505af11580156107b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d79190610d88565b507fa1598fb976f7dd9df63fd18699c54a5744a6a95364166bbd0d77a2f6c8438b1f816040516108079190611080565b60405180910390a150565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60065481565b610849610c3b565b73ffffffffffffffffffffffffffffffffffffffff16610867610812565b73ffffffffffffffffffffffffffffffffffffffff16146108bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b490611040565b60405180910390fd5b600760009054906101000a900460ff1661090c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090390610fe0565b60405180910390fd5b600760019054906101000a900460ff161561095c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095390611000565b60405180910390fd5b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109b99190610f1d565b60206040518083038186803b1580156109d157600080fd5b505afa1580156109e5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a099190610de2565b90506000610a1561043b565b905060008183610a25919061118d565b90506001600760016101000a81548160ff021916908315150217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610a88610812565b836040518363ffffffff1660e01b8152600401610aa6929190610f61565b602060405180830381600087803b158015610ac057600080fd5b505af1158015610ad4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af89190610d88565b507ff0a5a1d42d78b340a9342f76a487e4098eb30a85df94eb209dad5230eb14555160405160405180910390a1505050565b60035481565b600760009054906101000a900460ff1681565b610b4b610c3b565b73ffffffffffffffffffffffffffffffffffffffff16610b69610812565b73ffffffffffffffffffffffffffffffffffffffff1614610bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb690611040565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2690610fc0565b60405180910390fd5b610c3881610c43565b50565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081359050610d16816113f6565b92915050565b600081519050610d2b8161140d565b92915050565b600081359050610d4081611424565b92915050565b600081519050610d558161143b565b92915050565b600060208284031215610d7157610d706112af565b5b6000610d7f84828501610d07565b91505092915050565b600060208284031215610d9e57610d9d6112af565b5b6000610dac84828501610d1c565b91505092915050565b600060208284031215610dcb57610dca6112af565b5b6000610dd984828501610d31565b91505092915050565b600060208284031215610df857610df76112af565b5b6000610e0684828501610d46565b91505092915050565b610e18816111c1565b82525050565b610e27816111d3565b82525050565b610e368161121b565b82525050565b6000610e4960268361109b565b9150610e54826112b4565b604082019050919050565b6000610e6c601c8361109b565b9150610e7782611303565b602082019050919050565b6000610e8f601e8361109b565b9150610e9a8261132c565b602082019050919050565b6000610eb2601a8361109b565b9150610ebd82611355565b602082019050919050565b6000610ed560208361109b565b9150610ee08261137e565b602082019050919050565b6000610ef860268361109b565b9150610f03826113a7565b604082019050919050565b610f1781611211565b82525050565b6000602082019050610f326000830184610e0f565b92915050565b6000604082019050610f4d6000830185610e0f565b610f5a6020830184610e0f565b9392505050565b6000604082019050610f766000830185610e0f565b610f836020830184610f0e565b9392505050565b6000602082019050610f9f6000830184610e1e565b92915050565b6000602082019050610fba6000830184610e2d565b92915050565b60006020820190508181036000830152610fd981610e3c565b9050919050565b60006020820190508181036000830152610ff981610e5f565b9050919050565b6000602082019050818103600083015261101981610e82565b9050919050565b6000602082019050818103600083015261103981610ea5565b9050919050565b6000602082019050818103600083015261105981610ec8565b9050919050565b6000602082019050818103600083015261107981610eeb565b9050919050565b60006020820190506110956000830184610f0e565b92915050565b600082825260208201905092915050565b60006110b782611211565b91506110c283611211565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156110f7576110f6611251565b5b828201905092915050565b600061110d82611211565b915061111883611211565b92508261112857611127611280565b5b828204905092915050565b600061113e82611211565b915061114983611211565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561118257611181611251565b5b828202905092915050565b600061119882611211565b91506111a383611211565b9250828210156111b6576111b5611251565b5b828203905092915050565b60006111cc826111f1565b9050919050565b60008115159050919050565b60006111ea826111c1565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006112268261122d565b9050919050565b60006112388261123f565b9050919050565b600061124a826111f1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600080fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f56657374696e673a20746f6b656e206e6f74207265766f6b61626c6500000000600082015250565b7f56657374696e673a20746f6b656e20616c7265616479207265766f6b65640000600082015250565b7f56657374696e673a206e6f20746f6b656e732061726520647565000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f7573656c65737320746f2075706461746520746f2073616d65206372756e636860008201527f20746f6b656e0000000000000000000000000000000000000000000000000000602082015250565b6113ff816111c1565b811461140a57600080fd5b50565b611416816111d3565b811461142157600080fd5b50565b61142d816111df565b811461143857600080fd5b50565b61144481611211565b811461144f57600080fd5b5056fea2646970667358221220102802e83bcb808c6b636ad7345bd3d6aae8db24f20a610e52201587d68d41a764736f6c63430008070033a2646970667358221220f925bf117aedf4ab165003569b2154b0668e78111de4738b7d9b945b9a442ddd64736f6c6343000807003300000000000000000000000074451d2240ef9e86b3cea815378af61566b81856

Deployed Bytecode

0x60806040523480156200001157600080fd5b5060043610620000a05760003560e01c8063715018a6116200006f578063715018a6146200013f5780638da5cb5b146200014b578063f27c3bf6146200016d578063f2fde38b146200018f578063fd768f5514620001af57620000a0565b80632d90ae9414620000a557806353ce8b7414620000c757806354c34dd414620000fd5780635dc3edc3146200011f575b600080fd5b620000af620001e5565b604051620000be919062000f79565b60405180910390f35b620000e56004803603810190620000df919062000b93565b62000426565b604051620000f4919062000ed4565b60405180910390f35b62000107620004d7565b60405162000116919062000e4a565b60405180910390f35b6200013d600480360381019062000137919062000c7e565b620004fd565b005b62000149620006b5565b005b6200015562000746565b60405162000164919062000dd3565b60405180910390f35b620001776200076f565b60405162000186919062000f79565b60405180910390f35b620001ad6004803603810190620001a7919062000b61565b62000777565b005b620001cd6004803603810190620001c7919062000bda565b6200087b565b604051620001dc919062000ed4565b60405180910390f35b6000620001f1620009fd565b73ffffffffffffffffffffffffffffffffffffffff166200021162000746565b73ffffffffffffffffffffffffffffffffffffffff16146200026a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002619062000f13565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401620002c7919062000dd3565b60206040518083038186803b158015620002e057600080fd5b505afa158015620002f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200031b919062000cb0565b9050600081141562000364576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200035b9062000f57565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb620003ac62000746565b836040518363ffffffff1660e01b8152600401620003cc92919062000e1d565b602060405180830381600087803b158015620003e757600080fd5b505af1158015620003fc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000422919062000c4c565b5090565b600062000432620009fd565b73ffffffffffffffffffffffffffffffffffffffff166200045262000746565b73ffffffffffffffffffffffffffffffffffffffff1614620004ab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004a29062000f13565b60405180910390fd5b620004cf836301e187e060046301e187e0620004c8919062000fa7565b856200087b565b905092915050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b62000507620009fd565b73ffffffffffffffffffffffffffffffffffffffff166200052762000746565b73ffffffffffffffffffffffffffffffffffffffff161462000580576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005779062000f13565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141562000614576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200060b9062000f35565b60405180910390fd5b7ffc6f5679951ef0c7cec54bda4ffa2f475aad31c9e9e8075b98210ecc8f0beac6600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826040516200066992919062000df0565b60405180910390a180600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b620006bf620009fd565b73ffffffffffffffffffffffffffffffffffffffff16620006df62000746565b73ffffffffffffffffffffffffffffffffffffffff161462000738576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200072f9062000f13565b60405180910390fd5b62000744600062000a05565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6301e187e081565b62000781620009fd565b73ffffffffffffffffffffffffffffffffffffffff16620007a162000746565b73ffffffffffffffffffffffffffffffffffffffff1614620007fa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007f19062000f13565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156200086d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008649062000ef1565b60405180910390fd5b620008788162000a05565b50565b600062000887620009fd565b73ffffffffffffffffffffffffffffffffffffffff16620008a762000746565b73ffffffffffffffffffffffffffffffffffffffff161462000900576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008f79062000f13565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166200092d62000746565b868686866040516200093f9062000ac9565b620009509695949392919062000e67565b604051809103906000f0801580156200096d573d6000803e3d6000fd5b5090508073ffffffffffffffffffffffffffffffffffffffff167f3e8bcc9b93833a94091247bb47cb577f9366023c4e463a313ccead340617184b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620009d562000746565b88888888604051620009ed9695949392919062000e67565b60405180910390a2949350505050565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611eb6806200126983390190565b60008135905062000ae88162001200565b92915050565b60008135905062000aff816200121a565b92915050565b60008151905062000b16816200121a565b92915050565b60008135905062000b2d8162001234565b92915050565b60008135905062000b44816200124e565b92915050565b60008151905062000b5b816200124e565b92915050565b60006020828403121562000b7a5762000b79620010e5565b5b600062000b8a8482850162000ad7565b91505092915050565b6000806040838503121562000bad5762000bac620010e5565b5b600062000bbd8582860162000ad7565b925050602062000bd08582860162000aee565b9150509250929050565b6000806000806080858703121562000bf75762000bf6620010e5565b5b600062000c078782880162000ad7565b945050602062000c1a8782880162000b33565b935050604062000c2d8782880162000b33565b925050606062000c408782880162000aee565b91505092959194509250565b60006020828403121562000c655762000c64620010e5565b5b600062000c758482850162000b05565b91505092915050565b60006020828403121562000c975762000c96620010e5565b5b600062000ca78482850162000b1c565b91505092915050565b60006020828403121562000cc95762000cc8620010e5565b5b600062000cd98482850162000b4a565b91505092915050565b62000ced8162001008565b82525050565b62000cfe816200101c565b82525050565b62000d0f8162001066565b82525050565b62000d20816200107a565b82525050565b600062000d3560268362000f96565b915062000d4282620010ea565b604082019050919050565b600062000d5c60208362000f96565b915062000d698262001139565b602082019050919050565b600062000d8360268362000f96565b915062000d908262001162565b604082019050919050565b600062000daa602c8362000f96565b915062000db782620011b1565b604082019050919050565b62000dcd816200105c565b82525050565b600060208201905062000dea600083018462000ce2565b92915050565b600060408201905062000e07600083018562000ce2565b62000e16602083018462000ce2565b9392505050565b600060408201905062000e34600083018562000ce2565b62000e43602083018462000dc2565b9392505050565b600060208201905062000e61600083018462000d04565b92915050565b600060c08201905062000e7e600083018962000d04565b62000e8d602083018862000ce2565b62000e9c604083018762000ce2565b62000eab606083018662000dc2565b62000eba608083018562000dc2565b62000ec960a083018462000cf3565b979650505050505050565b600060208201905062000eeb600083018462000d15565b92915050565b6000602082019050818103600083015262000f0c8162000d26565b9050919050565b6000602082019050818103600083015262000f2e8162000d4d565b9050919050565b6000602082019050818103600083015262000f508162000d74565b9050919050565b6000602082019050818103600083015262000f728162000d9b565b9050919050565b600060208201905062000f90600083018462000dc2565b92915050565b600082825260208201905092915050565b600062000fb4826200105c565b915062000fc1836200105c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562000ffd5762000ffc620010b6565b5b828202905092915050565b600062001015826200103c565b9050919050565b60008115159050919050565b6000620010358262001008565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600062001073826200108e565b9050919050565b600062001087826200108e565b9050919050565b60006200109b82620010a2565b9050919050565b6000620010af826200103c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600080fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f7573656c65737320746f2075706461746520746f2073616d65206372756e636860008201527f20746f6b656e0000000000000000000000000000000000000000000000000000602082015250565b7f56657374696e6720466163746f72793a206e6f20746f6b656e2061726520696e60008201527f2074686520666163746f72790000000000000000000000000000000000000000602082015250565b6200120b8162001008565b81146200121757600080fd5b50565b62001225816200101c565b81146200123157600080fd5b50565b6200123f8162001028565b81146200124b57600080fd5b50565b62001259816200105c565b81146200126557600080fd5b5056fe60806040523480156200001157600080fd5b5060405162001eb638038062001eb6833981810160405281019062000037919062000530565b85620000586200004c620002c960201b60201c565b620002d160201b60201c565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507ffc6f5679951ef0c7cec54bda4ffa2f475aad31c9e9e8075b98210ecc8f0beac66000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16604051620000ef929190620006a0565b60405180910390a150600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156200016b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001629062000711565b60405180910390fd5b81831115620001b1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001a89062000755565b60405180910390fd5b60008211620001f7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001ee9062000733565b60405180910390fd5b83600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555042600381905550826003546200024f919062000788565b6004819055508160058190555080600760006101000a81548160ff021916908315150217905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614620002bd57620002bc856200039560201b60201c565b5b50505050505062000a1e565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003a5620002c960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003cb620004ab60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000424576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200041b90620006ef565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000497576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200048e90620006cd565b60405180910390fd5b620004a881620002d160201b60201c565b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600081519050620004e581620009b6565b92915050565b600081519050620004fc81620009d0565b92915050565b6000815190506200051381620009ea565b92915050565b6000815190506200052a8162000a04565b92915050565b60008060008060008060c0878903121562000550576200054f62000872565b5b60006200056089828a0162000502565b96505060206200057389828a01620004d4565b95505060406200058689828a01620004d4565b94505060606200059989828a0162000519565b9350506080620005ac89828a0162000519565b92505060a0620005bf89828a01620004eb565b9150509295509295509295565b620005d781620007e5565b82525050565b6000620005ec60268362000777565b9150620005f98262000877565b604082019050919050565b60006200061360208362000777565b91506200062082620008c6565b602082019050919050565b60006200063a60288362000777565b91506200064782620008ef565b604082019050919050565b60006200066160168362000777565b91506200066e826200093e565b602082019050919050565b60006200068860268362000777565b9150620006958262000967565b604082019050919050565b6000604082019050620006b76000830185620005cc565b620006c66020830184620005cc565b9392505050565b60006020820190508181036000830152620006e881620005dd565b9050919050565b600060208201905081810360008301526200070a8162000604565b9050919050565b600060208201905081810360008301526200072c816200062b565b9050919050565b600060208201905081810360008301526200074e8162000652565b9050919050565b60006020820190508181036000830152620007708162000679565b9050919050565b600082825260208201905092915050565b6000620007958262000839565b9150620007a28362000839565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620007da57620007d962000843565b5b828201905092915050565b6000620007f28262000819565b9050919050565b60008115159050919050565b60006200081282620007e5565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600080fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f56657374696e673a2062656e656669636961727920697320746865207a65726f60008201527f2061646472657373000000000000000000000000000000000000000000000000602082015250565b7f56657374696e673a206475726174696f6e206973203000000000000000000000600082015250565b7f56657374696e673a20636c696666206973206c6f6e676572207468616e20647560008201527f726174696f6e0000000000000000000000000000000000000000000000000000602082015250565b620009c181620007e5565b8114620009cd57600080fd5b50565b620009db81620007f9565b8114620009e757600080fd5b50565b620009f58162000805565b811462000a0157600080fd5b50565b62000a0f8162000839565b811462000a1b57600080fd5b50565b6114888062000a2e6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c8063715018a611610097578063b6549f7511610066578063b6549f7514610243578063be9a65551461024d578063e11360b31461026b578063f2fde38b1461028957610100565b8063715018a6146101f357806386d1a69f146101fd5780638da5cb5b14610207578063961325211461022557610100565b806354c34dd4116100d357806354c34dd41461017d5780635b9400811461019b5780635dc3edc3146101b957806363d256ce146101d557610100565b80630fb5a6b41461010557806313d033c01461012357806338af3eed1461014157806344b1231f1461015f575b600080fd5b61010d6102a5565b60405161011a9190611080565b60405180910390f35b61012b6102ab565b6040516101389190611080565b60405180910390f35b6101496102b1565b6040516101569190610f1d565b60405180910390f35b6101676102d7565b6040516101749190611080565b60405180910390f35b610185610415565b6040516101929190610fa5565b60405180910390f35b6101a361043b565b6040516101b09190611080565b60405180910390f35b6101d360048036038101906101ce9190610db5565b610457565b005b6101dd610603565b6040516101ea9190610f8a565b60405180910390f35b6101fb610616565b005b61020561069e565b005b61020f610812565b60405161021c9190610f1d565b60405180910390f35b61022d61083b565b60405161023a9190611080565b60405180910390f35b61024b610841565b005b610255610b2a565b6040516102629190611080565b60405180910390f35b610273610b30565b6040516102809190610f8a565b60405180910390f35b6102a3600480360381019061029e9190610d5b565b610b43565b005b60055481565b60045481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016103359190610f1d565b60206040518083038186803b15801561034d57600080fd5b505afa158015610361573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103859190610de2565b905060006006548261039791906110ac565b90506004544210156103ae57600092505050610412565b6005546003546103be91906110ac565b421015806103d85750600760019054906101000a900460ff165b156103e7578092505050610412565b600554600354426103f8919061118d565b826104039190611133565b61040d9190611102565b925050505b90565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006006546104486102d7565b610452919061118d565b905090565b61045f610c3b565b73ffffffffffffffffffffffffffffffffffffffff1661047d610812565b73ffffffffffffffffffffffffffffffffffffffff16146104d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ca90611040565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610564576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055b90611060565b60405180910390fd5b7ffc6f5679951ef0c7cec54bda4ffa2f475aad31c9e9e8075b98210ecc8f0beac6600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826040516105b7929190610f38565b60405180910390a180600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600760019054906101000a900460ff1681565b61061e610c3b565b73ffffffffffffffffffffffffffffffffffffffff1661063c610812565b73ffffffffffffffffffffffffffffffffffffffff1614610692576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068990611040565b60405180910390fd5b61069c6000610c43565b565b60006106a861043b565b9050600081116106ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e490611020565b60405180910390fd5b80600660008282546106ff91906110ac565b92505081905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401610785929190610f61565b602060405180830381600087803b15801561079f57600080fd5b505af11580156107b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d79190610d88565b507fa1598fb976f7dd9df63fd18699c54a5744a6a95364166bbd0d77a2f6c8438b1f816040516108079190611080565b60405180910390a150565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60065481565b610849610c3b565b73ffffffffffffffffffffffffffffffffffffffff16610867610812565b73ffffffffffffffffffffffffffffffffffffffff16146108bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b490611040565b60405180910390fd5b600760009054906101000a900460ff1661090c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090390610fe0565b60405180910390fd5b600760019054906101000a900460ff161561095c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095390611000565b60405180910390fd5b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109b99190610f1d565b60206040518083038186803b1580156109d157600080fd5b505afa1580156109e5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a099190610de2565b90506000610a1561043b565b905060008183610a25919061118d565b90506001600760016101000a81548160ff021916908315150217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610a88610812565b836040518363ffffffff1660e01b8152600401610aa6929190610f61565b602060405180830381600087803b158015610ac057600080fd5b505af1158015610ad4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af89190610d88565b507ff0a5a1d42d78b340a9342f76a487e4098eb30a85df94eb209dad5230eb14555160405160405180910390a1505050565b60035481565b600760009054906101000a900460ff1681565b610b4b610c3b565b73ffffffffffffffffffffffffffffffffffffffff16610b69610812565b73ffffffffffffffffffffffffffffffffffffffff1614610bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb690611040565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2690610fc0565b60405180910390fd5b610c3881610c43565b50565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081359050610d16816113f6565b92915050565b600081519050610d2b8161140d565b92915050565b600081359050610d4081611424565b92915050565b600081519050610d558161143b565b92915050565b600060208284031215610d7157610d706112af565b5b6000610d7f84828501610d07565b91505092915050565b600060208284031215610d9e57610d9d6112af565b5b6000610dac84828501610d1c565b91505092915050565b600060208284031215610dcb57610dca6112af565b5b6000610dd984828501610d31565b91505092915050565b600060208284031215610df857610df76112af565b5b6000610e0684828501610d46565b91505092915050565b610e18816111c1565b82525050565b610e27816111d3565b82525050565b610e368161121b565b82525050565b6000610e4960268361109b565b9150610e54826112b4565b604082019050919050565b6000610e6c601c8361109b565b9150610e7782611303565b602082019050919050565b6000610e8f601e8361109b565b9150610e9a8261132c565b602082019050919050565b6000610eb2601a8361109b565b9150610ebd82611355565b602082019050919050565b6000610ed560208361109b565b9150610ee08261137e565b602082019050919050565b6000610ef860268361109b565b9150610f03826113a7565b604082019050919050565b610f1781611211565b82525050565b6000602082019050610f326000830184610e0f565b92915050565b6000604082019050610f4d6000830185610e0f565b610f5a6020830184610e0f565b9392505050565b6000604082019050610f766000830185610e0f565b610f836020830184610f0e565b9392505050565b6000602082019050610f9f6000830184610e1e565b92915050565b6000602082019050610fba6000830184610e2d565b92915050565b60006020820190508181036000830152610fd981610e3c565b9050919050565b60006020820190508181036000830152610ff981610e5f565b9050919050565b6000602082019050818103600083015261101981610e82565b9050919050565b6000602082019050818103600083015261103981610ea5565b9050919050565b6000602082019050818103600083015261105981610ec8565b9050919050565b6000602082019050818103600083015261107981610eeb565b9050919050565b60006020820190506110956000830184610f0e565b92915050565b600082825260208201905092915050565b60006110b782611211565b91506110c283611211565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156110f7576110f6611251565b5b828201905092915050565b600061110d82611211565b915061111883611211565b92508261112857611127611280565b5b828204905092915050565b600061113e82611211565b915061114983611211565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561118257611181611251565b5b828202905092915050565b600061119882611211565b91506111a383611211565b9250828210156111b6576111b5611251565b5b828203905092915050565b60006111cc826111f1565b9050919050565b60008115159050919050565b60006111ea826111c1565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006112268261122d565b9050919050565b60006112388261123f565b9050919050565b600061124a826111f1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600080fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f56657374696e673a20746f6b656e206e6f74207265766f6b61626c6500000000600082015250565b7f56657374696e673a20746f6b656e20616c7265616479207265766f6b65640000600082015250565b7f56657374696e673a206e6f20746f6b656e732061726520647565000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f7573656c65737320746f2075706461746520746f2073616d65206372756e636860008201527f20746f6b656e0000000000000000000000000000000000000000000000000000602082015250565b6113ff816111c1565b811461140a57600080fd5b50565b611416816111d3565b811461142157600080fd5b50565b61142d816111df565b811461143857600080fd5b50565b61144481611211565b811461144f57600080fd5b5056fea2646970667358221220102802e83bcb808c6b636ad7345bd3d6aae8db24f20a610e52201587d68d41a764736f6c63430008070033a2646970667358221220f925bf117aedf4ab165003569b2154b0668e78111de4738b7d9b945b9a442ddd64736f6c63430008070033

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

00000000000000000000000074451d2240ef9e86b3cea815378af61566b81856

-----Decoded View---------------
Arg [0] : crunch (address): 0x74451D2240Ef9e86b3cEA815378aF61566B81856

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000074451d2240ef9e86b3cea815378af61566b81856


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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