Contract 0x4Da11AF8176b113989EB2003fB0b10A8d225B5AE

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x171744aea391280453a9f5a6415840c8c305e42188eb07616cafe8c182ea78d1Execute82052422021-06-11 13:22:57127 days 13 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.002435935
0x2151be108c1fc44331b9634015f152cfa63207b554794829c3f3d9809d21f121Execute82052362021-06-11 13:22:39127 days 13 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.00251251
0xf2dc579221d3cd1bfd4fe1d374a4f6d195cb1c4cd0e5d0cf259bccd9a2703158Execute82052302021-06-11 13:22:21127 days 13 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.002589085
0xa6021c1585f20716e57d03fefce115daaffd09b71bf14d37c2a456a3812d9d60Execute82052232021-06-11 13:22:00127 days 13 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.00266566
0x94865e125580bde6b42bffbbcae01b56ea1ad44cbd44171e2a94138d766c314eExecute82052152021-06-11 13:21:36127 days 13 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.002742235
0xad65c760695600f1e7cdea8611501649434f4b27bcb7b82127ef25090c88749bExecute82052062021-06-11 13:21:09127 days 13 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.00281881
0x9c54102c48f81df4dc84d94b6cd33097ab22474c9f4d1e43a653518062b02cb2Execute82052042021-06-11 13:21:03127 days 13 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.002949385
0xf8a580f1c8134aacd5755220e35d6efabbcabd2a264558562b0189c3982565f1Schedule81976542021-06-11 7:02:57127 days 20 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.00025968
0x75d718f408e9275c2ede9cf13dbd30e2fd270df3d4b0f692f52ade8973119afaSchedule81976522021-06-11 7:02:51127 days 20 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.00025968
0xe79d2c5b9d406a8f97d19ecd1d71b4b9258615191876a706c9d273efdcc75afaSchedule81976502021-06-11 7:02:45127 days 20 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.00025968
0x0a6e0c86ac8ee91853af6c46e0608aac633a53ce948c305593c681986c103b84Schedule81976492021-06-11 7:02:42127 days 20 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.00025968
0xe038f4aa7b2389d47ad4415710ab763e27712893721b23dd9c935af586d1d936Schedule81976482021-06-11 7:02:39127 days 20 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.00025968
0x116071950676cf86cf3bc2cf9cd9b3fc590bce28298c7a48574ca82d3baa4cbaSchedule81976472021-06-11 7:02:36127 days 20 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.00025968
0x4a41c00f5178483d95dbd859d73f4e9764d2d99dfdd89d77725111a2febddb5cSchedule81976432021-06-11 7:02:24127 days 20 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.00025968
0x0e7ab098610c651e8e11ea714d983a847d70faceb8c305c010b6b927c75063d4Execute81270372021-06-08 19:58:36130 days 7 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.00028755
0xe1741cbf64dd5f28826eeb61764f3371a6fb1ce3b0ae9e40dc1cd542948041d7Schedule81192552021-06-08 13:29:04130 days 13 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.000254665
0xb702977b4a6898f94d008a5018c590cbcbbd1d247010aa5468fcecbd3c2e97c0Execute80934342021-06-07 15:55:52131 days 11 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.00028761
0x85ce505b8ddac090f13bea4a2e89c029413317e8bbda41f55a84e3a3aa650bbcSchedule80862512021-06-07 9:55:37131 days 17 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.000254725
0xe4be57f0f9ba8db9787eb9eb0f8b96259b32b6e130ad388ef911cab2927ea43cExecute80862202021-06-07 9:54:04131 days 17 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.000213335
0x7427c59db7b4c4ce28971e09544a4e4141a57c757bc25eb44834f63d8cad5fe1Schedule80569682021-06-06 9:29:12132 days 17 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.000253705
0x92bda7785099ea85b1bd43b97bb2d695cd0b37e31f68f2964b624f2ee306fbaeSchedule80388852021-06-05 18:23:30133 days 8 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.000254785
0x20d5312638bbde4f8956586f6f3cb401a4fdb5e7ce9df55ab4b3c4b1c7f05f47Schedule80364912021-06-05 16:23:39133 days 10 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.000254785
0x5f8dd8734a4fdf7d214ef5bee454a17d22a390f1b312b26a19f88c4f4c1a4885Execute79780802021-06-03 15:35:20135 days 11 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.000288395
0x1a69676fb5a615892a57fc3f6716007942a94157a7ad685b61f75159c54a80e1Schedule79780682021-06-03 15:34:44135 days 11 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.000253585
0xd1bd73a290003961dea535e4eb925611c6e0bfe27c7ac8ca3b386edbb22b7678Schedule79779662021-06-03 15:29:38135 days 11 hrs ago0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0 IN  0x4da11af8176b113989eb2003fb0b10a8d225b5ae0 BNB0.000253585
[ Download CSV Export 
Latest 3 internal transactions
Parent Txn Hash Block From To Value
0xa821a372cdcd0433779947ec07960d28c6aa005b9bfd5beb5ce9de19703d38a277394322021-05-26 7:45:03143 days 19 hrs ago 0x4da11af8176b113989eb2003fb0b10a8d225b5ae  Contract Creation0 BNB
0xa821a372cdcd0433779947ec07960d28c6aa005b9bfd5beb5ce9de19703d38a277394322021-05-26 7:45:03143 days 19 hrs ago 0x4da11af8176b113989eb2003fb0b10a8d225b5ae  Contract Creation0 BNB
0xa821a372cdcd0433779947ec07960d28c6aa005b9bfd5beb5ce9de19703d38a277394322021-05-26 7:45:03143 days 19 hrs ago 0x4da11af8176b113989eb2003fb0b10a8d225b5ae  Contract Creation0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GuessItController

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

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

// File: node_modules\@openzeppelin\contracts\utils\Context.sol

pragma solidity ^0.8.0;

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

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

// File: node_modules\@openzeppelin\contracts\utils\introspection\IERC165.sol

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: node_modules\@openzeppelin\contracts\utils\introspection\ERC165.sol

pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// File: node_modules\@openzeppelin\contracts\access\AccessControl.sol

pragma solidity ^0.8.0;



/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);
    function getRoleAdmin(bytes32 role) external view returns (bytes32);
    function grantRole(bytes32 role, address account) external;
    function revokeRole(bytes32 role, address account) external;
    function renounceRole(bytes32 role, address account) external;
}

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping (address => bool) members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId
            || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override {
        require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to grant");

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override {
        require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to revoke");

        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

// File: node_modules\@openzeppelin\contracts\governance\TimelockController.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;


/**
 * @dev Contract module which acts as a timelocked controller. When set as the
 * owner of an `Ownable` smart contract, it enforces a timelock on all
 * `onlyOwner` maintenance operations. This gives time for users of the
 * controlled contract to exit before a potentially dangerous maintenance
 * operation is applied.
 *
 * By default, this contract is self administered, meaning administration tasks
 * have to go through the timelock process. The proposer (resp executor) role
 * is in charge of proposing (resp executing) operations. A common use case is
 * to position this {TimelockController} as the owner of a smart contract, with
 * a multisig or a DAO as the sole proposer.
 *
 * _Available since v3.3._
 */
contract TimelockController is AccessControl {
    bytes32 public constant TIMELOCK_ADMIN_ROLE = keccak256("TIMELOCK_ADMIN_ROLE");
    bytes32 public constant PROPOSER_ROLE = keccak256("PROPOSER_ROLE");
    bytes32 public constant EXECUTOR_ROLE = keccak256("EXECUTOR_ROLE");
    uint256 internal constant _DONE_TIMESTAMP = uint256(1);

    mapping(bytes32 => uint256) private _timestamps;
    uint256 private _minDelay;

    /**
     * @dev Emitted when a call is scheduled as part of operation `id`.
     */
    event CallScheduled(bytes32 indexed id, uint256 indexed index, address target, uint256 value, bytes data, bytes32 predecessor, uint256 delay);

    /**
     * @dev Emitted when a call is performed as part of operation `id`.
     */
    event CallExecuted(bytes32 indexed id, uint256 indexed index, address target, uint256 value, bytes data);

    /**
     * @dev Emitted when operation `id` is cancelled.
     */
    event Cancelled(bytes32 indexed id);

    /**
     * @dev Emitted when the minimum delay for future operations is modified.
     */
    event MinDelayChange(uint256 oldDuration, uint256 newDuration);

    /**
     * @dev Initializes the contract with a given `minDelay`.
     */
    constructor(uint256 minDelay, address[] memory proposers, address[] memory executors) {
        _setRoleAdmin(TIMELOCK_ADMIN_ROLE, TIMELOCK_ADMIN_ROLE);
        _setRoleAdmin(PROPOSER_ROLE, TIMELOCK_ADMIN_ROLE);
        _setRoleAdmin(EXECUTOR_ROLE, TIMELOCK_ADMIN_ROLE);

        // deployer + self administration
        _setupRole(TIMELOCK_ADMIN_ROLE, _msgSender());
        _setupRole(TIMELOCK_ADMIN_ROLE, address(this));

        // register proposers
        for (uint256 i = 0; i < proposers.length; ++i) {
            _setupRole(PROPOSER_ROLE, proposers[i]);
        }

        // register executors
        for (uint256 i = 0; i < executors.length; ++i) {
            _setupRole(EXECUTOR_ROLE, executors[i]);
        }

        _minDelay = minDelay;
        emit MinDelayChange(0, minDelay);
    }

    /**
     * @dev Modifier to make a function callable only by a certain role. In
     * addition to checking the sender's role, `address(0)` 's role is also
     * considered. Granting a role to `address(0)` is equivalent to enabling
     * this role for everyone.
     */
    modifier onlyRole(bytes32 role) {
        require(hasRole(role, _msgSender()) || hasRole(role, address(0)), "TimelockController: sender requires permission");
        _;
    }

    /**
     * @dev Contract might receive/hold ETH as part of the maintenance process.
     */
    receive() external payable {}

    /**
     * @dev Returns whether an id correspond to a registered operation. This
     * includes both Pending, Ready and Done operations.
     */
    function isOperation(bytes32 id) public view virtual returns (bool pending) {
        return getTimestamp(id) > 0;
    }

    /**
     * @dev Returns whether an operation is pending or not.
     */
    function isOperationPending(bytes32 id) public view virtual returns (bool pending) {
        return getTimestamp(id) > _DONE_TIMESTAMP;
    }

    /**
     * @dev Returns whether an operation is ready or not.
     */
    function isOperationReady(bytes32 id) public view virtual returns (bool ready) {
        uint256 timestamp = getTimestamp(id);
        // solhint-disable-next-line not-rely-on-time
        return timestamp > _DONE_TIMESTAMP && timestamp <= block.timestamp;
    }

    /**
     * @dev Returns whether an operation is done or not.
     */
    function isOperationDone(bytes32 id) public view virtual returns (bool done) {
        return getTimestamp(id) == _DONE_TIMESTAMP;
    }

    /**
     * @dev Returns the timestamp at with an operation becomes ready (0 for
     * unset operations, 1 for done operations).
     */
    function getTimestamp(bytes32 id) public view virtual returns (uint256 timestamp) {
        return _timestamps[id];
    }

    /**
     * @dev Returns the minimum delay for an operation to become valid.
     *
     * This value can be changed by executing an operation that calls `updateDelay`.
     */
    function getMinDelay() public view virtual returns (uint256 duration) {
        return _minDelay;
    }

    /**
     * @dev Returns the identifier of an operation containing a single
     * transaction.
     */
    function hashOperation(address target, uint256 value, bytes calldata data, bytes32 predecessor, bytes32 salt) public pure virtual returns (bytes32 hash) {
        return keccak256(abi.encode(target, value, data, predecessor, salt));
    }

    /**
     * @dev Returns the identifier of an operation containing a batch of
     * transactions.
     */
    function hashOperationBatch(address[] calldata targets, uint256[] calldata values, bytes[] calldata datas, bytes32 predecessor, bytes32 salt) public pure virtual returns (bytes32 hash) {
        return keccak256(abi.encode(targets, values, datas, predecessor, salt));
    }

    /**
     * @dev Schedule an operation containing a single transaction.
     *
     * Emits a {CallScheduled} event.
     *
     * Requirements:
     *
     * - the caller must have the 'proposer' role.
     */
    function schedule(address target, uint256 value, bytes calldata data, bytes32 predecessor, bytes32 salt, uint256 delay) public virtual onlyRole(PROPOSER_ROLE) {
        bytes32 id = hashOperation(target, value, data, predecessor, salt);
        _schedule(id, delay);
        emit CallScheduled(id, 0, target, value, data, predecessor, delay);
    }

    /**
     * @dev Schedule an operation containing a batch of transactions.
     *
     * Emits one {CallScheduled} event per transaction in the batch.
     *
     * Requirements:
     *
     * - the caller must have the 'proposer' role.
     */
    function scheduleBatch(address[] calldata targets, uint256[] calldata values, bytes[] calldata datas, bytes32 predecessor, bytes32 salt, uint256 delay) public virtual onlyRole(PROPOSER_ROLE) {
        require(targets.length == values.length, "TimelockController: length mismatch");
        require(targets.length == datas.length, "TimelockController: length mismatch");

        bytes32 id = hashOperationBatch(targets, values, datas, predecessor, salt);
        _schedule(id, delay);
        for (uint256 i = 0; i < targets.length; ++i) {
            emit CallScheduled(id, i, targets[i], values[i], datas[i], predecessor, delay);
        }
    }

    /**
     * @dev Schedule an operation that is to becomes valid after a given delay.
     */
    function _schedule(bytes32 id, uint256 delay) private {
        require(!isOperation(id), "TimelockController: operation already scheduled");
        require(delay >= getMinDelay(), "TimelockController: insufficient delay");
        // solhint-disable-next-line not-rely-on-time
        _timestamps[id] = block.timestamp + delay;
    }

    /**
     * @dev Cancel an operation.
     *
     * Requirements:
     *
     * - the caller must have the 'proposer' role.
     */
    function cancel(bytes32 id) public virtual onlyRole(PROPOSER_ROLE) {
        require(isOperationPending(id), "TimelockController: operation cannot be cancelled");
        delete _timestamps[id];

        emit Cancelled(id);
    }

    /**
     * @dev Execute an (ready) operation containing a single transaction.
     *
     * Emits a {CallExecuted} event.
     *
     * Requirements:
     *
     * - the caller must have the 'executor' role.
     */
    function execute(address target, uint256 value, bytes calldata data, bytes32 predecessor, bytes32 salt) public payable virtual onlyRole(EXECUTOR_ROLE) {
        bytes32 id = hashOperation(target, value, data, predecessor, salt);
        _beforeCall(predecessor);
        _call(id, 0, target, value, data);
        _afterCall(id);
    }

    /**
     * @dev Execute an (ready) operation containing a batch of transactions.
     *
     * Emits one {CallExecuted} event per transaction in the batch.
     *
     * Requirements:
     *
     * - the caller must have the 'executor' role.
     */
    function executeBatch(address[] calldata targets, uint256[] calldata values, bytes[] calldata datas, bytes32 predecessor, bytes32 salt) public payable virtual onlyRole(EXECUTOR_ROLE) {
        require(targets.length == values.length, "TimelockController: length mismatch");
        require(targets.length == datas.length, "TimelockController: length mismatch");

        bytes32 id = hashOperationBatch(targets, values, datas, predecessor, salt);
        _beforeCall(predecessor);
        for (uint256 i = 0; i < targets.length; ++i) {
            _call(id, i, targets[i], values[i], datas[i]);
        }
        _afterCall(id);
    }

    /**
     * @dev Checks before execution of an operation's calls.
     */
    function _beforeCall(bytes32 predecessor) private view {
        require(predecessor == bytes32(0) || isOperationDone(predecessor), "TimelockController: missing dependency");
    }

    /**
     * @dev Checks after execution of an operation's calls.
     */
    function _afterCall(bytes32 id) private {
        require(isOperationReady(id), "TimelockController: operation is not ready");
        _timestamps[id] = _DONE_TIMESTAMP;
    }

    /**
     * @dev Execute an operation's call.
     *
     * Emits a {CallExecuted} event.
     */
    function _call(bytes32 id, uint256 index, address target, uint256 value, bytes calldata data) private {
        // solhint-disable-next-line avoid-low-level-calls
        (bool success,) = target.call{value: value}(data);
        require(success, "TimelockController: underlying transaction reverted");

        emit CallExecuted(id, index, target, value, data);
    }

    /**
     * @dev Changes the minimum timelock duration for future operations.
     *
     * Emits a {MinDelayChange} event.
     *
     * Requirements:
     *
     * - the caller must be the timelock itself. This can only be achieved by scheduling and later executing
     * an operation where the timelock is the target and the data is the ABI-encoded call to this function.
     */
    function updateDelay(uint256 newDelay) external virtual {
        require(msg.sender == address(this), "TimelockController: caller must be timelock");
        emit MinDelayChange(_minDelay, newDelay);
        _minDelay = newDelay;
    }
}

// File: node_modules\@openzeppelin\contracts\access\Ownable.sol

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: contracts\GuessItRewards.sol

pragma solidity ^0.8.0;



contract GuessItRewards is Ownable, AccessControl {
    event RewardsReceived(uint _amount);

    bytes32 public constant TRANSFER_ROLE = keccak256("TRASNFER_ROLE");
    address public dev;
    uint public immutable devPercentage = 500; //50%, percentage of the rewards distributed to the dev address, in per mille
    
    uint private _perMille = 1000; // 100%

    constructor(address _dev) {
        dev = _dev;

        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
    }

    receive() external payable {
        uint devShare = msg.value * devPercentage / _perMille;
        payable(dev).transfer(devShare);
        emit RewardsReceived(msg.value - devShare);
    }

    function getTransferRole() public pure returns (bytes32) {
        return TRANSFER_ROLE;
    }

    function transferRewards(address payable _to, uint _amount) external {        
        require(hasRole(TRANSFER_ROLE, _msgSender()), "GuessItRewards: caller is not able to transfer");
        _to.transfer(_amount);
    }
}

// File: node_modules\@openzeppelin\contracts\security\ReentrancyGuard.sol

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor () {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: node_modules\@openzeppelin\contracts\token\ERC20\IERC20.sol

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

// File: node_modules\@openzeppelin\contracts\token\ERC20\ERC20.sol

pragma solidity ^0.8.0;



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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);
    }

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

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

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

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

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

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

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

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

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

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

// File: node_modules\@openzeppelin\contracts\token\ERC20\extensions\ERC20Burnable.sol

pragma solidity ^0.8.0;



/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        _approve(account, _msgSender(), currentAllowance - amount);
        _burn(account, amount);
    }
}

// File: node_modules\@openzeppelin\contracts\token\ERC20\extensions\ERC20Capped.sol

pragma solidity ^0.8.0;


/**
 * @dev Extension of {ERC20} that adds a cap to the supply of tokens.
 */
abstract contract ERC20Capped is ERC20 {
    uint256 immutable private _cap;

    /**
     * @dev Sets the value of the `cap`. This value is immutable, it can only be
     * set once during construction.
     */
    constructor (uint256 cap_) {
        require(cap_ > 0, "ERC20Capped: cap is 0");
        _cap = cap_;
    }

    /**
     * @dev Returns the cap on the token's total supply.
     */
    function cap() public view virtual returns (uint256) {
        return _cap;
    }

    /**
     * @dev See {ERC20-_mint}.
     */
    function _mint(address account, uint256 amount) internal virtual override {
        require(ERC20.totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded");
        super._mint(account, amount);
    }
}

// File: contracts\IPancakeRouter01.sol

pragma solidity >=0.8.0 <0.9.0;

interface IPancakeRouter01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

// File: contracts\IPancakeRouter02.sol

pragma solidity >=0.8.0 <0.9.0;


interface IPancakeRouter02 is IPancakeRouter01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external;
}

// File: contracts\GuessItToken.sol

pragma solidity >=0.8.0 <0.9.0;

contract GuessItToken is ERC20Burnable, ERC20Capped, AccessControl, Ownable, ReentrancyGuard {

    event GameStarted();
    event Guessed(address indexed _from, string indexed _solution, bool indexed _guessed);
    event PriceUpdated(uint _from, uint _to);
    event Withdrawn(address indexed _to, uint _amount);
    event SwappedForRewards(address indexed _token, uint _amount);
    event TransferPerMilleChanged(uint _from, uint _to);
    event RewardsPerMilleChanged(uint _from, uint _to);
    event GuesserPerMilleChanged(uint _from, uint _to);

    enum GameState { Created, Started, Finished }

    modifier inGameState(GameState state) {
        require(_state == state, "GuessItToken: invalid game state");
        _;
    }
    
    modifier notInGameState(GameState state) {
        require(_state != state, "GuessItToken: invalid game state");
        _;
    }

    modifier lockSwap {
        _inSwap = true;
        _;
        _inSwap = false;
    }

    struct Game {
        bytes32 puzzle; // the hashed puzzle
        bytes32[] solutions; // the hashed solutions
    }
    
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    GuessItRewards public immutable rewards;
    IPancakeRouter02 public immutable pancakeRouter;   
    bool public finished = false;
    uint public finishedBlock = 0; 
    uint public guesserPercentage = 50; //initial rewards percentage for the guesser of the puzzle, in per mille
    uint public transferPercentage = 970; //initial percentage of the amount that is allowed to be transfered, in per mille
    uint public rewardsPercentage = 500; //initial rewards percentage, in per mille

    bool _inSwap;
    uint private _totalMinted;
    mapping (address => bool) private _isExcludedFromFee;
    uint private _perMille = 1000; // 100%
    Game private _game;
    uint private _maxGuessPrice = 10000 ether;
    uint private _guessPrice;
    mapping (address => bool) private _guessers;
    bool private _guesserClaimed;
    GameState private _state;    

    constructor(address _pancakeRouter, address _dev, address payable _rewards) ERC20Capped(1e11 ether) ERC20("GuessIt Token", "GSSIT") {
        pancakeRouter = IPancakeRouter02(_pancakeRouter);
        rewards = GuessItRewards(_rewards);
        
        excludeFromFee(address(this));
        excludeFromFee(_rewards);        
        excludeFromFee(_dev);
        ERC20._mint(_dev, 1e9 ether); 
        _totalMinted = 1e9 ether;

        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
    }
    
    function getMinterRole() public pure returns (bytes32) {
        return MINTER_ROLE;
    }

    function excludeFromFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = true;
    }
    
    function includeInFee(address account) external onlyOwner {
        _isExcludedFromFee[account] = false;
    }

    function isExcludedFromFee(address account) public view returns(bool) {
        return _isExcludedFromFee[account];
    }

    function newGame(bytes32 puzzle_, bytes32[] calldata solutions_, uint guessPrice_) external inGameState(GameState.Created) {        
        require(puzzle_ != "", "GuessItToken: puzzle should be provided");
        require(solutions_.length > 0, "GuessItToken: solutions should be provided");
        require(guessPrice_ <= _maxGuessPrice, "GuessItToken: invalid guess price provided");

        _game.puzzle = puzzle_;
        _game.solutions = solutions_;        

        emit GameStarted();
        _state = GameState.Started;

        _guessPrice = guessPrice_;
        emit PriceUpdated(0, guessPrice_);
    }

    function getGame() external view notInGameState(GameState.Created) returns (Game memory) {
        return _game;
    }

    function setPrice(uint guessPrice_) external onlyOwner inGameState(GameState.Started) {
        require(guessPrice_ <= _maxGuessPrice, "GuessItToken: invalid guess price provided");        
        emit PriceUpdated(_guessPrice, guessPrice_);
        _guessPrice = guessPrice_;
    }

    function getPrice() external view notInGameState(GameState.Created) returns (uint) {
        return _guessPrice;
    }

    function guess(string calldata solution, uint _amount) external inGameState(GameState.Started) returns (bool) {
        require(_amount == _guessPrice, "GuessItToken: guessing price conditions not met");
        
        uint amountForRewards = _amount * rewardsPercentage / _perMille;
        uint amountToBurn = _amount - amountForRewards;        
        if(amountToBurn > 0) {
           _burn(_msgSender(), amountToBurn);
        }
        if(amountForRewards > 0) {
           super._transfer(_msgSender(), address(this), amountForRewards);
           _swap(amountForRewards);
        }

        uint solutions = _game.solutions.length;
        bytes32 hashedSolution = keccak256(abi.encodePacked(_toLower(solution)));
        for(uint i = 0; i < solutions; i++) {
            if(_game.solutions[i] == hashedSolution) {                
                finished = _guessers[_msgSender()] = true;
                finishedBlock = block.number;
                _state = GameState.Finished;
                emit Guessed(_msgSender(), solution, true);                
                return true;
            } 
        }
        
        _guessers[_msgSender()] = false;
        emit Guessed(_msgSender(), solution, false);
        return false;
    }

    function claimableRewards(uint _amount) public view inGameState(GameState.Finished) returns (uint) {
        require(_amount > 0, "GuessItToken: not a valid amount"); 

        uint totalSupply = totalSupply();     
        uint guesserRewards = !_guesserClaimed && _guessers[_msgSender()] ? address(rewards).balance * guesserPercentage / _perMille : 0;
        uint participationRewards = (address(rewards).balance - guesserRewards) * _amount / totalSupply;

        return guesserRewards + participationRewards;
    }

    function withdraw(uint _amount) external inGameState(GameState.Finished) nonReentrant {
        uint totalRewards = claimableRewards(_amount);
        
        rewards.transferRewards(payable(_msgSender()), totalRewards);              
        emit Withdrawn(_msgSender(), totalRewards);        
        _burn(_msgSender(), _amount);

        // guesser is only able to claim once
        if(!_guesserClaimed && _guessers[_msgSender()]) {
            _guesserClaimed = true;
        }
    }

    function setTransferPercentage(uint _transferPercentage) external onlyOwner {
        require(_transferPercentage >= 950, "GuessItToken: invalid percentage");
        require(_transferPercentage <= 990, "GuessItToken: invalid percentage");
        emit TransferPerMilleChanged(transferPercentage, _transferPercentage);
        transferPercentage = _transferPercentage;
    }

    function setRewardsPercentage(uint _rewardsPercentage) external onlyOwner {
        require(_rewardsPercentage >= 300, "GuessItToken: invalid percentage");
        require(_rewardsPercentage <= 1000, "GuessItToken: invalid percentage");
        emit RewardsPerMilleChanged(rewardsPercentage, _rewardsPercentage);
        rewardsPercentage = _rewardsPercentage;
    }

    function setGuesserPercentage(uint _guesserPercentage) external onlyOwner {
        require(_guesserPercentage >= 10, "GuessItToken: invalid percentage");
        require(_guesserPercentage <= 100, "GuessItToken: invalid percentage");
        emit GuesserPerMilleChanged(guesserPercentage, _guesserPercentage);
        guesserPercentage = _guesserPercentage;
    }

    function mint(address _to, uint _amount) public {
        require(hasRole(MINTER_ROLE, _msgSender()), "GuessItToken: caller is not a minter");
        _mint(_to, _amount);
    }

    function totalMinted() public view returns (uint) {
        return _totalMinted;
    }

    function _transfer(address _sender, address _recipient, uint _amount) internal override {
        if(_inSwap || finished || isExcludedFromFee(_sender) || isExcludedFromFee(_recipient)) {
            super._transfer(_sender, _recipient, _amount);
            return;
        }

        uint amountToTransfer = _amount * transferPercentage / _perMille;
        uint amountLeft = _amount - amountToTransfer;
        uint amountForRewards = amountLeft * rewardsPercentage / _perMille;        
        uint amountToBurn = amountLeft - amountForRewards;
        if(amountToBurn > 0) {
            _burn(_sender, amountToBurn);
        }
        if(amountForRewards > 0) {
           super._transfer(_msgSender(), address(this), amountForRewards);
           _swap(amountForRewards);
        }
        super._transfer(_sender, _recipient, amountToTransfer);
    }

    function _swap(uint _amount) private lockSwap {
        // generate the pancake pair path of token -> wbnb
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = pancakeRouter.WETH();

        // make the swap
        _approve(address(this), address(pancakeRouter), _amount);
        try pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(_amount, 1, path, address(rewards), block.timestamp) {
            emit SwappedForRewards(address(this), _amount);
        } catch { // catch should only happen when there is not enough liquidity, then we burn the tokens
            _burn(address(this), _amount); 
        }
    }

    function _mint(address account, uint amount) internal override(ERC20Capped, ERC20) {
        ERC20Capped._mint(account, amount);
        _totalMinted += amount;
    }

    function _toLower(string calldata str) private pure returns (string memory) {
        bytes memory bStr = bytes(str);
        bytes memory bLower = new bytes(bStr.length);
        for (uint i = 0; i < bStr.length; i++) {
            // Uppercase character...
            if ((uint8(bStr[i]) >= 65) && (uint8(bStr[i]) <= 90)) {
                // So we add 32 to make it lowercase
                bLower[i] = bytes1(uint8(bStr[i]) + 32);
            } else {
                bLower[i] = bStr[i];
            }
        }
        return string(bLower);
    }
}

// File: node_modules\@openzeppelin\contracts\utils\Address.sol

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: node_modules\@openzeppelin\contracts\token\ERC20\utils\SafeERC20.sol

pragma solidity ^0.8.0;



/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

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

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

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

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

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

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

// File: contracts\IPancakePair.sol

pragma solidity >=0.8.0 <0.9.0;

interface IPancakePair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to);
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

// File: contracts\IWETH.sol

pragma solidity >=0.8.0 <0.9.0;

interface IWETH {
    function transfer(address to, uint value) external returns (bool);
}

// File: contracts\GuessItFarm.sol

pragma solidity >=0.8.0 <0.9.0;










contract GuessItFarm is Ownable, AccessControl, ReentrancyGuard {
    using SafeERC20 for IERC20;

    event Deposit(address indexed _user, uint indexed _pid, uint _amount);
    event Withdraw(address indexed _user, uint indexed _pid, uint _amount);
    event EmergencyWithdraw(address indexed user, uint indexed _pid, uint _amount);
    event SwappedForRewards(address indexed _token, uint _amount);

    struct UserInfo {
        uint amount; // How many tokens the user has provided.
        uint lockupStarted; // Timestamp when the lock started.
        uint rewardDebt; // Reward debt. See explanation below.
        //
        // We do some fancy math here. Basically, any point in time, the amount of RADSs
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accumlatedNativePerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accumlatedNativePerShare` (and `lastRewardBlock`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
    }

    struct PoolInfo {   
        address token; // Address of the token.
        uint amount; // The number of tokens in this pool
        bool isPair; // Indication whether this token is a IPancakePair        
        uint allocationPoints; // How many allocation points assigned to this pool. [native] to distribute per block.
        uint lastRewardBlock; // Last block number that [native] distribution occurs.
        uint accumlatedNativePerShare; // Accumulated [native] per share, times 1e12. See below.
        uint depositFee; // Deposit fee on this pool, in per mille (percentage) 
        uint lockup; // Lockup in the pool, in days
    }

    PoolInfo[] public poolInfo; // Info of each pool.
    mapping(uint => mapping(address => UserInfo)) public userInfo; // Info of each user that stakes LP tokens.
    uint public immutable nativePerBlock = 3000 ether; // native tokens minted per block => 3000
    uint public totalAllocationPoints = 0; // Total allocation points. Must be the sum of all allocation points in all pools.
    uint public immutable startBlock;
    GuessItToken public immutable native;
    GuessItRewards public immutable rewards;
    IPancakeRouter02 public immutable pancakeRouter;

    uint private _nativeShareMultiplier = 1e12;
    uint private _perMille = 1000; // 100%

    constructor(address _pancakeRouter, address _native, address payable _rewards, uint _startBlock) {
        pancakeRouter = IPancakeRouter02(_pancakeRouter);
        native = GuessItToken(_native);
        rewards = GuessItRewards(_rewards);        
        startBlock = _startBlock;
    }

    function getPoolInfo() external view returns (PoolInfo[] memory) {
        return poolInfo;
    }

    // Add a new lp to the pool. Can only be called by the owner.
    // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do. (Only if tokens are stored here.)
    function add(address _token, bool _isPair, uint _allocationPoints, uint _depositFee, uint _lockup, bool _withUpdate) external onlyOwner {
        require(!_getNativeFinished(), "GuessItFarm: game is already finished");
        if (_withUpdate) {
            massUpdatePools();
        }
        uint lastRewardBlock = block.number > startBlock ? block.number : startBlock;
        totalAllocationPoints += _allocationPoints;
        poolInfo.push(
            PoolInfo({
                token: _token,
                amount: 0,
                isPair: _isPair,
                allocationPoints: _allocationPoints,
                lastRewardBlock: lastRewardBlock,
                accumlatedNativePerShare: 0,
                depositFee: _depositFee,
                lockup: _lockup
            })
        );
    }

    // Update the given pool's [native] allocation point. Can only be called by the owner.
    function set(uint _pid, uint _allocationPoints, uint _depositFee, bool _withUpdate) external onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocationPoints -= poolInfo[_pid].allocationPoints + _allocationPoints;
        poolInfo[_pid].allocationPoints = _allocationPoints;
        poolInfo[_pid].depositFee = _depositFee;
    }

    // Return reward multiplier over the given _from to _to block.
    function getMultiplier(uint _from, uint _to) public view returns (uint)
    {
        if (native.totalMinted() >= native.cap()) {
            return 0;
        }
        return _to - _from;
    }

    // View function to see pending [native] on frontend.
    function getPendingNative(uint _pid, address _user) external view returns (uint) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint accumlatedNativePerShare = pool.accumlatedNativePerShare;
        uint blockNumber = _getRewardBlock();
        if (blockNumber > pool.lastRewardBlock && pool.amount != 0) {
            uint multiplier = getMultiplier(pool.lastRewardBlock, blockNumber);
            uint nativeReward = multiplier * nativePerBlock * pool.allocationPoints / totalAllocationPoints;
            accumlatedNativePerShare += nativeReward * _nativeShareMultiplier / pool.amount;
        }
        return user.amount * accumlatedNativePerShare / _nativeShareMultiplier - user.rewardDebt;
    }

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

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        uint blockNumber = _getRewardBlock();
        if (blockNumber <= pool.lastRewardBlock) {
            return;
        }
        if (pool.amount == 0) {
            pool.lastRewardBlock = blockNumber;
            return;
        }
        uint multiplier = getMultiplier(pool.lastRewardBlock, blockNumber);
        if (multiplier <= 0) {
            return;
        }
        uint mintableTokensLeft = native.cap() - native.totalMinted();
        if(mintableTokensLeft <= 0) {
            return;
        }

        uint tokensToMint = mintableTokensLeft >= nativePerBlock ? nativePerBlock : mintableTokensLeft;
        uint nativeReward = multiplier * tokensToMint * pool.allocationPoints / totalAllocationPoints;        
        if(nativeReward > 0) {
            native.mint(address(this), nativeReward);
        }
        pool.accumlatedNativePerShare += nativeReward * _nativeShareMultiplier / pool.amount;
        pool.lastRewardBlock = blockNumber;
    }

    // Deposit tokens for [native] allocation.  
    function deposit(uint _pid, uint _amount) external nonReentrant {      
        require(!_getNativeFinished(), "GuessItFarm: game is already finished");        
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_msgSender()];
        updatePool(_pid);
       
        if(user.amount > 0) {           
            uint pending = user.amount * pool.accumlatedNativePerShare / _nativeShareMultiplier - user.rewardDebt;
            if(pending > 0) {
                safeNativeTransfer(_msgSender(), pending);
            }
        }
        if (_amount > 0) {
            IERC20(pool.token).safeTransferFrom(_msgSender(), address(this), _amount);

            pool.amount += _amount;
            user.amount += _amount;
            if (pool.depositFee > 0) {
                uint depositFee = _amount / _perMille * pool.depositFee;
                bool success = _distributeDepositFee(pool, depositFee);
                // if we succesfully swapped the deposit fee, reduce the deposited amount
                if(success) {
                    user.amount -= depositFee;
                    pool.amount -= depositFee;
                }
            }

            // new deposits will reset the lockup
            user.lockupStarted = block.timestamp;
        }        
        user.rewardDebt = user.amount * pool.accumlatedNativePerShare / _nativeShareMultiplier;
        emit Deposit(_msgSender(), _pid, _amount);
    }
    
    function max(uint a, uint b) private pure returns (uint) {
        return a > b ? a : b;
    }
    
    function min(uint a, uint b) private pure returns (uint) {
        return a < b ? a : b;
    }

    // Withdraw tokens
    function withdraw(uint _pid, uint _amount) external nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_msgSender()];
        require(user.lockupStarted + pool.lockup * 1 days <= block.timestamp, "GuessItFarm: withdraw not allowed");
        require(user.amount > 0, "GuessItFarm: nothing to withdraw");
        require(user.amount >= _amount, "GuessItFarm: withdraw not allowed");
        updatePool(_pid);

        uint pending = user.amount * pool.accumlatedNativePerShare / _nativeShareMultiplier - user.rewardDebt;
        if(pending > 0) {
            safeNativeTransfer(_msgSender(), pending);
        }
        if(_amount > 0) {
            user.amount -= _amount; 
            pool.amount -= _amount;         
            IERC20(pool.token).safeTransfer(_msgSender(), _amount);
        }
        user.rewardDebt = user.amount * pool.accumlatedNativePerShare / _nativeShareMultiplier;
        emit Withdraw(_msgSender(), _pid, _amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint _pid) external nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_msgSender()];
        uint amount = user.amount;
        pool.amount -= amount;
        user.amount = 0;
        user.rewardDebt = 0;
        IERC20(pool.token).safeTransfer(_msgSender(), amount);
        emit EmergencyWithdraw(_msgSender(), _pid, amount);
    }

    // Safe [native] transfer function, just in case if rounding error causes pool to not have enough
    function safeNativeTransfer(address _to, uint _nativeAmount) internal {
        uint nativeBalance = native.balanceOf(address(this));
        if (_nativeAmount > nativeBalance) {
            native.transfer(_to, nativeBalance);
        } else {
            native.transfer(_to, _nativeAmount);
        }
    }

    function _distributeDepositFee(PoolInfo storage pool, uint depositFee) private returns (bool) {
        if(pool.isPair) {
            return _removeLiquidityAndSwap(pool.token, address(rewards), depositFee);
        } 
        
        return _swap(pool.token, address(rewards), depositFee);
    }

    function _getNativeFinished() private view returns (bool) {
        return native.finished();
    }

    function _getRewardBlock() private view returns (uint) {        
        return _getNativeFinished() ? native.finishedBlock() : block.number;
    }

    function _removeLiquidityAndSwap(address _token, address _to, uint _amount) private returns (bool) {
        IPancakePair pair = IPancakePair(_token);
        address token0 = pair.token0();
        address token1 = pair.token1();
        bool success = true;
        pair.approve(address(pancakeRouter), 0);
        pair.approve(address(pancakeRouter), _amount);
        try pancakeRouter.removeLiquidity(token0, token1, _amount, 0, 0, address(this), block.timestamp) returns (uint amountA, uint amountB) {
            success = _swap(token0, _to, amountA) && _swap(token1, _to, amountB);    
            emit SwappedForRewards(_token, _amount);
        } catch {
            success = false;
        }
        pair.approve(address(pancakeRouter), 0);
        return success;
    }

    function _swap(address _token, address _to, uint _amount) private returns (bool) {
        bool success = true;

        if(_token == pancakeRouter.WETH()) {
            try IWETH(_token).transfer(_to, _amount) {
                emit SwappedForRewards(_token, _amount);  
            } catch {
                success = false;
            }
            return success;
        }

        // generate the pancake pair path of token -> wbnb
        address[] memory path = new address[](2);
        path[0] = _token;
        path[1] = pancakeRouter.WETH();

        // make the swap        
        IERC20(_token).safeIncreaseAllowance(address(pancakeRouter), _amount);
        try pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(_amount, 0, path, _to, block.timestamp) {
            emit SwappedForRewards(_token, _amount);         
        } catch {
            success = false;
        }
        return success;
    }
}

// File: contracts\GuessItController.sol

pragma solidity ^0.8.0;





contract GuessItController is TimelockController {
    GuessItToken immutable public native;
    GuessItRewards immutable public rewards;
    GuessItFarm immutable public farm;

    constructor(address _pancakeRouter, address _dev, uint _minDelay, address[] memory _admins) TimelockController(_minDelay, _admins, _admins) {
        GuessItRewards rewardsContract = new GuessItRewards(_dev);
        GuessItToken nativeContract = new GuessItToken(_pancakeRouter, _dev, payable(address(rewardsContract)));
        GuessItFarm farmContract = new GuessItFarm(_pancakeRouter, address(nativeContract), payable(address(rewardsContract)), block.number);

        nativeContract.grantRole(nativeContract.getMinterRole(), address(farmContract));
        nativeContract.excludeFromFee(address(farmContract));
        nativeContract.transferOwnership(address(this));
        rewardsContract.grantRole(rewardsContract.getTransferRole(), address(nativeContract));
        rewardsContract.transferOwnership(address(this));       
        farmContract.transferOwnership(address(this));
        
        rewards = rewardsContract;
        native = nativeContract;
        farm = farmContract;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_pancakeRouter","type":"address"},{"internalType":"address","name":"_dev","type":"address"},{"internalType":"uint256","name":"_minDelay","type":"uint256"},{"internalType":"address[]","name":"_admins","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"id","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"CallExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"id","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"delay","type":"uint256"}],"name":"CallScheduled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"Cancelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldDuration","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"MinDelayChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EXECUTOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROPOSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TIMELOCK_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"cancel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"execute","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes[]","name":"datas","type":"bytes[]"},{"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"executeBatch","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"farm","outputs":[{"internalType":"contract GuessItFarm","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinDelay","outputs":[{"internalType":"uint256","name":"duration","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"getTimestamp","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"hashOperation","outputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes[]","name":"datas","type":"bytes[]"},{"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"hashOperationBatch","outputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"isOperation","outputs":[{"internalType":"bool","name":"pending","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"isOperationDone","outputs":[{"internalType":"bool","name":"done","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"isOperationPending","outputs":[{"internalType":"bool","name":"pending","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"isOperationReady","outputs":[{"internalType":"bool","name":"ready","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"native","outputs":[{"internalType":"contract GuessItToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewards","outputs":[{"internalType":"contract GuessItRewards","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256","name":"delay","type":"uint256"}],"name":"schedule","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes[]","name":"datas","type":"bytes[]"},{"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256","name":"delay","type":"uint256"}],"name":"scheduleBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newDelay","type":"uint256"}],"name":"updateDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e06040523480156200001157600080fd5b5060405162008fec38038062008fec83398101604081905262000034916200077f565b8181806200005260008051602062008f8c8339815191528062000634565b6200007c60008051602062008fac83398151915260008051602062008f8c83398151915262000634565b620000a660008051602062008fcc83398151915260008051602062008f8c83398151915262000634565b620000c160008051602062008f8c8339815191523362000688565b620000dc60008051602062008f8c8339815191523062000688565b60005b825181101562000145576200013260008051602062008fac8339815191528483815181106200011e57634e487b7160e01b600052603260045260246000fd5b60200260200101516200068860201b60201c565b6200013d816200089c565b9050620000df565b5060005b81518110156200019b576200018860008051602062008fcc8339815191528383815181106200011e57634e487b7160e01b600052603260045260246000fd5b62000193816200089c565b905062000149565b5060028390556040805160008152602081018590527f11c24f4ead16507c69ac467fbd5e4eed5fb5c699626d2cc6d66421df253886d5910160405180910390a1505050600083604051620001ef9062000738565b6001600160a01b039091168152602001604051809103906000f0801580156200021c573d6000803e3d6000fd5b5090506000858583604051620002329062000746565b6001600160a01b03938416815291831660208301529091166040820152606001604051809103906000f0801580156200026f573d6000803e3d6000fd5b509050600086828443604051620002869062000754565b6001600160a01b0394851681529284166020840152921660408201526060810191909152608001604051809103906000f080158015620002ca573d6000803e3d6000fd5b509050816001600160a01b0316632f2ff15d836001600160a01b031663ea35f36c6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200031657600080fd5b505afa1580156200032b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000351919062000883565b6040516001600160e01b031960e084901b16815260048101919091526001600160a01b0384166024820152604401600060405180830381600087803b1580156200039a57600080fd5b505af1158015620003af573d6000803e3d6000fd5b50506040516310de08fb60e21b81526001600160a01b0384811660048301528516925063437823ec9150602401600060405180830381600087803b158015620003f757600080fd5b505af11580156200040c573d6000803e3d6000fd5b505060405163f2fde38b60e01b81523060048201526001600160a01b038516925063f2fde38b9150602401600060405180830381600087803b1580156200045257600080fd5b505af115801562000467573d6000803e3d6000fd5b50505050826001600160a01b0316632f2ff15d846001600160a01b031663858dee6e6040518163ffffffff1660e01b815260040160206040518083038186803b158015620004b457600080fd5b505afa158015620004c9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004ef919062000883565b6040516001600160e01b031960e084901b16815260048101919091526001600160a01b0385166024820152604401600060405180830381600087803b1580156200053857600080fd5b505af11580156200054d573d6000803e3d6000fd5b505060405163f2fde38b60e01b81523060048201526001600160a01b038616925063f2fde38b9150602401600060405180830381600087803b1580156200059357600080fd5b505af1158015620005a8573d6000803e3d6000fd5b505060405163f2fde38b60e01b81523060048201526001600160a01b038416925063f2fde38b9150602401600060405180830381600087803b158015620005ee57600080fd5b505af115801562000603573d6000803e3d6000fd5b5050506001600160601b0319606094851b811660a05292841b83166080525090911b1660c05250620008da92505050565b600082815260208190526040902060010154819060405184907fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff90600090a460009182526020829052604090912060010155565b62000694828262000698565b5050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1662000694576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620006f43390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610c4b806200220683390190565b61321f8062002e5183390190565b612f1c806200607083390190565b80516001600160a01b03811681146200077a57600080fd5b919050565b6000806000806080858703121562000795578384fd5b620007a08562000762565b93506020620007b181870162000762565b6040870151606088015191955093506001600160401b0380821115620007d5578384fd5b818801915088601f830112620007e9578384fd5b815181811115620007fe57620007fe620008c4565b8060051b604051601f19603f83011681018181108582111715620008265762000826620008c4565b604052828152858101935084860182860187018d101562000845578788fd5b8795505b8386101562000872576200085d8162000762565b85526001959095019493860193860162000849565b50989b979a50959850505050505050565b60006020828403121562000895578081fd5b5051919050565b6000600019821415620008bd57634e487b7160e01b81526011600452602481fd5b5060010190565b634e487b7160e01b600052604160045260246000fd5b60805160601c60a05160601c60c05160601c6118f36200091360003960006103cb015260006104c10152600061028b01526118f36000f3fe6080604052600436106101a05760003560e01c8063584b153e116100ec578063a217fddf1161008a578063d45c443511610064578063d45c443514610538578063d547741f14610565578063e38335e514610585578063f27a0c921461059857600080fd5b8063a217fddf146104e3578063b1c5f427146104f8578063c4d252f51461051857600080fd5b80638f2a0bb0116100c65780638f2a0bb01461044d5780638f61f4f51461046d57806391d148541461048f5780639ec5a894146104af57600080fd5b8063584b153e146103ed57806364d623531461040d5780638065657f1461042d57600080fd5b806313bc9f20116101595780632f2ff15d116101335780632f2ff15d1461035957806331d507501461037957806336568abe1461039957806336e9332d146103b957600080fd5b806313bc9f20146102d8578063248a9ca3146102f85780632ab0f5291461032857600080fd5b806301d5062a146101ac57806301ffc9a7146101ce57806307bd0265146102035780630d3cf6fc1461024557806311b0b42d14610279578063134008d3146102c557600080fd5b366101a757005b600080fd5b3480156101b857600080fd5b506101cc6101c7366004611373565b6105ad565b005b3480156101da57600080fd5b506101ee6101e936600461157c565b610667565b60405190151581526020015b60405180910390f35b34801561020f57600080fd5b506102377fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e6381565b6040519081526020016101fa565b34801561025157600080fd5b506102377f5f58e3a2316349923ce3780f8d587db2d72378aed66a8261c916544fa6846ca581565b34801561028557600080fd5b506102ad7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101fa565b6101cc6102d3366004611309565b61069e565b3480156102e457600080fd5b506101ee6102f3366004611539565b610733565b34801561030457600080fd5b50610237610313366004611539565b60009081526020819052604090206001015490565b34801561033457600080fd5b506101ee610343366004611539565b6000908152600160208190526040909120541490565b34801561036557600080fd5b506101cc610374366004611551565b610759565b34801561038557600080fd5b506101ee610394366004611539565b6107e8565b3480156103a557600080fd5b506101cc6103b4366004611551565b610801565b3480156103c557600080fd5b506102ad7f000000000000000000000000000000000000000000000000000000000000000081565b3480156103f957600080fd5b506101ee610408366004611539565b61087b565b34801561041957600080fd5b506101cc610428366004611539565b610891565b34801561043957600080fd5b50610237610448366004611309565b610935565b34801561045957600080fd5b506101cc61046836600461148b565b610974565b34801561047957600080fd5b5061023760008051602061189e83398151915281565b34801561049b57600080fd5b506101ee6104aa366004611551565b610b0c565b3480156104bb57600080fd5b506102ad7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104ef57600080fd5b50610237600081565b34801561050457600080fd5b506102376105133660046113e6565b610b35565b34801561052457600080fd5b506101cc610533366004611539565b610b7a565b34801561054457600080fd5b50610237610553366004611539565b60009081526001602052604090205490565b34801561057157600080fd5b506101cc610580366004611551565b610c6b565b6101cc6105933660046113e6565b610ceb565b3480156105a457600080fd5b50600254610237565b60008051602061189e8339815191526105c68133610b0c565b806105d757506105d7816000610b0c565b6105fc5760405162461bcd60e51b81526004016105f3906117c1565b60405180910390fd5b600061060c898989898989610935565b90506106188184610e67565b6000817f4cf4410cc57040e44862ef0f45f3dd5a5e02db8eb8add648d4b0e236f1d07dca8b8b8b8b8b8a6040516106549695949392919061169c565b60405180910390a3505050505050505050565b60006001600160e01b03198216637965db0b60e01b148061069857506301ffc9a760e01b6001600160e01b03198316145b92915050565b7fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e636106c98133610b0c565b806106da57506106da816000610b0c565b6106f65760405162461bcd60e51b81526004016105f3906117c1565b6000610706888888888888610935565b905061071184610f56565b6107208160008a8a8a8a610fd0565b610729816110e4565b5050505050505050565b6000818152600160205260408120546001811180156107525750428111155b9392505050565b600082815260208190526040902060010154610776905b33610b0c565b6107da5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526e0818591b5a5b881d1bc819dc985b9d608a1b60648201526084016105f3565b6107e48282611160565b5050565b60008181526001602052604081205481905b1192915050565b6001600160a01b03811633146108715760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016105f3565b6107e482826111e4565b60008181526001602081905260408220546107fa565b3330146108f45760405162461bcd60e51b815260206004820152602b60248201527f54696d656c6f636b436f6e74726f6c6c65723a2063616c6c6572206d7573742060448201526a62652074696d656c6f636b60a81b60648201526084016105f3565b60025460408051918252602082018390527f11c24f4ead16507c69ac467fbd5e4eed5fb5c699626d2cc6d66421df253886d5910160405180910390a1600255565b60008686868686866040516020016109529695949392919061169c565b6040516020818303038152906040528051906020012090509695505050505050565b60008051602061189e83398151915261098d8133610b0c565b8061099e575061099e816000610b0c565b6109ba5760405162461bcd60e51b81526004016105f3906117c1565b8887146109d95760405162461bcd60e51b81526004016105f39061177e565b8885146109f85760405162461bcd60e51b81526004016105f39061177e565b6000610a0a8b8b8b8b8b8b8b8b610b35565b9050610a168184610e67565b60005b8a811015610afe5780827f4cf4410cc57040e44862ef0f45f3dd5a5e02db8eb8add648d4b0e236f1d07dca8e8e85818110610a6457634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610a7991906112ef565b8d8d86818110610a9957634e487b7160e01b600052603260045260246000fd5b905060200201358c8c87818110610ac057634e487b7160e01b600052603260045260246000fd5b9050602002810190610ad2919061180f565b8c8b604051610ae69695949392919061169c565b60405180910390a3610af78161186c565b9050610a19565b505050505050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60008888888888888888604051602001610b569897969594939291906116d9565b60405160208183030381529060405280519060200120905098975050505050505050565b60008051602061189e833981519152610b938133610b0c565b80610ba45750610ba4816000610b0c565b610bc05760405162461bcd60e51b81526004016105f3906117c1565b610bc98261087b565b610c2f5760405162461bcd60e51b815260206004820152603160248201527f54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e2063616044820152701b9b9bdd0818994818d85b98d95b1b1959607a1b60648201526084016105f3565b6000828152600160205260408082208290555183917fbaa1eb22f2a492ba1a5fea61b8df4d27c6c8b5f3971e63bb58fa14ff72eedb7091a25050565b600082815260208190526040902060010154610c8690610770565b6108715760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526f2061646d696e20746f207265766f6b6560801b60648201526084016105f3565b7fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e63610d168133610b0c565b80610d275750610d27816000610b0c565b610d435760405162461bcd60e51b81526004016105f3906117c1565b878614610d625760405162461bcd60e51b81526004016105f39061177e565b878414610d815760405162461bcd60e51b81526004016105f39061177e565b6000610d938a8a8a8a8a8a8a8a610b35565b9050610d9e84610f56565b60005b89811015610e5157610e4182828d8d85818110610dce57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610de391906112ef565b8c8c86818110610e0357634e487b7160e01b600052603260045260246000fd5b905060200201358b8b87818110610e2a57634e487b7160e01b600052603260045260246000fd5b9050602002810190610e3c919061180f565b610fd0565b610e4a8161186c565b9050610da1565b50610e5b816110e4565b50505050505050505050565b610e70826107e8565b15610ed55760405162461bcd60e51b815260206004820152602f60248201527f54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e20616c60448201526e1c9958591e481cd8da19591d5b1959608a1b60648201526084016105f3565b600254811015610f365760405162461bcd60e51b815260206004820152602660248201527f54696d656c6f636b436f6e74726f6c6c65723a20696e73756666696369656e746044820152652064656c617960d01b60648201526084016105f3565b610f408142611854565b6000928352600160205260409092209190915550565b801580610f725750600081815260016020819052604090912054145b610fcd5760405162461bcd60e51b815260206004820152602660248201527f54696d656c6f636b436f6e74726f6c6c65723a206d697373696e6720646570656044820152656e64656e637960d01b60648201526084016105f3565b50565b6000846001600160a01b0316848484604051610fed92919061165a565b60006040518083038185875af1925050503d806000811461102a576040519150601f19603f3d011682016040523d82523d6000602084013e61102f565b606091505b505090508061109c5760405162461bcd60e51b815260206004820152603360248201527f54696d656c6f636b436f6e74726f6c6c65723a20756e6465726c79696e6720746044820152721c985b9cd858dd1a5bdb881c995d995c9d1959606a1b60648201526084016105f3565b85877fc2617efa69bab66782fa219543714338489c4e9e178271560a91b82c3f612b58878787876040516110d3949392919061166a565b60405180910390a350505050505050565b6110ed81610733565b61114c5760405162461bcd60e51b815260206004820152602a60248201527f54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e206973604482015269206e6f7420726561647960b01b60648201526084016105f3565b600090815260016020819052604090912055565b61116a8282610b0c565b6107e4576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556111a03390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6111ee8282610b0c565b156107e4576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b80356001600160a01b038116811461126057600080fd5b919050565b60008083601f840112611276578182fd5b50813567ffffffffffffffff81111561128d578182fd5b6020830191508360208260051b85010111156112a857600080fd5b9250929050565b60008083601f8401126112c0578182fd5b50813567ffffffffffffffff8111156112d7578182fd5b6020830191508360208285010111156112a857600080fd5b600060208284031215611300578081fd5b61075282611249565b60008060008060008060a08789031215611321578182fd5b61132a87611249565b955060208701359450604087013567ffffffffffffffff81111561134c578283fd5b61135889828a016112af565b979a9699509760608101359660809091013595509350505050565b600080600080600080600060c0888a03121561138d578081fd5b61139688611249565b965060208801359550604088013567ffffffffffffffff8111156113b8578182fd5b6113c48a828b016112af565b989b979a50986060810135976080820135975060a09091013595509350505050565b60008060008060008060008060a0898b031215611401578081fd5b883567ffffffffffffffff80821115611418578283fd5b6114248c838d01611265565b909a50985060208b013591508082111561143c578283fd5b6114488c838d01611265565b909850965060408b0135915080821115611460578283fd5b5061146d8b828c01611265565b999c989b509699959896976060870135966080013595509350505050565b600080600080600080600080600060c08a8c0312156114a8578081fd5b893567ffffffffffffffff808211156114bf578283fd5b6114cb8d838e01611265565b909b50995060208c01359150808211156114e3578283fd5b6114ef8d838e01611265565b909950975060408c0135915080821115611507578283fd5b506115148c828d01611265565b9a9d999c50979a969997986060880135976080810135975060a0013595509350505050565b60006020828403121561154a578081fd5b5035919050565b60008060408385031215611563578182fd5b8235915061157360208401611249565b90509250929050565b60006020828403121561158d578081fd5b81356001600160e01b031981168114610752578182fd5b81835260006020808501808196508560051b8101915084845b878110156116245782840389528135601e198836030181126115dd578687fd5b8701803567ffffffffffffffff8111156115f5578788fd5b803603891315611603578788fd5b6116108682898501611631565b9a87019a95505050908401906001016115bd565b5091979650505050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b8183823760009101908152919050565b60018060a01b0385168152836020820152606060408201526000611692606083018486611631565b9695505050505050565b60018060a01b038716815285602082015260a0604082015260006116c460a083018688611631565b60608301949094525060800152949350505050565b60a0808252810188905260008960c08301825b8b81101561171a576001600160a01b0361170584611249565b168252602092830192909101906001016116ec565b5083810360208501528881526001600160fb1b03891115611739578283fd5b8860051b9150818a6020830137016020818101838152848303909101604085015261176581888a6115a4565b6060850196909652505050608001529695505050505050565b60208082526023908201527f54696d656c6f636b436f6e74726f6c6c65723a206c656e677468206d69736d616040820152620e8c6d60eb1b606082015260800190565b6020808252602e908201527f54696d656c6f636b436f6e74726f6c6c65723a2073656e64657220726571756960408201526d3932b9903832b936b4b9b9b4b7b760911b606082015260800190565b6000808335601e19843603018112611825578283fd5b83018035915067ffffffffffffffff82111561183f578283fd5b6020019150368190038213156112a857600080fd5b6000821982111561186757611867611887565b500190565b600060001982141561188057611880611887565b5060010190565b634e487b7160e01b600052601160045260246000fdfeb09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc1a2646970667358221220ed6b53bd5c455aca2f4d59fd49c536880d5582ff04899a9d7696c3f2ba9d40df64736f6c6343000804003360a06040526101f46080526103e860035534801561001c57600080fd5b50604051610c4b380380610c4b83398101604081905261003b91610143565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600280546001600160a01b0319166001600160a01b0383161790556100a860006100a33390565b6100ae565b50610171565b6100b882826100bc565b5050565b60008281526001602090815260408083206001600160a01b038516845290915290205460ff166100b85760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b600060208284031215610154578081fd5b81516001600160a01b038116811461016a578182fd5b9392505050565b608051610ab96101926000396000818160fc01526103960152610ab96000f3fe6080604052600436106100ec5760003560e01c8063858dee6e1161008a578063a217fddf11610059578063a217fddf1461036f578063c3a4382414610384578063d547741f146103b8578063f2fde38b146103d857600080fd5b8063858dee6e146102ca5780638da5cb5b146102fd57806391cca3db1461032f57806391d148541461034f57600080fd5b80632f2ff15d116100c65780632f2ff15d1461025357806336568abe14610275578063715018a61461029557806382723192146102aa57600080fd5b806301ffc9a7146101ab578063206b60f9146101e0578063248a9ca31461022257600080fd5b366101a6576003546000906101217f000000000000000000000000000000000000000000000000000000000000000034610a1f565b61012b91906109ff565b6002546040519192506001600160a01b03169082156108fc029083906000818181858888f19350505050158015610166573d6000803e3d6000fd5b507fbb28dd7cd6be6f61828ea9158a04c5182c716a946a6d2f31f4864edb87471aa66101928234610a3e565b60405190815260200160405180910390a150005b600080fd5b3480156101b757600080fd5b506101cb6101c63660046109d7565b6103f8565b60405190151581526020015b60405180910390f35b3480156101ec57600080fd5b506102147f1d77cccfbf048d79b91f887be9018e06d30b0fd18cecd40e756439b2bb65e4bf81565b6040519081526020016101d7565b34801561022e57600080fd5b5061021461023d366004610990565b6000908152600160208190526040909120015490565b34801561025f57600080fd5b5061027361026e3660046109a8565b61042f565b005b34801561028157600080fd5b506102736102903660046109a8565b6104c4565b3480156102a157600080fd5b5061027361053e565b3480156102b657600080fd5b506102736102c5366004610965565b6105e2565b3480156102d657600080fd5b507f1d77cccfbf048d79b91f887be9018e06d30b0fd18cecd40e756439b2bb65e4bf610214565b34801561030957600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101d7565b34801561033b57600080fd5b50600254610317906001600160a01b031681565b34801561035b57600080fd5b506101cb61036a3660046109a8565b6106aa565b34801561037b57600080fd5b50610214600081565b34801561039057600080fd5b506102147f000000000000000000000000000000000000000000000000000000000000000081565b3480156103c457600080fd5b506102736103d33660046109a8565b6106d5565b3480156103e457600080fd5b506102736103f3366004610942565b610756565b60006001600160e01b03198216637965db0b60e01b148061042957506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000828152600160208190526040909120015461044d905b336106aa565b6104b65760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526e0818591b5a5b881d1bc819dc985b9d608a1b60648201526084015b60405180910390fd5b6104c08282610870565b5050565b6001600160a01b03811633146105345760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016104ad565b6104c082826108db565b6000546001600160a01b031633146105985760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104ad565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b61060c7f1d77cccfbf048d79b91f887be9018e06d30b0fd18cecd40e756439b2bb65e4bf336106aa565b61066f5760405162461bcd60e51b815260206004820152602e60248201527f47756573734974526577617264733a2063616c6c6572206973206e6f7420616260448201526d3632903a37903a3930b739b332b960911b60648201526084016104ad565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156106a5573d6000803e3d6000fd5b505050565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600082815260016020819052604090912001546106f190610447565b6105345760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526f2061646d696e20746f207265766f6b6560801b60648201526084016104ad565b6000546001600160a01b031633146107b05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104ad565b6001600160a01b0381166108155760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104ad565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b61087a82826106aa565b6104c05760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b6108e582826106aa565b156104c05760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600060208284031215610953578081fd5b813561095e81610a6b565b9392505050565b60008060408385031215610977578081fd5b823561098281610a6b565b946020939093013593505050565b6000602082840312156109a1578081fd5b5035919050565b600080604083850312156109ba578182fd5b8235915060208301356109cc81610a6b565b809150509250929050565b6000602082840312156109e8578081fd5b81356001600160e01b03198116811461095e578182fd5b600082610a1a57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610a3957610a39610a55565b500290565b600082821015610a5057610a50610a55565b500390565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610a8057600080fd5b5056fea264697066735822122056e59a896a4e6123aa76485d5f65cffaa786db1f6b1a1c9c6cf6e138969c87f564736f6c6343000804003360e06040526008805460ff1916905560006009556032600a556103ca600b556101f4600c556103e860105569021e19e0c9bab24000006013553480156200004557600080fd5b506040516200321f3803806200321f8339810160408190526200006891620004c5565b604080518082018252600d81526c23bab2b9b9a4ba102a37b5b2b760991b60208083019182528351808501909452600584526411d4d4d25560da1b9084015281516c01431e0fae6d7217caa00000009391620000c891600391906200041f565b508051620000de9060049060208401906200041f565b50505060008111620001375760405162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a206361702069732030000000000000000000000060448201526064015b60405180910390fd5b608052600680546001600160a01b0319163390811790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060016007556001600160601b0319606084811b821660c05282901b1660a052620001a73062000206565b620001b28162000206565b620001bd8262000206565b620001e0826b033b2e3c9fd0803ce80000006200028660201b620019e21760201c565b6b033b2e3c9fd0803ce8000000600e55620001fd6000336200036b565b50505062000593565b6006546001600160a01b03163314620002625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200012e565b6001600160a01b03166000908152600f60205260409020805460ff19166001179055565b6001600160a01b038216620002de5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200012e565b8060026000828254620002f2919062000518565b90915550506001600160a01b038216600090815260208190526040812080548392906200032190849062000518565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6200037782826200037b565b5050565b60008281526005602090815260408083206001600160a01b038516845290915290205460ff16620003775760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620003db3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b8280546200042d906200053d565b90600052602060002090601f0160209004810192826200045157600085556200049c565b82601f106200046c57805160ff19168380011785556200049c565b828001600101855582156200049c579182015b828111156200049c5782518255916020019190600101906200047f565b50620004aa929150620004ae565b5090565b5b80821115620004aa5760008155600101620004af565b600080600060608486031215620004da578283fd5b8351620004e7816200057a565b6020850151909350620004fa816200057a565b60408501519092506200050d816200057a565b809150509250925092565b600082198211156200053857634e487b7160e01b81526011600452602481fd5b500190565b600181811c908216806200055257607f821691505b602082108114156200057457634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b03811681146200059057600080fd5b50565b60805160a05160601c60c05160601c612c1e62000601600039600081816105cf015281816121900152818161226601526122a2015260008181610565015281816109110152818161122e0152818161127201526122d6015260008181610395015261257f0152612c1e6000f3fe608060405234801561001057600080fd5b50600436106102a05760003560e01c80637368c42011610167578063a2309ff8116100ce578063d539139311610087578063d539139314610604578063d547741f1461062b578063dd62ed3e1461063e578063ea2f0b3714610677578063ea35f36c1461068a578063f2fde38b146106b057600080fd5b8063a2309ff81461058f578063a457c2d714610597578063a9059cbb146105aa578063bef4876b146105bd578063c21ebd07146105ca578063c930c451146105f157600080fd5b806395d89b411161012057806395d89b411461052a5780639835fc7e1461053257806398d5fdca146105455780639a97e4831461054d5780639ec5a89414610560578063a217fddf1461058757600080fd5b80637368c420146104b057806379cc6790146104b95780638476d3a6146104cc5780638da5cb5b146104df57806391b7f5ed1461050457806391d148541461051757600080fd5b8063355274ea1161020b578063437823ec116101c4578063437823ec146104185780634494fd9f1461042b5780634caeb3dc146104405780635342acb41461045357806370a082311461047f578063715018a6146104a857600080fd5b8063355274ea1461039357806336568abe146103b957806339509351146103cc5780633ee97414146103df57806340c10f19146103f257806342966c681461040557600080fd5b8063229fd3521161025d578063229fd3521461031d57806323b872dd14610326578063248a9ca3146103395780632e1a7d4d1461035c5780632f2ff15d14610371578063313ce5671461038457600080fd5b806301ffc9a7146102a557806306fdde03146102cd578063095ea7b3146102e257806315357081146102f557806318160ddd1461030c5780631dccb47014610314575b600080fd5b6102b86102b33660046127ff565b6106c3565b60405190151581526020015b60405180910390f35b6102d56106fa565b6040516102c491906128c6565b6102b86102f0366004612718565b61078c565b6102fe600b5481565b6040519081526020016102c4565b6002546102fe565b6102fe600a5481565b6102fe600c5481565b6102b86103343660046126d8565b6107a2565b6102fe610347366004612743565b60009081526005602052604090206001015490565b61036f61036a366004612743565b610858565b005b61036f61037f36600461275b565b610a29565b604051601281526020016102c4565b7f00000000000000000000000000000000000000000000000000000000000000006102fe565b61036f6103c736600461275b565b610ab8565b6102b86103da366004612718565b610b32565b61036f6103ed366004612743565b610b69565b61036f610400366004612718565b610c16565b61036f610413366004612743565b610ca2565b61036f610426366004612661565b610cb0565b610433610cfe565b6040516102c491906129e2565b61036f61044e366004612743565b610dd4565b6102b8610461366004612661565b6001600160a01b03166000908152600f602052604090205460ff1690565b6102fe61048d366004612661565b6001600160a01b031660009081526020819052604090205490565b61036f610e83565b6102fe60095481565b61036f6104c7366004612718565b610ef7565b61036f6104da366004612743565b610f7f565b6006546001600160a01b03165b6040516001600160a01b0390911681526020016102c4565b61036f610512366004612743565b61102e565b6102b861052536600461275b565b611106565b6102d5611131565b6102fe610540366004612743565b611140565b6102fe6112c4565b61036f61055b36600461277f565b611318565b6104ec7f000000000000000000000000000000000000000000000000000000000000000081565b6102fe600081565b600e546102fe565b6102b86105a5366004612718565b6114d3565b6102b86105b8366004612718565b61156e565b6008546102b89060ff1681565b6104ec7f000000000000000000000000000000000000000000000000000000000000000081565b6102b86105ff366004612827565b61157b565b6102fe7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61036f61063936600461275b565b61182c565b6102fe61064c3660046126a0565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61036f610685366004612661565b6118ac565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66102fe565b61036f6106be366004612661565b6118f7565b60006001600160e01b03198216637965db0b60e01b14806106f457506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461070990612b6d565b80601f016020809104026020016040519081016040528092919081815260200182805461073590612b6d565b80156107825780601f1061075757610100808354040283529160200191610782565b820191906000526020600020905b81548152906001019060200180831161076557829003601f168201915b5050505050905090565b6000610799338484611ac1565b50600192915050565b60006107af848484611be6565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156108395760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61084d85336108488685612b26565b611ac1565b506001949350505050565b600280601654610100900460ff16600281111561088557634e487b7160e01b600052602160045260246000fd5b146108a25760405162461bcd60e51b815260040161083090612943565b600260075414156108f55760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610830565b6002600755600061090583611140565b90506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166382723192336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401600060405180830381600087803b15801561097f57600080fd5b505af1158015610993573d6000803e3d6000fd5b5050505061099e3390565b6001600160a01b03167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5826040516109d891815260200190565b60405180910390a26109ea3384611ce5565b60165460ff16158015610a0c57503360009081526015602052604090205460ff165b15610a1f576016805460ff191660011790555b5050600160075550565b600082815260056020526040902060010154610a46905b33611106565b610aaa5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526e0818591b5a5b881d1bc819dc985b9d608a1b6064820152608401610830565b610ab48282611e34565b5050565b6001600160a01b0381163314610b285760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610830565b610ab48282611eba565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610799918590610848908690612aaa565b6006546001600160a01b03163314610b935760405162461bcd60e51b815260040161083090612978565b600a811015610bb45760405162461bcd60e51b8152600401610830906129ad565b6064811115610bd55760405162461bcd60e51b8152600401610830906129ad565b600a5460408051918252602082018390527fd47887c64f26878dddcec29c39d7865fb775de9771785b5e0ea18e1632ea2dcb910160405180910390a1600a55565b610c407f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633611106565b610c985760405162461bcd60e51b8152602060048201526024808201527f47756573734974546f6b656e3a2063616c6c6572206973206e6f742061206d69604482015263373a32b960e11b6064820152608401610830565b610ab48282611f21565b610cad335b82611ce5565b50565b6006546001600160a01b03163314610cda5760405162461bcd60e51b815260040161083090612978565b6001600160a01b03166000908152600f60205260409020805460ff19166001179055565b604080518082019091526000815260606020820152600080601654610100900460ff166002811115610d4057634e487b7160e01b600052602160045260246000fd5b1415610d5e5760405162461bcd60e51b815260040161083090612943565b60116040518060400160405290816000820154815260200160018201805480602002602001604051908101604052809291908181526020018280548015610dc457602002820191906000526020600020905b815481526020019060010190808311610db0575b50505050508152505091505b5090565b6006546001600160a01b03163314610dfe5760405162461bcd60e51b815260040161083090612978565b61012c811015610e205760405162461bcd60e51b8152600401610830906129ad565b6103e8811115610e425760405162461bcd60e51b8152600401610830906129ad565b600c5460408051918252602082018390527fa5c1e6032141085a8ad12d617416de80d762905205ab5a8473402bc9571f70ec910160405180910390a1600c55565b6006546001600160a01b03163314610ead5760405162461bcd60e51b815260040161083090612978565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b6000610f03833361064c565b905081811015610f615760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b6064820152608401610830565b610f7083336108488585612b26565b610f7a8383611ce5565b505050565b6006546001600160a01b03163314610fa95760405162461bcd60e51b815260040161083090612978565b6103b6811015610fcb5760405162461bcd60e51b8152600401610830906129ad565b6103de811115610fed5760405162461bcd60e51b8152600401610830906129ad565b600b5460408051918252602082018390527f161d6a5aba486d2f56af46e5a71b1ccad258b7c42e617e64905ab8bf8fd7502b910160405180910390a1600b55565b6006546001600160a01b031633146110585760405162461bcd60e51b815260040161083090612978565b600180601654610100900460ff16600281111561108557634e487b7160e01b600052602160045260246000fd5b146110a25760405162461bcd60e51b815260040161083090612943565b6013548211156110c45760405162461bcd60e51b8152600401610830906128f9565b60145460408051918252602082018490527f945c1c4e99aa89f648fbfe3df471b916f719e16d960fcec0737d4d56bd696838910160405180910390a150601455565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461070990612b6d565b6000600280601654610100900460ff16600281111561116f57634e487b7160e01b600052602160045260246000fd5b1461118c5760405162461bcd60e51b815260040161083090612943565b600083116111dc5760405162461bcd60e51b815260206004820181905260248201527f47756573734974546f6b656e3a206e6f7420612076616c696420616d6f756e746044820152606401610830565b60006111e760025490565b60165490915060009060ff1615801561120f57503360009081526015602052604090205460ff165b61121a57600061125e565b601054600a54611254906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001631612b07565b61125e9190612ae7565b905060008286611298846001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001631612b26565b6112a29190612b07565b6112ac9190612ae7565b90506112b88183612aaa565b94505050505b50919050565b60008080601654610100900460ff1660028111156112f257634e487b7160e01b600052602160045260246000fd5b14156113105760405162461bcd60e51b815260040161083090612943565b505060145490565b600080601654610100900460ff16600281111561134557634e487b7160e01b600052602160045260246000fd5b146113625760405162461bcd60e51b815260040161083090612943565b846113bf5760405162461bcd60e51b815260206004820152602760248201527f47756573734974546f6b656e3a2070757a7a6c652073686f756c6420626520706044820152661c9bdd9a59195960ca1b6064820152608401610830565b8261141f5760405162461bcd60e51b815260206004820152602a60248201527f47756573734974546f6b656e3a20736f6c7574696f6e732073686f756c64206260448201526919481c1c9bdd9a59195960b21b6064820152608401610830565b6013548211156114415760405162461bcd60e51b8152600401610830906128f9565b60118590556114526012858561260a565b506040517f762f260439bb4be3ef6e4dc2786e2e7bd187d3d80b79057d7a424fe98563e33590600090a16016805461010061ff001990911617905560148290556040805160008152602081018490527f945c1c4e99aa89f648fbfe3df471b916f719e16d960fcec0737d4d56bd696838910160405180910390a15050505050565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156115555760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610830565b61156433856108488685612b26565b5060019392505050565b6000610799338484611be6565b6000600180601654610100900460ff1660028111156115aa57634e487b7160e01b600052602160045260246000fd5b146115c75760405162461bcd60e51b815260040161083090612943565b60145483146116305760405162461bcd60e51b815260206004820152602f60248201527f47756573734974546f6b656e3a206775657373696e6720707269636520636f6e60448201526e191a5d1a5bdb9cc81b9bdd081b595d608a1b6064820152608401610830565b6000601054600c54856116439190612b07565b61164d9190612ae7565b9050600061165b8286612b26565b9050801561166c5761166c33610ca7565b81156116875761167e335b3084611f46565b6116878261211e565b60125460006116968989612382565b6040516020016116a691906128aa565b60405160208183030381529060405280519060200120905060005b828110156117b05781601160010182815481106116ee57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154141561179e5733600090815260156020526040908190208054600160ff1991821681179092556008805490911682179055436009556016805461ff001916610200179055905161174c908c908c9061289a565b604051809103902061175b3390565b6001600160a01b03167fbea124d3a375282ece0dc6fa319c74f8514d71771b412cf29f676bb2e9e0c66660405160405180910390a4600196505050505050611824565b806117a881612ba2565b9150506116c1565b5033600090815260156020526040808220805460ff19169055516117d7908b908b9061289a565b60405180910390206117e63390565b6001600160a01b03167fbea124d3a375282ece0dc6fa319c74f8514d71771b412cf29f676bb2e9e0c66660405160405180910390a460009550505050505b509392505050565b60008281526005602052604090206001015461184790610a40565b610b285760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526f2061646d696e20746f207265766f6b6560801b6064820152608401610830565b6006546001600160a01b031633146118d65760405162461bcd60e51b815260040161083090612978565b6001600160a01b03166000908152600f60205260409020805460ff19169055565b6006546001600160a01b031633146119215760405162461bcd60e51b815260040161083090612978565b6001600160a01b0381166119865760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610830565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038216611a385760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610830565b8060026000828254611a4a9190612aaa565b90915550506001600160a01b03821660009081526020819052604081208054839290611a77908490612aaa565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038316611b235760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610830565b6001600160a01b038216611b845760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610830565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600d5460ff1680611bf9575060085460ff165b80611c1c57506001600160a01b0383166000908152600f602052604090205460ff165b80611c3f57506001600160a01b0382166000908152600f602052604090205460ff165b15611c4f57610f7a838383611f46565b6000601054600b5483611c629190612b07565b611c6c9190612ae7565b90506000611c7a8284612b26565b90506000601054600c5483611c8f9190612b07565b611c999190612ae7565b90506000611ca78284612b26565b90508015611cb957611cb98782611ce5565b8115611cd157611cc833611677565b611cd18261211e565b611cdc878786611f46565b50505050505050565b6001600160a01b038216611d455760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610830565b6001600160a01b03821660009081526020819052604090205481811015611db95760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610830565b611dc38282612b26565b6001600160a01b03841660009081526020819052604081209190915560028054849290611df1908490612b26565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611bd9565b611e3e8282611106565b610ab45760008281526005602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611e763390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611ec48282611106565b15610ab45760008281526005602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b611f2b828261257d565b80600e6000828254611f3d9190612aaa565b90915550505050565b6001600160a01b038316611faa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610830565b6001600160a01b03821661200c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610830565b6001600160a01b038316600090815260208190526040902054818110156120845760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610830565b61208e8282612b26565b6001600160a01b0380861660009081526020819052604080822093909355908516815290812080548492906120c4908490612aaa565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161211091815260200190565b60405180910390a350505050565b600d805460ff19166001179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061216e57634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156121e757600080fd5b505afa1580156121fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221f9190612684565b8160018151811061224057634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b03168152505061228b307f000000000000000000000000000000000000000000000000000000000000000084611ac1565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac9479061230090859060019086907f0000000000000000000000000000000000000000000000000000000000000000904290600401612a3a565b600060405180830381600087803b15801561231a57600080fd5b505af192505050801561232b575060015b61233e576123393083611ce5565b612374565b60405182815230907fc19b0a2a725291515750b5e4de698772ceeede9a3bff4f5f183b2a879298dfa49060200160405180910390a25b5050600d805460ff19169055565b6060600083838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052508451949550939250505067ffffffffffffffff8111156123e857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612412576020820181803683370190505b50905060005b825181101561257457604183828151811061244357634e487b7160e01b600052603260045260246000fd5b016020015160f81c108015906124815750605a83828151811061247657634e487b7160e01b600052603260045260246000fd5b016020015160f81c11155b156124ff578281815181106124a657634e487b7160e01b600052603260045260246000fd5b602001015160f81c60f81b60f81c60206124c09190612ac2565b60f81b8282815181106124e357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612562565b82818151811061251f57634e487b7160e01b600052603260045260246000fd5b602001015160f81c60f81b82828151811061254a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053505b8061256c81612ba2565b915050612418565b50949350505050565b7f0000000000000000000000000000000000000000000000000000000000000000816125a860025490565b6125b29190612aaa565b11156126005760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a20636170206578636565646564000000000000006044820152606401610830565b610ab482826119e2565b828054828255906000526020600020908101928215612645579160200282015b8281111561264557823582559160200191906001019061262a565b50610dd09291505b80821115610dd0576000815560010161264d565b600060208284031215612672578081fd5b813561267d81612bd3565b9392505050565b600060208284031215612695578081fd5b815161267d81612bd3565b600080604083850312156126b2578081fd5b82356126bd81612bd3565b915060208301356126cd81612bd3565b809150509250929050565b6000806000606084860312156126ec578081fd5b83356126f781612bd3565b9250602084013561270781612bd3565b929592945050506040919091013590565b6000806040838503121561272a578182fd5b823561273581612bd3565b946020939093013593505050565b600060208284031215612754578081fd5b5035919050565b6000806040838503121561276d578182fd5b8235915060208301356126cd81612bd3565b60008060008060608587031215612794578081fd5b84359350602085013567ffffffffffffffff808211156127b2578283fd5b818701915087601f8301126127c5578283fd5b8135818111156127d3578384fd5b8860208260051b85010111156127e7578384fd5b95986020929092019750949560400135945092505050565b600060208284031215612810578081fd5b81356001600160e01b03198116811461267d578182fd5b60008060006040848603121561283b578283fd5b833567ffffffffffffffff80821115612852578485fd5b818601915086601f830112612865578485fd5b813581811115612873578586fd5b876020828501011115612884578586fd5b6020928301989097509590910135949350505050565b8183823760009101908152919050565b600082516128bc818460208701612b3d565b9190910192915050565b60208152600082518060208401526128e5816040850160208701612b3d565b601f01601f19169190910160400192915050565b6020808252602a908201527f47756573734974546f6b656e3a20696e76616c6964206775657373207072696360408201526919481c1c9bdd9a59195960b21b606082015260800190565b6020808252818101527f47756573734974546f6b656e3a20696e76616c69642067616d65207374617465604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252818101527f47756573734974546f6b656e3a20696e76616c69642070657263656e74616765604082015260600190565b60208082528251828201528281015160408084015280516060840181905260009291820190839060808601905b80831015612a2f5783518252928401926001929092019190840190612a0f565b509695505050505050565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b81811015612a895784516001600160a01b031683529383019391830191600101612a64565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115612abd57612abd612bbd565b500190565b600060ff821660ff84168060ff03821115612adf57612adf612bbd565b019392505050565b600082612b0257634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612b2157612b21612bbd565b500290565b600082821015612b3857612b38612bbd565b500390565b60005b83811015612b58578181015183820152602001612b40565b83811115612b67576000848401525b50505050565b600181811c90821680612b8157607f821691505b602082108114156112be57634e487b7160e01b600052602260045260246000fd5b6000600019821415612bb657612bb6612bbd565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610cad57600080fdfea264697066735822122043472748588e65b413139641ba8dc887339214bda74d9cba878c2235f8c84ae364736f6c6343000804003361012060405268a2a15d09519be00000608052600060055564e8d4a510006006556103e86007553480156200003357600080fd5b5060405162002f1c38038062002f1c8339810160408190526200005691620000c7565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060016002556001600160601b0319606094851b81166101005292841b831660c052921b1660e05260a05262000139565b60008060008060808587031215620000dd578384fd5b8451620000ea8162000120565b6020860151909450620000fd8162000120565b6040860151909350620001108162000120565b6060959095015193969295505050565b6001600160a01b03811681146200013657600080fd5b50565b60805160a05160c05160601c60e05160601c6101005160601c612ce6620002366000396000818161048d01528181611ec401528181611f6d015281816120410152818161213c015281816121dc015281816123bb0152818161248901526124c501526000818161042401528181611c8b0152611cc80152600081816101f601528181610968015281816109f901528181610b45015281816111d70152818161126801528181611904015281816119b601528181611a5f01528181611b0b0152611ba301526000818161030001528181610d660152610d8d01526000818161046601528181610aa701528181610ad501526113e00152612ce66000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80638862445a116100f9578063ab855ddf11610097578063d547741f11610071578063d547741f146104af578063e2bbb158146104c2578063e7f3fbde146104d5578063f2fde38b146104de57600080fd5b8063ab855ddf1461044e578063b1a48be914610461578063c21ebd071461048857600080fd5b806391d14854116100d357806391d14854146103b757806393f1a40b146103ca5780639ec5a8941461041f578063a217fddf1461044657600080fd5b80638862445a146103805780638da5cb5b146103935780638dbb1e3a146103a457600080fd5b806348cd4cb111610166578063590d141c11610140578063590d141c1461034857806360246c881461035b578063630b5ba114610370578063715018a61461037857600080fd5b806348cd4cb1146102fb57806351eb05a6146103225780635312ea8e1461033557600080fd5b8063248a9ca3116101a2578063248a9ca31461028e5780632f2ff15d146102c057806336568abe146102d5578063441a3e70146102e857600080fd5b806301ffc9a7146101c957806311b0b42d146101f15780631526fe2714610230575b600080fd5b6101dc6101d73660046128b2565b6104f1565b60405190151581526020015b60405180910390f35b6102187f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101e8565b61024361023e36600461286b565b610528565b604080516001600160a01b0390991689526020890197909752941515958701959095526060860192909252608085015260a084015260c083019190915260e0820152610100016101e8565b6102b261029c36600461286b565b6000908152600160208190526040909120015490565b6040519081526020016101e8565b6102d36102ce366004612883565b61058c565b005b6102d36102e3366004612883565b610621565b6102d36102f63660046128f2565b61069b565b6102b27f000000000000000000000000000000000000000000000000000000000000000081565b6102d361033036600461286b565b6108e3565b6102d361034336600461286b565b610bec565b6102d36103563660046127e9565b610d05565b610363610f7e565b6040516101e89190612992565b6102d3611036565b6102d361105d565b6102d361038e366004612936565b6110d1565b6000546001600160a01b0316610218565b6102b26103b23660046128f2565b6111d3565b6101dc6103c5366004612883565b611315565b6104046103d8366004612883565b600460209081526000928352604080842090915290825290208054600182015460029092015490919083565b604080519384526020840192909252908201526060016101e8565b6102187f000000000000000000000000000000000000000000000000000000000000000081565b6102b2600081565b6102b261045c366004612883565b611340565b6102b27f000000000000000000000000000000000000000000000000000000000000000081565b6102187f000000000000000000000000000000000000000000000000000000000000000081565b6102d36104bd366004612883565b611480565b6102d36104d03660046128f2565b611501565b6102b260055481565b6102d36104ec3660046127b1565b611730565b60006001600160e01b03198216637965db0b60e01b148061052257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6003818154811061053857600080fd5b6000918252602090912060089091020180546001820154600283015460038401546004850154600586015460068701546007909701546001600160a01b039096169750939560ff9093169491939092909188565b600082815260016020819052604090912001546105aa905b33611315565b6106135760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526e0818591b5a5b881d1bc819dc985b9d608a1b60648201526084015b60405180910390fd5b61061d828261181a565b5050565b6001600160a01b03811633146106915760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161060a565b61061d8282611885565b6002805414156106bd5760405162461bcd60e51b815260040161060a90612b18565b600280819055506000600383815481106106e757634e487b7160e01b600052603260045260246000fd5b6000918252602080832086845260049091526040832060089092020192508161070d3390565b6001600160a01b03166001600160a01b031681526020019081526020016000209050428260070154620151806107439190612bf7565b82600101546107529190612bbf565b11156107705760405162461bcd60e51b815260040161060a90612ad7565b80546107be5760405162461bcd60e51b815260206004820181905260248201527f477565737349744661726d3a206e6f7468696e6720746f207769746864726177604482015260640161060a565b80548311156107df5760405162461bcd60e51b815260040161060a90612ad7565b6107e8846108e3565b60008160020154600654846005015484600001546108069190612bf7565b6108109190612bd7565b61081a9190612c16565b9050801561082d5761082d335b826118ec565b831561087d57838260000160008282546108479190612c16565b92505081905550838360010160008282546108629190612c16565b9091555050825461087d906001600160a01b03163386611a93565b600654600584015483546108919190612bf7565b61089b9190612bd7565b6002830155604051848152859033907ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689060200160405180910390a350506001600255505050565b60006003828154811061090657634e487b7160e01b600052603260045260246000fd5b906000526020600020906008020190506000610920611af6565b90508160040154811161093257505050565b60018201546109445760049091015550565b60006109548360040154836111d3565b9050600081116109645750505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a2309ff86040518163ffffffff1660e01b815260040160206040518083038186803b1580156109bf57600080fd5b505afa1580156109d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f791906128da565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663355274ea6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a5057600080fd5b505afa158015610a64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8891906128da565b610a929190612c16565b905060008111610aa3575050505050565b60007f0000000000000000000000000000000000000000000000000000000000000000821015610ad35781610af5565b7f00000000000000000000000000000000000000000000000000000000000000005b9050600060055486600301548386610b0d9190612bf7565b610b179190612bf7565b610b219190612bd7565b90508015610baa576040516340c10f1960e01b8152306004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906340c10f1990604401600060405180830381600087803b158015610b9157600080fd5b505af1158015610ba5573d6000803e3d6000fd5b505050505b6001860154600654610bbc9083612bf7565b610bc69190612bd7565b866005016000828254610bd99190612bbf565b9091555050505050600492909201555050565b600280541415610c0e5760405162461bcd60e51b815260040161060a90612b18565b60028081905550600060038281548110610c3857634e487b7160e01b600052603260045260246000fd5b60009182526020808320858452600490915260408320600890920201925081610c5e3390565b6001600160a01b03166001600160a01b03168152602001908152602001600020905060008160000154905080836001016000828254610c9d9190612c16565b909155505060008083556002830155610cc23384546001600160a01b03169083611a93565b604051818152849033907fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595906020015b60405180910390a3505060016002555050565b6000546001600160a01b03163314610d2f5760405162461bcd60e51b815260040161060a90612a5d565b610d37611b9f565b15610d545760405162461bcd60e51b815260040161060a90612a92565b8015610d6257610d62611036565b60007f00000000000000000000000000000000000000000000000000000000000000004311610db1577f0000000000000000000000000000000000000000000000000000000000000000610db3565b435b90508460056000828254610dc79190612bbf565b909155505060408051610100810182526001600160a01b039889168152600060208201818152981515928201928352606082019788526080820193845260a0820181815260c0830197885260e0830196875260038054600181018255925291517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b600890920291820180546001600160a01b03191691909b161790995596517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c890155517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85d8801805460ff191691151591909117905593517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85e8701555091517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85f85015591517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f86084015590517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f861830155517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f86290910155565b60606003805480602002602001604051908101604052809291908181526020016000905b8282101561102d57600084815260209081902060408051610100810182526008860290920180546001600160a01b0316835260018082015484860152600282015460ff161515928401929092526003810154606084015260048101546080840152600581015460a0840152600681015460c08401526007015460e08301529083529092019101610fa2565b50505050905090565b60035460005b8181101561061d5761104d816108e3565b61105681612c59565b905061103c565b6000546001600160a01b031633146110875760405162461bcd60e51b815260040161060a90612a5d565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146110fb5760405162461bcd60e51b815260040161060a90612a5d565b801561110957611109611036565b826003858154811061112b57634e487b7160e01b600052603260045260246000fd5b9060005260206000209060080201600301546111479190612bbf565b600560008282546111589190612c16565b92505081905550826003858154811061118157634e487b7160e01b600052603260045260246000fd5b90600052602060002090600802016003018190555081600385815481106111b857634e487b7160e01b600052603260045260246000fd5b90600052602060002090600802016006018190555050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663355274ea6040518163ffffffff1660e01b815260040160206040518083038186803b15801561122e57600080fd5b505afa158015611242573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126691906128da565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a2309ff86040518163ffffffff1660e01b815260040160206040518083038186803b1580156112bf57600080fd5b505afa1580156112d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f791906128da565b1061130457506000610522565b61130e8383612c16565b9392505050565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000806003848154811061136457634e487b7160e01b600052603260045260246000fd5b600091825260208083208784526004825260408085206001600160a01b038916865290925290832060089290920201600581015490935090916113a5611af6565b90508360040154811180156113bd5750600184015415155b1561144c5760006113d28560040154836111d3565b9050600060055486600301547f00000000000000000000000000000000000000000000000000000000000000008461140a9190612bf7565b6114149190612bf7565b61141e9190612bd7565b90508560010154600654826114339190612bf7565b61143d9190612bd7565b6114479085612bbf565b935050505b60028301546006548454611461908590612bf7565b61146b9190612bd7565b6114759190612c16565b979650505050505050565b6000828152600160208190526040909120015461149c906105a4565b6106915760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526f2061646d696e20746f207265766f6b6560801b606482015260840161060a565b6002805414156115235760405162461bcd60e51b815260040161060a90612b18565b6002805561152f611b9f565b1561154c5760405162461bcd60e51b815260040161060a90612a92565b60006003838154811061156f57634e487b7160e01b600052603260045260246000fd5b600091825260208083208684526004909152604083206008909202019250816115953390565b6001600160a01b03166001600160a01b0316815260200190815260200160002090506115c0846108e3565b80541561160c5760008160020154600654846005015484600001546115e59190612bf7565b6115ef9190612bd7565b6115f99190612c16565b9050801561160a5761160a33610827565b505b82156116d9576116293383546001600160a01b0316903086611c32565b8282600101600082825461163d9190612bbf565b9091555050805483908290600090611656908490612bbf565b90915550506006820154156116d257600082600601546007548561167a9190612bd7565b6116849190612bf7565b905060006116928483611c6a565b905080156116cf57818360000160008282546116ae9190612c16565b92505081905550818460010160008282546116c99190612c16565b90915550505b50505b4260018201555b600654600583015482546116ed9190612bf7565b6116f79190612bd7565b6002820155604051838152849033907f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a1590602001610cf2565b6000546001600160a01b0316331461175a5760405162461bcd60e51b815260040161060a90612a5d565b6001600160a01b0381166117bf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161060a565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6118248282611315565b61061d5760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b61188f8282611315565b1561061d5760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b15801561194e57600080fd5b505afa158015611962573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198691906128da565b905080821115611a395760405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb906044015b602060405180830381600087803b1580156119fb57600080fd5b505af1158015611a0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a33919061284f565b50505050565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018490527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb906044016119e1565b505050565b6040516001600160a01b038316602482015260448101829052611a8e90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611ced565b6000611b00611b9f565b611b0957504390565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637368c4206040518163ffffffff1660e01b815260040160206040518083038186803b158015611b6257600080fd5b505afa158015611b76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9a91906128da565b905090565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bef4876b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611bfa57600080fd5b505afa158015611c0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9a919061284f565b6040516001600160a01b0380851660248301528316604482015260648101829052611a339085906323b872dd60e01b90608401611abf565b600282015460009060ff1615611cb7578254611cb0906001600160a01b03167f000000000000000000000000000000000000000000000000000000000000000084611dbf565b9050610522565b825461130e906001600160a01b03167f0000000000000000000000000000000000000000000000000000000000000000846121d3565b6000611d42826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166125889092919063ffffffff16565b805190915015611a8e5780806020019051810190611d60919061284f565b611a8e5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161060a565b6000808490506000816001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015611e0057600080fd5b505afa158015611e14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e3891906127cd565b90506000826001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b158015611e7557600080fd5b505afa158015611e89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ead91906127cd565b60405163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526000602483015291925060019185169063095ea7b390604401602060405180830381600087803b158015611f1d57600080fd5b505af1158015611f31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f55919061284f565b5060405163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526024820188905285169063095ea7b390604401602060405180830381600087803b158015611fc057600080fd5b505af1158015611fd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff8919061284f565b50604051635d5155ef60e11b81526001600160a01b03848116600483015283811660248301526044820188905260006064830181905260848301523060a48301524260c48301527f0000000000000000000000000000000000000000000000000000000000000000169063baa2abde9060e4016040805180830381600087803b15801561208457600080fd5b505af19250505080156120b4575060408051601f3d908101601f191682019092526120b191810190612913565b60015b6120c057506000612125565b6120cb858a846121d3565b80156120dd57506120dd848a836121d3565b9250896001600160a01b03167fc19b0a2a725291515750b5e4de698772ceeede9a3bff4f5f183b2a879298dfa48960405161211a91815260200190565b60405180910390a250505b60405163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526000602483015285169063095ea7b390604401602060405180830381600087803b15801561218f57600080fd5b505af11580156121a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121c7919061284f565b50979650505050505050565b600080600190507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561223357600080fd5b505afa158015612247573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061226b91906127cd565b6001600160a01b0316856001600160a01b031614156123565760405163a9059cbb60e01b81526001600160a01b0385811660048301526024820185905286169063a9059cbb90604401602060405180830381600087803b1580156122ce57600080fd5b505af19250505080156122fe575060408051601f3d908101601f191682019092526122fb9181019061284f565b60015b61230a5750600061234f565b50846001600160a01b03167fc19b0a2a725291515750b5e4de698772ceeede9a3bff4f5f183b2a879298dfa48460405161234691815260200190565b60405180910390a25b905061130e565b604080516002808252606082018352600092602083019080368337019050509050858160008151811061239957634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561241257600080fd5b505afa158015612426573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061244a91906127cd565b8160018151811061246b57634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526124ae9087167f00000000000000000000000000000000000000000000000000000000000000008661259f565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac9479061250390879060009086908b904290600401612b4f565b600060405180830381600087803b15801561251d57600080fd5b505af192505050801561252e575060015b61253b576000915061257f565b856001600160a01b03167fc19b0a2a725291515750b5e4de698772ceeede9a3bff4f5f183b2a879298dfa48560405161257691815260200190565b60405180910390a25b50949350505050565b60606125978484600085612660565b949350505050565b604051636eb1769f60e11b81523060048201526001600160a01b038381166024830152600091839186169063dd62ed3e9060440160206040518083038186803b1580156125eb57600080fd5b505afa1580156125ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061262391906128da565b61262d9190612bbf565b6040516001600160a01b038516602482015260448101829052909150611a3390859063095ea7b360e01b90606401611abf565b6060824710156126c15760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161060a565b843b61270f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161060a565b600080866001600160a01b0316858760405161272b9190612976565b60006040518083038185875af1925050503d8060008114612768576040519150601f19603f3d011682016040523d82523d6000602084013e61276d565b606091505b50915091506114758282866060831561278757508161130e565b8251156127975782518084602001fd5b8160405162461bcd60e51b815260040161060a9190612a2a565b6000602082840312156127c2578081fd5b813561130e81612c8a565b6000602082840312156127de578081fd5b815161130e81612c8a565b60008060008060008060c08789031215612801578182fd5b863561280c81612c8a565b9550602087013561281c81612ca2565b945060408701359350606087013592506080870135915060a087013561284181612ca2565b809150509295509295509295565b600060208284031215612860578081fd5b815161130e81612ca2565b60006020828403121561287c578081fd5b5035919050565b60008060408385031215612895578182fd5b8235915060208301356128a781612c8a565b809150509250929050565b6000602082840312156128c3578081fd5b81356001600160e01b03198116811461130e578182fd5b6000602082840312156128eb578081fd5b5051919050565b60008060408385031215612904578182fd5b50508035926020909101359150565b60008060408385031215612925578182fd5b505080516020909101519092909150565b6000806000806080858703121561294b578384fd5b843593506020850135925060408501359150606085013561296b81612ca2565b939692955090935050565b60008251612988818460208701612c2d565b9190910192915050565b602080825282518282018190526000919060409081850190868401855b82811015612a1d57815180516001600160a01b03168552868101518786015285810151151586860152606080820151908601526080808201519086015260a0808201519086015260c0808201519086015260e0908101519085015261010090930192908501906001016129af565b5091979650505050505050565b6020815260008251806020840152612a49816040850160208701612c2d565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f477565737349744661726d3a2067616d6520697320616c72656164792066696e6040820152641a5cda195960da1b606082015260800190565b60208082526021908201527f477565737349744661726d3a207769746864726177206e6f7420616c6c6f77656040820152601960fa1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b81811015612b9e5784516001600160a01b031683529383019391830191600101612b79565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115612bd257612bd2612c74565b500190565b600082612bf257634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612c1157612c11612c74565b500290565b600082821015612c2857612c28612c74565b500390565b60005b83811015612c48578181015183820152602001612c30565b83811115611a335750506000910152565b6000600019821415612c6d57612c6d612c74565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114612c9f57600080fd5b50565b8015158114612c9f57600080fdfea26469706673582212205614012723f83aa1197ece2483afff9bf3ad0b802b1373c8b07c70e4f05d412064736f6c634300080400335f58e3a2316349923ce3780f8d587db2d72378aed66a8261c916544fa6846ca5b09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc1d8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e6300000000000000000000000010ed43c718714eb63d5aa57b78b54704e256024e0000000000000000000000001eb34d735a7a21394cd3cf03bdb1497bfc9d75d0000000000000000000000000000000000000000000000000000000000000a8c0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000010000000000000000000000001eb34d735a7a21394cd3cf03bdb1497bfc9d75d0

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

00000000000000000000000010ed43c718714eb63d5aa57b78b54704e256024e0000000000000000000000001eb34d735a7a21394cd3cf03bdb1497bfc9d75d0000000000000000000000000000000000000000000000000000000000000a8c0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000010000000000000000000000001eb34d735a7a21394cd3cf03bdb1497bfc9d75d0

-----Decoded View---------------
Arg [0] : _pancakeRouter (address): 0x10ed43c718714eb63d5aa57b78b54704e256024e
Arg [1] : _dev (address): 0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0
Arg [2] : _minDelay (uint256): 43200
Arg [3] : _admins (address[]): 0x1eb34d735a7a21394cd3cf03bdb1497bfc9d75d0

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 00000000000000000000000010ed43c718714eb63d5aa57b78b54704e256024e
Arg [1] : 0000000000000000000000001eb34d735a7a21394cd3cf03bdb1497bfc9d75d0
Arg [2] : 000000000000000000000000000000000000000000000000000000000000a8c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 0000000000000000000000001eb34d735a7a21394cd3cf03bdb1497bfc9d75d0


Deployed ByteCode Sourcemap

86224:1204:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16608:352;;;;;;;;;;-1:-1:-1;16608:352:0;;;;;:::i;:::-;;:::i;:::-;;6436:217;;;;;;;;;;-1:-1:-1;6436:217:0;;;;;:::i;:::-;;:::i;:::-;;;11032:14:1;;11025:22;11007:41;;10995:2;10980:18;6436:217:0;;;;;;;;11495:66;;;;;;;;;;;;11535:26;11495:66;;;;;11205:25:1;;;11193:2;11178:18;11495:66:0;11160:76:1;11337:78:0;;;;;;;;;;;;11383:32;11337:78;;86280:36;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11425:32:1;;;11407:51;;11395:2;11380:18;86280:36:0;11362:102:1;18949:340:0;;;;;;:::i;:::-;;:::i;14559:266::-;;;;;;;;;;-1:-1:-1;14559:266:0;;;;;:::i;:::-;;:::i;7073:123::-;;;;;;;;;;-1:-1:-1;7073:123:0;;;;;:::i;:::-;7139:7;7166:12;;;;;;;;;;:22;;;;7073:123;14909:138;;;;;;;;;;-1:-1:-1;14909:138:0;;;;;:::i;:::-;14975:9;15300:15;;;11620:1;15300:15;;;;;;;;;15004:35;;14909:138;7458:232;;;;;;;;;;-1:-1:-1;7458:232:0;;;;;:::i;:::-;;:::i;14122:122::-;;;;;;;;;;-1:-1:-1;14122:122:0;;;;;:::i;:::-;;:::i;8677:218::-;;;;;;;;;;-1:-1:-1;8677:218:0;;;;;:::i;:::-;;:::i;86369:33::-;;;;;;;;;;;;;;;14331:143;;;;;;;;;;-1:-1:-1;14331:143:0;;;;;:::i;:::-;;:::i;21632:240::-;;;;;;;;;;-1:-1:-1;21632:240:0;;;;;:::i;:::-;;:::i;15740:::-;;;;;;;;;;-1:-1:-1;15740:240:0;;;;;:::i;:::-;;:::i;17225:656::-;;;;;;;;;;-1:-1:-1;17225:656:0;;;;;:::i;:::-;;:::i;11422:66::-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11422:66:0;;6745:139;;;;;;;;;;-1:-1:-1;6745:139:0;;;;;:::i;:::-;;:::i;86323:39::-;;;;;;;;;;;;;;;5201:49;;;;;;;;;;-1:-1:-1;5201:49:0;5246:4;5201:49;;16102:275;;;;;;;;;;-1:-1:-1;16102:275:0;;;;;:::i;:::-;;:::i;18478:234::-;;;;;;;;;;-1:-1:-1;18478:234:0;;;;;:::i;:::-;;:::i;15200:123::-;;;;;;;;;;-1:-1:-1;15200:123:0;;;;;:::i;:::-;15263:17;15300:15;;;:11;:15;;;;;;;15200:123;7935:235;;;;;;;;;;-1:-1:-1;7935:235:0;;;;;:::i;:::-;;:::i;19560:644::-;;;;;;:::i;:::-;;:::i;15516:105::-;;;;;;;;;;-1:-1:-1;15604:9:0;;15516:105;;16608:352;-1:-1:-1;;;;;;;;;;;13697:27:0;11462:26;713:10;6745:139;:::i;13697:27::-;:56;;;;13728:25;13736:4;13750:1;13728:7;:25::i;:::-;13689:115;;;;-1:-1:-1;;;13689:115:0;;;;;;;:::i;:::-;;;;;;;;;16778:10:::1;16791:53;16805:6;16813:5;16820:4;;16826:11;16839:4;16791:13;:53::i;:::-;16778:66;;16855:20;16865:2;16869:5;16855:9;:20::i;:::-;16909:1;16905:2;16891:61;16912:6;16920:5;16927:4;;16933:11;16946:5;16891:61;;;;;;;;;;;:::i;:::-;;;;;;;;13815:1;16608:352:::0;;;;;;;;:::o;6436:217::-;6521:4;-1:-1:-1;;;;;;6545:47:0;;-1:-1:-1;;;6545:47:0;;:100;;-1:-1:-1;;;;;;;;;;2755:40:0;;;6609:36;6538:107;6436:217;-1:-1:-1;;6436:217:0:o;18949:340::-;11535:26;13697:27;11535:26;713:10;6745:139;:::i;13697:27::-;:56;;;;13728:25;13736:4;13750:1;13728:7;:25::i;:::-;13689:115;;;;-1:-1:-1;;;13689:115:0;;;;;;;:::i;:::-;19111:10:::1;19124:53;19138:6;19146:5;19153:4;;19159:11;19172:4;19124:13;:53::i;:::-;19111:66;;19188:24;19200:11;19188;:24::i;:::-;19223:33;19229:2;19233:1;19236:6;19244:5;19251:4;;19223:5;:33::i;:::-;19267:14;19278:2;19267:10;:14::i;:::-;13815:1;18949:340:::0;;;;;;;:::o;14559:266::-;14626:10;15300:15;;;:11;:15;;;;;;11620:1;14758:9;:27;:59;;;;;14802:15;14789:9;:28;;14758:59;14751:66;14559:266;-1:-1:-1;;;14559:266:0:o;7458:232::-;7139:7;7166:12;;;;;;;;;;:22;;;7551:41;;7559:18;713:10;6745:139;:::i;7551:41::-;7543:101;;;;-1:-1:-1;;;7543:101:0;;12546:2:1;7543:101:0;;;12528:21:1;12585:2;12565:18;;;12558:30;12624:34;12604:18;;;12597:62;-1:-1:-1;;;12675:18:1;;;12668:45;12730:19;;7543:101:0;12518:237:1;7543:101:0;7657:25;7668:4;7674:7;7657:10;:25::i;:::-;7458:232;;:::o;14122:122::-;14184:12;15300:15;;;:11;:15;;;;;;14184:12;;14216:16;:20;;14122:122;-1:-1:-1;;14122:122:0:o;8677:218::-;-1:-1:-1;;;;;8773:23:0;;713:10;8773:23;8765:83;;;;-1:-1:-1;;;8765:83:0;;16262:2:1;8765:83:0;;;16244:21:1;16301:2;16281:18;;;16274:30;16340:34;16320:18;;;16313:62;-1:-1:-1;;;16391:18:1;;;16384:45;16446:19;;8765:83:0;16234:237:1;8765:83:0;8861:26;8873:4;8879:7;8861:11;:26::i;14331:143::-;14400:12;15300:15;;;11620:1;15300:15;;;;;;;;14432:16;15200:123;21632:240;21707:10;21729:4;21707:27;21699:83;;;;-1:-1:-1;;;21699:83:0;;15850:2:1;21699:83:0;;;15832:21:1;15889:2;15869:18;;;15862:30;15928:34;15908:18;;;15901:62;-1:-1:-1;;;15979:18:1;;;15972:41;16030:19;;21699:83:0;15822:233:1;21699:83:0;21813:9;;21798:35;;;17252:25:1;;;17308:2;17293:18;;17286:34;;;21798:35:0;;17225:18:1;21798:35:0;;;;;;;21844:9;:20;21632:240::o;15740:::-;15879:12;15932:6;15940:5;15947:4;;15953:11;15966:4;15921:50;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;15911:61;;;;;;15904:68;;15740:240;;;;;;;;:::o;17225:656::-;-1:-1:-1;;;;;;;;;;;13697:27:0;11462:26;713:10;6745:139;:::i;13697:27::-;:56;;;;13728:25;13736:4;13750:1;13728:7;:25::i;:::-;13689:115;;;;-1:-1:-1;;;13689:115:0;;;;;;;:::i;:::-;17435:31;;::::1;17427:79;;;;-1:-1:-1::0;;;17427:79:0::1;;;;;;;:::i;:::-;17525:30:::0;;::::1;17517:78;;;;-1:-1:-1::0;;;17517:78:0::1;;;;;;;:::i;:::-;17608:10;17621:61;17640:7;;17649:6;;17657:5;;17664:11;17677:4;17621:18;:61::i;:::-;17608:74;;17693:20;17703:2;17707:5;17693:9;:20::i;:::-;17729:9;17724:150;17744:18:::0;;::::1;17724:150;;;17807:1;17803:2;17789:73;17810:7;;17818:1;17810:10;;;;;-1:-1:-1::0;;;17810:10:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;17822:6;;17829:1;17822:9;;;;;-1:-1:-1::0;;;17822:9:0::1;;;;;;;;;;;;;;;17833:5;;17839:1;17833:8;;;;;-1:-1:-1::0;;;17833:8:0::1;;;;;;;;;;;;;;;;;;;;:::i;:::-;17843:11;17856:5;17789:73;;;;;;;;;;;:::i;:::-;;;;;;;;17764:3;::::0;::::1;:::i;:::-;;;17724:150;;;;13815:1;17225:656:::0;;;;;;;;;;:::o;6745:139::-;6823:4;6847:12;;;;;;;;;;;-1:-1:-1;;;;;6847:29:0;;;;;;;;;;;;;;;6745:139::o;16102:275::-;16273:12;16326:7;;16335:6;;16343:5;;16350:11;16363:4;16315:53;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;16305:64;;;;;;16298:71;;16102:275;;;;;;;;;;:::o;18478:234::-;-1:-1:-1;;;;;;;;;;;13697:27:0;11462:26;713:10;6745:139;:::i;13697:27::-;:56;;;;13728:25;13736:4;13750:1;13728:7;:25::i;:::-;13689:115;;;;-1:-1:-1;;;13689:115:0;;;;;;;:::i;:::-;18564:22:::1;18583:2;18564:18;:22::i;:::-;18556:84;;;::::0;-1:-1:-1;;;18556:84:0;;15432:2:1;18556:84:0::1;::::0;::::1;15414:21:1::0;15471:2;15451:18;;;15444:30;15510:34;15490:18;;;15483:62;-1:-1:-1;;;15561:18:1;;;15554:47;15618:19;;18556:84:0::1;15404:239:1::0;18556:84:0::1;18658:15;::::0;;;:11:::1;:15;::::0;;;;;18651:22;;;18691:13;18670:2;;18691:13:::1;::::0;::::1;18478:234:::0;;:::o;7935:235::-;7139:7;7166:12;;;;;;;;;;:22;;;8029:41;;8037:18;7073:123;8029:41;8021:102;;;;-1:-1:-1;;;8021:102:0;;13781:2:1;8021:102:0;;;13763:21:1;13820:2;13800:18;;;13793:30;13859:34;13839:18;;;13832:62;-1:-1:-1;;;13910:18:1;;;13903:46;13966:19;;8021:102:0;13753:238:1;19560:644:0;11535:26;13697:27;11535:26;713:10;6745:139;:::i;13697:27::-;:56;;;;13728:25;13736:4;13750:1;13728:7;:25::i;:::-;13689:115;;;;-1:-1:-1;;;13689:115:0;;;;;;;:::i;:::-;19762:31;;::::1;19754:79;;;;-1:-1:-1::0;;;19754:79:0::1;;;;;;;:::i;:::-;19852:30:::0;;::::1;19844:78;;;;-1:-1:-1::0;;;19844:78:0::1;;;;;;;:::i;:::-;19935:10;19948:61;19967:7;;19976:6;;19984:5;;19991:11;20004:4;19948:18;:61::i;:::-;19935:74;;20020:24;20032:11;20020;:24::i;:::-;20060:9;20055:117;20075:18:::0;;::::1;20055:117;;;20115:45;20121:2;20125:1;20128:7;;20136:1;20128:10;;;;;-1:-1:-1::0;;;20128:10:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;20140:6;;20147:1;20140:9;;;;;-1:-1:-1::0;;;20140:9:0::1;;;;;;;;;;;;;;;20151:5;;20157:1;20151:8;;;;;-1:-1:-1::0;;;20151:8:0::1;;;;;;;;;;;;;;;;;;;;:::i;:::-;20115:5;:45::i;:::-;20095:3;::::0;::::1;:::i;:::-;;;20055:117;;;;20182:14;20193:2;20182:10;:14::i;:::-;13815:1;19560:644:::0;;;;;;;;;:::o;17988:340::-;18062:15;18074:2;18062:11;:15::i;:::-;18061:16;18053:76;;;;-1:-1:-1;;;18053:76:0;;14605:2:1;18053:76:0;;;14587:21:1;14644:2;14624:18;;;14617:30;14683:34;14663:18;;;14656:62;-1:-1:-1;;;14734:18:1;;;14727:45;14789:19;;18053:76:0;14577:237:1;18053:76:0;15604:9;;18148:5;:22;;18140:73;;;;-1:-1:-1;;;18140:73:0;;14198:2:1;18140:73:0;;;14180:21:1;14237:2;14217:18;;;14210:30;14276:34;14256:18;;;14249:62;-1:-1:-1;;;14327:18:1;;;14320:36;14373:19;;18140:73:0;14170:228:1;18140:73:0;18297:23;18315:5;18297:15;:23;:::i;:::-;18279:15;;;;:11;:15;;;;;;:41;;;;-1:-1:-1;17988:340:0:o;20292:182::-;20366:25;;;:57;;-1:-1:-1;14975:9:0;15300:15;;;11620:1;15300:15;;;;;;;;;15004:35;20395:28;20358:108;;;;-1:-1:-1;;;20358:108:0;;12139:2:1;20358:108:0;;;12121:21:1;12178:2;12158:18;;;12151:30;12217:34;12197:18;;;12190:62;-1:-1:-1;;;12268:18:1;;;12261:36;12314:19;;20358:108:0;12111:228:1;20358:108:0;20292:182;:::o;20853:374::-;21027:12;21044:6;-1:-1:-1;;;;;21044:11:0;21063:5;21070:4;;21044:31;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21026:49;;;21094:7;21086:71;;;;-1:-1:-1;;;21086:71:0;;16678:2:1;21086:71:0;;;16660:21:1;16717:2;16697:18;;;16690:30;16756:34;16736:18;;;16729:62;-1:-1:-1;;;16807:18:1;;;16800:49;16866:19;;21086:71:0;16650:241:1;21086:71:0;21192:5;21188:2;21175:44;21199:6;21207:5;21214:4;;21175:44;;;;;;;;;:::i;:::-;;;;;;;;20853:374;;;;;;;:::o;20561:178::-;20620:20;20637:2;20620:16;:20::i;:::-;20612:75;;;;-1:-1:-1;;;20612:75:0;;15021:2:1;20612:75:0;;;15003:21:1;15060:2;15040:18;;;15033:30;15099:34;15079:18;;;15072:62;-1:-1:-1;;;15150:18:1;;;15143:40;15200:19;;20612:75:0;14993:232:1;20612:75:0;20698:15;;;;11620:1;20698:15;;;;;;;;:33;20561:178::o;9925:229::-;10000:22;10008:4;10014:7;10000;:22::i;:::-;9995:152;;10039:6;:12;;;;;;;;;;;-1:-1:-1;;;;;10039:29:0;;;;;;;;;:36;;-1:-1:-1;;10039:36:0;10071:4;10039:36;;;10122:12;713:10;;633:98;10122:12;-1:-1:-1;;;;;10095:40:0;10113:7;-1:-1:-1;;;;;10095:40:0;10107:4;10095:40;;;;;;;;;;9925:229;;:::o;10162:230::-;10237:22;10245:4;10251:7;10237;:22::i;:::-;10233:152;;;10308:5;10276:12;;;;;;;;;;;-1:-1:-1;;;;;10276:29:0;;;;;;;;;;:37;;-1:-1:-1;;10276:37:0;;;10333:40;713:10;;10276:12;;10333:40;;10308:5;10333:40;10162:230;;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:395::-;255:8;265:6;319:3;312:4;304:6;300:17;296:27;286:2;;344:8;334;327:26;286:2;-1:-1:-1;374:20:1;;417:18;406:30;;403:2;;;456:8;446;439:26;403:2;500:4;492:6;488:17;476:29;;560:3;553:4;543:6;540:1;536:14;528:6;524:27;520:38;517:47;514:2;;;577:1;574;567:12;514:2;276:311;;;;;:::o;592:375::-;643:8;653:6;707:3;700:4;692:6;688:17;684:27;674:2;;732:8;722;715:26;674:2;-1:-1:-1;762:20:1;;805:18;794:30;;791:2;;;844:8;834;827:26;791:2;888:4;880:6;876:17;864:29;;940:3;933:4;924:6;916;912:19;908:30;905:39;902:2;;;957:1;954;947:12;972:196;1031:6;1084:2;1072:9;1063:7;1059:23;1055:32;1052:2;;;1105:6;1097;1090:22;1052:2;1133:29;1152:9;1133:29;:::i;1173:709::-;1279:6;1287;1295;1303;1311;1319;1372:3;1360:9;1351:7;1347:23;1343:33;1340:2;;;1394:6;1386;1379:22;1340:2;1422:29;1441:9;1422:29;:::i;:::-;1412:39;;1498:2;1487:9;1483:18;1470:32;1460:42;;1553:2;1542:9;1538:18;1525:32;1580:18;1572:6;1569:30;1566:2;;;1617:6;1609;1602:22;1566:2;1661:58;1711:7;1702:6;1691:9;1687:22;1661:58;:::i;:::-;1330:552;;;;-1:-1:-1;1738:8:1;1820:2;1805:18;;1792:32;;1871:3;1856:19;;;1843:33;;-1:-1:-1;1330:552:1;-1:-1:-1;;;;1330:552:1:o;1887:778::-;2002:6;2010;2018;2026;2034;2042;2050;2103:3;2091:9;2082:7;2078:23;2074:33;2071:2;;;2125:6;2117;2110:22;2071:2;2153:29;2172:9;2153:29;:::i;:::-;2143:39;;2229:2;2218:9;2214:18;2201:32;2191:42;;2284:2;2273:9;2269:18;2256:32;2311:18;2303:6;2300:30;2297:2;;;2348:6;2340;2333:22;2297:2;2392:58;2442:7;2433:6;2422:9;2418:22;2392:58;:::i;:::-;2061:604;;;;-1:-1:-1;2469:8:1;2551:2;2536:18;;2523:32;;2602:3;2587:19;;2574:33;;-1:-1:-1;2654:3:1;2639:19;;;2626:33;;-1:-1:-1;2061:604:1;-1:-1:-1;;;;2061:604:1:o;2670:1277::-;2857:6;2865;2873;2881;2889;2897;2905;2913;2966:3;2954:9;2945:7;2941:23;2937:33;2934:2;;;2988:6;2980;2973:22;2934:2;3033:9;3020:23;3062:18;3103:2;3095:6;3092:14;3089:2;;;3124:6;3116;3109:22;3089:2;3168:70;3230:7;3221:6;3210:9;3206:22;3168:70;:::i;:::-;3257:8;;-1:-1:-1;3142:96:1;-1:-1:-1;3345:2:1;3330:18;;3317:32;;-1:-1:-1;3361:16:1;;;3358:2;;;3395:6;3387;3380:22;3358:2;3439:72;3503:7;3492:8;3481:9;3477:24;3439:72;:::i;:::-;3530:8;;-1:-1:-1;3413:98:1;-1:-1:-1;3618:2:1;3603:18;;3590:32;;-1:-1:-1;3634:16:1;;;3631:2;;;3668:6;3660;3653:22;3631:2;;3712:72;3776:7;3765:8;3754:9;3750:24;3712:72;:::i;:::-;2924:1023;;;;-1:-1:-1;2924:1023:1;;;;3803:8;;3885:2;3870:18;;3857:32;;3936:3;3921:19;3908:33;;-1:-1:-1;2924:1023:1;-1:-1:-1;;;;2924:1023:1:o;3952:1346::-;4148:6;4156;4164;4172;4180;4188;4196;4204;4212;4265:3;4253:9;4244:7;4240:23;4236:33;4233:2;;;4287:6;4279;4272:22;4233:2;4332:9;4319:23;4361:18;4402:2;4394:6;4391:14;4388:2;;;4423:6;4415;4408:22;4388:2;4467:70;4529:7;4520:6;4509:9;4505:22;4467:70;:::i;:::-;4556:8;;-1:-1:-1;4441:96:1;-1:-1:-1;4644:2:1;4629:18;;4616:32;;-1:-1:-1;4660:16:1;;;4657:2;;;4694:6;4686;4679:22;4657:2;4738:72;4802:7;4791:8;4780:9;4776:24;4738:72;:::i;:::-;4829:8;;-1:-1:-1;4712:98:1;-1:-1:-1;4917:2:1;4902:18;;4889:32;;-1:-1:-1;4933:16:1;;;4930:2;;;4967:6;4959;4952:22;4930:2;;5011:72;5075:7;5064:8;5053:9;5049:24;5011:72;:::i;:::-;4223:1075;;;;-1:-1:-1;4223:1075:1;;;;5102:8;;5184:2;5169:18;;5156:32;;5235:3;5220:19;;5207:33;;-1:-1:-1;5287:3:1;5272:19;5259:33;;-1:-1:-1;4223:1075:1;-1:-1:-1;;;;4223:1075:1:o;5303:190::-;5362:6;5415:2;5403:9;5394:7;5390:23;5386:32;5383:2;;;5436:6;5428;5421:22;5383:2;-1:-1:-1;5464:23:1;;5373:120;-1:-1:-1;5373:120:1:o;5498:264::-;5566:6;5574;5627:2;5615:9;5606:7;5602:23;5598:32;5595:2;;;5648:6;5640;5633:22;5595:2;5689:9;5676:23;5666:33;;5718:38;5752:2;5741:9;5737:18;5718:38;:::i;:::-;5708:48;;5585:177;;;;;:::o;5767:306::-;5825:6;5878:2;5866:9;5857:7;5853:23;5849:32;5846:2;;;5899:6;5891;5884:22;5846:2;5930:23;;-1:-1:-1;;;;;;5982:32:1;;5972:43;;5962:2;;6034:6;6026;6019:22;6273:1044;6380:6;6375:3;6368:19;6350:3;6406:4;6447:2;6442:3;6438:12;6472:11;6499;6492:18;;6549:6;6546:1;6542:14;6535:5;6531:26;6519:38;;6580:5;6603:3;6615:676;6629:6;6626:1;6623:13;6615:676;;;6700:5;6694:4;6690:16;6685:3;6678:29;6759:6;6746:20;6849:2;6845:7;6837:5;6821:14;6817:26;6813:40;6793:18;6789:65;6779:2;;6870:3;6865;6858:16;6779:2;6904:30;;6963:21;;7013:18;7000:32;;6997:2;;;7047:3;7042;7035:16;6997:2;7100:8;7084:14;7080:29;7073:5;7069:41;7066:2;;;7125:3;7120;7113:16;7066:2;7152:59;7206:4;7196:8;7191:2;7182:7;7178:16;7152:59;:::i;:::-;7269:12;;;;7144:67;-1:-1:-1;;;7234:15:1;;;;6651:1;6644:9;6615:676;;;-1:-1:-1;7307:4:1;;6358:959;-1:-1:-1;;;;;;;6358:959:1:o;7322:268::-;7410:6;7405:3;7398:19;7462:6;7455:5;7448:4;7443:3;7439:14;7426:43;-1:-1:-1;7380:3:1;7489:16;;;7507:4;7485:27;;;7478:40;;;;7572:2;7551:15;;;-1:-1:-1;;7547:29:1;7538:39;;;7534:50;;7388:202::o;7595:273::-;7778:6;7770;7765:3;7752:33;7734:3;7804:16;;7829:15;;;7804:16;7742:126;-1:-1:-1;7742:126:1:o;7873:412::-;8115:1;8111;8106:3;8102:11;8098:19;8090:6;8086:32;8075:9;8068:51;8155:6;8150:2;8139:9;8135:18;8128:34;8198:2;8193;8182:9;8178:18;8171:30;8049:4;8218:61;8275:2;8264:9;8260:18;8252:6;8244;8218:61;:::i;:::-;8210:69;8058:227;-1:-1:-1;;;;;;8058:227:1:o;8290:557::-;8588:1;8584;8579:3;8575:11;8571:19;8563:6;8559:32;8548:9;8541:51;8628:6;8623:2;8612:9;8608:18;8601:34;8671:3;8666:2;8655:9;8651:18;8644:31;8522:4;8692:62;8749:3;8738:9;8734:19;8726:6;8718;8692:62;:::i;:::-;8785:2;8770:18;;8763:34;;;;-1:-1:-1;8828:3:1;8813:19;8806:35;8684:70;8531:316;-1:-1:-1;;;;8531:316:1:o;9414:1448::-;9866:3;9879:22;;;9851:19;;9936:22;;;9818:4;10016:6;9989:3;9974:19;;9818:4;10053:235;10067:6;10064:1;10061:13;10053:235;;;-1:-1:-1;;;;;10132:26:1;10151:6;10132:26;:::i;:::-;10128:52;10116:65;;10204:4;10263:15;;;;10228:12;;;;10089:1;10082:9;10053:235;;;-1:-1:-1;10326:19:1;;;10319:4;10304:20;;10297:49;10355:19;;;-1:-1:-1;;;;;10386:31:1;;10383:2;;;10433:4;10427;10420:18;10383:2;10470:6;10467:1;10463:14;10449:28;;10523:6;10515;10508:4;10503:3;10499:14;10486:44;10549:16;10592:4;10584:13;;;10606:16;;;10662:18;;;10658:29;;;10653:2;10638:18;;10631:57;10705:64;10584:13;10758:6;10750;10705:64;:::i;:::-;10800:2;10785:18;;10778:34;;;;-1:-1:-1;;;10843:3:1;10828:19;10821:35;10697:72;9827:1035;-1:-1:-1;;;;;;9827:1035:1:o;12760:399::-;12962:2;12944:21;;;13001:2;12981:18;;;12974:30;13040:34;13035:2;13020:18;;13013:62;-1:-1:-1;;;13106:2:1;13091:18;;13084:33;13149:3;13134:19;;12934:225::o;13164:410::-;13366:2;13348:21;;;13405:2;13385:18;;;13378:30;13444:34;13439:2;13424:18;;13417:62;-1:-1:-1;;;13510:2:1;13495:18;;13488:44;13564:3;13549:19;;13338:236::o;17331:533::-;17408:4;17414:6;17474:11;17461:25;17568:2;17564:7;17553:8;17537:14;17533:29;17529:43;17509:18;17505:68;17495:2;;17590:4;17584;17577:18;17495:2;17620:33;;17672:20;;;-1:-1:-1;17715:18:1;17704:30;;17701:2;;;17750:4;17744;17737:18;17701:2;17786:4;17774:17;;-1:-1:-1;17817:14:1;17813:27;;;17803:38;;17800:2;;;17854:1;17851;17844:12;17869:128;17909:3;17940:1;17936:6;17933:1;17930:13;17927:2;;;17946:18;;:::i;:::-;-1:-1:-1;17982:9:1;;17917:80::o;18002:135::-;18041:3;-1:-1:-1;;18062:17:1;;18059:2;;;18082:18;;:::i;:::-;-1:-1:-1;18129:1:1;18118:13;;18049:88::o;18142:127::-;18203:10;18198:3;18194:20;18191:1;18184:31;18234:4;18231:1;18224:15;18258:4;18255:1;18248:15

Swarm Source

ipfs://5614012723f83aa1197ece2483afff9bf3ad0b802b1373c8b07c70e4f05d4120
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.