ETH Price: $1,576.81 (-3.33%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw222245892025-04-08 13:49:237 days ago1744120163IN
0x1575F4b5...76432aA6a
0 ETH0.000177941.6666179
Withdraw222122742025-04-06 20:32:239 days ago1743971543IN
0x1575F4b5...76432aA6a
0 ETH0.000442435.10571006
Withdraw222037082025-04-05 15:48:2310 days ago1743868103IN
0x1575F4b5...76432aA6a
0 ETH0.000073360.95282409
Withdraw221894742025-04-03 16:07:2312 days ago1743696443IN
0x1575F4b5...76432aA6a
0 ETH0.000178942.27255171
Withdraw221687752025-03-31 18:46:5915 days ago1743446819IN
0x1575F4b5...76432aA6a
0 ETH0.000115511.46696027
Withdraw221324972025-03-26 17:12:1120 days ago1743009131IN
0x1575F4b5...76432aA6a
0 ETH0.000093931.19289633
Withdraw221245892025-03-25 14:43:2321 days ago1742913803IN
0x1575F4b5...76432aA6a
0 ETH0.000123230.99481085
Withdraw221192502025-03-24 20:47:5922 days ago1742849279IN
0x1575F4b5...76432aA6a
0 ETH0.000434663.2557376
Withdraw221056582025-03-22 23:18:5924 days ago1742685539IN
0x1575F4b5...76432aA6a
0 ETH0.000330972.84322085
Withdraw220315312025-03-12 14:57:4734 days ago1741791467IN
0x1575F4b5...76432aA6a
0 ETH0.000194082.23978784
Deposit220312632025-03-12 14:03:5934 days ago1741788239IN
0x1575F4b5...76432aA6a
0 ETH0.00037582.27681046
Withdraw220172692025-03-10 15:08:3536 days ago1741619315IN
0x1575F4b5...76432aA6a
0 ETH0.001030767.7206295
Withdraw220104192025-03-09 16:11:2337 days ago1741536683IN
0x1575F4b5...76432aA6a
0 ETH0.000444713.330973
Withdraw219760892025-03-04 21:03:1142 days ago1741122191IN
0x1575F4b5...76432aA6a
0 ETH0.000434243.73036211
Withdraw219646842025-03-03 6:51:3543 days ago1740984695IN
0x1575F4b5...76432aA6a
0 ETH0.000407813.50331264
Withdraw219454832025-02-28 14:36:5946 days ago1740753419IN
0x1575F4b5...76432aA6a
0 ETH0.000719085.38606852
Withdraw219307372025-02-26 13:14:3548 days ago1740575675IN
0x1575F4b5...76432aA6a
0 ETH0.000266341.99497812
Withdraw218934952025-02-21 8:23:3553 days ago1740126215IN
0x1575F4b5...76432aA6a
0 ETH0.000428553.2099419
Withdraw218586852025-02-16 11:33:1158 days ago1739705591IN
0x1575F4b5...76432aA6a
0 ETH0.000328733.34022173
Withdraw218586642025-02-16 11:28:5958 days ago1739705339IN
0x1575F4b5...76432aA6a
0 ETH0.000125961.1872126
Withdraw218533592025-02-15 17:37:2359 days ago1739641043IN
0x1575F4b5...76432aA6a
0 ETH0.000291433.36317713
Withdraw218533572025-02-15 17:36:5959 days ago1739641019IN
0x1575F4b5...76432aA6a
0 ETH0.000165821.37087937
Withdraw218477292025-02-14 22:40:2360 days ago1739572823IN
0x1575F4b5...76432aA6a
0 ETH0.00031653.65243177
Withdraw218456932025-02-14 15:48:2360 days ago1739548103IN
0x1575F4b5...76432aA6a
0 ETH0.000139461.81079428
Withdraw218453932025-02-14 14:47:4760 days ago1739544467IN
0x1575F4b5...76432aA6a
0 ETH0.000401364.63179501
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer215204902024-12-31 5:53:11105 days ago1735624391
0x1575F4b5...76432aA6a
0.00107737 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ArcMasterChef

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : ArcMasterChef.sol
/**
 *Submitted for verification at Etherscan.io on 2021-11-26
*/

// File @openzeppelin/contracts/math/[email protected]
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

// File @openzeppelin/contracts-upgradeable/utils/[email protected]

pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @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);
    }

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

// File @openzeppelin/contracts-upgradeable/proxy/[email protected]

// solhint-disable-next-line compiler-version
pragma solidity >=0.4.24 <0.8.0;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {UpgradeableProxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

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

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(
            _initializing || _isConstructor() || !_initialized,
            "Initializable: contract is already initialized"
        );

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }

    /// @dev Returns true if and only if the function is running in the constructor
    function _isConstructor() private view returns (bool) {
        return !AddressUpgradeable.isContract(address(this));
    }
}

// File @openzeppelin/contracts-upgradeable/utils/[email protected]

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with 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 ContextUpgradeable is Initializable {
    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {}

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

    uint256[50] private __gap;
}

// File @openzeppelin/contracts-upgradeable/access/[email protected]

pragma solidity >=0.6.0 <0.8.0;

/**
 * @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 OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal initializer {
        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;
    }

    uint256[49] private __gap;
}

// File @openzeppelin/contracts-upgradeable/utils/[email protected]

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuardUpgradeable is Initializable {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    function __ReentrancyGuard_init() internal initializer {
        __ReentrancyGuard_init_unchained();
    }

    function __ReentrancyGuard_init_unchained() internal initializer {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
    uint256[49] private __gap;
}

// File @openzeppelin/contracts/token/ERC20/[email protected]

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

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

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

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

// File @openzeppelin/contracts/utils/[email protected]

pragma solidity >=0.6.2 <0.8.0;

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

// File @openzeppelin/contracts/token/ERC20/[email protected]

pragma solidity >=0.6.0 <0.8.0;

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

// File contracts/ArcMasterChef.sol

//** Arc MasterChef Contract */
//** Author [email protected] : Arc Finance 2022.02 */
//** Author [email protected] : Arc Finance 2022.02 */
//** Version 2.0.0 */

pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;

contract ArcMasterChef is OwnableUpgradeable, ReentrancyGuardUpgradeable {
    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.
        uint256 rewardLockedUp; // Reward locked up.
        uint256 nextHarvestUntil; // When can the user harvest again.
        //
        // We do some fancy math here. Basically, any point in time, the amount of Arcs
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accArcPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accArcPerShare` (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.
    }
    // Info of each pool.
    struct PoolInfo {
        IERC20 lpToken; // Address of LP token contract.
        uint256 allocPoint; // How many allocation points assigned to this pool. Arcs to distribute per block.
        uint256 lastRewardBlock; // Last block number that Arcs distribution occurs.
        uint256 accArcPerShare; // Accumulated Arcs per share, times 1e12. See below.
        uint16 depositFeeBP; // Deposit fee in basis points
        uint256 harvestInterval; // Harvest interval in seconds
    }
    // The Arc TOKEN!
    IERC20 public arc;

    // Deposit Fee address
    address public feeAddress;
    // Reward tokens holder address
    address public rewardHolder;
    // Arcs tokens created per block. 0.5 Arc per block. 10% to arc charity ( address )
    uint256 public arcPerBlock;
    // Bonus muliplier for early arc makers.
    uint256 public constant BONUS_MULTIPLIER = 1;
    // Max harvest interval: 14 days.
    uint256 public constant MAXIMUM_HARVEST_INTERVAL = 10 days;
    // 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;
    // The block number when Arcs mining starts.
    uint256 public startBlock;
    // Total locked up rewards
    uint256 public totalLockedUpRewards;

    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event Compound(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(
        address indexed user,
        uint256 indexed pid,
        uint256 amount
    );
    event EmissionRateUpdated(
        address indexed caller,
        uint256 previousAmount,
        uint256 newAmount
    );
    event RewardLockedUp(
        address indexed user,
        uint256 indexed pid,
        uint256 amountLockedUp
    );

    function initialize(
        address _arc, // art token address
        address _feeAddress, // ?
        address _rewardHolder, // ?
        uint256 _startBlock, // ?
        uint256 _arcPerBlock // ? reward per block
    ) public initializer {
        arc = IERC20(_arc);
        rewardHolder = _rewardHolder;
        startBlock = _startBlock;
        arcPerBlock = _arcPerBlock;

        feeAddress = _feeAddress;
        totalAllocPoint = 0;
        __Ownable_init();
        __ReentrancyGuard_init();
    }

    // eth-arc pool
    // arc pool


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

    // Add a new lp to the pool. Can only be called by the owner.
    // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do.
    function add(
        uint256 _allocPoint,
        IERC20 _lpToken,
        uint16 _depositFeeBP,
        uint256 _harvestInterval,
        bool _withUpdate
    ) public onlyOwner {
        require(_depositFeeBP <= 500, "add: invalid deposit fee basis points");
        require(
            _harvestInterval <= MAXIMUM_HARVEST_INTERVAL,
            "add: invalid harvest interval"
        );
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardBlock = block.number > startBlock
            ? block.number
            : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(
            PoolInfo({
                lpToken: _lpToken,
                allocPoint: _allocPoint,
                lastRewardBlock: lastRewardBlock,
                accArcPerShare: 0,
                depositFeeBP: _depositFeeBP,
                harvestInterval: _harvestInterval
            })
        );
    }

    // Update the given pool's Arcs allocation point and deposit fee. Can only be called by the owner.
    function set(
        uint256 _pid,
        uint256 _allocPoint,
        uint16 _depositFeeBP,
        uint256 _harvestInterval,
        bool _withUpdate
    ) public onlyOwner {
        require(_depositFeeBP <= 500, "set: invalid deposit fee basis points");
        require(
            _harvestInterval <= MAXIMUM_HARVEST_INTERVAL,
            "set: invalid harvest interval"
        );
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(
            _allocPoint
        );
        poolInfo[_pid].allocPoint = _allocPoint;
        poolInfo[_pid].depositFeeBP = _depositFeeBP;
        poolInfo[_pid].harvestInterval = _harvestInterval;
    }

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

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

    // View function to see if user can harvest Arcs.
    function canHarvest(uint256 _pid, address _user)
        public
        view
        returns (bool)
    {
        UserInfo storage user = userInfo[_pid][_user];
        return block.timestamp >= user.nextHarvestUntil;
    }

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

    // 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 arcReward = multiplier
            .mul(arcPerBlock)
            .mul(pool.allocPoint)
            .div(totalAllocPoint);

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

    // Deposit LP tokens to MasterChef for Arcs allocation.
    function deposit(uint256 _pid, uint256 _amount) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);

        payOrLockupPendingArc(_pid);
        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.accArcPerShare).div(1e12);
        emit Deposit(msg.sender, _pid, _amount);
    }

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

    // Compound tokens to Arc pool.
    function compound(uint256 _pid) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(
            address(pool.lpToken) == address(arc),
            "compound: not able to compound"
        );
        updatePool(_pid);
        uint256 pending = user.amount.mul(pool.accArcPerShare).div(1e12).sub(
            user.rewardDebt
        );
        safeArcTransferFrom(rewardHolder, address(this), pending);
        user.amount = user.amount.add(pending);
        user.rewardDebt = user.amount.mul(pool.accArcPerShare).div(1e12);
        emit Compound(msg.sender, _pid, pending);
    }

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

    // Pay or lockup pending Arcs.
    function payOrLockupPendingArc(uint256 _pid) internal {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        if (user.nextHarvestUntil == 0) {
            user.nextHarvestUntil = block.timestamp.add(pool.harvestInterval);
        }
        uint256 pending = user.amount.mul(pool.accArcPerShare).div(1e12).sub(
            user.rewardDebt
        );
        if (canHarvest(_pid, msg.sender)) {
            if (pending > 0 || user.rewardLockedUp > 0) {
                uint256 totalRewards = pending.add(user.rewardLockedUp);
                // reset lockup
                totalLockedUpRewards = totalLockedUpRewards.sub(
                    user.rewardLockedUp
                );
                user.rewardLockedUp = 0;
                user.nextHarvestUntil = block.timestamp.add(
                    pool.harvestInterval
                );
                // send rewards
                safeArcTransferFrom(rewardHolder, msg.sender, totalRewards);
            }
        } else if (pending > 0) {
            user.rewardLockedUp = user.rewardLockedUp.add(pending);
            totalLockedUpRewards = totalLockedUpRewards.add(pending);
            emit RewardLockedUp(msg.sender, _pid, pending);
        }
    }

    // Safe Arc transfer function, just in case if rounding error causes pool to not have enough arcs.
    function safeArcTransferFrom(
        address _from,
        address _to,
        uint256 _amount
    ) internal {
        uint256 arcBal = arc.balanceOf(rewardHolder);
        if (_amount > arcBal) {
            revert("Not enough balance");
        } else {
            arc.transferFrom(_from, _to, _amount);
        }
    }

    function setFeeAddress(address _feeAddress) public {
        require(msg.sender == feeAddress, "setFeeAddress: FORBIDDEN");
        require(_feeAddress != address(0), "setFeeAddress: ZERO");
        feeAddress = _feeAddress;
    }

    function setRewardHolder(address _rewardHolder) public {
        require(msg.sender == rewardHolder, "setRewardHolder: FORBIDDEN");
        require(_rewardHolder != address(0), "setRewardHolder: ZERO");
        rewardHolder = _rewardHolder;
    }

    // Pancake has to add hidden dummy pools in order to alter the emission, here we make it simple and transparent to all.
    function updateEmissionRate(uint256 _arcPerBlock) public onlyOwner {
        massUpdatePools();
        emit EmissionRateUpdated(msg.sender, arcPerBlock, _arcPerBlock);
        arcPerBlock = _arcPerBlock;
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"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":"Compound","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":"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":"caller","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"EmissionRateUpdated","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":"amountLockedUp","type":"uint256"}],"name":"RewardLockedUp","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":"BONUS_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXIMUM_HARVEST_INTERVAL","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"},{"internalType":"uint256","name":"_harvestInterval","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"arc","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"arcPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"canHarvest","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"compound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","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":"_arc","type":"address"},{"internalType":"address","name":"_feeAddress","type":"address"},{"internalType":"address","name":"_rewardHolder","type":"address"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_arcPerBlock","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","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":"pendingArc","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":"accArcPerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"},{"internalType":"uint256","name":"harvestInterval","type":"uint256"}],"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":[],"name":"rewardHolder","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"uint256","name":"_harvestInterval","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardHolder","type":"address"}],"name":"setRewardHolder","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":[],"name":"totalLockedUpRewards","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":"_arcPerBlock","type":"uint256"}],"name":"updateEmissionRate","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":"rewardLockedUp","type":"uint256"},{"internalType":"uint256","name":"nextHarvestUntil","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"}]

608060405234801561001057600080fd5b5061409e806100206000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063630b5ba11161010457806393f1a40b116100a2578063bdd1c38e11610071578063bdd1c38e14610511578063de73149d1461052f578063e2bbb1581461054d578063f2fde38b14610569576101da565b806393f1a40b1461048a578063a6b63eb8146104bd578063aa5f7e26146104d9578063af018de8146104f5576101da565b80638705fcd4116100de5780638705fcd4146104025780638aa285501461041e5780638da5cb5b1461043c5780638dbb1e3a1461045a576101da565b8063630b5ba1146103d25780636806cc93146103dc578063715018a6146103f8576101da565b8063412753581161017c5780634b1c6a401161014b5780634b1c6a401461035e57806351eb05a61461037c5780635312ea8e14610398578063569c93d2146103b4576101da565b806341275358146102e8578063441a3e7014610306578063474fa6301461032257806348cd4cb114610340576101da565b806317caf6f1116101b857806317caf6f11461024e5780632143e5451461026c5780632e6c998d146102885780633b5802c6146102b8576101da565b8063081e3eda146101df5780630ba84cd2146101fd5780631526fe2714610219575b600080fd5b6101e7610585565b6040516101f49190613e6a565b60405180910390f35b61021760048036038101906102129190613168565b610592565b005b610233600480360381019061022e9190613168565b610672565b60405161024596959493929190613b27565b60405180910390f35b6102566106e9565b6040516102639190613e6a565b60405180910390f35b610286600480360381019061028191906132a9565b6106ef565b005b6102a2600480360381019061029d91906131ba565b6108da565b6040516102af9190613af1565b60405180910390f35b6102d260048036038101906102cd91906131ba565b610940565b6040516102df9190613e6a565b60405180910390f35b6102f0610b89565b6040516102fd9190613a76565b60405180910390f35b610320600480360381019061031b919061326d565b610baf565b005b61032a610dd8565b6040516103379190613e6a565b60405180910390f35b610348610dde565b6040516103559190613e6a565b60405180910390f35b610366610de4565b6040516103739190613b0c565b60405180910390f35b61039660048036038101906103919190613168565b610e0a565b005b6103b260048036038101906103ad9190613168565b610fc1565b005b6103bc61115f565b6040516103c99190613a76565b60405180910390f35b6103da611185565b005b6103f660048036038101906103f1919061309f565b6111b2565b005b6104006112f6565b005b61041c6004803603810190610417919061309f565b611433565b005b610426611577565b6040516104339190613e6a565b60405180910390f35b61044461157c565b6040516104519190613a76565b60405180910390f35b610474600480360381019061046f919061326d565b6115a6565b6040516104819190613e6a565b60405180910390f35b6104a4600480360381019061049f91906131ba565b6115d6565b6040516104b49493929190613eae565b60405180910390f35b6104d760048036038101906104d291906130c8565b611613565b005b6104f360048036038101906104ee9190613168565b6117e9565b005b61050f600480360381019061050a91906131f6565b611a96565b005b610519611cf1565b6040516105269190613e6a565b60405180910390f35b610537611cf7565b6040516105449190613e6a565b60405180910390f35b6105676004803603810190610562919061326d565b611cfe565b005b610583600480360381019061057e919061309f565b611feb565b005b6000609b80549050905090565b61059a612197565b73ffffffffffffffffffffffffffffffffffffffff166105b861157c565b73ffffffffffffffffffffffffffffffffffffffff161461060e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060590613d8a565b60405180910390fd5b610616611185565b3373ffffffffffffffffffffffffffffffffffffffff167feedc6338c9c1ad8f3cd6c90dd09dbe98dbd57e610d3e59a17996d07acb0d9511609a5483604051610660929190613e85565b60405180910390a280609a8190555050565b609b818154811061067f57fe5b90600052602060002090600602016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040160009054906101000a900461ffff16908060050154905086565b609d5481565b6106f7612197565b73ffffffffffffffffffffffffffffffffffffffff1661071561157c565b73ffffffffffffffffffffffffffffffffffffffff161461076b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076290613d8a565b60405180910390fd5b6101f48361ffff1611156107b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ab90613d6a565b60405180910390fd5b620d2f008211156107fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f190613daa565b60405180910390fd5b801561080957610808611185565b5b61084e84610840609b888154811061081d57fe5b906000526020600020906006020160010154609d5461219f90919063ffffffff16565b6121ef90919063ffffffff16565b609d8190555083609b868154811061086257fe5b90600052602060002090600602016001018190555082609b868154811061088557fe5b906000526020600020906006020160040160006101000a81548161ffff021916908361ffff16021790555081609b86815481106108be57fe5b9060005260206000209060060201600501819055505050505050565b600080609c600085815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050806003015442101591505092915050565b600080609b848154811061095057fe5b906000526020600020906006020190506000609c600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610a1c9190613a76565b60206040518083038186803b158015610a3457600080fd5b505afa158015610a48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6c9190613191565b9050836002015443118015610a82575060008114155b15610b1d576000610a978560020154436115a6565b90506000610ada609d54610acc8860010154610abe609a548761224490919063ffffffff16565b61224490919063ffffffff16565b6122b490919063ffffffff16565b9050610b18610b0984610afb64e8d4a510008561224490919063ffffffff16565b6122b490919063ffffffff16565b856121ef90919063ffffffff16565b935050505b6000610b638460010154610b5564e8d4a51000610b4787896000015461224490919063ffffffff16565b6122b490919063ffffffff16565b61219f90919063ffffffff16565b9050610b7c8460020154826121ef90919063ffffffff16565b9550505050505092915050565b609860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026065541415610bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bec90613e4a565b60405180910390fd5b60026065819055506000609b8381548110610c0c57fe5b906000526020600020906006020190506000609c600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015610cb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cae90613dea565b60405180910390fd5b610cc084610e0a565b610cc98461230a565b6000831115610d4157610ce983826000015461219f90919063ffffffff16565b8160000181905550610d4033848460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661254e9092919063ffffffff16565b5b610d7364e8d4a51000610d658460030154846000015461224490919063ffffffff16565b6122b490919063ffffffff16565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b56885604051610dc29190613e6a565b60405180910390a3505060016065819055505050565b609f5481565b609e5481565b609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000609b8281548110610e1957fe5b9060005260206000209060060201905080600201544311610e3a5750610fbe565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610e999190613a76565b60206040518083038186803b158015610eb157600080fd5b505afa158015610ec5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee99190613191565b90506000811480610efe575060008260010154145b15610f13574382600201819055505050610fbe565b6000610f238360020154436115a6565b90506000610f66609d54610f588660010154610f4a609a548761224490919063ffffffff16565b61224490919063ffffffff16565b6122b490919063ffffffff16565b9050610fa8610f9584610f8764e8d4a510008561224490919063ffffffff16565b6122b490919063ffffffff16565b85600301546121ef90919063ffffffff16565b8460030181905550438460020181905550505050505b50565b60026065541415611007576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffe90613e4a565b60405180910390fd5b60026065819055506000609b828154811061101e57fe5b906000526020600020906006020190506000609c600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000816000015490506000826000018190555060008260010181905550600082600201819055506000826003018190555061110233828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661254e9092919063ffffffff16565b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040516111499190613e6a565b60405180910390a3505050600160658190555050565b609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000609b80549050905060005b818110156111ae576111a381610e0a565b806001019050611192565b5050565b609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611242576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123990613cea565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a990613d2a565b60405180910390fd5b80609960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6112fe612197565b73ffffffffffffffffffffffffffffffffffffffff1661131c61157c565b73ffffffffffffffffffffffffffffffffffffffff1614611372576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136990613d8a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b609860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ba90613e0a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152a90613c0a565b60405180910390fd5b80609860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600181565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006115ce60016115c0858561219f90919063ffffffff16565b61224490919063ffffffff16565b905092915050565b609c602052816000526040600020602052806000526040600020600091509150508060000154908060010154908060020154908060030154905084565b600060019054906101000a900460ff168061163257506116316125d4565b5b80611648575060008054906101000a900460ff16155b611687576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167e90613d0a565b60405180910390fd5b60008060019054906101000a900460ff1615905080156116d7576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b85609760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083609960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082609e8190555081609a8190555084609860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000609d819055506117b86125e5565b6117c06126dd565b80156117e15760008060016101000a81548160ff0219169083151502179055505b505050505050565b6002606554141561182f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182690613e4a565b60405180910390fd5b60026065819055506000609b828154811061184657fe5b906000526020600020906006020190506000609c600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461195e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195590613c4a565b60405180910390fd5b61196783610e0a565b60006119b182600101546119a364e8d4a510006119958760030154876000015461224490919063ffffffff16565b6122b490919063ffffffff16565b61219f90919063ffffffff16565b90506119e0609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1630836127cd565b6119f78183600001546121ef90919063ffffffff16565b8260000181905550611a3164e8d4a51000611a238560030154856000015461224490919063ffffffff16565b6122b490919063ffffffff16565b8260010181905550833373ffffffffffffffffffffffffffffffffffffffff167f0e311a2c6dbfb0153ec3a8a5bdca09070b3e5f60768fdc10a20453f38d18687383604051611a809190613e6a565b60405180910390a3505050600160658190555050565b611a9e612197565b73ffffffffffffffffffffffffffffffffffffffff16611abc61157c565b73ffffffffffffffffffffffffffffffffffffffff1614611b12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0990613d8a565b60405180910390fd5b6101f48361ffff161115611b5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5290613baa565b60405180910390fd5b620d2f00821115611ba1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9890613c2a565b60405180910390fd5b8015611bb057611baf611185565b5b6000609e544311611bc357609e54611bc5565b435b9050611bdc86609d546121ef90919063ffffffff16565b609d81905550609b6040518060c001604052808773ffffffffffffffffffffffffffffffffffffffff168152602001888152602001838152602001600081526020018661ffff16815260200185815250908060018154018082558091505060019003906000526020600020906006020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548161ffff021916908361ffff16021790555060a082015181600501555050505050505050565b609a5481565b620d2f0081565b60026065541415611d44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3b90613e4a565b60405180910390fd5b60026065819055506000609b8381548110611d5b57fe5b906000526020600020906006020190506000609c600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611dc884610e0a565b611dd18461230a565b6000831115611f5457611e2b3330858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612999909392919063ffffffff16565b60008260040160009054906101000a900461ffff1661ffff161115611f33576000611e89612710611e7b8560040160009054906101000a900461ffff1661ffff168761224490919063ffffffff16565b6122b490919063ffffffff16565b9050611efc609860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661254e9092919063ffffffff16565b611f2581611f178685600001546121ef90919063ffffffff16565b61219f90919063ffffffff16565b826000018190555050611f53565b611f4a8382600001546121ef90919063ffffffff16565b81600001819055505b5b611f8664e8d4a51000611f788460030154846000015461224490919063ffffffff16565b6122b490919063ffffffff16565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a1585604051611fd59190613e6a565b60405180910390a3505060016065819055505050565b611ff3612197565b73ffffffffffffffffffffffffffffffffffffffff1661201161157c565b73ffffffffffffffffffffffffffffffffffffffff1614612067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205e90613d8a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ce90613bca565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b6000828211156121e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121db90613c6a565b60405180910390fd5b818303905092915050565b60008082840190508381101561223a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223190613bea565b60405180910390fd5b8091505092915050565b60008083141561225757600090506122ae565b600082840290508284828161226857fe5b04146122a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a090613d4a565b60405180910390fd5b809150505b92915050565b60008082116122f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ef90613caa565b60405180910390fd5b81838161230157fe5b04905092915050565b6000609b828154811061231957fe5b906000526020600020906006020190506000609c600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000816003015414156123aa576123a18260050154426121ef90919063ffffffff16565b81600301819055505b60006123f482600101546123e664e8d4a510006123d88760030154876000015461224490919063ffffffff16565b6122b490919063ffffffff16565b61219f90919063ffffffff16565b905061240084336108da565b156124b4576000811180612418575060008260020154115b156124af5760006124368360020154836121ef90919063ffffffff16565b90506124518360020154609f5461219f90919063ffffffff16565b609f81905550600083600201819055506124788460050154426121ef90919063ffffffff16565b83600301819055506124ad609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1633836127cd565b505b612548565b6000811115612547576124d48183600201546121ef90919063ffffffff16565b82600201819055506124f181609f546121ef90919063ffffffff16565b609f81905550833373ffffffffffffffffffffffffffffffffffffffff167fee470483107f579a55c754fa00613c45a9a3b617a418b39cb0be97e5381ba7c18360405161253e9190613e6a565b60405180910390a35b5b50505050565b6125cf8363a9059cbb60e01b848460405160240161256d929190613ac8565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612a22565b505050565b60006125df30612ae9565b15905090565b600060019054906101000a900460ff168061260457506126036125d4565b5b8061261a575060008054906101000a900460ff16155b612659576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265090613d0a565b60405180910390fd5b60008060019054906101000a900460ff1615905080156126a9576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6126b1612afc565b6126b9612be4565b80156126da5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806126fc57506126fb6125d4565b5b80612712575060008054906101000a900460ff16155b612751576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274890613d0a565b60405180910390fd5b60008060019054906101000a900460ff1615905080156127a1576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6127a9612d75565b80156127ca5760008060016101000a81548160ff0219169083151502179055505b50565b6000609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b815260040161284c9190613a76565b60206040518083038186803b15801561286457600080fd5b505afa158015612878573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061289c9190613191565b9050808211156128e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d890613cca565b60405180910390fd5b609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd8585856040518463ffffffff1660e01b815260040161294093929190613a91565b602060405180830381600087803b15801561295a57600080fd5b505af115801561296e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612992919061313f565b5050505050565b612a1c846323b872dd60e01b8585856040516024016129ba93929190613a91565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612a22565b50505050565b6060612a84826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612e659092919063ffffffff16565b9050600081511115612ae45780806020019051810190612aa4919061313f565b612ae3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ada90613e2a565b60405180910390fd5b5b505050565b600080823b905060008111915050919050565b600060019054906101000a900460ff1680612b1b5750612b1a6125d4565b5b80612b31575060008054906101000a900460ff16155b612b70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6790613d0a565b60405180910390fd5b60008060019054906101000a900460ff161590508015612bc0576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015612be15760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680612c035750612c026125d4565b5b80612c19575060008054906101000a900460ff16155b612c58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4f90613d0a565b60405180910390fd5b60008060019054906101000a900460ff161590508015612ca8576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6000612cb2612197565b905080603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3508015612d725760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680612d945750612d936125d4565b5b80612daa575060008054906101000a900460ff16155b612de9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de090613d0a565b60405180910390fd5b60008060019054906101000a900460ff161590508015612e39576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b60016065819055508015612e625760008060016101000a81548160ff0219169083151502179055505b50565b6060612e748484600085612e7d565b90509392505050565b606082471015612ec2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb990613c8a565b60405180910390fd5b612ecb85612f92565b612f0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0190613dca565b60405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff168587604051612f349190613a5f565b60006040518083038185875af1925050503d8060008114612f71576040519150601f19603f3d011682016040523d82523d6000602084013e612f76565b606091505b5091509150612f86828286612fa5565b92505050949350505050565b600080823b905060008111915050919050565b60608315612fb557829050613005565b600083511115612fc85782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ffc9190613b88565b60405180910390fd5b9392505050565b60008135905061301b81613ff5565b92915050565b6000813590506130308161400c565b92915050565b6000815190506130458161400c565b92915050565b60008135905061305a81614023565b92915050565b60008135905061306f8161403a565b92915050565b60008135905061308481614051565b92915050565b60008151905061309981614051565b92915050565b6000602082840312156130b157600080fd5b60006130bf8482850161300c565b91505092915050565b600080600080600060a086880312156130e057600080fd5b60006130ee8882890161300c565b95505060206130ff8882890161300c565b94505060406131108882890161300c565b935050606061312188828901613075565b925050608061313288828901613075565b9150509295509295909350565b60006020828403121561315157600080fd5b600061315f84828501613036565b91505092915050565b60006020828403121561317a57600080fd5b600061318884828501613075565b91505092915050565b6000602082840312156131a357600080fd5b60006131b18482850161308a565b91505092915050565b600080604083850312156131cd57600080fd5b60006131db85828601613075565b92505060206131ec8582860161300c565b9150509250929050565b600080600080600060a0868803121561320e57600080fd5b600061321c88828901613075565b955050602061322d8882890161304b565b945050604061323e88828901613060565b935050606061324f88828901613075565b925050608061326088828901613021565b9150509295509295909350565b6000806040838503121561328057600080fd5b600061328e85828601613075565b925050602061329f85828601613075565b9150509250929050565b600080600080600060a086880312156132c157600080fd5b60006132cf88828901613075565b95505060206132e088828901613075565b94505060406132f188828901613060565b935050606061330288828901613075565b925050608061331388828901613021565b9150509295509295909350565b61332981613f25565b82525050565b61333881613f37565b82525050565b600061334982613ef3565b6133538185613f09565b9350613363818560208601613fb1565b80840191505092915050565b61337881613f8d565b82525050565b600061338982613efe565b6133938185613f14565b93506133a3818560208601613fb1565b6133ac81613fe4565b840191505092915050565b60006133c4602583613f14565b91507f6164643a20696e76616c6964206465706f73697420666565206261736973207060008301527f6f696e74730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061342a602683613f14565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613490601b83613f14565b91507f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006000830152602082019050919050565b60006134d0601383613f14565b91507f736574466565416464726573733a205a45524f000000000000000000000000006000830152602082019050919050565b6000613510601d83613f14565b91507f6164643a20696e76616c6964206861727665737420696e74657276616c0000006000830152602082019050919050565b6000613550601e83613f14565b91507f636f6d706f756e643a206e6f742061626c6520746f20636f6d706f756e6400006000830152602082019050919050565b6000613590601e83613f14565b91507f536166654d6174683a207375627472616374696f6e206f766572666c6f7700006000830152602082019050919050565b60006135d0602683613f14565b91507f416464726573733a20696e73756666696369656e742062616c616e636520666f60008301527f722063616c6c00000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613636601a83613f14565b91507f536166654d6174683a206469766973696f6e206279207a65726f0000000000006000830152602082019050919050565b6000613676601283613f14565b91507f4e6f7420656e6f7567682062616c616e636500000000000000000000000000006000830152602082019050919050565b60006136b6601a83613f14565b91507f736574526577617264486f6c6465723a20464f5242494444454e0000000000006000830152602082019050919050565b60006136f6602e83613f14565b91507f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008301527f647920696e697469616c697a65640000000000000000000000000000000000006020830152604082019050919050565b600061375c601583613f14565b91507f736574526577617264486f6c6465723a205a45524f00000000000000000000006000830152602082019050919050565b600061379c602183613f14565b91507f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60008301527f77000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613802602583613f14565b91507f7365743a20696e76616c6964206465706f73697420666565206261736973207060008301527f6f696e74730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613868602083613f14565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006138a8601d83613f14565b91507f7365743a20696e76616c6964206861727665737420696e74657276616c0000006000830152602082019050919050565b60006138e8601d83613f14565b91507f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006000830152602082019050919050565b6000613928601283613f14565b91507f77697468647261773a206e6f7420676f6f6400000000000000000000000000006000830152602082019050919050565b6000613968601883613f14565b91507f736574466565416464726573733a20464f5242494444454e00000000000000006000830152602082019050919050565b60006139a8602a83613f14565b91507f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008301527f6f742073756363656564000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a0e601f83613f14565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b613a4a81613f55565b82525050565b613a5981613f83565b82525050565b6000613a6b828461333e565b915081905092915050565b6000602082019050613a8b6000830184613320565b92915050565b6000606082019050613aa66000830186613320565b613ab36020830185613320565b613ac06040830184613a50565b949350505050565b6000604082019050613add6000830185613320565b613aea6020830184613a50565b9392505050565b6000602082019050613b06600083018461332f565b92915050565b6000602082019050613b21600083018461336f565b92915050565b600060c082019050613b3c600083018961336f565b613b496020830188613a50565b613b566040830187613a50565b613b636060830186613a50565b613b706080830185613a41565b613b7d60a0830184613a50565b979650505050505050565b60006020820190508181036000830152613ba2818461337e565b905092915050565b60006020820190508181036000830152613bc3816133b7565b9050919050565b60006020820190508181036000830152613be38161341d565b9050919050565b60006020820190508181036000830152613c0381613483565b9050919050565b60006020820190508181036000830152613c23816134c3565b9050919050565b60006020820190508181036000830152613c4381613503565b9050919050565b60006020820190508181036000830152613c6381613543565b9050919050565b60006020820190508181036000830152613c8381613583565b9050919050565b60006020820190508181036000830152613ca3816135c3565b9050919050565b60006020820190508181036000830152613cc381613629565b9050919050565b60006020820190508181036000830152613ce381613669565b9050919050565b60006020820190508181036000830152613d03816136a9565b9050919050565b60006020820190508181036000830152613d23816136e9565b9050919050565b60006020820190508181036000830152613d438161374f565b9050919050565b60006020820190508181036000830152613d638161378f565b9050919050565b60006020820190508181036000830152613d83816137f5565b9050919050565b60006020820190508181036000830152613da38161385b565b9050919050565b60006020820190508181036000830152613dc38161389b565b9050919050565b60006020820190508181036000830152613de3816138db565b9050919050565b60006020820190508181036000830152613e038161391b565b9050919050565b60006020820190508181036000830152613e238161395b565b9050919050565b60006020820190508181036000830152613e438161399b565b9050919050565b60006020820190508181036000830152613e6381613a01565b9050919050565b6000602082019050613e7f6000830184613a50565b92915050565b6000604082019050613e9a6000830185613a50565b613ea76020830184613a50565b9392505050565b6000608082019050613ec36000830187613a50565b613ed06020830186613a50565b613edd6040830185613a50565b613eea6060830184613a50565b95945050505050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000613f3082613f63565b9050919050565b60008115159050919050565b6000613f4e82613f25565b9050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000613f9882613f9f565b9050919050565b6000613faa82613f63565b9050919050565b60005b83811015613fcf578082015181840152602081019050613fb4565b83811115613fde576000848401525b50505050565b6000601f19601f8301169050919050565b613ffe81613f25565b811461400957600080fd5b50565b61401581613f37565b811461402057600080fd5b50565b61402c81613f43565b811461403757600080fd5b50565b61404381613f55565b811461404e57600080fd5b50565b61405a81613f83565b811461406557600080fd5b5056fea2646970667358221220edd36c660bfa4dd532290bcc292b3b9e2846fa1f3ee63cde653d88e36a2bf50564736f6c634300060c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101da5760003560e01c8063630b5ba11161010457806393f1a40b116100a2578063bdd1c38e11610071578063bdd1c38e14610511578063de73149d1461052f578063e2bbb1581461054d578063f2fde38b14610569576101da565b806393f1a40b1461048a578063a6b63eb8146104bd578063aa5f7e26146104d9578063af018de8146104f5576101da565b80638705fcd4116100de5780638705fcd4146104025780638aa285501461041e5780638da5cb5b1461043c5780638dbb1e3a1461045a576101da565b8063630b5ba1146103d25780636806cc93146103dc578063715018a6146103f8576101da565b8063412753581161017c5780634b1c6a401161014b5780634b1c6a401461035e57806351eb05a61461037c5780635312ea8e14610398578063569c93d2146103b4576101da565b806341275358146102e8578063441a3e7014610306578063474fa6301461032257806348cd4cb114610340576101da565b806317caf6f1116101b857806317caf6f11461024e5780632143e5451461026c5780632e6c998d146102885780633b5802c6146102b8576101da565b8063081e3eda146101df5780630ba84cd2146101fd5780631526fe2714610219575b600080fd5b6101e7610585565b6040516101f49190613e6a565b60405180910390f35b61021760048036038101906102129190613168565b610592565b005b610233600480360381019061022e9190613168565b610672565b60405161024596959493929190613b27565b60405180910390f35b6102566106e9565b6040516102639190613e6a565b60405180910390f35b610286600480360381019061028191906132a9565b6106ef565b005b6102a2600480360381019061029d91906131ba565b6108da565b6040516102af9190613af1565b60405180910390f35b6102d260048036038101906102cd91906131ba565b610940565b6040516102df9190613e6a565b60405180910390f35b6102f0610b89565b6040516102fd9190613a76565b60405180910390f35b610320600480360381019061031b919061326d565b610baf565b005b61032a610dd8565b6040516103379190613e6a565b60405180910390f35b610348610dde565b6040516103559190613e6a565b60405180910390f35b610366610de4565b6040516103739190613b0c565b60405180910390f35b61039660048036038101906103919190613168565b610e0a565b005b6103b260048036038101906103ad9190613168565b610fc1565b005b6103bc61115f565b6040516103c99190613a76565b60405180910390f35b6103da611185565b005b6103f660048036038101906103f1919061309f565b6111b2565b005b6104006112f6565b005b61041c6004803603810190610417919061309f565b611433565b005b610426611577565b6040516104339190613e6a565b60405180910390f35b61044461157c565b6040516104519190613a76565b60405180910390f35b610474600480360381019061046f919061326d565b6115a6565b6040516104819190613e6a565b60405180910390f35b6104a4600480360381019061049f91906131ba565b6115d6565b6040516104b49493929190613eae565b60405180910390f35b6104d760048036038101906104d291906130c8565b611613565b005b6104f360048036038101906104ee9190613168565b6117e9565b005b61050f600480360381019061050a91906131f6565b611a96565b005b610519611cf1565b6040516105269190613e6a565b60405180910390f35b610537611cf7565b6040516105449190613e6a565b60405180910390f35b6105676004803603810190610562919061326d565b611cfe565b005b610583600480360381019061057e919061309f565b611feb565b005b6000609b80549050905090565b61059a612197565b73ffffffffffffffffffffffffffffffffffffffff166105b861157c565b73ffffffffffffffffffffffffffffffffffffffff161461060e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060590613d8a565b60405180910390fd5b610616611185565b3373ffffffffffffffffffffffffffffffffffffffff167feedc6338c9c1ad8f3cd6c90dd09dbe98dbd57e610d3e59a17996d07acb0d9511609a5483604051610660929190613e85565b60405180910390a280609a8190555050565b609b818154811061067f57fe5b90600052602060002090600602016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040160009054906101000a900461ffff16908060050154905086565b609d5481565b6106f7612197565b73ffffffffffffffffffffffffffffffffffffffff1661071561157c565b73ffffffffffffffffffffffffffffffffffffffff161461076b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076290613d8a565b60405180910390fd5b6101f48361ffff1611156107b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ab90613d6a565b60405180910390fd5b620d2f008211156107fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f190613daa565b60405180910390fd5b801561080957610808611185565b5b61084e84610840609b888154811061081d57fe5b906000526020600020906006020160010154609d5461219f90919063ffffffff16565b6121ef90919063ffffffff16565b609d8190555083609b868154811061086257fe5b90600052602060002090600602016001018190555082609b868154811061088557fe5b906000526020600020906006020160040160006101000a81548161ffff021916908361ffff16021790555081609b86815481106108be57fe5b9060005260206000209060060201600501819055505050505050565b600080609c600085815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050806003015442101591505092915050565b600080609b848154811061095057fe5b906000526020600020906006020190506000609c600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610a1c9190613a76565b60206040518083038186803b158015610a3457600080fd5b505afa158015610a48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6c9190613191565b9050836002015443118015610a82575060008114155b15610b1d576000610a978560020154436115a6565b90506000610ada609d54610acc8860010154610abe609a548761224490919063ffffffff16565b61224490919063ffffffff16565b6122b490919063ffffffff16565b9050610b18610b0984610afb64e8d4a510008561224490919063ffffffff16565b6122b490919063ffffffff16565b856121ef90919063ffffffff16565b935050505b6000610b638460010154610b5564e8d4a51000610b4787896000015461224490919063ffffffff16565b6122b490919063ffffffff16565b61219f90919063ffffffff16565b9050610b7c8460020154826121ef90919063ffffffff16565b9550505050505092915050565b609860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026065541415610bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bec90613e4a565b60405180910390fd5b60026065819055506000609b8381548110610c0c57fe5b906000526020600020906006020190506000609c600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015610cb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cae90613dea565b60405180910390fd5b610cc084610e0a565b610cc98461230a565b6000831115610d4157610ce983826000015461219f90919063ffffffff16565b8160000181905550610d4033848460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661254e9092919063ffffffff16565b5b610d7364e8d4a51000610d658460030154846000015461224490919063ffffffff16565b6122b490919063ffffffff16565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b56885604051610dc29190613e6a565b60405180910390a3505060016065819055505050565b609f5481565b609e5481565b609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000609b8281548110610e1957fe5b9060005260206000209060060201905080600201544311610e3a5750610fbe565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610e999190613a76565b60206040518083038186803b158015610eb157600080fd5b505afa158015610ec5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee99190613191565b90506000811480610efe575060008260010154145b15610f13574382600201819055505050610fbe565b6000610f238360020154436115a6565b90506000610f66609d54610f588660010154610f4a609a548761224490919063ffffffff16565b61224490919063ffffffff16565b6122b490919063ffffffff16565b9050610fa8610f9584610f8764e8d4a510008561224490919063ffffffff16565b6122b490919063ffffffff16565b85600301546121ef90919063ffffffff16565b8460030181905550438460020181905550505050505b50565b60026065541415611007576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffe90613e4a565b60405180910390fd5b60026065819055506000609b828154811061101e57fe5b906000526020600020906006020190506000609c600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000816000015490506000826000018190555060008260010181905550600082600201819055506000826003018190555061110233828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661254e9092919063ffffffff16565b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040516111499190613e6a565b60405180910390a3505050600160658190555050565b609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000609b80549050905060005b818110156111ae576111a381610e0a565b806001019050611192565b5050565b609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611242576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123990613cea565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a990613d2a565b60405180910390fd5b80609960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6112fe612197565b73ffffffffffffffffffffffffffffffffffffffff1661131c61157c565b73ffffffffffffffffffffffffffffffffffffffff1614611372576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136990613d8a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b609860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ba90613e0a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152a90613c0a565b60405180910390fd5b80609860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600181565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006115ce60016115c0858561219f90919063ffffffff16565b61224490919063ffffffff16565b905092915050565b609c602052816000526040600020602052806000526040600020600091509150508060000154908060010154908060020154908060030154905084565b600060019054906101000a900460ff168061163257506116316125d4565b5b80611648575060008054906101000a900460ff16155b611687576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167e90613d0a565b60405180910390fd5b60008060019054906101000a900460ff1615905080156116d7576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b85609760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083609960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082609e8190555081609a8190555084609860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000609d819055506117b86125e5565b6117c06126dd565b80156117e15760008060016101000a81548160ff0219169083151502179055505b505050505050565b6002606554141561182f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182690613e4a565b60405180910390fd5b60026065819055506000609b828154811061184657fe5b906000526020600020906006020190506000609c600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461195e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195590613c4a565b60405180910390fd5b61196783610e0a565b60006119b182600101546119a364e8d4a510006119958760030154876000015461224490919063ffffffff16565b6122b490919063ffffffff16565b61219f90919063ffffffff16565b90506119e0609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1630836127cd565b6119f78183600001546121ef90919063ffffffff16565b8260000181905550611a3164e8d4a51000611a238560030154856000015461224490919063ffffffff16565b6122b490919063ffffffff16565b8260010181905550833373ffffffffffffffffffffffffffffffffffffffff167f0e311a2c6dbfb0153ec3a8a5bdca09070b3e5f60768fdc10a20453f38d18687383604051611a809190613e6a565b60405180910390a3505050600160658190555050565b611a9e612197565b73ffffffffffffffffffffffffffffffffffffffff16611abc61157c565b73ffffffffffffffffffffffffffffffffffffffff1614611b12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0990613d8a565b60405180910390fd5b6101f48361ffff161115611b5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5290613baa565b60405180910390fd5b620d2f00821115611ba1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9890613c2a565b60405180910390fd5b8015611bb057611baf611185565b5b6000609e544311611bc357609e54611bc5565b435b9050611bdc86609d546121ef90919063ffffffff16565b609d81905550609b6040518060c001604052808773ffffffffffffffffffffffffffffffffffffffff168152602001888152602001838152602001600081526020018661ffff16815260200185815250908060018154018082558091505060019003906000526020600020906006020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548161ffff021916908361ffff16021790555060a082015181600501555050505050505050565b609a5481565b620d2f0081565b60026065541415611d44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3b90613e4a565b60405180910390fd5b60026065819055506000609b8381548110611d5b57fe5b906000526020600020906006020190506000609c600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611dc884610e0a565b611dd18461230a565b6000831115611f5457611e2b3330858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612999909392919063ffffffff16565b60008260040160009054906101000a900461ffff1661ffff161115611f33576000611e89612710611e7b8560040160009054906101000a900461ffff1661ffff168761224490919063ffffffff16565b6122b490919063ffffffff16565b9050611efc609860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661254e9092919063ffffffff16565b611f2581611f178685600001546121ef90919063ffffffff16565b61219f90919063ffffffff16565b826000018190555050611f53565b611f4a8382600001546121ef90919063ffffffff16565b81600001819055505b5b611f8664e8d4a51000611f788460030154846000015461224490919063ffffffff16565b6122b490919063ffffffff16565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a1585604051611fd59190613e6a565b60405180910390a3505060016065819055505050565b611ff3612197565b73ffffffffffffffffffffffffffffffffffffffff1661201161157c565b73ffffffffffffffffffffffffffffffffffffffff1614612067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205e90613d8a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ce90613bca565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b6000828211156121e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121db90613c6a565b60405180910390fd5b818303905092915050565b60008082840190508381101561223a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223190613bea565b60405180910390fd5b8091505092915050565b60008083141561225757600090506122ae565b600082840290508284828161226857fe5b04146122a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a090613d4a565b60405180910390fd5b809150505b92915050565b60008082116122f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ef90613caa565b60405180910390fd5b81838161230157fe5b04905092915050565b6000609b828154811061231957fe5b906000526020600020906006020190506000609c600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000816003015414156123aa576123a18260050154426121ef90919063ffffffff16565b81600301819055505b60006123f482600101546123e664e8d4a510006123d88760030154876000015461224490919063ffffffff16565b6122b490919063ffffffff16565b61219f90919063ffffffff16565b905061240084336108da565b156124b4576000811180612418575060008260020154115b156124af5760006124368360020154836121ef90919063ffffffff16565b90506124518360020154609f5461219f90919063ffffffff16565b609f81905550600083600201819055506124788460050154426121ef90919063ffffffff16565b83600301819055506124ad609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1633836127cd565b505b612548565b6000811115612547576124d48183600201546121ef90919063ffffffff16565b82600201819055506124f181609f546121ef90919063ffffffff16565b609f81905550833373ffffffffffffffffffffffffffffffffffffffff167fee470483107f579a55c754fa00613c45a9a3b617a418b39cb0be97e5381ba7c18360405161253e9190613e6a565b60405180910390a35b5b50505050565b6125cf8363a9059cbb60e01b848460405160240161256d929190613ac8565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612a22565b505050565b60006125df30612ae9565b15905090565b600060019054906101000a900460ff168061260457506126036125d4565b5b8061261a575060008054906101000a900460ff16155b612659576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265090613d0a565b60405180910390fd5b60008060019054906101000a900460ff1615905080156126a9576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6126b1612afc565b6126b9612be4565b80156126da5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806126fc57506126fb6125d4565b5b80612712575060008054906101000a900460ff16155b612751576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274890613d0a565b60405180910390fd5b60008060019054906101000a900460ff1615905080156127a1576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6127a9612d75565b80156127ca5760008060016101000a81548160ff0219169083151502179055505b50565b6000609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b815260040161284c9190613a76565b60206040518083038186803b15801561286457600080fd5b505afa158015612878573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061289c9190613191565b9050808211156128e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d890613cca565b60405180910390fd5b609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd8585856040518463ffffffff1660e01b815260040161294093929190613a91565b602060405180830381600087803b15801561295a57600080fd5b505af115801561296e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612992919061313f565b5050505050565b612a1c846323b872dd60e01b8585856040516024016129ba93929190613a91565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612a22565b50505050565b6060612a84826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612e659092919063ffffffff16565b9050600081511115612ae45780806020019051810190612aa4919061313f565b612ae3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ada90613e2a565b60405180910390fd5b5b505050565b600080823b905060008111915050919050565b600060019054906101000a900460ff1680612b1b5750612b1a6125d4565b5b80612b31575060008054906101000a900460ff16155b612b70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6790613d0a565b60405180910390fd5b60008060019054906101000a900460ff161590508015612bc0576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015612be15760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680612c035750612c026125d4565b5b80612c19575060008054906101000a900460ff16155b612c58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4f90613d0a565b60405180910390fd5b60008060019054906101000a900460ff161590508015612ca8576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6000612cb2612197565b905080603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3508015612d725760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680612d945750612d936125d4565b5b80612daa575060008054906101000a900460ff16155b612de9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de090613d0a565b60405180910390fd5b60008060019054906101000a900460ff161590508015612e39576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b60016065819055508015612e625760008060016101000a81548160ff0219169083151502179055505b50565b6060612e748484600085612e7d565b90509392505050565b606082471015612ec2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb990613c8a565b60405180910390fd5b612ecb85612f92565b612f0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0190613dca565b60405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff168587604051612f349190613a5f565b60006040518083038185875af1925050503d8060008114612f71576040519150601f19603f3d011682016040523d82523d6000602084013e612f76565b606091505b5091509150612f86828286612fa5565b92505050949350505050565b600080823b905060008111915050919050565b60608315612fb557829050613005565b600083511115612fc85782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ffc9190613b88565b60405180910390fd5b9392505050565b60008135905061301b81613ff5565b92915050565b6000813590506130308161400c565b92915050565b6000815190506130458161400c565b92915050565b60008135905061305a81614023565b92915050565b60008135905061306f8161403a565b92915050565b60008135905061308481614051565b92915050565b60008151905061309981614051565b92915050565b6000602082840312156130b157600080fd5b60006130bf8482850161300c565b91505092915050565b600080600080600060a086880312156130e057600080fd5b60006130ee8882890161300c565b95505060206130ff8882890161300c565b94505060406131108882890161300c565b935050606061312188828901613075565b925050608061313288828901613075565b9150509295509295909350565b60006020828403121561315157600080fd5b600061315f84828501613036565b91505092915050565b60006020828403121561317a57600080fd5b600061318884828501613075565b91505092915050565b6000602082840312156131a357600080fd5b60006131b18482850161308a565b91505092915050565b600080604083850312156131cd57600080fd5b60006131db85828601613075565b92505060206131ec8582860161300c565b9150509250929050565b600080600080600060a0868803121561320e57600080fd5b600061321c88828901613075565b955050602061322d8882890161304b565b945050604061323e88828901613060565b935050606061324f88828901613075565b925050608061326088828901613021565b9150509295509295909350565b6000806040838503121561328057600080fd5b600061328e85828601613075565b925050602061329f85828601613075565b9150509250929050565b600080600080600060a086880312156132c157600080fd5b60006132cf88828901613075565b95505060206132e088828901613075565b94505060406132f188828901613060565b935050606061330288828901613075565b925050608061331388828901613021565b9150509295509295909350565b61332981613f25565b82525050565b61333881613f37565b82525050565b600061334982613ef3565b6133538185613f09565b9350613363818560208601613fb1565b80840191505092915050565b61337881613f8d565b82525050565b600061338982613efe565b6133938185613f14565b93506133a3818560208601613fb1565b6133ac81613fe4565b840191505092915050565b60006133c4602583613f14565b91507f6164643a20696e76616c6964206465706f73697420666565206261736973207060008301527f6f696e74730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061342a602683613f14565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613490601b83613f14565b91507f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006000830152602082019050919050565b60006134d0601383613f14565b91507f736574466565416464726573733a205a45524f000000000000000000000000006000830152602082019050919050565b6000613510601d83613f14565b91507f6164643a20696e76616c6964206861727665737420696e74657276616c0000006000830152602082019050919050565b6000613550601e83613f14565b91507f636f6d706f756e643a206e6f742061626c6520746f20636f6d706f756e6400006000830152602082019050919050565b6000613590601e83613f14565b91507f536166654d6174683a207375627472616374696f6e206f766572666c6f7700006000830152602082019050919050565b60006135d0602683613f14565b91507f416464726573733a20696e73756666696369656e742062616c616e636520666f60008301527f722063616c6c00000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613636601a83613f14565b91507f536166654d6174683a206469766973696f6e206279207a65726f0000000000006000830152602082019050919050565b6000613676601283613f14565b91507f4e6f7420656e6f7567682062616c616e636500000000000000000000000000006000830152602082019050919050565b60006136b6601a83613f14565b91507f736574526577617264486f6c6465723a20464f5242494444454e0000000000006000830152602082019050919050565b60006136f6602e83613f14565b91507f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008301527f647920696e697469616c697a65640000000000000000000000000000000000006020830152604082019050919050565b600061375c601583613f14565b91507f736574526577617264486f6c6465723a205a45524f00000000000000000000006000830152602082019050919050565b600061379c602183613f14565b91507f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60008301527f77000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613802602583613f14565b91507f7365743a20696e76616c6964206465706f73697420666565206261736973207060008301527f6f696e74730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613868602083613f14565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006138a8601d83613f14565b91507f7365743a20696e76616c6964206861727665737420696e74657276616c0000006000830152602082019050919050565b60006138e8601d83613f14565b91507f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006000830152602082019050919050565b6000613928601283613f14565b91507f77697468647261773a206e6f7420676f6f6400000000000000000000000000006000830152602082019050919050565b6000613968601883613f14565b91507f736574466565416464726573733a20464f5242494444454e00000000000000006000830152602082019050919050565b60006139a8602a83613f14565b91507f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008301527f6f742073756363656564000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a0e601f83613f14565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b613a4a81613f55565b82525050565b613a5981613f83565b82525050565b6000613a6b828461333e565b915081905092915050565b6000602082019050613a8b6000830184613320565b92915050565b6000606082019050613aa66000830186613320565b613ab36020830185613320565b613ac06040830184613a50565b949350505050565b6000604082019050613add6000830185613320565b613aea6020830184613a50565b9392505050565b6000602082019050613b06600083018461332f565b92915050565b6000602082019050613b21600083018461336f565b92915050565b600060c082019050613b3c600083018961336f565b613b496020830188613a50565b613b566040830187613a50565b613b636060830186613a50565b613b706080830185613a41565b613b7d60a0830184613a50565b979650505050505050565b60006020820190508181036000830152613ba2818461337e565b905092915050565b60006020820190508181036000830152613bc3816133b7565b9050919050565b60006020820190508181036000830152613be38161341d565b9050919050565b60006020820190508181036000830152613c0381613483565b9050919050565b60006020820190508181036000830152613c23816134c3565b9050919050565b60006020820190508181036000830152613c4381613503565b9050919050565b60006020820190508181036000830152613c6381613543565b9050919050565b60006020820190508181036000830152613c8381613583565b9050919050565b60006020820190508181036000830152613ca3816135c3565b9050919050565b60006020820190508181036000830152613cc381613629565b9050919050565b60006020820190508181036000830152613ce381613669565b9050919050565b60006020820190508181036000830152613d03816136a9565b9050919050565b60006020820190508181036000830152613d23816136e9565b9050919050565b60006020820190508181036000830152613d438161374f565b9050919050565b60006020820190508181036000830152613d638161378f565b9050919050565b60006020820190508181036000830152613d83816137f5565b9050919050565b60006020820190508181036000830152613da38161385b565b9050919050565b60006020820190508181036000830152613dc38161389b565b9050919050565b60006020820190508181036000830152613de3816138db565b9050919050565b60006020820190508181036000830152613e038161391b565b9050919050565b60006020820190508181036000830152613e238161395b565b9050919050565b60006020820190508181036000830152613e438161399b565b9050919050565b60006020820190508181036000830152613e6381613a01565b9050919050565b6000602082019050613e7f6000830184613a50565b92915050565b6000604082019050613e9a6000830185613a50565b613ea76020830184613a50565b9392505050565b6000608082019050613ec36000830187613a50565b613ed06020830186613a50565b613edd6040830185613a50565b613eea6060830184613a50565b95945050505050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000613f3082613f63565b9050919050565b60008115159050919050565b6000613f4e82613f25565b9050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000613f9882613f9f565b9050919050565b6000613faa82613f63565b9050919050565b60005b83811015613fcf578082015181840152602081019050613fb4565b83811115613fde576000848401525b50505050565b6000601f19601f8301169050919050565b613ffe81613f25565b811461400957600080fd5b50565b61401581613f37565b811461402057600080fd5b50565b61402c81613f43565b811461403757600080fd5b50565b61404381613f55565b811461404e57600080fd5b50565b61405a81613f83565b811461406557600080fd5b5056fea2646970667358221220edd36c660bfa4dd532290bcc292b3b9e2846fa1f3ee63cde653d88e36a2bf50564736f6c634300060c0033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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