ETH Price: $3,810.16 (+4.97%)

Contract

0x0fF95BDAb6186F688e10700Da894997b2D95a4EC
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Age:180D
Reset Filter

Transaction Hash
Method
Block
From
To

There are no matching entries

Update your filters to view other transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Staking

Compiler Version
v0.7.0+commit.9e61f92b

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-07-28
*/

// Sources flattened with hardhat v2.2.1 https://hardhat.org

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.7.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/math/[email protected]



pragma solidity ^0.7.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/utils/[email protected]



pragma solidity ^0.7.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 ReentrancyGuard {
    // 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;

    constructor () {
        _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;
    }
}


// File @openzeppelin/contracts/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 Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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


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



pragma solidity ^0.7.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 Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        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;
    }
}


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



pragma solidity ^0.7.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.7.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/Staking.sol


pragma solidity >=0.6.0 <0.8.0;





contract Staking is ReentrancyGuard, Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    using SafeERC20 for IERC20;

    uint128 private constant BASE_MULTIPLIER = uint128(1 * 10**18);

    // timestamp for the epoch 1
    // everything before that is considered epoch 0 which won't have a reward but allows for the initial stake
    uint256 public epoch1Start;

    // duration of each epoch
    uint256 public epochDuration;

    //allowed contracts to call deposit for function
    mapping(address => bool) public allowedYieldFarms;

    // community vault address
    address public communityVault;

    // holds the current balance of the user for each token
    mapping(address => mapping(address => uint256)) private balances;

    struct Pool {
        uint256 size;
        bool set;
    }

    // for each token, we store the total pool size
    mapping(address => mapping(uint256 => Pool)) private poolSize;

    // a checkpoint of the valid balance of a user for an epoch
    struct Checkpoint {
        uint128 epochId;
        uint128 multiplier;
        uint256 startBalance;
        uint256 newDeposits;
    }

    // balanceCheckpoints[user][token][]
    mapping(address => mapping(address => Checkpoint[]))
        private balanceCheckpoints;

    mapping(address => uint128) private lastWithdrawEpochId;

    event Deposit(
        address indexed user,
        address indexed tokenAddress,
        uint256 amount
    );
    event Withdraw(
        address indexed user,
        address indexed tokenAddress,
        uint256 amount
    );
    event ManualEpochInit(
        address indexed caller,
        uint128 indexed epochId,
        address[] tokens
    );
    event EmergencyWithdraw(
        address indexed user,
        address indexed tokenAddress,
        uint256 amount
    );

    constructor(
        uint256 _epoch1Start,
        uint256 _epochDuration,
        address _communityVault
    ) public {
        epoch1Start = _epoch1Start;
        epochDuration = _epochDuration;
        communityVault = _communityVault;
    }

    /*
     * Stores `amount` of `tokenAddress` tokens for the `user` into the vault
     */
    function deposit(address tokenAddress, uint256 amount) public nonReentrant {
        IERC20 token = IERC20(tokenAddress);
        uint256 allowance = token.allowance(msg.sender, address(this));
        require(allowance >= amount, "Staking: Token allowance too small");
        require(amount > 0, "Staking: Amount must be > 0");
        balances[msg.sender][tokenAddress] = balances[msg.sender][tokenAddress]
            .add(amount);
        token.safeTransferFrom(msg.sender, address(this), amount);
        _deposit(token, msg.sender, amount);
    }

    function depositFor(
        address tokenAddress,
        address userAddress,
        uint256 amount
    ) external nonReentrant {
        require(
            allowedYieldFarms[msg.sender],
            "Staking: Calling this function not allowed."
        );
        IERC20 token = IERC20(tokenAddress);
        uint256 allowance = token.allowance(communityVault, address(this));
        require(allowance >= amount, "Staking: Token allowance too small");
        require(amount > 0, "Staking: Amount must be > 0");
        balances[userAddress][tokenAddress] = balances[userAddress][
            tokenAddress
        ]
            .add(amount);
        token.safeTransferFrom(communityVault, address(this), amount);
        _deposit(token, userAddress, amount);
    }

    function _deposit(
        IERC20 token,
        address userAddress,
        uint256 amount
    ) internal {
        address tokenAddress = address(token);

        // epoch logic
        uint128 currentEpoch = getCurrentEpoch();
        uint128 currentMultiplier = currentEpochMultiplier();

        if (!epochIsInitialized(tokenAddress, currentEpoch)) {
            address[] memory tokens = new address[](1);
            tokens[0] = tokenAddress;
            manualEpochInit(tokens, currentEpoch);
        }

        // update the next epoch pool size
        Pool storage pNextEpoch = poolSize[tokenAddress][currentEpoch + 1];
        pNextEpoch.size = token.balanceOf(address(this));
        pNextEpoch.set = true;

        Checkpoint[] storage checkpoints =
            balanceCheckpoints[userAddress][tokenAddress];

        uint256 balanceBefore =
            getEpochUserBalance(userAddress, tokenAddress, currentEpoch);

        // if there's no checkpoint yet, it means the user didn't have any activity
        // we want to store checkpoints both for the current epoch and next epoch because
        // if a user does a withdraw, the current epoch can also be modified and
        // we don't want to insert another checkpoint in the middle of the array as that could be expensive
        if (checkpoints.length == 0) {
            checkpoints.push(
                Checkpoint(currentEpoch, currentMultiplier, 0, amount)
            );

            // next epoch => multiplier is 1, epoch deposits is 0
            checkpoints.push(
                Checkpoint(currentEpoch + 1, BASE_MULTIPLIER, amount, 0)
            );
        } else {
            uint256 last = checkpoints.length - 1;

            // the last action happened in an older epoch (e.g. a deposit in epoch 3, current epoch is >=5)
            if (checkpoints[last].epochId < currentEpoch) {
                uint128 multiplier =
                    computeNewMultiplier(
                        getCheckpointBalance(checkpoints[last]),
                        BASE_MULTIPLIER,
                        amount,
                        currentMultiplier
                    );
                checkpoints.push(
                    Checkpoint(
                        currentEpoch,
                        multiplier,
                        getCheckpointBalance(checkpoints[last]),
                        amount
                    )
                );
                uint256 startBal = balances[userAddress][tokenAddress];
                checkpoints.push(
                    Checkpoint(currentEpoch + 1, BASE_MULTIPLIER, startBal, 0)
                );
            }
            // the last action happened in the previous epoch
            else if (checkpoints[last].epochId == currentEpoch) {
                checkpoints[last].multiplier = computeNewMultiplier(
                    getCheckpointBalance(checkpoints[last]),
                    checkpoints[last].multiplier,
                    amount,
                    currentMultiplier
                );
                checkpoints[last].newDeposits = checkpoints[last]
                    .newDeposits
                    .add(amount);

                checkpoints.push(
                    Checkpoint(
                        currentEpoch + 1,
                        BASE_MULTIPLIER,
                        balances[userAddress][tokenAddress],
                        0
                    )
                );
            }
            // the last action happened in the current epoch
            else {
                if (
                    last >= 1 && checkpoints[last - 1].epochId == currentEpoch
                ) {
                    checkpoints[last - 1].multiplier = computeNewMultiplier(
                        getCheckpointBalance(checkpoints[last - 1]),
                        checkpoints[last - 1].multiplier,
                        amount,
                        currentMultiplier
                    );
                    checkpoints[last - 1].newDeposits = checkpoints[last - 1]
                        .newDeposits
                        .add(amount);
                }

                checkpoints[last].startBalance = balances[userAddress][
                    tokenAddress
                ];
            }
        }

        uint256 balanceAfter =
            getEpochUserBalance(userAddress, tokenAddress, currentEpoch);

        poolSize[tokenAddress][currentEpoch].size = poolSize[tokenAddress][
            currentEpoch
        ]
            .size
            .add(balanceAfter.sub(balanceBefore));

        emit Deposit(userAddress, tokenAddress, amount);
    }

    /*
     * Removes the deposit of the user and sends the amount of `tokenAddress` back to the `user`
     */
    function withdraw(address tokenAddress, uint256 amount)
        public
        nonReentrant
    {
        require(
            balances[msg.sender][tokenAddress] >= amount,
            "Staking: balance too small"
        );

        balances[msg.sender][tokenAddress] = balances[msg.sender][tokenAddress]
            .sub(amount);

        IERC20 token = IERC20(tokenAddress);
        token.safeTransfer(msg.sender, amount);

        // epoch logic
        uint128 currentEpoch = getCurrentEpoch();

        lastWithdrawEpochId[tokenAddress] = currentEpoch;

        if (!epochIsInitialized(tokenAddress, currentEpoch)) {
            address[] memory tokens = new address[](1);
            tokens[0] = tokenAddress;
            manualEpochInit(tokens, currentEpoch);
        }

        // update the pool size of the next epoch to its current balance
        Pool storage pNextEpoch = poolSize[tokenAddress][currentEpoch + 1];
        pNextEpoch.size = token.balanceOf(address(this));
        pNextEpoch.set = true;

        Checkpoint[] storage checkpoints =
            balanceCheckpoints[msg.sender][tokenAddress];
        uint256 last = checkpoints.length - 1;

        // note: it's impossible to have a withdraw and no checkpoints because the balance would be 0 and revert

        // there was a deposit in an older epoch (more than 1 behind [eg: previous 0, now 5]) but no other action since then
        if (checkpoints[last].epochId < currentEpoch) {
            checkpoints.push(
                Checkpoint(
                    currentEpoch,
                    BASE_MULTIPLIER,
                    balances[msg.sender][tokenAddress],
                    0
                )
            );

            poolSize[tokenAddress][currentEpoch].size = poolSize[tokenAddress][
                currentEpoch
            ]
                .size
                .sub(amount);
        }
        // there was a deposit in the `epochId - 1` epoch => we have a checkpoint for the current epoch
        else if (checkpoints[last].epochId == currentEpoch) {
            checkpoints[last].startBalance = balances[msg.sender][tokenAddress];
            checkpoints[last].newDeposits = 0;
            checkpoints[last].multiplier = BASE_MULTIPLIER;

            poolSize[tokenAddress][currentEpoch].size = poolSize[tokenAddress][
                currentEpoch
            ]
                .size
                .sub(amount);
        }
        // there was a deposit in the current epoch
        else {
            Checkpoint storage currentEpochCheckpoint = checkpoints[last - 1];

            uint256 balanceBefore =
                getCheckpointEffectiveBalance(currentEpochCheckpoint);

            // in case of withdraw, we have 2 branches:
            // 1. the user withdraws less than he added in the current epoch
            // 2. the user withdraws more than he added in the current epoch (including 0)
            if (amount < currentEpochCheckpoint.newDeposits) {
                uint128 avgDepositMultiplier =
                    uint128(
                        balanceBefore
                            .sub(currentEpochCheckpoint.startBalance)
                            .mul(BASE_MULTIPLIER)
                            .div(currentEpochCheckpoint.newDeposits)
                    );

                currentEpochCheckpoint.newDeposits = currentEpochCheckpoint
                    .newDeposits
                    .sub(amount);

                currentEpochCheckpoint.multiplier = computeNewMultiplier(
                    currentEpochCheckpoint.startBalance,
                    BASE_MULTIPLIER,
                    currentEpochCheckpoint.newDeposits,
                    avgDepositMultiplier
                );
            } else {
                currentEpochCheckpoint.startBalance = currentEpochCheckpoint
                    .startBalance
                    .sub(amount.sub(currentEpochCheckpoint.newDeposits));
                currentEpochCheckpoint.newDeposits = 0;
                currentEpochCheckpoint.multiplier = BASE_MULTIPLIER;
            }

            uint256 balanceAfter =
                getCheckpointEffectiveBalance(currentEpochCheckpoint);

            poolSize[tokenAddress][currentEpoch].size = poolSize[tokenAddress][
                currentEpoch
            ]
                .size
                .sub(balanceBefore.sub(balanceAfter));

            checkpoints[last].startBalance = balances[msg.sender][tokenAddress];
        }

        emit Withdraw(msg.sender, tokenAddress, amount);
    }

    /*
     * manualEpochInit can be used by anyone to initialize an epoch based on the previous one
     * This is only applicable if there was no action (deposit/withdraw) in the current epoch.
     * Any deposit and withdraw will automatically initialize the current and next epoch.
     */
    function manualEpochInit(address[] memory tokens, uint128 epochId) public {
        require(epochId <= getCurrentEpoch(), "can't init a future epoch");

        for (uint256 i = 0; i < tokens.length; i++) {
            Pool storage p = poolSize[tokens[i]][epochId];

            if (epochId == 0) {
                p.size = uint256(0);
                p.set = true;
            } else {
                require(
                    !epochIsInitialized(tokens[i], epochId),
                    "Staking: epoch already initialized"
                );
                require(
                    epochIsInitialized(tokens[i], epochId - 1),
                    "Staking: previous epoch not initialized"
                );

                p.size = poolSize[tokens[i]][epochId - 1].size;
                p.set = true;
            }
        }

        emit ManualEpochInit(msg.sender, epochId, tokens);
    }

    function emergencyWithdraw(address tokenAddress) public {
        require(
            (getCurrentEpoch() - lastWithdrawEpochId[tokenAddress]) >= 10,
            "At least 10 epochs must pass without success"
        );

        uint256 totalUserBalance = balances[msg.sender][tokenAddress];
        require(totalUserBalance > 0, "Amount must be > 0");

        balances[msg.sender][tokenAddress] = 0;

        IERC20 token = IERC20(tokenAddress);
        token.safeTransfer(msg.sender, totalUserBalance);

        emit EmergencyWithdraw(msg.sender, tokenAddress, totalUserBalance);
    }

    /*
     * Returns the valid balance of a user that was taken into consideration in the total pool size for the epoch
     * A deposit will only change the next epoch balance.
     * A withdraw will decrease the current epoch (and subsequent) balance.
     */
    function getEpochUserBalance(
        address user,
        address token,
        uint128 epochId
    ) public view returns (uint256) {
        Checkpoint[] storage checkpoints = balanceCheckpoints[user][token];

        // if there are no checkpoints, it means the user never deposited any tokens, so the balance is 0
        if (checkpoints.length == 0 || epochId < checkpoints[0].epochId) {
            return 0;
        }

        uint256 min = 0;
        uint256 max = checkpoints.length - 1;

        // shortcut for blocks newer than the latest checkpoint == current balance
        if (epochId >= checkpoints[max].epochId) {
            return getCheckpointEffectiveBalance(checkpoints[max]);
        }

        // binary search of the value in the array
        while (max > min) {
            uint256 mid = (max + min + 1) / 2;
            if (checkpoints[mid].epochId <= epochId) {
                min = mid;
            } else {
                max = mid - 1;
            }
        }

        return getCheckpointEffectiveBalance(checkpoints[min]);
    }

    /*
     * Returns the amount of `token` that the `user` has currently staked
     */
    function balanceOf(address user, address token)
        public
        view
        returns (uint256)
    {
        return balances[user][token];
    }

    /*
     * Returns the id of the current epoch derived from block.timestamp
     */
    function getCurrentEpoch() public view returns (uint128) {
        if (block.timestamp < epoch1Start) {
            return 0;
        }

        return uint128((block.timestamp - epoch1Start) / epochDuration + 1);
    }

    /*
     * Returns the total amount of `tokenAddress` that was locked from beginning to end of epoch identified by `epochId`
     */
    function getEpochPoolSize(address tokenAddress, uint128 epochId)
        public
        view
        returns (uint256)
    {
        // Premises:
        // 1. it's impossible to have gaps of uninitialized epochs
        // - any deposit or withdraw initialize the current epoch which requires the previous one to be initialized
        if (epochIsInitialized(tokenAddress, epochId)) {
            return poolSize[tokenAddress][epochId].size;
        }

        // epochId not initialized and epoch 0 not initialized => there was never any action on this pool
        if (!epochIsInitialized(tokenAddress, 0)) {
            return 0;
        }

        // epoch 0 is initialized => there was an action at some point but none that initialized the epochId
        // which means the current pool size is equal to the current balance of token held by the staking contract
        IERC20 token = IERC20(tokenAddress);
        return token.balanceOf(address(this));
    }

    /*
     * Returns the percentage of time left in the current epoch
     */
    function currentEpochMultiplier() public view returns (uint128) {
        uint128 currentEpoch = getCurrentEpoch();
        uint256 currentEpochEnd = epoch1Start + currentEpoch * epochDuration;
        uint256 timeLeft = currentEpochEnd - block.timestamp;
        uint128 multiplier =
            uint128((timeLeft * BASE_MULTIPLIER) / epochDuration);

        return multiplier;
    }

    function computeNewMultiplier(
        uint256 prevBalance,
        uint128 prevMultiplier,
        uint256 amount,
        uint128 currentMultiplier
    ) public pure returns (uint128) {
        uint256 prevAmount =
            prevBalance.mul(prevMultiplier).div(BASE_MULTIPLIER);
        uint256 addAmount = amount.mul(currentMultiplier).div(BASE_MULTIPLIER);
        uint128 newMultiplier =
            uint128(
                prevAmount.add(addAmount).mul(BASE_MULTIPLIER).div(
                    prevBalance.add(amount)
                )
            );

        return newMultiplier;
    }

    /*
     * Checks if an epoch is initialized, meaning we have a pool size set for it
     */
    function epochIsInitialized(address token, uint128 epochId)
        public
        view
        returns (bool)
    {
        return poolSize[token][epochId].set;
    }

    function getCheckpointBalance(Checkpoint memory c)
        internal
        pure
        returns (uint256)
    {
        return c.startBalance.add(c.newDeposits);
    }

    function getCheckpointEffectiveBalance(Checkpoint memory c)
        internal
        pure
        returns (uint256)
    {
        return getCheckpointBalance(c).mul(c.multiplier).div(BASE_MULTIPLIER);
    }

    function addAllowedYieldFarm(address contractAddress) public onlyOwner {
        require(
            contractAddress != address(0),
            "Staking Contract: Contract address cannot be zero address"
        );
        allowedYieldFarms[contractAddress] = true;
    }

    function deleteAllowedYieldFarm(address contractAddress) public onlyOwner {
        require(
            contractAddress != address(0),
            "Staking Contract: Contract address cannot be zero address"
        );
        allowedYieldFarms[contractAddress] = false;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_epoch1Start","type":"uint256"},{"internalType":"uint256","name":"_epochDuration","type":"uint256"},{"internalType":"address","name":"_communityVault","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"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":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"uint128","name":"epochId","type":"uint128"},{"indexed":false,"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"ManualEpochInit","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":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"addAllowedYieldFarm","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedYieldFarms","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"address","name":"token","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"communityVault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"prevBalance","type":"uint256"},{"internalType":"uint128","name":"prevMultiplier","type":"uint128"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint128","name":"currentMultiplier","type":"uint128"}],"name":"computeNewMultiplier","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"currentEpochMultiplier","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"deleteAllowedYieldFarm","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"depositFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"epoch1Start","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"epochDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint128","name":"epochId","type":"uint128"}],"name":"epochIsInitialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentEpoch","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint128","name":"epochId","type":"uint128"}],"name":"getEpochPoolSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint128","name":"epochId","type":"uint128"}],"name":"getEpochUserBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"},{"internalType":"uint128","name":"epochId","type":"uint128"}],"name":"manualEpochInit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162002ee338038062002ee3833981810160405260608110156200003757600080fd5b50805160208201516040909201516001600090815591929162000059620000d5565b600180546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600292909255600355600580546001600160a01b0319166001600160a01b03909216919091179055620000d9565b3390565b612dfa80620000e96000396000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c80638da5cb5b116100d8578063ce58a2a81161008c578063f3fef3a311610066578063f3fef3a3146104c0578063f4a4341d146104ec578063f7888aec146104f457610177565b8063ce58a2a8146103e4578063ea2c38ae146103ec578063f2fde38b1461049a57610177565b8063b3db428b116100bd578063b3db428b14610380578063b97dd9e2146103b6578063bc309811146103be57610177565b80638da5cb5b14610343578063aa5791541461034b57610177565b80635a2b21a41161012f5780636ff1c9bc116101145780636ff1c9bc146102d5578063715018a6146102fb5780638c028dd01461030357610177565b80635a2b21a4146102755780636a63397d1461029b57610177565b80634be41dba116101605780634be41dba146101f15780634ff0876a1461024957806353e978681461025157610177565b80632ca32d7e1461017c57806347e7ef24146101c3575b600080fd5b6101b16004803603604081101561019257600080fd5b5080356001600160a01b031690602001356001600160801b0316610522565b60408051918252519081900360200190f35b6101ef600480360360408110156101d957600080fd5b506001600160a01b0381351690602001356105fc565b005b61022d6004803603608081101561020757600080fd5b508035906001600160801b036020820135811691604081013591606090910135166107e7565b604080516001600160801b039092168252519081900360200190f35b6101b161086b565b610259610871565b604080516001600160a01b039092168252519081900360200190f35b6101ef6004803603602081101561028b57600080fd5b50356001600160a01b0316610880565b6102c1600480360360208110156102b157600080fd5b50356001600160a01b031661095a565b604080519115158252519081900360200190f35b6101ef600480360360208110156102eb57600080fd5b50356001600160a01b031661096f565b6101ef610ad2565b6101b16004803603606081101561031957600080fd5b5080356001600160a01b0390811691602081013590911690604001356001600160801b0316610b9d565b610259610d2e565b6102c16004803603604081101561036157600080fd5b5080356001600160a01b031690602001356001600160801b0316610d3e565b6101ef6004803603606081101561039657600080fd5b506001600160a01b03813581169160208101359091169060400135610d77565b61022d610fbf565b6101ef600480360360208110156103d457600080fd5b50356001600160a01b0316610feb565b61022d6110c8565b6101ef6004803603604081101561040257600080fd5b81019060208101813564010000000081111561041d57600080fd5b82018360208201111561042f57600080fd5b8035906020019184602083028401116401000000008311171561045157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550505090356001600160801b0316915061110f9050565b6101ef600480360360208110156104b057600080fd5b50356001600160a01b031661139e565b6101ef600480360360408110156104d657600080fd5b506001600160a01b0381351690602001356114c0565b6101b1611c57565b6101b16004803603604081101561050a57600080fd5b506001600160a01b0381358116916020013516611c5d565b600061052e8383610d3e565b1561056657506001600160a01b03821660009081526007602090815260408083206001600160801b03851684529091529020546105f6565b610571836000610d3e565b61057d575060006105f6565b604080516370a0823160e01b8152306004820152905184916001600160a01b038316916370a0823191602480820192602092909190829003018186803b1580156105c657600080fd5b505afa1580156105da573d6000803e3d6000fd5b505050506040513d60208110156105f057600080fd5b50519150505b92915050565b60026000541415610654576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600090815560408051636eb1769f60e11b815233600482015230602482015290518492916001600160a01b0384169163dd62ed3e91604480820192602092909190829003018186803b1580156106ab57600080fd5b505afa1580156106bf573d6000803e3d6000fd5b505050506040513d60208110156106d557600080fd5b50519050828110156107185760405162461bcd60e51b8152600401808060200182810382526022815260200180612ca76022913960400191505060405180910390fd5b6000831161076d576040805162461bcd60e51b815260206004820152601b60248201527f5374616b696e673a20416d6f756e74206d757374206265203e20300000000000604482015290519081900360640190fd5b3360009081526006602090815260408083206001600160a01b038816845290915290205461079b9084611c88565b3360008181526006602090815260408083206001600160a01b038a811685529252909120929092556107d1918416903086611ce2565b6107dc823385611d70565b505060016000555050565b60008061080f670de0b6b3a7640000610809886001600160801b038916612770565b906127c9565b90506000610832670de0b6b3a7640000610809876001600160801b038816612770565b9050600061085f6108438988611c88565b610809670de0b6b3a76400006108598787611c88565b90612770565b98975050505050505050565b60035481565b6005546001600160a01b031681565b610888612830565b6001600160a01b0316610899610d2e565b6001600160a01b0316146108f4576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166109395760405162461bcd60e51b8152600401808060200182810382526039815260200180612d626039913960400191505060405180910390fd5b6001600160a01b03166000908152600460205260409020805460ff19169055565b60046020526000908152604090205460ff1681565b6001600160a01b038116600090815260096020526040902054600a906001600160801b031661099c610fbf565b036001600160801b031610156109e35760405162461bcd60e51b815260040180806020018281038252602c815260200180612c59602c913960400191505060405180910390fd5b3360009081526006602090815260408083206001600160a01b038516845290915290205480610a59576040805162461bcd60e51b815260206004820152601260248201527f416d6f756e74206d757374206265203e20300000000000000000000000000000604482015290519081900360640190fd5b3360008181526006602090815260408083206001600160a01b03871680855292528220919091558391610a8d919084612834565b6040805183815290516001600160a01b0385169133917ff24ef89f38eadc1bde50701ad6e4d6d11a2dc24f7cf834a486991f38833285049181900360200190a3505050565b610ada612830565b6001600160a01b0316610aeb610d2e565b6001600160a01b031614610b46576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36001805473ffffffffffffffffffffffffffffffffffffffff19169055565b6001600160a01b038084166000908152600860209081526040808320938616835292905290812080541580610bfb575080600081548110610bda57fe5b60009182526020909120600390910201546001600160801b03908116908416105b15610c0a576000915050610d27565b8054600090600019810190839082908110610c2157fe5b60009182526020909120600390910201546001600160801b0390811690861610610cb357610ca9838281548110610c5457fe5b600091825260209182902060408051608081018252600390930290910180546001600160801b038082168552600160801b909104169383019390935260018301549082015260029091015460608201526128b9565b9350505050610d27565b81811115610d125760006002600183850101049050856001600160801b0316848281548110610cde57fe5b60009182526020909120600390910201546001600160801b031611610d0557809250610d0c565b6001810391505b50610cb3565b610d21838381548110610c5457fe5b93505050505b9392505050565b6001546001600160a01b03165b90565b6001600160a01b03821660009081526007602090815260408083206001600160801b038516845290915290206001015460ff1692915050565b60026000541415610dcf576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260009081553381526004602052604090205460ff16610e215760405162461bcd60e51b815260040180806020018281038252602b815260200180612cef602b913960400191505060405180910390fd5b60055460408051636eb1769f60e11b81526001600160a01b039283166004820152306024820152905185926000929084169163dd62ed3e91604480820192602092909190829003018186803b158015610e7957600080fd5b505afa158015610e8d573d6000803e3d6000fd5b505050506040513d6020811015610ea357600080fd5b5051905082811015610ee65760405162461bcd60e51b8152600401808060200182810382526022815260200180612ca76022913960400191505060405180910390fd5b60008311610f3b576040805162461bcd60e51b815260206004820152601b60248201527f5374616b696e673a20416d6f756e74206d757374206265203e20300000000000604482015290519081900360640190fd5b6001600160a01b03808516600090815260066020908152604080832093891683529290522054610f6b9084611c88565b6001600160a01b0380861660009081526006602090815260408083208a85168452909152902091909155600554610fa89184811691163086611ce2565b610fb3828585611d70565b50506001600055505050565b6000600254421015610fd357506000610d3b565b600354600254420381610fe257fe5b04600101905090565b610ff3612830565b6001600160a01b0316611004610d2e565b6001600160a01b03161461105f576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166110a45760405162461bcd60e51b8152600401808060200182810382526039815260200180612d626039913960400191505060405180910390fd5b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b6000806110d3610fbf565b6003546002549192506001600160801b03831681029091019042820390600090670de0b6b3a764000083028161110557fe5b0494505050505090565b611117610fbf565b6001600160801b0316816001600160801b0316111561117d576040805162461bcd60e51b815260206004820152601960248201527f63616e277420696e69742061206675747572652065706f636800000000000000604482015290519081900360640190fd5b60005b82518110156113105760006007600085848151811061119b57fe5b6020908102919091018101516001600160a01b0316825281810192909252604090810160009081206001600160801b03871680835293522091506111f257600081556001808201805460ff19169091179055611307565b61120f84838151811061120157fe5b602002602001015184610d3e565b1561124b5760405162461bcd60e51b8152600401808060200182810382526022815260200180612c856022913960400191505060405180910390fd5b61126b84838151811061125a57fe5b602002602001015160018503610d3e565b6112a65760405162461bcd60e51b8152600401808060200182810382526027815260200180612d1a6027913960400191505060405180910390fd5b600760008584815181106112b657fe5b6020908102919091018101516001600160a01b0316825281810192909252604090810160009081206001600160801b03600019880116825290925290205481556001818101805460ff191690911790555b50600101611180565b50806001600160801b0316336001600160a01b03167fb85c32b8d9cecc81feba78646289584a693e9a8afea40ab2fd31efae4408429f846040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561138757818101518382015260200161136f565b505050509050019250505060405180910390a35050565b6113a6612830565b6001600160a01b03166113b7610d2e565b6001600160a01b031614611412576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166114575760405162461bcd60e51b8152600401808060200182810382526026815260200180612c336026913960400191505060405180910390fd5b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60026000541415611518576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260009081553381526006602090815260408083206001600160a01b0386168452909152902054811115611594576040805162461bcd60e51b815260206004820152601a60248201527f5374616b696e673a2062616c616e636520746f6f20736d616c6c000000000000604482015290519081900360640190fd5b3360009081526006602090815260408083206001600160a01b03861684529091529020546115c290826128ea565b3360008181526006602090815260408083206001600160a01b03881680855292529091209290925583916115f69184612834565b6000611600610fbf565b6001600160a01b038516600090815260096020526040902080546fffffffffffffffffffffffffffffffff19166001600160801b03831617905590506116468482610d3e565b6116a65760408051600180825281830190925260609160208083019080368337019050509050848160008151811061167a57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250506116a4818361110f565b505b6001600160a01b0380851660009081526007602090815260408083206001600160801b036001870116845282529182902082516370a0823160e01b8152306004820152925190938616926370a08231926024808301939192829003018186803b15801561171257600080fd5b505afa158015611726573d6000803e3d6000fd5b505050506040513d602081101561173c57600080fd5b505181556001808201805460ff191690911790553360009081526008602090815260408083206001600160a01b0389168452909152902080546000198101906001600160801b0385169083908390811061179257fe5b60009182526020909120600390910201546001600160801b031610156118b457604080516080810182526001600160801b03808716808352670de0b6b3a76400006020808501918252336000908152600682528681206001600160a01b038f1680835290835287822054878901908152606088018381528b5460018181018e558d86528686209a516003909202909a01805497518a16600160801b02918a166fffffffffffffffffffffffffffffffff19909816979097179098169790971785555196840196909655935160029092019190915592825260078352838220908252909152205461188290876128ea565b6001600160a01b03881660009081526007602090815260408083206001600160801b0389168452909152902055611c09565b836001600160801b03168282815481106118ca57fe5b60009182526020909120600390910201546001600160801b031614156119bd573360009081526006602090815260408083206001600160a01b038b168452909152902054825483908390811061191c57fe5b906000526020600020906003020160010181905550600082828154811061193f57fe5b906000526020600020906003020160020181905550670de0b6b3a764000082828154811061196957fe5b60009182526020808320600390920290910180546001600160801b03948516600160801b029085161790556001600160a01b038a1682526007815260408083209388168352929052205461188290876128ea565b60008260018303815481106119ce57fe5b6000918252602080832060408051608081018252600390940290910180546001600160801b038082168652600160801b9091041692840192909252600182015490830152600281015460608301529250611a27906128b9565b90508160020154881015611abb576000611a6b8360020154610809670de0b6b3a76400006001600160801b03166108598760010154876128ea90919063ffffffff16565b6002840154909150611a7d908a6128ea565b600284018190556001840154611a9d91670de0b6b3a764000090846107e7565b83546001600160801b03918216600160801b02911617835550611b14565b611ae0611ad583600201548a6128ea90919063ffffffff16565b6001840154906128ea565b60018301556000600283015581546001600160801b0316770de0b6b3a7640000000000000000000000000000000000001782555b6040805160808101825283546001600160801b038082168352600160801b90910416602082015260018401549181019190915260028301546060820152600090611b5d906128b9565b9050611b9f611b6c83836128ea565b6001600160a01b038c1660009081526007602090815260408083206001600160801b038d168452909152902054906128ea565b6001600160a01b038b1660008181526007602090815260408083206001600160801b038d168452825280832094909455338252600681528382209282529190915220548554869086908110611bf057fe5b9060005260206000209060030201600101819055505050505b6040805187815290516001600160a01b0389169133917f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb9181900360200190a3505060016000555050505050565b60025481565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b600082820183811015610d27576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052611d6a908590612947565b50505050565b826000611d7b610fbf565b90506000611d876110c8565b9050611d938383610d3e565b611df357604080516001808252818301909252606091602080830190803683370190505090508381600081518110611dc757fe5b60200260200101906001600160a01b031690816001600160a01b031681525050611df1818461110f565b505b6001600160a01b0380841660009081526007602090815260408083206001600160801b036001880116845282529182902082516370a0823160e01b8152306004820152925190938a16926370a08231926024808301939192829003018186803b158015611e5f57600080fd5b505afa158015611e73573d6000803e3d6000fd5b505050506040513d6020811015611e8957600080fd5b505181556001808201805460ff191690911790556001600160a01b038087166000908152600860209081526040808320938816835292905290812090611ed0888787610b9d565b825490915061208557816040518060800160405280876001600160801b03168152602001866001600160801b031681526020016000815260200189815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b0316021790555060408201518160010155606082015181600201555050816040518060800160405280876001016001600160801b03168152602001670de0b6b3a76400006001600160801b031681526020018981526020016000815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b03160217905550604082015181600101556060820151816002015550506126ad565b81546000198101906001600160801b038716908490839081106120a457fe5b60009182526020909120600390910201546001600160801b0316101561234757600061213d61212d8584815481106120d857fe5b600091825260209182902060408051608081018252600390930290910180546001600160801b038082168552600160801b909104169383019390935260018301549082015260029091015460608201526129f8565b670de0b6b3a76400008b896107e7565b9050836040518060800160405280896001600160801b03168152602001836001600160801b031681526020016121788786815481106120d857fe5b81526020018b815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b03160217905550604082015181600101556060820151816002015550506000600660008c6001600160a01b03166001600160a01b0316815260200190815260200160002060008a6001600160a01b03166001600160a01b031681526020019081526020016000205490508460405180608001604052808a6001016001600160801b03168152602001670de0b6b3a76400006001600160801b031681526020018381526020016000815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055506040820151816001015560608201518160020155505050506126ab565b856001600160801b031683828154811061235d57fe5b60009182526020909120600390910201546001600160801b0316141561257b576123c361238f8483815481106120d857fe5b84838154811061239b57fe5b6000918252602090912060039091020154600160801b90046001600160801b03168a886107e7565b8382815481106123cf57fe5b906000526020600020906003020160000160106101000a8154816001600160801b0302191690836001600160801b031602179055506124348884838154811061241457fe5b906000526020600020906003020160020154611c8890919063ffffffff16565b83828154811061244057fe5b906000526020600020906003020160020181905550826040518060800160405280886001016001600160801b03168152602001670de0b6b3a76400006001600160801b03168152602001600660008d6001600160a01b03166001600160a01b0316815260200190815260200160002060008b6001600160a01b03166001600160a01b031681526020019081526020016000205481526020016000815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b03160217905550604082015181600101556060820151816002015550506126ab565b600181101580156125bc5750856001600160801b03168360018303815481106125a057fe5b60009182526020909120600390910201546001600160801b0316145b15612661576125e56125d68460018403815481106120d857fe5b84600184038154811061239b57fe5b8360018303815481106125f457fe5b906000526020600020906003020160000160106101000a8154816001600160801b0302191690836001600160801b0316021790555061263c8884600184038154811061241457fe5b83600183038154811061264b57fe5b9060005260206000209060030201600201819055505b6001600160a01b03808a166000908152600660209081526040808320938b1683529290522054835484908390811061269557fe5b9060005260206000209060030201600101819055505b505b60006126ba898888610b9d565b90506126fc6126c982846128ea565b6001600160a01b03891660009081526007602090815260408083206001600160801b038c16845290915290205490611c88565b6001600160a01b0380891660008181526007602090815260408083206001600160801b038d1684528252918290209490945580518c815290519193928d16927f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f6292918290030190a350505050505050505050565b60008261277f575060006105f6565b8282028284828161278c57fe5b0414610d275760405162461bcd60e51b8152600401808060200182810382526021815260200180612d416021913960400191505060405180910390fd5b600080821161281f576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161282857fe5b049392505050565b3390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526128b4908490612947565b505050565b60006105f6670de0b6b3a76400006001600160801b031661080984602001516001600160801b0316610859866129f8565b600082821115612941576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b606061299c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612a159092919063ffffffff16565b8051909150156128b4578080602001905160208110156129bb57600080fd5b50516128b45760405162461bcd60e51b815260040180806020018281038252602a815260200180612d9b602a913960400191505060405180910390fd5b60006105f682606001518360400151611c8890919063ffffffff16565b6060612a248484600085612a2c565b949350505050565b606082471015612a6d5760405162461bcd60e51b8152600401808060200182810382526026815260200180612cc96026913960400191505060405180910390fd5b612a7685612b88565b612ac7576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612b065780518252601f199092019160209182019101612ae7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612b68576040519150601f19603f3d011682016040523d82523d6000602084013e612b6d565b606091505b5091509150612b7d828286612b8e565b979650505050505050565b3b151590565b60608315612b9d575081610d27565b825115612bad5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612bf7578181015183820152602001612bdf565b50505050905090810190601f168015612c245780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734174206c656173742031302065706f636873206d757374207061737320776974686f757420737563636573735374616b696e673a2065706f636820616c726561647920696e697469616c697a65645374616b696e673a20546f6b656e20616c6c6f77616e636520746f6f20736d616c6c416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5374616b696e673a2043616c6c696e6720746869732066756e6374696f6e206e6f7420616c6c6f7765642e5374616b696e673a2070726576696f75732065706f6368206e6f7420696e697469616c697a6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775374616b696e6720436f6e74726163743a20436f6e747261637420616464726573732063616e6e6f74206265207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122049e148bffb4470ab857d398166cf863ec2b811c60aaf05816115f9697b9a87a564736f6c634300070000330000000000000000000000000000000000000000000000000000000061015bd80000000000000000000000000000000000000000000000000000000000093a8000000000000000000000000042763518e7fefedfc72f86f1f04a7c771874aebf

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101775760003560e01c80638da5cb5b116100d8578063ce58a2a81161008c578063f3fef3a311610066578063f3fef3a3146104c0578063f4a4341d146104ec578063f7888aec146104f457610177565b8063ce58a2a8146103e4578063ea2c38ae146103ec578063f2fde38b1461049a57610177565b8063b3db428b116100bd578063b3db428b14610380578063b97dd9e2146103b6578063bc309811146103be57610177565b80638da5cb5b14610343578063aa5791541461034b57610177565b80635a2b21a41161012f5780636ff1c9bc116101145780636ff1c9bc146102d5578063715018a6146102fb5780638c028dd01461030357610177565b80635a2b21a4146102755780636a63397d1461029b57610177565b80634be41dba116101605780634be41dba146101f15780634ff0876a1461024957806353e978681461025157610177565b80632ca32d7e1461017c57806347e7ef24146101c3575b600080fd5b6101b16004803603604081101561019257600080fd5b5080356001600160a01b031690602001356001600160801b0316610522565b60408051918252519081900360200190f35b6101ef600480360360408110156101d957600080fd5b506001600160a01b0381351690602001356105fc565b005b61022d6004803603608081101561020757600080fd5b508035906001600160801b036020820135811691604081013591606090910135166107e7565b604080516001600160801b039092168252519081900360200190f35b6101b161086b565b610259610871565b604080516001600160a01b039092168252519081900360200190f35b6101ef6004803603602081101561028b57600080fd5b50356001600160a01b0316610880565b6102c1600480360360208110156102b157600080fd5b50356001600160a01b031661095a565b604080519115158252519081900360200190f35b6101ef600480360360208110156102eb57600080fd5b50356001600160a01b031661096f565b6101ef610ad2565b6101b16004803603606081101561031957600080fd5b5080356001600160a01b0390811691602081013590911690604001356001600160801b0316610b9d565b610259610d2e565b6102c16004803603604081101561036157600080fd5b5080356001600160a01b031690602001356001600160801b0316610d3e565b6101ef6004803603606081101561039657600080fd5b506001600160a01b03813581169160208101359091169060400135610d77565b61022d610fbf565b6101ef600480360360208110156103d457600080fd5b50356001600160a01b0316610feb565b61022d6110c8565b6101ef6004803603604081101561040257600080fd5b81019060208101813564010000000081111561041d57600080fd5b82018360208201111561042f57600080fd5b8035906020019184602083028401116401000000008311171561045157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550505090356001600160801b0316915061110f9050565b6101ef600480360360208110156104b057600080fd5b50356001600160a01b031661139e565b6101ef600480360360408110156104d657600080fd5b506001600160a01b0381351690602001356114c0565b6101b1611c57565b6101b16004803603604081101561050a57600080fd5b506001600160a01b0381358116916020013516611c5d565b600061052e8383610d3e565b1561056657506001600160a01b03821660009081526007602090815260408083206001600160801b03851684529091529020546105f6565b610571836000610d3e565b61057d575060006105f6565b604080516370a0823160e01b8152306004820152905184916001600160a01b038316916370a0823191602480820192602092909190829003018186803b1580156105c657600080fd5b505afa1580156105da573d6000803e3d6000fd5b505050506040513d60208110156105f057600080fd5b50519150505b92915050565b60026000541415610654576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600090815560408051636eb1769f60e11b815233600482015230602482015290518492916001600160a01b0384169163dd62ed3e91604480820192602092909190829003018186803b1580156106ab57600080fd5b505afa1580156106bf573d6000803e3d6000fd5b505050506040513d60208110156106d557600080fd5b50519050828110156107185760405162461bcd60e51b8152600401808060200182810382526022815260200180612ca76022913960400191505060405180910390fd5b6000831161076d576040805162461bcd60e51b815260206004820152601b60248201527f5374616b696e673a20416d6f756e74206d757374206265203e20300000000000604482015290519081900360640190fd5b3360009081526006602090815260408083206001600160a01b038816845290915290205461079b9084611c88565b3360008181526006602090815260408083206001600160a01b038a811685529252909120929092556107d1918416903086611ce2565b6107dc823385611d70565b505060016000555050565b60008061080f670de0b6b3a7640000610809886001600160801b038916612770565b906127c9565b90506000610832670de0b6b3a7640000610809876001600160801b038816612770565b9050600061085f6108438988611c88565b610809670de0b6b3a76400006108598787611c88565b90612770565b98975050505050505050565b60035481565b6005546001600160a01b031681565b610888612830565b6001600160a01b0316610899610d2e565b6001600160a01b0316146108f4576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166109395760405162461bcd60e51b8152600401808060200182810382526039815260200180612d626039913960400191505060405180910390fd5b6001600160a01b03166000908152600460205260409020805460ff19169055565b60046020526000908152604090205460ff1681565b6001600160a01b038116600090815260096020526040902054600a906001600160801b031661099c610fbf565b036001600160801b031610156109e35760405162461bcd60e51b815260040180806020018281038252602c815260200180612c59602c913960400191505060405180910390fd5b3360009081526006602090815260408083206001600160a01b038516845290915290205480610a59576040805162461bcd60e51b815260206004820152601260248201527f416d6f756e74206d757374206265203e20300000000000000000000000000000604482015290519081900360640190fd5b3360008181526006602090815260408083206001600160a01b03871680855292528220919091558391610a8d919084612834565b6040805183815290516001600160a01b0385169133917ff24ef89f38eadc1bde50701ad6e4d6d11a2dc24f7cf834a486991f38833285049181900360200190a3505050565b610ada612830565b6001600160a01b0316610aeb610d2e565b6001600160a01b031614610b46576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36001805473ffffffffffffffffffffffffffffffffffffffff19169055565b6001600160a01b038084166000908152600860209081526040808320938616835292905290812080541580610bfb575080600081548110610bda57fe5b60009182526020909120600390910201546001600160801b03908116908416105b15610c0a576000915050610d27565b8054600090600019810190839082908110610c2157fe5b60009182526020909120600390910201546001600160801b0390811690861610610cb357610ca9838281548110610c5457fe5b600091825260209182902060408051608081018252600390930290910180546001600160801b038082168552600160801b909104169383019390935260018301549082015260029091015460608201526128b9565b9350505050610d27565b81811115610d125760006002600183850101049050856001600160801b0316848281548110610cde57fe5b60009182526020909120600390910201546001600160801b031611610d0557809250610d0c565b6001810391505b50610cb3565b610d21838381548110610c5457fe5b93505050505b9392505050565b6001546001600160a01b03165b90565b6001600160a01b03821660009081526007602090815260408083206001600160801b038516845290915290206001015460ff1692915050565b60026000541415610dcf576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260009081553381526004602052604090205460ff16610e215760405162461bcd60e51b815260040180806020018281038252602b815260200180612cef602b913960400191505060405180910390fd5b60055460408051636eb1769f60e11b81526001600160a01b039283166004820152306024820152905185926000929084169163dd62ed3e91604480820192602092909190829003018186803b158015610e7957600080fd5b505afa158015610e8d573d6000803e3d6000fd5b505050506040513d6020811015610ea357600080fd5b5051905082811015610ee65760405162461bcd60e51b8152600401808060200182810382526022815260200180612ca76022913960400191505060405180910390fd5b60008311610f3b576040805162461bcd60e51b815260206004820152601b60248201527f5374616b696e673a20416d6f756e74206d757374206265203e20300000000000604482015290519081900360640190fd5b6001600160a01b03808516600090815260066020908152604080832093891683529290522054610f6b9084611c88565b6001600160a01b0380861660009081526006602090815260408083208a85168452909152902091909155600554610fa89184811691163086611ce2565b610fb3828585611d70565b50506001600055505050565b6000600254421015610fd357506000610d3b565b600354600254420381610fe257fe5b04600101905090565b610ff3612830565b6001600160a01b0316611004610d2e565b6001600160a01b03161461105f576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166110a45760405162461bcd60e51b8152600401808060200182810382526039815260200180612d626039913960400191505060405180910390fd5b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b6000806110d3610fbf565b6003546002549192506001600160801b03831681029091019042820390600090670de0b6b3a764000083028161110557fe5b0494505050505090565b611117610fbf565b6001600160801b0316816001600160801b0316111561117d576040805162461bcd60e51b815260206004820152601960248201527f63616e277420696e69742061206675747572652065706f636800000000000000604482015290519081900360640190fd5b60005b82518110156113105760006007600085848151811061119b57fe5b6020908102919091018101516001600160a01b0316825281810192909252604090810160009081206001600160801b03871680835293522091506111f257600081556001808201805460ff19169091179055611307565b61120f84838151811061120157fe5b602002602001015184610d3e565b1561124b5760405162461bcd60e51b8152600401808060200182810382526022815260200180612c856022913960400191505060405180910390fd5b61126b84838151811061125a57fe5b602002602001015160018503610d3e565b6112a65760405162461bcd60e51b8152600401808060200182810382526027815260200180612d1a6027913960400191505060405180910390fd5b600760008584815181106112b657fe5b6020908102919091018101516001600160a01b0316825281810192909252604090810160009081206001600160801b03600019880116825290925290205481556001818101805460ff191690911790555b50600101611180565b50806001600160801b0316336001600160a01b03167fb85c32b8d9cecc81feba78646289584a693e9a8afea40ab2fd31efae4408429f846040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561138757818101518382015260200161136f565b505050509050019250505060405180910390a35050565b6113a6612830565b6001600160a01b03166113b7610d2e565b6001600160a01b031614611412576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166114575760405162461bcd60e51b8152600401808060200182810382526026815260200180612c336026913960400191505060405180910390fd5b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60026000541415611518576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260009081553381526006602090815260408083206001600160a01b0386168452909152902054811115611594576040805162461bcd60e51b815260206004820152601a60248201527f5374616b696e673a2062616c616e636520746f6f20736d616c6c000000000000604482015290519081900360640190fd5b3360009081526006602090815260408083206001600160a01b03861684529091529020546115c290826128ea565b3360008181526006602090815260408083206001600160a01b03881680855292529091209290925583916115f69184612834565b6000611600610fbf565b6001600160a01b038516600090815260096020526040902080546fffffffffffffffffffffffffffffffff19166001600160801b03831617905590506116468482610d3e565b6116a65760408051600180825281830190925260609160208083019080368337019050509050848160008151811061167a57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250506116a4818361110f565b505b6001600160a01b0380851660009081526007602090815260408083206001600160801b036001870116845282529182902082516370a0823160e01b8152306004820152925190938616926370a08231926024808301939192829003018186803b15801561171257600080fd5b505afa158015611726573d6000803e3d6000fd5b505050506040513d602081101561173c57600080fd5b505181556001808201805460ff191690911790553360009081526008602090815260408083206001600160a01b0389168452909152902080546000198101906001600160801b0385169083908390811061179257fe5b60009182526020909120600390910201546001600160801b031610156118b457604080516080810182526001600160801b03808716808352670de0b6b3a76400006020808501918252336000908152600682528681206001600160a01b038f1680835290835287822054878901908152606088018381528b5460018181018e558d86528686209a516003909202909a01805497518a16600160801b02918a166fffffffffffffffffffffffffffffffff19909816979097179098169790971785555196840196909655935160029092019190915592825260078352838220908252909152205461188290876128ea565b6001600160a01b03881660009081526007602090815260408083206001600160801b0389168452909152902055611c09565b836001600160801b03168282815481106118ca57fe5b60009182526020909120600390910201546001600160801b031614156119bd573360009081526006602090815260408083206001600160a01b038b168452909152902054825483908390811061191c57fe5b906000526020600020906003020160010181905550600082828154811061193f57fe5b906000526020600020906003020160020181905550670de0b6b3a764000082828154811061196957fe5b60009182526020808320600390920290910180546001600160801b03948516600160801b029085161790556001600160a01b038a1682526007815260408083209388168352929052205461188290876128ea565b60008260018303815481106119ce57fe5b6000918252602080832060408051608081018252600390940290910180546001600160801b038082168652600160801b9091041692840192909252600182015490830152600281015460608301529250611a27906128b9565b90508160020154881015611abb576000611a6b8360020154610809670de0b6b3a76400006001600160801b03166108598760010154876128ea90919063ffffffff16565b6002840154909150611a7d908a6128ea565b600284018190556001840154611a9d91670de0b6b3a764000090846107e7565b83546001600160801b03918216600160801b02911617835550611b14565b611ae0611ad583600201548a6128ea90919063ffffffff16565b6001840154906128ea565b60018301556000600283015581546001600160801b0316770de0b6b3a7640000000000000000000000000000000000001782555b6040805160808101825283546001600160801b038082168352600160801b90910416602082015260018401549181019190915260028301546060820152600090611b5d906128b9565b9050611b9f611b6c83836128ea565b6001600160a01b038c1660009081526007602090815260408083206001600160801b038d168452909152902054906128ea565b6001600160a01b038b1660008181526007602090815260408083206001600160801b038d168452825280832094909455338252600681528382209282529190915220548554869086908110611bf057fe5b9060005260206000209060030201600101819055505050505b6040805187815290516001600160a01b0389169133917f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb9181900360200190a3505060016000555050505050565b60025481565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b600082820183811015610d27576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052611d6a908590612947565b50505050565b826000611d7b610fbf565b90506000611d876110c8565b9050611d938383610d3e565b611df357604080516001808252818301909252606091602080830190803683370190505090508381600081518110611dc757fe5b60200260200101906001600160a01b031690816001600160a01b031681525050611df1818461110f565b505b6001600160a01b0380841660009081526007602090815260408083206001600160801b036001880116845282529182902082516370a0823160e01b8152306004820152925190938a16926370a08231926024808301939192829003018186803b158015611e5f57600080fd5b505afa158015611e73573d6000803e3d6000fd5b505050506040513d6020811015611e8957600080fd5b505181556001808201805460ff191690911790556001600160a01b038087166000908152600860209081526040808320938816835292905290812090611ed0888787610b9d565b825490915061208557816040518060800160405280876001600160801b03168152602001866001600160801b031681526020016000815260200189815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b0316021790555060408201518160010155606082015181600201555050816040518060800160405280876001016001600160801b03168152602001670de0b6b3a76400006001600160801b031681526020018981526020016000815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b03160217905550604082015181600101556060820151816002015550506126ad565b81546000198101906001600160801b038716908490839081106120a457fe5b60009182526020909120600390910201546001600160801b0316101561234757600061213d61212d8584815481106120d857fe5b600091825260209182902060408051608081018252600390930290910180546001600160801b038082168552600160801b909104169383019390935260018301549082015260029091015460608201526129f8565b670de0b6b3a76400008b896107e7565b9050836040518060800160405280896001600160801b03168152602001836001600160801b031681526020016121788786815481106120d857fe5b81526020018b815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b03160217905550604082015181600101556060820151816002015550506000600660008c6001600160a01b03166001600160a01b0316815260200190815260200160002060008a6001600160a01b03166001600160a01b031681526020019081526020016000205490508460405180608001604052808a6001016001600160801b03168152602001670de0b6b3a76400006001600160801b031681526020018381526020016000815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055506040820151816001015560608201518160020155505050506126ab565b856001600160801b031683828154811061235d57fe5b60009182526020909120600390910201546001600160801b0316141561257b576123c361238f8483815481106120d857fe5b84838154811061239b57fe5b6000918252602090912060039091020154600160801b90046001600160801b03168a886107e7565b8382815481106123cf57fe5b906000526020600020906003020160000160106101000a8154816001600160801b0302191690836001600160801b031602179055506124348884838154811061241457fe5b906000526020600020906003020160020154611c8890919063ffffffff16565b83828154811061244057fe5b906000526020600020906003020160020181905550826040518060800160405280886001016001600160801b03168152602001670de0b6b3a76400006001600160801b03168152602001600660008d6001600160a01b03166001600160a01b0316815260200190815260200160002060008b6001600160a01b03166001600160a01b031681526020019081526020016000205481526020016000815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b03160217905550604082015181600101556060820151816002015550506126ab565b600181101580156125bc5750856001600160801b03168360018303815481106125a057fe5b60009182526020909120600390910201546001600160801b0316145b15612661576125e56125d68460018403815481106120d857fe5b84600184038154811061239b57fe5b8360018303815481106125f457fe5b906000526020600020906003020160000160106101000a8154816001600160801b0302191690836001600160801b0316021790555061263c8884600184038154811061241457fe5b83600183038154811061264b57fe5b9060005260206000209060030201600201819055505b6001600160a01b03808a166000908152600660209081526040808320938b1683529290522054835484908390811061269557fe5b9060005260206000209060030201600101819055505b505b60006126ba898888610b9d565b90506126fc6126c982846128ea565b6001600160a01b03891660009081526007602090815260408083206001600160801b038c16845290915290205490611c88565b6001600160a01b0380891660008181526007602090815260408083206001600160801b038d1684528252918290209490945580518c815290519193928d16927f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f6292918290030190a350505050505050505050565b60008261277f575060006105f6565b8282028284828161278c57fe5b0414610d275760405162461bcd60e51b8152600401808060200182810382526021815260200180612d416021913960400191505060405180910390fd5b600080821161281f576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161282857fe5b049392505050565b3390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526128b4908490612947565b505050565b60006105f6670de0b6b3a76400006001600160801b031661080984602001516001600160801b0316610859866129f8565b600082821115612941576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b606061299c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612a159092919063ffffffff16565b8051909150156128b4578080602001905160208110156129bb57600080fd5b50516128b45760405162461bcd60e51b815260040180806020018281038252602a815260200180612d9b602a913960400191505060405180910390fd5b60006105f682606001518360400151611c8890919063ffffffff16565b6060612a248484600085612a2c565b949350505050565b606082471015612a6d5760405162461bcd60e51b8152600401808060200182810382526026815260200180612cc96026913960400191505060405180910390fd5b612a7685612b88565b612ac7576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612b065780518252601f199092019160209182019101612ae7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612b68576040519150601f19603f3d011682016040523d82523d6000602084013e612b6d565b606091505b5091509150612b7d828286612b8e565b979650505050505050565b3b151590565b60608315612b9d575081610d27565b825115612bad5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612bf7578181015183820152602001612bdf565b50505050905090810190601f168015612c245780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734174206c656173742031302065706f636873206d757374207061737320776974686f757420737563636573735374616b696e673a2065706f636820616c726561647920696e697469616c697a65645374616b696e673a20546f6b656e20616c6c6f77616e636520746f6f20736d616c6c416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5374616b696e673a2043616c6c696e6720746869732066756e6374696f6e206e6f7420616c6c6f7765642e5374616b696e673a2070726576696f75732065706f6368206e6f7420696e697469616c697a6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775374616b696e6720436f6e74726163743a20436f6e747261637420616464726573732063616e6e6f74206265207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122049e148bffb4470ab857d398166cf863ec2b811c60aaf05816115f9697b9a87a564736f6c63430007000033

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

0000000000000000000000000000000000000000000000000000000061015bd80000000000000000000000000000000000000000000000000000000000093a8000000000000000000000000042763518e7fefedfc72f86f1f04a7c771874aebf

-----Decoded View---------------
Arg [0] : _epoch1Start (uint256): 1627479000
Arg [1] : _epochDuration (uint256): 604800
Arg [2] : _communityVault (address): 0x42763518e7FEFedFC72F86f1F04a7c771874Aebf

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000061015bd8
Arg [1] : 0000000000000000000000000000000000000000000000000000000000093a80
Arg [2] : 00000000000000000000000042763518e7fefedfc72f86f1f04a7c771874aebf


Deployed Bytecode Sourcemap

28298:20462:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45407:987;;;;;;;;;;;;;;;;-1:-1:-1;45407:987:0;;-1:-1:-1;;;;;45407:987:0;;;;;-1:-1:-1;;;;;45407:987:0;;:::i;:::-;;;;;;;;;;;;;;;;30563:562;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30563:562:0;;;;;;;;:::i;:::-;;46885:614;;;;;;;;;;;;;;;;-1:-1:-1;46885:614:0;;;-1:-1:-1;;;;;46885:614:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;46885:614:0;;;;;;;;;;;;;;28734:28;;;:::i;28915:29::-;;;:::i;:::-;;;;-1:-1:-1;;;;;28915:29:0;;;;;;;;;;;;;;48475:282;;;;;;;;;;;;;;;;-1:-1:-1;48475:282:0;-1:-1:-1;;;;;48475:282:0;;:::i;28825:49::-;;;;;;;;;;;;;;;;-1:-1:-1;28825:49:0;-1:-1:-1;;;;;28825:49:0;;:::i;:::-;;;;;;;;;;;;;;;;;;42703:603;;;;;;;;;;;;;;;;-1:-1:-1;42703:603:0;-1:-1:-1;;;;;42703:603:0;;:::i;15872:148::-;;;:::i;43582:1098::-;;;;;;;;;;;;;;;;-1:-1:-1;43582:1098:0;;-1:-1:-1;;;;;43582:1098:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;43582:1098:0;;:::i;15221:87::-;;;:::i;47606:173::-;;;;;;;;;;;;;;;;-1:-1:-1;47606:173:0;;-1:-1:-1;;;;;47606:173:0;;;;;-1:-1:-1;;;;;47606:173:0;;:::i;31133:790::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31133:790:0;;;;;;;;;;;;;;;;;:::i;45035:225::-;;;:::i;48189:278::-;;;;;;;;;;;;;;;;-1:-1:-1;48189:278:0;-1:-1:-1;;;;;48189:278:0;;:::i;46484:393::-;;;:::i;41767:928::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41767:928:0;;-1:-1:-1;;;41767:928:0;;-1:-1:-1;;;;;41767:928:0;;-1:-1:-1;41767:928:0;;-1:-1:-1;41767:928:0:i;16175:244::-;;;;;;;;;;;;;;;;-1:-1:-1;16175:244:0;-1:-1:-1;;;;;16175:244:0;;:::i;36811:4649::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;36811:4649:0;;;;;;;;:::i;28668:26::-;;;:::i;44780:157::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;44780:157:0;;;;;;;;;;:::i;45407:987::-;45520:7;45756:41;45775:12;45789:7;45756:18;:41::i;:::-;45752:117;;;-1:-1:-1;;;;;;45821:22:0;;;;;;:8;:22;;;;;;;;-1:-1:-1;;;;;45821:31:0;;;;;;;;;:36;45814:43;;45752:117;45993:35;46012:12;46026:1;45993:18;:35::i;:::-;45988:77;;-1:-1:-1;46052:1:0;46045:8;;45988:77;46356:30;;;-1:-1:-1;;;46356:30:0;;46380:4;46356:30;;;;;;46325:12;;-1:-1:-1;;;;;46356:15:0;;;;;:30;;;;;;;;;;;;;;;:15;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46356:30:0;;-1:-1:-1;;45407:987:0;;;;;:::o;30563:562::-;12153:1;12750:7;;:19;;12742:63;;;;;-1:-1:-1;;;12742:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;12153:1;12883:7;:18;;;30715:42:::1;::::0;;-1:-1:-1;;;30715:42:0;;30731:10:::1;30715:42;::::0;::::1;::::0;30751:4:::1;30715:42:::0;;;;;;30671:12;;12883:7;-1:-1:-1;;;;;30715:15:0;::::1;::::0;::::1;::::0;:42;;;;;::::1;::::0;;;;;;;;;:15;:42;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;30715:42:0;;-1:-1:-1;30776:19:0;;::::1;;30768:66;;;;-1:-1:-1::0;;;30768:66:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30862:1;30853:6;:10;30845:50;;;::::0;;-1:-1:-1;;;30845:50:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;30952:10;30943:20;::::0;;;:8:::1;:20;::::0;;;;;;;-1:-1:-1;;;;;30943:34:0;::::1;::::0;;;;;;;;:60:::1;::::0;30996:6;30943:52:::1;:60::i;:::-;30915:10;30906:20;::::0;;;:8:::1;:20;::::0;;;;;;;-1:-1:-1;;;;;30906:34:0;;::::1;::::0;;;;;;;:97;;;;31014:57:::1;::::0;:22;::::1;::::0;31057:4:::1;31064:6:::0;31014:22:::1;:57::i;:::-;31082:35;31091:5;31098:10;31110:6;31082:8;:35::i;:::-;-1:-1:-1::0;;12109:1:0;13062:7;:22;-1:-1:-1;;30563:562:0:o;46885:614::-;47067:7;;47121:52;28502:10;47121:31;:11;-1:-1:-1;;;;;47121:31:0;;:15;:31::i;:::-;:35;;:52::i;:::-;47087:86;-1:-1:-1;47184:17:0;47204:50;28502:10;47204:29;:6;-1:-1:-1;;;;;47204:29:0;;:10;:29::i;:50::-;47184:70;-1:-1:-1;47265:21:0;47328:115;47401:23;:11;47417:6;47401:15;:23::i;:::-;47328:46;28502:10;47328:25;:10;47343:9;47328:14;:25::i;:::-;:29;;:46::i;:115::-;47265:193;46885:614;-1:-1:-1;;;;;;;;46885:614:0:o;28734:28::-;;;;:::o;28915:29::-;;;-1:-1:-1;;;;;28915:29:0;;:::o;48475:282::-;15452:12;:10;:12::i;:::-;-1:-1:-1;;;;;15441:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;15441:23:0;;15433:68;;;;;-1:-1:-1;;;15433:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;48582:29:0;::::1;48560:136;;;;-1:-1:-1::0;;;48560:136:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;48707:34:0::1;48744:5;48707:34:::0;;;:17:::1;:34;::::0;;;;:42;;-1:-1:-1;;48707:42:0::1;::::0;;48475:282::o;28825:49::-;;;;;;;;;;;;;;;:::o;42703:603::-;-1:-1:-1;;;;;42813:33:0;;;;;;:19;:33;;;;;;42851:2;;-1:-1:-1;;;;;42813:33:0;42793:17;:15;:17::i;:::-;:53;-1:-1:-1;;;;;42792:61:0;;;42770:155;;;;-1:-1:-1;;;42770:155:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42974:10;42938:24;42965:20;;;:8;:20;;;;;;;;-1:-1:-1;;;;;42965:34:0;;;;;;;;;;43018:20;43010:51;;;;;-1:-1:-1;;;43010:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;43083:10;43111:1;43074:20;;;:8;:20;;;;;;;;-1:-1:-1;;;;;43074:34:0;;;;;;;;;:38;;;;43095:12;;43171:48;;43074:34;43202:16;43171:18;:48::i;:::-;43237:61;;;;;;;;-1:-1:-1;;;;;43237:61:0;;;43255:10;;43237:61;;;;;;;;;42703:603;;;:::o;15872:148::-;15452:12;:10;:12::i;:::-;-1:-1:-1;;;;;15441:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;15441:23:0;;15433:68;;;;;-1:-1:-1;;;15433:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15963:6:::1;::::0;15942:40:::1;::::0;15979:1:::1;::::0;-1:-1:-1;;;;;15963:6:0::1;::::0;15942:40:::1;::::0;15979:1;;15942:40:::1;15993:6;:19:::0;;-1:-1:-1;;15993:19:0::1;::::0;;15872:148::o;43582:1098::-;-1:-1:-1;;;;;43767:24:0;;;43712:7;43767:24;;;:18;:24;;;;;;;;:31;;;;;;;;;;;43922:18;;:23;;:59;;;43959:11;43971:1;43959:14;;;;;;;;;;;;;;;;;;;;;:22;-1:-1:-1;;;;;43959:22:0;;;43949:32;;;;43922:59;43918:100;;;44005:1;43998:8;;;;;43918:100;44070:18;;44030:11;;-1:-1:-1;;44070:22:0;;;:11;;:22;;44204:16;;;;;;;;;;;;;;;;;;;:24;-1:-1:-1;;;;;44204:24:0;;;44193:35;;;;44189:122;;44252:47;44282:11;44294:3;44282:16;;;;;;;;;;;;;;;;;44252:47;;;;;;;;44282:16;;;;;;;44252:47;;-1:-1:-1;;;;;44252:47:0;;;;;-1:-1:-1;;;44252:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:29;:47::i;:::-;44245:54;;;;;;;44189:122;44388:3;44382;:9;44375:231;;;44408:11;44440:1;44435;44423:9;;;:13;44422:19;44408:33;;44488:7;-1:-1:-1;;;;;44460:35:0;:11;44472:3;44460:16;;;;;;;;;;;;;;;;;;;;;:24;-1:-1:-1;;;;;44460:24:0;:35;44456:139;;44522:3;44516:9;;44456:139;;;44578:1;44572:3;:7;44566:13;;44456:139;44375:231;;;;44625:47;44655:11;44667:3;44655:16;;;;;;;44625:47;44618:54;;;;;43582:1098;;;;;;:::o;15221:87::-;15294:6;;-1:-1:-1;;;;;15294:6:0;15221:87;;:::o;47606:173::-;-1:-1:-1;;;;;47743:15:0;;47714:4;47743:15;;;:8;:15;;;;;;;;-1:-1:-1;;;;;47743:24:0;;;;;;;;;:28;;;;;47606:173;;;;:::o;31133:790::-;12153:1;12750:7;;:19;;12742:63;;;;;-1:-1:-1;;;12742:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;12153:1;12883:7;:18;;;31319:10:::1;31301:29:::0;;:17:::1;:29;::::0;;;;;::::1;;31279:122;;;;-1:-1:-1::0;;;31279:122:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31494:14;::::0;31478:46:::1;::::0;;-1:-1:-1;;;31478:46:0;;-1:-1:-1;;;;;31494:14:0;;::::1;31478:46;::::0;::::1;::::0;31518:4:::1;31478:46:::0;;;;;;31434:12;;31412::::1;::::0;31478:15;;::::1;::::0;::::1;::::0;:46;;;;;::::1;::::0;;;;;;;;;:15;:46;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;31478:46:0;;-1:-1:-1;31543:19:0;;::::1;;31535:66;;;;-1:-1:-1::0;;;31535:66:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31629:1;31620:6;:10;31612:50;;;::::0;;-1:-1:-1;;;31612:50:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;31711:21:0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:59;;::::1;::::0;;;;;;;:85:::1;::::0;31789:6;31711:77:::1;:85::i;:::-;-1:-1:-1::0;;;;;31673:21:0;;::::1;;::::0;;;:8:::1;:21;::::0;;;;;;;:35;;::::1;::::0;;;;;;;:123;;;;31830:14:::1;::::0;31807:61:::1;::::0;:22;;::::1;::::0;31830:14:::1;31854:4;31861:6:::0;31807:22:::1;:61::i;:::-;31879:36;31888:5;31895:11;31908:6;31879:8;:36::i;:::-;-1:-1:-1::0;;12109:1:0;13062:7;:22;-1:-1:-1;;;31133:790:0:o;45035:225::-;45083:7;45125:11;;45107:15;:29;45103:70;;;-1:-1:-1;45160:1:0;45153:8;;45103:70;45234:13;;45219:11;;45201:15;:29;45200:47;;;;;;45250:1;45200:51;45185:67;;45035:225;:::o;48189:278::-;15452:12;:10;:12::i;:::-;-1:-1:-1;;;;;15441:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;15441:23:0;;15433:68;;;;;-1:-1:-1;;;15433:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;48293:29:0;::::1;48271:136;;;;-1:-1:-1::0;;;48271:136:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;48418:34:0::1;;::::0;;;:17:::1;:34;::::0;;;;:41;;-1:-1:-1;;48418:41:0::1;48455:4;48418:41;::::0;;48189:278::o;46484:393::-;46539:7;46559:20;46582:17;:15;:17::i;:::-;46665:13;;46636:11;;46559:40;;-1:-1:-1;;;;;;46650:28:0;;;;46636:42;;;;46726:15;46708:33;;;46610:23;;28502:10;46795:26;;46665:13;46794:44;;;;;;-1:-1:-1;;;;;46484:393:0;:::o;41767:928::-;41871:17;:15;:17::i;:::-;-1:-1:-1;;;;;41860:28:0;:7;-1:-1:-1;;;;;41860:28:0;;;41852:66;;;;;-1:-1:-1;;;41852:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;41936:9;41931:695;41955:6;:13;41951:1;:17;41931:695;;;41990:14;42007:8;:19;42016:6;42023:1;42016:9;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;42007:19:0;;;;;;;;;;;;;;-1:-1:-1;42007:19:0;;;-1:-1:-1;;;;;42007:28:0;;;;;;;;;-1:-1:-1;42052:563:0;;42106:1;42089:19;;42135:4;42127:5;;;:12;;-1:-1:-1;;42127:12:0;;;;;;42052:563;;;42211:38;42230:6;42237:1;42230:9;;;;;;;;;;;;;;42241:7;42211:18;:38::i;:::-;42210:39;42180:147;;;;-1:-1:-1;;;42180:147:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42376:42;42395:6;42402:1;42395:9;;;;;;;;;;;;;;42416:1;42406:7;:11;42376:18;:42::i;:::-;42346:155;;;;-1:-1:-1;;;42346:155:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42531:8;:19;42540:6;42547:1;42540:9;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;42531:19:0;;;;;;;;;;;;;;-1:-1:-1;42531:19:0;;;-1:-1:-1;;;;;;;42551:11:0;;42531:32;;;;;;;;:37;42522:46;;42561:1;42587:5;;;:12;;-1:-1:-1;;42587:12:0;;;;;;42052:563;-1:-1:-1;41970:3:0;;41931:695;;;;42671:7;-1:-1:-1;;;;;42643:44:0;42659:10;-1:-1:-1;;;;;42643:44:0;;42680:6;42643:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41767:928;;:::o;16175:244::-;15452:12;:10;:12::i;:::-;-1:-1:-1;;;;;15441:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;15441:23:0;;15433:68;;;;;-1:-1:-1;;;15433:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16264:22:0;::::1;16256:73;;;;-1:-1:-1::0;;;16256:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16366:6;::::0;16345:38:::1;::::0;-1:-1:-1;;;;;16345:38:0;;::::1;::::0;16366:6:::1;::::0;16345:38:::1;::::0;16366:6:::1;::::0;16345:38:::1;16394:6;:17:::0;;-1:-1:-1;;16394:17:0::1;-1:-1:-1::0;;;;;16394:17:0;;;::::1;::::0;;;::::1;::::0;;16175:244::o;36811:4649::-;12153:1;12750:7;;:19;;12742:63;;;;;-1:-1:-1;;;12742:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;12153:1;12883:7;:18;;;36952:10:::1;36943:20:::0;;:8:::1;:20;::::0;;;;;;;-1:-1:-1;;;;;36943:34:0;::::1;::::0;;;;;;;;:44;-1:-1:-1;36943:44:0::1;36921:120;;;::::0;;-1:-1:-1;;;36921:120:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;37100:10;37091:20;::::0;;;:8:::1;:20;::::0;;;;;;;-1:-1:-1;;;;;37091:34:0;::::1;::::0;;;;;;;;:60:::1;::::0;37144:6;37091:52:::1;:60::i;:::-;37063:10;37054:20;::::0;;;:8:::1;:20;::::0;;;;;;;-1:-1:-1;;;;;37054:34:0;::::1;::::0;;;;;;;;:97;;;;37075:12;;37210:38:::1;::::0;37241:6;37210:18:::1;:38::i;:::-;37285:20;37308:17;:15;:17::i;:::-;-1:-1:-1::0;;;;;37338:33:0;::::1;;::::0;;;:19:::1;:33;::::0;;;;:48;;-1:-1:-1;;37338:48:0::1;-1:-1:-1::0;;;;;37338:48:0;::::1;;::::0;;;-1:-1:-1;37404:46:0::1;37338:33:::0;:48;37404:18:::1;:46::i;:::-;37399:213;;37493:16;::::0;;37507:1:::1;37493:16:::0;;;;;::::1;::::0;;;37467:23:::1;::::0;37493:16:::1;::::0;;::::1;::::0;;::::1;::::0;::::1;;::::0;-1:-1:-1;37493:16:0::1;37467:42;;37536:12;37524:6;37531:1;37524:9;;;;;;;;;;;;;:24;-1:-1:-1::0;;;;;37524:24:0::1;;;-1:-1:-1::0;;;;;37524:24:0::1;;;::::0;::::1;37563:37;37579:6;37587:12;37563:15;:37::i;:::-;37399:213;;-1:-1:-1::0;;;;;37724:22:0;;::::1;37698:23;37724:22:::0;;;:8:::1;:22;::::0;;;;;;;-1:-1:-1;;;;;37762:1:0::1;37747:16:::0;::::1;37724:40;::::0;;;;;;;;37793:30;;-1:-1:-1;;;37793:30:0;;37817:4:::1;37793:30;::::0;::::1;::::0;;;37724:40;;37793:15;::::1;::::0;::::1;::::0;:30;;;;;37724:22;;37793:30;;;;;:15;:30;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;37793:30:0;37775:48;;37851:4:::1;37834:14:::0;;::::1;:21:::0;;-1:-1:-1;;37834:21:0::1;::::0;;::::1;::::0;;37935:10:::1;37775:15;37916:30:::0;;;:18:::1;37793:30;37916::::0;;;;;;;-1:-1:-1;;;;;37916:44:0;::::1;::::0;;;;;;;37986:18;;-1:-1:-1;;37986:22:0;;;-1:-1:-1;;;;;38267:40:0;::::1;::::0;37916:44;;37986:22;;38267:17;::::1;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;:25:::0;-1:-1:-1;;;;;38267:25:0::1;:40;38263:3130;;;38359:183;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;38359:183:0;;::::1;::::0;;;28502:10:::1;38359:183;::::0;;::::1;::::0;;;38474:10:::1;-1:-1:-1::0;38465:20:0;;;:8:::1;:20:::0;;;;;-1:-1:-1;;;;;38465:34:0;::::1;::::0;;;;;;;;;;38359:183;;;;;;;;;;;;38324:233;;::::1;::::0;;::::1;::::0;;;;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;::::1;-1:-1:-1::0;;;38324:233:0::1;::::0;;::::1;-1:-1:-1::0;;38324:233:0;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;;;::::1;::::0;;;;;;::::1;::::0;;::::1;::::0;;;;38618:22;;;:8:::1;:22:::0;;;;;:68;;;;;;;:91;:121:::1;::::0;38732:6;38618:113:::1;:121::i;:::-;-1:-1:-1::0;;;;;38574:22:0;::::1;;::::0;;;:8:::1;:22;::::0;;;;;;;-1:-1:-1;;;;;38574:36:0;::::1;::::0;;;;;;;:165;38263:3130:::1;;;38904:12;-1:-1:-1::0;;;;;38875:41:0::1;:11;38887:4;38875:17;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;:25:::0;-1:-1:-1;;;;;38875:25:0::1;:41;38871:2522;;;38975:10;38966:20;::::0;;;:8:::1;:20;::::0;;;;;;;-1:-1:-1;;;;;38966:34:0;::::1;::::0;;;;;;;;38933:17;;:11;;38945:4;;38933:17;::::1;;;;;;;;;;;;;;;:30;;:67;;;;39047:1;39015:11;39027:4;39015:17;;;;;;;;;;;;;;;;;;:29;;:33;;;;28502:10;39063:11;39075:4;39063:17;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;::::1;:46:::0;;-1:-1:-1;;;;;39063:46:0;;::::1;-1:-1:-1::0;;;39063:46:0::1;::::0;;::::1;;::::0;;-1:-1:-1;;;;;39170:22:0;::::1;::::0;;:8:::1;:22:::0;;;;;;:68;;::::1;::::0;;;;;;:91;:121:::1;::::0;39284:6;39170:113:::1;:121::i;38871:2522::-;39386:41;39430:11;39449:1;39442:4;:8;39430:21;;;;;;;;;::::0;;;::::1;::::0;;;39509:53:::1;::::0;;::::1;::::0;::::1;::::0;;39430:21:::1;::::0;;::::1;::::0;;::::1;39509:53:::0;;-1:-1:-1;;;;;39509:53:0;;::::1;::::0;;-1:-1:-1;;;39509:53:0;;::::1;;::::0;;::::1;::::0;;;;;;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;39430:21;-1:-1:-1;39509:53:0::1;::::0;:29:::1;:53::i;:::-;39468:94;;39819:22;:34;;;39810:6;:43;39806:1175;;;39874:28;39960:205;40130:22;:34;;;39960:135;28502:10;-1:-1:-1::0;;;;;39960:135:0::1;:84;40008:22;:35;;;39960:13;:47;;:84;;;;:::i;:205::-;40246:56;::::0;::::1;::::0;39874:314;;-1:-1:-1;40246:90:0::1;::::0;40329:6;40246:82:::1;:90::i;:::-;40209:34;::::0;::::1;:127:::0;;;40436:35:::1;::::0;::::1;::::0;40393:235:::1;::::0;28502:10:::1;::::0;40589:20;40393::::1;:235::i;:::-;40357:271:::0;;-1:-1:-1;;;;;40357:271:0;;::::1;-1:-1:-1::0;;;40357:271:0::1;::::0;::::1;;::::0;;-1:-1:-1;39806:1175:0::1;;;40707:131;40791:46;40802:22;:34;;;40791:6;:10;;:46;;;;:::i;:::-;40707:57;::::0;::::1;::::0;;:83:::1;:131::i;:::-;40669:35;::::0;::::1;:169:::0;40894:1:::1;40857:34;::::0;::::1;:38:::0;40914:51;;-1:-1:-1;;;;;40914:51:0::1;::::0;::::1;::::0;;39806:1175:::1;41037:53;::::0;;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;;;41037:53:0;;::::1;::::0;;-1:-1:-1;;;41037:53:0;;::::1;;;::::0;::::1;::::0;;;::::1;::::0;;;;;;;;::::1;::::0;::::1;::::0;;;;;40997:20:::1;::::0;41037:53:::1;::::0;:29:::1;:53::i;:::-;40997:93:::0;-1:-1:-1;41151:146:0::1;41265:31;:13:::0;40997:93;41265:17:::1;:31::i;:::-;-1:-1:-1::0;;;;;41151:22:0;::::1;;::::0;;;:8:::1;:22;::::0;;;;;;;-1:-1:-1;;;;;41151:68:0;::::1;::::0;;;;;;;:91;;:113:::1;:146::i;:::-;-1:-1:-1::0;;;;;41107:22:0;::::1;;::::0;;;:8:::1;:22;::::0;;;;;;;-1:-1:-1;;;;;41107:36:0;::::1;::::0;;;;;;;:190;;;;41356:10:::1;41347:20:::0;;:8:::1;:20:::0;;;;;:34;;;;;;;;;41314:17;;:11;;41326:4;;41314:17;::::1;;;;;;;;;;;;;;;:30;;:67;;;;38871:2522;;;;41410:42;::::0;;;;;;;-1:-1:-1;;;;;41410:42:0;::::1;::::0;41419:10:::1;::::0;41410:42:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;12109:1:0;13062:7;:22;-1:-1:-1;;;;;36811:4649:0:o;28668:26::-;;;;:::o;44780:157::-;-1:-1:-1;;;;;44908:14:0;;;44876:7;44908:14;;;:8;:14;;;;;;;;:21;;;;;;;;;;;;;44780:157::o;5723:179::-;5781:7;5813:5;;;5837:6;;;;5829:46;;;;;-1:-1:-1;;;5829:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;25330:205;25458:68;;;-1:-1:-1;;;;;25458:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25481:27;25458:68;;;25431:96;;25451:5;;25431:19;:96::i;:::-;25330:205;;;;:::o;31931:4757::-;32085:5;32054:20;32151:17;:15;:17::i;:::-;32128:40;;32179:25;32207:24;:22;:24::i;:::-;32179:52;;32249:46;32268:12;32282;32249:18;:46::i;:::-;32244:213;;32338:16;;;32352:1;32338:16;;;;;;;;;32312:23;;32338:16;;;;;;;;;;;-1:-1:-1;32338:16:0;32312:42;;32381:12;32369:6;32376:1;32369:9;;;;;;;;;;;;;:24;-1:-1:-1;;;;;32369:24:0;;;-1:-1:-1;;;;;32369:24:0;;;;;32408:37;32424:6;32432:12;32408:15;:37::i;:::-;32244:213;;-1:-1:-1;;;;;32539:22:0;;;32513:23;32539:22;;;:8;:22;;;;;;;;-1:-1:-1;;;;;32577:1:0;32562:16;;32539:40;;;;;;;;;32608:30;;-1:-1:-1;;;32608:30:0;;32632:4;32608:30;;;;;;32539:40;;32608:15;;;;;:30;;;;;32539:22;;32608:30;;;;;:15;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32608:30:0;32590:48;;32666:4;32649:14;;;:21;;-1:-1:-1;;32649:21:0;;;;;;-1:-1:-1;;;;;32731:31:0;;;32590:15;32731:31;;;:18;32608:30;32731:31;;;;;;;:45;;;;;;;;;;;;32826:60;32750:11;32763:12;32873;32826:19;:60::i;:::-;33270:18;;32789:97;;-1:-1:-1;33266:3059:0;;33310:11;33345:54;;;;;;;;33356:12;-1:-1:-1;;;;;33345:54:0;;;;;33370:17;-1:-1:-1;;;;;33345:54:0;;;;;33389:1;33345:54;;;;33392:6;33345:54;;;33310:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33310:104:0;;;;;-1:-1:-1;;;;;33310:104:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33310:104:0;;;;;-1:-1:-1;;;;;33310:104:0;;;;;;;;;;;;;;;;;;;;;;;;33498:11;33533:56;;;;;;;;33544:12;33559:1;33544:16;-1:-1:-1;;;;;33533:56:0;;;;;28502:10;-1:-1:-1;;;;;33533:56:0;;;;;33579:6;33533:56;;;;33587:1;33533:56;;;33498:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33498:106:0;;;;;-1:-1:-1;;;;;33498:106:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33498:106:0;;;;;-1:-1:-1;;;;;33498:106:0;;;;;;;;;;;;;;;;;;;;;;;;33266:3059;;;33652:18;;-1:-1:-1;;33652:22:0;;;-1:-1:-1;;;;;33804:40:0;;;33652:11;;:22;;33804:17;;;;;;;;;;;;;;;;;;;:25;-1:-1:-1;;;;;33804:25:0;:40;33800:2514;;;33865:18;33907:228;33954:39;33975:11;33987:4;33975:17;;;;;;;;;;;;;;;;;33954:39;;;;;;;;33975:17;;;;;;;33954:39;;-1:-1:-1;;;;;33954:39:0;;;;;-1:-1:-1;;;33954:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:20;:39::i;:::-;28502:10;34062:6;34095:17;33907:20;:228::i;:::-;33865:270;;34154:11;34193:208;;;;;;;;34230:12;-1:-1:-1;;;;;34193:208:0;;;;;34269:10;-1:-1:-1;;;;;34193:208:0;;;;;34306:39;34327:11;34339:4;34327:17;;;;;;;34306:39;34193:208;;;;34372:6;34193:208;;;34154:266;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34154:266:0;;;;;-1:-1:-1;;;;;34154:266:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34154:266:0;;;;;-1:-1:-1;;;;;34154:266:0;;;;;;;;;;;;;;;;;;;;;;;;34439:16;34458:8;:21;34467:11;-1:-1:-1;;;;;34458:21:0;-1:-1:-1;;;;;34458:21:0;;;;;;;;;;;;:35;34480:12;-1:-1:-1;;;;;34458:35:0;-1:-1:-1;;;;;34458:35:0;;;;;;;;;;;;;34439:54;;34512:11;34551:58;;;;;;;;34562:12;34577:1;34562:16;-1:-1:-1;;;;;34551:58:0;;;;;28502:10;-1:-1:-1;;;;;34551:58:0;;;;;34597:8;34551:58;;;;34607:1;34551:58;;;34512:116;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34512:116:0;;;;;-1:-1:-1;;;;;34512:116:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34512:116:0;;;;;-1:-1:-1;;;;;34512:116:0;;;;;;;;;;;;;;;;;;;;;;;;33800:2514;;;;;34759:12;-1:-1:-1;;;;;34730:41:0;:11;34742:4;34730:17;;;;;;;;;;;;;;;;;;;;;:25;-1:-1:-1;;;;;34730:25:0;:41;34726:1588;;;34823:221;34866:39;34887:11;34899:4;34887:17;;;;;;;34866:39;34928:11;34940:4;34928:17;;;;;;;;;;;;;;;;;;;;;:28;-1:-1:-1;;;34928:28:0;;-1:-1:-1;;;;;34928:28:0;34979:6;35008:17;34823:20;:221::i;:::-;34792:11;34804:4;34792:17;;;;;;;;;;;;;;;;;;:28;;;:252;;;;;-1:-1:-1;;;;;34792:252:0;;;;;-1:-1:-1;;;;;34792:252:0;;;;;;35095:85;35173:6;35095:11;35107:4;35095:17;;;;;;;;;;;;;;;;;;:51;;;:77;;:85;;;;:::i;:::-;35063:11;35075:4;35063:17;;;;;;;;;;;;;;;;;;:29;;:117;;;;35201:11;35240:208;;;;;;;;35277:12;35292:1;35277:16;-1:-1:-1;;;;;35240:208:0;;;;;28502:10;-1:-1:-1;;;;;35240:208:0;;;;;35362:8;:21;35371:11;-1:-1:-1;;;;;35362:21:0;-1:-1:-1;;;;;35362:21:0;;;;;;;;;;;;:35;35384:12;-1:-1:-1;;;;;35362:35:0;-1:-1:-1;;;;;35362:35:0;;;;;;;;;;;;;35240:208;;;;35424:1;35240:208;;;35201:266;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35201:266:0;;;;;-1:-1:-1;;;;;35201:266:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35201:266:0;;;;;-1:-1:-1;;;;;35201:266:0;;;;;;;;;;;;;;;;;;;;;;;;34726:1588;;;35617:1;35609:4;:9;;:58;;;;;35655:12;-1:-1:-1;;;;;35622:45:0;:11;35641:1;35634:4;:8;35622:21;;;;;;;;;;;;;;;;;;;;;:29;-1:-1:-1;;;;;35622:29:0;:45;35609:58;35583:587;;;35745:249;35792:43;35813:11;35832:1;35825:4;:8;35813:21;;;;;;;35792:43;35862:11;35881:1;35874:4;:8;35862:21;;;;;;;35745:249;35710:11;35729:1;35722:4;:8;35710:21;;;;;;;;;;;;;;;;;;:32;;;:284;;;;;-1:-1:-1;;;;;35710:284:0;;;;;-1:-1:-1;;;;;35710:284:0;;;;;;36053:97;36143:6;36053:11;36072:1;36065:4;:8;36053:21;;;;;;;:97;36017:11;36036:1;36029:4;:8;36017:21;;;;;;;;;;;;;;;;;;:33;;:133;;;;35583:587;-1:-1:-1;;;;;36223:21:0;;;;;;;:8;:21;;;;;;;;:75;;;;;;;;;;36190:17;;:11;;36202:4;;36190:17;;;;;;;;;;;;;;;;:30;;:108;;;;34726:1588;33266:3059;;36337:20;36373:60;36393:11;36406:12;36420;36373:19;:60::i;:::-;36337:96;-1:-1:-1;36490:130:0;36588:31;36337:96;36605:13;36588:16;:31::i;:::-;-1:-1:-1;;;;;36490:22:0;;;;;;:8;:22;;;;;;;;-1:-1:-1;;;;;36490:60:0;;;;;;;;;:79;;:97;:130::i;:::-;-1:-1:-1;;;;;36446:22:0;;;;;;;:8;:22;;;;;;;;-1:-1:-1;;;;;36446:36:0;;;;;;;;;;:174;;;;36638:42;;;;;;;36446:22;;36638:42;;;;;;;;;;;;;31931:4757;;;;;;;;;;:::o;6602:220::-;6660:7;6684:6;6680:20;;-1:-1:-1;6699:1:0;6692:8;;6680:20;6723:5;;;6727:1;6723;:5;:1;6747:5;;;;;:10;6739:56;;;;-1:-1:-1;;;6739:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7300:153;7358:7;7390:1;7386;:5;7378:44;;;;;-1:-1:-1;;;7378:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7444:1;7440;:5;;;;;;;7300:153;-1:-1:-1;;;7300:153:0:o;13754:106::-;13842:10;13754:106;:::o;25145:177::-;25255:58;;;-1:-1:-1;;;;;25255:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25278:23;25255:58;;;25228:86;;25248:5;;25228:19;:86::i;:::-;25145:177;;;:::o;47969:212::-;48079:7;48111:62;28502:10;-1:-1:-1;;;;;48111:62:0;:41;48139:1;:12;;;-1:-1:-1;;;;;48111:41:0;:23;48132:1;48111:20;:23::i;6185:158::-;6243:7;6276:1;6271;:6;;6263:49;;;;;-1:-1:-1;;;6263:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6330:5:0;;;6185:158::o;27450:761::-;27874:23;27900:69;27928:4;27900:69;;;;;;;;;;;;;;;;;27908:5;-1:-1:-1;;;;;27900:27:0;;;:69;;;;;:::i;:::-;27984:17;;27874:95;;-1:-1:-1;27984:21:0;27980:224;;28126:10;28115:30;;;;;;;;;;;;;;;-1:-1:-1;28115:30:0;28107:85;;;;-1:-1:-1;;;28107:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47787:174;47888:7;47920:33;47939:1;:13;;;47920:1;:14;;;:18;;:33;;;;:::i;20129:195::-;20232:12;20264:52;20286:6;20294:4;20300:1;20303:12;20264:21;:52::i;:::-;20257:59;20129:195;-1:-1:-1;;;;20129:195:0:o;21181:530::-;21308:12;21366:5;21341:21;:30;;21333:81;;;;-1:-1:-1;;;21333:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21433:18;21444:6;21433:10;:18::i;:::-;21425:60;;;;;-1:-1:-1;;;21425:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21559:12;21573:23;21600:6;-1:-1:-1;;;;;21600:11:0;21620:5;21628:4;21600:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;21600:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21558:75;;;;21651:52;21669:7;21678:10;21690:12;21651:17;:52::i;:::-;21644:59;21181:530;-1:-1:-1;;;;;;;21181:530:0:o;17211:422::-;17578:20;17617:8;;;17211:422::o;23721:742::-;23836:12;23865:7;23861:595;;;-1:-1:-1;23896:10:0;23889:17;;23861:595;24010:17;;:21;24006:439;;24273:10;24267:17;24334:15;24321:10;24317:2;24313:19;24306:44;24221:148;24416:12;24409:20;;-1:-1:-1;;;24409:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://49e148bffb4470ab857d398166cf863ec2b811c60aaf05816115f9697b9a87a5

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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