Contract 0x7e5424278061d9fe23cddd8150cff60d6a2dff8e

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
0x794b357d91ee218f647a6d68ffd8576386bfcea7397b7622d33dac87cd9244ac85825262021-06-24 18:06:1535 days 8 hrs ago0x7c701d3c85c0bebed0e3d92e692a64438153dfb4 IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.005455
0x34c9b523ce20081e2f6feb66dd2786441d620bcabb7cfebb08962ae3f6880ddb85825102021-06-24 18:05:2735 days 8 hrs ago0x7c701d3c85c0bebed0e3d92e692a64438153dfb4 IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.00228349
0xc510b7dd5523ae84e03709e57a5a4913327115ad7d6e745a2135d69f5d52d1c683471842021-06-16 12:51:3243 days 13 hrs ago0x8cb2892fa305a6fc184dbcba33917ebb2dbd6e5f IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.01734105
0x77e963b5b43e6cb23e253f96e240d04e4fba1dd579024b9f208321672577896281977382021-06-11 7:07:0948 days 19 hrs ago0xcc231e2c7e7f21cb12477543aa9fcd882f6fe159 IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.01724505
0x9e4d3dff471928787b564a6fb321ae7a16706479bf48a2c9426556938499049081869732021-06-10 22:07:5549 days 4 hrs ago0x7f09277b9a96d68fbf7b1ae552e4f1c5c26f2cb8 IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.02565607
0xf58afdbffd5a2b02a5c26e292658733baa37f6739afbc3e12c1e66e6c0e95a1b81817182021-06-10 17:43:3249 days 8 hrs ago0xb16c1eab173779f29bd59e3c15ca8d755349a8eb IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.00228349
0x404e183977d172e4b1bb11f3800c525f299f5cb2876d08181c72db0dfca74dbd81423852021-06-09 8:49:1750 days 17 hrs ago0x4a7a07eebfee63fd011bd1280395c52e8b1e8e0c IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.00228349
0xb2e7e00cf575691d21906e87c892ee68de6d268d34abdb84f9ae0026aa913f3580866742021-06-07 10:16:4652 days 16 hrs ago0xba49d06250f914c4cb178cdddbae11b19d6c1785 IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.01732005
0x71753cfac4518bfd8c219a00d0946ff847e17ff606ea507509df7c931713cc9580623292021-06-06 13:58:2053 days 12 hrs ago0xf044023e153ba897bff3c98a818100f5633418fc IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.00228349
0x180bd1e1a496e3865d8f7e8ff4038e28de9412ee004d92e968ee51aba2c7472380595062021-06-06 11:37:0753 days 14 hrs ago0x95101d4a52fe781b815e168a077ac98b68ad441d IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.00148044
0x63aed5b49d62ed6f75728b2b598720f68b109eced9ec6373420002bf20b86c5f80594802021-06-06 11:35:4953 days 14 hrs ago0x95101d4a52fe781b815e168a077ac98b68ad441d IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.001110655
0xb4b6d539a63fa72f27224b710a794b4a5e81e9f1b777eecaca3d04d7293d481080591672021-06-06 11:20:1053 days 15 hrs ago0x7535774139d64bf94f85176aa50c1f4292bec9e0 IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.008963775
0x463f2f35a46101061c6f334a81f37daa32bd92b481f9fbe80667a601ccc28e6380583282021-06-06 10:37:4353 days 15 hrs ago0x2b205691af97c724ca2551bfc70e012f515ebfba IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.00220849
0xde4d99bf9d55bd0c87b441c3de78ed6751bcaa109f94c5e92277c3ceaa050c2f80272522021-06-05 8:40:1254 days 17 hrs ago0x19218e6d2877998fe37e8598ab6baf8c5c401b8c IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.01732005
0x3363764d149d9ff1d44e2c101b2deffdcb045f976038cbfdd730e16a376dac5b80130592021-06-04 20:49:5655 days 5 hrs ago0xcd25423e7fb511bf692ea5989c1fbb25a1129767 IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.00395877
0xfa5e398d309e99e81dd218f4676e775e3d3172a05911ac8025009c955af6a6c079938242021-06-04 4:46:0355 days 21 hrs ago0xc4b220d3651b00db366f077903cedd45a8afb37f IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.08473099
0x8c99fe852ae963b1e18bc8a1d1a05daab676b824321ef5d6e419eef15064725679768222021-06-03 14:32:2656 days 11 hrs ago0xdcec1fbf4227b83e0936823b91eaa6da5bebdbba IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.00228349
0xe0460e88fde646c9985fbb0bfa584280db780db3f13649ed334de5ff569f77b079731552021-06-03 11:27:5356 days 14 hrs ago0xad90741e36a64cd2e51bf4e19ba52f8f58b26073 IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.00235849
0xddb1ef798695fee308b3be2f6e6cdd590f50cf3e63a38b692ba2c49751227b1279726762021-06-03 11:03:5656 days 15 hrs ago0xd8838af2849a70110cf54619a44866b2f857b1da IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.00235849
0xf87ee2c9271755becd035e6d6cc65f73c0e743d3185219751bd3de7e58a733e079702182021-06-03 9:00:3556 days 17 hrs ago0xce87db160a793609cd5d6c4d5c40452e7d21b3a8 IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.002179415
0x57104f34e3cb34e49923ff59b2f682969b8094776b9f5f51bda8f65311e85df579701212021-06-03 8:55:2956 days 17 hrs ago0xce87db160a793609cd5d6c4d5c40452e7d21b3a8 IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.00235849
0x83f7831fc859cb4e33badd807b58f6cd8e3e559167cdc07bb3634e039abe4bbf79653312021-06-03 4:54:3756 days 21 hrs ago0x36d53fece40d13aa6ffe7f669510aab3550ae647 IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.00235849
0x21bebb0e46411bbaa5878c3c41bfc3e1831f03a5b6d48f1ccbb39920042006c579576972021-06-02 22:32:2357 days 3 hrs ago0x89bb624830446093a81fda2b6d8f410ae500416b IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.00250849
0x3b93d2141d5c7f37186ee23dd77736c08282acac6ec1b77d97f52849417d99b179132112021-06-01 9:22:0558 days 16 hrs ago0xc4b220d3651b00db366f077903cedd45a8afb37f IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.001266975
0xa60f32e0fbd5179b211dfdcab014c64ae6bb87f38792354c0605bf50c3d02a7078905752021-05-31 14:24:0559 days 11 hrs ago0xc4b220d3651b00db366f077903cedd45a8afb37f IN  0x7e5424278061d9fe23cddd8150cff60d6a2dff8e0 BNB0.000150575
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Lottery

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: GPL-3.0-or-later Or MIT
// File: node_modules\@openzeppelin\contracts\GSN\Context.sol



pragma solidity ^0.6.0;

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

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

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



pragma solidity ^0.6.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\token\ERC721\IERC721.sol



pragma solidity ^0.6.2;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
      * @dev Safely transfers `tokenId` token from `from` to `to`.
      *
      * Requirements:
      *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
      * - `tokenId` token must exist and be owned by `from`.
      * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
      * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
      *
      * Emits a {Transfer} event.
      */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}

// File: node_modules\@openzeppelin\contracts\token\ERC721\IERC721Metadata.sol



pragma solidity ^0.6.2;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

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

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

// File: node_modules\@openzeppelin\contracts\token\ERC721\IERC721Enumerable.sol



pragma solidity ^0.6.2;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

// File: node_modules\@openzeppelin\contracts\token\ERC721\IERC721Receiver.sol



pragma solidity ^0.6.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data)
    external returns (bytes4);
}

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



pragma solidity ^0.6.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () internal {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view override returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

// File: node_modules\@openzeppelin\contracts\math\SafeMath.sol



pragma solidity ^0.6.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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



pragma solidity ^0.6.2;

/**
 * @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 in 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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

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

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

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

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



pragma solidity ^0.6.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
 * (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

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



pragma solidity ^0.6.0;

/**
 * @dev Library for managing an enumerable variant of Solidity's
 * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]
 * type.
 *
 * Maps have the following properties:
 *
 * - Entries are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Entries are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableMap for EnumerableMap.UintToAddressMap;
 *
 *     // Declare a set state variable
 *     EnumerableMap.UintToAddressMap private myMap;
 * }
 * ```
 *
 * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are
 * supported.
 */
library EnumerableMap {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Map type with
    // bytes32 keys and values.
    // The Map implementation uses private functions, and user-facing
    // implementations (such as Uint256ToAddressMap) are just wrappers around
    // the underlying Map.
    // This means that we can only create new EnumerableMaps for types that fit
    // in bytes32.

    struct MapEntry {
        bytes32 _key;
        bytes32 _value;
    }

    struct Map {
        // Storage of map keys and values
        MapEntry[] _entries;

        // Position of the entry defined by a key in the `entries` array, plus 1
        // because index 0 means a key is not in the map.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex == 0) { // Equivalent to !contains(map, key)
            map._entries.push(MapEntry({ _key: key, _value: value }));
            // The entry is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            map._indexes[key] = map._entries.length;
            return true;
        } else {
            map._entries[keyIndex - 1]._value = value;
            return false;
        }
    }

    /**
     * @dev Removes a key-value pair from a map. O(1).
     *
     * Returns true if the key was removed from the map, that is if it was present.
     */
    function _remove(Map storage map, bytes32 key) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex != 0) { // Equivalent to contains(map, key)
            // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one
            // in the array, and then remove the last entry (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = keyIndex - 1;
            uint256 lastIndex = map._entries.length - 1;

            // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            MapEntry storage lastEntry = map._entries[lastIndex];

            // Move the last entry to the index where the entry to delete is
            map._entries[toDeleteIndex] = lastEntry;
            // Update the index for the moved entry
            map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved entry was stored
            map._entries.pop();

            // Delete the index for the deleted slot
            delete map._indexes[key];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the key is in the map. O(1).
     */
    function _contains(Map storage map, bytes32 key) private view returns (bool) {
        return map._indexes[key] != 0;
    }

    /**
     * @dev Returns the number of key-value pairs in the map. O(1).
     */
    function _length(Map storage map) private view returns (uint256) {
        return map._entries.length;
    }

   /**
    * @dev Returns the key-value pair stored at position `index` in the map. O(1).
    *
    * Note that there are no guarantees on the ordering of entries inside the
    * array, and it may change when more entries are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {
        require(map._entries.length > index, "EnumerableMap: index out of bounds");

        MapEntry storage entry = map._entries[index];
        return (entry._key, entry._value);
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function _get(Map storage map, bytes32 key) private view returns (bytes32) {
        return _get(map, key, "EnumerableMap: nonexistent key");
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     */
    function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    // UintToAddressMap

    struct UintToAddressMap {
        Map _inner;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {
        return _set(map._inner, bytes32(key), bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the key was removed from the map, that is if it was present.
     */
    function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {
        return _remove(map._inner, bytes32(key));
    }

    /**
     * @dev Returns true if the key is in the map. O(1).
     */
    function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {
        return _contains(map._inner, bytes32(key));
    }

    /**
     * @dev Returns the number of elements in the map. O(1).
     */
    function length(UintToAddressMap storage map) internal view returns (uint256) {
        return _length(map._inner);
    }

   /**
    * @dev Returns the element stored at position `index` in the set. O(1).
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {
        (bytes32 key, bytes32 value) = _at(map._inner, index);
        return (uint256(key), address(uint256(value)));
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {
        return address(uint256(_get(map._inner, bytes32(key))));
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     */
    function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
        return address(uint256(_get(map._inner, bytes32(key), errorMessage)));
    }
}

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



pragma solidity ^0.6.0;

/**
 * @dev String operations.
 */
library Strings {
    /**
     * @dev Converts a `uint256` to its ASCII `string` representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        uint256 index = digits - 1;
        temp = value;
        while (temp != 0) {
            buffer[index--] = byte(uint8(48 + temp % 10));
            temp /= 10;
        }
        return string(buffer);
    }
}

// File: @openzeppelin\contracts\token\ERC721\ERC721.sol



pragma solidity ^0.6.0;












/**
 * @title ERC721 Non-Fungible Token Standard basic implementation
 * @dev see https://eips.ethereum.org/EIPS/eip-721
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using SafeMath for uint256;
    using Address for address;
    using EnumerableSet for EnumerableSet.UintSet;
    using EnumerableMap for EnumerableMap.UintToAddressMap;
    using Strings for uint256;

    // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
    // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`
    bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;

    // Mapping from holder address to their (enumerable) set of owned tokens
    mapping (address => EnumerableSet.UintSet) private _holderTokens;

    // Enumerable mapping from token ids to their owners
    EnumerableMap.UintToAddressMap private _tokenOwners;

    // Mapping from token ID to approved address
    mapping (uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping (address => mapping (address => bool)) private _operatorApprovals;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Optional mapping for token URIs
    mapping (uint256 => string) private _tokenURIs;

    // Base URI
    string private _baseURI;

    /*
     *     bytes4(keccak256('balanceOf(address)')) == 0x70a08231
     *     bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e
     *     bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3
     *     bytes4(keccak256('getApproved(uint256)')) == 0x081812fc
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde
     *
     *     => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^
     *        0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd
     */
    bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;

    /*
     *     bytes4(keccak256('name()')) == 0x06fdde03
     *     bytes4(keccak256('symbol()')) == 0x95d89b41
     *     bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd
     *
     *     => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f
     */
    bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;

    /*
     *     bytes4(keccak256('totalSupply()')) == 0x18160ddd
     *     bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59
     *     bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7
     *
     *     => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63
     */
    bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;

        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(_INTERFACE_ID_ERC721);
        _registerInterface(_INTERFACE_ID_ERC721_METADATA);
        _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");

        return _holderTokens[owner].length();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];

        // If there is no base URI, return the token URI.
        if (bytes(_baseURI).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(_baseURI, _tokenURI));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(_baseURI, tokenId.toString()));
    }

    /**
    * @dev Returns the base URI set via {_setBaseURI}. This will be
    * automatically added as a prefix in {tokenURI} to each token's URI, or
    * to the token ID if no specific URI is set for that token ID.
    */
    function baseURI() public view returns (string memory) {
        return _baseURI;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        return _holderTokens[owner].at(index);
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds
        return _tokenOwners.length();
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        (uint256 tokenId, ) = _tokenOwners.at(index);
        return tokenId;
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _tokenOwners.contains(tokenId);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     d*
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {
        _mint(to, tokenId);
        require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        // Clear metadata (if any)
        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }

        _holderTokens[owner].remove(tokenId);

        _tokenOwners.remove(tokenId);

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(address from, address to, uint256 tokenId) internal virtual {
        require(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _holderTokens[from].remove(tokenId);
        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev Internal function to set the base URI for all token IDs. It is
     * automatically added as a prefix to the value returned in {tokenURI},
     * or to the token ID if {tokenURI} is empty.
     */
    function _setBaseURI(string memory baseURI_) internal virtual {
        _baseURI = baseURI_;
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
        private returns (bool)
    {
        if (!to.isContract()) {
            return true;
        }
        bytes memory returndata = to.functionCall(abi.encodeWithSelector(
            IERC721Receiver(to).onERC721Received.selector,
            _msgSender(),
            from,
            tokenId,
            _data
        ), "ERC721: transfer to non ERC721Receiver implementer");
        bytes4 retval = abi.decode(returndata, (bytes4));
        return (retval == _ERC721_RECEIVED);
    }

    function _approve(address to, uint256 tokenId) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(ownerOf(tokenId), to, tokenId);
    }

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

// File: @openzeppelin\contracts\utils\Counters.sol



pragma solidity ^0.6.0;


/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath}
 * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never
 * directly accessed.
 */
library Counters {
    using SafeMath for uint256;

    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        // The {SafeMath} overflow check can be skipped here, see the comment at the top
        counter._value += 1;
    }

    function decrement(Counter storage counter) internal {
        counter._value = counter._value.sub(1);
    }
}

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



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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public 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\LotteryNFT.sol

pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;




contract LotteryNFT is ERC721, Ownable {
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIds;

    mapping (uint256 => uint8[4]) public lotteryInfo;
    mapping (uint256 => uint256) public lotteryAmount;
    mapping (uint256 => uint256) public issueIndex;
    mapping (uint256 => bool) public claimInfo;

    constructor() public ERC721("PushProtocol Lottery Ticket", "PUSHLT") {}

    function newLotteryItem(address player, uint8[4] memory _lotteryNumbers, uint256 _amount, uint256 _issueIndex)
        external onlyOwner
        returns (uint256)
    {
        _tokenIds.increment();

        uint256 newItemId = _tokenIds.current();
        _mint(player, newItemId);
        lotteryInfo[newItemId] = _lotteryNumbers;
        lotteryAmount[newItemId] = _amount;
        issueIndex[newItemId] = _issueIndex;
        // claimInfo[newItemId] = false; default is false here
        // _setTokenURI(newItemId, tokenURI);

        return newItemId;
    }

    function getLotteryNumbers(uint256 tokenId) external view returns (uint8[4] memory) {
        return lotteryInfo[tokenId];
    }
    function getLotteryAmount(uint256 tokenId) external view returns (uint256) {
        return lotteryAmount[tokenId];
    }
    function getLotteryIssueIndex(uint256 tokenId) external view returns (uint256) {
        return issueIndex[tokenId];
    }
    function claimReward(uint256 tokenId) external onlyOwner {
        claimInfo[tokenId] = true;
    }
    function multiClaimReward(uint256[] memory tokenIds) external onlyOwner {
        for (uint i = 0; i < tokenIds.length; i++) {
            claimInfo[tokenIds[i]] = true;
        }
    }
    function burn(uint256 tokenId) external onlyOwner {
        _burn(tokenId);
    }
    function getClaimStatus(uint256 tokenId) external view returns (bool) {
        return claimInfo[tokenId];
    }
}

// File: contracts\IBEP20.sol

pragma solidity >=0.6.4;

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

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

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

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

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

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

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

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

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

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

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

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

// File: contracts\SafeBEP20.sol



pragma solidity >=0.6.0 <0.8.0;




/**
 * @title SafeBEP20
 * @dev Wrappers around BEP20 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 SafeBEP20 for IBEP20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeBEP20 {
    using SafeMath for uint256;
    using Address for address;

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

    function safeTransferFrom(IBEP20 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
     * {IBEP20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IBEP20 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),
            "SafeBEP20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

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

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

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IBEP20 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, "SafeBEP20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeBEP20: BEP20 operation did not succeed");
        }
    }
}

// File: contracts\Initializable.sol



// solhint-disable-next-line compiler-version
pragma solidity <0.8.0;


/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {UpgradeableProxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {

    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}

// File: contracts\ContextUpgradeable.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 ContextUpgradeable is Initializable {
    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {
    }
    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;
    }
    uint256[50] private __gap;
}

// File: contracts\OwnableUpgradeable.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 OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal initializer {
        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;
    }
    uint256[49] private __gap;
}

// File: contracts\PUSHLottery.sol

pragma solidity 0.6.12;






// 4 numbers
contract Lottery is OwnableUpgradeable {
    using SafeMath for uint256;
    using SafeMath for uint8;
    using SafeBEP20 for IBEP20;

    uint8 constant winningCombinations = 11;
    // Allocation for first/sencond/third reward
    uint8[3] public allocation;
    // The TOKEN to buy lottery
    IBEP20 public push;
    // The Lottery NFT for tickets
    LotteryNFT public lotteryNFT;
    // adminAddress
    address public adminAddress;
    // maxNumber
    uint8 public maxNumber;
    // minPrice, if decimal is not 18, please reset it
    uint256 public minPrice;

    // =================================

    // issueId => winningNumbers[numbers]
    mapping (uint256 => uint8[4]) public historyNumbers;
    // issueId => [tokenId]
    mapping (uint256 => uint256[]) public lotteryInfo;
    // issueId => [totalAmount, firstMatchAmount, secondMatchingAmount, thirdMatchingAmount]
    mapping (uint256 => uint256[]) public historyAmount;
    // issueId => trickyNumber => buyAmountSum
    mapping (uint256 => mapping(uint64 => uint256)) public userBuyAmountSum;
    // address => [tokenId]
    mapping (address => uint256[]) public userInfo;

    uint256 public issueIndex = 0;
    uint256 public totalAddresses = 0;
    uint256 public totalAmount = 0;
    uint256 public lastTimestamp;

    uint8[4] public winningNumbers;

    // default false
    bool public drawingPhase;

    // =================================

    event Buy(address indexed user, uint256 tokenId);
    event Drawing(uint256 indexed issueIndex, uint8[4] winningNumbers);
    event Claim(address indexed user, uint256 tokenid, uint256 amount);
    event DevWithdraw(address indexed user, uint256 amount);
    event Reset(uint256 indexed issueIndex);
    event MultiClaim(address indexed user, uint256 amount);
    event MultiBuy(address indexed user, uint256 amount);
    event SetMinPrice(address indexed user, uint256 price);
    event SetMaxNumber(address indexed user, uint256 number);
    event SetAdmin(address indexed user, address indexed admin);
    event SetAllocation(address indexed user, uint8 allocation1, uint8 allocation2, uint8 allocation3);

    constructor() public {
    }

    function initialize(
        IBEP20 _push,
        LotteryNFT _lottery,
        uint256 _minPrice,
        uint8 _maxNumber,
        address _adminAddress
    ) external initializer {
        require(_adminAddress != address(0));

        push = _push;
        lotteryNFT = _lottery;
        minPrice = _minPrice;
        maxNumber = _maxNumber;
        adminAddress = _adminAddress;
        lastTimestamp = block.timestamp;
        allocation = [60, 20, 10];
        __Ownable_init();
    }

    uint8[4] private nullTicket = [0,0,0,0];

    modifier onlyAdmin() {
        require(msg.sender == adminAddress, "admin: wut?");
        _;
    }

    function drawed() public view returns(bool) {
        return winningNumbers[0] != 0;
    }

    function reset() external onlyAdmin {
        require(drawed(), "drawed?");
        lastTimestamp = block.timestamp;
        totalAddresses = 0;
        totalAmount = 0;
        winningNumbers[0]=0;
        winningNumbers[1]=0;
        winningNumbers[2]=0;
        winningNumbers[3]=0;
        drawingPhase = false;
        issueIndex = issueIndex +1;
        if(getMatchingRewardAmount(issueIndex-1, 4) == 0) {
            uint256 amount = getTotalRewards(issueIndex-1).mul(allocation[0]).div(100);
            internalBuy(amount, nullTicket);
        }
        emit Reset(issueIndex);
    }

    function enterDrawingPhase() external onlyAdmin {
        require(!drawed(), 'drawed');
        drawingPhase = true;
    }

    // add externalRandomNumber to prevent node validators exploiting
    function drawing(uint256 _externalRandomNumber) external onlyAdmin {
        require(!drawed(), "reset?");
        require(drawingPhase, "enter drawing phase first");
        bytes32 _structHash;
        uint256 _randomNumber;
        uint8 _maxNumber = maxNumber;
        bytes32 _blockhash = blockhash(block.number-1);

        // waste some gas fee here
        for (uint i = 0; i < 10; i++) {
            getTotalRewards(issueIndex);
        }
        uint256 gasLeft = gasleft();

        // 1
        _structHash = keccak256(
            abi.encode(
                _blockhash,
                totalAddresses,
                gasLeft,
                _externalRandomNumber
            )
        );
        _randomNumber  = uint256(_structHash);
        assembly {_randomNumber := add(mod(_randomNumber, _maxNumber),1)}
        winningNumbers[0]=uint8(_randomNumber);

        // 2
        _structHash = keccak256(
            abi.encode(
                _blockhash,
                totalAmount,
                gasLeft,
                _externalRandomNumber
            )
        );
        _randomNumber  = uint256(_structHash);
        assembly {_randomNumber := add(mod(_randomNumber, _maxNumber),1)}
        winningNumbers[1]=uint8(_randomNumber);

        // 3
        _structHash = keccak256(
            abi.encode(
                _blockhash,
                lastTimestamp,
                gasLeft,
                _externalRandomNumber
            )
        );
        _randomNumber  = uint256(_structHash);
        assembly {_randomNumber := add(mod(_randomNumber, _maxNumber),1)}
        winningNumbers[2]=uint8(_randomNumber);

        // 4
        _structHash = keccak256(
            abi.encode(
                _blockhash,
                gasLeft,
                _externalRandomNumber
            )
        );
        _randomNumber  = uint256(_structHash);
        assembly {_randomNumber := add(mod(_randomNumber, _maxNumber),1)}
        winningNumbers[3]=uint8(_randomNumber);
        historyNumbers[issueIndex] = winningNumbers;
        historyAmount[issueIndex] = calculateMatchingRewardAmount();
        drawingPhase = false;
        emit Drawing(issueIndex, winningNumbers);
    }

    function internalBuy(uint256 _price, uint8[4] memory _numbers) internal {
        require (!drawed(), 'drawed, can not buy now');
        for (uint i = 0; i < 4; i++) {
            require (_numbers[i] <= maxNumber, 'exceed the maximum');
        }
        uint256 tokenId = lotteryNFT.newLotteryItem(address(this), _numbers, _price, issueIndex);
        lotteryInfo[issueIndex].push(tokenId);
        totalAmount = totalAmount.add(_price);
        lastTimestamp = block.timestamp;
        emit Buy(address(this), tokenId);

    }

    function _buySingleTicket(uint256 _price, uint8[4] memory _numbers) private returns (uint256){
        for (uint i = 0; i < 4; i++) {
            require (_numbers[i] <= maxNumber, 'bad number');
        }
        uint256 tokenId = lotteryNFT.newLotteryItem(msg.sender, _numbers, _price, issueIndex);
        lotteryInfo[issueIndex].push(tokenId);
        if (userInfo[msg.sender].length == 0) {
            totalAddresses = totalAddresses + 1;
        }
        userInfo[msg.sender].push(tokenId);
        totalAmount = totalAmount.add(_price);
        lastTimestamp = block.timestamp;
        uint32[winningCombinations] memory userCombinations = generateCombinations(_numbers);
        for (uint i = 0; i < winningCombinations; i++) {
            userBuyAmountSum[issueIndex][userCombinations[i]]=userBuyAmountSum[issueIndex][userCombinations[i]].add(_price);
        }
        return tokenId;
    }

    function buy(uint256 _price, uint8[4] memory _numbers) external {
        require(!drawed(), 'drawed, can not buy now');
        require(!drawingPhase, 'drawing, can not buy now');
        require (_price >= minPrice, 'price must above minPrice');
        uint256 tokenId = _buySingleTicket(_price, _numbers);
        push.safeTransferFrom(address(msg.sender), address(this), _price);
        emit Buy(msg.sender, tokenId);
    }

    function multiBuy(uint256 _price, uint8[4][] memory _numbers) external {
        require (!drawed(), 'drawed, can not buy now');
        require (_price >= minPrice, 'price must above minPrice');
        uint256 totalPrice  = 0;
        for (uint i = 0; i < _numbers.length; i++) {
            _buySingleTicket(_price, _numbers[i]);
            totalPrice = totalPrice.add(_price);
        }
        push.safeTransferFrom(address(msg.sender), address(this), totalPrice);
        emit MultiBuy(msg.sender, totalPrice);
    }

    function claimReward(uint256 _tokenId) external {
        require(msg.sender == lotteryNFT.ownerOf(_tokenId), "not from owner");
        require (!lotteryNFT.getClaimStatus(_tokenId), "claimed");
        uint256 reward = getRewardView(_tokenId);
        lotteryNFT.claimReward(_tokenId);
        if(reward>0) {
            safepushTransfer(address(msg.sender), reward);
        }
        emit Claim(msg.sender, _tokenId, reward);
    }

    function multiClaim(uint256[] memory _tickets) external {
        uint256 totalReward = 0;
        for (uint i = 0; i < _tickets.length; i++) {
            require (msg.sender == lotteryNFT.ownerOf(_tickets[i]), "not from owner");
            require (!lotteryNFT.getClaimStatus(_tickets[i]), "claimed");
            uint256 reward = getRewardView(_tickets[i]);
            if(reward>0) {
                totalReward = reward.add(totalReward);
            }
        }
        lotteryNFT.multiClaimReward(_tickets);
        if(totalReward>0) {
            safepushTransfer(address(msg.sender), totalReward);
        }
        emit MultiClaim(msg.sender, totalReward);
    }

    function generateCombinations(uint8[4] memory number) public pure returns (uint32[winningCombinations] memory) {
        uint32 packedNumber = (number[0] << 24) + (number[1] << 16) + (number[2] << 8) + number[3];

        uint32[winningCombinations] memory combinations;

        //Match 4
        combinations[0] = packedNumber;

        //Match 3
        combinations[1] = packedNumber & 0x00FFFFFF;
        combinations[2] = packedNumber & 0xFF00FFFF;
        combinations[3] = packedNumber & 0xFFFF00FF;
        combinations[4] = packedNumber & 0xFFFFFF00;

        //Match 2
        combinations[5] = packedNumber & 0x0000FFFF;
        combinations[6] = packedNumber & 0x00FF00FF;
        combinations[7] = packedNumber & 0x00FFFF00;
        combinations[8] = packedNumber & 0xFF0000FF;
        combinations[9] = packedNumber & 0xFF00FF00;
        combinations[10] = packedNumber & 0xFFFF0000;

        return combinations;
    }

    function calculateMatchingRewardAmount() internal view returns (uint256[4] memory) {
        uint32[winningCombinations] memory combinations = generateCombinations(winningNumbers);

        uint256 totalMatched4 = userBuyAmountSum[issueIndex][combinations[0]];

        uint256 totalMatched3 = userBuyAmountSum[issueIndex][combinations[1]];
        totalMatched3 = totalMatched3.add(userBuyAmountSum[issueIndex][combinations[2]]);
        totalMatched3 = totalMatched3.add(userBuyAmountSum[issueIndex][combinations[3]]);
        totalMatched3 = totalMatched3.add(userBuyAmountSum[issueIndex][combinations[4]]);
        totalMatched3 = totalMatched3.sub(totalMatched4.mul(4)); //Remove overlaps from Matched4 users

        uint256 totalMatched2 = userBuyAmountSum[issueIndex][combinations[5]];
        totalMatched2 = totalMatched2.add(userBuyAmountSum[issueIndex][combinations[6]]);
        totalMatched2 = totalMatched2.add(userBuyAmountSum[issueIndex][combinations[7]]);
        totalMatched2 = totalMatched2.add(userBuyAmountSum[issueIndex][combinations[8]]);
        totalMatched2 = totalMatched2.add(userBuyAmountSum[issueIndex][combinations[9]]);
        totalMatched2 = totalMatched2.add(userBuyAmountSum[issueIndex][combinations[10]]);
        totalMatched2 = totalMatched2.sub(totalMatched3.mul(3)); //Remove overlaps from Matched3 users
        totalMatched2 = totalMatched2.sub(totalMatched4.mul(6)); //Remove overlaps from Matched4 users

        return [totalAmount, totalMatched4, totalMatched3, totalMatched2];
    }

    function getMatchingRewardAmount(uint256 _issueIndex, uint256 _matchingNumber) public view returns (uint256) {
        require(_matchingNumber >= 2 && _matchingNumber <= 4, "getMatchingRewardAmount: INVALID");
        return historyAmount[_issueIndex][5 - _matchingNumber];
    }

    function getTotalRewards(uint256 _issueIndex) public view returns(uint256) {
        require (_issueIndex <= issueIndex, '_issueIndex <= issueIndex');

        if(!drawed() && _issueIndex == issueIndex) {
            return totalAmount;
        }
        return historyAmount[_issueIndex][0];
    }

    function getRewardView(uint256 _tokenId) public view returns(uint256) {
        uint256 _issueIndex = lotteryNFT.getLotteryIssueIndex(_tokenId);
        uint8[4] memory lotteryNumbers = lotteryNFT.getLotteryNumbers(_tokenId);
        uint8[4] memory _winningNumbers = historyNumbers[_issueIndex];
        require(_winningNumbers[0] != 0, "not drawed");

        uint256 matchingNumber = 0;
        for (uint i = 0; i < lotteryNumbers.length; i++) {
            if (_winningNumbers[i] == lotteryNumbers[i]) {
                matchingNumber = matchingNumber + 1;
            }
        }
        uint256 reward = 0;
        if (matchingNumber > 1) {
            uint256 amount = lotteryNFT.getLotteryAmount(_tokenId);
            uint256 poolAmount = getTotalRewards(_issueIndex).mul(allocation[4-matchingNumber]).div(100);
            reward = amount.mul(1e12).mul(poolAmount).div(getMatchingRewardAmount(_issueIndex, matchingNumber));
        }
        return reward.div(1e12);
    }

    // Safe push transfer function, just in case if rounding error causes pool to not have enough PUSHs.
    function safepushTransfer(address _to, uint256 _amount) internal {
        uint256 pushBal = push.balanceOf(address(this));
        if (_amount > pushBal) {
            push.transfer(_to, pushBal);
        } else {
            push.transfer(_to, _amount);
        }
    }

    // Update admin address by the previous dev.
    function setAdmin(address _adminAddress) external onlyOwner {
        require(_adminAddress != address(0));
        adminAddress = _adminAddress;
        emit SetAdmin(msg.sender, _adminAddress);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function adminWithdraw(uint256 _amount) external onlyAdmin {
        push.safeTransfer(address(msg.sender), _amount);
        emit DevWithdraw(msg.sender, _amount);
    }

    // Set the minimum price for one ticket
    function setMinPrice(uint256 _price) external onlyAdmin {
        minPrice = _price;
        emit SetMinPrice(msg.sender, _price);
    }

    // Set the max number to be drawed
    function setMaxNumber(uint8 _maxNumber) external onlyAdmin {
        maxNumber = _maxNumber;
        emit SetMaxNumber(msg.sender, _maxNumber);
    }

    // Set the allocation for one reward
    function setAllocation(uint8 _allcation1, uint8 _allcation2, uint8 _allcation3) external onlyAdmin {
        allocation = [_allcation1, _allcation2, _allcation3];
        emit SetAllocation(msg.sender, _allcation1, _allcation2, _allcation3);
    }

}

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Buy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DevWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"issueIndex","type":"uint256"},{"indexed":false,"internalType":"uint8[4]","name":"winningNumbers","type":"uint8[4]"}],"name":"Drawing","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MultiBuy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MultiClaim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"issueIndex","type":"uint256"}],"name":"Reset","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"admin","type":"address"}],"name":"SetAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint8","name":"allocation1","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"allocation2","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"allocation3","type":"uint8"}],"name":"SetAllocation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"number","type":"uint256"}],"name":"SetMaxNumber","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"SetMinPrice","type":"event"},{"inputs":[],"name":"adminAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"adminWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"allocation","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint8[4]","name":"_numbers","type":"uint8[4]"}],"name":"buy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"claimReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"drawed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_externalRandomNumber","type":"uint256"}],"name":"drawing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"drawingPhase","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enterDrawingPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8[4]","name":"number","type":"uint8[4]"}],"name":"generateCombinations","outputs":[{"internalType":"uint32[11]","name":"","type":"uint32[11]"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_issueIndex","type":"uint256"},{"internalType":"uint256","name":"_matchingNumber","type":"uint256"}],"name":"getMatchingRewardAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getRewardView","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_issueIndex","type":"uint256"}],"name":"getTotalRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"historyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"historyNumbers","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IBEP20","name":"_push","type":"address"},{"internalType":"contract LotteryNFT","name":"_lottery","type":"address"},{"internalType":"uint256","name":"_minPrice","type":"uint256"},{"internalType":"uint8","name":"_maxNumber","type":"uint8"},{"internalType":"address","name":"_adminAddress","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"issueIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"lotteryInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lotteryNFT","outputs":[{"internalType":"contract LotteryNFT","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNumber","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint8[4][]","name":"_numbers","type":"uint8[4][]"}],"name":"multiBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tickets","type":"uint256[]"}],"name":"multiClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"push","outputs":[{"internalType":"contract IBEP20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_adminAddress","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_allcation1","type":"uint8"},{"internalType":"uint8","name":"_allcation2","type":"uint8"},{"internalType":"uint8","name":"_allcation3","type":"uint8"}],"name":"setAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_maxNumber","type":"uint8"}],"name":"setMaxNumber","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setMinPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalAddresses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint64","name":"","type":"uint64"}],"name":"userBuyAmountSum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"winningNumbers","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"}]

6000606f81905560708190556071819055610100604052608081815260a082905260c082905260e0919091526200003b90607590600462000050565b503480156200004957600080fd5b5062000105565b600183019183908215620000d85791602002820160005b83821115620000a757835183826101000a81548160ff021916908360ff160217905550926020019260010160208160000104928301926001030262000067565b8015620000d65782816101000a81549060ff0219169055600101602081600001049283019260010302620000a7565b505b50620000e6929150620000ea565b5090565b5b80821115620000e657805460ff19168155600101620000eb565b61336280620001156000396000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c8063704b6c0211610130578063cfad5277116100b8578063e13454161161007c578063e13454161461047d578063e45be8eb14610485578063e8adfbc71461048d578063f2fde38b14610495578063fc6f9468146104a857610232565b8063cfad527714610434578063d1f7dbcf1461043c578063d411b0fa1461044f578063d826f88f14610462578063dc41825b1461046a57610232565b8063850bad94116100ff578063850bad94146103e05780638da5cb5b146103f3578063a42206c9146103fb578063ae169a501461040e578063c39f49c01461042157610232565b8063704b6c021461039d578063715018a6146103b05780637c5b4a37146103b85780638035f0ce146103cb57610232565b8063438209f5116101be57806359bcbd681161018257806359bcbd68146103495780635c17623a1461035c5780635ea8cd121461036f5780636575243f146103825780636a28f8281461039557610232565b8063438209f5146102db5780634e45f095146102f05780634ed73d2814610303578063552164ee14610316578063569337191461032957610232565b806321ce919d1161020557806321ce919d1461027a5780632bdff8511461028d5780632f506b20146102a0578063324a5562146102b35780633a4f6999146102c657610232565b806314c20d571461023757806319d8ac611461024c5780631a39d8ef1461026a5780631ff6886614610272575b600080fd5b61024a610245366004612b41565b6104b0565b005b610254610590565b6040516102619190613253565b60405180910390f35b610254610596565b61024a61059c565b610254610288366004612897565b6105fa565b61024a61029b366004612a99565b610628565b6102546102ae366004612b8e565b610700565b61024a6102c1366004612bc9565b61071d565b6102ce61079c565b604051610261919061326a565b6102e36107ac565b6040516102619190612d97565b6102ce6102fe366004612a69565b6107b5565b61024a6103113660046128c2565b6107dc565b610254610324366004612a69565b610a5b565b61033c610337366004612957565b610acf565b6040516102619190612d35565b6102ce610357366004612b6d565b610b9f565b61024a61036a366004612be5565b610bd5565b61024a61037d366004612a69565b610c6d565b610254610390366004612b6d565b610cce565b610254610ce7565b61024a6103ab36600461285f565b610ced565b61024a610d8b565b61024a6103c6366004612a69565b610e14565b6103d3610e8e565b6040516102619190612c71565b6102ce6103ee366004612a69565b610e9d565b6103d3610eaa565b61024a610409366004612a69565b610eb9565b61024a61041c366004612a69565b61113f565b61025461042f366004612b6d565b611348565b610254611361565b61025461044a366004612b6d565b611367565b61025461045d366004612a69565b6113c9565b61024a6116ca565b61024a610478366004612a02565b611806565b6102e3611921565b61025461192c565b6103d3611932565b61024a6104a336600461285f565b611941565b6103d3611a02565b6104b8611921565b156104de5760405162461bcd60e51b81526004016104d590613126565b60405180910390fd5b60745460ff16156105015760405162461bcd60e51b81526004016104d590613029565b6069548210156105235760405162461bcd60e51b81526004016104d5906130ae565b600061052f8383611a11565b60665490915061054a906001600160a01b0316333086611c2b565b336001600160a01b03167fe3d4187f6ca4248660cc0ac8b8056515bac4a8132be2eca31d6d0cc170722a7e826040516105839190613253565b60405180910390a2505050565b60725481565b60715481565b6068546001600160a01b031633146105c65760405162461bcd60e51b81526004016104d590613192565b6105ce611921565b156105eb5760405162461bcd60e51b81526004016104d590613233565b6074805460ff19166001179055565b606e602052816000526040600020818154811061061357fe5b90600052602060002001600091509150505481565b610630611921565b1561064d5760405162461bcd60e51b81526004016104d590613126565b60695482101561066f5760405162461bcd60e51b81526004016104d5906130ae565b6000805b82518110156106ae576106998484838151811061068c57fe5b6020026020010151611a11565b506106a48285611c89565b9150600101610673565b506066546106c7906001600160a01b0316333084611c2b565b336001600160a01b03167f96c35ad1cc1743f26cb87980c38042de8082358ec6d171a7986d6e11dddfe857826040516105839190613253565b606d60209081526000928352604080842090915290825290205481565b6068546001600160a01b031633146107475760405162461bcd60e51b81526004016104d590613192565b6068805460ff60a01b1916600160a01b60ff84160217905560405133907f506d53b52bc18bc1700b98da33af73e7e3ac7eab9dc8ccdc73f311b91e17443f9061079190849061326a565b60405180910390a250565b606854600160a01b900460ff1681565b60745460ff1681565b607381600481106107c257fe5b60209182820401919006915054906101000a900460ff1681565b6000805b82518110156109a05760675483516001600160a01b0390911690636352211e9085908490811061080c57fe5b60200260200101516040518263ffffffff1660e01b81526004016108309190613253565b60206040518083038186803b15801561084857600080fd5b505afa15801561085c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610880919061287b565b6001600160a01b0316336001600160a01b0316146108b05760405162461bcd60e51b81526004016104d590612fa9565b60675483516001600160a01b03909116906336dbd2f9908590849081106108d357fe5b60200260200101516040518263ffffffff1660e01b81526004016108f79190613253565b60206040518083038186803b15801561090f57600080fd5b505afa158015610923573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094791906129e2565b156109645760405162461bcd60e51b81526004016104d590613008565b600061098284838151811061097557fe5b60200260200101516113c9565b90508015610997576109948184611c89565b92505b506001016107e0565b50606754604051637431035560e01b81526001600160a01b03909116906374310355906109d1908590600401612cf1565b600060405180830381600087803b1580156109eb57600080fd5b505af11580156109ff573d6000803e3d6000fd5b505050506000811115610a1657610a163382611cb5565b336001600160a01b03167f6606374655494f5c0e2d6f392656e9777afd9ac5f61527d1bcad50b7e918a03e82604051610a4f9190613253565b60405180910390a25050565b6000606f54821115610a7f5760405162461bcd60e51b81526004016104d590612e4a565b610a87611921565b158015610a955750606f5482145b15610aa35750607154610aca565b6000828152606c602052604081208054909190610abc57fe5b906000526020600020015490505b919050565b610ad7612684565b606082015160408301516020840151845160ff60089390931b61ff001660109290921b62ff00001660189190911b63ff00000016010190910116610b19612684565b63ffffffff8216815262ffffff8216602082015263ff00ffff8216604082015263ffff00ff8216606082015263ffffff008216608082015261ffff821660a082015262ff00ff821660c082015262ffff00821660e082015263ff0000ff821661010082015263ff00ff00821661012082015263ffff000090911661014082015292915050565b606a6020528160005260406000208160048110610bb857fe5b602081049091015460ff601f9092166101000a9004169150829050565b6068546001600160a01b03163314610bff5760405162461bcd60e51b81526004016104d590613192565b6040805160608101825260ff80861682528481166020830152831691810191909152610c2f9060659060036126a3565b50336001600160a01b03167f084866ac1c2208396290fe35a38f78993aa38fa5f458ad832d768e4ac6d18fa384848460405161058393929190613278565b6068546001600160a01b03163314610c975760405162461bcd60e51b81526004016104d590613192565b606981905560405133907f84cb1bb9f2cf0bbe5de6714c4b085e5ace133558133f8ea973b7b3177996ce8190610791908490613253565b606b602052816000526040600020818154811061061357fe5b606f5481565b610cf5611e53565b6001600160a01b0316610d06610eaa565b6001600160a01b031614610d2c5760405162461bcd60e51b81526004016104d59061315d565b6001600160a01b038116610d3f57600080fd5b606880546001600160a01b0319166001600160a01b03831690811790915560405133907f848ac24ab84501710d6631faab117b66b79aba7ec6f7778cf3bcff428c1a4efc90600090a350565b610d93611e53565b6001600160a01b0316610da4610eaa565b6001600160a01b031614610dca5760405162461bcd60e51b81526004016104d59061315d565b6033546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603380546001600160a01b0319169055565b6068546001600160a01b03163314610e3e5760405162461bcd60e51b81526004016104d590613192565b606654610e55906001600160a01b03163383611e57565b336001600160a01b03167f050d1c64cc22ce461b9bc14f6b73852566da02b03c155242bc63169d1fec42aa826040516107919190613253565b6066546001600160a01b031681565b606581600381106107c257fe5b6033546001600160a01b031690565b6068546001600160a01b03163314610ee35760405162461bcd60e51b81526004016104d590613192565b610eeb611921565b15610f085760405162461bcd60e51b81526004016104d590612e06565b60745460ff16610f2a5760405162461bcd60e51b81526004016104d590612fd1565b6068546000908190600160a01b900460ff16436000190140825b600a811015610f6157610f58606f54610a5b565b50600101610f44565b5060005a9050816070548288604051602001610f809493929190612db8565b60408051601f198184030181529082905280516020918201206073805460ff191687830660010160ff8116919091179091556071549198509650610fca92859285918b9101612db8565b60408051601f198184030181529082905280516020918201206073805460ff8884066001019081166101000261ff001990921691909117909155607254919850965061101c92859285918b9101612db8565b60408051808303601f190181529082905280516020918201206073805460ff600189850601908116620100000262ff00001990921691909117909155909750955061106d91849184918a9101612da2565b60408051808303601f1901815291815281516020928301206073805460ff60018985060190811663010000000263ff00000019909216919091178255606f546000908152606a909552929093209097509095506110cb916004612736565b506110d4611e76565b606f546000908152606c602052604090206110f0916004612769565b506074805460ff19169055606f546040517fa13e935b188993737b3009d62bd916dcbe9e82d8236d75981eeadf26a1460d3d9061112f90607390612d64565b60405180910390a2505050505050565b6067546040516331a9108f60e11b81526001600160a01b0390911690636352211e9061116f908490600401613253565b60206040518083038186803b15801561118757600080fd5b505afa15801561119b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111bf919061287b565b6001600160a01b0316336001600160a01b0316146111ef5760405162461bcd60e51b81526004016104d590612fa9565b6067546040516336dbd2f960e01b81526001600160a01b03909116906336dbd2f99061121f908490600401613253565b60206040518083038186803b15801561123757600080fd5b505afa15801561124b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126f91906129e2565b1561128c5760405162461bcd60e51b81526004016104d590613008565b6000611297826113c9565b606754604051630ae169a560e41b81529192506001600160a01b03169063ae169a50906112c8908590600401613253565b600060405180830381600087803b1580156112e257600080fd5b505af11580156112f6573d6000803e3d6000fd5b50505050600081111561130d5761130d3382611cb5565b336001600160a01b03167f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf78383604051610a4f92919061325c565b606c602052816000526040600020818154811061061357fe5b60705481565b60006002821015801561137b575060048211155b6113975760405162461bcd60e51b81526004016104d590612f74565b6000838152606c60205260409020805460058490039081106113b557fe5b906000526020600020015490505b92915050565b606754604051631bf1e00f60e01b815260009182916001600160a01b0390911690631bf1e00f906113fe908690600401613253565b60206040518083038186803b15801561141657600080fd5b505afa15801561142a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144e9190612a81565b90506114586127b0565b606754604051635f8e26a760e01b81526001600160a01b0390911690635f8e26a790611488908790600401613253565b60806040518083038186803b1580156114a057600080fd5b505afa1580156114b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d89190612972565b90506114e26127b0565b6000838152606a6020526040808220815160808101928390529290916004918390855b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411611505579050505050505090508060006004811061154757fe5b602002015160ff1661156b5760405162461bcd60e51b81526004016104d590612e26565b6000805b60048110156115b55783816004811061158457fe5b602002015160ff1683826004811061159857fe5b602002015160ff1614156115ad578160010191505b60010161156f565b50600060018211156116b057606754604051637bd0606560e11b81526000916001600160a01b03169063f7a0c0ca906115f2908b90600401613253565b60206040518083038186803b15801561160a57600080fd5b505afa15801561161e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116429190612a81565b9050600061168960646116836065876004036003811061165e57fe5b602081049091015460ff601f9092166101000a90041661167d8b610a5b565b906120c0565b906120fa565b90506116ab6116988886611367565b6116838361167d8664e8d4a510006120c0565b925050505b6116bf8164e8d4a510006120fa565b979650505050505050565b6068546001600160a01b031633146116f45760405162461bcd60e51b81526004016104d590613192565b6116fc611921565b6117185760405162461bcd60e51b81526004016104d5906131ee565b42607255600060708190556071556073805463ffffffff191690556074805460ff19169055606f805460018101909155611753906004611367565b6117d857606554606f5460009161177e916064916116839160ff9091169061167d9060001901610a5b565b6040805160808101918290529192506117d6918391607590600490826000855b825461010083900a900460ff1681526020600192830181810494850194909303909202910180841161179e579050505050505061213c565b505b606f546040517f01c3cbb0d62726ab09d163873ebf9aed99dd8dc08e57bc938f458132fd178cf690600090a2565b600054610100900460ff168061181f575060005460ff16155b61183b5760405162461bcd60e51b81526004016104d590613060565b600054610100900460ff16158015611866576000805460ff1961ff0019909116610100171660011790555b6001600160a01b03821661187957600080fd5b606680546001600160a01b03199081166001600160a01b038981169190911790925560678054821688841617905560698690556068805460ff60a01b1916600160a01b60ff881602179091169184169190911790554260725560408051606081018252603c815260146020820152600a918101919091526118fe9060659060036126a3565b506119076122ab565b8015611919576000805461ff00191690555b505050505050565b60735460ff16151590565b60695481565b6067546001600160a01b031681565b611949611e53565b6001600160a01b031661195a610eaa565b6001600160a01b0316146119805760405162461bcd60e51b81526004016104d59061315d565b6001600160a01b0381166119a65760405162461bcd60e51b81526004016104d590612ecb565b6033546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603380546001600160a01b0319166001600160a01b0392909216919091179055565b6068546001600160a01b031681565b6000805b6004811015611a6557606854600160a01b900460ff16838260048110611a3757fe5b602002015160ff161115611a5d5760405162461bcd60e51b81526004016104d59061320f565b600101611a15565b50606754606f54604051620dce4760ea1b81526000926001600160a01b0316916337391c0091611a9d91339188918a91600401612c85565b602060405180830381600087803b158015611ab757600080fd5b505af1158015611acb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aef9190612a81565b606f546000908152606b60209081526040808320805460018101825590845282842001849055338352606e909152902054909150611b31576070805460010190555b336000908152606e6020908152604082208054600181018255908352912001819055607154611b609085611c89565b60715542607255611b6f612684565b611b7884610acf565b905060005b600b811015611c2157606f546000908152606d60205260408120611bdc918891908585600b8110611baa57fe5b602002015163ffffffff1667ffffffffffffffff16815260200190815260200160002054611c8990919063ffffffff16565b606f546000908152606d60205260408120908484600b8110611bfa57fe5b6020908102919091015163ffffffff16825281019190915260400160002055600101611b7d565b5090949350505050565b611c83846323b872dd60e01b858585604051602401611c4c93929190612cb4565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612330565b50505050565b600082820183811015611cae5760405162461bcd60e51b81526004016104d590612f11565b9392505050565b6066546040516370a0823160e01b81526000916001600160a01b0316906370a0823190611ce6903090600401612c71565b60206040518083038186803b158015611cfe57600080fd5b505afa158015611d12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d369190612a81565b905080821115611dca5760665460405163a9059cbb60e01b81526001600160a01b039091169063a9059cbb90611d729086908590600401612cd8565b602060405180830381600087803b158015611d8c57600080fd5b505af1158015611da0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dc491906129e2565b50611e4e565b60665460405163a9059cbb60e01b81526001600160a01b039091169063a9059cbb90611dfc9086908690600401612cd8565b602060405180830381600087803b158015611e1657600080fd5b505af1158015611e2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c8391906129e2565b505050565b3390565b611e4e8363a9059cbb60e01b8484604051602401611c4c929190612cd8565b611e7e6127b0565b611e86612684565b604080516080810191829052611ed991607390600490826000855b825461010083900a900460ff16815260206001928301818104948501949093039092029101808411611ea15790505050505050610acf565b606f546000818152606d60208181526040808420865163ffffffff9081168652818452828620548787528585528885015190911686528184529185205495855292909152939450611f5b918560025b602002015163ffffffff1667ffffffffffffffff1681526020019081526020016000205482611c8990919063ffffffff16565b606f546000908152606d60205260408120919250611f7c9190856003611f28565b606f546000908152606d60205260408120919250611f9d9190856004611f28565b9050611fb4611fad8360046120c0565b82906123bf565b606f546000818152606d6020818152604080842060a08a015163ffffffff168552808352908420549484529190529293509091611ff391866006611f28565b606f546000908152606d602052604081209192506120149190866007611f28565b606f546000908152606d602052604081209192506120359190866008611f28565b606f546000908152606d602052604081209192506120569190866009611f28565b606f546000908152606d60205260408120919250612077919086600a611f28565b9050612087611fad8360036120c0565b9050612097611fad8460066120c0565b604080516080810182526071548152602081019590955284019290925250606082015291505090565b6000826120cf575060006113c3565b828202828482816120dc57fe5b0414611cae5760405162461bcd60e51b81526004016104d5906130e5565b6000611cae83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612401565b612144611921565b156121615760405162461bcd60e51b81526004016104d590613126565b60005b60048110156121b457606854600160a01b900460ff1682826004811061218657fe5b602002015160ff1611156121ac5760405162461bcd60e51b81526004016104d590612f48565b600101612164565b50606754606f54604051620dce4760ea1b81526000926001600160a01b0316916337391c00916121ec91309187918991600401612c85565b602060405180830381600087803b15801561220657600080fd5b505af115801561221a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061223e9190612a81565b606f546000908152606b60209081526040822080546001810182559083529120018190556071549091506122729084611c89565b6071554260725560405130907fe3d4187f6ca4248660cc0ac8b8056515bac4a8132be2eca31d6d0cc170722a7e90610583908490613253565b600054610100900460ff16806122c4575060005460ff16155b6122e05760405162461bcd60e51b81526004016104d590613060565b600054610100900460ff1615801561230b576000805460ff1961ff0019909116610100171660011790555b612313612438565b61231b6124ab565b801561232d576000805461ff00191690555b50565b6060612385826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166125779092919063ffffffff16565b805190915015611e4e57808060200190518101906123a391906129e2565b611e4e5760405162461bcd60e51b81526004016104d590612e81565b6000611cae83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061258e565b600081836124225760405162461bcd60e51b81526004016104d59190612dd3565b50600083858161242e57fe5b0495945050505050565b600054610100900460ff1680612451575060005460ff16155b61246d5760405162461bcd60e51b81526004016104d590613060565b600054610100900460ff1615801561231b576000805460ff1961ff001990911661010017166001179055801561232d576000805461ff001916905550565b600054610100900460ff16806124c4575060005460ff16155b6124e05760405162461bcd60e51b81526004016104d590613060565b600054610100900460ff1615801561250b576000805460ff1961ff0019909116610100171660011790555b6000612515611e53565b603380546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350801561232d576000805461ff001916905550565b606061258684846000856125ba565b949350505050565b600081848411156125b25760405162461bcd60e51b81526004016104d59190612dd3565b505050900390565b60606125c58561267e565b6125e15760405162461bcd60e51b81526004016104d5906131b7565b60006060866001600160a01b031685876040516125fe9190612c55565b60006040518083038185875af1925050503d806000811461263b576040519150601f19603f3d011682016040523d82523d6000602084013e612640565b606091505b509150915081156126545791506125869050565b8051156126645780518082602001fd5b8360405162461bcd60e51b81526004016104d59190612dd3565b3b151590565b604051806101600160405280600b906020820280368337509192915050565b6001830191839082156127265791602002820160005b838211156126f757835183826101000a81548160ff021916908360ff16021790555092602001926001016020816000010492830192600103026126b9565b80156127245782816101000a81549060ff02191690556001016020816000010492830192600103026126f7565b505b506127329291506127ce565b5090565b6001830191839082156127265791601f016020900482015b8281111561272657825482559160010191906001019061274e565b8280548282559060005260206000209081019282156127a4579160200282015b828111156127a4578251825591602001919060010190612789565b506127329291506127e7565b60405180608001604052806004906020820280368337509192915050565b5b8082111561273257805460ff191681556001016127cf565b5b8082111561273257600081556001016127e8565b600082601f83011261280c578081fd5b6128166080613295565b905080828460808501111561282a57600080fd5b60005b60048110156128565781356128418161331d565b8352602092830192919091019060010161282d565b50505092915050565b600060208284031215612870578081fd5b8135611cae81613308565b60006020828403121561288c578081fd5b8151611cae81613308565b600080604083850312156128a9578081fd5b82356128b481613308565b946020939093013593505050565b600060208083850312156128d4578182fd5b823567ffffffffffffffff8111156128ea578283fd5b8301601f810185136128fa578283fd5b803561290d612908826132bc565b613295565b8181528381019083850185840285018601891015612929578687fd5b8694505b8385101561294b57803583526001949094019391850191850161292d565b50979650505050505050565b600060808284031215612968578081fd5b611cae83836127fc565b600060808284031215612983578081fd5b82601f830112612991578081fd5b61299b6080613295565b8083856080860111156129ac578384fd5b835b60048110156129d75781516129c28161331d565b845260209384019391909101906001016129ae565b509095945050505050565b6000602082840312156129f3578081fd5b81518015158114611cae578182fd5b600080600080600060a08688031215612a19578081fd5b8535612a2481613308565b94506020860135612a3481613308565b9350604086013592506060860135612a4b8161331d565b91506080860135612a5b81613308565b809150509295509295909350565b600060208284031215612a7a578081fd5b5035919050565b600060208284031215612a92578081fd5b5051919050565b60008060408385031215612aab578081fd5b8235915060208084013567ffffffffffffffff811115612ac9578283fd5b8401601f81018613612ad9578283fd5b8035612ae7612908826132bc565b818152838101908385016080808502860187018b1015612b05578788fd5b8795505b84861015612b3157612b1b8b836127fc565b8452600195909501949286019290810190612b09565b5096999098509650505050505050565b60008060a08385031215612b53578182fd5b82359150612b6484602085016127fc565b90509250929050565b60008060408385031215612b7f578182fd5b50508035926020909101359150565b60008060408385031215612ba0578182fd5b82359150602083013567ffffffffffffffff81168114612bbe578182fd5b809150509250929050565b600060208284031215612bda578081fd5b8135611cae8161331d565b600080600060608486031215612bf9578081fd5b8335612c048161331d565b92506020840135612c148161331d565b91506040840135612c248161331d565b809150509250925092565b8060005b6004811015611c8357815160ff16845260209384019390910190600101612c33565b60008251612c678184602087016132dc565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b038516815260e08101612ca26020830186612c2f565b60a082019390935260c0015292915050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b81811015612d2957835183529284019291840191600101612d0d565b50909695505050505050565b6101608101818360005b600b81101561285657815163ffffffff16835260209283019290910190600101612d3f565b905460ff8082168352600882901c81166020840152601082901c8116604084015260189190911c16606082015260800190565b901515815260200190565b9283526020830191909152604082015260600190565b93845260208401929092526040830152606082015260800190565b6000602082528251806020840152612df28160408501602087016132dc565b601f01601f19169190910160400192915050565b60208082526006908201526572657365743f60d01b604082015260600190565b6020808252600a90820152691b9bdd08191c985dd95960b21b604082015260600190565b60208082526019908201527f5f6973737565496e646578203c3d206973737565496e64657800000000000000604082015260600190565b6020808252602a908201527f5361666542455032303a204245503230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526012908201527165786365656420746865206d6178696d756d60701b604082015260600190565b6020808252818101527f6765744d61746368696e67526577617264416d6f756e743a20494e56414c4944604082015260600190565b6020808252600e908201526d3737ba10333937b69037bbb732b960911b604082015260600190565b60208082526019908201527f656e7465722064726177696e6720706861736520666972737400000000000000604082015260600190565b60208082526007908201526618db185a5b595960ca1b604082015260600190565b60208082526018908201527f64726177696e672c2063616e206e6f7420627579206e6f770000000000000000604082015260600190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60208082526019908201527f7072696365206d7573742061626f7665206d696e507269636500000000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526017908201527f6472617765642c2063616e206e6f7420627579206e6f77000000000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600b908201526a61646d696e3a207775743f60a81b604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252600790820152666472617765643f60c81b604082015260600190565b6020808252600a90820152693130b210373ab6b132b960b11b604082015260600190565b602080825260069082015265191c985dd95960d21b604082015260600190565b90815260200190565b918252602082015260400190565b60ff91909116815260200190565b60ff93841681529183166020830152909116604082015260600190565b60405181810167ffffffffffffffff811182821017156132b457600080fd5b604052919050565b600067ffffffffffffffff8211156132d2578081fd5b5060209081020190565b60005b838110156132f75781810151838201526020016132df565b83811115611c835750506000910152565b6001600160a01b038116811461232d57600080fd5b60ff8116811461232d57600080fdfea2646970667358221220bfa43fad1c152fd3cbfad5d7a89dc6513980d1d2a285044c0c3936c2f137342a64736f6c634300060c0033

Deployed ByteCode Sourcemap

75480:15448:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83070:436;;;;;;:::i;:::-;;:::i;:::-;;76778:28;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;76741:30;;;:::i;79106:125::-;;;:::i;76610:46::-;;;;;;:::i;:::-;;:::i;83514:533::-;;;;;;:::i;:::-;;:::i;76503:71::-;;;;;;:::i;:::-;;:::i;90471:152::-;;;;;;:::i;:::-;;:::i;75956:22::-;;;:::i;:::-;;;;;;;:::i;76876:24::-;;;:::i;:::-;;;;;;;:::i;76815:30::-;;;;;;:::i;:::-;;:::i;84507:687::-;;;;;;:::i;:::-;;:::i;88018:305::-;;;;;;:::i;:::-;;:::i;85202:957::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;76160:51::-;;;;;;:::i;:::-;;:::i;90673:250::-;;;;;;:::i;:::-;;:::i;90284:139::-;;;;;;:::i;:::-;;:::i;76247:49::-;;;;;;:::i;:::-;;:::i;76665:29::-;;;:::i;89782:205::-;;;;;;:::i;:::-;;:::i;74805:148::-;;;:::i;90058:173::-;;;;;;:::i;:::-;;:::i;75787:18::-;;;:::i;:::-;;;;;;;:::i;75721:26::-;;;;;;:::i;:::-;;:::i;74154:87::-;;;:::i;79310:2276::-;;;;;;:::i;:::-;;:::i;84055:444::-;;;;;;:::i;:::-;;:::i;76397:51::-;;;;;;:::i;:::-;;:::i;76701:33::-;;;:::i;87728:282::-;;;;;;:::i;:::-;;:::i;88331:1001::-;;;;;;:::i;:::-;;:::i;78490:608::-;;;:::i;77716:508::-;;;;;;:::i;:::-;;:::i;78390:92::-;;;:::i;76041:23::-;;;:::i;75848:28::-;;;:::i;75108:244::-;;;;;;:::i;:::-;;:::i;75904:27::-;;;:::i;83070:436::-;83154:8;:6;:8::i;:::-;83153:9;83145:45;;;;-1:-1:-1;;;83145:45:0;;;;;;;:::i;:::-;;;;;;;;;83210:12;;;;83209:13;83201:50;;;;-1:-1:-1;;;83201:50:0;;;;;;;:::i;:::-;83281:8;;83271:6;:18;;83262:57;;;;-1:-1:-1;;;83262:57:0;;;;;;;:::i;:::-;83330:15;83348:34;83365:6;83373:8;83348:16;:34::i;:::-;83393:4;;83330:52;;-1:-1:-1;83393:65:0;;-1:-1:-1;;;;;83393:4:0;83423:10;83444:4;83451:6;83393:21;:65::i;:::-;83478:10;-1:-1:-1;;;;;83474:24:0;;83490:7;83474:24;;;;;;:::i;:::-;;;;;;;;83070:436;;;:::o;76778:28::-;;;;:::o;76741:30::-;;;;:::o;79106:125::-;78334:12;;-1:-1:-1;;;;;78334:12:0;78320:10;:26;78312:50;;;;-1:-1:-1;;;78312:50:0;;;;;;;:::i;:::-;79174:8:::1;:6;:8::i;:::-;79173:9;79165:28;;;;-1:-1:-1::0;;;79165:28:0::1;;;;;;;:::i;:::-;79204:12;:19:::0;;-1:-1:-1;;79204:19:0::1;79219:4;79204:19;::::0;;79106:125::o;76610:46::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;83514:533::-;83606:8;:6;:8::i;:::-;83605:9;83596:46;;;;-1:-1:-1;;;83596:46:0;;;;;;;:::i;:::-;83672:8;;83662:6;:18;;83653:57;;;;-1:-1:-1;;;83653:57:0;;;;;;;:::i;:::-;83721:18;83760:6;83755:157;83776:8;:15;83772:1;:19;83755:157;;;83813:37;83830:6;83838:8;83847:1;83838:11;;;;;;;;;;;;;;83813:16;:37::i;:::-;-1:-1:-1;83878:22:0;:10;83893:6;83878:14;:22::i;:::-;83865:35;-1:-1:-1;83793:3:0;;83755:157;;;-1:-1:-1;83922:4:0;;:69;;-1:-1:-1;;;;;83922:4:0;83952:10;83973:4;83980:10;83922:21;:69::i;:::-;84016:10;-1:-1:-1;;;;;84007:32:0;;84028:10;84007:32;;;;;;:::i;76503:71::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;90471:152::-;78334:12;;-1:-1:-1;;;;;78334:12:0;78320:10;:26;78312:50;;;;-1:-1:-1;;;78312:50:0;;;;;;;:::i;:::-;90541:9:::1;:22:::0;;-1:-1:-1;;;;90541:22:0::1;-1:-1:-1::0;;;90541:22:0::1;::::0;::::1;;;::::0;;90579:36:::1;::::0;90592:10:::1;::::0;90579:36:::1;::::0;::::1;::::0;90541:22;;90579:36:::1;:::i;:::-;;;;;;;;90471:152:::0;:::o;75956:22::-;;;-1:-1:-1;;;75956:22:0;;;;;:::o;76876:24::-;;;;;;:::o;76815:30::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;84507:687::-;84574:19;84613:6;84608:375;84629:8;:15;84625:1;:19;84608:375;;;84689:10;;84708:11;;-1:-1:-1;;;;;84689:10:0;;;;:18;;84708:8;;84717:1;;84708:11;;;;;;;;;;;;84689:31;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;84675:45:0;:10;-1:-1:-1;;;;;84675:45:0;;84666:73;;;;-1:-1:-1;;;84666:73:0;;;;;;;:::i;:::-;84764:10;;84790:11;;-1:-1:-1;;;;;84764:10:0;;;;:25;;84790:8;;84799:1;;84790:11;;;;;;;;;;;;84764:38;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;84763:39;84754:60;;;;-1:-1:-1;;;84754:60:0;;;;;;;:::i;:::-;84829:14;84846:26;84860:8;84869:1;84860:11;;;;;;;;;;;;;;84846:13;:26::i;:::-;84829:43;-1:-1:-1;84890:8:0;;84887:85;;84933:23;:6;84944:11;84933:10;:23::i;:::-;84919:37;;84887:85;-1:-1:-1;84646:3:0;;84608:375;;;-1:-1:-1;84993:10:0;;:37;;-1:-1:-1;;;84993:37:0;;-1:-1:-1;;;;;84993:10:0;;;;:27;;:37;;85021:8;;84993:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85056:1;85044:11;:13;85041:95;;;85074:50;85099:10;85112:11;85074:16;:50::i;:::-;85162:10;-1:-1:-1;;;;;85151:35:0;;85174:11;85151:35;;;;;;:::i;:::-;;;;;;;;84507:687;;:::o;88018:305::-;88084:7;88128:10;;88113:11;:25;;88104:64;;;;-1:-1:-1;;;88104:64:0;;;;;;;:::i;:::-;88185:8;:6;:8::i;:::-;88184:9;:38;;;;;88212:10;;88197:11;:25;88184:38;88181:88;;;-1:-1:-1;88246:11:0;;88239:18;;88181:88;88286:26;;;;:13;:26;;;;;:29;;:26;;;:29;;;;;;;;;;;;88279:36;;88018:305;;;;:::o;85202:957::-;85277:34;;:::i;:::-;85405:9;;;;85387;;;;85405;85367;;;85347;;85387:14;85400:1;85387:14;;;;;;85380:2;85367:15;;;;;;85360:2;85347:15;;;;;;85346:37;:56;:68;;;85324:90;85427:47;;:::i;:::-;85506:30;;;;;85601:10;85586:25;;85506:15;85568;;:43;85655:10;85640:25;;85622:15;;;:43;85709:10;85694:25;;85676:15;;;:43;85763:10;85748:25;;85730:15;;;:43;85838:10;85823:25;;85805:15;;;:43;85892:10;85877:25;;85859:15;;;:43;85946:10;85931:25;;85913:15;;;:43;86000:10;85985:25;;85967:15;;;:43;86054:10;86039:25;;86021:15;;;:43;86109:10;86094:25;;;86075:16;;;:44;85506:12;86139;-1:-1:-1;;85202:957:0:o;76160:51::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76160:51:0;;-1:-1:-1;76160:51:0:o;90673:250::-;78334:12;;-1:-1:-1;;;;;78334:12:0;78320:10;:26;78312:50;;;;-1:-1:-1;;;78312:50:0;;;;;;;:::i;:::-;90783:52:::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;::::1;;::::0;::::1;::::0;;::::1;::::0;;;;;;;::::1;::::0;:10:::1;::::0;:52:::1;;:::i;:::-;;90865:10;-1:-1:-1::0;;;;;90851:64:0::1;;90877:11;90890;90903;90851:64;;;;;;;;:::i;90284:139::-:0;78334:12;;-1:-1:-1;;;;;78334:12:0;78320:10;:26;78312:50;;;;-1:-1:-1;;;78312:50:0;;;;;;;:::i;:::-;90351:8:::1;:17:::0;;;90384:31:::1;::::0;90396:10:::1;::::0;90384:31:::1;::::0;::::1;::::0;90362:6;;90384:31:::1;:::i;76247:49::-:0;;;;;;;;;;;;;;;;;;76665:29;;;;:::o;89782:205::-;74385:12;:10;:12::i;:::-;-1:-1:-1;;;;;74374:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;74374:23:0;;74366:68;;;;-1:-1:-1;;;74366:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;89861:27:0;::::1;89853:36;;;::::0;::::1;;89900:12;:28:::0;;-1:-1:-1;;;;;;89900:28:0::1;-1:-1:-1::0;;;;;89900:28:0;::::1;::::0;;::::1;::::0;;;89944:35:::1;::::0;89953:10:::1;::::0;89944:35:::1;::::0;-1:-1:-1;;89944:35:0::1;89782:205:::0;:::o;74805:148::-;74385:12;:10;:12::i;:::-;-1:-1:-1;;;;;74374:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;74374:23:0;;74366:68;;;;-1:-1:-1;;;74366:68:0;;;;;;;:::i;:::-;74896:6:::1;::::0;74875:40:::1;::::0;74912:1:::1;::::0;-1:-1:-1;;;;;74896:6:0::1;::::0;74875:40:::1;::::0;74912:1;;74875:40:::1;74926:6;:19:::0;;-1:-1:-1;;;;;;74926:19:0::1;::::0;;74805:148::o;90058:173::-;78334:12;;-1:-1:-1;;;;;78334:12:0;78320:10;:26;78312:50;;;;-1:-1:-1;;;78312:50:0;;;;;;;:::i;:::-;90128:4:::1;::::0;:47:::1;::::0;-1:-1:-1;;;;;90128:4:0::1;90154:10;90167:7:::0;90128:17:::1;:47::i;:::-;90203:10;-1:-1:-1::0;;;;;90191:32:0::1;;90215:7;90191:32;;;;;;:::i;75787:18::-:0;;;-1:-1:-1;;;;;75787:18:0;;:::o;75721:26::-;;;;;;;;;74154:87;74227:6;;-1:-1:-1;;;;;74227:6:0;74154:87;:::o;79310:2276::-;78334:12;;-1:-1:-1;;;;;78334:12:0;78320:10;:26;78312:50;;;;-1:-1:-1;;;78312:50:0;;;;;;;:::i;:::-;79397:8:::1;:6;:8::i;:::-;79396:9;79388:28;;;;-1:-1:-1::0;;;79388:28:0::1;;;;;;;:::i;:::-;79435:12;::::0;::::1;;79427:50;;;;-1:-1:-1::0;;;79427:50:0::1;;;;;;;:::i;:::-;79569:9;::::0;79488:19:::1;::::0;;;-1:-1:-1;;;79569:9:0;::::1;;;79620:12;-1:-1:-1::0;;79620:14:0;79610:25:::1;79488:19:::0;79684:84:::1;79705:2;79701:1;:6;79684:84;;;79729:27;79745:10;;79729:15;:27::i;:::-;-1:-1:-1::0;79709:3:0::1;;79684:84;;;;79778:15;79796:9;79778:27;;79899:10;79928:14;;79961:7;79987:21;79870:153;;;;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;79870:153:0;;::::1;::::0;;;;;;;79846:188;;79870:153:::1;79846:188:::0;;::::1;::::0;80168:14:::1;:38:::0;;-1:-1:-1;;80168:38:0::1;80124:30:::0;;::::1;80155:1;80120:37;80168:38;::::0;::::1;::::0;;;::::1;::::0;;;80329:11:::1;::::0;79846:188;;-1:-1:-1;80120:37:0;-1:-1:-1;80271:150:0::1;::::0;80300:10;;80359:7;;80385:21;;80271:150:::1;;:::i;:::-;;::::0;;-1:-1:-1;;80271:150:0;;::::1;::::0;;;;;;;80247:185;;80271:150:::1;80247:185:::0;;::::1;::::0;80566:14:::1;:38:::0;;::::1;80522:30:::0;;::::1;80553:1;80518:37;80566:38:::0;;::::1;;;-1:-1:-1::0;;80566:38:0;;::::1;::::0;;;::::1;::::0;;;80727:13:::1;::::0;80247:185;;-1:-1:-1;80518:37:0;-1:-1:-1;80669:152:0::1;::::0;80698:10;;80759:7;;80785:21;;80669:152:::1;;:::i;:::-;;::::0;;;;::::1;-1:-1:-1::0;;80669:152:0;;;;;;;80645:187;;80669:152:::1;80645:187:::0;;::::1;::::0;80966:14:::1;:38:::0;;::::1;80953:1;80922:30:::0;;::::1;80918:37;80966:38:::0;;::::1;::::0;::::1;-1:-1:-1::0;;80966:38:0;;::::1;::::0;;;::::1;::::0;;;80645:187;;-1:-1:-1;80918:37:0;-1:-1:-1;81069:120:0::1;::::0;81098:10;;81127:7;;81153:21;;81069:120:::1;;:::i;:::-;;::::0;;;;::::1;-1:-1:-1::0;;81069:120:0;;;;;;81045:155;;81069:120:::1;81045:155:::0;;::::1;::::0;81334:14:::1;:38:::0;;::::1;81321:1;81290:30:::0;;::::1;81286:37;81334:38:::0;;::::1;::::0;::::1;-1:-1:-1::0;;81334:38:0;;::::1;::::0;;;::::1;::::0;;81398:10:::1;::::0;81334:17;81383:26;;;:14:::1;:26:::0;;;;;;;81045:155;;-1:-1:-1;81286:37:0;;-1:-1:-1;81383:43:0::1;::::0;::::1;;:::i;:::-;;81465:31;:29;:31::i;:::-;81451:10;::::0;81437:25:::1;::::0;;;:13:::1;:25;::::0;;;;:59:::1;::::0;::::1;;:::i;:::-;-1:-1:-1::0;81507:12:0::1;:20:::0;;-1:-1:-1;;81507:20:0::1;::::0;;81551:10:::1;::::0;81543:35:::1;::::0;::::1;::::0;::::1;::::0;81563:14:::1;::::0;81543:35:::1;:::i;:::-;;;;;;;;78373:1;;;;;79310:2276:::0;:::o;84055:444::-;84136:10;;:28;;-1:-1:-1;;;84136:28:0;;-1:-1:-1;;;;;84136:10:0;;;;:18;;:28;;84155:8;;84136:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;84122:42:0;:10;-1:-1:-1;;;;;84122:42:0;;84114:69;;;;-1:-1:-1;;;84114:69:0;;;;;;;:::i;:::-;84204:10;;:35;;-1:-1:-1;;;84204:35:0;;-1:-1:-1;;;;;84204:10:0;;;;:25;;:35;;84230:8;;84204:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;84203:36;84194:57;;;;-1:-1:-1;;;84194:57:0;;;;;;;:::i;:::-;84262:14;84279:23;84293:8;84279:13;:23::i;:::-;84313:10;;:32;;-1:-1:-1;;;84313:32:0;;84262:40;;-1:-1:-1;;;;;;84313:10:0;;:22;;:32;;84336:8;;84313:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84366:1;84359:6;:8;84356:85;;;84384:45;84409:10;84422:6;84384:16;:45::i;:::-;84462:10;-1:-1:-1;;;;;84456:35:0;;84474:8;84484:6;84456:35;;;;;;;:::i;76397:51::-;;;;;;;;;;;;;;;;;;76701:33;;;;:::o;87728:282::-;87828:7;87875:1;87856:15;:20;;:44;;;;;87899:1;87880:15;:20;;87856:44;87848:89;;;;-1:-1:-1;;;87848:89:0;;;;;;;:::i;:::-;87955:26;;;;:13;:26;;;;;:47;;87982:1;:19;;;;87955:47;;;;;;;;;;;;;;87948:54;;87728:282;;;;;:::o;88331:1001::-;88434:10;;:41;;-1:-1:-1;;;88434:41:0;;88392:7;;;;-1:-1:-1;;;;;88434:10:0;;;;:31;;:41;;88466:8;;88434:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;88412:63;;88486:30;;:::i;:::-;88519:10;;:38;;-1:-1:-1;;;88519:38:0;;-1:-1:-1;;;;;88519:10:0;;;;:28;;:38;;88548:8;;88519:38;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;88486:71;;88568:31;;:::i;:::-;88602:27;;;;:14;:27;;;;;;88568:61;;;;;;;;;;88602:27;;88568:61;;88602:27;;88568:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88648:15;88664:1;88648:18;;;;;;;;;;;:23;;88640:46;;;;-1:-1:-1;;;88640:46:0;;;;;;;:::i;:::-;88699:22;88741:6;88736:190;88757:21;88753:1;:25;88736:190;;;88826:14;88841:1;88826:17;;;;;;;;;;;88804:39;;:15;88820:1;88804:18;;;;;;;;;;;:39;;;88800:115;;;88881:14;88898:1;88881:18;88864:35;;88800:115;88780:3;;88736:190;;;;88936:14;88986:1;88969:14;:18;88965:326;;;89021:10;;:37;;-1:-1:-1;;;89021:37:0;;89004:14;;-1:-1:-1;;;;;89021:10:0;;:27;;:37;;89049:8;;89021:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;89004:54;;89073:18;89094:71;89161:3;89094:62;89127:10;89140:14;89138:1;:16;89127:28;;;;;;;;;;;;;;;;;;;;;;;;89094;89110:11;89094:15;:28::i;:::-;:32;;:62::i;:::-;:66;;:71::i;:::-;89073:92;;89189:90;89226:52;89250:11;89263:14;89226:23;:52::i;:::-;89189:32;89210:10;89189:16;:6;89200:4;89189:10;:16::i;:90::-;89180:99;;88965:326;;;89308:16;:6;89319:4;89308:10;:16::i;:::-;89301:23;88331:1001;-1:-1:-1;;;;;;;88331:1001:0:o;78490:608::-;78334:12;;-1:-1:-1;;;;;78334:12:0;78320:10;:26;78312:50;;;;-1:-1:-1;;;78312:50:0;;;;;;;:::i;:::-;78545:8:::1;:6;:8::i;:::-;78537:28;;;;-1:-1:-1::0;;;78537:28:0::1;;;;;;;:::i;:::-;78592:15;78576:13;:31:::0;78635:1:::1;78618:14;:18:::0;;;78647:11:::1;:15:::0;78673:14:::1;:19:::0;;-1:-1:-1;;78763:19:0;;;78793:12:::1;:20:::0;;-1:-1:-1;;78793:20:0::1;::::0;;78837:10:::1;::::0;;-1:-1:-1;78837:13:0;::::1;78824:26:::0;;;78864:40:::1;::::0;-1:-1:-1;78864:23:0::1;:40::i;:::-;78861:197;;78977:10;:13:::0;78959:10:::1;::::0;78926:14:::1;::::0;78943:57:::1;::::0;78996:3:::1;::::0;78943:48:::1;::::0;78977:13:::1;::::0;;::::1;::::0;78943:29:::1;::::0;-1:-1:-1;;78959:12:0;78943:15:::1;:29::i;:57::-;79015:31;::::0;;;;::::1;::::0;;;;78926:74;;-1:-1:-1;79015:31:0::1;::::0;78926:74;;79035:10:::1;::::0;79015:31:::1;::::0;79035:10;-1:-1:-1;79015:31:0;::::1;::::0;;::::1;::::0;;::::1;::::0;::::1;;;::::0;;::::1;;::::0;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;;;;;;;;;;:11;:31::i;:::-;78861:197;;79079:10;::::0;79073:17:::1;::::0;::::1;::::0;;;::::1;78490:608::o:0;77716:508::-;71306:13;;;;;;;;:30;;-1:-1:-1;71324:12:0;;;;71323:13;71306:30;71298:89;;;;-1:-1:-1;;;71298:89:0;;;;;;;:::i;:::-;71400:19;71423:13;;;;;;71422:14;71447:101;;;;71482:13;:20;;-1:-1:-1;;;;71482:20:0;;;;;71517:19;71498:4;71517:19;;;71447:101;-1:-1:-1;;;;;77923:27:0;::::1;77915:36;;;::::0;::::1;;77964:4;:12:::0;;-1:-1:-1;;;;;;77964:12:0;;::::1;-1:-1:-1::0;;;;;77964:12:0;;::::1;::::0;;;::::1;::::0;;;77987:10:::1;:21:::0;;;::::1;::::0;;::::1;;::::0;;78019:8:::1;:20:::0;;;78050:9:::1;:22:::0;;-1:-1:-1;;;;78050:22:0::1;-1:-1:-1::0;;;78050:22:0::1;::::0;::::1;;;78083:28:::0;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;78138:15:::1;78122:13;:31:::0;78164:25:::1;::::0;;::::1;::::0;::::1;::::0;;78178:2:::1;78164:25:::0;;78050:9:::1;78164:25;::::0;::::1;::::0;78186:2:::1;78164:25:::0;;;;;;;::::1;::::0;:10:::1;::::0;:25:::1;;:::i;:::-;;78200:16;:14;:16::i;:::-;71578:14:::0;71574:68;;;71625:5;71609:21;;-1:-1:-1;;71609:21:0;;;71574:68;77716:508;;;;;;:::o;78390:92::-;78452:14;:17;;;:22;;;78390:92::o;76041:23::-;;;;:::o;75848:28::-;;;-1:-1:-1;;;;;75848:28:0;;:::o;75108:244::-;74385:12;:10;:12::i;:::-;-1:-1:-1;;;;;74374:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;74374:23:0;;74366:68;;;;-1:-1:-1;;;74366:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;75197:22:0;::::1;75189:73;;;;-1:-1:-1::0;;;75189:73:0::1;;;;;;;:::i;:::-;75299:6;::::0;75278:38:::1;::::0;-1:-1:-1;;;;;75278:38:0;;::::1;::::0;75299:6:::1;::::0;75278:38:::1;::::0;75299:6:::1;::::0;75278:38:::1;75327:6;:17:::0;;-1:-1:-1;;;;;;75327:17:0::1;-1:-1:-1::0;;;;;75327:17:0;;;::::1;::::0;;;::::1;::::0;;75108:244::o;75904:27::-;;;-1:-1:-1;;;;;75904:27:0;;:::o;82143:919::-;82228:7;;82247:104;82268:1;82264;:5;82247:104;;;82315:9;;-1:-1:-1;;;82315:9:0;;;;82300:8;82309:1;82300:11;;;;;;;;;;;:24;;;;82291:48;;;;-1:-1:-1;;;82291:48:0;;;;;;;:::i;:::-;82271:3;;82247:104;;;-1:-1:-1;82379:10:0;;82435;;82379:67;;-1:-1:-1;;;82379:67:0;;82361:15;;-1:-1:-1;;;;;82379:10:0;;:25;;:67;;82405:10;;82417:8;;82427:6;;82379:67;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;82469:10;;82457:23;;;;:11;:23;;;;;;;;:37;;;;;;;;;;;;;;;;;82518:10;82509:20;;:8;:20;;;;;:27;82361:85;;-1:-1:-1;82505:100:0;;82575:14;;;82592:1;82575:18;82558:35;;82505:100;82624:10;82615:20;;;;:8;:20;;;;;;;:34;;;;;;;;;;;;;;;;82674:11;;:23;;82690:6;82674:15;:23::i;:::-;82660:11;:37;82724:15;82708:13;:31;82750:51;;:::i;:::-;82804:30;82825:8;82804:20;:30::i;:::-;82750:84;;82850:6;82845:185;75662:2;82862:23;;82845:185;;;82974:10;;82957:28;;;;:16;:28;;;;;:61;;83011:6;;82957:28;82986:16;83003:1;82986:19;;;;;;;;;;;82957:49;;;;;;;;;;;;;;;;:53;;:61;;;;:::i;:::-;82924:10;;82907:28;;;;:16;:28;;;;;;82936:16;82953:1;82936:19;;;;;;;;;;;;;;;;82907:49;;;;;;;;;;;;-1:-1:-1;82907:49:0;:111;82887:3;;82845:185;;;-1:-1:-1;83047:7:0;;82143:919;-1:-1:-1;;;;82143:919:0:o;66914:205::-;67015:96;67035:5;67065:27;;;67094:4;67100:2;67104:5;67042:68;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;67042:68:0;;;;;;;;;;;;;;-1:-1:-1;;;;;67042:68:0;-1:-1:-1;;;;;;67042:68:0;;;;;;;;;;67015:19;:96::i;:::-;66914:205;;;;:::o;11979:181::-;12037:7;12069:5;;;12093:6;;;;12085:46;;;;-1:-1:-1;;;12085:46:0;;;;;;;:::i;:::-;12151:1;11979:181;-1:-1:-1;;;11979:181:0:o;89446:278::-;89540:4;;:29;;-1:-1:-1;;;89540:29:0;;89522:15;;-1:-1:-1;;;;;89540:4:0;;:14;;:29;;89563:4;;89540:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;89522:47;;89594:7;89584;:17;89580:137;;;89618:4;;:27;;-1:-1:-1;;;89618:27:0;;-1:-1:-1;;;;;89618:4:0;;;;:13;;:27;;89632:3;;89637:7;;89618:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;89580:137;;;89678:4;;:27;;-1:-1:-1;;;89678:27:0;;-1:-1:-1;;;;;89678:4:0;;;;:13;;:27;;89692:3;;89697:7;;89678:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;89580:137::-;89446:278;;;:::o;72472:98::-;72552:10;72472:98;:::o;66729:177::-;66812:86;66832:5;66862:23;;;66887:2;66891:5;66839:58;;;;;;;;;:::i;86167:1553::-;86231:17;;:::i;:::-;86261:47;;:::i;:::-;86311:36;;;;;;;;;;;;86332:14;;86311:36;;86332:14;-1:-1:-1;86311:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:20;:36::i;:::-;86401:10;;86360:21;86384:28;;;:16;:28;;;;;;;;86413:15;;86384:45;;;;;;;;;;;;;86466:28;;;;;;86495:15;;;;86466:45;;;;;;;;;;;;86556:28;;;;;;;86413:15;;-1:-1:-1;86538:64:0;;86413:15;86598:1;86585:15;;;;;86556:45;;;;;;;;;;;;;;;;86538:13;:17;;:64;;;;:::i;:::-;86664:10;;86647:28;;;;:16;:28;;;;;86522:80;;-1:-1:-1;86629:64:0;;86647:28;86676:12;86689:1;86676:15;;86629:64;86755:10;;86738:28;;;;:16;:28;;;;;86613:80;;-1:-1:-1;86720:64:0;;86738:28;86767:12;86780:1;86767:15;;86720:64;86704:80;-1:-1:-1;86811:39:0;86829:20;:13;86847:1;86829:17;:20::i;:::-;86811:13;;:17;:39::i;:::-;86942:10;;86901:21;86925:28;;;:16;:28;;;;;;;;86954:15;;;;86925:45;;;;;;;;;;;87015:28;;;;;;86795:55;;-1:-1:-1;86925:45:0;;86997:64;;86954:12;87057:1;87044:15;;86997:64;87123:10;;87106:28;;;;:16;:28;;;;;86981:80;;-1:-1:-1;87088:64:0;;87106:28;87135:12;87148:1;87135:15;;87088:64;87214:10;;87197:28;;;;:16;:28;;;;;87072:80;;-1:-1:-1;87179:64:0;;87197:28;87226:12;87239:1;87226:15;;87179:64;87305:10;;87288:28;;;;:16;:28;;;;;87163:80;;-1:-1:-1;87270:64:0;;87288:28;87317:12;87330:1;87317:15;;87270:64;87396:10;;87379:28;;;;:16;:28;;;;;87254:80;;-1:-1:-1;87361:65:0;;87379:28;87408:12;87421:2;87408:16;;87361:65;87345:81;-1:-1:-1;87453:39:0;87471:20;:13;87489:1;87471:17;:20::i;87453:39::-;87437:55;-1:-1:-1;87557:39:0;87575:20;:13;87593:1;87575:17;:20::i;87557:39::-;87647:65;;;;;;;;87655:11;;87647:65;;;;;;;;;;;;;;;-1:-1:-1;87647:65:0;;;;;-1:-1:-1;;86167:1553:0;:::o;13333:471::-;13391:7;13636:6;13632:47;;-1:-1:-1;13666:1:0;13659:8;;13632:47;13703:5;;;13707:1;13703;:5;:1;13727:5;;;;;:10;13719:56;;;;-1:-1:-1;;;13719:56:0;;;;;;;:::i;14280:132::-;14338:7;14365:39;14369:1;14372;14365:39;;;;;;;;;;;;;;;;;:3;:39::i;81594:541::-;81687:8;:6;:8::i;:::-;81686:9;81677:46;;;;-1:-1:-1;;;81677:46:0;;;;;;;:::i;:::-;81739:6;81734:112;81755:1;81751;:5;81734:112;;;81802:9;;-1:-1:-1;;;81802:9:0;;;;81787:8;81796:1;81787:11;;;;;;;;;;;:24;;;;81778:56;;;;-1:-1:-1;;;81778:56:0;;;;;;;:::i;:::-;81758:3;;81734:112;;;-1:-1:-1;81874:10:0;;81933;;81874:70;;-1:-1:-1;;;81874:70:0;;81856:15;;-1:-1:-1;;;;;81874:10:0;;:25;;:70;;81908:4;;81915:8;;81925:6;;81874:70;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;81967:10;;81955:23;;;;:11;:23;;;;;;;:37;;;;;;;;;;;;;;;;82017:11;;81856:88;;-1:-1:-1;82017:23:0;;82033:6;82017:15;:23::i;:::-;82003:11;:37;82067:15;82051:13;:31;82098:27;;82110:4;;82098:27;;;;82117:7;;82098:27;:::i;73740:129::-;71306:13;;;;;;;;:30;;-1:-1:-1;71324:12:0;;;;71323:13;71306:30;71298:89;;;;-1:-1:-1;;;71298:89:0;;;;;;;:::i;:::-;71400:19;71423:13;;;;;;71422:14;71447:101;;;;71482:13;:20;;-1:-1:-1;;;;71482:20:0;;;;;71517:19;71498:4;71517:19;;;71447:101;73798:26:::1;:24;:26::i;:::-;73835;:24;:26::i;:::-;71578:14:::0;71574:68;;;71625:5;71609:21;;-1:-1:-1;;71609:21:0;;;71574:68;73740:129;:::o;69034:761::-;69458:23;69484:69;69512:4;69484:69;;;;;;;;;;;;;;;;;69492:5;-1:-1:-1;;;;;69484:27:0;;;:69;;;;;:::i;:::-;69568:17;;69458:95;;-1:-1:-1;69568:21:0;69564:224;;69710:10;69699:30;;;;;;;;;;;;:::i;:::-;69691:85;;;;-1:-1:-1;;;69691:85:0;;;;;;;:::i;12443:136::-;12501:7;12528:43;12532:1;12535;12528:43;;;;;;;;;;;;;;;;;:3;:43::i;14908:278::-;14994:7;15029:12;15022:5;15014:28;;;;-1:-1:-1;;;15014:28:0;;;;;;;;:::i;:::-;;15053:9;15069:1;15065;:5;;;;;;;14908:278;-1:-1:-1;;;;;14908:278:0:o;72401:65::-;71306:13;;;;;;;;:30;;-1:-1:-1;71324:12:0;;;;71323:13;71306:30;71298:89;;;;-1:-1:-1;;;71298:89:0;;;;;;;:::i;:::-;71400:19;71423:13;;;;;;71422:14;71447:101;;;;71482:13;:20;;-1:-1:-1;;;;71482:20:0;;;;;71517:19;71498:4;71517:19;;;71578:14;71574:68;;;71625:5;71609:21;;-1:-1:-1;;71609:21:0;;;72401:65;:::o;73877:196::-;71306:13;;;;;;;;:30;;-1:-1:-1;71324:12:0;;;;71323:13;71306:30;71298:89;;;;-1:-1:-1;;;71298:89:0;;;;;;;:::i;:::-;71400:19;71423:13;;;;;;71422:14;71447:101;;;;71482:13;:20;;-1:-1:-1;;;;71482:20:0;;;;;71517:19;71498:4;71517:19;;;71447:101;73945:17:::1;73965:12;:10;:12::i;:::-;73988:6;:18:::0;;-1:-1:-1;;;;;;73988:18:0::1;-1:-1:-1::0;;;;;73988:18:0;::::1;::::0;;::::1;::::0;;;74022:43:::1;::::0;73988:18;;-1:-1:-1;73988:18:0;-1:-1:-1;;74022:43:0::1;::::0;-1:-1:-1;;74022:43:0::1;71560:1;71578:14:::0;71574:68;;;71625:5;71609:21;;-1:-1:-1;;71609:21:0;;;73877:196;:::o;20136:::-;20239:12;20271:53;20294:6;20302:4;20308:1;20311:12;20271:22;:53::i;:::-;20264:60;20136:196;-1:-1:-1;;;;20136:196:0:o;12882:192::-;12968:7;13004:12;12996:6;;;;12988:29;;;;-1:-1:-1;;;12988:29:0;;;;;;;;:::i;:::-;-1:-1:-1;;;13040:5:0;;;12882:192::o;21513:979::-;21643:12;21676:18;21687:6;21676:10;:18::i;:::-;21668:60;;;;-1:-1:-1;;;21668:60:0;;;;;;;:::i;:::-;21802:12;21816:23;21843:6;-1:-1:-1;;;;;21843:11:0;21863:8;21874:4;21843:36;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21801:78;;;;21894:7;21890:595;;;21925:10;-1:-1:-1;21918:17:0;;-1:-1:-1;21918:17:0;21890:595;22039:17;;:21;22035:439;;22302:10;22296:17;22363:15;22350:10;22346:2;22342:19;22335:44;22250:148;22445:12;22438:20;;-1:-1:-1;;;22438:20:0;;;;;;;;:::i;17218:422::-;17585:20;17624:8;;;17218:422::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1830:610;;1943:3;1936:4;1928:6;1924:17;1920:27;1910:2;;-1:-1;;1951:12;1910:2;2004:76;51683:17;2004:76;:::i;:::-;1995:85;;2086:16;2145:17;2203:3;51683:17;2178:3;2174:27;2171:36;2168:2;;;2220:1;;2210:12;2168:2;2245:1;2230:204;1985:4;2252:1;2249:13;2230:204;;;4073:6;4060:20;4085:31;4110:5;4085:31;:::i;:::-;2323:48;;51695:4;2385:14;;;;2413;;;;;2277:1;2270:9;2230:204;;;2234:14;;;1903:537;;;;:::o;4265:241::-;;4369:2;4357:9;4348:7;4344:23;4340:32;4337:2;;;-1:-1;;4375:12;4337:2;85:6;72:20;97:33;124:5;97:33;:::i;4513:263::-;;4628:2;4616:9;4607:7;4603:23;4599:32;4596:2;;;-1:-1;;4634:12;4596:2;226:6;220:13;238:33;265:5;238:33;:::i;4783:366::-;;;4904:2;4892:9;4883:7;4879:23;4875:32;4872:2;;;-1:-1;;4910:12;4872:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;4962:63;5062:2;5101:22;;;;3649:20;;-1:-1;;;4866:283::o;5156:377::-;;5285:2;;5273:9;5264:7;5260:23;5256:32;5253:2;;;-1:-1;;5291:12;5253:2;5349:17;5336:31;5387:18;5379:6;5376:30;5373:2;;;-1:-1;;5409:12;5373:2;5485:22;;1208:4;1196:17;;1192:27;-1:-1;1182:2;;-1:-1;;1223:12;1182:2;1270:6;1257:20;1292:80;1307:64;1364:6;1307:64;:::i;:::-;1292:80;:::i;:::-;1400:21;;;1457:14;;;;1432:17;;;1546;;;1537:27;;;;1534:36;-1:-1;1531:2;;;-1:-1;;1573:12;1531:2;-1:-1;1599:10;;1593:206;1618:6;1615:1;1612:13;1593:206;;;3649:20;;1686:50;;1640:1;1633:9;;;;;1750:14;;;;1778;;1593:206;;;-1:-1;5429:88;5247:286;-1:-1;;;;;;;5247:286::o;5540:284::-;;5665:3;5653:9;5644:7;5640:23;5636:33;5633:2;;;-1:-1;;5672:12;5633:2;5734:74;5800:7;5776:22;5734:74;:::i;5831:306::-;;5967:3;5955:9;5946:7;5942:23;5938:33;5935:2;;;-1:-1;;5974:12;5935:2;2589:3;2582:4;2574:6;2570:17;2566:27;2556:2;;-1:-1;;2597:12;2556:2;2650:76;5967:3;2650:76;:::i;:::-;2732:16;2791:17;2849:3;5967;2824;2820:27;2817:36;2814:2;;;-1:-1;;2856:12;2814:2;-1:-1;2876:215;2631:4;2898:1;2895:13;2876:215;;;4210:6;4204:13;4222:31;4247:5;4222:31;:::i;:::-;2969:59;;51695:4;3042:14;;;;3070;;;;;2923:1;2916:9;2876:215;;;-1:-1;6026:95;;5929:208;-1:-1;;;;;5929:208::o;6144:257::-;;6256:2;6244:9;6235:7;6231:23;6227:32;6224:2;;;-1:-1;;6262:12;6224:2;3186:6;3180:13;65766:5;54336:13;54329:21;65744:5;65741:32;65731:2;;-1:-1;;65777:12;6408:807;;;;;;6612:3;6600:9;6591:7;6587:23;6583:33;6580:2;;;-1:-1;;6619:12;6580:2;3335:6;3322:20;3347:48;3389:5;3347:48;:::i;:::-;6671:78;-1:-1;6786:2;6844:22;;3493:20;3518:52;3493:20;3518:52;:::i;:::-;6794:82;-1:-1;6913:2;6952:22;;3649:20;;-1:-1;7021:2;7058:22;;4060:20;4085:31;4060:20;4085:31;:::i;:::-;7029:61;-1:-1;7127:3;7167:22;;72:20;97:33;72:20;97:33;:::i;:::-;7136:63;;;;6574:641;;;;;;;;:::o;7222:241::-;;7326:2;7314:9;7305:7;7301:23;7297:32;7294:2;;;-1:-1;;7332:12;7294:2;-1:-1;3649:20;;7288:175;-1:-1;7288:175::o;7470:263::-;;7585:2;7573:9;7564:7;7560:23;7556:32;7553:2;;;-1:-1;;7591:12;7553:2;-1:-1;3797:13;;7547:186;-1:-1;7547:186::o;7740:544::-;;;7907:2;7895:9;7886:7;7882:23;7878:32;7875:2;;;-1:-1;;7913:12;7875:2;3662:6;3649:20;7965:63;;8093:2;;8082:9;8078:18;8065:32;8117:18;8109:6;8106:30;8103:2;;;-1:-1;;8139:12;8103:2;8236:22;;433:4;421:17;;417:27;-1:-1;407:2;;-1:-1;;448:12;407:2;495:6;482:20;517:101;532:85;610:6;532:85;:::i;517:101::-;646:21;;;703:14;;;;678:17;;;804:4;792:17;;;783:27;;;;780:36;-1:-1;777:2;;;-1:-1;;819:12;777:2;-1:-1;845:10;;839:227;864:6;861:1;858:13;839:227;;;944:58;998:3;986:10;944:58;:::i;:::-;932:71;;886:1;879:9;;;;;1017:14;;;;1045;;;;839:227;;;-1:-1;7869:415;;8159:109;;-1:-1;7869:415;-1:-1;;;;;;;7869:415::o;8291:409::-;;;8433:3;8421:9;8412:7;8408:23;8404:33;8401:2;;;-1:-1;;8440:12;8401:2;3662:6;3649:20;8492:63;;8610:74;8676:7;8592:2;8656:9;8652:22;8610:74;:::i;:::-;8600:84;;8395:305;;;;;:::o;8707:366::-;;;8828:2;8816:9;8807:7;8803:23;8799:32;8796:2;;;-1:-1;;8834:12;8796:2;-1:-1;;3649:20;;;8986:2;9025:22;;;3649:20;;-1:-1;8790:283::o;9080:364::-;;;9200:2;9188:9;9179:7;9175:23;9171:32;9168:2;;;-1:-1;;9206:12;9168:2;3662:6;3649:20;9258:63;;9358:2;9400:9;9396:22;3926:20;55045:18;66328:5;55034:30;66304:5;66301:34;66291:2;;-1:-1;;66339:12;66291:2;9366:62;;;;9162:282;;;;;:::o;9451:237::-;;9553:2;9541:9;9532:7;9528:23;9524:32;9521:2;;;-1:-1;;9559:12;9521:2;4073:6;4060:20;4085:31;4110:5;4085:31;:::i;9695:479::-;;;;9827:2;9815:9;9806:7;9802:23;9798:32;9795:2;;;-1:-1;;9833:12;9795:2;4073:6;4060:20;4085:31;4110:5;4085:31;:::i;:::-;9885:61;-1:-1;9983:2;10020:22;;4060:20;4085:31;4060:20;4085:31;:::i;:::-;9991:61;-1:-1;10089:2;10126:22;;4060:20;4085:31;4060:20;4085:31;:::i;:::-;10097:61;;;;9789:385;;;;;:::o;12441:644::-;12794:21;12836:1;12821:252;52536:4;12843:1;12840:13;12821:252;;;12907:13;;54155:4;54144:16;33965:35;;10696:4;10687:14;;;;53013;;;;12868:1;12861:9;12821:252;;34126:271;;25119:5;52288:12;25230:52;25275:6;25270:3;25263:4;25256:5;25252:16;25230:52;:::i;:::-;25294:16;;;;;34260:137;-1:-1;;34260:137::o;34404:222::-;-1:-1;;;;;54733:54;;;;10935:37;;34531:2;34516:18;;34502:124::o;34633:658::-;-1:-1;;;;;54733:54;;10794:58;;34894:3;34879:19;;34999:114;35109:2;35094:18;;35085:6;34999:114;:::i;:::-;35192:3;35177:19;;24910:37;;;;35276:3;35261:19;24910:37;34865:426;;-1:-1;;34865:426::o;35298:444::-;-1:-1;;;;;54733:54;;;10935:37;;54733:54;;;;35645:2;35630:18;;10935:37;35728:2;35713:18;;24910:37;;;;35481:2;35466:18;;35452:290::o;36398:333::-;-1:-1;;;;;54733:54;;;;10935:37;;36717:2;36702:18;;24910:37;36553:2;36538:18;;36524:207::o;36738:370::-;36915:2;36929:47;;;52288:12;;36900:18;;;53382:19;;;36738:370;;36915:2;51837:14;;;;53422;;;;36738:370;11423:260;11448:6;11445:1;11442:13;11423:260;;;11509:13;;24910:37;;53013:14;;;;10335;;;;11470:1;11463:9;11423:260;;;-1:-1;36982:116;;36886:222;-1:-1;;;;;;36886:222::o;37115:315::-;37288:3;37273:19;;37277:9;12109:21;37115:315;12136:256;52423:4;12158:1;12155:13;12136:256;;;12222:13;;54950:10;54939:22;33731:36;;10522:4;10513:14;;;;53013;;;;12183:1;12176:9;12136:256;;37437:301;18190:13;;54155:4;54144:16;;;33965:35;;65422:1;65418:13;;;54144:16;;18346:4;18337:14;;33965:35;63163:2;63159:14;;;54144:16;;18539:14;;;33965:35;64415:2;64411:14;;;;54144:16;18741:14;;;33965:35;37603:3;37588:19;;37574:164::o;37745:210::-;54336:13;;54329:21;24793:34;;37866:2;37851:18;;37837:118::o;37962:444::-;24910:37;;;38309:2;38294:18;;24910:37;;;;38392:2;38377:18;;24910:37;38145:2;38130:18;;38116:290::o;38413:556::-;24910:37;;;38789:2;38774:18;;24910:37;;;;38872:2;38857:18;;24910:37;38955:2;38940:18;;24910:37;38624:3;38609:19;;38595:374::o;39502:310::-;;39649:2;39670:17;39663:47;25801:5;52288:12;53394:6;39649:2;39638:9;39634:18;53382:19;25895:52;25940:6;53422:14;39638:9;53422:14;39649:2;25921:5;25917:16;25895:52;:::i;:::-;61922:7;61906:14;-1:-1;;61902:28;25959:39;;;;53422:14;25959:39;;39620:192;-1:-1;;39620:192::o;39819:416::-;40019:2;40033:47;;;26235:1;40004:18;;;53382:19;-1:-1;;;53422:14;;;26250:29;26298:12;;;39990:245::o;40242:416::-;40442:2;40456:47;;;26549:2;40427:18;;;53382:19;-1:-1;;;53422:14;;;26565:33;26617:12;;;40413:245::o;40665:416::-;40865:2;40879:47;;;26868:2;40850:18;;;53382:19;26904:27;53422:14;;;26884:48;26951:12;;;40836:245::o;41088:416::-;41288:2;41302:47;;;27202:2;41273:18;;;53382:19;27238:34;53422:14;;;27218:55;-1:-1;;;27293:12;;;27286:34;27339:12;;;41259:245::o;41511:416::-;41711:2;41725:47;;;27590:2;41696:18;;;53382:19;27626:34;53422:14;;;27606:55;-1:-1;;;27681:12;;;27674:30;27723:12;;;41682:245::o;41934:416::-;42134:2;42148:47;;;27974:2;42119:18;;;53382:19;28010:29;53422:14;;;27990:50;28059:12;;;42105:245::o;42357:416::-;42557:2;42571:47;;;28310:2;42542:18;;;53382:19;-1:-1;;;53422:14;;;28326:41;28386:12;;;42528:245::o;42780:416::-;42980:2;42994:47;;;42965:18;;;53382:19;28673:34;53422:14;;;28653:55;28727:12;;;42951:245::o;43203:416::-;43403:2;43417:47;;;28978:2;43388:18;;;53382:19;-1:-1;;;53422:14;;;28994:37;29050:12;;;43374:245::o;43626:416::-;43826:2;43840:47;;;29301:2;43811:18;;;53382:19;29337:27;53422:14;;;29317:48;29384:12;;;43797:245::o;44049:416::-;44249:2;44263:47;;;29635:1;44234:18;;;53382:19;-1:-1;;;53422:14;;;29650:30;29699:12;;;44220:245::o;44472:416::-;44672:2;44686:47;;;29950:2;44657:18;;;53382:19;29986:26;53422:14;;;29966:47;30032:12;;;44643:245::o;44895:416::-;45095:2;45109:47;;;30283:2;45080:18;;;53382:19;30319:34;53422:14;;;30299:55;-1:-1;;;30374:12;;;30367:38;30424:12;;;45066:245::o;45318:416::-;45518:2;45532:47;;;30675:2;45503:18;;;53382:19;30711:27;53422:14;;;30691:48;30758:12;;;45489:245::o;45741:416::-;45941:2;45955:47;;;31009:2;45926:18;;;53382:19;31045:34;53422:14;;;31025:55;-1:-1;;;31100:12;;;31093:25;31137:12;;;45912:245::o;46164:416::-;46364:2;46378:47;;;31388:2;46349:18;;;53382:19;31424:25;53422:14;;;31404:46;31469:12;;;46335:245::o;46587:416::-;46787:2;46801:47;;;46772:18;;;53382:19;31756:34;53422:14;;;31736:55;31810:12;;;46758:245::o;47010:416::-;47210:2;47224:47;;;32061:2;47195:18;;;53382:19;-1:-1;;;53422:14;;;32077:34;32130:12;;;47181:245::o;47433:416::-;47633:2;47647:47;;;32381:2;47618:18;;;53382:19;32417:31;53422:14;;;32397:52;32468:12;;;47604:245::o;47856:416::-;48056:2;48070:47;;;32719:1;48041:18;;;53382:19;-1:-1;;;53422:14;;;32734:30;32783:12;;;48027:245::o;48279:416::-;48479:2;48493:47;;;33034:2;48464:18;;;53382:19;-1:-1;;;53422:14;;;33050:33;33102:12;;;48450:245::o;48702:416::-;48902:2;48916:47;;;33353:1;48887:18;;;53382:19;-1:-1;;;53422:14;;;33368:29;33416:12;;;48873:245::o;49125:222::-;24910:37;;;49252:2;49237:18;;49223:124::o;49354:333::-;24910:37;;;49673:2;49658:18;;24910:37;49509:2;49494:18;;49480:207::o;49694:218::-;54155:4;54144:16;;;;33848:48;;49819:2;49804:18;;49790:122::o;50140:420::-;54155:4;54144:16;;;33965:35;;54144:16;;;50467:2;50452:18;;33965:35;54144:16;;;50546:2;50531:18;;33965:35;50311:2;50296:18;;50282:278::o;50567:256::-;50629:2;50623:9;50655:17;;;50730:18;50715:34;;50751:22;;;50712:62;50709:2;;;50787:1;;50777:12;50709:2;50629;50796:22;50607:216;;-1:-1;50607:216::o;50830:325::-;;51010:18;51002:6;50999:30;50996:2;;;-1:-1;;51032:12;50996:2;-1:-1;51077:4;51065:17;;;51130:15;;50933:222::o;56243:268::-;56308:1;56315:101;56329:6;56326:1;56323:13;56315:101;;;56396:11;;;56390:18;56377:11;;;56370:39;56351:2;56344:10;56315:101;;;56431:6;56428:1;56425:13;56422:2;;;-1:-1;;56308:1;56478:16;;56471:27;56292:219::o;65561:117::-;-1:-1;;;;;54733:54;;65620:35;;65610:2;;65669:1;;65659:12;66365:113;54155:4;66448:5;54144:16;66425:5;66422:33;66412:2;;66469:1;;66459:12

Swarm Source

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