Contract 0x045502ee488806bdf22928b6228bdd162b5056f6

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
0x5368d0eb018e87c69960bfea55baf12e4c89d586196706a031556f2cbf58653f84927652021-06-21 14:56:0127 mins ago0x2635101853883a6cb395530abe4937642383c885 IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.000667545
0xcca4c61fd1e86d24e1fae87ff88f2a84e2f2b26d860fce952d17ace446e5bc8a84927592021-06-21 14:55:4327 mins ago0x1610ae173b093689076e4d9354d38d9a33f96b85 IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.000792115
0x6cef7557875c106b39f931f63aa3d665a516b7c884f8844959290da8484175cb84927292021-06-21 14:54:1329 mins ago0x2635101853883a6cb395530abe4937642383c885 IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.000666995
0x00d18baee5107144dbc8c817933a817a953a2c52904baddafea5df73514c38a584927272021-06-21 14:54:0729 mins ago0x1610ae173b093689076e4d9354d38d9a33f96b85 IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.000667545
0xfb01f1099f89f49b59457664ba8140ee1b93a037daa595278c012f59026b9f0284920612021-06-21 14:20:311 hr 3 mins ago0x9a524045ee9e993d362d4c082d2689c788663390 IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.000666995
0xba46c5de18a84a2f301c61e72c1adb051c9fc55f124740db05bce8836937ae3784920592021-06-21 14:20:251 hr 3 mins ago0x9a524045ee9e993d362d4c082d2689c788663390 IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.000741995
0xee655fa56a3203a910907e6606da79d273b18d1c0e0f979bf122e491be4a106484915992021-06-21 13:57:251 hr 26 mins ago0xb9a06bd26e07db3ea2dc04a4dc8d8d67bb27b130 IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.000792115
0x4dd13302cc34e3e31f04eca2a194c0be1f75dee340bd0cea0d5312daef4575e384915762021-06-21 13:56:161 hr 27 mins ago0xb9a06bd26e07db3ea2dc04a4dc8d8d67bb27b130 IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.000667545
0x7a420022a5b22a9edd43b43a37b9c52e06d51968a8512dbbdea67303bf90d67e84915762021-06-21 13:56:161 hr 27 mins ago0xb9a06bd26e07db3ea2dc04a4dc8d8d67bb27b130 IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.000666995
0x8df660910187bdc22f56d877b9bac61aa53cd8c73470437ef08cd89b17dc272a84915572021-06-21 13:55:191 hr 28 mins ago0xd63877f510ceba7892794fb3e252f6c22009a95e IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.000836385
0x3c032063e059f9b77d1ee5aa65b70f64b9b726d61b0e57798c1f6df45a8a750084915472021-06-21 13:54:491 hr 28 mins ago0x5db7c3c96d25ba3d824ca6313d4cfca560b8eebb IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.00059926
0x04f168b401da978df2568826ce4b8c795aac4cef399b1b61b6627148c2f1745284915402021-06-21 13:54:281 hr 29 mins ago0x5db7c3c96d25ba3d824ca6313d4cfca560b8eebb IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.000742545
0x5b4d5c94ff4361f0cb8c356b8549befea435c6e512bd3467fa7bcd8b8f0fd92584914922021-06-21 13:52:041 hr 31 mins ago0xd63877f510ceba7892794fb3e252f6c22009a95e IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.000792115
0xc8892dd4d54b0f509dc0215372275f553f975b0ca8e6f6979604c7581a14ea1f84914772021-06-21 13:51:191 hr 32 mins ago0xd63877f510ceba7892794fb3e252f6c22009a95e IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.00066742
0x4bbc95e4b0e0d041e0c5114a58c9cb1f38bbfc7d1829492e2c7ee29f3b0c300284914762021-06-21 13:51:161 hr 32 mins ago0xd63877f510ceba7892794fb3e252f6c22009a95e IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.0006673
0x7aa23b154ba578b3c3be0d251a267df0828ad5a686dc90a9a083cc8dccd636af84914742021-06-21 13:51:101 hr 32 mins ago0xd63877f510ceba7892794fb3e252f6c22009a95e IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.000667545
0x3f9dac24cf2bab3905b73a6ce70c061cff4c5d1972ff8c9d38ec9396a46700a784914612021-06-21 13:50:311 hr 33 mins ago0x5323906f33d555228234f407157495eb73ad55fc IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.000741995
0x32f99ebbca9bdf4322f4ce114d8715c3dc5520485b25c983f33f67d31f906b5084905692021-06-21 13:05:502 hrs 17 mins ago0xef669b7c021853c091b5ef77068594ff081f987e IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.000899050001
0xc8222ce3d447a969e9f75a74bb2573d17a54702a0f1462f8cf97901f09fceb1284903022021-06-21 12:52:292 hrs 31 mins ago0xf383e7513f2a76daf7b40f66ebbff5f568dc7468 IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.000792115
0x9a451c6429c20d517ac60db39dcc613b2d0dcd992446aa066fead67921212fe984903012021-06-21 12:52:262 hrs 31 mins ago0xe8708b3d7b318e13a0e1bad8ba06c844b1bca04b IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.000792115
0xfce081c19e6b282616e455077348837f87e8e0ba10852b2dcbe86b69d4bde4ce84902962021-06-21 12:52:112 hrs 31 mins ago0xf383e7513f2a76daf7b40f66ebbff5f568dc7468 IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.000667545
0x9fa4ab2ea37454d7cbb16dcea2fed3a4cc37b8bdfc5d218941035d407a98cc2384902902021-06-21 12:51:532 hrs 31 mins ago0xe8708b3d7b318e13a0e1bad8ba06c844b1bca04b IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.000667545
0x802ea65620d4a527a0115d59f0e3a2684034eceb74538eebd955dbea614c8e7c84902892021-06-21 12:51:502 hrs 31 mins ago0xe8708b3d7b318e13a0e1bad8ba06c844b1bca04b IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.000666995
0x0b553e802ff283f7676c4f0e8c0aa0357f66db464b54f5b2b2c377088c4cd5cd84901052021-06-21 12:42:382 hrs 40 mins ago0x0fb1dcac7a9d6742bd13ba0987ddbcb7bcb0f9e0 IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.00068607
0x41ae44964f9a6eb180bef72ba1df1fed49c29f6f1f8f2b9df812eff64b996f4e84900812021-06-21 12:41:262 hrs 42 mins ago0x0fb1dcac7a9d6742bd13ba0987ddbcb7bcb0f9e0 IN  0x045502ee488806bdf22928b6228bdd162b5056f60 BNB0.00061158
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NeonicFactory

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-04-13
*/

pragma solidity 0.6.12;

// SPDX-License-Identifier: MIT
/*
 * @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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

/**
 * @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() internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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"
        );
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b)
        internal
        pure
        returns (bool, 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-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

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

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(
            address(this).balance >= amount,
            "Address: insufficient balance"
        );

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{value: amount}("");
        require(
            success,
            "Address: unable to send value, recipient may have reverted"
        );
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data)
        internal
        returns (bytes memory)
    {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return
            functionCallWithValue(
                target,
                data,
                value,
                "Address: low-level call with value failed"
            );
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(
            address(this).balance >= value,
            "Address: insufficient balance for call"
        );
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) =
            target.call{value: value}(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data)
        internal
        view
        returns (bytes memory)
    {
        return
            functionStaticCall(
                target,
                data,
                "Address: low-level static call failed"
            );
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data)
        internal
        returns (bytes memory)
    {
        return
            functionDelegateCall(
                target,
                data,
                "Address: low-level delegate call failed"
            );
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(token.transfer.selector, to, value)
        );
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(token.transferFrom.selector, from, to, value)
        );
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(token.approve.selector, spender, value)
        );
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance =
            token.allowance(address(this), spender).add(value);
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(
                token.approve.selector,
                spender,
                newAllowance
            )
        );
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance =
            token.allowance(address(this), spender).sub(
                value,
                "SafeERC20: decreased allowance below zero"
            );
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(
                token.approve.selector,
                spender,
                newAllowance
            )
        );
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata =
            address(token).functionCall(
                data,
                "SafeERC20: low-level call failed"
            );
        if (returndata.length > 0) {
            // Return data is optional
            // solhint-disable-next-line max-line-length
            require(
                abi.decode(returndata, (bool)),
                "SafeERC20: ERC20 operation did not succeed"
            );
        }
    }
}

/**
 * @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 guidelines: functions revert instead
 * of 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 {
    using SafeMath for uint256;

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 {_setupDecimals} is
     * called.
     *
     * 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 returns (uint8) {
        return _decimals;
    }

    /**
     * @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);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "ERC20: transfer amount exceeds allowance"
            )
        );
        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].add(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)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(
                subtractedValue,
                "ERC20: decreased allowance below zero"
            )
        );
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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);

        _balances[sender] = _balances[sender].sub(
            amount,
            "ERC20: transfer amount exceeds balance"
        );
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(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:
     *
     * - `to` 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 = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);

        _balances[account] = _balances[account].sub(
            amount,
            "ERC20: burn amount exceeds balance"
        );
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(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 Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

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

// NeonToken with Governance.
contract NeonToken is ERC20("Neonic", "NEON"), Ownable {
    uint8 public constant burnDivisor = 100;

    /// @dev Destroys `amount` tokens from the caller.
    function burn(uint256 amount) public {
        _burn(_msgSender(), amount);
    }

    // Creates `_amount` token to `_to`. Must only be called by the owner (DonBuilder).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }

    function transfer(address recipient, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {
        // transfer burn amount is 1%
        uint256 burnAmount = amount.div(burnDivisor);
        // sender loses the 1%
        _burn(msg.sender, burnAmount);
        // sender transfers 99%
        return super.transfer(recipient, amount.sub(burnAmount));
    }

    // Copied and modified from YAM code:
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol
    // Which is copied and modified from COMPOUND:
    // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol

    // A record of each accounts delegate
    mapping(address => address) internal _delegates;

    // A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    // A record of votes checkpoints for each account, by index
    mapping(address => mapping(uint32 => Checkpoint)) public checkpoints;

    // The number of checkpoints for each account
    mapping(address => uint32) public numCheckpoints;

    // The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH =
        keccak256(
            "EIP712Domain(string name,uint256 chainId,address verifyingContract)"
        );

    // The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH =
        keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    // A record of states for signing / validating signatures
    mapping(address => uint256) public nonces;

    // An event thats emitted when an account changes its delegate
    event DelegateChanged(
        address indexed delegator,
        address indexed fromDelegate,
        address indexed toDelegate
    );

    // An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(
        address indexed delegate,
        uint256 previousBalance,
        uint256 newBalance
    );

    /**
      Delegate votes from `msg.sender` to `delegatee`
     * @param delegator The address to get delegatee for
     */
    function delegates(address delegator) external view returns (address) {
        return _delegates[delegator];
    }

    /**
      Delegate votes from `msg.sender` to `delegatee`
     * @param delegatee The address to delegate votes to
     */
    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    /**
      Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint256 nonce,
        uint256 expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external {
        bytes32 domainSeparator =
            keccak256(
                abi.encode(
                    DOMAIN_TYPEHASH,
                    keccak256(bytes(name())),
                    getChainId(),
                    address(this)
                )
            );

        bytes32 structHash =
            keccak256(
                abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry)
            );

        bytes32 digest =
            keccak256(
                abi.encodePacked("\x19\x01", domainSeparator, structHash)
            );

        address signatory = ecrecover(digest, v, r, s);
        require(
            signatory != address(0),
            "Neon::delegateBySig: invalid signature"
        );
        require(
            nonce == nonces[signatory]++,
            "Neon::delegateBySig: invalid nonce"
        );
        require(now <= expiry, "Neon::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
      Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account) external view returns (uint256) {
        uint32 nCheckpoints = numCheckpoints[account];
        return
            nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
      Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint256 blockNumber)
        external
        view
        returns (uint256)
    {
        require(
            blockNumber < block.number,
            "Neon::getPriorVotes: not yet determined"
        );

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee) internal {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = balanceOf(delegator); // balance of underlying (not scaled);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(
        address srcRep,
        address dstRep,
        uint256 amount
    ) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld =
                    srcRepNum > 0
                        ? checkpoints[srcRep][srcRepNum - 1].votes
                        : 0;
                uint256 srcRepNew = srcRepOld.sub(amount);
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld =
                    dstRepNum > 0
                        ? checkpoints[dstRep][dstRepNum - 1].votes
                        : 0;
                uint256 dstRepNew = dstRepOld.add(amount);
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    ) internal {
        uint32 blockNumber =
            safe32(
                block.number,
                "Neon::_writeCheckpoint: block number exceeds 32 bits"
            );

        if (
            nCheckpoints > 0 &&
            checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber
        ) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(
                blockNumber,
                newVotes
            );
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint256 n, string memory errorMessage)
        internal
        pure
        returns (uint32)
    {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal pure returns (uint256) {
        uint256 chainId;
        assembly {
            chainId := chainid()
        }
        return chainId;
    }
}

// NeonicFactory
//
// Note that it's ownable and the owner wields tremendous power. The ownership
// will be transferred to a governance smart contract once Neon is sufficiently
// distributed and the community can show to govern itself.
//
// Have fun reading it. Hopefully it's bug-free. God bless.
contract NeonicFactory is Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    // Info of each user.
    struct UserInfo {
        uint256 amount; // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
        //
        // We do some fancy math here. Basically, any point in time, the amount of Neons
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accNeonPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accNeonPerShare` (and `lastRewardBlock`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
        uint256 lastDeposit; // The last deposit in unix time.
    }

    // Info of each pool.
    struct PoolInfo {
        IERC20 lpToken; // Address of LP token contract.
        uint256 allocPoint; // How many allocation points assigned to this pool. Neons to distribute per block.
        uint256 lastRewardBlock; // Last block number that Neons distribution occurs.
        uint256 accNeonPerShare; // Accumulated Neons per share, times 1e12. See below.
        uint16 depositFeeBP; // Deposit fee in basis points
    }

    // The Neon token!
    NeonToken public neon;
    // Dev address.
    address public devAddr;
    // holders address.
    address public holdersAddress;
    // The min number for neonPerBlock.
    uint256 public constant NEON_PER_BLOCK_MIN = 0; // 0 neons per block
    // The max number for neonPerBlock.
    uint256 public constant NEON_PER_BLOCK_MAX = 100e18; // 100 neons per block
    // Neon tokens created per block.
    uint256 public neonPerBlock;
    // The last update the neon tokens created per block in blocktime unit
    uint256 public lastUpdateEmissionRate;
    // Deposit Fee will be used to buyback Neon when the staking is from an external pool
    address public feeAddress;

    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;
    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The block number when Neon mining starts.
    uint256 public startBlock;
    // Automatically decrease the emission rate day by day until NEON_PER_BLOCK_MIN
    bool public decreaseEmissionRateAutomatically;

    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(
        address indexed user,
        uint256 indexed pid,
        uint256 amount
    );

    constructor(
        NeonToken _neon,
        address _devAddr,
        address _holdersAddress,
        address _feeAddress,
        uint256 _neonPerBlock,
        uint256 _startBlock
    ) public {
        require(
            _neonPerBlock <= NEON_PER_BLOCK_MAX,
            "constructor: invalid neon_per_block"
        );
        neon = _neon;
        devAddr = _devAddr;
        holdersAddress = _holdersAddress;
        feeAddress = _feeAddress;
        lastUpdateEmissionRate = block.timestamp;
        neonPerBlock = _neonPerBlock;
        startBlock = _startBlock;
        decreaseEmissionRateAutomatically = false;
    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    // Check the time to know if is necessary decrease the emmision rate
    function updateEmissionRateIfNeccessary() public {
        if (!decreaseEmissionRateAutomatically) {
            return;
        }
        uint256 blocksPerDay = 1 days;
        uint256 currentTimestamp = block.timestamp;
        if (currentTimestamp - lastUpdateEmissionRate >= blocksPerDay) {
            uint256 emissionToDecrease =
                (currentTimestamp.sub(lastUpdateEmissionRate))
                    .div(blocksPerDay)
                    .mul(1e18);

            if (
                emissionToDecrease <= neonPerBlock &&
                neonPerBlock - emissionToDecrease >= NEON_PER_BLOCK_MIN
            ) {
                neonPerBlock = neonPerBlock.sub(emissionToDecrease);
            } else {
                neonPerBlock = NEON_PER_BLOCK_MIN;
            }

            // neonPerBlock never will be gratter than 100
            if (neonPerBlock > NEON_PER_BLOCK_MAX) {
                neonPerBlock = NEON_PER_BLOCK_MAX;
            }

            lastUpdateEmissionRate = currentTimestamp;
        }
    }

    // Detects whether the given pool already exists
    function checkPoolDuplicate(IERC20 _lpToken) public view {
        uint256 length = poolInfo.length;
        for (uint256 _pid = 0; _pid < length; _pid++) {
            require(poolInfo[_pid].lpToken != _lpToken, "add: existing pool");
        }
    }

    /// @notice Add a new lp to the pool. Can only be called by the owner.
    function add(
        uint256 _allocPoint,
        IERC20 _lpToken,
        uint16 _depositFeeBP
    ) public onlyOwner {
        require(
            _depositFeeBP <= 10000,
            "add: invalid deposit fee basis points"
        );
        checkPoolDuplicate(_lpToken);
        massUpdatePools();
        uint256 lastRewardBlock =
            block.number > startBlock ? block.number : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(
            PoolInfo({
                lpToken: _lpToken,
                allocPoint: _allocPoint,
                lastRewardBlock: lastRewardBlock,
                accNeonPerShare: 0,
                depositFeeBP: _depositFeeBP
            })
        );
    }

    /// @notice Update the given pool's Neon allocation point and deposit fee. Can only be called by the owner.
    function set(
        uint256 _pid,
        uint256 _allocPoint,
        uint16 _depositFeeBP
    ) public onlyOwner {
        require(
            _depositFeeBP <= 10000,
            "set: invalid deposit fee basis points"
        );
        massUpdatePools();
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(
            _allocPoint
        );
        poolInfo[_pid].allocPoint = _allocPoint;
        poolInfo[_pid].depositFeeBP = _depositFeeBP;
    }

    /// @notice Return reward multiplier over the given _from to _to block.
    function getMultiplier(uint256 _from, uint256 _to)
        public
        pure
        returns (uint256)
    {
        return _to.sub(_from);
    }

    /// @notice View function to see pending Neons on frontend.
    function pendingNeon(uint256 _pid, address _user)
        external
        view
        returns (uint256)
    {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accNeonPerShare = pool.accNeonPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier =
                getMultiplier(pool.lastRewardBlock, block.number);
            uint256 neonReward =
                multiplier.mul(neonPerBlock).mul(pool.allocPoint).div(
                    totalAllocPoint
                );
            accNeonPerShare = accNeonPerShare.add(
                neonReward.mul(1e12).div(lpSupply)
            );
        }
        return user.amount.mul(accNeonPerShare).div(1e12).sub(user.rewardDebt);
    }

    /// @notice Update reward variables for all pools.
    /// @dev Be careful of gas spending!
    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    /// @notice Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0 || pool.allocPoint == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        uint256 neonReward =
            multiplier.mul(neonPerBlock).mul(pool.allocPoint).div(
                totalAllocPoint
            );

        uint256 devAndHoldersRewards = neonReward.div(10);
        neon.mint(devAddr, devAndHoldersRewards.div(2)); // devAndHoldersRewards/2 developers
        neon.mint(holdersAddress, devAndHoldersRewards.div(2)); // devAndHoldersRewards/2 holders contract
        neon.mint(address(this), neonReward);

        pool.accNeonPerShare = pool.accNeonPerShare.add(
            neonReward.mul(1e12).div(lpSupply)
        );
        pool.lastRewardBlock = block.number;
    }

    /// @notice Deposit LP tokens to NeonicFactory for Neon allocation.
    function deposit(uint256 _pid, uint256 _amount) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updateEmissionRateIfNeccessary();
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 pending =
                user.amount.mul(pool.accNeonPerShare).div(1e12).sub(
                    user.rewardDebt
                );
            if (pending > 0) {
                safeNeonTransfer(msg.sender, pending);
            }
        }
        if (_amount > 0) {
            pool.lpToken.safeTransferFrom(
                address(msg.sender),
                address(this),
                _amount
            );
            if (pool.depositFeeBP > 0) {
                uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000);
                pool.lpToken.safeTransfer(feeAddress, depositFee);
                user.amount = user.amount.add(_amount).sub(depositFee);
            } else {
                user.amount = user.amount.add(_amount);
            }
        }
        user.rewardDebt = user.amount.mul(pool.accNeonPerShare).div(1e12);
        user.lastDeposit = now;
        emit Deposit(msg.sender, _pid, _amount);
    }

    /// @notice Withdraw LP tokens from NeonicFactory.
    function withdraw(uint256 _pid, uint256 _amount) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updateEmissionRateIfNeccessary();
        updatePool(_pid);
        uint256 pending =
            user.amount.mul(pool.accNeonPerShare).div(1e12).sub(
                user.rewardDebt
            );
        if (pending > 0) {
            safeNeonTransfer(msg.sender, pending);
        }
        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
        }
        user.rewardDebt = user.amount.mul(pool.accNeonPerShare).div(1e12);
        emit Withdraw(msg.sender, _pid, _amount);
    }

    /// @notice Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        uint256 amount = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;
        pool.lpToken.safeTransfer(address(msg.sender), amount);
        emit EmergencyWithdraw(msg.sender, _pid, amount);
    }

    /// @notice Safe neon transfer function, just in case if rounding error causes pool to not have enough Neons.
    function safeNeonTransfer(address _to, uint256 _amount) internal {
        uint256 neonBal = neon.balanceOf(address(this));
        if (_amount > neonBal) {
            neon.transfer(_to, neonBal);
        } else {
            neon.transfer(_to, _amount);
        }
    }

    /// @notice Update dev address by the previous dev.
    function dev(address _devAddr) public {
        require(msg.sender == devAddr, "dev: invalid sender");
        devAddr = _devAddr;
    }

    /// @notice Update holders address by the previous holders.
    function holders(address _holdersAddress) public onlyOwner {
        holdersAddress = _holdersAddress;
    }

    function setFeeAddress(address _feeAddress) public {
        require(msg.sender == feeAddress, "feeAddress: invalid sender");
        feeAddress = _feeAddress;
    }

    /// @notice transparent and simple way to turnon/turnoff the automatic emission feature.
    function setUpdateDecreaseEmissionRateAutomatically(
        bool _decreaseEmissionRateAutomatically
    ) public onlyOwner {
        lastUpdateEmissionRate = block.timestamp;
        decreaseEmissionRateAutomatically = _decreaseEmissionRateAutomatically;
    }

    /// @notice transparent and simple way to alter the emission.
    function updateEmissionRate(uint256 _neonPerBlock) public onlyOwner {
        require(
            _neonPerBlock <= NEON_PER_BLOCK_MAX,
            "updateEmissionRate: invalid _neonPerBlock value"
        );
        massUpdatePools();
        neonPerBlock = _neonPerBlock;
    }
}

Contract ABI

[{"inputs":[{"internalType":"contract NeonToken","name":"_neon","type":"address"},{"internalType":"address","name":"_devAddr","type":"address"},{"internalType":"address","name":"_holdersAddress","type":"address"},{"internalType":"address","name":"_feeAddress","type":"address"},{"internalType":"uint256","name":"_neonPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","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":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"NEON_PER_BLOCK_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NEON_PER_BLOCK_MIN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_lpToken","type":"address"}],"name":"checkPoolDuplicate","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decreaseEmissionRateAutomatically","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devAddr","type":"address"}],"name":"dev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_holdersAddress","type":"address"}],"name":"holders","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"holdersAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateEmissionRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"neon","outputs":[{"internalType":"contract NeonToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"neonPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingNeon","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accNeonPerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_decreaseEmissionRateAutomatically","type":"bool"}],"name":"setUpdateDecreaseEmissionRateAutomatically","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_neonPerBlock","type":"uint256"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updateEmissionRateIfNeccessary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"lastDeposit","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600060095534801561001557600080fd5b50604051620020f7380380620020f7833981810160405260c081101561003a57600080fd5b508051602082015160408301516060840151608085015160a09095015193949293919290916000610069610166565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35068056bc75e2d631000008211156100fc5760405162461bcd60e51b8152600401808060200182810382526023815260200180620020d46023913960400191505060405180910390fd5b600180546001600160a01b039788166001600160a01b031991821617909155600280549688169682169690961790955560038054948716948616949094179093556006805492909516919093161790925542600555600455600a55600b805460ff1916905561016a565b3390565b611f5a806200017a6000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c80635312ea8e1161011a5780638d88a90e116100ad5780639da2aebb1161007c5780639da2aebb14610518578063da09c72c14610537578063e2bbb1581461053f578063f2fde38b14610562578063fe57a12a14610588576101fb565b80638d88a90e1461047d5780638da5cb5b146104a35780638dbb1e3a146104ab57806393f1a40b146104ce576101fb565b8063715018a6116100e9578063715018a61461043f5780637f39ed1e146104475780638509e9681461044f5780638705fcd414610457576101fb565b80635312ea8e146103f65780635d9423fc14610413578063630b5ba11461041b5780636b6562e514610423576101fb565b806324bcb38c11610192578063441a3e7011610161578063441a3e70146103a657806348cd4cb1146103c95780634fdd10b4146103d157806351eb05a6146103d9576101fb565b806324bcb38c1461031f578063322d0d4a1461034c5780633981ab9714610372578063412753581461039e576101fb565b80630da4ee50116101ce5780630da4ee50146102775780631526fe271461029b57806317caf6f1146102f157806318a5bbdc146102f9576101fb565b80630381cecf14610200578063065392751461021a578063081e3eda146102525780630ba84cd21461025a575b600080fd5b610208610590565b60408051918252519081900360200190f35b6102506004803603606081101561023057600080fd5b5080359060208101356001600160a01b0316906040013561ffff16610596565b005b6102086107a6565b6102506004803603602081101561027057600080fd5b50356107ac565b61027f610863565b604080516001600160a01b039092168252519081900360200190f35b6102b8600480360360208110156102b157600080fd5b5035610872565b604080516001600160a01b039096168652602086019490945284840192909252606084015261ffff166080830152519081900360a00190f35b6102086108be565b6102506004803603602081101561030f57600080fd5b50356001600160a01b03166108c4565b6102506004803603606081101561033557600080fd5b508035906020810135906040013561ffff16610948565b6102506004803603602081101561036257600080fd5b50356001600160a01b0316610a9b565b6102086004803603604081101561038857600080fd5b50803590602001356001600160a01b0316610b2f565b61027f610ca1565b610250600480360360408110156103bc57600080fd5b5080359060200135610cb0565b610208610e0b565b610208610e11565b610250600480360360208110156103ef57600080fd5b5035610e1e565b6102506004803603602081101561040c57600080fd5b50356110e2565b61020861117e565b610250611184565b61042b6111a7565b604080519115158252519081900360200190f35b6102506111b0565b61025061125c565b6102086112ff565b6102506004803603602081101561046d57600080fd5b50356001600160a01b0316611304565b6102506004803603602081101561049357600080fd5b50356001600160a01b0316611385565b61027f6113fc565b610208600480360360408110156104c157600080fd5b508035906020013561140b565b6104fa600480360360408110156104e457600080fd5b50803590602001356001600160a01b031661141e565b60408051938452602084019290925282820152519081900360600190f35b6102506004803603602081101561052e57600080fd5b5035151561144a565b61027f6114c3565b6102506004803603604081101561055557600080fd5b50803590602001356114d2565b6102506004803603602081101561057857600080fd5b50356001600160a01b0316611658565b61027f61175a565b60045481565b61059e611769565b6001600160a01b03166105af6113fc565b6001600160a01b0316146105f8576040805162461bcd60e51b81526020600482018190526024820152600080516020611edb833981519152604482015290519081900360640190fd5b6127108161ffff16111561063d5760405162461bcd60e51b8152600401808060200182810382526025815260200180611df56025913960400191505060405180910390fd5b61064682610a9b565b61064e611184565b6000600a54431161066157600a54610663565b435b600954909150610673908561176d565b6009556040805160a0810182526001600160a01b0394851681526020810195865290810191825260006060820181815261ffff9485166080840190815260078054600181018255935292517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688600590930292830180546001600160a01b031916919097161790955594517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68986015590517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a85015591517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68b84015590517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68c909201805461ffff191692909116919091179055565b60075490565b6107b4611769565b6001600160a01b03166107c56113fc565b6001600160a01b03161461080e576040805162461bcd60e51b81526020600482018190526024820152600080516020611edb833981519152604482015290519081900360640190fd5b68056bc75e2d631000008111156108565760405162461bcd60e51b815260040180806020018281038252602f815260200180611e66602f913960400191505060405180910390fd5b61085e611184565b600455565b6003546001600160a01b031681565b6007818154811061087f57fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0390931694509092909161ffff1685565b60095481565b6108cc611769565b6001600160a01b03166108dd6113fc565b6001600160a01b031614610926576040805162461bcd60e51b81526020600482018190526024820152600080516020611edb833981519152604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b610950611769565b6001600160a01b03166109616113fc565b6001600160a01b0316146109aa576040805162461bcd60e51b81526020600482018190526024820152600080516020611edb833981519152604482015290519081900360640190fd5b6127108161ffff1611156109ef5760405162461bcd60e51b8152600401808060200182810382526025815260200180611eb66025913960400191505060405180910390fd5b6109f7611184565b610a3482610a2e60078681548110610a0b57fe5b9060005260206000209060050201600101546009546117c790919063ffffffff16565b9061176d565b6009819055508160078481548110610a4857fe5b9060005260206000209060050201600101819055508060078481548110610a6b57fe5b906000526020600020906005020160040160006101000a81548161ffff021916908361ffff160217905550505050565b60075460005b81811015610b2a57826001600160a01b031660078281548110610ac057fe5b60009182526020909120600590910201546001600160a01b03161415610b22576040805162461bcd60e51b81526020600482015260126024820152711859190e88195e1a5cdd1a5b99c81c1bdbdb60721b604482015290519081900360640190fd5b600101610aa1565b505050565b60008060078481548110610b3f57fe5b600091825260208083208784526008825260408085206001600160a01b0389811687529084528186206005959095029092016003810154815483516370a0823160e01b815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b158015610bb957600080fd5b505afa158015610bcd573d6000803e3d6000fd5b505050506040513d6020811015610be357600080fd5b5051600285015490915043118015610bfa57508015155b15610c66576000610c0f85600201544361140b565b90506000610c42600954610c3c8860010154610c366004548761182490919063ffffffff16565b90611824565b9061187d565b9050610c61610c5a84610c3c8464e8d4a51000611824565b859061176d565b935050505b610c948360010154610c8e64e8d4a51000610c3c86886000015461182490919063ffffffff16565b906117c7565b9450505050505b92915050565b6006546001600160a01b031681565b600060078381548110610cbf57fe5b600091825260208083208684526008825260408085203386529092529220805460059092029092019250831115610d32576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b610d3a61125c565b610d4384610e1e565b6000610d718260010154610c8e64e8d4a51000610c3c8760030154876000015461182490919063ffffffff16565b90508015610d8357610d8333826118e4565b8315610dad578154610d9590856117c7565b82558254610dad906001600160a01b03163386611a74565b60038301548254610dc89164e8d4a5100091610c3c91611824565b6001830155604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b600a5481565b68056bc75e2d6310000081565b600060078281548110610e2d57fe5b9060005260206000209060050201905080600201544311610e4e57506110df565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610e9857600080fd5b505afa158015610eac573d6000803e3d6000fd5b505050506040513d6020811015610ec257600080fd5b50519050801580610ed557506001820154155b15610ee75750436002909101556110df565b6000610ef783600201544361140b565b90506000610f1e600954610c3c8660010154610c366004548761182490919063ffffffff16565b90506000610f2d82600a61187d565b600154600280549293506001600160a01b03918216926340c10f19921690610f5690859061187d565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610f9c57600080fd5b505af1158015610fb0573d6000803e3d6000fd5b50506001546003546001600160a01b0391821693506340c10f19925016610fd884600261187d565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561101e57600080fd5b505af1158015611032573d6000803e3d6000fd5b5050600154604080516340c10f1960e01b81523060048201526024810187905290516001600160a01b0390921693506340c10f19925060448082019260009290919082900301818387803b15801561108957600080fd5b505af115801561109d573d6000803e3d6000fd5b505050506110cb6110c085610c3c64e8d4a510008661182490919063ffffffff16565b60038701549061176d565b600386015550504360029093019290925550505b50565b6000600782815481106110f157fe5b600091825260208083208584526008825260408085203380875293528420805485825560018201959095556005909302018054909450919291611141916001600160a01b03919091169083611a74565b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a350505050565b60055481565b60075460005b818110156111a35761119b81610e1e565b60010161118a565b5050565b600b5460ff1681565b6111b8611769565b6001600160a01b03166111c96113fc565b6001600160a01b031614611212576040805162461bcd60e51b81526020600482018190526024820152600080516020611edb833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600b5460ff1661126b576112fd565b60055462015180904290810382116111a35760006112a4670de0b6b3a7640000610c3685610c3c600554876117c790919063ffffffff16565b905060045481111580156112b6575060015b156112d0576004546112c890826117c7565b6004556112d6565b60006004555b68056bc75e2d6310000060045411156112f75768056bc75e2d631000006004555b50600555505b565b600081565b6006546001600160a01b03163314611363576040805162461bcd60e51b815260206004820152601a60248201527f666565416464726573733a20696e76616c69642073656e646572000000000000604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b031633146113da576040805162461bcd60e51b81526020600482015260136024820152723232bb1d1034b73b30b634b21039b2b73232b960691b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b600061141782846117c7565b9392505050565b600860209081526000928352604080842090915290825290208054600182015460029092015490919083565b611452611769565b6001600160a01b03166114636113fc565b6001600160a01b0316146114ac576040805162461bcd60e51b81526020600482018190526024820152600080516020611edb833981519152604482015290519081900360640190fd5b42600555600b805460ff1916911515919091179055565b6002546001600160a01b031681565b6000600783815481106114e157fe5b6000918252602080832086845260088252604080852033865290925292206005909102909101915061151161125c565b61151a84610e1e565b80541561156357600061154f8260010154610c8e64e8d4a51000610c3c8760030154876000015461182490919063ffffffff16565b905080156115615761156133826118e4565b505b82156115f5578154611580906001600160a01b0316333086611ac6565b600482015461ffff16156115e65760048201546000906115ad9061271090610c3c90879061ffff16611824565b60065484549192506115cc916001600160a01b03908116911683611a74565b81546115de908290610c8e908761176d565b8255506115f5565b80546115f2908461176d565b81555b600382015481546116109164e8d4a5100091610c3c91611824565b6001820155426002820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b611660611769565b6001600160a01b03166116716113fc565b6001600160a01b0316146116ba576040805162461bcd60e51b81526020600482018190526024820152600080516020611edb833981519152604482015290519081900360640190fd5b6001600160a01b0381166116ff5760405162461bcd60e51b8152600401808060200182810382526026815260200180611e1a6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031681565b3390565b600082820183811015611417576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008282111561181e576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008261183357506000610c9b565b8282028284828161184057fe5b04146114175760405162461bcd60e51b8152600401808060200182810382526021815260200180611e956021913960400191505060405180910390fd5b60008082116118d3576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816118dc57fe5b049392505050565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561192f57600080fd5b505afa158015611943573d6000803e3d6000fd5b505050506040513d602081101561195957600080fd5b50519050808211156119ed576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156119bb57600080fd5b505af11580156119cf573d6000803e3d6000fd5b505050506040513d60208110156119e557600080fd5b50610b2a9050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611a4357600080fd5b505af1158015611a57573d6000803e3d6000fd5b505050506040513d6020811015611a6d57600080fd5b5050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610b2a908490611b26565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611b20908590611b26565b50505050565b6060611b7b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611bd79092919063ffffffff16565b805190915015610b2a57808060200190516020811015611b9a57600080fd5b5051610b2a5760405162461bcd60e51b815260040180806020018281038252602a815260200180611efb602a913960400191505060405180910390fd5b6060611be68484600085611bee565b949350505050565b606082471015611c2f5760405162461bcd60e51b8152600401808060200182810382526026815260200180611e406026913960400191505060405180910390fd5b611c3885611d4a565b611c89576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611cc85780518252601f199092019160209182019101611ca9565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611d2a576040519150601f19603f3d011682016040523d82523d6000602084013e611d2f565b606091505b5091509150611d3f828286611d50565b979650505050505050565b3b151590565b60608315611d5f575081611417565b825115611d6f5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611db9578181015183820152602001611da1565b50505050905090810190601f168015611de65780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c757064617465456d697373696f6e526174653a20696e76616c6964205f6e656f6e506572426c6f636b2076616c7565536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220ce297e88c5cb0ffdf51f04a62f0cf428f3b35b609e375fb41329e138493a65c864736f6c634300060c0033636f6e7374727563746f723a20696e76616c6964206e656f6e5f7065725f626c6f636b00000000000000000000000094026f0227ce0c9611e8a228f114f9f19cc3fa870000000000000000000000009946f8500b62f2f4fe7e9dccecb9b9fa119722af000000000000000000000000c894ecc616fa5467e0a682ea58238510a0d5b36c0000000000000000000000000fa044d45ae151f25505c1bd11709894ea4739c30000000000000000000000000000000000000000000000056bc75e2d63100000000000000000000000000000000000000000000000000000000000000063e910

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

00000000000000000000000094026f0227ce0c9611e8a228f114f9f19cc3fa870000000000000000000000009946f8500b62f2f4fe7e9dccecb9b9fa119722af000000000000000000000000c894ecc616fa5467e0a682ea58238510a0d5b36c0000000000000000000000000fa044d45ae151f25505c1bd11709894ea4739c30000000000000000000000000000000000000000000000056bc75e2d63100000000000000000000000000000000000000000000000000000000000000063e910

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 00000000000000000000000094026f0227ce0c9611e8a228f114f9f19cc3fa87
Arg [1] : 0000000000000000000000009946f8500b62f2f4fe7e9dccecb9b9fa119722af
Arg [2] : 000000000000000000000000c894ecc616fa5467e0a682ea58238510a0d5b36c
Arg [3] : 0000000000000000000000000fa044d45ae151f25505c1bd11709894ea4739c3
Arg [4] : 0000000000000000000000000000000000000000000000056bc75e2d63100000
Arg [5] : 000000000000000000000000000000000000000000000000000000000063e910


Deployed ByteCode Sourcemap

48499:13751:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50404:27;;;:::i;:::-;;;;;;;;;;;;;;;;53797:770;;;;;;;;;;;;;;;;-1:-1:-1;53797:770:0;;;;;;;-1:-1:-1;;;;;53797:770:0;;;;;;;;:::i;:::-;;52156:95;;;:::i;61961:286::-;;;;;;;;;;;;;;;;-1:-1:-1;61961:286:0;;:::i;50092:29::-;;;:::i;:::-;;;;-1:-1:-1;;;;;50092:29:0;;;;;;;;;;;;;;50710:26;;;;;;;;;;;;;;;;-1:-1:-1;50710:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;50710:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50951:34;;;:::i;61232:110::-;;;;;;;;;;;;;;;;-1:-1:-1;61232:110:0;-1:-1:-1;;;;;61232:110:0;;:::i;54688:497::-;;;;;;;;;;;;;;;;-1:-1:-1;54688:497:0;;;;;;;;;;;;;;:::i;53457:256::-;;;;;;;;;;;;;;;;-1:-1:-1;53457:256:0;-1:-1:-1;;;;;53457:256:0;;:::i;55496:897::-;;;;;;;;;;;;;;;;-1:-1:-1;55496:897:0;;;;;;-1:-1:-1;;;;;55496:897:0;;:::i;50649:25::-;;;:::i;59259:830::-;;;;;;;;;;;;;;;;-1:-1:-1;59259:830:0;;;;;;;:::i;51042:25::-;;;:::i;50284:51::-;;;:::i;56764:1092::-;;;;;;;;;;;;;;;;-1:-1:-1;56764:1092:0;;:::i;60169:385::-;;;;;;;;;;;;;;;;-1:-1:-1;60169:385:0;;:::i;50514:37::-;;;:::i;56499:180::-;;;:::i;51159:45::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;2649:148;;;:::i;52333:1062::-;;;:::i;50169:46::-;;;:::i;61350:168::-;;;;;;;;;;;;;;;;-1:-1:-1;61350:168:0;-1:-1:-1;;;;;61350:168:0;;:::i;61020:139::-;;;;;;;;;;;;;;;;-1:-1:-1;61020:139:0;-1:-1:-1;;;;;61020:139:0;;:::i;1998:87::-;;;:::i;55270:153::-;;;;;;;;;;;;;;;;-1:-1:-1;55270:153:0;;;;;;;:::i;50792:64::-;;;;;;;;;;;;;;;;-1:-1:-1;50792:64:0;;;;;;-1:-1:-1;;;;;50792:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;61620:266;;;;;;;;;;;;;;;;-1:-1:-1;61620:266:0;;;;:::i;50038:22::-;;;:::i;57937:1258::-;;;;;;;;;;;;;;;;-1:-1:-1;57937:1258:0;;;;;;;:::i;2952:281::-;;;;;;;;;;;;;;;;-1:-1:-1;2952:281:0;-1:-1:-1;;;;;2952:281:0;;:::i;49989:21::-;;;:::i;50404:27::-;;;;:::o;53797:770::-;2229:12;:10;:12::i;:::-;-1:-1:-1;;;;;2218:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2218:23:0;;2210:68;;;;;-1:-1:-1;;;2210:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2210:68:0;;;;;;;;;;;;;;;53971:5:::1;53954:13;:22;;;;53932:109;;;;-1:-1:-1::0;;;53932:109:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54052:28;54071:8;54052:18;:28::i;:::-;54091:17;:15;:17::i;:::-;54119:23;54173:10;;54158:12;:25;:53;;54201:10;;54158:53;;;54186:12;54158:53;54240:15;::::0;54119:92;;-1:-1:-1;54240:32:0::1;::::0;54260:11;54240:19:::1;:32::i;:::-;54222:15;:50:::0;54311:237:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;54311:237:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;54311:237:0;;;;;;::::1;::::0;;::::1;::::0;;;;;;54283:8:::1;:276:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;54283:276:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;54283:276:0::1;::::0;;;::::1;::::0;;;::::1;::::0;;53797:770::o;52156:95::-;52228:8;:15;52156:95;:::o;61961:286::-;2229:12;:10;:12::i;:::-;-1:-1:-1;;;;;2218:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2218:23:0;;2210:68;;;;;-1:-1:-1;;;2210:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2210:68:0;;;;;;;;;;;;;;;50329:6:::1;62062:13;:35;;62040:132;;;;-1:-1:-1::0;;;62040:132:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62183:17;:15;:17::i;:::-;62211:12;:28:::0;61961:286::o;50092:29::-;;;-1:-1:-1;;;;;50092:29:0;;:::o;50710:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50710:26:0;;;;-1:-1:-1;50710:26:0;;;;;;;:::o;50951:34::-;;;;:::o;61232:110::-;2229:12;:10;:12::i;:::-;-1:-1:-1;;;;;2218:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2218:23:0;;2210:68;;;;;-1:-1:-1;;;2210:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2210:68:0;;;;;;;;;;;;;;;61302:14:::1;:32:::0;;-1:-1:-1;;;;;;61302:32:0::1;-1:-1:-1::0;;;;;61302:32:0;;;::::1;::::0;;;::::1;::::0;;61232:110::o;54688:497::-;2229:12;:10;:12::i;:::-;-1:-1:-1;;;;;2218:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2218:23:0;;2210:68;;;;;-1:-1:-1;;;2210:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2210:68:0;;;;;;;;;;;;;;;54859:5:::1;54842:13;:22;;;;54820:109;;;;-1:-1:-1::0;;;54820:109:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54940:17;:15;:17::i;:::-;54986:87;55051:11;54986:46;55006:8;55015:4;55006:14;;;;;;;;;;;;;;;;;;:25;;;54986:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:87::i;:::-;54968:15;:105;;;;55112:11;55084:8;55093:4;55084:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;55164:13;55134:8;55143:4;55134:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;54688:497:::0;;;:::o;53457:256::-;53542:8;:15;53525:14;53568:138;53598:6;53591:4;:13;53568:138;;;53663:8;-1:-1:-1;;;;;53637:34:0;:8;53646:4;53637:14;;;;;;;;;;;;;;;;;;;;;:22;-1:-1:-1;;;;;53637:22:0;:34;;53629:65;;;;;-1:-1:-1;;;53629:65:0;;;;;;;;;;;;-1:-1:-1;;;53629:65:0;;;;;;;;;;;;;;;53606:6;;53568:138;;;;53457:256;;:::o;55496:897::-;55596:7;55621:21;55645:8;55654:4;55645:14;;;;;;;;;;;;;;;;55694;;;:8;:14;;;;;;-1:-1:-1;;;;;55694:21:0;;;;;;;;;;;55645:14;;;;;;;;55752:20;;;;55802:12;;:37;;-1:-1:-1;;;55802:37:0;;55833:4;55802:37;;;;;;55645:14;;-1:-1:-1;55694:21:0;;55752:20;;55645:14;;55802:12;;;:22;;:37;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55802:37:0;55869:20;;;;55802:37;;-1:-1:-1;55854:12:0;:35;:52;;;;-1:-1:-1;55893:13:0;;;55854:52;55850:455;;;55923:18;55961:49;55975:4;:20;;;55997:12;55961:13;:49::i;:::-;55923:87;;56025:18;56063:110;56139:15;;56063:49;56096:4;:15;;;56063:28;56078:12;;56063:10;:14;;:28;;;;:::i;:::-;:32;;:49::i;:::-;:53;;:110::i;:::-;56025:148;-1:-1:-1;56206:87:0;56244:34;56269:8;56244:20;56025:148;56259:4;56244:14;:20::i;:34::-;56206:15;;:19;:87::i;:::-;56188:105;;55850:455;;;56322:63;56369:4;:15;;;56322:42;56359:4;56322:32;56338:15;56322:4;:11;;;:15;;:32;;;;:::i;:42::-;:46;;:63::i;:::-;56315:70;;;;;;55496:897;;;;;:::o;50649:25::-;;;-1:-1:-1;;;;;50649:25:0;;:::o;59259:830::-;59326:21;59350:8;59359:4;59350:14;;;;;;;;;;;;;;;;59399;;;:8;:14;;;;;;59414:10;59399:26;;;;;;;59444:11;;59350:14;;;;;;;;-1:-1:-1;59444:22:0;-1:-1:-1;59444:22:0;59436:53;;;;;-1:-1:-1;;;59436:53:0;;;;;;;;;;;;-1:-1:-1;;;59436:53:0;;;;;;;;;;;;;;;59500:32;:30;:32::i;:::-;59543:16;59554:4;59543:10;:16::i;:::-;59570:15;59601:100;59671:4;:15;;;59601:47;59643:4;59601:37;59617:4;:20;;;59601:4;:11;;;:15;;:37;;;;:::i;:100::-;59570:131;-1:-1:-1;59716:11:0;;59712:81;;59744:37;59761:10;59773:7;59744:16;:37::i;:::-;59807:11;;59803:152;;59849:11;;:24;;59865:7;59849:15;:24::i;:::-;59835:38;;59888:12;;:55;;-1:-1:-1;;;;;59888:12:0;59922:10;59935:7;59888:25;:55::i;:::-;59999:20;;;;59983:11;;:47;;60025:4;;59983:37;;:15;:37::i;:47::-;59965:15;;;:65;60046:35;;;;;;;;60067:4;;60055:10;;60046:35;;;;;;;;;59259:830;;;;;:::o;51042:25::-;;;;:::o;50284:51::-;50329:6;50284:51;:::o;56764:1092::-;56816:21;56840:8;56849:4;56840:14;;;;;;;;;;;;;;;;;;56816:38;;56885:4;:20;;;56869:12;:36;56865:75;;56922:7;;;56865:75;56969:12;;:37;;;-1:-1:-1;;;56969:37:0;;57000:4;56969:37;;;;;;56950:16;;-1:-1:-1;;;;;56969:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56969:37:0;;-1:-1:-1;57021:13:0;;;:37;;-1:-1:-1;57038:15:0;;;;:20;57021:37;57017:126;;;-1:-1:-1;57098:12:0;57075:20;;;;:35;57125:7;;57017:126;57153:18;57174:49;57188:4;:20;;;57210:12;57174:13;:49::i;:::-;57153:70;;57234:18;57268:102;57340:15;;57268:49;57301:4;:15;;;57268:28;57283:12;;57268:10;:14;;:28;;;;:::i;:102::-;57234:136;-1:-1:-1;57383:28:0;57414:18;57234:136;57429:2;57414:14;:18::i;:::-;57443:4;;57453:7;;;57383:49;;-1:-1:-1;;;;;;57443:4:0;;;;:9;;57453:7;;57462:27;;57383:49;;57462:24;:27::i;:::-;57443:47;;;;;;;;;;;;;-1:-1:-1;;;;;57443:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;57538:4:0;;57548:14;;-1:-1:-1;;;;;57538:4:0;;;;-1:-1:-1;57538:9:0;;-1:-1:-1;57548:14:0;57564:27;:20;57589:1;57564:24;:27::i;:::-;57538:54;;;;;;;;;;;;;-1:-1:-1;;;;;57538:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;57646:4:0;;:36;;;-1:-1:-1;;;57646:36:0;;57664:4;57646:36;;;;;;;;;;;;-1:-1:-1;;;;;57646:4:0;;;;-1:-1:-1;57646:9:0;;-1:-1:-1;57646:36:0;;;;;:4;;:36;;;;;;;;:4;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57718:84;57757:34;57782:8;57757:20;57772:4;57757:10;:14;;:20;;;;:::i;:34::-;57718:20;;;;;:24;:84::i;:::-;57695:20;;;:107;-1:-1:-1;;57836:12:0;57813:20;;;;:35;;;;-1:-1:-1;;56764:1092:0;;:::o;60169:385::-;60228:21;60252:8;60261:4;60252:14;;;;;;;;;;;;;;;;60301;;;:8;:14;;;;;;60316:10;60301:26;;;;;;;60355:11;;60377:15;;;-1:-1:-1;60403:15:0;;:19;;;;60252:14;;;;;60433:12;;60252:14;;-1:-1:-1;60301:26:0;;60355:11;60433:54;;-1:-1:-1;;;;;60433:12:0;;;;;60355:11;60433:25;:54::i;:::-;60503:43;;;;;;;;60533:4;;60521:10;;60503:43;;;;;;;;;60169:385;;;;:::o;50514:37::-;;;;:::o;56499:180::-;56561:8;:15;56544:14;56587:85;56615:6;56609:3;:12;56587:85;;;56645:15;56656:3;56645:10;:15::i;:::-;56623:5;;56587:85;;;;56499:180;:::o;51159:45::-;;;;;;:::o;2649:148::-;2229:12;:10;:12::i;:::-;-1:-1:-1;;;;;2218:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2218:23:0;;2210:68;;;;;-1:-1:-1;;;2210:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2210:68:0;;;;;;;;;;;;;;;2756:1:::1;2740:6:::0;;2719:40:::1;::::0;-1:-1:-1;;;;;2740:6:0;;::::1;::::0;2719:40:::1;::::0;2756:1;;2719:40:::1;2787:1;2770:19:::0;;-1:-1:-1;;;;;;2770:19:0::1;::::0;;2649:148::o;52333:1062::-;52398:33;;;;52393:73;;52448:7;;52393:73;52592:22;;52499:6;;52543:15;;52573:41;;:57;-1:-1:-1;52569:819:0;;52647:26;52693:118;52806:4;52693:86;52766:12;52694:44;52715:22;;52694:16;:20;;:44;;;;:::i;52693:118::-;52647:164;;52872:12;;52850:18;:34;;:110;;;;-1:-1:-1;52905:55:0;52850:110;52828:308;;;53010:12;;:36;;53027:18;53010:16;:36::i;:::-;52995:12;:51;52828:308;;;50214:1;53087:12;:33;52828:308;50329:6;53216:12;;:33;53212:107;;;50329:6;53270:12;:33;53212:107;-1:-1:-1;53335:22:0;:41;-1:-1:-1;52333:1062:0;:::o;50169:46::-;50214:1;50169:46;:::o;61350:168::-;61434:10;;-1:-1:-1;;;;;61434:10:0;61420;:24;61412:63;;;;;-1:-1:-1;;;61412:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;61486:10;:24;;-1:-1:-1;;;;;;61486:24:0;-1:-1:-1;;;;;61486:24:0;;;;;;;;;;61350:168::o;61020:139::-;61091:7;;-1:-1:-1;;;;;61091:7:0;61077:10;:21;61069:53;;;;;-1:-1:-1;;;61069:53:0;;;;;;;;;;;;-1:-1:-1;;;61069:53:0;;;;;;;;;;;;;;;61133:7;:18;;-1:-1:-1;;;;;;61133:18:0;-1:-1:-1;;;;;61133:18:0;;;;;;;;;;61020:139::o;1998:87::-;2044:7;2071:6;-1:-1:-1;;;;;2071:6:0;1998:87;:::o;55270:153::-;55369:7;55401:14;:3;55409:5;55401:7;:14::i;:::-;55394:21;55270:153;-1:-1:-1;;;55270:153:0:o;50792:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;61620:266::-;2229:12;:10;:12::i;:::-;-1:-1:-1;;;;;2218:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2218:23:0;;2210:68;;;;;-1:-1:-1;;;2210:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2210:68:0;;;;;;;;;;;;;;;61782:15:::1;61757:22;:40:::0;61808:33:::1;:70:::0;;-1:-1:-1;;61808:70:0::1;::::0;::::1;;::::0;;;::::1;::::0;;61620:266::o;50038:22::-;;;-1:-1:-1;;;;;50038:22:0;;:::o;57937:1258::-;58003:21;58027:8;58036:4;58027:14;;;;;;;;;;;;;;;;58076;;;:8;:14;;;;;;58091:10;58076:26;;;;;;;58027:14;;;;;;;;-1:-1:-1;58113:32:0;:30;:32::i;:::-;58156:16;58167:4;58156:10;:16::i;:::-;58187:11;;:15;58183:294;;58219:15;58254:108;58328:4;:15;;;58254:47;58296:4;58254:37;58270:4;:20;;;58254:4;:11;;;:15;;:37;;;;:::i;:108::-;58219:143;-1:-1:-1;58381:11:0;;58377:89;;58413:37;58430:10;58442:7;58413:16;:37::i;:::-;58183:294;;58491:11;;58487:542;;58519:12;;:140;;-1:-1:-1;;;;;58519:12:0;58575:10;58613:4;58637:7;58519:29;:140::i;:::-;58678:17;;;;;;:21;58674:344;;58753:17;;;;58720:18;;58741:41;;58776:5;;58741:30;;:7;;58753:17;;58741:11;:30::i;:41::-;58827:10;;58801:12;;58720:62;;-1:-1:-1;58801:49:0;;-1:-1:-1;;;;;58801:12:0;;;;58827:10;58720:62;58801:25;:49::i;:::-;58883:11;;:40;;58912:10;;58883:24;;58899:7;58883:15;:24::i;:40::-;58869:54;;-1:-1:-1;58674:344:0;;;58978:11;;:24;;58994:7;58978:15;:24::i;:::-;58964:38;;58674:344;59073:20;;;;59057:11;;:47;;59099:4;;59057:37;;:15;:37::i;:47::-;59039:15;;;:65;59134:3;59115:16;;;:22;59153:34;;;;;;;;59173:4;;59161:10;;59153:34;;;;;;;;;57937:1258;;;;:::o;2952:281::-;2229:12;:10;:12::i;:::-;-1:-1:-1;;;;;2218:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2218:23:0;;2210:68;;;;;-1:-1:-1;;;2210:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2210:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;3055:22:0;::::1;3033:110;;;;-1:-1:-1::0;;;3033:110:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3180:6;::::0;;3159:38:::1;::::0;-1:-1:-1;;;;;3159:38:0;;::::1;::::0;3180:6;::::1;::::0;3159:38:::1;::::0;::::1;3208:6;:17:::0;;-1:-1:-1;;;;;;3208:17:0::1;-1:-1:-1::0;;;;;3208:17:0;;;::::1;::::0;;;::::1;::::0;;2952:281::o;49989:21::-;;;-1:-1:-1;;;;;49989:21:0;;:::o;603:106::-;691:10;603:106;:::o;6104:179::-;6162:7;6194:5;;;6218:6;;;;6210:46;;;;;-1:-1:-1;;;6210:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;6566:158;6624:7;6657:1;6652;:6;;6644:49;;;;;-1:-1:-1;;;6644:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6711:5:0;;;6566:158::o;6983:220::-;7041:7;7065:6;7061:20;;-1:-1:-1;7080:1:0;7073:8;;7061:20;7104:5;;;7108:1;7104;:5;:1;7128:5;;;;;:10;7120:56;;;;-1:-1:-1;;;7120:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7681:153;7739:7;7771:1;7767;:5;7759:44;;;;;-1:-1:-1;;;7759:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7825:1;7821;:5;;;;;;;7681:153;-1:-1:-1;;;7681:153:0:o;60677:278::-;60771:4;;:29;;;-1:-1:-1;;;60771:29:0;;60794:4;60771:29;;;;;;60753:15;;-1:-1:-1;;;;;60771:4:0;;:14;;:29;;;;;;;;;;;;;;:4;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60771:29:0;;-1:-1:-1;60815:17:0;;;60811:137;;;60849:4;;:27;;;-1:-1:-1;;;60849:27:0;;-1:-1:-1;;;;;60849:27:0;;;;;;;;;;;;;;;:4;;;;;:13;;:27;;;;;;;;;;;;;;:4;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60811:137:0;;-1:-1:-1;60811:137:0;;60909:4;;:27;;;-1:-1:-1;;;60909:27:0;;-1:-1:-1;;;;;60909:27:0;;;;;;;;;;;;;;;:4;;;;;:13;;:27;;;;;;;;;;;;;;:4;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;60677:278:0;;;:::o;22888:248::-;23059:58;;;-1:-1:-1;;;;;23059:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23059:58:0;-1:-1:-1;;;23059:58:0;;;23005:123;;23039:5;;23005:19;:123::i;23144:285::-;23342:68;;;-1:-1:-1;;;;;23342:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23342:68:0;-1:-1:-1;;;23342:68:0;;;23288:133;;23322:5;;23288:19;:133::i;:::-;23144:285;;;;:::o;25778:885::-;26202:23;26241:118;26287:4;26241:118;;;;;;;;;;;;;;;;;26249:5;-1:-1:-1;;;;;26241:27:0;;;:118;;;;;:::i;:::-;26374:17;;26202:157;;-1:-1:-1;26374:21:0;26370:286;;26547:10;26536:30;;;;;;;;;;;;;;;-1:-1:-1;26536:30:0;26510:134;;;;-1:-1:-1;;;26510:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17417:229;17554:12;17586:52;17608:6;17616:4;17622:1;17625:12;17586:21;:52::i;:::-;17579:59;17417:229;-1:-1:-1;;;;17417:229:0:o;18633:621::-;18803:12;18875:5;18850:21;:30;;18828:118;;;;-1:-1:-1;;;18828:118:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18965:18;18976:6;18965:10;:18::i;:::-;18957:60;;;;;-1:-1:-1;;;18957:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19091:12;19105:23;19145:6;-1:-1:-1;;;;;19145:11:0;19164:5;19171:4;19145:31;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;19145:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19090:86;;;;19194:52;19212:7;19221:10;19233:12;19194:17;:52::i;:::-;19187:59;18633:621;-1:-1:-1;;;;;;;18633:621:0:o;14380:444::-;14760:20;14808:8;;;14380:444::o;21545:777::-;21695:12;21724:7;21720:595;;;-1:-1:-1;21755:10:0;21748:17;;21720:595;21869:17;;:21;21865:439;;22132:10;22126:17;22193:15;22180:10;22176:2;22172:19;22165:44;22080:148;22275:12;22268:20;;-1:-1:-1;;;22268:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://ce297e88c5cb0ffdf51f04a62f0cf428f3b35b609e375fb41329e138493a65c8
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.