Contract 0x3244b3b6030f374bafa5f8f80ec2f06aaf104b64 2

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x01c803cf8e95251b1557bad84cc4727bcfdcb2b35aa4f760f086a572df3c6cd2Approve145598352022-01-21 13:23:336 mins ago0xe00223e397c7ae83ab9501ac358c766f5f737c83 IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.00022215
0xc740eed74ba7b827455bf38d8a02157f7756fb7dcd188be115e109380204532cApprove145597952022-01-21 13:21:338 mins ago0xb840134502b670e48a31c5441e66669251c40d38 IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.00022215
0x0355e7004f3ff574f80fe03ee26de73214b7b4bf16000b7ae0b2c6ccd1ac2808Claim Unlocked145597752022-01-21 13:20:339 mins ago0xe83fc4857c8e57be2fadec0ee7515cd63912bc10 IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.000309235
0x6db6fcbbbca86e3d4e6790f10843e389442fa26c049f9dc1894b19f3c7f760e9Approve145597022022-01-21 13:16:5412 mins ago0x05bcc07db04ed371e43786df7f88f09ad9358023 IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.00022215
0x1f6bec50a6b598500f9738d0711ebc743cf9a9aca6e013600a133691923983adApprove145597022022-01-21 13:16:5412 mins ago0xe83fc4857c8e57be2fadec0ee7515cd63912bc10 IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.00022215
0x9c66f614eb0d0d56afee4bd0310979a4c38e6b38022361d04c8b6b4323c64786Approve145596892022-01-21 13:16:1513 mins ago0x84abcc480991094a221772bc30ca0628bfeaaa7a IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.00022215
0xcb2622a88c0b1260acc75393f37207fa51a16394c980f36ec345998795688c0aTransfer145596722022-01-21 13:15:2414 mins ago0xb294864d7e757df7e66a4498fbe9de78dc115dda IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.000269695
0xe6026c3b2ea323a9b131091340b6bfd1af7dea2df5691b403d554da23b9a1589Approve145596512022-01-21 13:14:2115 mins ago0x2045b25f66ecb2c80ce2a93f9843786b23f91d0f IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.00022215
0xe42734545031f535d39b0af4de7ff0f66b166f24bc7eab50bbd699b25dce60bdTransfer145596042022-01-21 13:12:0017 mins ago0xb294864d7e757df7e66a4498fbe9de78dc115dda IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.00019731
0x3e0c181dc86717e0ce4872499fda52b9ed628e6c2b5c159955927b9d58440860Approve145595922022-01-21 13:11:2418 mins ago0x9ef8d333cc393920fe99445311dcdcfe1bef3d50 IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.00022215
0x033917332b64b732ddd06b259931f6393f176d76975a059ba126edbdb5b5deb5Approve145595672022-01-21 13:10:0919 mins ago0x9ef8d333cc393920fe99445311dcdcfe1bef3d50 IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.00022215
0x848aa262bbd42463cb68bf5eaef7e813a8b14f7bbdf92ee2ccbc1d7ff405f0b2Approve145594932022-01-21 13:06:2723 mins ago0xe83fc4857c8e57be2fadec0ee7515cd63912bc10 IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.00022215
0xbc3fe2dc643b2ce62703452baa00e9fef591c01c7ded93363a52b498c4b635fcApprove145594902022-01-21 13:06:1823 mins ago0xc7158d18bc9c87fdf29945b8c571542ce6347748 IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.00022215
0x485d52c624303f6253e7953631a5784957bfb3d2fa408d67f3011d6bb91ef71aApprove145594592022-01-21 13:04:4525 mins ago0x60a2b403da86ffa2edb220ef350d5ab99b531e5d IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.00022215
0x99d63e5ec064d20294ede33e9c6dc6f68dad7ee3f612130fbda86f71ad6b6b4bApprove145594502022-01-21 13:04:1825 mins ago0xf41f9fff63497a24bcd94e103daa134a43f21d7d IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.00022215
0xaf458552640c960b920d8a1e8cd8d662e6e962d11d89dea82878a052063e87d7Transfer145592892022-01-21 12:56:1533 mins ago0x32d6e931555a3f30b6190065c971b8484ee18ed2 IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.000269695
0x12fdb8410e90389ea89ae5878d04974e51808ec19446a25e957626183884128aApprove145591952022-01-21 12:51:3338 mins ago0xa68fbff2ccae0ba3efdafe337fc6819cb7ed502d IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.00022215
0xe8433a8e2aa4cc8e5f39eadf413a79adccafd600a5d6b6e1633627a7018e8d39Approve145591622022-01-21 12:49:5439 mins ago0xe83fc4857c8e57be2fadec0ee7515cd63912bc10 IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.00022215
0x98601641264f017144b240f67ab54ac8343e7623e49a9f8c43660792975a8478Unstake145591492022-01-21 12:49:1540 mins ago0xf50272ef413ef32956f9d5b9975fb7defc616e49 IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.000316765
0xdc43ae66cf80e5c5d8dee0e75813702c17089c5fbbf1222327ccf04a861fedf4Approve145588362022-01-21 12:33:3556 mins ago0x7cc9d7a2fad250489b8ea6d04e5deb21c6769295 IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.00022215
0x800fc27b898b6a1e19d79c170e6a879a0a8466f68f3538f5b72d979007497b11Approve145586712022-01-21 12:25:201 hr 4 mins ago0x82d58684066b3a708adc3742310c9c1dfd785256 IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.00022215
0x1531ede944e50cb66b1d06ef224dd796124e33d9494519fb2a39d5ea18ea6378Transfer145584222022-01-21 12:12:531 hr 16 mins ago0x7e8a1c51c717de81ae9bc6e784817fd82a41bb1d IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.00027219
0x3f0134062f4dcab7024f4d47da602faadc4982013443c43889ef5756c5f77817Approve145583182022-01-21 12:07:411 hr 22 mins ago0xbfae6faa5e6a4b1339007bc1ba6553a31620dde7 IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.00022215
0x508ae7382c4f8c1710d58941ba333ebdc5ad988710ebc110f1c444f6c10b06dbApprove145582982022-01-21 12:06:411 hr 23 mins ago0x4a6ded714825623bd6ab6d0d5d1271a58f5e4edd IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.00022215
0xa93f805c9ea6d23dd98d323b794cdd50b536c449d138669f657d0cb2c88f431cUnstake145582722022-01-21 12:05:231 hr 24 mins ago0x26104e298811d5e91ef2103150efc4b825ad7dfb IN  0x3244b3b6030f374bafa5f8f80ec2f06aaf104b640 BNB0.000391765
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ROFIToken

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-12-05
*/

// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;

// 
/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor() internal {}

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

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

abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

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

    function safeTransferFrom(BEP20 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(BEP20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

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

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

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

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

// 
/**
 * @dev 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.
 */
contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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 onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), 'Ownable: new owner is the zero address');
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// 
interface IBEP20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the token decimals.
     */
    function decimals() external view returns (uint8);

    /**
     * @dev Returns the token symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the token name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

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

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

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

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

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

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

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


interface IROFI is IBEP20 {
    function getUnlockFactor(address token) external view returns (uint256);
    function getUnlockBlockGap(address token) external view returns (uint256);

    function totalUnlocked() external view returns (uint256);
    function unlockedOf(address account) external view returns (uint256);
    function lockedOf(address account) external view returns (uint256);

    function getStaked(address token) external view returns (uint256);
    function getUnlockSpeed(address staker, address token) external view returns (uint256);
    function claimableUnlocked(address token, address account) external view returns (uint256);

    function setUnlockFactor(address token, uint256 _factor) external;
    function setUnlockBlockGap(address token, uint256 _blockGap) external;

    function stake(address token, uint256 amount) external returns (bool);
    function unstake(address token, uint256 amount) external returns (bool);
    function claimUnlocked(address token) external returns (bool);

    function setAuthorizedUnlockedMintCaller(address caller) external;
    function removeAuthorizedUnlockedMintCaller(address caller) external;
    function setAuthorizedLockedMintCaller(address caller) external;
    function removeAuthorizedLockedMintCaller(address caller) external;

    function mintUnlockedToken(address to, uint256 amount) external;
    function mintLockedToken(address to, uint256 amount) external;
}

// 
/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, 'SafeMath: addition overflow');

        return c;
    }

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

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

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, 'SafeMath: multiplication overflow');

        return c;
    }

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

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

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

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

    function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = x < y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            codehash := extcodehash(account)
        }
        return (codehash != accountHash && codehash != 0x0);
    }

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

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

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

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

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

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

    function _functionCallWithValue(
        address target,
        bytes memory data,
        uint256 weiValue,
        string memory errorMessage
    ) private returns (bytes memory) {
        require(isContract(target), 'Address: call to non-contract');

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{value: weiValue}(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external override view returns (address) {
        return owner();
    }

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

    /**
     * @dev Returns the token decimals.
     */
    function decimals() public override view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev Returns the token symbol.
     */
    function symbol() public override view returns (string memory) {
        return _symbol;
    }

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

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

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

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

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

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

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

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

    /**
     * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing
     * the total supply.
     *
     * Requirements
     *
     * - `msg.sender` must be the token owner
    function mint(uint256 amount) public onlyOwner returns (bool) {
        _mint(_msgSender(), amount);
        return true;
    }
     */

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

        _balances[sender] = _balances[sender].sub(amount, 'BEP20: transfer amount exceeds balance');
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

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

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

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

        _balances[account] = _balances[account].sub(amount, 'BEP20: burn amount exceeds balance');
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(
            account,
            _msgSender(),
            _allowances[account][_msgSender()].sub(amount, 'BEP20: burn amount exceeds allowance')
        );
    }
}

/**
 * @title Pausable
 * @dev Base contract which allows children to implement an emergency stop mechanism.
 */
contract Pausable is Ownable {
  event Pause();
  event Unpause();

  bool public paused = false;


  /**
  * @dev modifier to allow actions only when the contract IS paused
  */
  modifier whenNotPaused() {
    require (!paused, "Token contract is paused");
    _;
  }

  /**
  * @dev modifier to allow actions only when the contract IS NOT paused
  */
  modifier whenPaused {
    require (paused, "Token contract has not been paused") ;
    _;
  }

  /**
  * @dev called by the owner to pause, triggers stopped state
  */
  function pause() onlyOwner external whenNotPaused returns (bool) {
    paused = true;
    emit Pause();
    return true;
  }

  /**
  * @dev called by the owner to unpause, returns to normal state
  */
  function unpause() onlyOwner external whenPaused returns (bool) {
    paused = false;
    emit Unpause();
    return true;
  }
}

// ROFIToken with Governance.
contract ROFIToken is BEP20('HeroFi', 'ROFI'), Pausable, IROFI, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for BEP20;

    struct LpStakeInfo {
        uint256 amountStaked;
        uint256 blockNumber;
    }

    event LOG_UNLOCK_TRANSFER (
        address indexed from,
        address indexed to,
        uint256 amount
    );

    event LOG_STAKE (
        address indexed staker,
        address indexed token,
        uint256 stakeAmount
    );

    event LOG_UNSTAKE (
        address indexed staker,
        address indexed token,
        uint256 unstakeAmount
    );

    event LOG_CLAIM_UNLOCKED (
        address indexed staker,
        uint256 claimedAmount
    );

    event LOG_SET_UNLOCK_FACTOR (
        address indexed token,
        uint256 factor
    );

    event LOG_SET_UNLOCK_BLOCK_GAP (
        address indexed token,
        uint256 blockGap
    );
    
    event ConsumerDeposit (
        address indexed sender,
        address indexed recipient,
        uint256 amount
    );

    event SET_AUTHORIZED_LOCKED_MINT_CALLER (
        address indexed caller
    );

    event REMOVE_AUTHORIZED_LOCKED_MINT_CALLER (
        address indexed caller
    );

    event SET_AUTHORIZED_UNLOCKED_MINT_CALLER (
        address indexed caller
    );

    event REMOVE_AUTHORIZED_UNLOCKED_MINT_CALLER (
        address indexed caller
    );

    event SET_CONSUMER_CONTRACT (
        address indexed consumer
    );

    event REMOVE_CONSUMER_CONTRACT (
        address indexed consumer
    );

    uint256 public constant FACTOR_DENOMINATOR = 10 ** 8;

    mapping (address => uint256) private _unlocks;
    mapping (address => mapping(address => LpStakeInfo)) private _stakingRecords;
    mapping (address => uint256) private _unlockFactor;
    mapping (address => uint256) private _unlockBlockGap;
    mapping (address => bool) public _authorizedUnlockedMintCaller;
    mapping (address => bool) public _authorizedLockedMintCaller;
    mapping (address => bool) public _consumerContracts;

    uint256 private _totalUnlocked;

    modifier onlyAuthorizedUnlockedMintCaller() {
        require(_msgSender() == owner() || _authorizedUnlockedMintCaller[_msgSender()],"ROFI: UNLOCKED_MINT_CALLER_NOT_AUTHORIZED");
        _;
    }
    
    modifier onlyAuthorizedLockedMintCaller() {
        require(_msgSender() == owner() || _authorizedUnlockedMintCaller[_msgSender()] || _authorizedLockedMintCaller[_msgSender()],"ROFI: LOCKED_MINT_CALLER_NOT_AUTHORIZED");
        _;
    }
    
    uint256 public _maxCap;

    
    constructor() public {
        _maxCap = 100000000 * (10 ** uint256(decimals()));
    }    
    function getUnlockFactor(address token) external view override returns (uint256) {
        return _unlockFactor[token];
    }

    function getUnlockBlockGap(address token) external view override returns (uint256) {
        return _unlockBlockGap[token];
    }

    function totalUnlocked() external view override returns (uint256) {
        return _totalUnlocked;
    }

    function unlockedOf(address account) public view override returns (uint256) {
        return _unlocks[account];
    }

    function lockedOf(address account) public view override returns (uint256) {
        return balanceOf(account).sub(_unlocks[account]);
    }

    function getStaked(address token) external view override returns (uint256) {
        return _stakingRecords[_msgSender()][token].amountStaked;
    }

    function getUnlockSpeed(address staker, address token) external view override returns (uint256) {
        LpStakeInfo storage info = _stakingRecords[staker][token];
        return _getUnlockSpeed(token, staker, info.amountStaked);
    }

    function claimableUnlocked(address token, address account) external view override returns (uint256) {
        LpStakeInfo storage info = _stakingRecords[account][token];
        return _settleUnlockAmount(account, token, info.amountStaked, info.blockNumber);
    }


    function setUnlockFactor(address token, uint256 _factor) external override onlyOwner {
        _unlockFactor[token] = _factor;
        emit LOG_SET_UNLOCK_FACTOR(token, _factor);
    }
  
    function setUnlockBlockGap(address token, uint256 _blockGap) external override onlyOwner {
        _unlockBlockGap[token] = _blockGap;
        emit LOG_SET_UNLOCK_BLOCK_GAP(token, _blockGap);
    }
    
    function stake(address token, uint256 amount) external override nonReentrant returns (bool) {
        require(_unlockFactor[token] > 0, "ROFI: FACTOR_NOT_SET");
        require(_unlockBlockGap[token] > 0, "ROFI: BLOCK_GAP_NOT_SET");
        _pullToken(token, _msgSender(), amount);
        LpStakeInfo storage info = _stakingRecords[_msgSender()][token];
        uint256 unlockedAmount = _settleUnlockAmount(_msgSender(), token, info.amountStaked, info.blockNumber);
        _updateStakeRecord(_msgSender(), token, info.amountStaked.add(amount));
        _mintUnlocked(_msgSender(), unlockedAmount);
        emit LOG_STAKE(_msgSender(), token, amount);
        return true;
    }

    function unstake(address token, uint256 amount) external override nonReentrant returns (bool) {
        require(amount > 0, "ROFI: ZERO_UNSTAKE_AMOUNT");
        LpStakeInfo storage info = _stakingRecords[_msgSender()][token];
        require(amount <= info.amountStaked, "ROFI: UNSTAKE_AMOUNT_EXCEEDED");
        uint256 unlockedAmount = _settleUnlockAmount(_msgSender(), token, info.amountStaked, info.blockNumber);
        _updateStakeRecord(_msgSender(), token, info.amountStaked.sub(amount));
        _mintUnlocked(_msgSender(), unlockedAmount);
        _pushToken(token, _msgSender(), amount);
        emit LOG_UNSTAKE(_msgSender(), token, amount);
        return true;
    }

    function claimUnlocked(address token) external override nonReentrant returns (bool) {
        LpStakeInfo storage info = _stakingRecords[_msgSender()][token];
        uint256 unlockedAmount = _settleUnlockAmount(_msgSender(), token, info.amountStaked, info.blockNumber);
        _updateStakeRecord(_msgSender(), token, info.amountStaked);
        _mintUnlocked(_msgSender(), unlockedAmount);
        emit LOG_CLAIM_UNLOCKED(_msgSender(), unlockedAmount);
        return true;
    }

    function _updateStakeRecord(address staker, address token, uint256 _amountStaked) internal {
        _stakingRecords[staker][token].amountStaked = _amountStaked;
        _stakingRecords[staker][token].blockNumber = block.number;
    }

    function mintUnlockedToken(address to, uint256 amount) onlyAuthorizedUnlockedMintCaller external override {
        require(amount.add(totalSupply()) <= _maxCap, "ROFI: MAX_CAP_REACHED");
        _mint(to, amount);
        _mintUnlocked(to, amount);
        _moveDelegates(address(0), _delegates[to], amount);
    }

    function mintLockedToken(address to, uint256 amount) onlyAuthorizedLockedMintCaller external override {
        require(amount.add(totalSupply()) <= _maxCap, "ROFI: MAX_CAP_REACHED");
        _mint(to, amount);
        _moveDelegates(address(0), _delegates[to], amount);
    }

    function setAuthorizedUnlockedMintCaller(address caller) onlyOwner external override {
        _authorizedUnlockedMintCaller[caller] = true;
        emit SET_AUTHORIZED_UNLOCKED_MINT_CALLER(caller);
    }

    function removeAuthorizedUnlockedMintCaller(address caller) onlyOwner external override {
        _authorizedUnlockedMintCaller[caller] = false;
        emit REMOVE_AUTHORIZED_UNLOCKED_MINT_CALLER(caller);
    }

    function setAuthorizedLockedMintCaller(address caller) onlyOwner external override {
        _authorizedLockedMintCaller[caller] = true;
        emit SET_AUTHORIZED_LOCKED_MINT_CALLER(caller);
    }

    function removeAuthorizedLockedMintCaller(address caller) onlyOwner external override {
        _authorizedLockedMintCaller[caller] = false;
        emit REMOVE_AUTHORIZED_LOCKED_MINT_CALLER(caller);
    }

    function setConsumerContract(address caller) onlyOwner public {
        _consumerContracts[caller] = true;
        emit SET_CONSUMER_CONTRACT(caller);
    }

    function removeConsumerContract(address caller) onlyOwner public {
        _consumerContracts[caller] = false;
        emit REMOVE_CONSUMER_CONTRACT(caller);
    }

    function _settleUnlockAmount(address staker, address token, uint256 lpStaked, uint256 upToBlockNumber) internal view returns (uint256) {
        uint256 unlockSpeed = _getUnlockSpeed(token, staker, lpStaked);
        uint256 blocks = block.number.sub(upToBlockNumber);
        uint256 unlockedAmount = unlockSpeed.mul(blocks).div(FACTOR_DENOMINATOR);
        uint256 lockedAmount = lockedOf(staker);
        if (unlockedAmount > lockedAmount) {
            unlockedAmount = lockedAmount;
        }
        return unlockedAmount;
    }

    function _mintUnlocked(address recipient, uint256 amount) internal {
        _unlocks[recipient] = _unlocks[recipient].add(amount);
        _totalUnlocked = _totalUnlocked.add(amount);
        emit LOG_UNLOCK_TRANSFER(address(0), recipient, amount);
    }

    function _getUnlockSpeed(address token, address staker, uint256 lpStaked) internal view returns (uint256) {
        uint256 toBeUnlocked = lockedOf(staker);
        uint256 unlockSpeed = _unlockFactor[token].mul(lpStaked);
        uint256 maxUnlockSpeed = toBeUnlocked.mul(FACTOR_DENOMINATOR).div(_unlockBlockGap[token]);
        if(unlockSpeed > maxUnlockSpeed) {
            unlockSpeed = maxUnlockSpeed;
        }
        return unlockSpeed;
    }

    function _unlockTransfer(address sender, address recipient, uint256 amount) internal {
        require(sender != address(0), "BEP20: transfer from the zero address");
        require(recipient != address(0), "BEP20: transfer to the zero address");
        if (_consumerContracts[recipient]) {
            require(!_consumerContracts[sender], "Can't send from consumer to consumer");
            uint256 locked_balance = balanceOf(sender).add(amount).sub(_unlocks[sender]); // Add amount because in the previous transaction, "amount" has been deducted
            if (amount < locked_balance) {
                _mintUnlocked(recipient, amount);
            }else{
                _unlocks[sender] = balanceOf(sender);
                _mintUnlocked(recipient, locked_balance);
                _unlocks[recipient] = _unlocks[recipient].add(amount.sub(locked_balance)); // Add the rest of unlocked amount to recipient
            }
            emit ConsumerDeposit(sender, recipient, amount);
        }else{
            _unlocks[sender] = _unlocks[sender].sub(amount, "BEP20: transfer amount exceeds unlocked balance");
            _unlocks[recipient] = _unlocks[recipient].add(amount);
            emit LOG_UNLOCK_TRANSFER(sender, recipient, amount);
        }
    }

    function _pullToken(address token, address from, uint256 amount) internal {
        BEP20(token).safeTransferFrom(from, address(this), amount);
    }

    function _pushToken(address token, address to, uint256 amount) internal {
        BEP20(token).safeTransfer(to, amount);
    }
    
     //to recieve ETH from uniswapV2Router when swaping
    receive() external payable {}

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

    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual returns (bool) {
        _burn(_msgSender(), amount);
        uint256 unlockSubAmount = amount < _unlocks[_msgSender()] ? amount : _unlocks[_msgSender()];
        _unlocks[_msgSender()] = _unlocks[_msgSender()].sub(unlockSubAmount);
        _totalUnlocked = _totalUnlocked.sub(unlockSubAmount);
        return true;
    }    

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

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

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

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

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

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ConsumerDeposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"claimedAmount","type":"uint256"}],"name":"LOG_CLAIM_UNLOCKED","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"blockGap","type":"uint256"}],"name":"LOG_SET_UNLOCK_BLOCK_GAP","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"factor","type":"uint256"}],"name":"LOG_SET_UNLOCK_FACTOR","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"stakeAmount","type":"uint256"}],"name":"LOG_STAKE","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LOG_UNLOCK_TRANSFER","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"unstakeAmount","type":"uint256"}],"name":"LOG_UNSTAKE","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"REMOVE_AUTHORIZED_LOCKED_MINT_CALLER","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"REMOVE_AUTHORIZED_UNLOCKED_MINT_CALLER","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"consumer","type":"address"}],"name":"REMOVE_CONSUMER_CONTRACT","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"SET_AUTHORIZED_LOCKED_MINT_CALLER","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"}],"name":"SET_AUTHORIZED_UNLOCKED_MINT_CALLER","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"consumer","type":"address"}],"name":"SET_CONSUMER_CONTRACT","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FACTOR_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_authorizedLockedMintCaller","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_authorizedUnlockedMintCaller","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_consumerContracts","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"claimUnlocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"claimableUnlocked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"getStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"getUnlockBlockGap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"getUnlockFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"staker","type":"address"},{"internalType":"address","name":"token","type":"address"}],"name":"getUnlockSpeed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"lockedOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintLockedToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintUnlockedToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"caller","type":"address"}],"name":"removeAuthorizedLockedMintCaller","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"caller","type":"address"}],"name":"removeAuthorizedUnlockedMintCaller","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"caller","type":"address"}],"name":"removeConsumerContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"caller","type":"address"}],"name":"setAuthorizedLockedMintCaller","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"caller","type":"address"}],"name":"setAuthorizedUnlockedMintCaller","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"caller","type":"address"}],"name":"setConsumerContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"_blockGap","type":"uint256"}],"name":"setUnlockBlockGap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"_factor","type":"uint256"}],"name":"setUnlockFactor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalUnlocked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"unlockedOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"unstake","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526006805461ff00191690553480156200001c57600080fd5b50604051806040016040528060068152602001654865726f466960d01b81525060405180604001604052806004815260200163524f464960e01b81525060006200006b6200011760201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000ca90600490602085019062000124565b508051620000e090600590602084019062000124565b50506006805460ff19166012179055506001600755620000ff6200011b565b60ff16600a0a6305f5e10002601081905550620001c0565b3390565b60065460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200016757805160ff191683800117855562000197565b8280016001018555821562000197579182015b82811115620001975782518255916020019190600101906200017a565b50620001a5929150620001a9565b5090565b5b80821115620001a55760008155600101620001aa565b613f2780620001d06000396000f3fe6080604052600436106103545760003560e01c8063782d6fe1116101c6578063a9059cbb116100f7578063caad546e11610095578063dd62ed3e1161006f578063dd62ed3e14610d47578063e7a324dc14610d82578063f1127ed814610d97578063f2fde38b14610df65761035b565b8063caad546e14610ca6578063ccd8749014610cd9578063d07e180e14610d0c5761035b565b8063c2a672e0116100d1578063c2a672e014610bd1578063c3cda52014610c0a578063c6a69b9c14610c5e578063c9498d4414610c915761035b565b8063a9059cbb14610b2c578063adc9772e14610b65578063b4b5ea5714610b9e5761035b565b80639261d1c111610164578063966225971161013e5780639662259714610a78578063a457c2d714610aab578063a5f1e28214610ae4578063a779d08014610b175761035b565b80639261d1c1146109fd57806394fa560b14610a3057806395d89b4114610a635761035b565b80638094bc11116101a05780638094bc111461098b5780638456cb59146109be578063893d20e8146109d35780638da5cb5b146109e85761035b565b8063782d6fe1146108ec5780637ecebe00146109255780637f431cd0146109585761035b565b80633f4ba83a116102a05780635ef73d581161023e5780636fcfff45116102185780636fcfff451461082557806370a0823114610871578063715018a6146108a4578063718489c5146108b95761035b565b80635ef73d58146107a4578063617b8ced146107b9578063655af2f3146107f25761035b565b806342966c681161027a57806342966c68146106e3578063587cde1e1461070d5780635c19a95c1461075c5780635c975abb1461078f5761035b565b80633f4ba83a146106685780633fe9c2531461067d578063400bea94146106b05761035b565b80632268e19e1161030d57806331c560aa116102e757806331c560aa1461058e57806339509351146105c1578063399080ec146105fa5780633a3dbc9a1461062d5761035b565b80632268e19e146104e757806323b872dd14610520578063313ce567146105635761035b565b806306fdde0314610360578063095ea7b3146103ea5780630dc47c3c1461043757806318160ddd146104725780631cc6b7d41461049957806320606b70146104d25761035b565b3661035b57005b600080fd5b34801561036c57600080fd5b50610375610e29565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103af578181015183820152602001610397565b50505050905090810190601f1680156103dc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103f657600080fd5b506104236004803603604081101561040d57600080fd5b506001600160a01b038135169060200135610ebf565b604080519115158252519081900360200190f35b34801561044357600080fd5b506104706004803603604081101561045a57600080fd5b506001600160a01b038135169060200135610edd565b005b34801561047e57600080fd5b50610487611008565b60408051918252519081900360200190f35b3480156104a557600080fd5b50610470600480360360408110156104bc57600080fd5b506001600160a01b03813516906020013561100e565b3480156104de57600080fd5b5061048761112f565b3480156104f357600080fd5b506104706004803603604081101561050a57600080fd5b506001600160a01b038135169060200135611153565b34801561052c57600080fd5b506104236004803603606081101561054357600080fd5b506001600160a01b038135811691602081013590911690604001356111ff565b34801561056f57600080fd5b50610578611286565b6040805160ff9092168252519081900360200190f35b34801561059a57600080fd5b50610470600480360360208110156105b157600080fd5b50356001600160a01b031661128f565b3480156105cd57600080fd5b50610423600480360360408110156105e457600080fd5b506001600160a01b038135169060200135611333565b34801561060657600080fd5b506104876004803603602081101561061d57600080fd5b50356001600160a01b0316611381565b34801561063957600080fd5b506104876004803603604081101561065057600080fd5b506001600160a01b03813581169160200135166113c0565b34801561067457600080fd5b506104236113fe565b34801561068957600080fd5b50610487600480360360208110156106a057600080fd5b50356001600160a01b03166114d8565b3480156106bc57600080fd5b50610487600480360360208110156106d357600080fd5b50356001600160a01b03166114f3565b3480156106ef57600080fd5b506104236004803603602081101561070657600080fd5b503561150e565b34801561071957600080fd5b506107406004803603602081101561073057600080fd5b50356001600160a01b03166115fb565b604080516001600160a01b039092168252519081900360200190f35b34801561076857600080fd5b506104706004803603602081101561077f57600080fd5b50356001600160a01b0316611619565b34801561079b57600080fd5b50610423611626565b3480156107b057600080fd5b50610487611634565b3480156107c557600080fd5b50610470600480360360408110156107dc57600080fd5b506001600160a01b03813516906020013561163c565b3480156107fe57600080fd5b506104706004803603602081101561081557600080fd5b50356001600160a01b03166116e8565b34801561083157600080fd5b506108586004803603602081101561084857600080fd5b50356001600160a01b031661178c565b6040805163ffffffff9092168252519081900360200190f35b34801561087d57600080fd5b506104876004803603602081101561089457600080fd5b50356001600160a01b03166117a4565b3480156108b057600080fd5b506104706117bf565b3480156108c557600080fd5b50610423600480360360208110156108dc57600080fd5b50356001600160a01b0316611861565b3480156108f857600080fd5b506104876004803603604081101561090f57600080fd5b506001600160a01b038135169060200135611992565b34801561093157600080fd5b506104876004803603602081101561094857600080fd5b50356001600160a01b0316611b9a565b34801561096457600080fd5b506104706004803603602081101561097b57600080fd5b50356001600160a01b0316611bac565b34801561099757600080fd5b50610470600480360360208110156109ae57600080fd5b50356001600160a01b0316611c4d565b3480156109ca57600080fd5b50610423611cee565b3480156109df57600080fd5b50610740611dde565b3480156109f457600080fd5b50610740611ded565b348015610a0957600080fd5b5061047060048036036020811015610a2057600080fd5b50356001600160a01b0316611dfc565b348015610a3c57600080fd5b5061042360048036036020811015610a5357600080fd5b50356001600160a01b0316611e9d565b348015610a6f57600080fd5b50610375611eb2565b348015610a8457600080fd5b5061042360048036036020811015610a9b57600080fd5b50356001600160a01b0316611f13565b348015610ab757600080fd5b5061042360048036036040811015610ace57600080fd5b506001600160a01b038135169060200135611f28565b348015610af057600080fd5b5061048760048036036020811015610b0757600080fd5b50356001600160a01b0316611f90565b348015610b2357600080fd5b50610487611fbc565b348015610b3857600080fd5b5061042360048036036040811015610b4f57600080fd5b506001600160a01b038135169060200135611fc2565b348015610b7157600080fd5b5061042360048036036040811015610b8857600080fd5b506001600160a01b038135169060200135611fd6565b348015610baa57600080fd5b5061048760048036036020811015610bc157600080fd5b50356001600160a01b03166121f4565b348015610bdd57600080fd5b5061042360048036036040811015610bf457600080fd5b506001600160a01b038135169060200135612258565b348015610c1657600080fd5b50610470600480360360c0811015610c2d57600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135612441565b348015610c6a57600080fd5b5061047060048036036020811015610c8157600080fd5b50356001600160a01b03166126b4565b348015610c9d57600080fd5b50610487612758565b348015610cb257600080fd5b5061048760048036036020811015610cc957600080fd5b50356001600160a01b031661275e565b348015610ce557600080fd5b5061042360048036036020811015610cfc57600080fd5b50356001600160a01b0316612779565b348015610d1857600080fd5b5061048760048036036040811015610d2f57600080fd5b506001600160a01b038135811691602001351661278e565b348015610d5357600080fd5b5061048760048036036040811015610d6a57600080fd5b506001600160a01b03813581169160200135166127ca565b348015610d8e57600080fd5b506104876127f5565b348015610da357600080fd5b50610dd660048036036040811015610dba57600080fd5b5080356001600160a01b0316906020013563ffffffff16612819565b6040805163ffffffff909316835260208301919091528051918290030190f35b348015610e0257600080fd5b5061047060048036036020811015610e1957600080fd5b50356001600160a01b0316612846565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610eb55780601f10610e8a57610100808354040283529160200191610eb5565b820191906000526020600020905b815481529060010190602001808311610e9857829003601f168201915b5050505050905090565b6000610ed3610ecc6128a7565b84846128ab565b5060015b92915050565b610ee5611ded565b6001600160a01b0316610ef66128a7565b6001600160a01b03161480610f305750600c6000610f126128a7565b6001600160a01b0316815260208101919091526040016000205460ff165b610f6b5760405162461bcd60e51b8152600401808060200182810382526029815260200180613e376029913960400191505060405180910390fd5b601054610f80610f79611008565b8390612997565b1115610fcb576040805162461bcd60e51b81526020600482015260156024820152741493d1924e8813505617d0d05417d4915050d21151605a1b604482015290519081900360640190fd5b610fd582826129f1565b610fdf8282612ad7565b6001600160a01b03808316600090815260116020526040812054611004921683612b68565b5050565b60035490565b611016611ded565b6001600160a01b03166110276128a7565b6001600160a01b031614806110615750600c60006110436128a7565b6001600160a01b0316815260208101919091526040016000205460ff165b806110915750600d60006110736128a7565b6001600160a01b0316815260208101919091526040016000205460ff165b6110cc5760405162461bcd60e51b8152600401808060200182810382526027815260200180613d1b6027913960400191505060405180910390fd5b6010546110da610f79611008565b1115611125576040805162461bcd60e51b81526020600482015260156024820152741493d1924e8813505617d0d05417d4915050d21151605a1b604482015290519081900360640190fd5b610fdf82826129f1565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b61115b6128a7565b6000546001600160a01b039081169116146111ab576040805162461bcd60e51b81526020600482018190526024820152600080516020613d63833981519152604482015290519081900360640190fd5b6001600160a01b0382166000818152600b6020908152604091829020849055815184815291517f4fa1c8bae1f2ee3d51f5bea75dc354c17cf230fdf1fa6bfa458cd03e2ede08bc9281900390910190a25050565b600061120c848484612caa565b61127c846112186128a7565b61127785604051806060016040528060288152602001613c79602891396001600160a01b038a166000908152600260205260408120906112566128a7565b6001600160a01b031681526020810191909152604001600020549190612d4a565b6128ab565b5060019392505050565b60065460ff1690565b6112976128a7565b6000546001600160a01b039081169116146112e7576040805162461bcd60e51b81526020600482018190526024820152600080516020613d63833981519152604482015290519081900360640190fd5b6001600160a01b0381166000818152600c6020526040808220805460ff19166001179055517fb71a830537f2a46bfe38ca9dfa4c27f3035881edbb56070438976f704260de559190a250565b6000610ed36113406128a7565b8461127785600260006113516128a7565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490612997565b60006009600061138f6128a7565b6001600160a01b03908116825260208083019390935260409182016000908120918616815292529020549050919050565b6001600160a01b038083166000908152600960209081526040808320938516835292905290812080546113f69084908690612de1565b949350505050565b60006114086128a7565b6000546001600160a01b03908116911614611458576040805162461bcd60e51b81526020600482018190526024820152600080516020613d63833981519152604482015290519081900360640190fd5b600654610100900460ff1661149e5760405162461bcd60e51b8152600401808060200182810382526022815260200180613c366022913960400191505060405180910390fd5b6006805461ff00191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a150600190565b6001600160a01b03166000908152600a602052604090205490565b6001600160a01b03166000908152600b602052604090205490565b600061152161151b6128a7565b83612e61565b60006008600061152f6128a7565b6001600160a01b03166001600160a01b0316815260200190815260200160002054831061158857600860006115626128a7565b6001600160a01b03166001600160a01b031681526020019081526020016000205461158a565b825b90506115bc816008600061159c6128a7565b6001600160a01b0316815260208101919091526040016000205490612f51565b600860006115c86128a7565b6001600160a01b03168152602081019190915260400160002055600f546115ef9082612f51565b600f5550600192915050565b6001600160a01b039081166000908152601160205260409020541690565b6116233382612f93565b50565b600654610100900460ff1681565b6305f5e10081565b6116446128a7565b6000546001600160a01b03908116911614611694576040805162461bcd60e51b81526020600482018190526024820152600080516020613d63833981519152604482015290519081900360640190fd5b6001600160a01b0382166000818152600a6020908152604091829020849055815184815291517ffbd482c9dea78c178879b07a2daa165a1348ac031421bb9917d8734de948fca39281900390910190a25050565b6116f06128a7565b6000546001600160a01b03908116911614611740576040805162461bcd60e51b81526020600482018190526024820152600080516020613d63833981519152604482015290519081900360640190fd5b6001600160a01b0381166000818152600e6020526040808220805460ff19166001179055517ff2a0d6edc9025ee073ca279894aa29d326881ac6898ed93dd5e02e0d0996a0fa9190a250565b60136020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526001602052604090205490565b6117c76128a7565b6000546001600160a01b03908116911614611817576040805162461bcd60e51b81526020600482018190526024820152600080516020613d63833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000600260075414156118bb576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260075560006009816118cd6128a7565b6001600160a01b0390811682526020808301939093526040918201600090812091871681529252812091506119136119036128a7565b8584600001548560010154613028565b90506119296119206128a7565b83548690613081565b61193a6119346128a7565b82612ad7565b6119426128a7565b6001600160a01b03167f9b0d7ec397f0d7459574b710fa67fcdfc3d3c80ca2d0c1a84a67dd566464b298826040518082815260200191505060405180910390a26001925050506001600755919050565b60004382106119d25760405162461bcd60e51b8152600401808060200182810382526026815260200180613ca16026913960400191505060405180910390fd5b6001600160a01b03831660009081526013602052604090205463ffffffff1680611a00576000915050610ed7565b6001600160a01b038416600090815260126020908152604080832063ffffffff600019860181168552925290912054168310611a6f576001600160a01b03841660009081526012602090815260408083206000199490940163ffffffff16835292905220600101549050610ed7565b6001600160a01b038416600090815260126020908152604080832083805290915290205463ffffffff16831015611aaa576000915050610ed7565b600060001982015b8163ffffffff168163ffffffff161115611b6357600282820363ffffffff16048103611adc613b7c565b506001600160a01b038716600090815260126020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415611b3e57602001519450610ed79350505050565b805163ffffffff16871115611b5557819350611b5c565b6001820392505b5050611ab2565b506001600160a01b038516600090815260126020908152604080832063ffffffff9094168352929052206001015491505092915050565b60146020526000908152604090205481565b611bb46128a7565b6000546001600160a01b03908116911614611c04576040805162461bcd60e51b81526020600482018190526024820152600080516020613d63833981519152604482015290519081900360640190fd5b6001600160a01b0381166000818152600c6020526040808220805460ff19169055517fe41e03965cbbaab114000e33e08b34dcc2790a309d2cfce64efa0386267357b19190a250565b611c556128a7565b6000546001600160a01b03908116911614611ca5576040805162461bcd60e51b81526020600482018190526024820152600080516020613d63833981519152604482015290519081900360640190fd5b6001600160a01b0381166000818152600d6020526040808220805460ff19169055517fa4a06b10ca467a6495554f21364d5122ec3d59194f5e37d855b0a74e0b5c7f6b9190a250565b6000611cf86128a7565b6000546001600160a01b03908116911614611d48576040805162461bcd60e51b81526020600482018190526024820152600080516020613d63833981519152604482015290519081900360640190fd5b600654610100900460ff1615611da0576040805162461bcd60e51b8152602060048201526018602482015277151bdad95b8818dbdb9d1c9858dd081a5cc81c185d5cd95960421b604482015290519081900360640190fd5b6006805461ff0019166101001790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a150600190565b6000611de8611ded565b905090565b6000546001600160a01b031690565b611e046128a7565b6000546001600160a01b03908116911614611e54576040805162461bcd60e51b81526020600482018190526024820152600080516020613d63833981519152604482015290519081900360640190fd5b6001600160a01b0381166000818152600e6020526040808220805460ff19169055517fa4a60e847e126b6b526b76fab31369341c5c97b04b86b8f842bd8c865236dc4c9190a250565b600e6020526000908152604090205460ff1681565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610eb55780601f10610e8a57610100808354040283529160200191610eb5565b600d6020526000908152604090205460ff1681565b6000610ed3611f356128a7565b8461127785604051806060016040528060258152602001613dcc6025913960026000611f5f6128a7565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612d4a565b6001600160a01b038116600090815260086020526040812054610ed790611fb6846117a4565b90612f51565b600f5490565b6000610ed3611fcf6128a7565b8484612caa565b600060026007541415612030576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026007556001600160a01b0383166000908152600a6020526040902054612096576040805162461bcd60e51b81526020600482015260146024820152731493d1924e88119050d513d497d393d517d4d15560621b604482015290519081900360640190fd5b6001600160a01b0383166000908152600b6020526040902054612100576040805162461bcd60e51b815260206004820152601760248201527f524f46493a20424c4f434b5f4741505f4e4f545f534554000000000000000000604482015290519081900360640190fd5b6121128361210c6128a7565b846130b6565b6000600960006121206128a7565b6001600160a01b0390811682526020808301939093526040918201600090812091881681529252812091506121666121566128a7565b8684600001548560010154613028565b90506121866121736128a7565b835487906121819088612997565b613081565b6121916119346128a7565b846001600160a01b03166121a36128a7565b6001600160a01b03167fc21b429107df2ac940fc444798554039f5c34696739d39ef7d39fa0abb4a9fc7866040518082815260200191505060405180910390a3600192505050600160075592915050565b6001600160a01b03811660009081526013602052604081205463ffffffff168061221f576000612251565b6001600160a01b038316600090815260126020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b6000600260075414156122b2576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260075581612309576040805162461bcd60e51b815260206004820152601960248201527f524f46493a205a45524f5f554e5354414b455f414d4f554e5400000000000000604482015290519081900360640190fd5b6000600960006123176128a7565b6001600160a01b039081168252602080830193909352604091820160009081209188168152925290208054909150831115612399576040805162461bcd60e51b815260206004820152601d60248201527f524f46493a20554e5354414b455f414d4f554e545f4558434545444544000000604482015290519081900360640190fd5b60006123a66121566128a7565b90506123c16123b36128a7565b835487906121819088612f51565b6123cc6119346128a7565b6123de856123d86128a7565b866130cb565b846001600160a01b03166123f06128a7565b6001600160a01b03167f1ddc13fab879f36a0016ded03412386f11de571437df12605dc0607742bd82c2866040518082815260200191505060405180910390a3600192505050600160075592915050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86661246c610e29565b8051906020012061247b6130df565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a90526102228601899052935192965090949293909260019261024280840193601f198301929081900390910190855afa1580156125ae573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166126005760405162461bcd60e51b8152600401808060200182810382526025815260200180613e126025913960400191505060405180910390fd5b6001600160a01b0381166000908152601460205260409020805460018101909155891461265e5760405162461bcd60e51b8152600401808060200182810382526021815260200180613c586021913960400191505060405180910390fd5b8742111561269d5760405162461bcd60e51b8152600401808060200182810382526025815260200180613cc76025913960400191505060405180910390fd5b6126a7818b612f93565b505050505b505050505050565b6126bc6128a7565b6000546001600160a01b0390811691161461270c576040805162461bcd60e51b81526020600482018190526024820152600080516020613d63833981519152604482015290519081900360640190fd5b6001600160a01b0381166000818152600d6020526040808220805460ff19166001179055517fa4fcc4419f710c02c3074ee84aa613f5d75d3e4229095a6ce1e7250b27d052939190a250565b60105481565b6001600160a01b031660009081526008602052604090205490565b600c6020526000908152604090205460ff1681565b6001600160a01b0380821660009081526009602090815260408083209386168352929052908120805460018201546113f6918591879190613028565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b60126020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b61284e6128a7565b6000546001600160a01b0390811691161461289e576040805162461bcd60e51b81526020600482018190526024820152600080516020613d63833981519152604482015290519081900360640190fd5b611623816130e3565b3390565b6001600160a01b0383166128f05760405162461bcd60e51b8152600401808060200182810382526024815260200180613bb96024913960400191505060405180910390fd5b6001600160a01b0382166129355760405162461bcd60e51b8152600401808060200182810382526022815260200180613eac6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600082820183811015612251576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038216612a4c576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600354612a599082612997565b6003556001600160a01b038216600090815260016020526040902054612a7f9082612997565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216600090815260086020526040902054612afa9082612997565b6001600160a01b038316600090815260086020526040902055600f54612b209082612997565b600f556040805182815290516001600160a01b038416916000917fb5a2a645ea10b3aaf0b61965c340be4cf9ef443e7e784f656b3119e9f4dd130d9181900360200190a35050565b816001600160a01b0316836001600160a01b031614158015612b8a5750600081115b15612ca5576001600160a01b03831615612c1c576001600160a01b03831660009081526013602052604081205463ffffffff169081612bca576000612bfc565b6001600160a01b038516600090815260126020908152604080832063ffffffff60001987011684529091529020600101545b90506000612c0a8285612f51565b9050612c1886848484613183565b5050505b6001600160a01b03821615612ca5576001600160a01b03821660009081526013602052604081205463ffffffff169081612c57576000612c89565b6001600160a01b038416600090815260126020908152604080832063ffffffff60001987011684529091529020600101545b90506000612c978285612997565b90506126ac85848484613183565b505050565b600654610100900460ff1615612d02576040805162461bcd60e51b8152602060048201526018602482015277151bdad95b8818dbdb9d1c9858dd081a5cc81c185d5cd95960421b604482015290519081900360640190fd5b612d0d8383836132e8565b612d1883838361343a565b6001600160a01b03808416600090815260116020526040808220548584168352912054612ca592918216911683612b68565b60008184841115612dd95760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612d9e578181015183820152602001612d86565b50505050905090810190601f168015612dcb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600080612ded84611f90565b6001600160a01b0386166000908152600a602052604081205491925090612e149085613711565b6001600160a01b0387166000908152600b602052604081205491925090612e4990612e43856305f5e100613711565b9061376a565b905080821115612e57578091505b5095945050505050565b6001600160a01b038216612ea65760405162461bcd60e51b8152600401808060200182810382526021815260200180613df16021913960400191505060405180910390fd5b612ee381604051806060016040528060228152602001613e60602291396001600160a01b0385166000908152600160205260409020549190612d4a565b6001600160a01b038316600090815260016020526040902055600354612f099082612f51565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600061225183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612d4a565b6001600160a01b0380831660009081526011602052604081205490911690612fba846117a4565b6001600160a01b0385811660008181526011602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4613022828483612b68565b50505050565b600080613036858786612de1565b905060006130444385612f51565b9050600061305a6305f5e100612e438585613711565b9050600061306789611f90565b905080821115613075578091505b50979650505050505050565b6001600160a01b0392831660009081526009602090815260408083209490951682529290925291902090815543600190910155565b612ca56001600160a01b0384168330846137ac565b612ca56001600160a01b0384168383613806565b4690565b6001600160a01b0381166131285760405162461bcd60e51b8152600401808060200182810382526026815260200180613bdd6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60006131a743604051806060016040528060338152602001613c0360339139613858565b905060008463ffffffff161180156131f057506001600160a01b038516600090815260126020908152604080832063ffffffff6000198901811685529252909120548282169116145b1561322d576001600160a01b038516600090815260126020908152604080832063ffffffff6000198901168452909152902060010182905561329e565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152601284528681208b8616825284528681209551865490861663ffffffff19918216178755925160019687015590815260139092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b6001600160a01b03831661332d5760405162461bcd60e51b8152600401808060200182810382526025815260200180613b946025913960400191505060405180910390fd5b6001600160a01b0382166133725760405162461bcd60e51b8152600401808060200182810382526023815260200180613da96023913960400191505060405180910390fd5b6133af81604051806060016040528060268152602001613d83602691396001600160a01b0386166000908152600160205260409020549190612d4a565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546133de9082612997565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6001600160a01b03831661347f5760405162461bcd60e51b8152600401808060200182810382526025815260200180613b946025913960400191505060405180910390fd5b6001600160a01b0382166134c45760405162461bcd60e51b8152600401808060200182810382526023815260200180613da96023913960400191505060405180910390fd5b6001600160a01b0382166000908152600e602052604090205460ff1615613649576001600160a01b0383166000908152600e602052604090205460ff161561353d5760405162461bcd60e51b8152600401808060200182810382526024815260200180613ece6024913960400191505060405180910390fd5b6001600160a01b03831660009081526008602052604081205461356d90611fb684613567886117a4565b90612997565b905080821015613586576135818383612ad7565b6135f8565b61358f846117a4565b6001600160a01b0385166000908152600860205260409020556135b28382612ad7565b6135de6135bf8383612f51565b6001600160a01b03851660009081526008602052604090205490612997565b6001600160a01b0384166000908152600860205260409020555b826001600160a01b0316846001600160a01b03167f8b3713d198cceb4e897c0ffc24625b1baf576dcdb5f1750e227881da12812742846040518082815260200191505060405180910390a350612ca5565b613686816040518060600160405280602f8152602001613cec602f91396001600160a01b0386166000908152600860205260409020549190612d4a565b6001600160a01b0380851660009081526008602052604080822093909355908416815220546136b59082612997565b6001600160a01b0380841660008181526008602090815260409182902094909455805185815290519193928716927fb5a2a645ea10b3aaf0b61965c340be4cf9ef443e7e784f656b3119e9f4dd130d92918290030190a3505050565b60008261372057506000610ed7565b8282028284828161372d57fe5b04146122515760405162461bcd60e51b8152600401808060200182810382526021815260200180613d426021913960400191505060405180910390fd5b600061225183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506138b6565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261302290859061391b565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052612ca590849061391b565b60008164010000000084106138ae5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612d9e578181015183820152602001612d86565b509192915050565b600081836139055760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612d9e578181015183820152602001612d86565b50600083858161391157fe5b0495945050505050565b6060613970826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166139cc9092919063ffffffff16565b805190915015612ca55780806020019051602081101561398f57600080fd5b5051612ca55760405162461bcd60e51b815260040180806020018281038252602a815260200180613e82602a913960400191505060405180910390fd5b60606113f6848460008560606139e185613b43565b613a32576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310613a715780518252601f199092019160209182019101613a52565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613ad3576040519150601f19603f3d011682016040523d82523d6000602084013e613ad8565b606091505b50915091508115613aec5791506113f69050565b805115613afc5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315612d9e578181015183820152602001612d86565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906113f6575050151592915050565b60408051808201909152600080825260208201529056fe42455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373524f46493a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473546f6b656e20636f6e747261637420686173206e6f74206265656e20706175736564524f46493a64656c656761746542795369673a20696e76616c6964206e6f6e636542455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365524f46493a6765745072696f72566f7465733a206e6f74207965742064657465726d696e6564524f46493a64656c656761746542795369673a207369676e6174757265206578706972656442455032303a207472616e7366657220616d6f756e74206578636565647320756e6c6f636b65642062616c616e6365524f46493a204c4f434b45445f4d494e545f43414c4c45525f4e4f545f415554484f52495a4544536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657242455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a207472616e7366657220746f20746865207a65726f206164647265737342455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f42455032303a206275726e2066726f6d20746865207a65726f2061646472657373524f46493a64656c656761746542795369673a20696e76616c6964207369676e6174757265524f46493a20554e4c4f434b45445f4d494e545f43414c4c45525f4e4f545f415554484f52495a454442455032303a206275726e20616d6f756e7420657863656564732062616c616e63655361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656442455032303a20617070726f766520746f20746865207a65726f206164647265737343616e27742073656e642066726f6d20636f6e73756d657220746f20636f6e73756d6572a2646970667358221220f4d8ad9759cfda5728dbc31900bf83ec6c2dd9358ba19fcaa235b3d8cfe9ba0364736f6c634300060c0033

Deployed ByteCode Sourcemap

36605:21300:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27701:92;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29188:161;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;29188:161:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;43252:320;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;43252:320:0;;;;;;;;:::i;:::-;;28177:100;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;43580:280;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;43580:280:0;;;;;;;;:::i;50330:122::-;;;;;;;;;;;;;:::i;40903:200::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;40903:200:0;;;;;;;;:::i;29820:397::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;29820:397:0;;;;;;;;;;;;;;;;;:::i;27860:92::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;43868:207;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43868:207:0;-1:-1:-1;;;;;43868:207:0;;:::i;30625:210::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30625:210:0;;;;;;;;:::i;40024:150::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40024:150:0;-1:-1:-1;;;;;40024:150:0;;:::i;40182:239::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;40182:239:0;;;;;;;;;;:::i;36437:130::-;;;;;;;;;;;;;:::i;39360:127::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39360:127:0;-1:-1:-1;;;;;39360:127:0;;:::i;39495:131::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39495:131:0;-1:-1:-1;;;;;39495:131:0;;:::i;48936:372::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48936:372:0;;:::i;51313:149::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51313:149:0;-1:-1:-1;;;;;51313:149:0;;:::i;:::-;;;;-1:-1:-1;;;;;51313:149:0;;;;;;;;;;;;;;51608:104;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51608:104:0;-1:-1:-1;;;;;51608:104:0;;:::i;35746:26::-;;;;;;;;;;;;;:::i;38216:52::-;;;;;;;;;;;;;:::i;40706:187::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;40706:187:0;;;;;;;;:::i;44730:159::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44730:159:0;-1:-1:-1;;;;;44730:159:0;;:::i;50208:49::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50208:49:0;-1:-1:-1;;;;;50208:49:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;28339:119;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28339:119:0;-1:-1:-1;;;;;28339:119:0;;:::i;7778:140::-;;;;;;;;;;;;;:::i;42511:488::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42511:488:0;-1:-1:-1;;;;;42511:488:0;;:::i;54208:1252::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;54208:1252:0;;;;;;;;:::i;50744:39::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50744:39:0;-1:-1:-1;;;;;50744:39:0;;:::i;44083:214::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44083:214:0;-1:-1:-1;;;;;44083:214:0;;:::i;44514:208::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44514:208:0;-1:-1:-1;;;;;44514:208:0;;:::i;36224:128::-;;;;;;;;;;;;;:::i;27544:94::-;;;;;;;;;;;;;:::i;7136:79::-;;;;;;;;;;;;;:::i;44897:166::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44897:166:0;-1:-1:-1;;;;;44897:166:0;;:::i;38664:51::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38664:51:0;-1:-1:-1;;;;;38664:51:0;;:::i;28017:96::-;;;;;;;;;;;;;:::i;38597:60::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38597:60:0;-1:-1:-1;;;;;38597:60:0;;:::i;31337:311::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31337:311:0;;;;;;;;:::i;39875:141::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39875:141:0;-1:-1:-1;;;;;39875:141:0;;:::i;39634:106::-;;;;;;;;;;;;;:::i;28670:167::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28670:167:0;;;;;;;;:::i;41115:689::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;41115:689:0;;;;;;;;:::i;53522:255::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53522:255:0;-1:-1:-1;;;;;53522:255:0;;:::i;41812:691::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;41812:691:0;;;;;;;;:::i;52146:1175::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;52146:1175:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;44305:201::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44305:201:0;-1:-1:-1;;;;;44305:201:0;;:::i;39224:22::-;;;;;;;;;;;;;:::i;39748:119::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39748:119:0;-1:-1:-1;;;;;39748:119:0;;:::i;38528:62::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38528:62:0;-1:-1:-1;;;;;38528:62:0;;:::i;40429:267::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;40429:267:0;;;;;;;;;;:::i;28899:143::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28899:143:0;;;;;;;;;;:::i;50546:117::-;;;;;;;;;;;;;:::i;50069:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50069:70:0;;-1:-1:-1;;;;;50069:70:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;8073:109;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8073:109:0;-1:-1:-1;;;;;8073:109:0;;:::i;27701:92::-;27780:5;27773:12;;;;;;;;-1:-1:-1;;27773:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27747:13;;27773:12;;27780:5;;27773:12;;27780:5;27773:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27701:92;:::o;29188:161::-;29263:4;29280:39;29289:12;:10;:12::i;:::-;29303:7;29312:6;29280:8;:39::i;:::-;-1:-1:-1;29337:4:0;29188:161;;;;;:::o;43252:320::-;38842:7;:5;:7::i;:::-;-1:-1:-1;;;;;38826:23:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;38826:23:0;;:70;;;;38853:29;:43;38883:12;:10;:12::i;:::-;-1:-1:-1;;;;;38853:43:0;;;;;;;;;;;;-1:-1:-1;38853:43:0;;;;38826:70;38818:123;;;;-1:-1:-1;;;38818:123:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43406:7:::1;;43377:25;43388:13;:11;:13::i;:::-;43377:6:::0;;:10:::1;:25::i;:::-;:36;;43369:70;;;::::0;;-1:-1:-1;;;43369:70:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;43369:70:0;;;;;;;;;;;;;::::1;;43450:17;43456:2;43460:6;43450:5;:17::i;:::-;43478:25;43492:2;43496:6;43478:13;:25::i;:::-;-1:-1:-1::0;;;;;43541:14:0;;::::1;43537:1;43541:14:::0;;;:10:::1;:14;::::0;;;;;43514:50:::1;::::0;43541:14:::1;43557:6:::0;43514:14:::1;:50::i;:::-;43252:320:::0;;:::o;28177:100::-;28257:12;;28177:100;:::o;43580:280::-;39050:7;:5;:7::i;:::-;-1:-1:-1;;;;;39034:23:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;39034:23:0;;:70;;;;39061:29;:43;39091:12;:10;:12::i;:::-;-1:-1:-1;;;;;39061:43:0;;;;;;;;;;;;-1:-1:-1;39061:43:0;;;;39034:70;:115;;;;39108:27;:41;39136:12;:10;:12::i;:::-;-1:-1:-1;;;;;39108:41:0;;;;;;;;;;;;-1:-1:-1;39108:41:0;;;;39034:115;39026:166;;;;-1:-1:-1;;;39026:166:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43730:7:::1;;43701:25;43712:13;:11;:13::i;43701:25::-;:36;;43693:70;;;::::0;;-1:-1:-1;;;43693:70:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;43693:70:0;;;;;;;;;;;;;::::1;;43774:17;43780:2;43784:6;43774:5;:17::i;50330:122::-:0;50372:80;50330:122;:::o;40903:200::-;7358:12;:10;:12::i;:::-;7348:6;;-1:-1:-1;;;;;7348:6:0;;;:22;;;7340:67;;;;;-1:-1:-1;;;7340:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;7340:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;41003:22:0;::::1;;::::0;;;:15:::1;:22;::::0;;;;;;;;:34;;;41053:42;;;;;;;::::1;::::0;;;;;;;;::::1;40903:200:::0;;:::o;29820:397::-;29952:4;29969:36;29979:6;29987:9;29998:6;29969:9;:36::i;:::-;30016:171;30039:6;30060:12;:10;:12::i;:::-;30087:89;30125:6;30087:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30087:19:0;;;;;;:11;:19;;;;;;30107:12;:10;:12::i;:::-;-1:-1:-1;;;;;30087:33:0;;;;;;;;;;;;-1:-1:-1;30087:33:0;;;:89;:37;:89::i;:::-;30016:8;:171::i;:::-;-1:-1:-1;30205:4:0;29820:397;;;;;:::o;27860:92::-;27935:9;;;;27860:92;:::o;43868:207::-;7358:12;:10;:12::i;:::-;7348:6;;-1:-1:-1;;;;;7348:6:0;;;:22;;;7340:67;;;;;-1:-1:-1;;;7340:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;7340:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;43964:37:0;::::1;;::::0;;;:29:::1;:37;::::0;;;;;:44;;-1:-1:-1;;43964:44:0::1;44004:4;43964:44;::::0;;44024:43;::::1;::::0;43964:37;44024:43:::1;43868:207:::0;:::o;30625:210::-;30705:4;30722:83;30731:12;:10;:12::i;:::-;30745:7;30754:50;30793:10;30754:11;:25;30766:12;:10;:12::i;:::-;-1:-1:-1;;;;;30754:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;30754:25:0;;;:34;;;;;;;;;;;:38;:50::i;40024:150::-;40090:7;40117:15;:29;40133:12;:10;:12::i;:::-;-1:-1:-1;;;;;40117:29:0;;;;;;;;;;;;;;;;;-1:-1:-1;40117:29:0;;;:36;;;;;;;;;:49;;-1:-1:-1;40024:150:0;;;:::o;40182:239::-;-1:-1:-1;;;;;40316:23:0;;;40269:7;40316:23;;;:15;:23;;;;;;;;:30;;;;;;;;;;;40395:17;;40364:49;;40340:5;;40332:6;;40364:15;:49::i;:::-;40357:56;40182:239;-1:-1:-1;;;;40182:239:0:o;36437:130::-;36495:4;7358:12;:10;:12::i;:::-;7348:6;;-1:-1:-1;;;;;7348:6:0;;;:22;;;7340:67;;;;;-1:-1:-1;;;7340:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;7340:67:0;;;;;;;;;;;;;;;36082:6:::1;::::0;::::1;::::0;::::1;;;36073:54;;;;-1:-1:-1::0;;;36073:54:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36508:6:::2;:14:::0;;-1:-1:-1;;36508:14:0::2;::::0;;36534:9:::2;::::0;::::2;::::0;36517:5:::2;::::0;36534:9:::2;-1:-1:-1::0;36557:4:0::2;36437:130:::0;:::o;39360:127::-;-1:-1:-1;;;;;39459:20:0;39432:7;39459:20;;;:13;:20;;;;;;;39360:127::o;39495:131::-;-1:-1:-1;;;;;39596:22:0;39569:7;39596:22;;;:15;:22;;;;;;;39495:131::o;48936:372::-;48990:4;49007:27;49013:12;:10;:12::i;:::-;49027:6;49007:5;:27::i;:::-;49045:23;49080:8;:22;49089:12;:10;:12::i;:::-;-1:-1:-1;;;;;49080:22:0;-1:-1:-1;;;;;49080:22:0;;;;;;;;;;;;;49071:6;:31;:65;;49114:8;:22;49123:12;:10;:12::i;:::-;-1:-1:-1;;;;;49114:22:0;-1:-1:-1;;;;;49114:22:0;;;;;;;;;;;;;49071:65;;;49105:6;49071:65;49045:91;;49172:43;49199:15;49172:8;:22;49181:12;:10;:12::i;:::-;-1:-1:-1;;;;;49172:22:0;;;;;;;;;;;;-1:-1:-1;49172:22:0;;;:26;:43::i;:::-;49147:8;:22;49156:12;:10;:12::i;:::-;-1:-1:-1;;;;;49147:22:0;;;;;;;;;;;;-1:-1:-1;49147:22:0;:68;49243:14;;:35;;49262:15;49243:18;:35::i;:::-;49226:14;:52;-1:-1:-1;49296:4:0;;48936:372;-1:-1:-1;;48936:372:0:o;51313:149::-;-1:-1:-1;;;;;51433:21:0;;;51401:7;51433:21;;;:10;:21;;;;;;;;51313:149::o;51608:104::-;51672:32;51682:10;51694:9;51672;:32::i;:::-;51608:104;:::o;35746:26::-;;;;;;;;;:::o;38216:52::-;38261:7;38216:52;:::o;40706:187::-;7358:12;:10;:12::i;:::-;7348:6;;-1:-1:-1;;;;;7348:6:0;;;:22;;;7340:67;;;;;-1:-1:-1;;;7340:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;7340:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;40802:20:0;::::1;;::::0;;;:13:::1;:20;::::0;;;;;;;;:30;;;40848:37;;;;;;;::::1;::::0;;;;;;;;::::1;40706:187:::0;;:::o;44730:159::-;7358:12;:10;:12::i;:::-;7348:6;;-1:-1:-1;;;;;7348:6:0;;;:22;;;7340:67;;;;;-1:-1:-1;;;7340:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;7340:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;44803:26:0;::::1;;::::0;;;:18:::1;:26;::::0;;;;;:33;;-1:-1:-1;;44803:33:0::1;44832:4;44803:33;::::0;;44852:29;::::1;::::0;44803:26;44852:29:::1;44730:159:::0;:::o;50208:49::-;;;;;;;;;;;;;;;:::o;28339:119::-;-1:-1:-1;;;;;28432:18:0;28405:7;28432:18;;;:9;:18;;;;;;;28339:119::o;7778:140::-;7358:12;:10;:12::i;:::-;7348:6;;-1:-1:-1;;;;;7348:6:0;;;:22;;;7340:67;;;;;-1:-1:-1;;;7340:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;7340:67:0;;;;;;;;;;;;;;;7877:1:::1;7861:6:::0;;7840:40:::1;::::0;-1:-1:-1;;;;;7861:6:0;;::::1;::::0;7840:40:::1;::::0;7877:1;;7840:40:::1;7908:1;7891:19:::0;;-1:-1:-1;;;;;;7891:19:0::1;::::0;;7778:140::o;42511:488::-;42589:4;2010:1;2616:7;;:19;;2608:63;;;;;-1:-1:-1;;;2608:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;2010:1;2749:7;:18;42606:24:::1;42633:15;42606:24:::0;42649:12:::1;:10;:12::i;:::-;-1:-1:-1::0;;;;;42633:29:0;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;42633:29:0;;;:36;;::::1;::::0;;;;;;;-1:-1:-1;42705:77:0::1;42725:12;:10;:12::i;:::-;42739:5;42746:4;:17;;;42765:4;:16;;;42705:19;:77::i;:::-;42680:102;;42793:58;42812:12;:10;:12::i;:::-;42833:17:::0;;42826:5;;42793:18:::1;:58::i;:::-;42862:43;42876:12;:10;:12::i;:::-;42890:14;42862:13;:43::i;:::-;42940:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;42921:48:0::1;;42954:14;42921:48;;;;;;;;;;;;;;;;;;42987:4;42980:11;;;;1966:1:::0;2928:7;:22;42511:488;;-1:-1:-1;42511:488:0:o;54208:1252::-;54316:7;54363:12;54349:11;:26;54341:77;;;;-1:-1:-1;;;54341:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;54453:23:0;;54431:19;54453:23;;;:14;:23;;;;;;;;54491:17;54487:58;;54532:1;54525:8;;;;;54487:58;-1:-1:-1;;;;;54605:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;54626:16:0;;54605:38;;;;;;;;;:48;;:63;-1:-1:-1;54601:147:0;;-1:-1:-1;;;;;54692:20:0;;;;;;:11;:20;;;;;;;;-1:-1:-1;;54713:16:0;;;;54692:38;;;;;;;;54728:1;54692:44;;;-1:-1:-1;54685:51:0;;54601:147;-1:-1:-1;;;;;54809:20:0;;;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:23;:33;:47;-1:-1:-1;54805:88:0;;;54880:1;54873:8;;;;;54805:88;54905:12;-1:-1:-1;;54947:16:0;;54974:428;54989:5;54981:13;;:5;:13;;;54974:428;;;55053:1;55036:13;;;55035:19;;;55027:27;;55096:20;;:::i;:::-;-1:-1:-1;;;;;;55119:20:0;;;;;;:11;:20;;;;;;;;:28;;;;;;;;;;;;;55096:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55166:27;;55162:229;;;55221:8;;;;-1:-1:-1;55214:15:0;;-1:-1:-1;;;;55214:15:0;55162:229;55255:12;;:26;;;-1:-1:-1;55251:140:0;;;55310:6;55302:14;;55251:140;;;55374:1;55365:6;:10;55357:18;;55251:140;54974:428;;;;;-1:-1:-1;;;;;;55419:20:0;;;;;;:11;:20;;;;;;;;:27;;;;;;;;;;:33;;;;-1:-1:-1;;54208:1252:0;;;;:::o;50744:39::-;;;;;;;;;;;;;:::o;44083:214::-;7358:12;:10;:12::i;:::-;7348:6;;-1:-1:-1;;;;;7348:6:0;;;:22;;;7340:67;;;;;-1:-1:-1;;;7340:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;7340:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;44182:37:0;::::1;44222:5;44182:37:::0;;;:29:::1;:37;::::0;;;;;:45;;-1:-1:-1;;44182:45:0::1;::::0;;44243:46;::::1;::::0;44222:5;44243:46:::1;44083:214:::0;:::o;44514:208::-;7358:12;:10;:12::i;:::-;7348:6;;-1:-1:-1;;;;;7348:6:0;;;:22;;;7340:67;;;;;-1:-1:-1;;;7340:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;7340:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;44611:35:0;::::1;44649:5;44611:35:::0;;;:27:::1;:35;::::0;;;;;:43;;-1:-1:-1;;44611:43:0::1;::::0;;44670:44;::::1;::::0;44649:5;44670:44:::1;44514:208:::0;:::o;36224:128::-;36283:4;7358:12;:10;:12::i;:::-;7348:6;;-1:-1:-1;;;;;7348:6:0;;;:22;;;7340:67;;;;;-1:-1:-1;;;7340:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;7340:67:0;;;;;;;;;;;;;;;35905:6:::1;::::0;::::1;::::0;::::1;;;35904:7;35895:45;;;::::0;;-1:-1:-1;;;35895:45:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;35895:45:0;;;;;;;;;;;;;::::1;;36296:6:::2;:13:::0;;-1:-1:-1;;36296:13:0::2;;;::::0;;36321:7:::2;::::0;::::2;::::0;36296:13;;36321:7:::2;-1:-1:-1::0;36342:4:0::2;36224:128:::0;:::o;27544:94::-;27596:7;27623;:5;:7::i;:::-;27616:14;;27544:94;:::o;7136:79::-;7174:7;7201:6;-1:-1:-1;;;;;7201:6:0;7136:79;:::o;44897:166::-;7358:12;:10;:12::i;:::-;7348:6;;-1:-1:-1;;;;;7348:6:0;;;:22;;;7340:67;;;;;-1:-1:-1;;;7340:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;7340:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;44973:26:0;::::1;45002:5;44973:26:::0;;;:18:::1;:26;::::0;;;;;:34;;-1:-1:-1;;44973:34:0::1;::::0;;45023:32;::::1;::::0;45002:5;45023:32:::1;44897:166:::0;:::o;38664:51::-;;;;;;;;;;;;;;;:::o;28017:96::-;28098:7;28091:14;;;;;;;;-1:-1:-1;;28091:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28065:13;;28091:14;;28098:7;;28091:14;;28098:7;28091:14;;;;;;;;;;;;;;;;;;;;;;;;38597:60;;;;;;;;;;;;;;;:::o;31337:311::-;31422:4;31439:179;31462:12;:10;:12::i;:::-;31489:7;31511:96;31550:15;31511:96;;;;;;;;;;;;;;;;;:11;:25;31523:12;:10;:12::i;:::-;-1:-1:-1;;;;;31511:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;31511:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;39875:141::-;-1:-1:-1;;;;;39990:17:0;;39940:7;39990:17;;;:8;:17;;;;;;39967:41;;:18;39999:7;39967:9;:18::i;:::-;:22;;:41::i;39634:106::-;39718:14;;39634:106;:::o;28670:167::-;28748:4;28765:42;28775:12;:10;:12::i;:::-;28789:9;28800:6;28765:9;:42::i;41115:689::-;41201:4;2010:1;2616:7;;:19;;2608:63;;;;;-1:-1:-1;;;2608:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;2010:1;2749:7;:18;-1:-1:-1;;;;;41226:20:0;::::1;41249:1;41226:20:::0;;;:13:::1;:20;::::0;;;;;41218:57:::1;;;::::0;;-1:-1:-1;;;41218:57:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;41218:57:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;41294:22:0;::::1;41319:1;41294:22:::0;;;:15:::1;:22;::::0;;;;;41286:62:::1;;;::::0;;-1:-1:-1;;;41286:62:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;41359:39;41370:5;41377:12;:10;:12::i;:::-;41391:6;41359:10;:39::i;:::-;41409:24;41436:15;:29;41452:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;41436:29:0;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;41436:29:0;;;:36;;::::1;::::0;;;;;;;-1:-1:-1;41508:77:0::1;41528:12;:10;:12::i;:::-;41542:5;41549:4;:17;;;41568:4;:16;;;41508:19;:77::i;:::-;41483:102;;41596:70;41615:12;:10;:12::i;:::-;41636:17:::0;;41629:5;;41636:29:::1;::::0;41658:6;41636:21:::1;:29::i;:::-;41596:18;:70::i;:::-;41677:43;41691:12;:10;:12::i;41677:43::-;41760:5;-1:-1:-1::0;;;;;41736:38:0::1;41746:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;41736:38:0::1;;41767:6;41736:38;;;;;;;;;;;;;;;;;;41792:4;41785:11;;;;1966:1:::0;2928:7;:22;41115:689;;-1:-1:-1;;41115:689:0:o;53522:255::-;-1:-1:-1;;;;;53661:23:0;;53614:7;53661:23;;;:14;:23;;;;;;;;53702:16;:67;;53768:1;53702:67;;;-1:-1:-1;;;;;53721:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;53742:16:0;;53721:38;;;;;;;;53757:1;53721:44;;53702:67;53695:74;53522:255;-1:-1:-1;;;53522:255:0:o;41812:691::-;41900:4;2010:1;2616:7;;:19;;2608:63;;;;;-1:-1:-1;;;2608:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;2010:1;2749:7;:18;41925:10;41917:48:::1;;;::::0;;-1:-1:-1;;;41917:48:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;41976:24;42003:15;:29;42019:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;42003:29:0;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;42003:29:0;;;:36;;::::1;::::0;;;;;;42068:17;;42003:36;;-1:-1:-1;42058:27:0;::::1;;42050:69;;;::::0;;-1:-1:-1;;;42050:69:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;42130:22;42155:77;42175:12;:10;:12::i;42155:77::-;42130:102;;42243:70;42262:12;:10;:12::i;:::-;42283:17:::0;;42276:5;;42283:29:::1;::::0;42305:6;42283:21:::1;:29::i;42243:70::-;42324:43;42338:12;:10;:12::i;42324:43::-;42378:39;42389:5;42396:12;:10;:12::i;:::-;42410:6;42378:10;:39::i;:::-;42459:5;-1:-1:-1::0;;;;;42433:40:0::1;42445:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;42433:40:0::1;;42466:6;42433:40;;;;;;;;;;;;;;;;;;42491:4;42484:11;;;;1966:1:::0;2928:7;:22;41812:691;;-1:-1:-1;;41812:691:0:o;52146:1175::-;52339:23;50372:80;52468:6;:4;:6::i;:::-;52452:24;;;;;;52495:12;:10;:12::i;:::-;52389:165;;;;;;;;;;;;;;;;;;;;;;;;;52534:4;52389:165;;;;;;;;;;;;;;;;;;;;;;;52365:200;;;;;;50592:71;52623:140;;;;-1:-1:-1;;;;;52623:140:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52599:175;;;;;;-1:-1:-1;;;52828:123:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52804:158;;;;;;;;;-1:-1:-1;52995:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52365:200;;-1:-1:-1;52599:175:0;;52804:158;;-1:-1:-1;;52995:26:0;;;;;;;-1:-1:-1;;52995:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52995:26:0;;-1:-1:-1;;52995:26:0;;;-1:-1:-1;;;;;;;53040:23:0;;53032:73;;;;-1:-1:-1;;;53032:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53133:17:0;;;;;;:6;:17;;;;;:19;;;;;;;;53124:28;;53116:74;;;;-1:-1:-1;;;53116:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53216:6;53209:3;:13;;53201:63;;;;-1:-1:-1;;;53201:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53282:31;53292:9;53303;53282;:31::i;:::-;53275:38;;;;52146:1175;;;;;;;:::o;44305:201::-;7358:12;:10;:12::i;:::-;7348:6;;-1:-1:-1;;;;;7348:6:0;;;:22;;;7340:67;;;;;-1:-1:-1;;;7340:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;7340:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;44399:35:0;::::1;;::::0;;;:27:::1;:35;::::0;;;;;:42;;-1:-1:-1;;44399:42:0::1;44437:4;44399:42;::::0;;44457:41;::::1;::::0;44399:35;44457:41:::1;44305:201:::0;:::o;39224:22::-;;;;:::o;39748:119::-;-1:-1:-1;;;;;39842:17:0;39815:7;39842:17;;;:8;:17;;;;;;;39748:119::o;38528:62::-;;;;;;;;;;;;;;;:::o;40429:267::-;-1:-1:-1;;;;;40567:24:0;;;40520:7;40567:24;;;:15;:24;;;;;;;;:31;;;;;;;;;;;40652:17;;40671:16;;;;40616:72;;40583:7;;40592:5;;40652:17;40616:19;:72::i;28899:143::-;-1:-1:-1;;;;;29007:18:0;;;28980:7;29007:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;28899:143::o;50546:117::-;50592:71;50546:117;:::o;50069:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;8073:109::-;7358:12;:10;:12::i;:::-;7348:6;;-1:-1:-1;;;;;7348:6:0;;;:22;;;7340:67;;;;;-1:-1:-1;;;7340:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;7340:67:0;;;;;;;;;;;;;;;8146:28:::1;8165:8;8146:18;:28::i;788:98::-:0;868:10;788:98;:::o;34708:372::-;-1:-1:-1;;;;;34836:19:0;;34828:68;;;;-1:-1:-1;;;34828:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34915:21:0;;34907:68;;;;-1:-1:-1;;;34907:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34988:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;35040:32;;;;;;;;;;;;;;;;;34708:372;;;:::o;14000:181::-;14058:7;14090:5;;;14114:6;;;;14106:46;;;;;-1:-1:-1;;;14106:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;33280:308;-1:-1:-1;;;;;33356:21:0;;33348:65;;;;;-1:-1:-1;;;33348:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;33441:12;;:24;;33458:6;33441:16;:24::i;:::-;33426:12;:39;-1:-1:-1;;;;;33497:18:0;;;;;;:9;:18;;;;;;:30;;33520:6;33497:22;:30::i;:::-;-1:-1:-1;;;;;33476:18:0;;;;;;:9;:18;;;;;;;;:51;;;;33543:37;;;;;;;33476:18;;;;33543:37;;;;;;;;;;33280:308;;:::o;45622:259::-;-1:-1:-1;;;;;45722:19:0;;;;;;:8;:19;;;;;;:31;;45746:6;45722:23;:31::i;:::-;-1:-1:-1;;;;;45700:19:0;;;;;;:8;:19;;;;;:53;45781:14;;:26;;45800:6;45781:18;:26::i;:::-;45764:14;:43;45823:50;;;;;;;;-1:-1:-1;;;;;45823:50:0;;;45851:1;;45823:50;;;;;;;;;45622:259;;:::o;55914:947::-;56020:6;-1:-1:-1;;;;;56010:16:0;:6;-1:-1:-1;;;;;56010:16:0;;;:30;;;;;56039:1;56030:6;:10;56010:30;56006:848;;;-1:-1:-1;;;;;56061:20:0;;;56057:385;;-1:-1:-1;;;;;56169:22:0;;56150:16;56169:22;;;:14;:22;;;;;;;;;56230:13;:60;;56289:1;56230:60;;;-1:-1:-1;;;;;56246:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;56266:13:0;;56246:34;;;;;;;;56278:1;56246:40;;56230:60;56210:80;-1:-1:-1;56309:17:0;56329:21;56210:80;56343:6;56329:13;:21::i;:::-;56309:41;;56369:57;56386:6;56394:9;56405;56416;56369:16;:57::i;:::-;56057:385;;;;-1:-1:-1;;;;;56462:20:0;;;56458:385;;-1:-1:-1;;;;;56570:22:0;;56551:16;56570:22;;;:14;:22;;;;;;;;;56631:13;:60;;56690:1;56631:60;;;-1:-1:-1;;;;;56647:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;56667:13:0;;56647:34;;;;;;;;56679:1;56647:40;;56631:60;56611:80;-1:-1:-1;56710:17:0;56730:21;56611:80;56744:6;56730:13;:21::i;:::-;56710:41;;56770:57;56787:6;56795:9;56806;56817;56770:16;:57::i;56458:385::-;55914:947;;;:::o;48521:299::-;35905:6;;;;;;;35904:7;35895:45;;;;;-1:-1:-1;;;35895:45:0;;;;;;;;;;;;-1:-1:-1;;;35895:45:0;;;;;;;;;;;;;;;48641:42:::1;48657:6;48665:9;48676:6;48641:15;:42::i;:::-;48694;48710:6;48718:9;48729:6;48694:15;:42::i;:::-;-1:-1:-1::0;;;;;48762:18:0;;::::1;;::::0;;;:10:::1;:18;::::0;;;;;;48782:21;;::::1;::::0;;;;;48747:65:::1;::::0;48762:18;;::::1;::::0;48782:21:::1;48805:6:::0;48747:14:::1;:65::i;14903:226::-:0;15023:7;15059:12;15051:6;;;;15043:29;;;;-1:-1:-1;;;15043:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;15095:5:0;;;14903:226::o;45889:458::-;45986:7;46006:20;46029:16;46038:6;46029:8;:16::i;:::-;-1:-1:-1;;;;;46078:20:0;;46056:19;46078:20;;;:13;:20;;;;;;46006:39;;-1:-1:-1;46056:19:0;46078:34;;46103:8;46078:24;:34::i;:::-;-1:-1:-1;;;;;46189:22:0;;46123;46189;;;:15;:22;;;;;;46056:56;;-1:-1:-1;46123:22:0;46148:64;;:36;:12;38261:7;46148:16;:36::i;:::-;:40;;:64::i;:::-;46123:89;;46240:14;46226:11;:28;46223:88;;;46285:14;46271:28;;46223:88;-1:-1:-1;46328:11:0;45889:458;-1:-1:-1;;;;;45889:458:0:o;33920:348::-;-1:-1:-1;;;;;33996:21:0;;33988:67;;;;-1:-1:-1;;;33988:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34089:68;34112:6;34089:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34089:18:0;;;;;;:9;:18;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;34068:18:0;;;;;;:9;:18;;;;;:89;34183:12;;:24;;34200:6;34183:16;:24::i;:::-;34168:12;:39;34223:37;;;;;;;;34249:1;;-1:-1:-1;;;;;34223:37:0;;;;;;;;;;;;33920:348;;:::o;14464:136::-;14522:7;14549:43;14553:1;14556;14549:43;;;;;;;;;;;;;;;;;:3;:43::i;55468:438::-;-1:-1:-1;;;;;55585:21:0;;;55559:23;55585:21;;;:10;:21;;;;;;;;;;55644:20;55596:9;55644;:20::i;:::-;-1:-1:-1;;;;;55720:21:0;;;;;;;:10;:21;;;;;;:33;;-1:-1:-1;;;;;;55720:33:0;;;;;;;;;;55771:54;;55617:47;;-1:-1:-1;55720:33:0;55771:54;;;;;;55720:21;55771:54;55838:60;55853:15;55870:9;55881:16;55838:14;:60::i;:::-;55468:438;;;;:::o;45071:543::-;45197:7;45217:19;45239:40;45255:5;45262:6;45270:8;45239:15;:40::i;:::-;45217:62;-1:-1:-1;45290:14:0;45307:33;:12;45324:15;45307:16;:33::i;:::-;45290:50;-1:-1:-1;45351:22:0;45376:47;38261:7;45376:23;:11;45290:50;45376:15;:23::i;:47::-;45351:72;;45434:20;45457:16;45466:6;45457:8;:16::i;:::-;45434:39;;45505:12;45488:14;:29;45484:91;;;45551:12;45534:29;;45484:91;-1:-1:-1;45592:14:0;45071:543;-1:-1:-1;;;;;;;45071:543:0:o;43007:237::-;-1:-1:-1;;;;;43109:23:0;;;;;;;:15;:23;;;;;;;;:30;;;;;;;;;;;;;:59;;;43224:12;43179:42;;;;:57;43007:237::o;47645:151::-;47730:58;-1:-1:-1;;;;;47730:29:0;;47760:4;47774;47781:6;47730:29;:58::i;47804:128::-;47887:37;-1:-1:-1;;;;;47887:25:0;;47913:2;47917:6;47887:25;:37::i;57749:153::-;57859:9;57749:153;:::o;8288:229::-;-1:-1:-1;;;;;8362:22:0;;8354:73;;;;-1:-1:-1;;;8354:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8464:6;;;8443:38;;-1:-1:-1;;;;;8443:38:0;;;;8464:6;;;8443:38;;;8492:6;:17;;-1:-1:-1;;;;;;8492:17:0;-1:-1:-1;;;;;8492:17:0;;;;;;;;;;8288:229::o;56869:703::-;57048:18;57069:75;57076:12;57069:75;;;;;;;;;;;;;;;;;:6;:75::i;:::-;57048:96;;57176:1;57161:12;:16;;;:85;;;;-1:-1:-1;;;;;;57181:22:0;;;;;;:11;:22;;;;;;;;:65;-1:-1:-1;;57204:16:0;;57181:40;;;;;;;;;:50;:65;;;:50;;:65;57161:85;57157:339;;;-1:-1:-1;;;;;57263:22:0;;;;;;:11;:22;;;;;;;;:40;-1:-1:-1;;57286:16:0;;57263:40;;;;;;;;57301:1;57263:46;:57;;;57157:339;;;57392:33;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;57353:22:0;;-1:-1:-1;57353:22:0;;;:11;:22;;;;;:36;;;;;;;;;;:72;;;;;;;-1:-1:-1;;57353:72:0;;;;;;;;;;;;;57440:25;;;:14;:25;;;;;;:44;;57468:16;;;57440:44;;;;;;;;;;57157:339;57513:51;;;;;;;;;;;;;;-1:-1:-1;;;;;57513:51:0;;;;;;;;;;;56869:703;;;;;:::o;32486:513::-;-1:-1:-1;;;;;32626:20:0;;32618:70;;;;-1:-1:-1;;;32618:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32707:23:0;;32699:71;;;;-1:-1:-1;;;32699:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32803;32825:6;32803:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32803:17:0;;;;;;:9;:17;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;32783:17:0;;;;;;;:9;:17;;;;;;:91;;;;32908:20;;;;;;;:32;;32933:6;32908:24;:32::i;:::-;-1:-1:-1;;;;;32885:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;32956:35;;;;;;;32885:20;;32956:35;;;;;;;;;;;;;32486:513;;;:::o;46355:1282::-;-1:-1:-1;;;;;46459:20:0;;46451:70;;;;-1:-1:-1;;;46451:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46540:23:0;;46532:71;;;;-1:-1:-1;;;46532:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46618:29:0;;;;;;:18;:29;;;;;;;;46614:1016;;;-1:-1:-1;;;;;46673:26:0;;;;;;:18;:26;;;;;;;;46672:27;46664:76;;;;-1:-1:-1;;;46664:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46814:16:0;;46755:22;46814:16;;;:8;:16;;;;;;46780:51;;:29;46802:6;46780:17;46823:6;46780:9;:17::i;:::-;:21;;:29::i;:51::-;46755:76;;46937:14;46928:6;:23;46924:370;;;46972:32;46986:9;46997:6;46972:13;:32::i;:::-;46924:370;;;47062:17;47072:6;47062:9;:17::i;:::-;-1:-1:-1;;;;;47043:16:0;;;;;;:8;:16;;;;;:36;47098:40;47112:9;47123:14;47098:13;:40::i;:::-;47179:51;47203:26;:6;47214:14;47203:10;:26::i;:::-;-1:-1:-1;;;;;47179:19:0;;;;;;:8;:19;;;;;;;:23;:51::i;:::-;-1:-1:-1;;;;;47157:19:0;;;;;;:8;:19;;;;;:73;46924:370;47337:9;-1:-1:-1;;;;;47313:42:0;47329:6;-1:-1:-1;;;;;47313:42:0;;47348:6;47313:42;;;;;;;;;;;;;;;;;;46614:1016;;;;47405:79;47426:6;47405:79;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47405:16:0;;;;;;:8;:16;;;;;;;:79;:20;:79::i;:::-;-1:-1:-1;;;;;47386:16:0;;;;;;;:8;:16;;;;;;:98;;;;47521:19;;;;;;;:31;;47545:6;47521:23;:31::i;:::-;-1:-1:-1;;;;;47499:19:0;;;;;;;:8;:19;;;;;;;;;:53;;;;47572:46;;;;;;;47499:19;;47572:46;;;;;;;;;;;;;46355:1282;;;:::o;15388:471::-;15446:7;15691:6;15687:47;;-1:-1:-1;15721:1:0;15714:8;;15687:47;15758:5;;;15762:1;15758;:5;:1;15782:5;;;;;:10;15774:56;;;;-1:-1:-1;;;15774:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16335:132;16393:7;16420:39;16424:1;16427;16420:39;;;;;;;;;;;;;;;;;:3;:39::i;3241:204::-;3368:68;;;-1:-1:-1;;;;;3368:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3368:68:0;-1:-1:-1;;;3368:68:0;;;3341:96;;3361:5;;3341:19;:96::i;3057:176::-;3166:58;;;-1:-1:-1;;;;;3166:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3166:58:0;-1:-1:-1;;;3166:58:0;;;3139:86;;3159:5;;3139:19;:86::i;57580:161::-;57655:6;57693:12;57686:5;57682:9;;57674:32;;;;-1:-1:-1;;;57674:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57731:1:0;;57580:161;-1:-1:-1;;57580:161:0:o;16963:312::-;17083:7;17118:12;17111:5;17103:28;;;;-1:-1:-1;;;17103:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17142:9;17158:1;17154;:5;;;;;;;16963:312;-1:-1:-1;;;;;16963:312:0:o;5357:760::-;5780:23;5806:69;5834:4;5806:69;;;;;;;;;;;;;;;;;5814:5;-1:-1:-1;;;;;5806:27:0;;;:69;;;;;:::i;:::-;5890:17;;5780:95;;-1:-1:-1;5890:21:0;5886:224;;6032:10;6021:30;;;;;;;;;;;;;;;-1:-1:-1;6021:30:0;6013:85;;;;-1:-1:-1;;;6013:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22928:230;23065:12;23097:53;23120:6;23128:4;23134:1;23137:12;24589;24622:18;24633:6;24622:10;:18::i;:::-;24614:60;;;;;-1:-1:-1;;;24614:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;24748:12;24762:23;24789:6;-1:-1:-1;;;;;24789:11:0;24808:8;24818:4;24789:34;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;24789:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24747:76;;;;24838:7;24834:595;;;24869:10;-1:-1:-1;24862:17:0;;-1:-1:-1;24862:17:0;24834:595;24983:17;;:21;24979:439;;25246:10;25240:17;25307:15;25294:10;25290:2;25286:19;25279:44;25194:148;25382:20;;-1:-1:-1;;;25382:20:0;;;;;;;;;;;;;;;;;25389:12;;25382:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19791:641;19851:4;20332:20;;20162:66;20381:23;;;;;;:42;;-1:-1:-1;;20408:15:0;;;20373:51;-1:-1:-1;;19791:641:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

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