ETH Price: $2,717.31 (+3.02%)

Token

Staked CMP-LP (SCMP-LP)
 

Overview

Max Total Supply

1,889.850678056975707948 SCMP-LP

Holders

12

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
bakara.eth
Balance
0.00005697914455387 SCMP-LP

Value
$0.00
0x8dc490643c58795e5c4dfb9b24682aa6d9dec6c0
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
StakeManager_CMP_CMPLP

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license
File 1 of 10 : StakeManager_CMP_CMPLP.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/math/Math.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "./IVault.sol";

contract LPTokenWrapper is ERC20 {
    using SafeMath for uint;
    using SafeERC20 for IERC20;

    IERC20 public immutable lp;
    
    constructor (address _lpToken) ERC20 ("Staked CMP-LP", "SCMP-LP") {
        require(_lpToken != address(0), "ZERO_ADDRESS");
        lp = IERC20(_lpToken);
    }

    function deposit(uint amount) public virtual {
        _mint(msg.sender, amount);
        lp.safeTransferFrom(msg.sender, address(this), amount);
    }

    function withdraw(uint amount) public virtual {
        _burn(msg.sender, amount);
        lp.safeTransfer(msg.sender, amount);
    }
}

contract StakeManager_CMP_CMPLP is LPTokenWrapper, Ownable {
    using SafeMath for uint;
    using SafeERC20 for IERC20;
    using Address for address;

    IERC20 public immutable cmp;
    IVault public immutable unitVault;
    
    uint public immutable DURATION;

    uint public periodFinish;
    uint public rewardRate;
    uint public lastUpdateTime;
    uint public rewardPerTokenStored;
    mapping(address => uint) public userRewardPerTokenPaid;
    mapping(address => uint) public rewards;
    mapping(address => uint) public vaultDeposit;

    event Airdrop(uint amount);
    event Claim(address indexed user, uint reward);

    modifier updateReward(address user) {
        _updateReward(user);
        _;
    }

    modifier updateRewardOnTransfer(address from, address to) {
        _updateReward(from);
        _updateReward(to);
        if (to == address(unitVault)) {
            vaultDeposit[from] = unitVault.collaterals(address(this), from);
        } else if (from == address(unitVault)) {
            vaultDeposit[to] = unitVault.collaterals(address(this), to);
        }
        _;
    }
    
    constructor(address _lpToken, address _cmp, address _vault, uint _duration) LPTokenWrapper(_lpToken) Ownable() {
        cmp = IERC20(_cmp);
        unitVault = IVault(_vault);
        DURATION = _duration;
    }

    function _updateReward(address user) internal {
        if (user != address(unitVault)) {
            rewardPerTokenStored = rewardPerToken();
            lastUpdateTime = lastTimeRewardApplicable();
            if (user != address(0)) {
                rewards[user] = earned(user);
                userRewardPerTokenPaid[user] = rewardPerTokenStored;
            }
        }
    }

    function lastTimeRewardApplicable() public view returns (uint) {
        return Math.min(block.timestamp, periodFinish);
    }

    function rewardPerToken() public view returns (uint) {
        if (totalSupply() == 0) {
            return rewardPerTokenStored;
        }
        return
            rewardPerTokenStored.add(
                lastTimeRewardApplicable()
                    .sub(lastUpdateTime)
                    .mul(rewardRate)
                    .mul(1e18)
                    .div(totalSupply())
            );
    }

    function earned(address user) public view returns (uint) {
        if (user == address(unitVault)) return 0;
        return
            balanceOf(user).add(vaultDeposit[user])
                .mul(rewardPerToken().sub(userRewardPerTokenPaid[user]))
                .div(1e18)
                .add(rewards[user]);
    }

    function deposit(uint amount) public override updateReward(msg.sender) {
        require(amount != 0, "Cannot stake 0");
        super.deposit(amount);
    }

    function withdraw(uint amount) public override updateReward(msg.sender) {
        require(amount != 0, "Cannot withdraw 0");
        super.withdraw(amount);
    }

    function transfer(address to, uint amount) 
        public 
        override 
        updateRewardOnTransfer(msg.sender, to)
        returns (bool)
    {
        return super.transfer(to, amount);
    }

    function transferFrom(address from, address to, uint amount) 
        public 
        override 
        updateRewardOnTransfer(from, to)
        returns (bool)
    {
        return super.transferFrom(from, to, amount);
    }

    function exit() external {
        withdraw(balanceOf(msg.sender));
        claim();
    }

    function claim() public {
        _claim(msg.sender);
    }

    function multiClaim(address[] calldata users) public {
        for (uint i; i < users.length; i++) {
            _claim(users[i]);
        }
    }
    
    function _claim(address user) internal updateReward(user) {
        require(user != address(0), "ZERO_ADDRESS");
        uint reward = earned(user);
        if (reward > 0) {
            rewards[user] = 0;
            cmp.safeTransfer(user, reward);
            emit Claim(user, reward);
        }
    }

    function addReward(uint reward)
        external
        onlyOwner
        updateReward(address(0))
    {
        if (block.timestamp >= periodFinish) {
            rewardRate = reward.div(DURATION);
        } else {
            uint remaining = periodFinish.sub(block.timestamp);
            uint leftover = remaining.mul(rewardRate);
            rewardRate = reward.add(leftover).div(DURATION);
        }
        lastUpdateTime = block.timestamp;
        periodFinish = block.timestamp.add(DURATION);
        cmp.safeTransferFrom(owner(), address(this), reward);
        emit Airdrop(reward);
    }
}

File 2 of 10 : IVault.sol
interface IVault {
    function DENOMINATOR_1E2 (  ) external view returns ( uint256 );
    function DENOMINATOR_1E5 (  ) external view returns ( uint256 );
    function borrow ( address asset, address user, uint256 amount ) external returns ( uint256 );
    function calculateFee ( address asset, address user, uint256 amount ) external view returns ( uint256 );
    function changeOracleType ( address asset, address user, uint256 newOracleType ) external;
    function chargeFee ( address asset, address user, uint256 amount ) external;
    function col (  ) external view returns ( address );
    function colToken ( address, address ) external view returns ( uint256 );
    function collaterals ( address, address ) external view returns ( uint256 );
    function debts ( address, address ) external view returns ( uint256 );
    function depositCol ( address asset, address user, uint256 amount ) external;
    function depositEth ( address user ) external payable;
    function depositMain ( address asset, address user, uint256 amount ) external;
    function destroy ( address asset, address user ) external;
    function getTotalDebt ( address asset, address user ) external view returns ( uint256 );
    function lastUpdate ( address, address ) external view returns ( uint256 );
    function liquidate ( address asset, address positionOwner, uint256 mainAssetToLiquidator, uint256 colToLiquidator, uint256 mainAssetToPositionOwner, uint256 colToPositionOwner, uint256 repayment, uint256 penalty, address liquidator ) external;
    function liquidationBlock ( address, address ) external view returns ( uint256 );
    function liquidationFee ( address, address ) external view returns ( uint256 );
    function liquidationPrice ( address, address ) external view returns ( uint256 );
    function oracleType ( address, address ) external view returns ( uint256 );
    function repay ( address asset, address user, uint256 amount ) external returns ( uint256 );
    function spawn ( address asset, address user, uint256 _oracleType ) external;
    function stabilityFee ( address, address ) external view returns ( uint256 );
    function tokenDebts ( address ) external view returns ( uint256 );
    function triggerLiquidation ( address asset, address positionOwner, uint256 initialPrice ) external;
    function update ( address asset, address user ) external;
    function usdp (  ) external view returns ( address );
    function vaultParameters (  ) external view returns ( address );
    function weth (  ) external view returns ( address payable );
    function withdrawCol ( address asset, address user, uint256 amount ) external;
    function withdrawEth ( address user, uint256 amount ) external;
    function withdrawMain ( address asset, address user, uint256 amount ) external;
}

File 3 of 10 : Math.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

File 4 of 10 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
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) {
        unchecked {
            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) {
        unchecked {
            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) {
        unchecked {
            // 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) {
        unchecked {
            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) {
        unchecked {
            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) {
        return a + b;
    }

    /**
     * @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) {
        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) {
        return a * b;
    }

    /**
     * @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.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        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) {
        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) {
        unchecked {
            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.
     *
     * 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).
     *
     * 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) {
        unchecked {
            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) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 5 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        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 6 of 10 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 7 of 10 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @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 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) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _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 8 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 9 of 10 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);
    }

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

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

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

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

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

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

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

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

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

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

Settings
{
  "metadata": {
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_lpToken","type":"address"},{"internalType":"address","name":"_cmp","type":"address"},{"internalType":"address","name":"_vault","type":"address"},{"internalType":"uint256","name":"_duration","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Airdrop","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"Claim","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"addReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cmp","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lp","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"users","type":"address[]"}],"name":"multiClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unitVault","outputs":[{"internalType":"contract IVault","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"vaultDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101006040523480156200001257600080fd5b50604051620021fb380380620021fb83398101604081905262000035916200023d565b604080518082018252600d81526c05374616b656420434d502d4c5609c1b602080830191825283518085019094526007845266053434d502d4c560cc1b9084015281518793916200008a91600391906200017a565b508051620000a09060049060208401906200017a565b5050506001600160a01b038116620000ed5760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b604482015260640160405180910390fd5b60601b6001600160601b0319166080526000620001073390565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600160601b0319606093841b811660a0529190921b1660c05260e05250620002cb565b82805462000188906200028e565b90600052602060002090601f016020900481019282620001ac5760008555620001f7565b82601f10620001c757805160ff1916838001178555620001f7565b82800160010185558215620001f7579182015b82811115620001f7578251825591602001919060010190620001da565b506200020592915062000209565b5090565b5b808211156200020557600081556001016200020a565b80516001600160a01b03811681146200023857600080fd5b919050565b6000806000806080858703121562000253578384fd5b6200025e8562000220565b93506200026e6020860162000220565b92506200027e6040860162000220565b6060959095015193969295505050565b600181811c90821680620002a357607f821691505b60208210811415620002c557634e487b7160e01b600052602260045260246000fd5b50919050565b60805160601c60a05160601c60c05160601c60e051611e766200038560003960008181610295015281816109f401528181610a500152610a8b01526000818161045f0152818161050b0152818161069b015281816106f801528181610792015281816107ef01528181610c0501528181610c6201528181610cfc01528181610d59015261116801526000818161039a01528181610ad101526113680152600081816102e4015281816112bf01526114820152611e766000f3fe608060405234801561001057600080fd5b50600436106102055760003560e01c806380faa57d1161011a578063c8f33c91116100ad578063dd62ed3e1161007c578063dd62ed3e146104a1578063df136d65146104da578063e9fad8ee146104e3578063ebe2b12b146104eb578063f2fde38b146104f457600080fd5b8063c8f33c9114610449578063cd3daf9d14610452578063d2b171e61461045a578063da6b22451461048157600080fd5b8063a457c2d7116100e9578063a457c2d7146103fd578063a9059cbb14610410578063b6b55f2514610423578063c74cd0141461043657600080fd5b806380faa57d146103bc5780638b876347146103c45780638da5cb5b146103e457806395d89b41146103f557600080fd5b8063313c06a01161019d57806370a082311161016c57806370a0823114610348578063715018a61461037157806374de4ec4146103795780637b0a47ee1461038c5780637f960d321461039557600080fd5b8063313c06a0146102df578063313ce5671461031e578063395093511461032d5780634e71d92d1461034057600080fd5b806318160ddd116101d957806318160ddd146102885780631be052891461029057806323b872dd146102b75780632e1a7d4d146102ca57600080fd5b80628cc2621461020a57806306fdde03146102305780630700037d14610245578063095ea7b314610265575b600080fd5b61021d610218366004611b46565b610507565b6040519081526020015b60405180910390f35b6102386105db565b6040516102279190611cd2565b61021d610253366004611b46565b600b6020526000908152604090205481565b610278610273366004611bcd565b61066d565b6040519015158152602001610227565b60025461021d565b61021d7f000000000000000000000000000000000000000000000000000000000000000081565b6102786102c5366004611b92565b610683565b6102dd6102d8366004611c86565b610898565b005b6103067f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610227565b60405160128152602001610227565b61027861033b366004611bcd565b6108f5565b6102dd610931565b61021d610356366004611b46565b6001600160a01b031660009081526020819052604090205490565b6102dd61093c565b6102dd610387366004611c86565b6109b0565b61021d60075481565b6103067f000000000000000000000000000000000000000000000000000000000000000081565b61021d610b30565b61021d6103d2366004611b46565b600a6020526000908152604090205481565b6005546001600160a01b0316610306565b610238610b43565b61027861040b366004611bcd565b610b52565b61027861041e366004611bcd565b610bed565b6102dd610431366004611c86565b610e00565b6102dd610444366004611bf6565b610e51565b61021d60085481565b61021d610eb0565b6103067f000000000000000000000000000000000000000000000000000000000000000081565b61021d61048f366004611b46565b600c6020526000908152604090205481565b61021d6104af366004611b60565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61021d60095481565b6102dd610efe565b61021d60065481565b6102dd610502366004611b46565b610f1f565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561054b57506000919050565b6001600160a01b0382166000908152600b6020908152604080832054600a909252909120546105d591906105c390670de0b6b3a7640000906105cf9061059990610593610eb0565b9061100a565b6001600160a01b0388166000908152600c602090815260408083205491839052909120546105c991905b9061101d565b90611029565b90611035565b92915050565b6060600380546105ea90611dd4565b80601f016020809104026020016040519081016040528092919081815260200182805461061690611dd4565b80156106635780601f1061063857610100808354040283529160200191610663565b820191906000526020600020905b81548152906001019060200180831161064657829003601f168201915b5050505050905090565b600061067a338484611041565b50600192915050565b6000838361069082611166565b61069981611166565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b031614156107905760405163728f08cf60e11b81523060048201526001600160a01b0383811660248301527f0000000000000000000000000000000000000000000000000000000000000000169063e51e119e9060440160206040518083038186803b15801561073a57600080fd5b505afa15801561074e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107729190611c9e565b6001600160a01b0383166000908152600c6020526040902055610883565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614156108835760405163728f08cf60e11b81523060048201526001600160a01b0382811660248301527f0000000000000000000000000000000000000000000000000000000000000000169063e51e119e9060440160206040518083038186803b15801561083157600080fd5b505afa158015610845573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108699190611c9e565b6001600160a01b0382166000908152600c60205260409020555b61088e8686866111fc565b9695505050505050565b336108a281611166565b816108e85760405162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b60448201526064015b60405180910390fd5b6108f1826112a8565b5050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161067a91859061092c908690611d3a565b611041565b61093a336112e6565b565b6005546001600160a01b031633146109665760405162461bcd60e51b81526004016108df90611d05565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146109da5760405162461bcd60e51b81526004016108df90611d05565b60006109e581611166565b6006544210610a2057610a18827f0000000000000000000000000000000000000000000000000000000000000000611035565b600755610a7f565b600654600090610a30904261100a565b90506000610a496007548361102990919063ffffffff16565b9050610a797f00000000000000000000000000000000000000000000000000000000000000006105cf868461101d565b60075550505b426008819055610aaf907f000000000000000000000000000000000000000000000000000000000000000061101d565b600655610af9610ac76005546001600160a01b031690565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169030856113d7565b6040518281527fd0ecdf4854f39daba34ba0e2c1ed0132a7023a5434bffc90b24f3335fb90e5e39060200160405180910390a15050565b6000610b3e42600654611448565b905090565b6060600480546105ea90611dd4565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610bd45760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108df565b610be3338561092c8685611d91565b5060019392505050565b60003383610bfa82611166565b610c0381611166565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b03161415610cfa5760405163728f08cf60e11b81523060048201526001600160a01b0383811660248301527f0000000000000000000000000000000000000000000000000000000000000000169063e51e119e9060440160206040518083038186803b158015610ca457600080fd5b505afa158015610cb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cdc9190611c9e565b6001600160a01b0383166000908152600c6020526040902055610ded565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415610ded5760405163728f08cf60e11b81523060048201526001600160a01b0382811660248301527f0000000000000000000000000000000000000000000000000000000000000000169063e51e119e9060440160206040518083038186803b158015610d9b57600080fd5b505afa158015610daf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd39190611c9e565b6001600160a01b0382166000908152600c60205260409020555b610df7858561145e565b95945050505050565b33610e0a81611166565b81610e485760405162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b60448201526064016108df565b6108f18261146b565b60005b81811015610eab57610e99838383818110610e7f57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610e949190611b46565b6112e6565b80610ea381611e0f565b915050610e54565b505050565b6000610ebb60025490565b610ec6575060095490565b610b3e610ef5610ed560025490565b6105cf670de0b6b3a76400006105c96007546105c9600854610593610b30565b6009549061101d565b33600090815260208190526040902054610f1790610898565b61093a610931565b6005546001600160a01b03163314610f495760405162461bcd60e51b81526004016108df90611d05565b6001600160a01b038116610fae5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108df565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b60006110168284611d91565b9392505050565b60006110168284611d3a565b60006110168284611d72565b60006110168284611d52565b6001600160a01b0383166110a35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108df565b6001600160a01b0382166111045760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108df565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b0316146111f9576111a7610eb0565b6009556111b2610b30565b6008556001600160a01b038116156111f9576111cd81610507565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b50565b60006112098484846114aa565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561128e5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016108df565b61129d853361092c8685611d91565b506001949350505050565b6112b23382611682565b6111f96001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633836117d1565b806112f081611166565b6001600160a01b0382166113355760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b60448201526064016108df565b600061134083610507565b90508015610eab576001600160a01b038084166000908152600b602052604081205561138f907f00000000000000000000000000000000000000000000000000000000000000001684836117d1565b826001600160a01b03167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4826040516113ca91815260200190565b60405180910390a2505050565b6040516001600160a01b03808516602483015283166044820152606481018290526114429085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611801565b50505050565b60008183106114575781611016565b5090919050565b600061067a3384846114aa565b61147533826118d3565b6111f96001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163330846113d7565b6001600160a01b03831661150e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108df565b6001600160a01b0382166115705760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108df565b6001600160a01b038316600090815260208190526040902054818110156115e85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108df565b6115f28282611d91565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290611628908490611d3a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161167491815260200190565b60405180910390a350505050565b6001600160a01b0382166116e25760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016108df565b6001600160a01b038216600090815260208190526040902054818110156117565760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016108df565b6117608282611d91565b6001600160a01b0384166000908152602081905260408120919091556002805484929061178e908490611d91565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611159565b6040516001600160a01b038316602482015260448101829052610eab90849063a9059cbb60e01b9060640161140b565b6000611856826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166119b29092919063ffffffff16565b805190915015610eab57808060200190518101906118749190611c66565b610eab5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016108df565b6001600160a01b0382166119295760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016108df565b806002600082825461193b9190611d3a565b90915550506001600160a01b03821660009081526020819052604081208054839290611968908490611d3a565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60606119c184846000856119c9565b949350505050565b606082471015611a2a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016108df565b843b611a785760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108df565b600080866001600160a01b03168587604051611a949190611cb6565b60006040518083038185875af1925050503d8060008114611ad1576040519150601f19603f3d011682016040523d82523d6000602084013e611ad6565b606091505b5091509150611ae6828286611af1565b979650505050505050565b60608315611b00575081611016565b825115611b105782518084602001fd5b8160405162461bcd60e51b81526004016108df9190611cd2565b80356001600160a01b0381168114611b4157600080fd5b919050565b600060208284031215611b57578081fd5b61101682611b2a565b60008060408385031215611b72578081fd5b611b7b83611b2a565b9150611b8960208401611b2a565b90509250929050565b600080600060608486031215611ba6578081fd5b611baf84611b2a565b9250611bbd60208501611b2a565b9150604084013590509250925092565b60008060408385031215611bdf578182fd5b611be883611b2a565b946020939093013593505050565b60008060208385031215611c08578182fd5b823567ffffffffffffffff80821115611c1f578384fd5b818501915085601f830112611c32578384fd5b813581811115611c40578485fd5b8660208260051b8501011115611c54578485fd5b60209290920196919550909350505050565b600060208284031215611c77578081fd5b81518015158114611016578182fd5b600060208284031215611c97578081fd5b5035919050565b600060208284031215611caf578081fd5b5051919050565b60008251611cc8818460208701611da8565b9190910192915050565b6020815260008251806020840152611cf1816040850160208701611da8565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611d4d57611d4d611e2a565b500190565b600082611d6d57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611d8c57611d8c611e2a565b500290565b600082821015611da357611da3611e2a565b500390565b60005b83811015611dc3578181015183820152602001611dab565b838111156114425750506000910152565b600181811c90821680611de857607f821691505b60208210811415611e0957634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611e2357611e23611e2a565b5060010190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220775c48fa46dff59819f2b2a5124a8b2e3dcfbb18ce8515ec40acec7763e8f0e764736f6c6343000804003300000000000000000000000049519631b404e06ca79c9c7b0dc91648d86f08db0000000000000000000000009f20ed5f919dc1c1695042542c13adcfc100dcab000000000000000000000000b1cff81b9305166ff1efc49a129ad2afcd7bcf190000000000000000000000000000000000000000000000000000000000278d00

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102055760003560e01c806380faa57d1161011a578063c8f33c91116100ad578063dd62ed3e1161007c578063dd62ed3e146104a1578063df136d65146104da578063e9fad8ee146104e3578063ebe2b12b146104eb578063f2fde38b146104f457600080fd5b8063c8f33c9114610449578063cd3daf9d14610452578063d2b171e61461045a578063da6b22451461048157600080fd5b8063a457c2d7116100e9578063a457c2d7146103fd578063a9059cbb14610410578063b6b55f2514610423578063c74cd0141461043657600080fd5b806380faa57d146103bc5780638b876347146103c45780638da5cb5b146103e457806395d89b41146103f557600080fd5b8063313c06a01161019d57806370a082311161016c57806370a0823114610348578063715018a61461037157806374de4ec4146103795780637b0a47ee1461038c5780637f960d321461039557600080fd5b8063313c06a0146102df578063313ce5671461031e578063395093511461032d5780634e71d92d1461034057600080fd5b806318160ddd116101d957806318160ddd146102885780631be052891461029057806323b872dd146102b75780632e1a7d4d146102ca57600080fd5b80628cc2621461020a57806306fdde03146102305780630700037d14610245578063095ea7b314610265575b600080fd5b61021d610218366004611b46565b610507565b6040519081526020015b60405180910390f35b6102386105db565b6040516102279190611cd2565b61021d610253366004611b46565b600b6020526000908152604090205481565b610278610273366004611bcd565b61066d565b6040519015158152602001610227565b60025461021d565b61021d7f0000000000000000000000000000000000000000000000000000000000278d0081565b6102786102c5366004611b92565b610683565b6102dd6102d8366004611c86565b610898565b005b6103067f00000000000000000000000049519631b404e06ca79c9c7b0dc91648d86f08db81565b6040516001600160a01b039091168152602001610227565b60405160128152602001610227565b61027861033b366004611bcd565b6108f5565b6102dd610931565b61021d610356366004611b46565b6001600160a01b031660009081526020819052604090205490565b6102dd61093c565b6102dd610387366004611c86565b6109b0565b61021d60075481565b6103067f0000000000000000000000009f20ed5f919dc1c1695042542c13adcfc100dcab81565b61021d610b30565b61021d6103d2366004611b46565b600a6020526000908152604090205481565b6005546001600160a01b0316610306565b610238610b43565b61027861040b366004611bcd565b610b52565b61027861041e366004611bcd565b610bed565b6102dd610431366004611c86565b610e00565b6102dd610444366004611bf6565b610e51565b61021d60085481565b61021d610eb0565b6103067f000000000000000000000000b1cff81b9305166ff1efc49a129ad2afcd7bcf1981565b61021d61048f366004611b46565b600c6020526000908152604090205481565b61021d6104af366004611b60565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61021d60095481565b6102dd610efe565b61021d60065481565b6102dd610502366004611b46565b610f1f565b60007f000000000000000000000000b1cff81b9305166ff1efc49a129ad2afcd7bcf196001600160a01b0316826001600160a01b0316141561054b57506000919050565b6001600160a01b0382166000908152600b6020908152604080832054600a909252909120546105d591906105c390670de0b6b3a7640000906105cf9061059990610593610eb0565b9061100a565b6001600160a01b0388166000908152600c602090815260408083205491839052909120546105c991905b9061101d565b90611029565b90611035565b92915050565b6060600380546105ea90611dd4565b80601f016020809104026020016040519081016040528092919081815260200182805461061690611dd4565b80156106635780601f1061063857610100808354040283529160200191610663565b820191906000526020600020905b81548152906001019060200180831161064657829003601f168201915b5050505050905090565b600061067a338484611041565b50600192915050565b6000838361069082611166565b61069981611166565b7f000000000000000000000000b1cff81b9305166ff1efc49a129ad2afcd7bcf196001600160a01b0316816001600160a01b031614156107905760405163728f08cf60e11b81523060048201526001600160a01b0383811660248301527f000000000000000000000000b1cff81b9305166ff1efc49a129ad2afcd7bcf19169063e51e119e9060440160206040518083038186803b15801561073a57600080fd5b505afa15801561074e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107729190611c9e565b6001600160a01b0383166000908152600c6020526040902055610883565b7f000000000000000000000000b1cff81b9305166ff1efc49a129ad2afcd7bcf196001600160a01b0316826001600160a01b031614156108835760405163728f08cf60e11b81523060048201526001600160a01b0382811660248301527f000000000000000000000000b1cff81b9305166ff1efc49a129ad2afcd7bcf19169063e51e119e9060440160206040518083038186803b15801561083157600080fd5b505afa158015610845573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108699190611c9e565b6001600160a01b0382166000908152600c60205260409020555b61088e8686866111fc565b9695505050505050565b336108a281611166565b816108e85760405162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b60448201526064015b60405180910390fd5b6108f1826112a8565b5050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161067a91859061092c908690611d3a565b611041565b61093a336112e6565b565b6005546001600160a01b031633146109665760405162461bcd60e51b81526004016108df90611d05565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146109da5760405162461bcd60e51b81526004016108df90611d05565b60006109e581611166565b6006544210610a2057610a18827f0000000000000000000000000000000000000000000000000000000000278d00611035565b600755610a7f565b600654600090610a30904261100a565b90506000610a496007548361102990919063ffffffff16565b9050610a797f0000000000000000000000000000000000000000000000000000000000278d006105cf868461101d565b60075550505b426008819055610aaf907f0000000000000000000000000000000000000000000000000000000000278d0061101d565b600655610af9610ac76005546001600160a01b031690565b6001600160a01b037f0000000000000000000000009f20ed5f919dc1c1695042542c13adcfc100dcab169030856113d7565b6040518281527fd0ecdf4854f39daba34ba0e2c1ed0132a7023a5434bffc90b24f3335fb90e5e39060200160405180910390a15050565b6000610b3e42600654611448565b905090565b6060600480546105ea90611dd4565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610bd45760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108df565b610be3338561092c8685611d91565b5060019392505050565b60003383610bfa82611166565b610c0381611166565b7f000000000000000000000000b1cff81b9305166ff1efc49a129ad2afcd7bcf196001600160a01b0316816001600160a01b03161415610cfa5760405163728f08cf60e11b81523060048201526001600160a01b0383811660248301527f000000000000000000000000b1cff81b9305166ff1efc49a129ad2afcd7bcf19169063e51e119e9060440160206040518083038186803b158015610ca457600080fd5b505afa158015610cb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cdc9190611c9e565b6001600160a01b0383166000908152600c6020526040902055610ded565b7f000000000000000000000000b1cff81b9305166ff1efc49a129ad2afcd7bcf196001600160a01b0316826001600160a01b03161415610ded5760405163728f08cf60e11b81523060048201526001600160a01b0382811660248301527f000000000000000000000000b1cff81b9305166ff1efc49a129ad2afcd7bcf19169063e51e119e9060440160206040518083038186803b158015610d9b57600080fd5b505afa158015610daf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd39190611c9e565b6001600160a01b0382166000908152600c60205260409020555b610df7858561145e565b95945050505050565b33610e0a81611166565b81610e485760405162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b60448201526064016108df565b6108f18261146b565b60005b81811015610eab57610e99838383818110610e7f57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610e949190611b46565b6112e6565b80610ea381611e0f565b915050610e54565b505050565b6000610ebb60025490565b610ec6575060095490565b610b3e610ef5610ed560025490565b6105cf670de0b6b3a76400006105c96007546105c9600854610593610b30565b6009549061101d565b33600090815260208190526040902054610f1790610898565b61093a610931565b6005546001600160a01b03163314610f495760405162461bcd60e51b81526004016108df90611d05565b6001600160a01b038116610fae5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108df565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b60006110168284611d91565b9392505050565b60006110168284611d3a565b60006110168284611d72565b60006110168284611d52565b6001600160a01b0383166110a35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108df565b6001600160a01b0382166111045760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108df565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b7f000000000000000000000000b1cff81b9305166ff1efc49a129ad2afcd7bcf196001600160a01b0316816001600160a01b0316146111f9576111a7610eb0565b6009556111b2610b30565b6008556001600160a01b038116156111f9576111cd81610507565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b50565b60006112098484846114aa565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561128e5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016108df565b61129d853361092c8685611d91565b506001949350505050565b6112b23382611682565b6111f96001600160a01b037f00000000000000000000000049519631b404e06ca79c9c7b0dc91648d86f08db1633836117d1565b806112f081611166565b6001600160a01b0382166113355760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b60448201526064016108df565b600061134083610507565b90508015610eab576001600160a01b038084166000908152600b602052604081205561138f907f0000000000000000000000009f20ed5f919dc1c1695042542c13adcfc100dcab1684836117d1565b826001600160a01b03167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4826040516113ca91815260200190565b60405180910390a2505050565b6040516001600160a01b03808516602483015283166044820152606481018290526114429085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611801565b50505050565b60008183106114575781611016565b5090919050565b600061067a3384846114aa565b61147533826118d3565b6111f96001600160a01b037f00000000000000000000000049519631b404e06ca79c9c7b0dc91648d86f08db163330846113d7565b6001600160a01b03831661150e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108df565b6001600160a01b0382166115705760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108df565b6001600160a01b038316600090815260208190526040902054818110156115e85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108df565b6115f28282611d91565b6001600160a01b038086166000908152602081905260408082209390935590851681529081208054849290611628908490611d3a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161167491815260200190565b60405180910390a350505050565b6001600160a01b0382166116e25760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016108df565b6001600160a01b038216600090815260208190526040902054818110156117565760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016108df565b6117608282611d91565b6001600160a01b0384166000908152602081905260408120919091556002805484929061178e908490611d91565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611159565b6040516001600160a01b038316602482015260448101829052610eab90849063a9059cbb60e01b9060640161140b565b6000611856826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166119b29092919063ffffffff16565b805190915015610eab57808060200190518101906118749190611c66565b610eab5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016108df565b6001600160a01b0382166119295760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016108df565b806002600082825461193b9190611d3a565b90915550506001600160a01b03821660009081526020819052604081208054839290611968908490611d3a565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60606119c184846000856119c9565b949350505050565b606082471015611a2a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016108df565b843b611a785760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108df565b600080866001600160a01b03168587604051611a949190611cb6565b60006040518083038185875af1925050503d8060008114611ad1576040519150601f19603f3d011682016040523d82523d6000602084013e611ad6565b606091505b5091509150611ae6828286611af1565b979650505050505050565b60608315611b00575081611016565b825115611b105782518084602001fd5b8160405162461bcd60e51b81526004016108df9190611cd2565b80356001600160a01b0381168114611b4157600080fd5b919050565b600060208284031215611b57578081fd5b61101682611b2a565b60008060408385031215611b72578081fd5b611b7b83611b2a565b9150611b8960208401611b2a565b90509250929050565b600080600060608486031215611ba6578081fd5b611baf84611b2a565b9250611bbd60208501611b2a565b9150604084013590509250925092565b60008060408385031215611bdf578182fd5b611be883611b2a565b946020939093013593505050565b60008060208385031215611c08578182fd5b823567ffffffffffffffff80821115611c1f578384fd5b818501915085601f830112611c32578384fd5b813581811115611c40578485fd5b8660208260051b8501011115611c54578485fd5b60209290920196919550909350505050565b600060208284031215611c77578081fd5b81518015158114611016578182fd5b600060208284031215611c97578081fd5b5035919050565b600060208284031215611caf578081fd5b5051919050565b60008251611cc8818460208701611da8565b9190910192915050565b6020815260008251806020840152611cf1816040850160208701611da8565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611d4d57611d4d611e2a565b500190565b600082611d6d57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611d8c57611d8c611e2a565b500290565b600082821015611da357611da3611e2a565b500390565b60005b83811015611dc3578181015183820152602001611dab565b838111156114425750506000910152565b600181811c90821680611de857607f821691505b60208210811415611e0957634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611e2357611e23611e2a565b5060010190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220775c48fa46dff59819f2b2a5124a8b2e3dcfbb18ce8515ec40acec7763e8f0e764736f6c63430008040033

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

00000000000000000000000049519631b404e06ca79c9c7b0dc91648d86f08db0000000000000000000000009f20ed5f919dc1c1695042542c13adcfc100dcab000000000000000000000000b1cff81b9305166ff1efc49a129ad2afcd7bcf190000000000000000000000000000000000000000000000000000000000278d00

-----Decoded View---------------
Arg [0] : _lpToken (address): 0x49519631B404E06ca79C9C7b0dC91648D86F08db
Arg [1] : _cmp (address): 0x9f20Ed5f919DC1C1695042542C13aDCFc100dcab
Arg [2] : _vault (address): 0xb1cFF81b9305166ff1EFc49A129ad2AfCd7BCf19
Arg [3] : _duration (uint256): 2592000

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000049519631b404e06ca79c9c7b0dc91648d86f08db
Arg [1] : 0000000000000000000000009f20ed5f919dc1c1695042542c13adcfc100dcab
Arg [2] : 000000000000000000000000b1cff81b9305166ff1efc49a129ad2afcd7bcf19
Arg [3] : 0000000000000000000000000000000000000000000000000000000000278d00


Deployed Bytecode Sourcemap

1020:4591:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3290:318;;;;;;:::i;:::-;;:::i;:::-;;;12251:25:10;;;12239:2;12224:18;3290:318:1;;;;;;;;2021:89:3;;;:::i;:::-;;;;;;;:::i;1480:39:1:-;;;;;;:::i;:::-;;;;;;;;;;;;;;4091:166:3;;;;;;:::i;:::-;;:::i;:::-;;;4266:14:10;;4259:22;4241:41;;4229:2;4214:18;4091:166:3;4196:92:10;3082:106:3;3169:12;;3082:106;;1255:30:1;;;;;4153:224;;;;;;:::i;:::-;;:::i;3777:162::-;;;;;;:::i;:::-;;:::i;:::-;;522:26;;;;;;;;-1:-1:-1;;;;;3089:32:10;;;3071:51;;3059:2;3044:18;522:26:1;3026:102:10;2940:82:3;;;3013:2;12429:36:10;;12417:2;12402:18;2940:82:3;12384:87:10;5533:212:3;;;;;;:::i;:::-;;:::i;4479:59:1:-;;;:::i;3246:125:3:-;;;;;;:::i;:::-;-1:-1:-1;;;;;3346:18:3;3320:7;3346:18;;;;;;;;;;;;3246:125;1700:145:2;;;:::i;5009:600:1:-;;;;;;:::i;:::-;;:::i;1322:22::-;;;;;;1178:27;;;;;2747:126;;;:::i;1420:54::-;;;;;;:::i;:::-;;;;;;;;;;;;;;1068:85:2;1140:6;;-1:-1:-1;;;;;1140:6:2;1068:85;;2223:93:3;;;:::i;6232:371::-;;;;;;:::i;:::-;;:::i;3945:202:1:-;;;;;;:::i;:::-;;:::i;3614:157::-;;;;;;:::i;:::-;;:::i;4544:146::-;;;;;;:::i;:::-;;:::i;1350:26::-;;;;;;2879:405;;;:::i;1211:33::-;;;;;1525:44;;;;;;:::i;:::-;;;;;;;;;;;;;;3804:149:3;;;;;;:::i;:::-;-1:-1:-1;;;;;3919:18:3;;;3893:7;3919:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3804:149;1382:32:1;;;;;;4383:90;;;:::i;1292:24::-;;;;;;1994:240:2;;;;;;:::i;:::-;;:::i;3290:318:1:-;3341:4;3377:9;-1:-1:-1;;;;;3361:26:1;:4;-1:-1:-1;;;;;3361:26:1;;3357:40;;;-1:-1:-1;3396:1:1;;3290:318;-1:-1:-1;3290:318:1:o;3357:40::-;-1:-1:-1;;;;;3587:13:1;;;;;;:7;:13;;;;;;;;;3508:22;:28;;;;;;;3426:175;;3587:13;3426:139;;3560:4;;3426:112;;3487:50;;:16;:14;:16::i;:::-;:20;;:50::i;:::-;-1:-1:-1;;;;;3446:18:1;;;;;;:12;:18;;;;;;;;;3346::3;;;;;;;;3426:39:1;;3446:18;3426:15;:19;;:39::i;:::-;:60;;:112::i;:::-;:133;;:139::i;:175::-;3407:194;3290:318;-1:-1:-1;;3290:318:1:o;2021:89:3:-;2066:13;2098:5;2091:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2021:89;:::o;4091:166::-;4174:4;4190:39;665:10:7;4213:7:3;4222:6;4190:8;:39::i;:::-;-1:-1:-1;4246:4:3;4091:166;;;;:::o;4153:224:1:-;4307:4;4280;4286:2;1818:19;1832:4;1818:13;:19::i;:::-;1847:17;1861:2;1847:13;:17::i;:::-;1892:9;-1:-1:-1;;;;;1878:24:1;:2;-1:-1:-1;;;;;1878:24:1;;1874:240;;;1939:42;;-1:-1:-1;;;1939:42:1;;1969:4;1939:42;;;3345:34:10;-1:-1:-1;;;;;3415:15:10;;;3395:18;;;3388:43;1939:9:1;:21;;;;3280:18:10;;1939:42:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1918:18:1;;;;;;:12;:18;;;;;:63;1874:240;;;2018:9;-1:-1:-1;;;;;2002:26:1;:4;-1:-1:-1;;;;;2002:26:1;;1998:116;;;2063:40;;-1:-1:-1;;;2063:40:1;;2093:4;2063:40;;;3345:34:10;-1:-1:-1;;;;;3415:15:10;;;3395:18;;;3388:43;2063:9:1;:21;;;;3280:18:10;;2063:40:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;2044:16:1;;;;;;:12;:16;;;;;:59;1998:116;4334:36:::1;4353:4;4359:2;4363:6;4334:18;:36::i;:::-;4327:43:::0;4153:224;-1:-1:-1;;;;;;4153:224:1:o;3777:162::-;3837:10;1707:19;1721:4;1707:13;:19::i;:::-;3867:11;3859:41:::1;;;::::0;-1:-1:-1;;;3859:41:1;;8443:2:10;3859:41:1::1;::::0;::::1;8425:21:10::0;8482:2;8462:18;;;8455:30;-1:-1:-1;;;8501:18:10;;;8494:47;8558:18;;3859:41:1::1;;;;;;;;;3910:22;3925:6;3910:14;:22::i;:::-;3777:162:::0;;:::o;5533:212:3:-;665:10:7;5621:4:3;5669:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;5669:34:3;;;;;;;;;;5621:4;;5637:80;;5660:7;;5669:47;;5706:10;;5669:47;:::i;:::-;5637:8;:80::i;4479:59:1:-;4513:18;4520:10;4513:6;:18::i;:::-;4479:59::o;1700:145:2:-;1140:6;;-1:-1:-1;;;;;1140:6:2;665:10:7;1280:23:2;1272:68;;;;-1:-1:-1;;;1272:68:2;;;;;;;:::i;:::-;1790:6:::1;::::0;1769:40:::1;::::0;1806:1:::1;::::0;-1:-1:-1;;;;;1790:6:2::1;::::0;1769:40:::1;::::0;1806:1;;1769:40:::1;1819:6;:19:::0;;-1:-1:-1;;;;;;1819:19:2::1;::::0;;1700:145::o;5009:600:1:-;1140:6:2;;-1:-1:-1;;;;;1140:6:2;665:10:7;1280:23:2;1272:68;;;;-1:-1:-1;;;1272:68:2;;;;;;;:::i;:::-;5105:1:1::1;1707:19;1721:4;1707:13;:19::i;:::-;5146:12:::2;;5127:15;:31;5123:292;;5187:20;:6:::0;5198:8:::2;5187:10;:20::i;:::-;5174:10;:33:::0;5123:292:::2;;;5255:12;::::0;5238:14:::2;::::0;5255:33:::2;::::0;5272:15:::2;5255:16;:33::i;:::-;5238:50;;5302:13;5318:25;5332:10;;5318:9;:13;;:25;;;;:::i;:::-;5302:41:::0;-1:-1:-1;5370:34:1::2;5395:8;5370:20;:6:::0;5302:41;5370:10:::2;:20::i;:34::-;5357:10;:47:::0;-1:-1:-1;;5123:292:1::2;5441:15;5424:14;:32:::0;;;5481:29:::2;::::0;5501:8:::2;5481:19;:29::i;:::-;5466:12;:44:::0;5520:52:::2;5541:7;1140:6:2::0;;-1:-1:-1;;;;;1140:6:2;;1068:85;5541:7:1::2;-1:-1:-1::0;;;;;5520:3:1::2;:20;::::0;5558:4:::2;5565:6:::0;5520:20:::2;:52::i;:::-;5587:15;::::0;12251:25:10;;;5587:15:1::2;::::0;12239:2:10;12224:18;5587:15:1::2;;;;;;;1350:1:2::1;5009:600:1::0;:::o;2747:126::-;2804:4;2827:39;2836:15;2853:12;;2827:8;:39::i;:::-;2820:46;;2747:126;:::o;2223:93:3:-;2270:13;2302:7;2295:14;;;;;:::i;6232:371::-;665:10:7;6325:4:3;6368:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;6368:34:3;;;;;;;;;;6420:35;;;;6412:85;;;;-1:-1:-1;;;6412:85:3;;11541:2:10;6412:85:3;;;11523:21:10;11580:2;11560:18;;;11553:30;11619:34;11599:18;;;11592:62;-1:-1:-1;;;11670:18:10;;;11663:35;11715:19;;6412:85:3;11513:227:10;6412:85:3;6507:67;665:10:7;6530:7:3;6539:34;6558:15;6539:16;:34;:::i;6507:67::-;-1:-1:-1;6592:4:3;;6232:371;-1:-1:-1;;;6232:371:3:o;3945:202:1:-;4087:4;4054:10;4066:2;1818:19;1832:4;1818:13;:19::i;:::-;1847:17;1861:2;1847:13;:17::i;:::-;1892:9;-1:-1:-1;;;;;1878:24:1;:2;-1:-1:-1;;;;;1878:24:1;;1874:240;;;1939:42;;-1:-1:-1;;;1939:42:1;;1969:4;1939:42;;;3345:34:10;-1:-1:-1;;;;;3415:15:10;;;3395:18;;;3388:43;1939:9:1;:21;;;;3280:18:10;;1939:42:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1918:18:1;;;;;;:12;:18;;;;;:63;1874:240;;;2018:9;-1:-1:-1;;;;;2002:26:1;:4;-1:-1:-1;;;;;2002:26:1;;1998:116;;;2063:40;;-1:-1:-1;;;2063:40:1;;2093:4;2063:40;;;3345:34:10;-1:-1:-1;;;;;3415:15:10;;;3395:18;;;3388:43;2063:9:1;:21;;;;3280:18:10;;2063:40:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;2044:16:1;;;;;;:12;:16;;;;;:59;1998:116;4114:26:::1;4129:2;4133:6;4114:14;:26::i;:::-;4107:33:::0;3945:202;-1:-1:-1;;;;;3945:202:1:o;3614:157::-;3673:10;1707:19;1721:4;1707:13;:19::i;:::-;3703:11;3695:38:::1;;;::::0;-1:-1:-1;;;3695:38:1;;6945:2:10;3695:38:1::1;::::0;::::1;6927:21:10::0;6984:2;6964:18;;;6957:30;-1:-1:-1;;;7003:18:10;;;6996:44;7057:18;;3695:38:1::1;6917:164:10::0;3695:38:1::1;3743:21;3757:6;3743:13;:21::i;4544:146::-:0;4612:6;4607:77;4620:16;;;4607:77;;;4657:16;4664:5;;4670:1;4664:8;;;;;-1:-1:-1;;;4664:8:1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4657:6;:16::i;:::-;4638:3;;;;:::i;:::-;;;;4607:77;;;;4544:146;;:::o;2879:405::-;2926:4;2946:13;3169:12:3;;;3082:106;2946:13:1;2942:76;;-1:-1:-1;2987:20:1;;;2879:405::o;2942:76::-;3046:231;3088:175;3249:13;3169:12:3;;;3082:106;3249:13:1;3088:135;3218:4;3088:104;3181:10;;3088:67;3140:14;;3088:26;:24;:26::i;:175::-;3046:20;;;:24;:231::i;4383:90::-;4437:10;3320:7:3;3346:18;;;;;;;;;;;4418:31:1;;3777:162;:::i;4418:31::-;4459:7;:5;:7::i;1994:240:2:-;1140:6;;-1:-1:-1;;;;;1140:6:2;665:10:7;1280:23:2;1272:68;;;;-1:-1:-1;;;1272:68:2;;;;;;;:::i;:::-;-1:-1:-1;;;;;2082:22:2;::::1;2074:73;;;::::0;-1:-1:-1;;;2074:73:2;;6135:2:10;2074:73:2::1;::::0;::::1;6117:21:10::0;6174:2;6154:18;;;6147:30;6213:34;6193:18;;;6186:62;-1:-1:-1;;;6264:18:10;;;6257:36;6310:19;;2074:73:2::1;6107:228:10::0;2074:73:2::1;2183:6;::::0;2162:38:::1;::::0;-1:-1:-1;;;;;2162:38:2;;::::1;::::0;2183:6:::1;::::0;2162:38:::1;::::0;2183:6:::1;::::0;2162:38:::1;2210:6;:17:::0;;-1:-1:-1;;;;;;2210:17:2::1;-1:-1:-1::0;;;;;2210:17:2;;;::::1;::::0;;;::::1;::::0;;1994:240::o;3039:96:9:-;3097:7;3123:5;3127:1;3123;:5;:::i;:::-;3116:12;3039:96;-1:-1:-1;;;3039:96:9:o;2672:::-;2730:7;2756:5;2760:1;2756;:5;:::i;3382:96::-;3440:7;3466:5;3470:1;3466;:5;:::i;3767:96::-;3825:7;3851:5;3855:1;3851;:5;:::i;9496:340:3:-;-1:-1:-1;;;;;9597:19:3;;9589:68;;;;-1:-1:-1;;;9589:68:3;;10367:2:10;9589:68:3;;;10349:21:10;10406:2;10386:18;;;10379:30;10445:34;10425:18;;;10418:62;-1:-1:-1;;;10496:18:10;;;10489:34;10540:19;;9589:68:3;10339:226:10;9589:68:3;-1:-1:-1;;;;;9675:21:3;;9667:68;;;;-1:-1:-1;;;9667:68:3;;6542:2:10;9667:68:3;;;6524:21:10;6581:2;6561:18;;;6554:30;6620:34;6600:18;;;6593:62;-1:-1:-1;;;6671:18:10;;;6664:32;6713:19;;9667:68:3;6514:224:10;9667:68:3;-1:-1:-1;;;;;9746:18:3;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;9797:32;;12251:25:10;;;9797:32:3;;12224:18:10;9797:32:3;;;;;;;;9496:340;;;:::o;2359:382:1:-;2435:9;-1:-1:-1;;;;;2419:26:1;:4;-1:-1:-1;;;;;2419:26:1;;2415:320;;2484:16;:14;:16::i;:::-;2461:20;:39;2531:26;:24;:26::i;:::-;2514:14;:43;-1:-1:-1;;;;;2575:18:1;;;2571:154;;2629:12;2636:4;2629:6;:12::i;:::-;-1:-1:-1;;;;;2613:13:1;;;;;;:7;:13;;;;;;;;:28;;;;2690:20;;2659:22;:28;;;;;;:51;2571:154;2359:382;:::o;4724:414:3:-;4830:4;4846:36;4856:6;4864:9;4875:6;4846:9;:36::i;:::-;-1:-1:-1;;;;;4920:19:3;;4893:24;4920:19;;;:11;:19;;;;;;;;665:10:7;4920:33:3;;;;;;;;4971:26;;;;4963:79;;;;-1:-1:-1;;;4963:79:3;;8789:2:10;4963:79:3;;;8771:21:10;8828:2;8808:18;;;8801:30;8867:34;8847:18;;;8840:62;-1:-1:-1;;;8918:18:10;;;8911:38;8966:19;;4963:79:3;8761:230:10;4963:79:3;5052:57;5061:6;665:10:7;5083:25:3;5102:6;5083:16;:25;:::i;5052:57::-;-1:-1:-1;5127:4:3;;4724:414;-1:-1:-1;;;;4724:414:3:o;883:133:1:-;939:25;945:10;957:6;939:5;:25::i;:::-;974:35;-1:-1:-1;;;;;974:2:1;:15;990:10;1002:6;974:15;:35::i;4700:303::-;4752:4;1707:19;1721:4;1707:13;:19::i;:::-;-1:-1:-1;;;;;4776:18:1;::::1;4768:43;;;::::0;-1:-1:-1;;;4768:43:1;;8102:2:10;4768:43:1::1;::::0;::::1;8084:21:10::0;8141:2;8121:18;;;8114:30;-1:-1:-1;;;8160:18:10;;;8153:42;8212:18;;4768:43:1::1;8074:162:10::0;4768:43:1::1;4821:11;4835:12;4842:4;4835:6;:12::i;:::-;4821:26:::0;-1:-1:-1;4861:10:1;;4857:140:::1;;-1:-1:-1::0;;;;;4887:13:1;;::::1;4903:1;4887:13:::0;;;:7:::1;:13;::::0;;;;:17;4918:30:::1;::::0;:3:::1;:16;4895:4:::0;4941:6;4918:16:::1;:30::i;:::-;4973:4;-1:-1:-1::0;;;;;4967:19:1::1;;4979:6;4967:19;;;;12251:25:10::0;;12239:2;12224:18;;12206:76;4967:19:1::1;;;;;;;;1736:1;4700:303:::0;;:::o;815:203:5:-;942:68;;-1:-1:-1;;;;;3700:15:10;;;942:68:5;;;3682:34:10;3752:15;;3732:18;;;3725:43;3784:18;;;3777:34;;;915:96:5;;935:5;;-1:-1:-1;;;965:27:5;3617:18:10;;942:68:5;;;;-1:-1:-1;;942:68:5;;;;;;;;;;;;;;-1:-1:-1;;;;;942:68:5;-1:-1:-1;;;;;;942:68:5;;;;;;;;;;915:19;:96::i;:::-;815:203;;;;:::o;391:104:8:-;449:7;479:1;475;:5;:13;;487:1;475:13;;;-1:-1:-1;483:1:8;;391:104;-1:-1:-1;391:104:8:o;3574:172:3:-;3660:4;3676:42;665:10:7;3700:9:3;3711:6;3676:9;:42::i;726:151:1:-;781:25;787:10;799:6;781:5;:25::i;:::-;816:54;-1:-1:-1;;;;;816:2:1;:19;836:10;856:4;863:6;816:19;:54::i;7077:592:3:-;-1:-1:-1;;;;;7182:20:3;;7174:70;;;;-1:-1:-1;;;7174:70:3;;9961:2:10;7174:70:3;;;9943:21:10;10000:2;9980:18;;;9973:30;10039:34;10019:18;;;10012:62;-1:-1:-1;;;10090:18:10;;;10083:35;10135:19;;7174:70:3;9933:227:10;7174:70:3;-1:-1:-1;;;;;7262:23:3;;7254:71;;;;-1:-1:-1;;;7254:71:3;;5328:2:10;7254:71:3;;;5310:21:10;5367:2;5347:18;;;5340:30;5406:34;5386:18;;;5379:62;-1:-1:-1;;;5457:18:10;;;5450:33;5500:19;;7254:71:3;5300:225:10;7254:71:3;-1:-1:-1;;;;;7418:17:3;;7394:21;7418:17;;;;;;;;;;;7453:23;;;;7445:74;;;;-1:-1:-1;;;7445:74:3;;7288:2:10;7445:74:3;;;7270:21:10;7327:2;7307:18;;;7300:30;7366:34;7346:18;;;7339:62;-1:-1:-1;;;7417:18:10;;;7410:36;7463:19;;7445:74:3;7260:228:10;7445:74:3;7549:22;7565:6;7549:13;:22;:::i;:::-;-1:-1:-1;;;;;7529:17:3;;;:9;:17;;;;;;;;;;;:42;;;;7581:20;;;;;;;;:30;;7605:6;;7529:9;7581:30;;7605:6;;7581:30;:::i;:::-;;;;;;;;7644:9;-1:-1:-1;;;;;7627:35:3;7636:6;-1:-1:-1;;;;;7627:35:3;;7655:6;7627:35;;;;12251:25:10;;12239:2;12224:18;;12206:76;7627:35:3;;;;;;;;7077:592;;;;:::o;8590:483::-;-1:-1:-1;;;;;8673:21:3;;8665:67;;;;-1:-1:-1;;;8665:67:3;;9559:2:10;8665:67:3;;;9541:21:10;9598:2;9578:18;;;9571:30;9637:34;9617:18;;;9610:62;-1:-1:-1;;;9688:18:10;;;9681:31;9729:19;;8665:67:3;9531:223:10;8665:67:3;-1:-1:-1;;;;;8828:18:3;;8803:22;8828:18;;;;;;;;;;;8864:24;;;;8856:71;;;;-1:-1:-1;;;8856:71:3;;5732:2:10;8856:71:3;;;5714:21:10;5771:2;5751:18;;;5744:30;5810:34;5790:18;;;5783:62;-1:-1:-1;;;5861:18:10;;;5854:32;5903:19;;8856:71:3;5704:224:10;8856:71:3;8958:23;8975:6;8958:14;:23;:::i;:::-;-1:-1:-1;;;;;8937:18:3;;:9;:18;;;;;;;;;;:44;;;;8991:12;:22;;9007:6;;8937:9;8991:22;;9007:6;;8991:22;:::i;:::-;;;;-1:-1:-1;;9029:37:3;;12251:25:10;;;9055:1:3;;-1:-1:-1;;;;;9029:37:3;;;;;12239:2:10;12224:18;9029:37:3;12206:76:10;634:175:5;743:58;;-1:-1:-1;;;;;4014:32:10;;743:58:5;;;3996:51:10;4063:18;;;4056:34;;;716:86:5;;736:5;;-1:-1:-1;;;766:23:5;3969:18:10;;743:58:5;3951:145:10;3022:751:5;3441:23;3467:69;3495:4;3467:69;;;;;;;;;;;;;;;;;3475:5;-1:-1:-1;;;;;3467:27:5;;;:69;;;;;:::i;:::-;3550:17;;3441:95;;-1:-1:-1;3550:21:5;3546:221;;3690:10;3679:30;;;;;;;;;;;;:::i;:::-;3671:85;;;;-1:-1:-1;;;3671:85:5;;11130:2:10;3671:85:5;;;11112:21:10;11169:2;11149:18;;;11142:30;11208:34;11188:18;;;11181:62;-1:-1:-1;;;11259:18:10;;;11252:40;11309:19;;3671:85:5;11102:232:10;7940:330:3;-1:-1:-1;;;;;8023:21:3;;8015:65;;;;-1:-1:-1;;;8015:65:3;;11947:2:10;8015:65:3;;;11929:21:10;11986:2;11966:18;;;11959:30;12025:33;12005:18;;;11998:61;12076:18;;8015:65:3;11919:181:10;8015:65:3;8167:6;8151:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;8183:18:3;;:9;:18;;;;;;;;;;:28;;8205:6;;8183:9;:28;;8205:6;;8183:28;:::i;:::-;;;;-1:-1:-1;;8226:37:3;;12251:25:10;;;-1:-1:-1;;;;;8226:37:3;;;8243:1;;8226:37;;12239:2:10;12224:18;8226:37:3;;;;;;;7940:330;;:::o;3573:193:6:-;3676:12;3707:52;3729:6;3737:4;3743:1;3746:12;3707:21;:52::i;:::-;3700:59;3573:193;-1:-1:-1;;;;3573:193:6:o;4600:523::-;4727:12;4784:5;4759:21;:30;;4751:81;;;;-1:-1:-1;;;4751:81:6;;7695:2:10;4751:81:6;;;7677:21:10;7734:2;7714:18;;;7707:30;7773:34;7753:18;;;7746:62;-1:-1:-1;;;7824:18:10;;;7817:36;7870:19;;4751:81:6;7667:228:10;4751:81:6;1078:20;;4842:60;;;;-1:-1:-1;;;4842:60:6;;10772:2:10;4842:60:6;;;10754:21:10;10811:2;10791:18;;;10784:30;10850:31;10830:18;;;10823:59;10899:18;;4842:60:6;10744:179:10;4842:60:6;4973:12;4987:23;5014:6;-1:-1:-1;;;;;5014:11:6;5034:5;5042:4;5014:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4972:75;;;;5064:52;5082:7;5091:10;5103:12;5064:17;:52::i;:::-;5057:59;4600:523;-1:-1:-1;;;;;;;4600:523:6:o;7083:725::-;7198:12;7226:7;7222:580;;;-1:-1:-1;7256:10:6;7249:17;;7222:580;7367:17;;:21;7363:429;;7625:10;7619:17;7685:15;7672:10;7668:2;7664:19;7657:44;7574:145;7764:12;7757:20;;-1:-1:-1;;;7757:20:6;;;;;;;;:::i;14:173:10:-;82:20;;-1:-1:-1;;;;;131:31:10;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:264::-;1079:6;1087;1140:2;1128:9;1119:7;1115:23;1111:32;1108:2;;;1161:6;1153;1146:22;1108:2;1189:29;1208:9;1189:29;:::i;:::-;1179:39;1265:2;1250:18;;;;1237:32;;-1:-1:-1;;;1098:177:10:o;1280:665::-;1366:6;1374;1427:2;1415:9;1406:7;1402:23;1398:32;1395:2;;;1448:6;1440;1433:22;1395:2;1493:9;1480:23;1522:18;1563:2;1555:6;1552:14;1549:2;;;1584:6;1576;1569:22;1549:2;1627:6;1616:9;1612:22;1602:32;;1672:7;1665:4;1661:2;1657:13;1653:27;1643:2;;1699:6;1691;1684:22;1643:2;1744;1731:16;1770:2;1762:6;1759:14;1756:2;;;1791:6;1783;1776:22;1756:2;1849:7;1844:2;1834:6;1831:1;1827:14;1823:2;1819:23;1815:32;1812:45;1809:2;;;1875:6;1867;1860:22;1809:2;1911;1903:11;;;;;1933:6;;-1:-1:-1;1385:560:10;;-1:-1:-1;;;;1385:560:10:o;1950:297::-;2017:6;2070:2;2058:9;2049:7;2045:23;2041:32;2038:2;;;2091:6;2083;2076:22;2038:2;2128:9;2122:16;2181:5;2174:13;2167:21;2160:5;2157:32;2147:2;;2208:6;2200;2193:22;2252:190;2311:6;2364:2;2352:9;2343:7;2339:23;2335:32;2332:2;;;2385:6;2377;2370:22;2332:2;-1:-1:-1;2413:23:10;;2322:120;-1:-1:-1;2322:120:10:o;2447:194::-;2517:6;2570:2;2558:9;2549:7;2545:23;2541:32;2538:2;;;2591:6;2583;2576:22;2538:2;-1:-1:-1;2619:16:10;;2528:113;-1:-1:-1;2528:113:10:o;2646:274::-;2775:3;2813:6;2807:13;2829:53;2875:6;2870:3;2863:4;2855:6;2851:17;2829:53;:::i;:::-;2898:16;;;;;2783:137;-1:-1:-1;;2783:137:10:o;4738:383::-;4887:2;4876:9;4869:21;4850:4;4919:6;4913:13;4962:6;4957:2;4946:9;4942:18;4935:34;4978:66;5037:6;5032:2;5021:9;5017:18;5012:2;5004:6;5000:15;4978:66;:::i;:::-;5105:2;5084:15;-1:-1:-1;;5080:29:10;5065:45;;;;5112:2;5061:54;;4859:262;-1:-1:-1;;4859:262:10:o;8996:356::-;9198:2;9180:21;;;9217:18;;;9210:30;9276:34;9271:2;9256:18;;9249:62;9343:2;9328:18;;9170:182::o;12476:128::-;12516:3;12547:1;12543:6;12540:1;12537:13;12534:2;;;12553:18;;:::i;:::-;-1:-1:-1;12589:9:10;;12524:80::o;12609:217::-;12649:1;12675;12665:2;;-1:-1:-1;;;12700:31:10;;12754:4;12751:1;12744:15;12782:4;12707:1;12772:15;12665:2;-1:-1:-1;12811:9:10;;12655:171::o;12831:168::-;12871:7;12937:1;12933;12929:6;12925:14;12922:1;12919:21;12914:1;12907:9;12900:17;12896:45;12893:2;;;12944:18;;:::i;:::-;-1:-1:-1;12984:9:10;;12883:116::o;13004:125::-;13044:4;13072:1;13069;13066:8;13063:2;;;13077:18;;:::i;:::-;-1:-1:-1;13114:9:10;;13053:76::o;13134:258::-;13206:1;13216:113;13230:6;13227:1;13224:13;13216:113;;;13306:11;;;13300:18;13287:11;;;13280:39;13252:2;13245:10;13216:113;;;13347:6;13344:1;13341:13;13338:2;;;-1:-1:-1;;13382:1:10;13364:16;;13357:27;13187:205::o;13397:380::-;13476:1;13472:12;;;;13519;;;13540:2;;13594:4;13586:6;13582:17;13572:27;;13540:2;13647;13639:6;13636:14;13616:18;13613:38;13610:2;;;13693:10;13688:3;13684:20;13681:1;13674:31;13728:4;13725:1;13718:15;13756:4;13753:1;13746:15;13610:2;;13452:325;;;:::o;13782:135::-;13821:3;-1:-1:-1;;13842:17:10;;13839:2;;;13862:18;;:::i;:::-;-1:-1:-1;13909:1:10;13898:13;;13829:88::o;13922:127::-;13983:10;13978:3;13974:20;13971:1;13964:31;14014:4;14011:1;14004:15;14038:4;14035:1;14028:15

Swarm Source

ipfs://775c48fa46dff59819f2b2a5124a8b2e3dcfbb18ce8515ec40acec7763e8f0e7
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.