false
false
0
Contract Address Details
contract

0x5a2147f1eEf3EE9BE0b08f8DDEE5A51119AA6baE

Sponsored: ERAM, a pioneering Central Bank Blockchain. The First Banking Regulatory Blockchain, Licensed by the Central Bank.

ERAM, Central Bank Digital Currency (CBDC) (STABLE COIN)

Overview

ERAM Balance

0 ERAM

ERAM Value

$0.00

Token Holdings

Fetching tokens...

More Info

Private Name Tags

Last Balance Update

Blocks Validated

Sponsored

Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
Contract name:
CakeFlexiblePool




Optimization enabled
true
Compiler version
v0.8.13+commit.abaa5c0e




Optimization runs
99999
EVM Version
default




Verified at
2024-07-20T04:09:35.926026Z

Constructor Arguments

0x000000000000000000000000eb3c930c1e0d3434ff917ffd77aa813e7d79ae390000000000000000000000007b5cbb38cb84d3d1580eba93ebed551d0b7d74120000000000000000000000005bd03def68a8e95dc138f8d3484f78bcac8cbe620000000000000000000000005bd03def68a8e95dc138f8d3484f78bcac8cbe62

Arg [0] (address) : 0xeb3c930c1e0d3434ff917ffd77aa813e7d79ae39
Arg [1] (address) : 0x7b5cbb38cb84d3d1580eba93ebed551d0b7d7412
Arg [2] (address) : 0x5bd03def68a8e95dc138f8d3484f78bcac8cbe62
Arg [3] (address) : 0x5bd03def68a8e95dc138f8d3484f78bcac8cbe62

              

contracts/CakeFlexiblePool.sol

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

import "./openzeppelin/access/Ownable.sol";
import "./openzeppelin/token/ERC20/utils/SafeERC20.sol";
import "./openzeppelin/security/Pausable.sol";
import "./interfaces/ICakePool.sol";

contract CakeFlexiblePool is Ownable, Pausable {
    using SafeERC20 for IERC20;

    struct UserInfo {
        uint256 shares; // number of shares for a user
        uint256 lastDepositedTime; // keeps track of deposited time for potential penalty
        uint256 cakeAtLastUserAction; // keeps track of cake deposited at the last user action
        uint256 lastUserActionTime; // keeps track of the last user action time
    }

    IERC20 public immutable token; // Cake token
    ICakePool public immutable cakePool; //Cake pool

    mapping(address => UserInfo) public userInfo;

    uint256 public totalShares;
    address public admin;
    address public treasury;
    bool public staking = true;

    uint256 public constant MAX_PERFORMANCE_FEE = 2000; // 20%
    uint256 public constant MAX_WITHDRAW_FEE = 500; // 5%
    uint256 public constant MAX_WITHDRAW_FEE_PERIOD = 1 weeks; // 1 week
    uint256 public constant MAX_WITHDRAW_AMOUNT_BOOSTER = 10010; // 1.001
    uint256 public constant MIN_DEPOSIT_AMOUNT = 0.00001 ether;
    uint256 public constant MIN_WITHDRAW_AMOUNT = 0.00001 ether;
    uint256 public constant MIN_WITHDRAW_AMOUNT_BOOSTER = 10000; // 1

    //When call cakepool.withdrawByAmount function,there will be a loss of precision, so need to withdraw more.
    uint256 public withdrawAmountBooster = 10001; // 1.0001
    uint256 public performanceFee = 200; // 2%
    uint256 public withdrawFee = 10; // 0.1%
    uint256 public withdrawFeePeriod = 72 hours; // 3 days

    event DepositCake(address indexed sender, uint256 amount, uint256 shares, uint256 lastDepositedTime);
    event WithdrawShares(address indexed sender, uint256 amount, uint256 shares);
    event ChargePerformanceFee(address indexed sender, uint256 amount, uint256 shares);
    event ChargeWithdrawFee(address indexed sender, uint256 amount);
    event Pause();
    event Unpause();
    event NewAdmin(address admin);
    event NewTreasury(address treasury);
    event NewPerformanceFee(uint256 performanceFee);
    event NewWithdrawFee(uint256 withdrawFee);
    event NewWithdrawFeePeriod(uint256 withdrawFeePeriod);
    event NewWithdrawAmountBooster(uint256 withdrawAmountBooster);

    /**
     * @notice Constructor
     * @param _token: Cake token contract
     * @param _cakePool: CakePool contract
     * @param _admin: address of the admin
     * @param _treasury: address of the treasury (collects fees)
     */
    constructor(IERC20 _token, ICakePool _cakePool, address _admin, address _treasury) {
        token = _token;
        cakePool = _cakePool;
        admin = _admin;
        treasury = _treasury;

        // Infinite approve
        IERC20(_token).safeApprove(address(_cakePool), type(uint256).max);
    }

    /**
     * @notice Checks if the msg.sender is the admin address
     */
    modifier onlyAdmin() {
        require(msg.sender == admin, "admin: wut?");
        _;
    }

    /**
     * @notice Deposits funds into the Cake Flexible Pool.
     * @dev Only possible when contract not paused.
     * @param _amount: number of tokens to deposit (in CAKE)
     */
    function deposit(uint256 _amount) external whenNotPaused {
        require(staking, "Not allowed to stake");
        require(_amount > MIN_DEPOSIT_AMOUNT, "Deposit amount must be greater than MIN_DEPOSIT_AMOUNT");
        UserInfo storage user = userInfo[msg.sender];
        //charge performanceFee
        bool chargeFeeFromDeposite;
        uint256 currentPerformanceFee;
        uint256 performanceFeeShares;
        if (user.shares > 0) {
            uint256 totalAmount = (user.shares * balanceOf()) / totalShares;
            uint256 earnAmount = totalAmount - user.cakeAtLastUserAction;
            currentPerformanceFee = (earnAmount * performanceFee) / 10000;
            if (currentPerformanceFee > 0) {
                performanceFeeShares = (currentPerformanceFee * totalShares) / balanceOf();
                user.shares -= performanceFeeShares;
                totalShares -= performanceFeeShares;
                if (_amount >= currentPerformanceFee) {
                    chargeFeeFromDeposite = true;
                } else {
                    // withdrawByAmount have a MIN_WITHDRAW_AMOUNT limit ,so need to withdraw more than MIN_WITHDRAW_AMOUNT.
                    uint256 withdrawAmount = currentPerformanceFee < MIN_WITHDRAW_AMOUNT
                        ? MIN_WITHDRAW_AMOUNT
                        : currentPerformanceFee;
                    //There will be a loss of precision when call withdrawByAmount, so need to withdraw more.
                    withdrawAmount = (withdrawAmount * withdrawAmountBooster) / 10000;
                    cakePool.withdrawByAmount(withdrawAmount);

                    currentPerformanceFee = available() >= currentPerformanceFee ? currentPerformanceFee : available();
                    token.safeTransfer(treasury, currentPerformanceFee);
                    emit ChargePerformanceFee(msg.sender, currentPerformanceFee, performanceFeeShares);
                }
            }
        }
        uint256 pool = balanceOf();
        token.safeTransferFrom(msg.sender, address(this), _amount);
        if (chargeFeeFromDeposite) {
            token.safeTransfer(treasury, currentPerformanceFee);
            emit ChargePerformanceFee(msg.sender, currentPerformanceFee, performanceFeeShares);
            pool -= currentPerformanceFee;
        }
        uint256 currentShares;
        if (totalShares != 0) {
            currentShares = (_amount * totalShares) / pool;
        } else {
            currentShares = _amount;
        }

        user.shares += currentShares;
        user.lastDepositedTime = block.timestamp;

        totalShares += currentShares;

        _earn();

        user.cakeAtLastUserAction = (user.shares * balanceOf()) / totalShares;
        user.lastUserActionTime = block.timestamp;

        emit DepositCake(msg.sender, _amount, currentShares, block.timestamp);
    }

    /**
     * @notice Withdraws funds from the Cake Flexible Pool
     * @param _shares: Number of shares to withdraw
     */
    function withdraw(uint256 _shares) public {
        UserInfo storage user = userInfo[msg.sender];
        require(_shares > 0, "Nothing to withdraw");
        require(_shares <= user.shares, "Withdraw amount exceeds balance");
        //charge performanceFee
        uint256 totalAmount = (user.shares * balanceOf()) / totalShares;
        uint256 earnAmount = totalAmount - user.cakeAtLastUserAction;
        uint256 currentPerformanceFee;
        uint256 performanceFeeShares;
        if (earnAmount > 0) {
            currentPerformanceFee = (earnAmount * performanceFee) / 10000;
            performanceFeeShares = (currentPerformanceFee * totalShares) / balanceOf();
            user.shares -= performanceFeeShares;
            totalShares -= performanceFeeShares;
        }
        //Update withdraw shares
        if (_shares > user.shares) {
            _shares = user.shares;
        }
        //The current pool balance should not include currentPerformanceFee.
        uint256 currentAmount = (_shares * (balanceOf() - currentPerformanceFee)) / totalShares;
        user.shares -= _shares;
        totalShares -= _shares;
        uint256 withdrawAmount = currentAmount + currentPerformanceFee;
        if (staking) {
            // withdrawByAmount have a MIN_WITHDRAW_AMOUNT limit ,so need to withdraw more than MIN_WITHDRAW_AMOUNT.
            withdrawAmount = withdrawAmount < MIN_WITHDRAW_AMOUNT ? MIN_WITHDRAW_AMOUNT : withdrawAmount;
            //There will be a loss of precision when call withdrawByAmount, so need to withdraw more.
            withdrawAmount = (withdrawAmount * withdrawAmountBooster) / 10000;
            cakePool.withdrawByAmount(withdrawAmount);
        }

        uint256 currentWithdrawFee;
        if (block.timestamp < user.lastDepositedTime + withdrawFeePeriod) {
            currentWithdrawFee = (currentAmount * withdrawFee) / 10000;
            currentAmount -= currentWithdrawFee;
        }
        //Combine two fees to reduce gas
        uint256 totalFee = currentPerformanceFee + currentWithdrawFee;
        if (totalFee > 0) {
            totalFee = available() >= totalFee ? totalFee : available();
            token.safeTransfer(treasury, totalFee);
            if (currentPerformanceFee > 0) {
                emit ChargePerformanceFee(msg.sender, currentPerformanceFee, performanceFeeShares);
            }
            if (currentWithdrawFee > 0) {
                emit ChargeWithdrawFee(msg.sender, currentWithdrawFee);
            }
        }

        currentAmount = available() >= currentAmount ? currentAmount : available();
        token.safeTransfer(msg.sender, currentAmount);

        if (user.shares > 0) {
            user.cakeAtLastUserAction = (user.shares * balanceOf()) / totalShares;
        } else {
            user.cakeAtLastUserAction = 0;
        }

        user.lastUserActionTime = block.timestamp;

        emit WithdrawShares(msg.sender, currentAmount, _shares);
    }

    /**
     * @notice Withdraws all funds for a user
     */
    function withdrawAll() external {
        withdraw(userInfo[msg.sender].shares);
    }

    /**
     * @notice Sets admin address
     * @dev Only callable by the contract owner.
     */
    function setAdmin(address _admin) external onlyOwner {
        require(_admin != address(0), "Cannot be zero address");
        admin = _admin;
        emit NewAdmin(admin);
    }

    /**
     * @notice Sets treasury address
     * @dev Only callable by the contract owner.
     */
    function setTreasury(address _treasury) external onlyOwner {
        require(_treasury != address(0), "Cannot be zero address");
        treasury = _treasury;
        emit NewTreasury(treasury);
    }

    /**
     * @notice Sets performance fee
     * @dev Only callable by the contract admin.
     */
    function setPerformanceFee(uint256 _performanceFee) external onlyAdmin {
        require(_performanceFee <= MAX_PERFORMANCE_FEE, "performanceFee cannot be more than MAX_PERFORMANCE_FEE");
        performanceFee = _performanceFee;
        emit NewPerformanceFee(performanceFee);
    }

    /**
     * @notice Sets withdraw fee
     * @dev Only callable by the contract admin.
     */
    function setWithdrawFee(uint256 _withdrawFee) external onlyAdmin {
        require(_withdrawFee <= MAX_WITHDRAW_FEE, "withdrawFee cannot be more than MAX_WITHDRAW_FEE");
        withdrawFee = _withdrawFee;
        emit NewWithdrawFee(withdrawFee);
    }

    /**
     * @notice Sets withdraw fee period
     * @dev Only callable by the contract admin.
     */
    function setWithdrawFeePeriod(uint256 _withdrawFeePeriod) external onlyAdmin {
        require(
            _withdrawFeePeriod <= MAX_WITHDRAW_FEE_PERIOD,
            "withdrawFeePeriod cannot be more than MAX_WITHDRAW_FEE_PERIOD"
        );
        withdrawFeePeriod = _withdrawFeePeriod;
        emit NewWithdrawFeePeriod(withdrawFeePeriod);
    }

    /**
     * @notice Sets withdraw amount booster
     * @dev Only callable by the contract admin.
     */
    function setWithdrawAmountBooster(uint256 _withdrawAmountBooster) external onlyAdmin {
        require(
            _withdrawAmountBooster >= MIN_WITHDRAW_AMOUNT_BOOSTER,
            "withdrawAmountBooster cannot be less than MIN_WITHDRAW_AMOUNT_BOOSTER"
        );
        require(
            _withdrawAmountBooster <= MAX_WITHDRAW_AMOUNT_BOOSTER,
            "withdrawAmountBooster cannot be more than MAX_WITHDRAW_AMOUNT_BOOSTER"
        );
        withdrawAmountBooster = _withdrawAmountBooster;
        emit NewWithdrawAmountBooster(withdrawAmountBooster);
    }

    /**
     * @notice Withdraws from Cake Pool without caring about rewards.
     * @dev EMERGENCY ONLY. Only callable by the contract admin.
     */
    function emergencyWithdraw() external onlyAdmin {
        require(staking, "No staking cake");
        staking = false;
        cakePool.withdrawAll();
    }

    /**
     * @notice Withdraw unexpected tokens sent to the Cake Flexible Pool
     */
    function inCaseTokensGetStuck(address _token) external onlyAdmin {
        require(_token != address(token), "Token cannot be same as deposit token");

        uint256 amount = IERC20(_token).balanceOf(address(this));
        IERC20(_token).safeTransfer(msg.sender, amount);
    }

    /**
     * @notice Triggers stopped state
     * @dev Only possible when contract not paused.
     */
    function pause() external onlyAdmin whenNotPaused {
        _pause();
        emit Pause();
    }

    /**
     * @notice Returns to normal state
     * @dev Only possible when contract is paused.
     */
    function unpause() external onlyAdmin whenPaused {
        _unpause();
        emit Unpause();
    }

    /**
     * @notice Calculates the price per share
     */
    function getPricePerFullShare() external view returns (uint256) {
        return totalShares == 0 ? 1e18 : (balanceOf() * 1e18) / totalShares;
    }

    /**
     * @notice Custom logic for how much the pool to be borrowed
     * @dev The contract puts 100% of the tokens to work.
     */
    function available() public view returns (uint256) {
        return token.balanceOf(address(this));
    }

    /**
     * @notice Calculates the total underlying tokens
     * @dev It includes tokens held by the contract and held in CakePool
     */
    function balanceOf() public view returns (uint256) {
        (uint256 shares, , , , , , , , ) = cakePool.userInfo(address(this));
        uint256 pricePerFullShare = cakePool.getPricePerFullShare();

        return token.balanceOf(address(this)) + (shares * pricePerFullShare) / 1e18;
    }

    /**
     * @notice Deposits tokens into CakePool to earn staking rewards
     */
    function _earn() internal {
        uint256 bal = available();
        if (bal > 0) {
            cakePool.deposit(bal, 0);
        }
    }
}
        

contracts/interfaces/ICakePool.sol

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

interface ICakePool {
    struct UserInfo {
        uint256 shares; // number of shares for a user.
        uint256 lastDepositedTime; // keep track of deposited time for potential penalty.
        uint256 cakeAtLastUserAction; // keep track of cake deposited at the last user action.
        uint256 lastUserActionTime; // keep track of the last user action time.
        uint256 lockStartTime; // lock start time.
        uint256 lockEndTime; // lock end time.
        uint256 userBoostedShare; // boost share, in order to give the user higher reward. The user only enjoys the reward, so the principal needs to be recorded as a debt.
        bool locked; //lock status.
        uint256 lockedAmount; // amount deposited during lock period.
    }

    function userInfo(
        address user
    ) external view returns (uint256, uint256, uint256, uint256, uint256, uint256, uint256, bool, uint256);

    function getPricePerFullShare() external view returns (uint256);

    function deposit(uint256 _amount, uint256 _lockDuration) external;

    function withdrawByAmount(uint256 _amount) external;

    function withdraw(uint256 _shares) external;

    function withdrawAll() external;
}
          

contracts/openzeppelin/access/Ownable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

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() {
        _transferOwnership(_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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}
          

contracts/openzeppelin/security/Pausable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}
          

contracts/openzeppelin/token/ERC20/IERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from, address to, 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);
}
          

contracts/openzeppelin/token/ERC20/utils/SafeERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

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'
        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
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}
          

contracts/openzeppelin/utils/Address.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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");

        (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");

        (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");

        (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");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}
          

contracts/openzeppelin/utils/Context.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

Compiler Settings

{"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"],"":["ast"]}},"optimizer":{"runs":99999,"enabled":true},"libraries":{}}
              

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"_token","internalType":"contract IERC20"},{"type":"address","name":"_cakePool","internalType":"contract ICakePool"},{"type":"address","name":"_admin","internalType":"address"},{"type":"address","name":"_treasury","internalType":"address"}]},{"type":"event","name":"ChargePerformanceFee","inputs":[{"type":"address","name":"sender","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false},{"type":"uint256","name":"shares","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"ChargeWithdrawFee","inputs":[{"type":"address","name":"sender","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"DepositCake","inputs":[{"type":"address","name":"sender","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false},{"type":"uint256","name":"shares","internalType":"uint256","indexed":false},{"type":"uint256","name":"lastDepositedTime","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"NewAdmin","inputs":[{"type":"address","name":"admin","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"NewPerformanceFee","inputs":[{"type":"uint256","name":"performanceFee","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"NewTreasury","inputs":[{"type":"address","name":"treasury","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"NewWithdrawAmountBooster","inputs":[{"type":"uint256","name":"withdrawAmountBooster","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"NewWithdrawFee","inputs":[{"type":"uint256","name":"withdrawFee","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"NewWithdrawFeePeriod","inputs":[{"type":"uint256","name":"withdrawFeePeriod","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Pause","inputs":[],"anonymous":false},{"type":"event","name":"Paused","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"Unpause","inputs":[],"anonymous":false},{"type":"event","name":"Unpaused","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"WithdrawShares","inputs":[{"type":"address","name":"sender","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false},{"type":"uint256","name":"shares","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MAX_PERFORMANCE_FEE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MAX_WITHDRAW_AMOUNT_BOOSTER","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MAX_WITHDRAW_FEE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MAX_WITHDRAW_FEE_PERIOD","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MIN_DEPOSIT_AMOUNT","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MIN_WITHDRAW_AMOUNT","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MIN_WITHDRAW_AMOUNT_BOOSTER","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"admin","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"available","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract ICakePool"}],"name":"cakePool","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"deposit","inputs":[{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"emergencyWithdraw","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getPricePerFullShare","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"inCaseTokensGetStuck","inputs":[{"type":"address","name":"_token","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"pause","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"paused","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"performanceFee","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setAdmin","inputs":[{"type":"address","name":"_admin","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setPerformanceFee","inputs":[{"type":"uint256","name":"_performanceFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTreasury","inputs":[{"type":"address","name":"_treasury","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setWithdrawAmountBooster","inputs":[{"type":"uint256","name":"_withdrawAmountBooster","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setWithdrawFee","inputs":[{"type":"uint256","name":"_withdrawFee","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setWithdrawFeePeriod","inputs":[{"type":"uint256","name":"_withdrawFeePeriod","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"staking","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC20"}],"name":"token","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalShares","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"treasury","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"unpause","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"shares","internalType":"uint256"},{"type":"uint256","name":"lastDepositedTime","internalType":"uint256"},{"type":"uint256","name":"cakeAtLastUserAction","internalType":"uint256"},{"type":"uint256","name":"lastUserActionTime","internalType":"uint256"}],"name":"userInfo","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdraw","inputs":[{"type":"uint256","name":"_shares","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdrawAll","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"withdrawAmountBooster","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"withdrawFee","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"withdrawFeePeriod","inputs":[]}]
              

Contract Creation Code

0x60c06040526004805460ff60a01b1916600160a01b17905561271160055560c8600655600a6007556203f4806008553480156200003b57600080fd5b5060405162003714380380620037148339810160408190526200005e9162000508565b6200006933620000d9565b6000805460ff60a01b191690556001600160a01b03848116608081905284821660a052600380546001600160a01b0319908116868516179091556004805490911692841692909217909155620000cf908460001962000129602090811b620024ce17901c565b5050505062000634565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b801580620001a75750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e90604401602060405180830381865afa1580156200017f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a5919062000570565b155b6200021f5760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e63650000000000000000000060648201526084015b60405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152620002779185916200027c16565b505050565b6000620002d8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166200035a60201b620026d3179092919060201c565b805190915015620002775780806020019051810190620002f991906200058a565b620002775760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840162000216565b60606200036b848460008562000375565b90505b9392505050565b606082471015620003d85760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840162000216565b6001600160a01b0385163b620004315760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640162000216565b600080866001600160a01b031685876040516200044f9190620005e1565b60006040518083038185875af1925050503d80600081146200048e576040519150601f19603f3d011682016040523d82523d6000602084013e62000493565b606091505b509092509050620004a6828286620004b1565b979650505050505050565b60608315620004c25750816200036e565b825115620004d35782518084602001fd5b8160405162461bcd60e51b8152600401620002169190620005ff565b6001600160a01b03811681146200050557600080fd5b50565b600080600080608085870312156200051f57600080fd5b84516200052c81620004ef565b60208601519094506200053f81620004ef565b60408601519093506200055281620004ef565b60608601519092506200056581620004ef565b939692955090935050565b6000602082840312156200058357600080fd5b5051919050565b6000602082840312156200059d57600080fd5b815180151581146200036e57600080fd5b60005b83811015620005cb578181015183820152602001620005b1565b83811115620005db576000848401525b50505050565b60008251620005f5818460208701620005ae565b9190910192915050565b602081526000825180602084015262000620816040850160208701620005ae565b601f01601f19169190910160400192915050565b60805160a051613058620006bc60003960008181610502015281816109850152818161119a0152818161121401528181611b6501528181611fba0152612a4201526000818161056f01528181610a8f01528181610b7001528181610d87015281816112ee01528181611c1501528181611ca401528181611cf0015261209c01526130586000f3fe608060405234801561001057600080fd5b50600436106102925760003560e01c8063853828b611610160578063d4b0de2f116100d8578063ed64a9671161008c578063f2fde38b11610071578063f2fde38b14610537578063f851a4401461054a578063fc0c546a1461056a57600080fd5b8063ed64a967146104fd578063f0f442601461052457600080fd5b8063def68a9c116100bd578063def68a9c146104d8578063df10b4e6146104eb578063e941fa78146104f457600080fd5b8063d4b0de2f146104c7578063db2e21bc146104d057600080fd5b80638dd313661161012f578063b6ac642a11610114578063b6ac642a14610498578063b6b55f25146104ab578063bdca9165146104be57600080fd5b80638dd3136614610485578063b68578441461030957600080fd5b8063853828b61461044d57806387788782146104555780638a180eea1461045e5780638da5cb5b1461046757600080fd5b80634cf088d91161020e578063715018a6116101c257806377c7b8fc116101a757806377c7b8fc1461043457806382dba6421461043c5780638456cb591461044557600080fd5b8063715018a614610424578063722713f71461042c57600080fd5b806361d027b3116101f357806361d027b3146103b9578063704b6c02146103fe57806370897b231461041157600080fd5b80634cf088d9146103615780635c975abb1461039657600080fd5b80632cfc5f01116102655780633a98ef391161024a5780633a98ef39146103485780633f4ba83a1461035157806348a0d7541461035957600080fd5b80632cfc5f011461032b5780632e1a7d4d1461033557600080fd5b806314c9253e146102975780631959a002146102b35780631ea30fef146103095780631efac1b814610316575b600080fd5b6102a060055481565b6040519081526020015b60405180910390f35b6102e96102c1366004612dab565b6001602081905260009182526040909120805491810154600282015460039092015490919084565b6040805194855260208501939093529183015260608201526080016102aa565b6102a06509184e72a00081565b610329610324366004612de1565b610591565b005b6102a062093a8081565b610329610343366004612de1565b6106e6565b6102a060025481565b610329610c1e565b6102a0610d56565b6004546103869074010000000000000000000000000000000000000000900460ff1681565b60405190151581526020016102aa565b60005474010000000000000000000000000000000000000000900460ff16610386565b6004546103d99073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016102aa565b61032961040c366004612dab565b610e0c565b61032961041f366004612de1565b610f7d565b6103296110c5565b6102a0611152565b6102a061137f565b6102a061271081565b6103296113bf565b6103296114f8565b6102a060065481565b6102a061271a81565b60005473ffffffffffffffffffffffffffffffffffffffff166103d9565b610329610493366004612de1565b611511565b6103296104a6366004612de1565b611737565b6103296104b9366004612de1565b61187f565b6102a06107d081565b6102a06101f481565b610329611e4d565b6103296104e6366004612dab565b612019565b6102a060085481565b6102a060075481565b6103d97f000000000000000000000000000000000000000000000000000000000000000081565b610329610532366004612dab565b61222d565b610329610545366004612dab565b61239e565b6003546103d99073ffffffffffffffffffffffffffffffffffffffff1681565b6103d97f000000000000000000000000000000000000000000000000000000000000000081565b60035473ffffffffffffffffffffffffffffffffffffffff163314610617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f00000000000000000000000000000000000000000060448201526064015b60405180910390fd5b62093a808111156106aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f7769746864726177466565506572696f642063616e6e6f74206265206d6f726560448201527f207468616e204d41585f57495448445241575f4645455f504552494f44000000606482015260840161060e565b60088190556040518181527fb89ddaddb7435be26824cb48d2d0186c9525a2e1ec057abcb502704cdc0686cc906020015b60405180910390a150565b3360009081526001602052604090208161075c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4e6f7468696e6720746f20776974686472617700000000000000000000000000604482015260640161060e565b80548211156107c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f576974686472617720616d6f756e7420657863656564732062616c616e636500604482015260640161060e565b60006002546107d4611152565b83546107e09190612e29565b6107ea9190612e66565b905060008260020154826107fe9190612ea1565b9050600080821561087a576127106006548461081a9190612e29565b6108249190612e66565b915061082e611152565b60025461083b9084612e29565b6108459190612e66565b90508085600001600082825461085b9190612ea1565b9250508190555080600260008282546108749190612ea1565b90915550505b845486111561088857845495505b600060025483610896611152565b6108a09190612ea1565b6108aa9089612e29565b6108b49190612e66565b9050868660000160008282546108ca9190612ea1565b9250508190555086600260008282546108e39190612ea1565b90915550600090506108f58483612eb8565b60045490915074010000000000000000000000000000000000000000900460ff16156109f7576509184e72a000811061092e5780610936565b6509184e72a0005b9050612710600554826109499190612e29565b6109539190612e66565b6040517f5521e9bf000000000000000000000000000000000000000000000000000000008152600481018290529091507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690635521e9bf90602401600060405180830381600087803b1580156109de57600080fd5b505af11580156109f2573d6000803e3d6000fd5b505050505b60006008548860010154610a0b9190612eb8565b421015610a3c5761271060075484610a239190612e29565b610a2d9190612e66565b9050610a398184612ea1565b92505b6000610a488287612eb8565b90508015610b365780610a59610d56565b1015610a6c57610a67610d56565b610a6e565b805b600454909150610ab89073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081169116836126ec565b8515610afa57604080518781526020810187905233917fba099d38a7da8262f6dc89809a028ddb51ce1f8fe4d9c7554ef909078f6e10c9910160405180910390a25b8115610b365760405182815233907ff4451cbaeb1fedd1db1eed585be4980b066afa1fa1c2a59f361ca67191e9695a9060200160405180910390a25b83610b3f610d56565b1015610b5257610b4d610d56565b610b54565b835b9350610b9773ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001633866126ec565b885415610bc957600254610ba9611152565b8a54610bb59190612e29565b610bbf9190612e66565b60028a0155610bd1565b600060028a01555b4260038a015560408051858152602081018c905233917fb605f60b5ff13848ba5a9234329676801d97e41362092b50014cad41fb2b7bfc910160405180910390a250505050505050505050565b60035473ffffffffffffffffffffffffffffffffffffffff163314610c9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015260640161060e565b60005474010000000000000000000000000000000000000000900460ff16610d23576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015260640161060e565b610d2b612742565b6040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610de3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e079190612ed0565b905090565b60005473ffffffffffffffffffffffffffffffffffffffff163314610e8d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161060e565b73ffffffffffffffffffffffffffffffffffffffff8116610f0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f43616e6e6f74206265207a65726f206164647265737300000000000000000000604482015260640161060e565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c906020016106db565b60035473ffffffffffffffffffffffffffffffffffffffff163314610ffe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015260640161060e565b6107d0811115611090576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f706572666f726d616e63654665652063616e6e6f74206265206d6f726520746860448201527f616e204d41585f504552464f524d414e43455f46454500000000000000000000606482015260840161060e565b60068190556040518181527fefeafcf03e479a9566d7ef321b4816de0ba19cfa3cd0fae2f8c5f4a0afb342c4906020016106db565b60005473ffffffffffffffffffffffffffffffffffffffff163314611146576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161060e565b611150600061283b565b565b6040517f1959a002000000000000000000000000000000000000000000000000000000008152306004820152600090819073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690631959a0029060240161012060405180830381865afa1580156111e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112069190612efe565b5050505050505050905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166377c7b8fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561127d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a19190612ed0565b9050670de0b6b3a76400006112b68284612e29565b6112c09190612e66565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa15801561134a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061136e9190612ed0565b6113789190612eb8565b9250505090565b60006002546000146113b257600254611396611152565b6113a890670de0b6b3a7640000612e29565b610e079190612e66565b50670de0b6b3a764000090565b60035473ffffffffffffffffffffffffffffffffffffffff163314611440576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015260640161060e565b60005474010000000000000000000000000000000000000000900460ff16156114c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161060e565b6114cd6128b0565b6040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b33600090815260016020526040902054611150906106e6565b60035473ffffffffffffffffffffffffffffffffffffffff163314611592576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015260640161060e565b61271081101561164a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604560248201527f7769746864726177416d6f756e74426f6f737465722063616e6e6f742062652060448201527f6c657373207468616e204d494e5f57495448445241575f414d4f554e545f424f60648201527f4f53544552000000000000000000000000000000000000000000000000000000608482015260a40161060e565b61271a811115611702576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604560248201527f7769746864726177416d6f756e74426f6f737465722063616e6e6f742062652060448201527f6d6f7265207468616e204d41585f57495448445241575f414d4f554e545f424f60648201527f4f53544552000000000000000000000000000000000000000000000000000000608482015260a40161060e565b60058190556040518181527f6029d76ffeb0d7684607fa1164412e907a5fcb0849976856b2f98f0ae49fb457906020016106db565b60035473ffffffffffffffffffffffffffffffffffffffff1633146117b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015260640161060e565b6101f481111561184a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f77697468647261774665652063616e6e6f74206265206d6f7265207468616e2060448201527f4d41585f57495448445241575f46454500000000000000000000000000000000606482015260840161060e565b60078190556040518181527fd5fe46099fa396290a7f57e36c3c3c8774e2562c18ed5d1dcc0fa75071e03f1d906020016106db565b60005474010000000000000000000000000000000000000000900460ff1615611904576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161060e565b60045474010000000000000000000000000000000000000000900460ff16611988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4e6f7420616c6c6f77656420746f207374616b65000000000000000000000000604482015260640161060e565b6509184e72a0008111611a1d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4465706f73697420616d6f756e74206d7573742062652067726561746572207460448201527f68616e204d494e5f4445504f5349545f414d4f554e5400000000000000000000606482015260840161060e565b33600090815260016020526040812080549091908190819015611c7e576000600254611a47611152565b8654611a539190612e29565b611a5d9190612e66565b90506000856002015482611a719190612ea1565b905061271060065482611a849190612e29565b611a8e9190612e66565b93508315611c7b57611a9e611152565b600254611aab9086612e29565b611ab59190612e66565b925082866000016000828254611acb9190612ea1565b925050819055508260026000828254611ae49190612ea1565b9091555050838710611af95760019450611c7b565b60006509184e72a0008510611b0e5784611b16565b6509184e72a0005b905061271060055482611b299190612e29565b611b339190612e66565b6040517f5521e9bf000000000000000000000000000000000000000000000000000000008152600481018290529091507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690635521e9bf90602401600060405180830381600087803b158015611bbe57600080fd5b505af1158015611bd2573d6000803e3d6000fd5b5050505084611bdf610d56565b1015611bf257611bed610d56565b611bf4565b845b600454909550611c3e9073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081169116876126ec565b604080518681526020810186905233917fba099d38a7da8262f6dc89809a028ddb51ce1f8fe4d9c7554ef909078f6e10c9910160405180910390a2505b50505b6000611c88611152565b9050611ccc73ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001633308961299c565b8315611d6157600454611d199073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081169116856126ec565b604080518481526020810184905233917fba099d38a7da8262f6dc89809a028ddb51ce1f8fe4d9c7554ef909078f6e10c9910160405180910390a2611d5e8382612ea1565b90505b6000600254600014611d8d578160025488611d7c9190612e29565b611d869190612e66565b9050611d90565b50855b80866000016000828254611da49190612eb8565b909155505042600187015560028054829190600090611dc4908490612eb8565b90915550611dd290506129fa565b600254611ddd611152565b8754611de99190612e29565b611df39190612e66565b6002870155426003870181905560408051898152602081018490529081019190915233907f269e310e936abd6c2408df165913683c9c53eef830fe562f699fd50c3b860c069060600160405180910390a250505050505050565b60035473ffffffffffffffffffffffffffffffffffffffff163314611ece576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015260640161060e565b60045474010000000000000000000000000000000000000000900460ff16611f52576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4e6f207374616b696e672063616b650000000000000000000000000000000000604482015260640161060e565b600480547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff168155604080517f853828b6000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169263853828b69280820192600092909182900301818387803b158015611fff57600080fd5b505af1158015612013573d6000803e3d6000fd5b50505050565b60035473ffffffffffffffffffffffffffffffffffffffff16331461209a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015260640161060e565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612175576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f546f6b656e2063616e6e6f742062652073616d65206173206465706f7369742060448201527f746f6b656e000000000000000000000000000000000000000000000000000000606482015260840161060e565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8316906370a0823190602401602060405180830381865afa1580156121e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122069190612ed0565b905061222973ffffffffffffffffffffffffffffffffffffffff831633836126ec565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146122ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161060e565b73ffffffffffffffffffffffffffffffffffffffff811661232b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f43616e6e6f74206265207a65726f206164647265737300000000000000000000604482015260640161060e565b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527fafa147634b29e2c7bd53ce194256b9f41cfb9ba3036f2b822fdd1d965beea086906020016106db565b60005473ffffffffffffffffffffffffffffffffffffffff16331461241f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161060e565b73ffffffffffffffffffffffffffffffffffffffff81166124c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161060e565b6124cb8161283b565b50565b80158061256e57506040517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff838116602483015284169063dd62ed3e90604401602060405180830381865afa158015612548573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061256c9190612ed0565b155b6125fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000606482015260840161060e565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526126ce9084907f095ea7b300000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152612ab6565b505050565b60606126e28484600085612bc2565b90505b9392505050565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526126ce9084907fa9059cbb000000000000000000000000000000000000000000000000000000009060640161264c565b60005474010000000000000000000000000000000000000000900460ff166127c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015260640161060e565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005474010000000000000000000000000000000000000000900460ff1615612935576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161060e565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586128113390565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526120139085907f23b872dd000000000000000000000000000000000000000000000000000000009060840161264c565b6000612a04610d56565b905080156124cb576040517fe2bbb15800000000000000000000000000000000000000000000000000000000815260048101829052600060248201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063e2bbb15890604401600060405180830381600087803b158015612a9b57600080fd5b505af1158015612aaf573d6000803e3d6000fd5b5050505050565b6000612b18826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166126d39092919063ffffffff16565b8051909150156126ce5780806020019051810190612b369190612f6e565b6126ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840161060e565b606082471015612c54576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c0000000000000000000000000000000000000000000000000000606482015260840161060e565b73ffffffffffffffffffffffffffffffffffffffff85163b612cd2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161060e565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051612cfb9190612fb5565b60006040518083038185875af1925050503d8060008114612d38576040519150601f19603f3d011682016040523d82523d6000602084013e612d3d565b606091505b5091509150612d4d828286612d58565b979650505050505050565b60608315612d675750816126e5565b825115612d775782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060e9190612fd1565b600060208284031215612dbd57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146126e557600080fd5b600060208284031215612df357600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612e6157612e61612dfa565b500290565b600082612e9c577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600082821015612eb357612eb3612dfa565b500390565b60008219821115612ecb57612ecb612dfa565b500190565b600060208284031215612ee257600080fd5b5051919050565b80518015158114612ef957600080fd5b919050565b60008060008060008060008060006101208a8c031215612f1d57600080fd5b8951985060208a0151975060408a0151965060608a0151955060808a0151945060a08a0151935060c08a01519250612f5760e08b01612ee9565b91506101008a015190509295985092959850929598565b600060208284031215612f8057600080fd5b6126e582612ee9565b60005b83811015612fa4578181015183820152602001612f8c565b838111156120135750506000910152565b60008251612fc7818460208701612f89565b9190910192915050565b6020815260008251806020840152612ff0816040850160208701612f89565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea2646970667358221220571f2031e2ab2d5aa755a51efe7fb4580f002b900485ae5b0bb1b68f7da193ce64736f6c634300080d0033000000000000000000000000eb3c930c1e0d3434ff917ffd77aa813e7d79ae390000000000000000000000007b5cbb38cb84d3d1580eba93ebed551d0b7d74120000000000000000000000005bd03def68a8e95dc138f8d3484f78bcac8cbe620000000000000000000000005bd03def68a8e95dc138f8d3484f78bcac8cbe62

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106102925760003560e01c8063853828b611610160578063d4b0de2f116100d8578063ed64a9671161008c578063f2fde38b11610071578063f2fde38b14610537578063f851a4401461054a578063fc0c546a1461056a57600080fd5b8063ed64a967146104fd578063f0f442601461052457600080fd5b8063def68a9c116100bd578063def68a9c146104d8578063df10b4e6146104eb578063e941fa78146104f457600080fd5b8063d4b0de2f146104c7578063db2e21bc146104d057600080fd5b80638dd313661161012f578063b6ac642a11610114578063b6ac642a14610498578063b6b55f25146104ab578063bdca9165146104be57600080fd5b80638dd3136614610485578063b68578441461030957600080fd5b8063853828b61461044d57806387788782146104555780638a180eea1461045e5780638da5cb5b1461046757600080fd5b80634cf088d91161020e578063715018a6116101c257806377c7b8fc116101a757806377c7b8fc1461043457806382dba6421461043c5780638456cb591461044557600080fd5b8063715018a614610424578063722713f71461042c57600080fd5b806361d027b3116101f357806361d027b3146103b9578063704b6c02146103fe57806370897b231461041157600080fd5b80634cf088d9146103615780635c975abb1461039657600080fd5b80632cfc5f01116102655780633a98ef391161024a5780633a98ef39146103485780633f4ba83a1461035157806348a0d7541461035957600080fd5b80632cfc5f011461032b5780632e1a7d4d1461033557600080fd5b806314c9253e146102975780631959a002146102b35780631ea30fef146103095780631efac1b814610316575b600080fd5b6102a060055481565b6040519081526020015b60405180910390f35b6102e96102c1366004612dab565b6001602081905260009182526040909120805491810154600282015460039092015490919084565b6040805194855260208501939093529183015260608201526080016102aa565b6102a06509184e72a00081565b610329610324366004612de1565b610591565b005b6102a062093a8081565b610329610343366004612de1565b6106e6565b6102a060025481565b610329610c1e565b6102a0610d56565b6004546103869074010000000000000000000000000000000000000000900460ff1681565b60405190151581526020016102aa565b60005474010000000000000000000000000000000000000000900460ff16610386565b6004546103d99073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016102aa565b61032961040c366004612dab565b610e0c565b61032961041f366004612de1565b610f7d565b6103296110c5565b6102a0611152565b6102a061137f565b6102a061271081565b6103296113bf565b6103296114f8565b6102a060065481565b6102a061271a81565b60005473ffffffffffffffffffffffffffffffffffffffff166103d9565b610329610493366004612de1565b611511565b6103296104a6366004612de1565b611737565b6103296104b9366004612de1565b61187f565b6102a06107d081565b6102a06101f481565b610329611e4d565b6103296104e6366004612dab565b612019565b6102a060085481565b6102a060075481565b6103d97f0000000000000000000000007b5cbb38cb84d3d1580eba93ebed551d0b7d741281565b610329610532366004612dab565b61222d565b610329610545366004612dab565b61239e565b6003546103d99073ffffffffffffffffffffffffffffffffffffffff1681565b6103d97f000000000000000000000000eb3c930c1e0d3434ff917ffd77aa813e7d79ae3981565b60035473ffffffffffffffffffffffffffffffffffffffff163314610617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f00000000000000000000000000000000000000000060448201526064015b60405180910390fd5b62093a808111156106aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f7769746864726177466565506572696f642063616e6e6f74206265206d6f726560448201527f207468616e204d41585f57495448445241575f4645455f504552494f44000000606482015260840161060e565b60088190556040518181527fb89ddaddb7435be26824cb48d2d0186c9525a2e1ec057abcb502704cdc0686cc906020015b60405180910390a150565b3360009081526001602052604090208161075c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4e6f7468696e6720746f20776974686472617700000000000000000000000000604482015260640161060e565b80548211156107c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f576974686472617720616d6f756e7420657863656564732062616c616e636500604482015260640161060e565b60006002546107d4611152565b83546107e09190612e29565b6107ea9190612e66565b905060008260020154826107fe9190612ea1565b9050600080821561087a576127106006548461081a9190612e29565b6108249190612e66565b915061082e611152565b60025461083b9084612e29565b6108459190612e66565b90508085600001600082825461085b9190612ea1565b9250508190555080600260008282546108749190612ea1565b90915550505b845486111561088857845495505b600060025483610896611152565b6108a09190612ea1565b6108aa9089612e29565b6108b49190612e66565b9050868660000160008282546108ca9190612ea1565b9250508190555086600260008282546108e39190612ea1565b90915550600090506108f58483612eb8565b60045490915074010000000000000000000000000000000000000000900460ff16156109f7576509184e72a000811061092e5780610936565b6509184e72a0005b9050612710600554826109499190612e29565b6109539190612e66565b6040517f5521e9bf000000000000000000000000000000000000000000000000000000008152600481018290529091507f0000000000000000000000007b5cbb38cb84d3d1580eba93ebed551d0b7d741273ffffffffffffffffffffffffffffffffffffffff1690635521e9bf90602401600060405180830381600087803b1580156109de57600080fd5b505af11580156109f2573d6000803e3d6000fd5b505050505b60006008548860010154610a0b9190612eb8565b421015610a3c5761271060075484610a239190612e29565b610a2d9190612e66565b9050610a398184612ea1565b92505b6000610a488287612eb8565b90508015610b365780610a59610d56565b1015610a6c57610a67610d56565b610a6e565b805b600454909150610ab89073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000eb3c930c1e0d3434ff917ffd77aa813e7d79ae3981169116836126ec565b8515610afa57604080518781526020810187905233917fba099d38a7da8262f6dc89809a028ddb51ce1f8fe4d9c7554ef909078f6e10c9910160405180910390a25b8115610b365760405182815233907ff4451cbaeb1fedd1db1eed585be4980b066afa1fa1c2a59f361ca67191e9695a9060200160405180910390a25b83610b3f610d56565b1015610b5257610b4d610d56565b610b54565b835b9350610b9773ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000eb3c930c1e0d3434ff917ffd77aa813e7d79ae391633866126ec565b885415610bc957600254610ba9611152565b8a54610bb59190612e29565b610bbf9190612e66565b60028a0155610bd1565b600060028a01555b4260038a015560408051858152602081018c905233917fb605f60b5ff13848ba5a9234329676801d97e41362092b50014cad41fb2b7bfc910160405180910390a250505050505050505050565b60035473ffffffffffffffffffffffffffffffffffffffff163314610c9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015260640161060e565b60005474010000000000000000000000000000000000000000900460ff16610d23576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015260640161060e565b610d2b612742565b6040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f000000000000000000000000eb3c930c1e0d3434ff917ffd77aa813e7d79ae3973ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610de3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e079190612ed0565b905090565b60005473ffffffffffffffffffffffffffffffffffffffff163314610e8d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161060e565b73ffffffffffffffffffffffffffffffffffffffff8116610f0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f43616e6e6f74206265207a65726f206164647265737300000000000000000000604482015260640161060e565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c906020016106db565b60035473ffffffffffffffffffffffffffffffffffffffff163314610ffe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015260640161060e565b6107d0811115611090576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f706572666f726d616e63654665652063616e6e6f74206265206d6f726520746860448201527f616e204d41585f504552464f524d414e43455f46454500000000000000000000606482015260840161060e565b60068190556040518181527fefeafcf03e479a9566d7ef321b4816de0ba19cfa3cd0fae2f8c5f4a0afb342c4906020016106db565b60005473ffffffffffffffffffffffffffffffffffffffff163314611146576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161060e565b611150600061283b565b565b6040517f1959a002000000000000000000000000000000000000000000000000000000008152306004820152600090819073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000007b5cbb38cb84d3d1580eba93ebed551d0b7d74121690631959a0029060240161012060405180830381865afa1580156111e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112069190612efe565b5050505050505050905060007f0000000000000000000000007b5cbb38cb84d3d1580eba93ebed551d0b7d741273ffffffffffffffffffffffffffffffffffffffff166377c7b8fc6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561127d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a19190612ed0565b9050670de0b6b3a76400006112b68284612e29565b6112c09190612e66565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201527f000000000000000000000000eb3c930c1e0d3434ff917ffd77aa813e7d79ae3973ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa15801561134a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061136e9190612ed0565b6113789190612eb8565b9250505090565b60006002546000146113b257600254611396611152565b6113a890670de0b6b3a7640000612e29565b610e079190612e66565b50670de0b6b3a764000090565b60035473ffffffffffffffffffffffffffffffffffffffff163314611440576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015260640161060e565b60005474010000000000000000000000000000000000000000900460ff16156114c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161060e565b6114cd6128b0565b6040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b33600090815260016020526040902054611150906106e6565b60035473ffffffffffffffffffffffffffffffffffffffff163314611592576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015260640161060e565b61271081101561164a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604560248201527f7769746864726177416d6f756e74426f6f737465722063616e6e6f742062652060448201527f6c657373207468616e204d494e5f57495448445241575f414d4f554e545f424f60648201527f4f53544552000000000000000000000000000000000000000000000000000000608482015260a40161060e565b61271a811115611702576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604560248201527f7769746864726177416d6f756e74426f6f737465722063616e6e6f742062652060448201527f6d6f7265207468616e204d41585f57495448445241575f414d4f554e545f424f60648201527f4f53544552000000000000000000000000000000000000000000000000000000608482015260a40161060e565b60058190556040518181527f6029d76ffeb0d7684607fa1164412e907a5fcb0849976856b2f98f0ae49fb457906020016106db565b60035473ffffffffffffffffffffffffffffffffffffffff1633146117b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015260640161060e565b6101f481111561184a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f77697468647261774665652063616e6e6f74206265206d6f7265207468616e2060448201527f4d41585f57495448445241575f46454500000000000000000000000000000000606482015260840161060e565b60078190556040518181527fd5fe46099fa396290a7f57e36c3c3c8774e2562c18ed5d1dcc0fa75071e03f1d906020016106db565b60005474010000000000000000000000000000000000000000900460ff1615611904576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161060e565b60045474010000000000000000000000000000000000000000900460ff16611988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4e6f7420616c6c6f77656420746f207374616b65000000000000000000000000604482015260640161060e565b6509184e72a0008111611a1d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f4465706f73697420616d6f756e74206d7573742062652067726561746572207460448201527f68616e204d494e5f4445504f5349545f414d4f554e5400000000000000000000606482015260840161060e565b33600090815260016020526040812080549091908190819015611c7e576000600254611a47611152565b8654611a539190612e29565b611a5d9190612e66565b90506000856002015482611a719190612ea1565b905061271060065482611a849190612e29565b611a8e9190612e66565b93508315611c7b57611a9e611152565b600254611aab9086612e29565b611ab59190612e66565b925082866000016000828254611acb9190612ea1565b925050819055508260026000828254611ae49190612ea1565b9091555050838710611af95760019450611c7b565b60006509184e72a0008510611b0e5784611b16565b6509184e72a0005b905061271060055482611b299190612e29565b611b339190612e66565b6040517f5521e9bf000000000000000000000000000000000000000000000000000000008152600481018290529091507f0000000000000000000000007b5cbb38cb84d3d1580eba93ebed551d0b7d741273ffffffffffffffffffffffffffffffffffffffff1690635521e9bf90602401600060405180830381600087803b158015611bbe57600080fd5b505af1158015611bd2573d6000803e3d6000fd5b5050505084611bdf610d56565b1015611bf257611bed610d56565b611bf4565b845b600454909550611c3e9073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000eb3c930c1e0d3434ff917ffd77aa813e7d79ae3981169116876126ec565b604080518681526020810186905233917fba099d38a7da8262f6dc89809a028ddb51ce1f8fe4d9c7554ef909078f6e10c9910160405180910390a2505b50505b6000611c88611152565b9050611ccc73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000eb3c930c1e0d3434ff917ffd77aa813e7d79ae391633308961299c565b8315611d6157600454611d199073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000eb3c930c1e0d3434ff917ffd77aa813e7d79ae3981169116856126ec565b604080518481526020810184905233917fba099d38a7da8262f6dc89809a028ddb51ce1f8fe4d9c7554ef909078f6e10c9910160405180910390a2611d5e8382612ea1565b90505b6000600254600014611d8d578160025488611d7c9190612e29565b611d869190612e66565b9050611d90565b50855b80866000016000828254611da49190612eb8565b909155505042600187015560028054829190600090611dc4908490612eb8565b90915550611dd290506129fa565b600254611ddd611152565b8754611de99190612e29565b611df39190612e66565b6002870155426003870181905560408051898152602081018490529081019190915233907f269e310e936abd6c2408df165913683c9c53eef830fe562f699fd50c3b860c069060600160405180910390a250505050505050565b60035473ffffffffffffffffffffffffffffffffffffffff163314611ece576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015260640161060e565b60045474010000000000000000000000000000000000000000900460ff16611f52576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4e6f207374616b696e672063616b650000000000000000000000000000000000604482015260640161060e565b600480547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff168155604080517f853828b6000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000007b5cbb38cb84d3d1580eba93ebed551d0b7d7412169263853828b69280820192600092909182900301818387803b158015611fff57600080fd5b505af1158015612013573d6000803e3d6000fd5b50505050565b60035473ffffffffffffffffffffffffffffffffffffffff16331461209a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f61646d696e3a207775743f000000000000000000000000000000000000000000604482015260640161060e565b7f000000000000000000000000eb3c930c1e0d3434ff917ffd77aa813e7d79ae3973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612175576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f546f6b656e2063616e6e6f742062652073616d65206173206465706f7369742060448201527f746f6b656e000000000000000000000000000000000000000000000000000000606482015260840161060e565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8316906370a0823190602401602060405180830381865afa1580156121e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122069190612ed0565b905061222973ffffffffffffffffffffffffffffffffffffffff831633836126ec565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146122ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161060e565b73ffffffffffffffffffffffffffffffffffffffff811661232b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f43616e6e6f74206265207a65726f206164647265737300000000000000000000604482015260640161060e565b600480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527fafa147634b29e2c7bd53ce194256b9f41cfb9ba3036f2b822fdd1d965beea086906020016106db565b60005473ffffffffffffffffffffffffffffffffffffffff16331461241f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161060e565b73ffffffffffffffffffffffffffffffffffffffff81166124c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161060e565b6124cb8161283b565b50565b80158061256e57506040517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff838116602483015284169063dd62ed3e90604401602060405180830381865afa158015612548573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061256c9190612ed0565b155b6125fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000606482015260840161060e565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526126ce9084907f095ea7b300000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152612ab6565b505050565b60606126e28484600085612bc2565b90505b9392505050565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526126ce9084907fa9059cbb000000000000000000000000000000000000000000000000000000009060640161264c565b60005474010000000000000000000000000000000000000000900460ff166127c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015260640161060e565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005474010000000000000000000000000000000000000000900460ff1615612935576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161060e565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586128113390565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526120139085907f23b872dd000000000000000000000000000000000000000000000000000000009060840161264c565b6000612a04610d56565b905080156124cb576040517fe2bbb15800000000000000000000000000000000000000000000000000000000815260048101829052600060248201527f0000000000000000000000007b5cbb38cb84d3d1580eba93ebed551d0b7d741273ffffffffffffffffffffffffffffffffffffffff169063e2bbb15890604401600060405180830381600087803b158015612a9b57600080fd5b505af1158015612aaf573d6000803e3d6000fd5b5050505050565b6000612b18826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166126d39092919063ffffffff16565b8051909150156126ce5780806020019051810190612b369190612f6e565b6126ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840161060e565b606082471015612c54576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c0000000000000000000000000000000000000000000000000000606482015260840161060e565b73ffffffffffffffffffffffffffffffffffffffff85163b612cd2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161060e565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051612cfb9190612fb5565b60006040518083038185875af1925050503d8060008114612d38576040519150601f19603f3d011682016040523d82523d6000602084013e612d3d565b606091505b5091509150612d4d828286612d58565b979650505050505050565b60608315612d675750816126e5565b825115612d775782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060e9190612fd1565b600060208284031215612dbd57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146126e557600080fd5b600060208284031215612df357600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612e6157612e61612dfa565b500290565b600082612e9c577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600082821015612eb357612eb3612dfa565b500390565b60008219821115612ecb57612ecb612dfa565b500190565b600060208284031215612ee257600080fd5b5051919050565b80518015158114612ef957600080fd5b919050565b60008060008060008060008060006101208a8c031215612f1d57600080fd5b8951985060208a0151975060408a0151965060608a0151955060808a0151945060a08a0151935060c08a01519250612f5760e08b01612ee9565b91506101008a015190509295985092959850929598565b600060208284031215612f8057600080fd5b6126e582612ee9565b60005b83811015612fa4578181015183820152602001612f8c565b838111156120135750506000910152565b60008251612fc7818460208701612f89565b9190910192915050565b6020815260008251806020840152612ff0816040850160208701612f89565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea2646970667358221220571f2031e2ab2d5aa755a51efe7fb4580f002b900485ae5b0bb1b68f7da193ce64736f6c634300080d0033