Contract 0x84fc749424056950a1506ab0d540a45b816edfc5

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x5cae7cd270514a6897ca6be0063dae8159ab1d3a8a0e1c129409eac7bdce1578Withdraw Bank513965672022-11-24 16:19:458 days 19 hrs ago0xb42553fea162318a380283285238a654d21fc13c IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.14805801299
0xfc3303ac9e0b94b42469e38f91646c952971ad423fae69d248c4bc377b01f17aDeposit Bank513965492022-11-24 16:18:328 days 19 hrs ago0xb42553fea162318a380283285238a654d21fc13c IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.251531442661
0x9b388924df291b122b04ebecdaa6e616f4f1913fa84001e80f74cde3bcc7c0f8Minimum Bets Set513630172022-11-24 0:40:499 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0x97071db0e03f7eea785092c7b317ee1fb1fefcf9beba1404291a32a6528df9bbMinimum Bets Set513630142022-11-24 0:40:439 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0xb9a6be1b3fe0835ff194c349f5b57192f7590780a457b92cd431df7eeb95056dMinimum Bets Set513630132022-11-24 0:40:409 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0xf7aa9d4673e516aa36be80dddce6bbb685658c5b9f56a67bdfdc5323b3116ba2Minimum Bets Set513630092022-11-24 0:40:369 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0xe4a8e1d629c3e911996bb261ae2025e86ed5970396510260344104e877a3648aMinimum Bets Set513630012022-11-24 0:40:259 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0x553daaf426296af01706d52da68ab2b2c19ca3991fe293419c988bd4720fc0f3Minimum Bets Set513629972022-11-24 0:40:179 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0xbadf56fb3f1a451e2f87f7f9506c8a9a058b2afc5679f0ec6aade370d345f937Minimum Bets Set513629942022-11-24 0:40:129 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0xc6696ee98215ed419b367f5854b60bc2aa1f1058a1914b5519bf6061fd92262cMinimum Bets Set513629912022-11-24 0:40:069 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0xcb93bb03ede14af5eba8d4801a6543a5c373a30b72ddf008339cd5d766a44c0bMinimum Bets Set513629832022-11-24 0:39:539 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0xc967a398e2c33ebecded010a7eda2bdf6f0fd78275b3f92405283e9b7a0065d0Minimum Bets Set513629772022-11-24 0:39:489 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0x2c86b992cd40585d7b0fd24df243d9c23d9708cff9bb54b8fe37268dfdad1fc0Minimum Bets Set513629752022-11-24 0:39:439 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0x4cd402f2c9c7d7504af37339f9f22b161288145aa9365052d1b55b9bb4b57079Minimum Bets Set513629752022-11-24 0:39:439 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0xa496c22b7b60e45569b23deb3f150c5b168a12b83648682ae25b1583f24abb40Minimum Bets Set513629752022-11-24 0:39:439 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0x11ec619e66cbf785983127e546614f682427c79e6b85da8da74342c8eb4e8c93Minimum Bets Set513629752022-11-24 0:39:439 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0xa067807e7c8f43aa056385ecd30c6ae9e55d5ac006f45f9db868fab4469d22cdMinimum Bets Set513629752022-11-24 0:39:439 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0x16dcb3795bb691ed86b18d76afefe0f08e1436019f721117a488c737bda4e002Minimum Bets Set513629732022-11-24 0:39:389 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0xc28afcd5db2ea8cb562cc777e524d0ac029332638b9a4bd151566e7281161ab5Minimum Bets Set513629732022-11-24 0:39:389 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0xf5e62317018add65c94f343edec27f8d22627e94bb1ab4f80fae1966e90d7d62Minimum Bets Set513629732022-11-24 0:39:389 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0x011f89d42fa6ab0b13129efcc0fcfa2b77820fa0fef7ae08685cb7fd324166b6Minimum Bets Set513629732022-11-24 0:39:389 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0x0629b1e8be2b7df9656b4d232bcccb9184ed32734fb67feb33f4c447c5c91261Minimum Bets Set513629732022-11-24 0:39:389 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0x8ef7ce99eaea1151efd7ad776fd0d15e673d310291fb072a8d5f5d065b877615Minimum Bets Set513629732022-11-24 0:39:389 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0x5c3ab32e7ab6d31d40cceda3fb6e2e1673e35f58b0e9a33e4b836a782f02978fMinimum Bets Set513629732022-11-24 0:39:389 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
0xfdf166be82e20e4b79d01f775974209758db9cd249c40f84618ce70b6faa9f71Minimum Bets Set513629602022-11-24 0:39:129 days 11 hrs ago0xba6f59fb7bf85ae0ec5856ce792ef73e89a91e23 IN  0x84fc749424056950a1506ab0d540a45b816edfc50 FTM0.004553812433
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x5cd75c68c99526992153b9231241ace5328054769846bcb540a096e311960f03513620972022-11-24 0:09:129 days 11 hrs ago 0xb42553fea162318a380283285238a654d21fc13c  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FantomHouse

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at FtmScan.com on 2022-11-24
*/

pragma solidity ^0.8.0;
// File: @chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol

pragma solidity ^0.8.4;

/** ****************************************************************************
 * @notice Interface for contracts using VRF randomness
 * *****************************************************************************
 * @dev PURPOSE
 *
 * @dev Reggie the Random Oracle (not his real job) wants to provide randomness
 * @dev to Vera the verifier in such a way that Vera can be sure he's not
 * @dev making his output up to suit himself. Reggie provides Vera a public key
 * @dev to which he knows the secret key. Each time Vera provides a seed to
 * @dev Reggie, he gives back a value which is computed completely
 * @dev deterministically from the seed and the secret key.
 *
 * @dev Reggie provides a proof by which Vera can verify that the output was
 * @dev correctly computed once Reggie tells it to her, but without that proof,
 * @dev the output is indistinguishable to her from a uniform random sample
 * @dev from the output space.
 *
 * @dev The purpose of this contract is to make it easy for unrelated contracts
 * @dev to talk to Vera the verifier about the work Reggie is doing, to provide
 * @dev simple access to a verifiable source of randomness. It ensures 2 things:
 * @dev 1. The fulfillment came from the VRFCoordinator
 * @dev 2. The consumer contract implements fulfillRandomWords.
 * *****************************************************************************
 * @dev USAGE
 *
 * @dev Calling contracts must inherit from VRFConsumerBase, and can
 * @dev initialize VRFConsumerBase's attributes in their constructor as
 * @dev shown:
 *
 * @dev   contract VRFConsumer {
 * @dev     constructor(<other arguments>, address _vrfCoordinator, address _link)
 * @dev       VRFConsumerBase(_vrfCoordinator) public {
 * @dev         <initialization with other arguments goes here>
 * @dev       }
 * @dev   }
 *
 * @dev The oracle will have given you an ID for the VRF keypair they have
 * @dev committed to (let's call it keyHash). Create subscription, fund it
 * @dev and your consumer contract as a consumer of it (see VRFCoordinatorInterface
 * @dev subscription management functions).
 * @dev Call requestRandomWords(keyHash, subId, minimumRequestConfirmations,
 * @dev callbackGasLimit, numWords),
 * @dev see (VRFCoordinatorInterface for a description of the arguments).
 *
 * @dev Once the VRFCoordinator has received and validated the oracle's response
 * @dev to your request, it will call your contract's fulfillRandomWords method.
 *
 * @dev The randomness argument to fulfillRandomWords is a set of random words
 * @dev generated from your requestId and the blockHash of the request.
 *
 * @dev If your contract could have concurrent requests open, you can use the
 * @dev requestId returned from requestRandomWords to track which response is associated
 * @dev with which randomness request.
 * @dev See "SECURITY CONSIDERATIONS" for principles to keep in mind,
 * @dev if your contract could have multiple requests in flight simultaneously.
 *
 * @dev Colliding `requestId`s are cryptographically impossible as long as seeds
 * @dev differ.
 *
 * *****************************************************************************
 * @dev SECURITY CONSIDERATIONS
 *
 * @dev A method with the ability to call your fulfillRandomness method directly
 * @dev could spoof a VRF response with any random value, so it's critical that
 * @dev it cannot be directly called by anything other than this base contract
 * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method).
 *
 * @dev For your users to trust that your contract's random behavior is free
 * @dev from malicious interference, it's best if you can write it so that all
 * @dev behaviors implied by a VRF response are executed *during* your
 * @dev fulfillRandomness method. If your contract must store the response (or
 * @dev anything derived from it) and use it later, you must ensure that any
 * @dev user-significant behavior which depends on that stored value cannot be
 * @dev manipulated by a subsequent VRF request.
 *
 * @dev Similarly, both miners and the VRF oracle itself have some influence
 * @dev over the order in which VRF responses appear on the blockchain, so if
 * @dev your contract could have multiple VRF requests in flight simultaneously,
 * @dev you must ensure that the order in which the VRF responses arrive cannot
 * @dev be used to manipulate your contract's user-significant behavior.
 *
 * @dev Since the block hash of the block which contains the requestRandomness
 * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful
 * @dev miner could, in principle, fork the blockchain to evict the block
 * @dev containing the request, forcing the request to be included in a
 * @dev different block with a different hash, and therefore a different input
 * @dev to the VRF. However, such an attack would incur a substantial economic
 * @dev cost. This cost scales with the number of blocks the VRF oracle waits
 * @dev until it calls responds to a request. It is for this reason that
 * @dev that you can signal to an oracle you'd like them to wait longer before
 * @dev responding to the request (however this is not enforced in the contract
 * @dev and so remains effective only in the case of unmodified oracle software).
 */
abstract contract VRFConsumerBaseV2 {
    error OnlyCoordinatorCanFulfill(address have, address want);

    address private immutable vrfCoordinator;

    /**
     * @param _vrfCoordinator address of VRFCoordinator contract
   */
    constructor(address _vrfCoordinator) {
        vrfCoordinator = _vrfCoordinator;
    }

    /**
     * @notice fulfillRandomness handles the VRF response. Your contract must
   * @notice implement it. See "SECURITY CONSIDERATIONS" above for important
   * @notice principles to keep in mind when implementing your fulfillRandomness
   * @notice method.
   *
   * @dev VRFConsumerBaseV2 expects its subcontracts to have a method with this
   * @dev signature, and will call it once it has verified the proof
   * @dev associated with the randomness. (It is triggered via a call to
   * @dev rawFulfillRandomness, below.)
   *
   * @param requestId The Id initially returned by requestRandomness
   * @param randomWords the VRF output expanded to the requested number of words
   */
    function fulfillRandomWords(uint256 requestId, uint256[] memory randomWords) internal virtual;

    // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF
    // proof. rawFulfillRandomness then calls fulfillRandomness, after validating
    // the origin of the call
    function rawFulfillRandomWords(uint256 requestId, uint256[] memory randomWords) external {
        if (msg.sender != vrfCoordinator) {
            revert OnlyCoordinatorCanFulfill(msg.sender, vrfCoordinator);
        }
        fulfillRandomWords(requestId, randomWords);
    }
}

// File: @chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol


pragma solidity ^0.8.0;

interface VRFCoordinatorV2Interface {
    /**
     * @notice Get configuration relevant for making requests
   * @return minimumRequestConfirmations global min for request confirmations
   * @return maxGasLimit global max for request gas limit
   * @return s_provingKeyHashes list of registered key hashes
   */
    function getRequestConfig()
    external
    view
    returns (
        uint16,
        uint32,
        bytes32[] memory
    );

    /**
     * @notice Request a set of random words.
   * @param keyHash - Corresponds to a particular oracle job which uses
   * that key for generating the VRF proof. Different keyHash's have different gas price
   * ceilings, so you can select a specific one to bound your maximum per request cost.
   * @param subId  - The ID of the VRF subscription. Must be funded
   * with the minimum subscription balance required for the selected keyHash.
   * @param minimumRequestConfirmations - How many blocks you'd like the
   * oracle to wait before responding to the request. See SECURITY CONSIDERATIONS
   * for why you may want to request more. The acceptable range is
   * [minimumRequestBlockConfirmations, 200].
   * @param callbackGasLimit - How much gas you'd like to receive in your
   * fulfillRandomWords callback. Note that gasleft() inside fulfillRandomWords
   * may be slightly less than this amount because of gas used calling the function
   * (argument decoding etc.), so you may need to request slightly more than you expect
   * to have inside fulfillRandomWords. The acceptable range is
   * [0, maxGasLimit]
   * @param numWords - The number of uint256 random values you'd like to receive
   * in your fulfillRandomWords callback. Note these numbers are expanded in a
   * secure way by the VRFCoordinator from a single random value supplied by the oracle.
   * @return requestId - A unique identifier of the request. Can be used to match
   * a request to a response in fulfillRandomWords.
   */
    function requestRandomWords(
        bytes32 keyHash,
        uint64 subId,
        uint16 minimumRequestConfirmations,
        uint32 callbackGasLimit,
        uint32 numWords
    ) external returns (uint256 requestId);

    /**
     * @notice Create a VRF subscription.
   * @return subId - A unique subscription id.
   * @dev You can manage the consumer set dynamically with addConsumer/removeConsumer.
   * @dev Note to fund the subscription, use transferAndCall. For example
   * @dev  LINKTOKEN.transferAndCall(
   * @dev    address(COORDINATOR),
   * @dev    amount,
   * @dev    abi.encode(subId));
   */
    function createSubscription() external returns (uint64 subId);

    /**
     * @notice Get a VRF subscription.
   * @param subId - ID of the subscription
   * @return balance - LINK balance of the subscription in juels.
   * @return reqCount - number of requests for this subscription, determines fee tier.
   * @return owner - owner of the subscription.
   * @return consumers - list of consumer address which are able to use this subscription.
   */
    function getSubscription(uint64 subId)
    external
    view
    returns (
        uint96 balance,
        uint64 reqCount,
        address owner,
        address[] memory consumers
    );

    /**
     * @notice Request subscription owner transfer.
   * @param subId - ID of the subscription
   * @param newOwner - proposed new owner of the subscription
   */
    function requestSubscriptionOwnerTransfer(uint64 subId, address newOwner) external;

    /**
     * @notice Request subscription owner transfer.
   * @param subId - ID of the subscription
   * @dev will revert if original owner of subId has
   * not requested that msg.sender become the new owner.
   */
    function acceptSubscriptionOwnerTransfer(uint64 subId) external;

    /**
     * @notice Add a consumer to a VRF subscription.
   * @param subId - ID of the subscription
   * @param consumer - New consumer which can use the subscription
   */
    function addConsumer(uint64 subId, address consumer) external;

    /**
     * @notice Remove a consumer from a VRF subscription.
   * @param subId - ID of the subscription
   * @param consumer - Consumer to remove from the subscription
   */
    function removeConsumer(uint64 subId, address consumer) external;

    /**
     * @notice Cancel a subscription
   * @param subId - ID of the subscription
   * @param to - Where to send the remaining LINK to
   */
    function cancelSubscription(uint64 subId, address to) external;
}

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


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

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


// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

        (bool success,) = recipient.call{value : amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value : value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

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

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

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

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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


// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

contract FantomHouse is VRFConsumerBaseV2, Ownable, ReentrancyGuard {

    using SafeERC20 for IERC20;
	// DAI on Fantom Opera Mainnet ======================================================
	//
	address private constant TOKEN_ADDRESS = 0x8D11eC38a3EB5E956B052f67Da8Bdc9bef8Abf3E;
    IERC20 private Token = IERC20(TOKEN_ADDRESS);
	//===================================================================================
	

    // Owner Wallet =====================================================================
    //
    // Owner Wallet Address

    function OwnerWallet() public view returns (address) {
        return owner();
    }
	//===================================================================================


    // Team Wallet ======================================================================
	//
	// Team Wallet Address
	
    address teamWallet = 0xb42553Fea162318A380283285238A654D21FC13c;

    modifier onlyTeam() {
        require(msg.sender == teamWallet, "Only Team");
        _;
	}

    function setTeamWallet(address _new) external onlyTeam {
        teamWallet = _new;
    }
	//===================================================================================


	// Owner & Team Distribution =====================================================
	//
	// Each Wallet Can Lower its Own Portion, and It Increases Other's Portion
	
	uint256 ownerPortion = 0; // Send Fee x treasuryPortion / 10000 for example.
	uint256 teamPortion = 10000; //

	function setOwnerPortion(uint256 _new) external onlyOwner {
		require(_new <= ownerPortion, "You can only lower your portion");
		
		ownerPortion = _new;
		teamPortion = 10000 - _new;
	}

	function setTeamPortion(uint256 _new) external onlyTeam {
		require(_new <= teamPortion, "You can only lower your portion");
		
		teamPortion = _new;
		ownerPortion = 10000 - _new;
	}
	//===================================================================================	


	// Chainlink VRF Parameter ==========================================================
	//
    // FTM mainnet KeyHash
	//  > 4000 gwei 0xb4797e686f9a1548b9a2e8c68988d74788e0c4af5899020fb0c47784af76ddfa
	//  > 10000 gwei 0x5881eea62f9876043df723cf89f0c2bb6f950da25e9dfe66995c24f919c8f8ab
	//  > 20000 gwei 0x64ae04e5dba58bc08ba2d53eb33fe95bf71f5002789692fe78fb3778f16121c9

	VRFCoordinatorV2Interface COORDINATOR;
    uint64 private s_subscriptionId = 42;
    address vrfCoordinator = 0xd5D517aBE5cF79B7e95eC98dB0f0277788aFF634;
    bytes32 keyHash = 0x64ae04e5dba58bc08ba2d53eb33fe95bf71f5002789692fe78fb3778f16121c9;
    uint32 callbackGasLimit = 2500000;
    uint16 requestConfirmations = 1; // Minimum is 1 on FTM
    uint32 numWords = 1;
	
    constructor() VRFConsumerBaseV2(vrfCoordinator) {
        COORDINATOR = VRFCoordinatorV2Interface(vrfCoordinator);
    }
	
	// View VRF Parameter
    function getRequestParams() public view returns (RequestParams memory){
        return RequestParams({
        vrfCoordinator : vrfCoordinator,
        keyHash : keyHash,
        callbackGasLimit : callbackGasLimit,
        requestConfirmations : requestConfirmations,
        numWords : numWords
        });
    }
	
    // Change VRF Parameter
    function setRequestParameters(
        uint32 _callbackGasLimit,
        uint16 _requestConfirmations,
        bytes32 _keyHash,
        uint64 subscriptionId,
		address _vrfCoordinator
    ) external onlyTeam() {
        callbackGasLimit = _callbackGasLimit;
        requestConfirmations = _requestConfirmations;
        keyHash = _keyHash;
        s_subscriptionId = subscriptionId;
		vrfCoordinator = _vrfCoordinator;
    }
	//===================================================================================


	// Time Variable for Bet/Withdraw Windows ===========================================
	//
    //These values will be %'ed by 604800 (A week in seconds
    //And the result will indicate the day & time of the week.
	uint256 timeNowWithdraw;
	uint256 timeNowBet;
	//===================================================================================


	// Max Payout Percent ===============================================================
	//
	uint256 maxPayOutPercent = 2000000000000000000; // default 2%                       
	
    function getMaxPayOutPercent() public view returns (uint256){
        return maxPayOutPercent;
    }
	
	function setMaxPayOutPercent(uint256 _new) external onlyTeam {
		require(_new <= 10000000000000000000, "Max Payout percent cannot exceed 10%");
		maxPayOutPercent = _new;
	}
	//===================================================================================


	// House Edge =======================================================================
	//
	uint256 houseEdgePercent = 2000000000000000000; // default 2%
	
    function getHouseEdgePercent() public view returns (uint256){
        return houseEdgePercent;
    }
	
	function setHouseEdgePercent(uint256 _new) external onlyTeam {
		require(_new <= 10000000000000000000, "Max House Edge Cannot Exceed 10%");
		houseEdgePercent = _new;
	}	
	//===================================================================================
	
	
	// Payout Multipliers & Max Bets ====================================================
	//
	//Each Odd (1%, 10%, 25%,..) has its own Payout Multiplier and Max Bet Amount
	//Payout Multiplier = (100 - HouseEdgePercent) / OddPercent
	//Max Bet = (House Bank * maxPayOutPercent) / Payout Multiplier
    //Odds(Inputs) are 1, 10, 25, 50, 75, 90, 98
    //The Bet function will accept input of Odd
    //Bet function will also require the input to be between 1~98, and also integer.
    //The fulfill function needs to remember the _odd input from bet function
	
	uint256 bankBalance; //New Variable. Need work.

    function getBankBalance() public view returns (uint256){
        return bankBalance;
    }
	
    function getMultiplier(uint256 _odd) public view returns (uint256){
        uint256 multiplier = (100000000000000000000 - houseEdgePercent) / _odd;
        return multiplier;
    }

    function getMaxBet(uint256 _odd) public view returns (uint256){
        uint256 multiplier = getMultiplier(_odd);
        uint256 maxBet = ((bankBalance * maxPayOutPercent / 100) / multiplier);
        return maxBet;
    }
	//===================================================================================


	// Minimum Bet & Deposit=============================================================
    //
	uint256 minBet = 10000000000000000; // default 0.01 DAI, worth 1 Cent ATM.

    function getMinBet() public view returns (uint256){
        return minBet;
    }

    function setMinBet(uint256 _new) external onlyTeam {
        minBet = _new;
    }

    uint256 minDeposit = 1000000000000000000; // default 1 DAI, worth 1 USD ATM.

    function getMinDeposit() public view returns (uint256) {
        return minDeposit;
    }

    function setMinDeposit(uint256 _new) external onlyTeam {
        minDeposit = _new;
    }
	//===================================================================================


	// Convert Ratio ====================================================================
    //
    // Convert Ratios are updated at the end of Fulfill function.
    uint256 sharePrinted; // Amount of Shares the Depositor Will Receive
    uint256 totalShare; // Total Amount of Shares Printed
    uint256 depositConvertRatio = 1000000000000000000; // Default value 1:1
    uint256 withdrawConvertRatio = 1000000000000000000; // Default value 1:1

    //These two functions update the ratio at the end of Bet Fulfill function
    function updateDepositConvertRatio() internal {
        depositConvertRatio = 1e18 * totalShare / bankBalance;
    }

    function updateWithdrawConvertRatio() internal {
        withdrawConvertRatio = 1e18 * bankBalance / totalShare;
    }
	//===================================================================================


	// Bank Deposit Tax =================================================================
	//
	//Tax(%) for Bank Deposit to become the House
																					   
    uint256 depositTax = 1000000000000000000; // default 1%
	
    function getDepositTax() public view returns (uint256) {
        return depositTax;
    }

    function setDepositTax(uint256 _new) external onlyTeam {
        require(_new <= 10000000000000000000, "Deposit Tax Cannot Exceed 10%");
	    require(_new >= 1000000000000000, "Deposit Tax Must be Bigger than 0.001%");
        depositTax = _new;
    }

    //Balance of Deposit Tax Treasury of Owner and Team Pool.
    uint256 public ownerDepositTreasury;
    uint256 public teamDepositTreasury;
    
    //Owner can claim its portion of Deposit Tax Collected
    function claimOwnerDepositTreasury() external onlyOwner nonReentrant {
        uint256 _amount = ownerDepositTreasury;
        require(_amount > 0, "Noting to claim");
        ownerDepositTreasury -= _amount;
        Token.safeTransfer(msg.sender, _amount);
    }

    //Team can claim its portion of Deposit Tax Collected
    function claimTeamDepositTreasury() external onlyTeam nonReentrant {
        uint256 _amount = teamDepositTreasury;
        require(_amount > 0, "Nothing to claim");
        teamDepositTreasury -= _amount;
        Token.safeTransfer(msg.sender, _amount);
    }
	//===================================================================================


	// Bet Tax ==========================================================================
	//
    //Fee collected from every bet. This is different from VRF Fee.
	
	uint256 betTax = 1000000000000000000; // default 1%
	
    function getBetTax() public view returns (uint256) {
        return betTax;
    }
	
    function setBetTax(uint256 _new) external onlyTeam {
        require(_new <= 5000000000000000000, "Bet Fee Can't Exceed 5%");
        require(_new >= 1000000000000000, "Bet Fee Can't Be Lower Than 0.001%");
        betTax = _new;
    }

    //Balance of Bet Tax Treasury of Owner and Team Pool.
    uint256 public ownerBetTreasury;
    uint256 public teamBetTreasury;
    
    //Owner can claim its portion of Bet Tax Collected
    function claimOwnerBetTreasury() external onlyOwner nonReentrant {
        uint256 _amount = ownerBetTreasury;
        require(_amount > 0, "Noting to claim");
        ownerBetTreasury -= _amount;
        Token.safeTransfer(msg.sender, _amount);
    }

    //Team can claim its portion of Bet Tax Collected
    function claimTeamBetTreasury() external onlyTeam nonReentrant {
        uint256 _amount = teamBetTreasury;
        require(_amount > 0, "Nothing to claim");
        teamBetTreasury -= _amount;
        Token.safeTransfer(msg.sender, _amount);
    }
	//===================================================================================
	
	
	// VRF Fee ==========================================================================
	//
	//Fee collected for Chainlink VRF Fee. User Pays every bet
    //Bet Function is payable. Front-end enters msg.value for the user.
    //Bet Function has 'require' of 'vrfFee' amount of msg.value.

	uint256 vrfFee= 100000000000000000; // default 0.1 FTM. 2 Cents atm
	
    function getVrfFee() public view returns (uint256) {
        return vrfFee;
    }
	
    function setVrfFee(uint256 _new) external onlyTeam {
        vrfFee = _new;
    }

    //Team claims VRF Fee collected to fund Chainlink VRF Sub Account
    function claimVrfFee() external onlyTeam nonReentrant {
        payable(msg.sender).transfer(address(this).balance);
    }
	//===================================================================================

    struct RequestParams {
        address vrfCoordinator;
        bytes32 keyHash;
        uint32 callbackGasLimit;
        uint16 requestConfirmations;
        uint32 numWords;
    }

    struct Bet {
        uint256 pending;
        address user;
        uint256 id;
        uint256 amount;
        uint256 payout;
        uint256 block;
        uint256 oddSelection;
        uint256 resultHeadOrTail;
        uint256 userWon;
    }

    mapping(address => uint256) rewardPool;
    mapping(address => uint256) myTotalWaged;

    mapping(address => uint256) depositShare; //User's Bank Deposit Share

    event RequestedBet(uint256 indexed requestId, address indexed requestUser, uint256 predictedUserFace, uint256 betAmount);
    event ReceivedBetResult(uint256 userWon, uint256 indexed requestId, address indexed requestUser, uint256 response, uint256 sortedUserFace, uint256 predictedUserFace, uint256 betAmount, uint256 winMoney);

    uint256 pauseBet = 0;

    mapping(address => uint256) lastBetBlock;

    /// @notice Maps bets IDs to Bet information.
    mapping(uint256 => Bet) public bets;
    uint256[] ids;

    /// @notice Maps users addresses to bets IDs
    mapping(address => uint256[]) internal _userBets;
    uint256 startBetIdIndex;
	
    uint256 internal biggestBet;
    uint256 internal totalBettingVolume;


    /* ========== VIEW FUNCTIONS ========== */
	
    function getBiggestBet() public view returns (uint256){
        return biggestBet;
    }

    function getTotalBettingVolume() public view returns (uint256){
        return totalBettingVolume;
    }	

    function isBetPaused() public view returns (uint256){
        return pauseBet;
    }

    function getMyTotalWaged(address _address) public view returns (uint256){
        return myTotalWaged[_address];
    }

    function getRewardPoolBalance(address _address) public view returns (uint256) {
        return rewardPool[_address];
    }

    // Takes input of Wallet Address, displays information / status of last 20 bets of the wallet.
    // User can check the Result, Prize, and Bet ID of the bets.
    function showRecentBets(address _address) public view returns (Bet [20] memory) {
        
        Bet[20] memory userBets;
        uint256 userBetsIndex = 0;
        for (uint256 i = _userBets[_address].length; i > 0 && userBetsIndex < 20; i--) {
            userBets[userBetsIndex] = bets[_userBets[_address][i - 1]];
            userBetsIndex++;
        }

        return userBets;
    }

    /* ========== MUTATIVE FUNCTIONS ========== */
    function depositBank(uint256 _amount) external {
        address _sender = msg.sender;

        //Deposit after tax deducted
        uint256 taxedDeposit = _amount;
        bankBalance += taxedDeposit;
        
        //Shares created. User's share balance and total share balance increased
        sharePrinted = (taxedDeposit * depositConvertRatio) / 1e18;
        depositShare[_sender] += sharePrinted;
        totalShare += sharePrinted;

        Token.safeTransferFrom(_sender, address(this), _amount);
    }

    //Display how much a user will receive if they withdraw
    function withdrawableAmount(address _address) public view returns (uint256) {
        return (depositShare[_address] * withdrawConvertRatio / 1e18);
    }

    uint256 minimumBets = 0;

    function minimumBetsSet() external {
    }
    
    function withdrawBank() external nonReentrant {
        address _sender = msg.sender;
        uint256 senderShare = depositShare[_sender];
        require (senderShare > 0, "Nothing to claim");

        //User burns his shares, total share balance also decreases.
        depositShare[_sender] -= senderShare;
        totalShare -= senderShare;

        //Amount of deposits claimed. Bank Balance decreases.
        uint256 claim = senderShare * withdrawConvertRatio / 1e18;
        bankBalance -= claim;
        
        Token.safeTransfer(msg.sender, claim);
    }

    //Players have their rewards accumulated in their reward pool. This function withdraws.
    function withdrawReward(uint256 _amount) external nonReentrant {
        address _sender = msg.sender;
        uint256 reward = rewardPool[_sender];
        require(_amount <= reward, "reward amount");
        rewardPool[_sender] -= _amount;
        Token.safeTransfer(msg.sender, _amount);
    }

    //When bet is stuck, user can use showRecentBets View Function to check Bet ID of his stuck bet.
    //User enters Bet ID, and request refund of the bet.
   function refund(uint256 _betId) external nonReentrant {
        Bet storage _bet = bets[_betId];
        // 333 Block is about 5 minutes in FTM
        require(block.number >= _bet.block + 333, "must wait at least 333 blocks");
        require(_bet.pending == 1, "bet not pending");
        // Update the bet for refund
        _bet.pending = 2;
        rewardPool[_bet.user] += _bet.amount;
    }

    function bet(uint256 _betAmount, uint256 _odd) external payable nonReentrant {
    	// Requires now to NOT be UTC Tuesday 00:00 ~ 04:00 AM
		timeNowBet = block.timestamp % 604800;
        require(timeNowBet < 431700 || timeNowBet > 446700, "Betting Closes at UTC Tue 00:00 ~ 04:00" );
        require(msg.value >= vrfFee, "Pay Fee");

        //Prevents Bet Spamming
		address _sender = msg.sender;
        uint256 _lastBetBlock = lastBetBlock[_sender];
        if (_lastBetBlock != 0 && block.number - _lastBetBlock < 3) {
            revert("You are placing bet too fast. Please wait at least 5 seconds.");
        }
        lastBetBlock[_sender] = block.number;

        require(pauseBet == 0, "pauseBet");
        require(_betAmount >= minBet, "smaller than minimum bet amount");
        require(_odd >= 1 && _odd <= 98, "Choose odd between 1% and 98%");
        require(_betAmount <= getMaxBet(_odd), "Exceeds Max Bet Amount");

        Token.safeTransferFrom(_sender, address(this), _betAmount);
        uint256 id = COORDINATOR.requestRandomWords(
            keyHash,
            s_subscriptionId,
            requestConfirmations,
            callbackGasLimit,
            numWords
        );

        Bet memory newBet = Bet({
        pending : 1,
        user : _sender,
        id : id,
        amount : _betAmount,
        payout : 0,
        block : block.number,
        oddSelection : _odd,
        resultHeadOrTail : 0,
        userWon : 0
        });
        _userBets[_sender].push(id);
        bets[id] = newBet;
        ids.push(id);
		if (biggestBet < _betAmount) {
            biggestBet = _betAmount;
        }
        totalBettingVolume += _betAmount;
        emit RequestedBet(id, _sender, _odd, _betAmount);
    }

    function fulfillRandomWords(
        uint256 requestId,
        uint256[] memory randomWords
    ) internal override {
        Bet storage _bet = bets[requestId];
        require(_bet.id == requestId, "request ID");
        require(msg.sender == vrfCoordinator, "Fulfillment only permitted by Coordinator");
        require(_bet.pending == 1, "Bet should be pending");

        //Chainlink Randomness Result is one of 1,2,3,4,5...99
        uint256 sortedFace = randomWords[0] % 100;

        uint256 oddChoice = _bet.oddSelection; // If input is 1, player chose 1% odd. oddChoice is 1.
        address player = _bet.user;
        uint256 playerBetAmount = _bet.amount;
        uint256 userWon;

        //If user's odd choice was 1, sorted Face needs to be below 1, which is only 0. 1% chance.
        //If user's odd choice was 5, sorted face needs to be below 5, which is 0,1,2,3,4 out of 100 choices. 5% chance.
        //If user's odd choice was 98, osrted face needs to be below 98, which is 0,1,...,97 out of 100 choices, 98% chance.
        if (oddChoice > sortedFace) {
            // user won
            userWon = 1;
        } else {
            // user lost
            userWon = 0;
        }

        uint256 calculatedBetTax; //Bet Tax

        // If user won, this variable has same value as payoutAppliedAmount
        // If user lost, this variable stays 0.
        uint256 winMoney = 0; 
        uint256 ownerBetTax;
        uint256 teamBetTax;

        //Bet Tax Calculated
		calculatedBetTax = playerBetAmount * betTax / 1e18 / 100;
        ownerBetTax = calculatedBetTax * ownerPortion / 10000;
        teamBetTax = calculatedBetTax * teamPortion / 10000;

        //Owner and Team's Bet Treasury Funded
        ownerBetTreasury += ownerBetTax;
        teamBetTreasury += teamBetTax;
		
        //Amount to be added to the winner's reward pool
        uint256 payoutAppliedAmount = getMultiplier(oddChoice) * playerBetAmount / 1e18;

        if (userWon == 1) {
            rewardPool[player] += payoutAppliedAmount;
            winMoney = payoutAppliedAmount;
            bankBalance -= (payoutAppliedAmount + calculatedBetTax);
            bankBalance += playerBetAmount;
        } else {
            bankBalance += playerBetAmount - calculatedBetTax;
        }
        myTotalWaged[player] += playerBetAmount;

        _bet.resultHeadOrTail = sortedFace;
        _bet.payout = payoutAppliedAmount;
        _bet.pending = 0;
        _bet.userWon = userWon;

        // Update the Ratios depending on the Bet Result
        updateDepositConvertRatio();
        updateWithdrawConvertRatio();

        emit ReceivedBetResult(userWon, requestId, player, randomWords[0], sortedFace, oddChoice, playerBetAmount, winMoney);
        }

    function z1_pauseBet() external onlyTeam {
        pauseBet = 1;
    }

    function z2_unpauseBet() external onlyTeam {
        pauseBet = 0;
    }

    function totalBets() public view returns (uint256) {
        return ids.length;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"have","type":"address"},{"internalType":"address","name":"want","type":"address"}],"name":"OnlyCoordinatorCanFulfill","type":"error"},{"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":false,"internalType":"uint256","name":"userWon","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"requestId","type":"uint256"},{"indexed":true,"internalType":"address","name":"requestUser","type":"address"},{"indexed":false,"internalType":"uint256","name":"response","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sortedUserFace","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"predictedUserFace","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"betAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"winMoney","type":"uint256"}],"name":"ReceivedBetResult","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"requestId","type":"uint256"},{"indexed":true,"internalType":"address","name":"requestUser","type":"address"},{"indexed":false,"internalType":"uint256","name":"predictedUserFace","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"betAmount","type":"uint256"}],"name":"RequestedBet","type":"event"},{"inputs":[],"name":"OwnerWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_betAmount","type":"uint256"},{"internalType":"uint256","name":"_odd","type":"uint256"}],"name":"bet","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bets","outputs":[{"internalType":"uint256","name":"pending","type":"uint256"},{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"payout","type":"uint256"},{"internalType":"uint256","name":"block","type":"uint256"},{"internalType":"uint256","name":"oddSelection","type":"uint256"},{"internalType":"uint256","name":"resultHeadOrTail","type":"uint256"},{"internalType":"uint256","name":"userWon","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimOwnerBetTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimOwnerDepositTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimTeamBetTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimTeamDepositTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimVrfFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"depositBank","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getBankBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBetTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBiggestBet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDepositTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getHouseEdgePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_odd","type":"uint256"}],"name":"getMaxBet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxPayOutPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinBet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_odd","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getMyTotalWaged","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRequestParams","outputs":[{"components":[{"internalType":"address","name":"vrfCoordinator","type":"address"},{"internalType":"bytes32","name":"keyHash","type":"bytes32"},{"internalType":"uint32","name":"callbackGasLimit","type":"uint32"},{"internalType":"uint16","name":"requestConfirmations","type":"uint16"},{"internalType":"uint32","name":"numWords","type":"uint32"}],"internalType":"struct FantomHouse.RequestParams","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getRewardPoolBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalBettingVolume","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getVrfFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBetPaused","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumBetsSet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ownerBetTreasury","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerDepositTreasury","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"requestId","type":"uint256"},{"internalType":"uint256[]","name":"randomWords","type":"uint256[]"}],"name":"rawFulfillRandomWords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_betId","type":"uint256"}],"name":"refund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_new","type":"uint256"}],"name":"setBetTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_new","type":"uint256"}],"name":"setDepositTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_new","type":"uint256"}],"name":"setHouseEdgePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_new","type":"uint256"}],"name":"setMaxPayOutPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_new","type":"uint256"}],"name":"setMinBet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_new","type":"uint256"}],"name":"setMinDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_new","type":"uint256"}],"name":"setOwnerPortion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_callbackGasLimit","type":"uint32"},{"internalType":"uint16","name":"_requestConfirmations","type":"uint16"},{"internalType":"bytes32","name":"_keyHash","type":"bytes32"},{"internalType":"uint64","name":"subscriptionId","type":"uint64"},{"internalType":"address","name":"_vrfCoordinator","type":"address"}],"name":"setRequestParameters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_new","type":"uint256"}],"name":"setTeamPortion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_new","type":"address"}],"name":"setTeamWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_new","type":"uint256"}],"name":"setVrfFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"showRecentBets","outputs":[{"components":[{"internalType":"uint256","name":"pending","type":"uint256"},{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"payout","type":"uint256"},{"internalType":"uint256","name":"block","type":"uint256"},{"internalType":"uint256","name":"oddSelection","type":"uint256"},{"internalType":"uint256","name":"resultHeadOrTail","type":"uint256"},{"internalType":"uint256","name":"userWon","type":"uint256"}],"internalType":"struct FantomHouse.Bet[20]","name":"","type":"tuple[20]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamBetTreasury","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamDepositTreasury","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBets","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":[],"name":"withdrawBank","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"withdrawableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"z1_pauseBet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"z2_unpauseBet","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405260028054738d11ec38a3eb5e956b052f67da8bdc9bef8abf3e6001600160a01b0319918216179091556003805473b42553fea162318a380283285238a654d21fc13c9083161790556000600481905561271060055560068054600160a01b600160e01b031916601560a11b1790556007805473d5d517abe5cf79b7e95ec98db0f0277788aff6349316929092179091557f64ae04e5dba58bc08ba2d53eb33fe95bf71f5002789692fe78fb3778f16121c9600855600980546001600160501b03191666010001002625a0179055671bc16d674ec80000600c819055600d55662386f26fc10000600f55670de0b6b3a7640000601081905560138190556014819055601581905560185567016345785d8a0000601b55601f8190556027553480156200012e57600080fd5b5060075460601b6001600160601b031916608052620001546200014e3390565b62000180565b60018055600754600680546001600160a01b0319166001600160a01b03909216919091179055620001d0565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60805160601c612b9d620001f660003960008181610b310152610b730152612b9d6000f3fe6080604052600436106102ff5760003560e01c80637b83b50b11610190578063bdc8eb0a116100dc578063d95aa93f11610095578063ea8257301161006f578063ea825730146109ad578063f2fde38b146109c2578063fb844963146109e2578063ff7f0cf9146109f857600080fd5b8063d95aa93f1461096e578063e22b747b14610983578063e36a94291461099857600080fd5b8063bdc8eb0a146108b9578063be7ab51b146108d9578063befa1e2f146108f9578063c4767fed1461090e578063ccd8172f1461092e578063cf96ce031461094e57600080fd5b8063a2ddeab911610149578063a977581611610123578063a977581614610859578063adf8252d1461086f578063af2a5a4b1461088f578063bc628c10146108a457600080fd5b8063a2ddeab9146107ec578063a5353e031461080c578063a87e6ba31461083957600080fd5b80637b83b50b146107375780637ea1c90d1461074c57806385e710b01461076157806388ea41b9146107975780638fcc9cfb146107b757806394dd2d44146107d757600080fd5b806327fdbf241161024f5780634e81b3611161020857806360c6601b116101e257806360c6601b146106c45780636ffcc719146106d957806370dd3c09146106ec578063715018a61461072257600080fd5b80634e81b361146105a7578063523a3f081461068f57806360a40f6a146106af57600080fd5b806327fdbf2414610508578063295d86351461052857806330add116146105485780633c22d4c91461055d5780634004d7081461057257806340f290d31461058757600080fd5b80631b13201f116102bc57806322af00fa1161029657806322af00fa1461040857806324c37507146104c4578063278ecde1146104d957806327e13869146104f957600080fd5b80631b13201f146103b25780631bd8102f146103d25780631fe543e3146103e857600080fd5b80630d19ecd2146103045780630eaad3f1146103285780631033ace91461033d57806310a03b02146103545780631525ff7d1461036a57806318af76111461038a575b600080fd5b34801561031057600080fd5b506015545b6040519081526020015b60405180910390f35b34801561033457600080fd5b50601054610315565b34801561034957600080fd5b50610352610a0d565b005b34801561036057600080fd5b50610315601a5481565b34801561037657600080fd5b506103526103853660046126be565b610a47565b34801561039657600080fd5b506000546040516001600160a01b03909116815260200161031f565b3480156103be57600080fd5b506103526103cd3660046126fb565b610a93565b3480156103de57600080fd5b5061031560165481565b3480156103f457600080fd5b5061035261040336600461272d565b610b26565b34801561041457600080fd5b506104786104233660046126fb565b60216020526000908152604090208054600182015460028301546003840154600485015460058601546006870154600788015460089098015496976001600160a01b0390961696949593949293919290919089565b60408051998a526001600160a01b0390981660208a0152968801959095526060870193909352608086019190915260a085015260c084015260e08301526101008201526101200161031f565b3480156104d057600080fd5b50600f54610315565b3480156104e557600080fd5b506103526104f43660046126fb565b610bae565b34801561050557600080fd5b50005b34801561051457600080fd5b506103526105233660046126fb565b610ccb565b34801561053457600080fd5b506103156105433660046126fb565b610d5e565b34801561055457600080fd5b50601854610315565b34801561056957600080fd5b50610352610d9d565b34801561057e57600080fd5b50600c54610315565b34801561059357600080fd5b506103526105a23660046126fb565b610e66565b3480156105b357600080fd5b5061063b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506040805160a0810182526007546001600160a01b03168152600854602082015260095463ffffffff8082169383019390935261ffff640100000000820416606083015266010000000000009004909116608082015290565b6040805182516001600160a01b03168152602080840151908201528282015163ffffffff9081169282019290925260608084015161ffff16908201526080928301519091169181019190915260a00161031f565b34801561069b57600080fd5b506103526106aa3660046126fb565b610f53565b3480156106bb57600080fd5b50600d54610315565b3480156106d057600080fd5b50610352611018565b6103526106e73660046127fe565b6110be565b3480156106f857600080fd5b506103156107073660046126be565b6001600160a01b03166000908152601d602052604090205490565b34801561072e57600080fd5b5061035261164d565b34801561074357600080fd5b50600e54610315565b34801561075857600080fd5b50602654610315565b34801561076d57600080fd5b5061031561077c3660046126be565b6001600160a01b03166000908152601c602052604090205490565b3480156107a357600080fd5b506103526107b23660046126fb565b611681565b3480156107c357600080fd5b506103526107d23660046126fb565b6116b0565b3480156107e357600080fd5b506103526116df565b3480156107f857600080fd5b506103526108073660046126fb565b611763565b34801561081857600080fd5b5061082c6108273660046126be565b611792565b60405161031f91906128bd565b34801561084557600080fd5b50610352610854366004612820565b6118d0565b34801561086557600080fd5b5061031560195481565b34801561087b57600080fd5b5061031561088a3660046126fb565b61197c565b34801561089b57600080fd5b50601f54610315565b3480156108b057600080fd5b50601b54610315565b3480156108c557600080fd5b506103526108d43660046126fb565b6119a8565b3480156108e557600080fd5b506103156108f43660046126be565b611a3b565b34801561090557600080fd5b50602254610315565b34801561091a57600080fd5b506103526109293660046126fb565b611a7d565b34801561093a57600080fd5b506103526109493660046126fb565b611b66565b34801561095a57600080fd5b506103526109693660046126fb565b611c0e565b34801561097a57600080fd5b50610352611c95565b34801561098f57600080fd5b50602554610315565b3480156109a457600080fd5b50610352611d13565b3480156109b957600080fd5b50610352611d44565b3480156109ce57600080fd5b506103526109dd3660046126be565b611dc8565b3480156109ee57600080fd5b5061031560175481565b348015610a0457600080fd5b50610352611e63565b6003546001600160a01b03163314610a405760405162461bcd60e51b8152600401610a37906129ac565b60405180910390fd5b6000601f55565b6003546001600160a01b03163314610a715760405162461bcd60e51b8152600401610a37906129ac565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b03163314610abd5760405162461bcd60e51b8152600401610a37906129ac565b678ac7230489e80000811115610b215760405162461bcd60e51b8152602060048201526024808201527f4d6178205061796f75742070657263656e742063616e6e6f74206578636565646044820152632031302560e01b6064820152608401610a37565b600c55565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610ba05760405163073e64fd60e21b81523360048201526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166024820152604401610a37565b610baa8282611f52565b5050565b60026001541415610bd15760405162461bcd60e51b8152600401610a3790612a04565b600260015560008181526021602052604090206005810154610bf59061014d612a3b565b431015610c445760405162461bcd60e51b815260206004820152601d60248201527f6d7573742077616974206174206c656173742033333320626c6f636b730000006044820152606401610a37565b8054600114610c875760405162461bcd60e51b815260206004820152600f60248201526e626574206e6f742070656e64696e6760881b6044820152606401610a37565b60028155600381015460018201546001600160a01b03166000908152601c602052604081208054909190610cbc908490612a3b565b9091555050600180555050565b565b6003546001600160a01b03163314610cf55760405162461bcd60e51b8152600401610a37906129ac565b600554811115610d475760405162461bcd60e51b815260206004820152601f60248201527f596f752063616e206f6e6c79206c6f77657220796f757220706f7274696f6e006044820152606401610a37565b6005819055610d5881612710612a86565b60045550565b600080610d6a8361197c565b90506000816064600c54600e54610d819190612a67565b610d8b9190612a53565b610d959190612a53565b949350505050565b6000546001600160a01b03163314610dc75760405162461bcd60e51b8152600401610a37906129cf565b60026001541415610dea5760405162461bcd60e51b8152600401610a3790612a04565b600260015560195480610e315760405162461bcd60e51b815260206004820152600f60248201526e4e6f74696e6720746f20636c61696d60881b6044820152606401610a37565b8060196000828254610e439190612a86565b9091555050600254610e5f906001600160a01b031633836122ff565b5060018055565b6003546001600160a01b03163314610e905760405162461bcd60e51b8152600401610a37906129ac565b678ac7230489e80000811115610ee85760405162461bcd60e51b815260206004820152601d60248201527f4465706f736974205461782043616e6e6f7420457863656564203130250000006044820152606401610a37565b66038d7ea4c68000811015610f4e5760405162461bcd60e51b815260206004820152602660248201527f4465706f73697420546178204d75737420626520426967676572207468616e20604482015265302e3030312560d01b6064820152608401610a37565b601555565b60026001541415610f765760405162461bcd60e51b8152600401610a3790612a04565b6002600155336000818152601c602052604090205480831115610fcb5760405162461bcd60e51b815260206004820152600d60248201526c1c995dd85c9908185b5bdd5b9d609a1b6044820152606401610a37565b6001600160a01b0382166000908152601c602052604081208054859290610ff3908490612a86565b909155505060025461100f906001600160a01b031633856122ff565b50506001805550565b6000546001600160a01b031633146110425760405162461bcd60e51b8152600401610a37906129cf565b600260015414156110655760405162461bcd60e51b8152600401610a3790612a04565b6002600155601654806110ac5760405162461bcd60e51b815260206004820152600f60248201526e4e6f74696e6720746f20636c61696d60881b6044820152606401610a37565b8060166000828254610e439190612a86565b600260015414156110e15760405162461bcd60e51b8152600401610a3790612a04565b60026001556110f362093a8042612afb565b600b81905562069654118061110c57506206d0ec600b54115b6111685760405162461bcd60e51b815260206004820152602760248201527f42657474696e6720436c6f73657320617420555443205475652030303a30302060448201526607e2030343a30360cc1b6064820152608401610a37565b601b543410156111a45760405162461bcd60e51b81526020600482015260076024820152665061792046656560c81b6044820152606401610a37565b33600081815260208052604090205480158015906111cb575060036111c98243612a86565b105b1561123e5760405162461bcd60e51b815260206004820152603d60248201527f596f752061726520706c6163696e672062657420746f6f20666173742e20506c60448201527f656173652077616974206174206c656173742035207365636f6e64732e0000006064820152608401610a37565b6001600160a01b03821660009081526020805260409020439055601f54156112935760405162461bcd60e51b81526020600482015260086024820152671c185d5cd950995d60c21b6044820152606401610a37565b600f548410156112e55760405162461bcd60e51b815260206004820152601f60248201527f736d616c6c6572207468616e206d696e696d756d2062657420616d6f756e74006044820152606401610a37565b600183101580156112f7575060628311155b6113435760405162461bcd60e51b815260206004820152601d60248201527f43686f6f7365206f6464206265747765656e20312520616e64203938250000006044820152606401610a37565b61134c83610d5e565b8411156113945760405162461bcd60e51b8152602060048201526016602482015275115e18d959591cc813585e0810995d08105b5bdd5b9d60521b6044820152606401610a37565b6002546113ac906001600160a01b0316833087612362565b6006546008546009546040516305d3b1d360e41b81526004810192909252600160a01b830467ffffffffffffffff166024830152640100000000810461ffff16604483015263ffffffff808216606484015266010000000000009091041660848201526000916001600160a01b031690635d3b1d309060a401602060405180830381600087803b15801561143f57600080fd5b505af1158015611453573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114779190612714565b9050600060405180610120016040528060018152602001856001600160a01b0316815260200183815260200187815260200160008152602001438152602001868152602001600081526020016000815250905060236000856001600160a01b03166001600160a01b0316815260200190815260200160002082908060018154018082558091505060019003906000526020600020016000909190919091505580602160008481526020019081526020016000206000820151816000015560208201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160020155606082015181600301556080820151816004015560a0820151816005015560c0820151816006015560e08201518160070155610100820151816008015590505060228290806001815401808255809150506001900390600052602060002001600090919091909150558560255410156115e45760258690555b85602660008282546115f69190612a3b565b909155505060408051868152602081018890526001600160a01b0386169184917f93654b2f1354fc514fd9ba93c27749f4a52b6480bf82e1a41abe17614f039776910160405180910390a350506001805550505050565b6000546001600160a01b031633146116775760405162461bcd60e51b8152600401610a37906129cf565b610cc960006123a0565b6003546001600160a01b031633146116ab5760405162461bcd60e51b8152600401610a37906129ac565b600f55565b6003546001600160a01b031633146116da5760405162461bcd60e51b8152600401610a37906129ac565b601055565b6003546001600160a01b031633146117095760405162461bcd60e51b8152600401610a37906129ac565b6002600154141561172c5760405162461bcd60e51b8152600401610a3790612a04565b6002600155601a54806117515760405162461bcd60e51b8152600401610a3790612982565b80601a6000828254610e439190612a86565b6003546001600160a01b0316331461178d5760405162461bcd60e51b8152600401610a37906129ac565b601b55565b61179a612624565b6117a2612624565b6001600160a01b0383166000908152602360205260408120545b6000811180156117cc5750601482105b156118c7576001600160a01b0385166000908152602360205260408120602191906117f8600185612a86565b8154811061180857611808612b3b565b6000918252602080832090910154835282810193909352604091820190208151610120810183528154815260018201546001600160a01b0316938101939093526002810154918301919091526003810154606083015260048101546080830152600581015460a0830152600681015460c0830152600781015460e0830152600801546101008201528383601481106118a2576118a2612b3b565b6020020152816118b181612ae0565b92505080806118bf90612ac9565b9150506117bc565b50909392505050565b6003546001600160a01b031633146118fa5760405162461bcd60e51b8152600401610a37906129ac565b6009805461ffff9095166401000000000265ffffffffffff1990951663ffffffff90961695909517939093179093556008556006805467ffffffffffffffff909316600160a01b0267ffffffffffffffff60a01b1990931692909217909155600780546001600160a01b039092166001600160a01b0319909216919091179055565b60008082600d5468056bc75e2d631000006119979190612a86565b6119a19190612a53565b9392505050565b6000546001600160a01b031633146119d25760405162461bcd60e51b8152600401610a37906129cf565b600454811115611a245760405162461bcd60e51b815260206004820152601f60248201527f596f752063616e206f6e6c79206c6f77657220796f757220706f7274696f6e006044820152606401610a37565b6004819055611a3581612710612a86565b60055550565b6014546001600160a01b0382166000908152601e60205260408120549091670de0b6b3a764000091611a6d9190612a67565b611a779190612a53565b92915050565b6003546001600160a01b03163314611aa75760405162461bcd60e51b8152600401610a37906129ac565b674563918244f40000811115611aff5760405162461bcd60e51b815260206004820152601760248201527f426574204665652043616e2774204578636565642035250000000000000000006044820152606401610a37565b66038d7ea4c68000811015611b615760405162461bcd60e51b815260206004820152602260248201527f426574204665652043616e2774204265204c6f776572205468616e20302e3030604482015261312560f01b6064820152608401610a37565b601855565b600e805433918391829190600090611b7f908490612a3b565b9091555050601354670de0b6b3a764000090611b9b9083612a67565b611ba59190612a53565b60118190556001600160a01b0383166000908152601e602052604081208054909190611bd2908490612a3b565b909155505060115460128054600090611bec908490612a3b565b9091555050600254611c09906001600160a01b0316833086612362565b505050565b6003546001600160a01b03163314611c385760405162461bcd60e51b8152600401610a37906129ac565b678ac7230489e80000811115611c905760405162461bcd60e51b815260206004820181905260248201527f4d617820486f75736520456467652043616e6e6f7420457863656564203130256044820152606401610a37565b600d55565b6003546001600160a01b03163314611cbf5760405162461bcd60e51b8152600401610a37906129ac565b60026001541415611ce25760405162461bcd60e51b8152600401610a3790612a04565b600260015560405133904780156108fc02916000818181858888f19350505050158015610e5f573d6000803e3d6000fd5b6003546001600160a01b03163314611d3d5760405162461bcd60e51b8152600401610a37906129ac565b6001601f55565b6003546001600160a01b03163314611d6e5760405162461bcd60e51b8152600401610a37906129ac565b60026001541415611d915760405162461bcd60e51b8152600401610a3790612a04565b600260015560175480611db65760405162461bcd60e51b8152600401610a3790612982565b8060176000828254610e439190612a86565b6000546001600160a01b03163314611df25760405162461bcd60e51b8152600401610a37906129cf565b6001600160a01b038116611e575760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a37565b611e60816123a0565b50565b60026001541415611e865760405162461bcd60e51b8152600401610a3790612a04565b6002600155336000818152601e602052604090205480611eb85760405162461bcd60e51b8152600401610a3790612982565b6001600160a01b0382166000908152601e602052604081208054839290611ee0908490612a86565b925050819055508060126000828254611ef99190612a86565b9091555050601454600090670de0b6b3a764000090611f189084612a67565b611f229190612a53565b905080600e6000828254611f369190612a86565b909155505060025461100f906001600160a01b031633836122ff565b600082815260216020526040902060028101548314611fa05760405162461bcd60e51b815260206004820152600a6024820152691c995c5d595cdd08125160b21b6044820152606401610a37565b6007546001600160a01b0316331461200c5760405162461bcd60e51b815260206004820152602960248201527f46756c66696c6c6d656e74206f6e6c79207065726d697474656420627920436f60448201526837b93234b730ba37b960b91b6064820152608401610a37565b80546001146120555760405162461bcd60e51b81526020600482015260156024820152744265742073686f756c642062652070656e64696e6760581b6044820152606401610a37565b600060648360008151811061206c5761206c612b3b565b602002602001015161207e9190612afb565b60068301546001840154600385015492935090916001600160a01b03909116906000848411156120b0575060016120b4565b5060005b600080600090506000806064670de0b6b3a7640000601854886120d79190612a67565b6120e19190612a53565b6120eb9190612a53565b9350612710600454856120fe9190612a67565b6121089190612a53565b91506127106005548561211b9190612a67565b6121259190612a53565b905081601960008282546121399190612a3b565b9250508190555080601a60008282546121529190612a3b565b9091555060009050670de0b6b3a76400008761216d8b61197c565b6121779190612a67565b6121819190612a53565b905085600114156121fd576001600160a01b0388166000908152601c6020526040812080548392906121b4908490612a3b565b909155509093508390506121c88582612a3b565b600e60008282546121d99190612a86565b9250508190555086600e60008282546121f29190612a3b565b9091555061221e9050565b6122078588612a86565b600e60008282546122189190612a3b565b90915550505b6001600160a01b0388166000908152601d602052604081208054899290612246908490612a3b565b909155505060078b018a905560048b0181905560008b5560088b0186905561226c6123f0565b612274612417565b876001600160a01b03168d7f4d89b955284269a1e20c30ef6832efee5203a4383ec029ed552339ece4e99ea8888f6000815181106122b4576122b4612b3b565b602090810291909101810151604080519384529183015281018e9052606081018d9052608081018b905260a0810188905260c00160405180910390a350505050505050505050505050565b6040516001600160a01b038316602482015260448101829052611c0990849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261243e565b6040516001600160a01b038085166024830152831660448201526064810182905261239a9085906323b872dd60e01b9060840161232b565b50505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600e5460125461240890670de0b6b3a7640000612a67565b6124129190612a53565b601355565b601254600e5461242f90670de0b6b3a7640000612a67565b6124399190612a53565b601455565b6000612493826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166125109092919063ffffffff16565b805190915015611c0957808060200190518101906124b191906126d9565b611c095760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a37565b6060610d958484600085856001600160a01b0385163b6125725760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a37565b600080866001600160a01b0316858760405161258e91906128a1565b60006040518083038185875af1925050503d80600081146125cb576040519150601f19603f3d011682016040523d82523d6000602084013e6125d0565b606091505b50915091506125e08282866125eb565b979650505050505050565b606083156125fa5750816119a1565b82511561260a5782518084602001fd5b8160405162461bcd60e51b8152600401610a37919061294f565b6040518061028001604052806014905b61268c6040518061012001604052806000815260200160006001600160a01b03168152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b8152602001906001900390816126345790505090565b80356001600160a01b03811681146126b957600080fd5b919050565b6000602082840312156126d057600080fd5b6119a1826126a2565b6000602082840312156126eb57600080fd5b815180151581146119a157600080fd5b60006020828403121561270d57600080fd5b5035919050565b60006020828403121561272657600080fd5b5051919050565b6000806040838503121561274057600080fd5b8235915060208084013567ffffffffffffffff8082111561276057600080fd5b818601915086601f83011261277457600080fd5b81358181111561278657612786612b51565b8060051b604051601f19603f830116810181811085821117156127ab576127ab612b51565b604052828152858101935084860182860187018b10156127ca57600080fd5b600095505b838610156127ed5780358552600195909501949386019386016127cf565b508096505050505050509250929050565b6000806040838503121561281157600080fd5b50508035926020909101359150565b600080600080600060a0868803121561283857600080fd5b853563ffffffff8116811461284c57600080fd5b9450602086013561ffff8116811461286357600080fd5b935060408601359250606086013567ffffffffffffffff8116811461288757600080fd5b9150612895608087016126a2565b90509295509295909350565b600082516128b3818460208701612a9d565b9190910192915050565b6116808101818360005b6014811015612946578151805184526020808201516001600160a01b03168186015260408083015190860152606080830151908601526080808301519086015260a0808301519086015260c0808301519086015260e08083015190860152610100918201519185019190915261012090930192909101906001016128c7565b50505092915050565b602081526000825180602084015261296e816040850160208701612a9d565b601f01601f19169190910160400192915050565b60208082526010908201526f4e6f7468696e6720746f20636c61696d60801b604082015260600190565b6020808252600990820152684f6e6c79205465616d60b81b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60008219821115612a4e57612a4e612b0f565b500190565b600082612a6257612a62612b25565b500490565b6000816000190483118215151615612a8157612a81612b0f565b500290565b600082821015612a9857612a98612b0f565b500390565b60005b83811015612ab8578181015183820152602001612aa0565b8381111561239a5750506000910152565b600081612ad857612ad8612b0f565b506000190190565b6000600019821415612af457612af4612b0f565b5060010190565b600082612b0a57612b0a612b25565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea26469706673582212204a855a3b4c06b8a5f1b6a99922f8aa943b725f2c878aa5abd54fe20f16adcc2b64736f6c63430008070033

Deployed ByteCode Sourcemap

33340:21794:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41687:91;;;;;;;;;;-1:-1:-1;41760:10:0;;41687:91;;;18348:25:1;;;18336:2;18321:18;41687:91:0;;;;;;;;40292;;;;;;;;;;-1:-1:-1;40365:10:0;;40292:91;;54962:74;;;;;;;;;;;;;:::i;:::-;;43617:30;;;;;;;;;;;;;;;;34386:91;;;;;;;;;;-1:-1:-1;34386:91:0;;;;;:::i;:::-;;:::i;33904:86::-;;;;;;;;;;-1:-1:-1;33948:7:0;13868:6;33904:86;;-1:-1:-1;;;;;13868:6:0;;;3689:51:1;;3677:2;3662:18;33904:86:0;3543:203:1;37801:176:0;;;;;;;;;;-1:-1:-1;37801:176:0;;;;;:::i;:::-;;:::i;42112:35::-;;;;;;;;;;;;;;;;6832:281;;;;;;;;;;-1:-1:-1;6832:281:0;;;;;:::i;:::-;;:::i;46326:35::-;;;;;;;;;;-1:-1:-1;46326:35:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46326:35:0;;;;;;;;;;;;;;;;;;;;;18755:25:1;;;-1:-1:-1;;;;;18816:32:1;;;18811:2;18796:18;;18789:60;18865:18;;;18858:34;;;;18923:2;18908:18;;18901:34;;;;18966:3;18951:19;;18944:35;;;;18836:3;18995:19;;18988:35;19054:3;19039:19;;19032:35;19098:3;19083:19;;19076:35;19142:3;19127:19;;19120:35;18742:3;18727:19;46326:35:0;18384:777:1;40027:82:0;;;;;;;;;;-1:-1:-1;40095:6:0;;40027:82;;49849:405;;;;;;;;;;-1:-1:-1;49849:405:0;;;;;:::i;:::-;;:::i;48644:43::-;;;;;;;;;;;54962:74;35053:188;;;;;;;;;;-1:-1:-1;35053:188:0;;;;;:::i;:::-;;:::i;39528:226::-;;;;;;;;;;-1:-1:-1;39528:226:0;;;;;:::i;:::-;;:::i;43181:83::-;;;;;;;;;;-1:-1:-1;43250:6:0;;43181:83;;43716:256;;;;;;;;;;;;;:::i;37693:102::-;;;;;;;;;;-1:-1:-1;37771:16:0;;37693:102;;41786:255;;;;;;;;;;-1:-1:-1;41786:255:0;;;;;:::i;:::-;;:::i;36254:322::-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36342:226:0;;;;;;;;36384:14;;-1:-1:-1;;;;;36384:14:0;36342:226;;36419:7;;36342:226;;;;36456:16;;;;;;36342:226;;;;;;;36506:20;;;;;36342:226;;;;36548:8;;;;;;36342:226;;;;;36254:322;;;;;17802:13:1;;-1:-1:-1;;;;;17798:39:1;17780:58;;17894:4;17882:17;;;17876:24;17854:20;;;17847:54;17936:17;;;17930:24;17973:10;18021:21;;;17999:20;;;17992:51;;;;18103:4;18091:17;;;18085:24;18111:6;18081:37;18059:20;;;18052:67;18179:4;18167:17;;;18161:24;18157:33;;;18135:20;;;18128:63;;;;17767:3;17752:19;36254:322:0;17571:626:1;49380:302:0;;;;;;;;;;-1:-1:-1;49380:302:0;;;;;:::i;:::-;;:::i;38235:102::-;;;;;;;;;;-1:-1:-1;38313:16:0;;38235:102;;42261:268;;;;;;;;;;;;;:::i;50262:1787::-;;;;;;:::i;:::-;;:::i;46966:120::-;;;;;;;;;;-1:-1:-1;46966:120:0;;;;;:::i;:::-;-1:-1:-1;;;;;47056:22:0;47030:7;47056:22;;;:12;:22;;;;;;;46966:120;14446:103;;;;;;;;;;;;;:::i;39236:92::-;;;;;;;;;;-1:-1:-1;39309:11:0;;39236:92;;46757:106;;;;;;;;;;-1:-1:-1;46837:18:0;;46757:106;;47094:124;;;;;;;;;;-1:-1:-1;47094:124:0;;;;;:::i;:::-;-1:-1:-1;;;;;47190:20:0;47163:7;47190:20;;;:10;:20;;;;;;;47094:124;40117:83;;;;;;;;;;-1:-1:-1;40117:83:0;;;;;:::i;:::-;;:::i;40391:91::-;;;;;;;;;;-1:-1:-1;40391:91:0;;;;;:::i;:::-;;:::i;44035:253::-;;;;;;;;;;;;;:::i;44849:83::-;;;;;;;;;;-1:-1:-1;44849:83:0;;;;;:::i;:::-;;:::i;47392:400::-;;;;;;;;;;-1:-1:-1;47392:400:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;36614:438::-;;;;;;;;;;-1:-1:-1;36614:438:0;;;;;:::i;:::-;;:::i;43579:31::-;;;;;;;;;;;;;;;;39337:183;;;;;;;;;;-1:-1:-1;39337:183:0;;;;;:::i;:::-;;:::i;46872:86::-;;;;;;;;;;-1:-1:-1;46942:8:0;;46872:86;;44757:83;;;;;;;;;;-1:-1:-1;44826:6:0;;44757:83;;34857:191;;;;;;;;;;-1:-1:-1;34857:191:0;;;;;:::i;:::-;;:::i;48448:156::-;;;;;;;;;;-1:-1:-1;48448:156:0;;;;;:::i;:::-;;:::i;55044:87::-;;;;;;;;;;-1:-1:-1;55113:3:0;:10;55044:87;;43273:239;;;;;;;;;;-1:-1:-1;43273:239:0;;;;;:::i;:::-;;:::i;47852:527::-;;;;;;;;;;-1:-1:-1;47852:527:0;;;;;:::i;:::-;;:::i;38343:172::-;;;;;;;;;;-1:-1:-1;38343:172:0;;;;;:::i;:::-;;:::i;45011:124::-;;;;;;;;;;;;;:::i;46659:90::-;;;;;;;;;;-1:-1:-1;46731:10:0;;46659:90;;54882:72;;;;;;;;;;;;;:::i;42596:265::-;;;;;;;;;;;;;:::i;14704:201::-;;;;;;;;;;-1:-1:-1;14704:201:0;;;;;:::i;:::-;;:::i;42154:34::-;;;;;;;;;;;;;;;;48699:580;;;;;;;;;;;;;:::i;54962:74::-;34337:10;;-1:-1:-1;;;;;34337:10:0;34323;:24;34315:46;;;;-1:-1:-1;;;34315:46:0;;;;;;;:::i;:::-;;;;;;;;;55027:1:::1;55016:8;:12:::0;54962:74::o;34386:91::-;34337:10;;-1:-1:-1;;;;;34337:10:0;34323;:24;34315:46;;;;-1:-1:-1;;;34315:46:0;;;;;;;:::i;:::-;34452:10:::1;:17:::0;;-1:-1:-1;;;;;;34452:17:0::1;-1:-1:-1::0;;;;;34452:17:0;;;::::1;::::0;;;::::1;::::0;;34386:91::o;37801:176::-;34337:10;;-1:-1:-1;;;;;34337:10:0;34323;:24;34315:46;;;;-1:-1:-1;;;34315:46:0;;;;;;;:::i;:::-;37883:20:::1;37875:4;:28;;37867:77;;;::::0;-1:-1:-1;;;37867:77:0;;11169:2:1;37867:77:0::1;::::0;::::1;11151:21:1::0;11208:2;11188:18;;;11181:30;11247:34;11227:18;;;11220:62;-1:-1:-1;;;11298:18:1;;;11291:34;11342:19;;37867:77:0::1;10967:400:1::0;37867:77:0::1;37949:16;:23:::0;37801:176::o;6832:281::-;6936:10;-1:-1:-1;;;;;6950:14:0;6936:28;;6932:121;;6988:53;;-1:-1:-1;;;6988:53:0;;7014:10;6988:53;;;3963:34:1;-1:-1:-1;;;;;7026:14:0;4033:15:1;4013:18;;;4006:43;3898:18;;6988:53:0;3751:304:1;6932:121:0;7063:42;7082:9;7093:11;7063:18;:42::i;:::-;6832:281;;:::o;49849:405::-;32393:1;32991:7;;:19;;32983:63;;;;-1:-1:-1;;;32983:63:0;;;;;;;:::i;:::-;32393:1;33124:7;:18;49914:16:::1;49933:12:::0;;;:4:::1;:12;::::0;;;;50028:10:::1;::::0;::::1;::::0;:16:::1;::::0;50041:3:::1;50028:16;:::i;:::-;50012:12;:32;;50004:74;;;::::0;-1:-1:-1;;;50004:74:0;;11924:2:1;50004:74:0::1;::::0;::::1;11906:21:1::0;11963:2;11943:18;;;11936:30;12002:31;11982:18;;;11975:59;12051:18;;50004:74:0::1;11722:353:1::0;50004:74:0::1;50097:12:::0;;50113:1:::1;50097:17;50089:45;;;::::0;-1:-1:-1;;;50089:45:0;;17429:2:1;50089:45:0::1;::::0;::::1;17411:21:1::0;17468:2;17448:18;;;17441:30;-1:-1:-1;;;17487:18:1;;;17480:45;17542:18;;50089:45:0::1;17227:339:1::0;50089:45:0::1;50198:1;50183:16:::0;;50235:11:::1;::::0;::::1;::::0;50221:9:::1;::::0;::::1;::::0;-1:-1:-1;;;;;50221:9:0::1;50183:12;50210:21:::0;;;:10:::1;:21;::::0;;;;:36;;:21;;50183:12;50210:36:::1;::::0;50235:11;;50210:36:::1;:::i;:::-;::::0;;;-1:-1:-1;;32349:1:0;33303:22;;-1:-1:-1;;49849:405:0:o;48644:43::-;:::o;35053:188::-;34337:10;;-1:-1:-1;;;;;34337:10:0;34323;:24;34315:46;;;;-1:-1:-1;;;34315:46:0;;;;;;;:::i;:::-;35130:11:::1;;35122:4;:19;;35114:63;;;::::0;-1:-1:-1;;;35114:63:0;;14073:2:1;35114:63:0::1;::::0;::::1;14055:21:1::0;14112:2;14092:18;;;14085:30;14151:33;14131:18;;;14124:61;14202:18;;35114:63:0::1;13871:355:1::0;35114:63:0::1;35186:11;:18:::0;;;35224:12:::1;35200:4:::0;35224:5:::1;:12;:::i;:::-;35209;:27:::0;-1:-1:-1;35053:188:0:o;39528:226::-;39582:7;39601:18;39622:19;39636:4;39622:13;:19::i;:::-;39601:40;;39652:14;39711:10;39704:3;39685:16;;39671:11;;:30;;;;:::i;:::-;:36;;;;:::i;:::-;39670:51;;;;:::i;:::-;39652:70;39528:226;-1:-1:-1;;;;39528:226:0:o;43716:256::-;13841:7;13868:6;-1:-1:-1;;;;;13868:6:0;12597:10;14015:23;14007:68;;;;-1:-1:-1;;;14007:68:0;;;;;;;:::i;:::-;32393:1:::1;32991:7;;:19;;32983:63;;;;-1:-1:-1::0;;;32983:63:0::1;;;;;;;:::i;:::-;32393:1;33124:7;:18:::0;43810:16:::2;::::0;43845:11;43837:39:::2;;;::::0;-1:-1:-1;;;43837:39:0;;8587:2:1;43837:39:0::2;::::0;::::2;8569:21:1::0;8626:2;8606:18;;;8599:30;-1:-1:-1;;;8645:18:1;;;8638:45;8700:18;;43837:39:0::2;8385:339:1::0;43837:39:0::2;43907:7;43887:16;;:27;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;43925:5:0::2;::::0;:39:::2;::::0;-1:-1:-1;;;;;43925:5:0::2;43944:10;43956:7:::0;43925:18:::2;:39::i;:::-;-1:-1:-1::0;32349:1:0::1;33303:22:::0;;43716:256::o;41786:255::-;34337:10;;-1:-1:-1;;;;;34337:10:0;34323;:24;34315:46;;;;-1:-1:-1;;;34315:46:0;;;;;;;:::i;:::-;41868:20:::1;41860:4;:28;;41852:70;;;::::0;-1:-1:-1;;;41852:70:0;;7894:2:1;41852:70:0::1;::::0;::::1;7876:21:1::0;7933:2;7913:18;;;7906:30;7972:31;7952:18;;;7945:59;8021:18;;41852:70:0::1;7692:353:1::0;41852:70:0::1;41946:16;41938:4;:24;;41930:75;;;::::0;-1:-1:-1;;;41930:75:0;;16344:2:1;41930:75:0::1;::::0;::::1;16326:21:1::0;16383:2;16363:18;;;16356:30;16422:34;16402:18;;;16395:62;-1:-1:-1;;;16473:18:1;;;16466:36;16519:19;;41930:75:0::1;16142:402:1::0;41930:75:0::1;42016:10;:17:::0;41786:255::o;49380:302::-;32393:1;32991:7;;:19;;32983:63;;;;-1:-1:-1;;;32983:63:0;;;;;;;:::i;:::-;32393:1;33124:7;:18;49472:10:::1;49454:15;49510:19:::0;;;:10:::1;:19;::::0;;;;;49548:17;;::::1;;49540:43;;;::::0;-1:-1:-1;;;49540:43:0;;16751:2:1;49540:43:0::1;::::0;::::1;16733:21:1::0;16790:2;16770:18;;;16763:30;-1:-1:-1;;;16809:18:1;;;16802:43;16862:18;;49540:43:0::1;16549:337:1::0;49540:43:0::1;-1:-1:-1::0;;;;;49594:19:0;::::1;;::::0;;;:10:::1;:19;::::0;;;;:30;;49617:7;;49594:19;:30:::1;::::0;49617:7;;49594:30:::1;:::i;:::-;::::0;;;-1:-1:-1;;49635:5:0::1;::::0;:39:::1;::::0;-1:-1:-1;;;;;49635:5:0::1;49654:10;49666:7:::0;49635:18:::1;:39::i;:::-;-1:-1:-1::0;;32349:1:0;33303:22;;-1:-1:-1;49380:302:0:o;42261:268::-;13841:7;13868:6;-1:-1:-1;;;;;13868:6:0;12597:10;14015:23;14007:68;;;;-1:-1:-1;;;14007:68:0;;;;;;;:::i;:::-;32393:1:::1;32991:7;;:19;;32983:63;;;;-1:-1:-1::0;;;32983:63:0::1;;;;;;;:::i;:::-;32393:1;33124:7;:18:::0;42359:20:::2;::::0;42398:11;42390:39:::2;;;::::0;-1:-1:-1;;;42390:39:0;;8587:2:1;42390:39:0::2;::::0;::::2;8569:21:1::0;8626:2;8606:18;;;8599:30;-1:-1:-1;;;8645:18:1;;;8638:45;8700:18;;42390:39:0::2;8385:339:1::0;42390:39:0::2;42464:7;42440:20;;:31;;;;;;;:::i;50262:1787::-:0;32393:1;32991:7;;:19;;32983:63;;;;-1:-1:-1;;;32983:63:0;;;;;;;:::i;:::-;32393:1;33124:7;:18;50418:24:::1;50436:6;50418:15;:24;:::i;:::-;50405:10;:37:::0;;;50474:6:::1;-1:-1:-1::0;50461:19:0;:42:::1;;;50497:6;50484:10;;:19;50461:42;50453:95;;;::::0;-1:-1:-1;;;50453:95:0;;7486:2:1;50453:95:0::1;::::0;::::1;7468:21:1::0;7525:2;7505:18;;;7498:30;7564:34;7544:18;;;7537:62;-1:-1:-1;;;7615:18:1;;;7608:37;7662:19;;50453:95:0::1;7284:403:1::0;50453:95:0::1;50580:6;;50567:9;:19;;50559:39;;;::::0;-1:-1:-1;;;50559:39:0;;8252:2:1;50559:39:0::1;::::0;::::1;8234:21:1::0;8291:1;8271:18;;;8264:29;-1:-1:-1;;;8309:18:1;;;8302:37;8356:18;;50559:39:0::1;8050:330:1::0;50559:39:0::1;50656:10;50638:15;50701:21:::0;;;:12:::1;:21:::0;;;;;;50737:18;;;::::1;::::0;:54:::1;;-1:-1:-1::0;50790:1:0::1;50759:28;50774:13:::0;50759:12:::1;:28;:::i;:::-;:32;50737:54;50733:158;;;50808:71;::::0;-1:-1:-1;;;50808:71:0;;15202:2:1;50808:71:0::1;::::0;::::1;15184:21:1::0;15241:2;15221:18;;;15214:30;15280:34;15260:18;;;15253:62;15351:31;15331:18;;;15324:59;15400:19;;50808:71:0::1;15000:425:1::0;50733:158:0::1;-1:-1:-1::0;;;;;50901:21:0;::::1;;::::0;;;:12:::1;:21:::0;;;;;50925:12:::1;50901:36:::0;;50958:8:::1;::::0;:13;50950:34:::1;;;::::0;-1:-1:-1;;;50950:34:0;;17093:2:1;50950:34:0::1;::::0;::::1;17075:21:1::0;17132:1;17112:18;;;17105:29;-1:-1:-1;;;17150:18:1;;;17143:38;17198:18;;50950:34:0::1;16891:331:1::0;50950:34:0::1;51017:6;;51003:10;:20;;50995:64;;;::::0;-1:-1:-1;;;50995:64:0;;12643:2:1;50995:64:0::1;::::0;::::1;12625:21:1::0;12682:2;12662:18;;;12655:30;12721:33;12701:18;;;12694:61;12772:18;;50995:64:0::1;12441:355:1::0;50995:64:0::1;51086:1;51078:4;:9;;:23;;;;;51099:2;51091:4;:10;;51078:23;51070:65;;;::::0;-1:-1:-1;;;51070:65:0;;13003:2:1;51070:65:0::1;::::0;::::1;12985:21:1::0;13042:2;13022:18;;;13015:30;13081:31;13061:18;;;13054:59;13130:18;;51070:65:0::1;12801:353:1::0;51070:65:0::1;51168:15;51178:4;51168:9;:15::i;:::-;51154:10;:29;;51146:64;;;::::0;-1:-1:-1;;;51146:64:0;;13722:2:1;51146:64:0::1;::::0;::::1;13704:21:1::0;13761:2;13741:18;;;13734:30;-1:-1:-1;;;13780:18:1;;;13773:52;13842:18;;51146:64:0::1;13520:346:1::0;51146:64:0::1;51223:5;::::0;:58:::1;::::0;-1:-1:-1;;;;;51223:5:0::1;51246:7:::0;51263:4:::1;51270:10:::0;51223:22:::1;:58::i;:::-;51305:11;::::0;51350:7:::1;::::0;51403:20:::1;::::0;51305:183:::1;::::0;-1:-1:-1;;;51305:183:0;;51403:20:::1;51305:183:::0;::::1;6192:25:1::0;;;;-1:-1:-1;;;51372:16:0;::::1;;;6233:18:1::0;;;6226:59;51403:20:0;;::::1;;;6301:18:1::0;;;6294:47;51438:16:0::1;::::0;;::::1;6386:18:1::0;;;6379:43;51469:8:0;;;::::1;;6438:19:1::0;;;6431:44;51292:10:0::1;::::0;-1:-1:-1;;;;;51305:11:0::1;::::0;:30:::1;::::0;6164:19:1;;51305:183:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51292:196;;51501:17;51521:246;;;;;;;;51546:1;51521:246;;;;51565:7;-1:-1:-1::0;;;;;51521:246:0::1;;;;;51588:2;51521:246;;;;51610:10;51521:246;;;;51640:1;51521:246;;;;51660:12;51521:246;;;;51698:4;51521:246;;;;51732:1;51521:246;;;;51754:1;51521:246;;::::0;51501:266:::1;;51778:9;:18;51788:7;-1:-1:-1::0;;;;;51778:18:0::1;-1:-1:-1::0;;;;;51778:18:0::1;;;;;;;;;;;;51802:2;51778:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51827:6;51816:4;:8;51821:2;51816:8;;;;;;;;;;;:17;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;51816:17:0::1;;;;;-1:-1:-1::0;;;;;51816:17:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51844:3;51853:2;51844:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51878:10;51865;;:23;51861:79;;;51905:10;:23:::0;;;51861:79:::1;51972:10;51950:18;;:32;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;51998:43:0::1;::::0;;19340:25:1;;;19396:2;19381:18;;19374:34;;;-1:-1:-1;;;;;51998:43:0;::::1;::::0;52011:2;;51998:43:::1;::::0;19313:18:1;51998:43:0::1;;;;;;;-1:-1:-1::0;;32349:1:0;33303:22;;-1:-1:-1;;;;50262:1787:0:o;14446:103::-;13841:7;13868:6;-1:-1:-1;;;;;13868:6:0;12597:10;14015:23;14007:68;;;;-1:-1:-1;;;14007:68:0;;;;;;;:::i;:::-;14511:30:::1;14538:1;14511:18;:30::i;40117:83::-:0;34337:10;;-1:-1:-1;;;;;34337:10:0;34323;:24;34315:46;;;;-1:-1:-1;;;34315:46:0;;;;;;;:::i;:::-;40179:6:::1;:13:::0;40117:83::o;40391:91::-;34337:10;;-1:-1:-1;;;;;34337:10:0;34323;:24;34315:46;;;;-1:-1:-1;;;34315:46:0;;;;;;;:::i;:::-;40457:10:::1;:17:::0;40391:91::o;44035:253::-;34337:10;;-1:-1:-1;;;;;34337:10:0;34323;:24;34315:46;;;;-1:-1:-1;;;34315:46:0;;;;;;;:::i;:::-;32393:1:::1;32991:7;;:19;;32983:63;;;;-1:-1:-1::0;;;32983:63:0::1;;;;;;;:::i;:::-;32393:1;33124:7;:18:::0;44127:15:::2;::::0;44161:11;44153:40:::2;;;;-1:-1:-1::0;;;44153:40:0::2;;;;;;;:::i;:::-;44223:7;44204:15;;:26;;;;;;;:::i;44849:83::-:0;34337:10;;-1:-1:-1;;;;;34337:10:0;34323;:24;34315:46;;;;-1:-1:-1;;;34315:46:0;;;;;;;:::i;:::-;44911:6:::1;:13:::0;44849:83::o;47392:400::-;47455:15;;:::i;:::-;47493:23;;:::i;:::-;-1:-1:-1;;;;;47580:19:0;;47527:21;47580:19;;;:9;:19;;;;;:26;47563:194;47612:1;47608;:5;:27;;;;;47633:2;47617:13;:18;47608:27;47563:194;;;-1:-1:-1;;;;;47688:19:0;;47683:32;47688:19;;;:9;:19;;;;;47683:4;;:32;47708:5;47712:1;47708;:5;:::i;:::-;47688:26;;;;;;;;:::i;:::-;;;;;;;;;;;;;47683:32;;;;;;;;;;;;;;;47657:58;;;;;;;;;;;;;;;-1:-1:-1;;;;;47657:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:8;47666:13;47657:23;;;;;;;:::i;:::-;;;;:58;47730:15;;;;:::i;:::-;;;;47637:3;;;;;:::i;:::-;;;;47563:194;;;-1:-1:-1;47776:8:0;;47392:400;-1:-1:-1;;;47392:400:0:o;36614:438::-;34337:10;;-1:-1:-1;;;;;34337:10:0;34323;:24;34315:46;;;;-1:-1:-1;;;34315:46:0;;;;;;;:::i;:::-;36843:16:::1;:36:::0;;36890:44:::1;::::0;;::::1;::::0;::::1;-1:-1:-1::0;;36890:44:0;;;36843:36:::1;::::0;;::::1;36890:44:::0;;;;;;;::::1;::::0;;;36945:7:::1;:18:::0;36974:16:::1;:33:::0;;::::1;::::0;;::::1;-1:-1:-1::0;;;36974:33:0::1;-1:-1:-1::0;;;;36974:33:0;;::::1;::::0;;;::::1;::::0;;;37012:14:::1;:32:::0;;-1:-1:-1;;;;;37012:32:0;;::::1;-1:-1:-1::0;;;;;;37012:32:0;;::::1;::::0;;;::::1;::::0;;36614:438::o;39337:183::-;39395:7;39414:18;39480:4;39460:16;;39436:21;:40;;;;:::i;:::-;39435:49;;;;:::i;:::-;39414:70;39337:183;-1:-1:-1;;;39337:183:0:o;34857:191::-;13841:7;13868:6;-1:-1:-1;;;;;13868:6:0;12597:10;14015:23;14007:68;;;;-1:-1:-1;;;14007:68:0;;;;;;;:::i;:::-;34936:12:::1;;34928:4;:20;;34920:64;;;::::0;-1:-1:-1;;;34920:64:0;;14073:2:1;34920:64:0::1;::::0;::::1;14055:21:1::0;14112:2;14092:18;;;14085:30;14151:33;14131:18;;;14124:61;14202:18;;34920:64:0::1;13871:355:1::0;34920:64:0::1;34993:12;:19:::0;;;35031:12:::1;35008:4:::0;35031:5:::1;:12;:::i;:::-;35017:11;:26:::0;-1:-1:-1;34857:191:0:o;48448:156::-;48568:20;;-1:-1:-1;;;;;48543:22:0;;48515:7;48543:22;;;:12;:22;;;;;;48515:7;;48591:4;;48543:45;;48568:20;48543:45;:::i;:::-;:52;;;;:::i;:::-;48535:61;48448:156;-1:-1:-1;;48448:156:0:o;43273:239::-;34337:10;;-1:-1:-1;;;;;34337:10:0;34323;:24;34315:46;;;;-1:-1:-1;;;34315:46:0;;;;;;;:::i;:::-;43351:19:::1;43343:4;:27;;43335:63;;;::::0;-1:-1:-1;;;43335:63:0;;15992:2:1;43335:63:0::1;::::0;::::1;15974:21:1::0;16031:2;16011:18;;;16004:30;16070:25;16050:18;;;16043:53;16113:18;;43335:63:0::1;15790:347:1::0;43335:63:0::1;43425:16;43417:4;:24;;43409:71;;;::::0;-1:-1:-1;;;43409:71:0;;9683:2:1;43409:71:0::1;::::0;::::1;9665:21:1::0;9722:2;9702:18;;;9695:30;9761:34;9741:18;;;9734:62;-1:-1:-1;;;9812:18:1;;;9805:32;9854:19;;43409:71:0::1;9481:398:1::0;43409:71:0::1;43491:6;:13:::0;43273:239::o;47852:527::-;48030:11;:27;;47928:10;;48012:7;;;;48030:11;47910:15;;48030:27;;48012:7;;48030:27;:::i;:::-;;;;-1:-1:-1;;48191:19:0;;48214:4;;48176:34;;:12;:34;:::i;:::-;48175:43;;;;:::i;:::-;48160:12;:58;;;-1:-1:-1;;;;;48229:21:0;;;;;;:12;:21;;;;;:37;;:21;;;:37;;48160:58;;48229:37;:::i;:::-;;;;-1:-1:-1;;48291:12:0;;48277:10;:26;;:10;;:26;;48291:12;;48277:26;:::i;:::-;;;;-1:-1:-1;;48316:5:0;;:55;;-1:-1:-1;;;;;48316:5:0;48339:7;48356:4;48363:7;48316:22;:55::i;:::-;47899:480;;47852:527;:::o;38343:172::-;34337:10;;-1:-1:-1;;;;;34337:10:0;34323;:24;34315:46;;;;-1:-1:-1;;;34315:46:0;;;;;;;:::i;:::-;38425:20:::1;38417:4;:28;;38409:73;;;::::0;-1:-1:-1;;;38409:73:0;;13361:2:1;38409:73:0::1;::::0;::::1;13343:21:1::0;;;13380:18;;;13373:30;13439:34;13419:18;;;13412:62;13491:18;;38409:73:0::1;13159:356:1::0;38409:73:0::1;38487:16;:23:::0;38343:172::o;45011:124::-;34337:10;;-1:-1:-1;;;;;34337:10:0;34323;:24;34315:46;;;;-1:-1:-1;;;34315:46:0;;;;;;;:::i;:::-;32393:1:::1;32991:7;;:19;;32983:63;;;;-1:-1:-1::0;;;32983:63:0::1;;;;;;;:::i;:::-;32393:1;33124:7;:18:::0;45076:51:::2;::::0;45084:10:::2;::::0;45105:21:::2;45076:51:::0;::::2;;;::::0;::::2;::::0;;;45105:21;45084:10;45076:51;::::2;;;;;;;;;;;;;::::0;::::2;;;;54882:72:::0;34337:10;;-1:-1:-1;;;;;34337:10:0;34323;:24;34315:46;;;;-1:-1:-1;;;34315:46:0;;;;;;;:::i;:::-;54945:1:::1;54934:8;:12:::0;54882:72::o;42596:265::-;34337:10;;-1:-1:-1;;;;;34337:10:0;34323;:24;34315:46;;;;-1:-1:-1;;;34315:46:0;;;;;;;:::i;:::-;32393:1:::1;32991:7;;:19;;32983:63;;;;-1:-1:-1::0;;;32983:63:0::1;;;;;;;:::i;:::-;32393:1;33124:7;:18:::0;42692:19:::2;::::0;42730:11;42722:40:::2;;;;-1:-1:-1::0;;;42722:40:0::2;;;;;;;:::i;:::-;42796:7;42773:19;;:30;;;;;;;:::i;14704:201::-:0;13841:7;13868:6;-1:-1:-1;;;;;13868:6:0;12597:10;14015:23;14007:68;;;;-1:-1:-1;;;14007:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;14793:22:0;::::1;14785:73;;;::::0;-1:-1:-1;;;14785:73:0;;9276:2:1;14785:73:0::1;::::0;::::1;9258:21:1::0;9315:2;9295:18;;;9288:30;9354:34;9334:18;;;9327:62;-1:-1:-1;;;9405:18:1;;;9398:36;9451:19;;14785:73:0::1;9074:402:1::0;14785:73:0::1;14869:28;14888:8;14869:18;:28::i;:::-;14704:201:::0;:::o;48699:580::-;32393:1;32991:7;;:19;;32983:63;;;;-1:-1:-1;;;32983:63:0;;;;;;;:::i;:::-;32393:1;33124:7;:18;48774:10:::1;48756:15;48817:21:::0;;;:12:::1;:21;::::0;;;;;48858:15;48849:45:::1;;;;-1:-1:-1::0;;;48849:45:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;48977:21:0;::::1;;::::0;;;:12:::1;:21;::::0;;;;:36;;49002:11;;48977:21;:36:::1;::::0;49002:11;;48977:36:::1;:::i;:::-;;;;;;;;49038:11;49024:10;;:25;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;49155:20:0::1;::::0;49125:13:::1;::::0;49178:4:::1;::::0;49141:34:::1;::::0;:11;:34:::1;:::i;:::-;:41;;;;:::i;:::-;49125:57;;49208:5;49193:11;;:20;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;49234:5:0::1;::::0;:37:::1;::::0;-1:-1:-1;;;;;49234:5:0::1;49253:10;49265:5:::0;49234:18:::1;:37::i;52057:2817::-:0;52188:16;52207:15;;;:4;:15;;;;;52241:7;;;;:20;;52233:43;;;;-1:-1:-1;;;52233:43:0;;10086:2:1;52233:43:0;;;10068:21:1;10125:2;10105:18;;;10098:30;-1:-1:-1;;;10144:18:1;;;10137:40;10194:18;;52233:43:0;9884:334:1;52233:43:0;52309:14;;-1:-1:-1;;;;;52309:14:0;52295:10;:28;52287:82;;;;-1:-1:-1;;;52287:82:0;;7076:2:1;52287:82:0;;;7058:21:1;7115:2;7095:18;;;7088:30;7154:34;7134:18;;;7127:62;-1:-1:-1;;;7205:18:1;;;7198:39;7254:19;;52287:82:0;6874:405:1;52287:82:0;52388:12;;52404:1;52388:17;52380:51;;;;-1:-1:-1;;;52380:51:0;;11574:2:1;52380:51:0;;;11556:21:1;11613:2;11593:18;;;11586:30;-1:-1:-1;;;11632:18:1;;;11625:51;11693:18;;52380:51:0;11372:345:1;52380:51:0;52508:18;52546:3;52529:11;52541:1;52529:14;;;;;;;;:::i;:::-;;;;;;;:20;;;;:::i;:::-;52582:17;;;;52682:9;;;;52728:11;;;;52508:41;;-1:-1:-1;52582:17:0;;-1:-1:-1;;;;;52682:9:0;;;;52562:17;53130:22;;;53126:161;;;-1:-1:-1;53204:1:0;53126:161;;;-1:-1:-1;53274:1:0;53126:161;53299:24;53472:16;53491:1;53472:20;;53504:19;53534:18;53642:3;53635:4;53626:6;;53608:15;:24;;;;:::i;:::-;:31;;;;:::i;:::-;:37;;;;:::i;:::-;53589:56;;53704:5;53689:12;;53670:16;:31;;;;:::i;:::-;:39;;;;:::i;:::-;53656:53;;53766:5;53752:11;;53733:16;:30;;;;:::i;:::-;:38;;;;:::i;:::-;53720:51;;53852:11;53832:16;;:31;;;;;;;:::i;:::-;;;;;;;;53893:10;53874:15;;:29;;;;;;;:::i;:::-;;;;-1:-1:-1;53976:27:0;;-1:-1:-1;54051:4:0;54033:15;54006:24;54020:9;54006:13;:24::i;:::-;:42;;;;:::i;:::-;:49;;;;:::i;:::-;53976:79;;54072:7;54083:1;54072:12;54068:328;;;-1:-1:-1;;;;;54101:18:0;;;;;;:10;:18;;;;;:41;;54123:19;;54101:18;:41;;54123:19;;54101:41;:::i;:::-;;;;-1:-1:-1;54168:19:0;;-1:-1:-1;54168:19:0;;-1:-1:-1;54218:38:0;54240:16;54168:19;54218:38;:::i;:::-;54202:11;;:55;;;;;;;:::i;:::-;;;;;;;;54287:15;54272:11;;:30;;;;;;;:::i;:::-;;;;-1:-1:-1;54068:328:0;;-1:-1:-1;54068:328:0;;54350:34;54368:16;54350:15;:34;:::i;:::-;54335:11;;:49;;;;;;;:::i;:::-;;;;-1:-1:-1;;54068:328:0;-1:-1:-1;;;;;54406:20:0;;;;;;:12;:20;;;;;:39;;54430:15;;54406:20;:39;;54430:15;;54406:39;:::i;:::-;;;;-1:-1:-1;;54458:21:0;;;:34;;;54503:11;;;:33;;;-1:-1:-1;54547:16:0;;54574:12;;;:22;;;54667:27;:25;:27::i;:::-;54705:28;:26;:28::i;:::-;54789:6;-1:-1:-1;;;;;54751:111:0;54778:9;54751:111;54769:7;54797:11;54809:1;54797:14;;;;;;;;:::i;:::-;;;;;;;;;;;;54751:111;;;19706:25:1;;;19747:18;;;19740:34;19790:18;;19783:34;;;19848:2;19833:18;;19826:34;;;19891:3;19876:19;;19869:35;;;19935:3;19920:19;;19913:35;;;19693:3;19678:19;54751:111:0;;;;;;;52177:2697;;;;;;;;;;;52057:2817;;:::o;27343:211::-;27487:58;;-1:-1:-1;;;;;4632:32:1;;27487:58:0;;;4614:51:1;4681:18;;;4674:34;;;27460:86:0;;27480:5;;-1:-1:-1;;;27510:23:0;4587:18:1;;27487:58:0;;;;-1:-1:-1;;27487:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;27487:58:0;-1:-1:-1;;;;;;27487:58:0;;;;;;;;;;27460:19;:86::i;27562:248::-;27733:68;;-1:-1:-1;;;;;4318:15:1;;;27733:68:0;;;4300:34:1;4370:15;;4350:18;;;4343:43;4402:18;;;4395:34;;;27706:96:0;;27726:5;;-1:-1:-1;;;27756:27:0;4235:18:1;;27733:68:0;4060:375:1;27706:96:0;27562:248;;;;:::o;15065:191::-;15139:16;15158:6;;-1:-1:-1;;;;;15175:17:0;;;-1:-1:-1;;;;;;15175:17:0;;;;;;15208:40;;15158:6;;;;;;;15208:40;;15139:16;15208:40;15128:128;15065:191;:::o;41112:118::-;41211:11;;41198:10;;41191:17;;:4;:17;:::i;:::-;:31;;;;:::i;:::-;41169:19;:53;41112:118::o;41238:120::-;41340:10;;41326:11;;41319:18;;:4;:18;:::i;:::-;:31;;;;:::i;:::-;41296:20;:54;41238:120::o;29892:716::-;30316:23;30342:69;30370:4;30342:69;;;;;;;;;;;;;;;;;30350:5;-1:-1:-1;;;;;30342:27:0;;;:69;;;;;:::i;:::-;30426:17;;30316:95;;-1:-1:-1;30426:21:0;30422:179;;30523:10;30512:30;;;;;;;;;;;;:::i;:::-;30504:85;;;;-1:-1:-1;;;30504:85:0;;14791:2:1;30504:85:0;;;14773:21:1;14830:2;14810:18;;;14803:30;14869:34;14849:18;;;14842:62;-1:-1:-1;;;14920:18:1;;;14913:40;14970:19;;30504:85:0;14589:406:1;19241:229:0;19378:12;19410:52;19432:6;19440:4;19446:1;19449:12;19378;-1:-1:-1;;;;;16791:19:0;;;20648:60;;;;-1:-1:-1;;;20648:60:0;;14433:2:1;20648:60:0;;;14415:21:1;14472:2;14452:18;;;14445:30;14511:31;14491:18;;;14484:59;14560:18;;20648:60:0;14231:353:1;20648:60:0;20722:12;20736:23;20763:6;-1:-1:-1;;;;;20763:11:0;20783:5;20790:4;20763:32;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20721:74;;;;20813:51;20830:7;20839:10;20851:12;20813:16;:51::i;:::-;20806:58;20361:511;-1:-1:-1;;;;;;;20361:511:0:o;23048:712::-;23198:12;23227:7;23223:530;;;-1:-1:-1;23258:10:0;23251:17;;23223:530;23372:17;;:21;23368:374;;23570:10;23564:17;23631:15;23618:10;23614:2;23610:19;23603:44;23368:374;23713:12;23706:20;;-1:-1:-1;;;23706:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;383:277::-;450:6;503:2;491:9;482:7;478:23;474:32;471:52;;;519:1;516;509:12;471:52;551:9;545:16;604:5;597:13;590:21;583:5;580:32;570:60;;626:1;623;616:12;665:180;724:6;777:2;765:9;756:7;752:23;748:32;745:52;;;793:1;790;783:12;745:52;-1:-1:-1;816:23:1;;665:180;-1:-1:-1;665:180:1:o;850:184::-;920:6;973:2;961:9;952:7;948:23;944:32;941:52;;;989:1;986;979:12;941:52;-1:-1:-1;1012:16:1;;850:184;-1:-1:-1;850:184:1:o;1039:1194::-;1132:6;1140;1193:2;1181:9;1172:7;1168:23;1164:32;1161:52;;;1209:1;1206;1199:12;1161:52;1245:9;1232:23;1222:33;;1274:2;1327;1316:9;1312:18;1299:32;1350:18;1391:2;1383:6;1380:14;1377:34;;;1407:1;1404;1397:12;1377:34;1445:6;1434:9;1430:22;1420:32;;1490:7;1483:4;1479:2;1475:13;1471:27;1461:55;;1512:1;1509;1502:12;1461:55;1548:2;1535:16;1570:2;1566;1563:10;1560:36;;;1576:18;;:::i;:::-;1622:2;1619:1;1615:10;1654:2;1648:9;1717:2;1713:7;1708:2;1704;1700:11;1696:25;1688:6;1684:38;1772:6;1760:10;1757:22;1752:2;1740:10;1737:18;1734:46;1731:72;;;1783:18;;:::i;:::-;1819:2;1812:22;1869:18;;;1903:15;;;;-1:-1:-1;1938:11:1;;;1968;;;1964:20;;1961:33;-1:-1:-1;1958:53:1;;;2007:1;2004;1997:12;1958:53;2029:1;2020:10;;2039:163;2053:2;2050:1;2047:9;2039:163;;;2110:17;;2098:30;;2071:1;2064:9;;;;;2148:12;;;;2180;;2039:163;;;2043:3;2221:6;2211:16;;;;;;;;1039:1194;;;;;:::o;2238:248::-;2306:6;2314;2367:2;2355:9;2346:7;2342:23;2338:32;2335:52;;;2383:1;2380;2373:12;2335:52;-1:-1:-1;;2406:23:1;;;2476:2;2461:18;;;2448:32;;-1:-1:-1;2238:248:1:o;2491:768::-;2583:6;2591;2599;2607;2615;2668:3;2656:9;2647:7;2643:23;2639:33;2636:53;;;2685:1;2682;2675:12;2636:53;2724:9;2711:23;2774:10;2767:5;2763:22;2756:5;2753:33;2743:61;;2800:1;2797;2790:12;2743:61;2823:5;-1:-1:-1;2880:2:1;2865:18;;2852:32;2928:6;2915:20;;2903:33;;2893:61;;2950:1;2947;2940:12;2893:61;2973:7;-1:-1:-1;3027:2:1;3012:18;;2999:32;;-1:-1:-1;3083:2:1;3068:18;;3055:32;3131:18;3118:32;;3106:45;;3096:73;;3165:1;3162;3155:12;3096:73;3188:7;-1:-1:-1;3214:39:1;3248:3;3233:19;;3214:39;:::i;:::-;3204:49;;2491:768;;;;;;;;:::o;3264:274::-;3393:3;3431:6;3425:13;3447:53;3493:6;3488:3;3481:4;3473:6;3469:17;3447:53;:::i;:::-;3516:16;;;;;3264:274;-1:-1:-1;;3264:274:1:o;4719:1217::-;4943:4;4928:20;;4932:9;5025:6;4901:4;5059:871;5073:4;5070:1;5067:11;5059:871;;;5130:13;;5168:9;;5156:22;;5201:4;5249:11;;;5243:18;-1:-1:-1;;;;;5239:44:1;5225:12;;;5218:66;5307:4;5351:11;;;5345:18;5331:12;;;5324:40;5387:4;5431:11;;;5425:18;5411:12;;;5404:40;5467:4;5511:11;;;5505:18;5491:12;;;5484:40;5271:3;5591:11;;;5585:18;5571:12;;;5564:40;5627:4;5671:11;;;5665:18;5651:12;;;5644:40;5707:4;5751:11;;;5745:18;5731:12;;;5724:40;5787:6;5833:11;;;5827:18;5813:12;;;5806:40;;;;5875:6;5866:16;;;;5905:15;;;;5280:1;5086:9;5059:871;;;5063:3;;;4719:1217;;;;:::o;6486:383::-;6635:2;6624:9;6617:21;6598:4;6667:6;6661:13;6710:6;6705:2;6694:9;6690:18;6683:34;6726:66;6785:6;6780:2;6769:9;6765:18;6760:2;6752:6;6748:15;6726:66;:::i;:::-;6853:2;6832:15;-1:-1:-1;;6828:29:1;6813:45;;;;6860:2;6809:54;;6486:383;-1:-1:-1;;6486:383:1:o;8729:340::-;8931:2;8913:21;;;8970:2;8950:18;;;8943:30;-1:-1:-1;;;9004:2:1;8989:18;;8982:46;9060:2;9045:18;;8729:340::o;10223:332::-;10425:2;10407:21;;;10464:1;10444:18;;;10437:29;-1:-1:-1;;;10497:2:1;10482:18;;10475:39;10546:2;10531:18;;10223:332::o;12080:356::-;12282:2;12264:21;;;12301:18;;;12294:30;12360:34;12355:2;12340:18;;12333:62;12427:2;12412:18;;12080:356::o;15430:355::-;15632:2;15614:21;;;15671:2;15651:18;;;15644:30;15710:33;15705:2;15690:18;;15683:61;15776:2;15761:18;;15430:355::o;19959:128::-;19999:3;20030:1;20026:6;20023:1;20020:13;20017:39;;;20036:18;;:::i;:::-;-1:-1:-1;20072:9:1;;19959:128::o;20092:120::-;20132:1;20158;20148:35;;20163:18;;:::i;:::-;-1:-1:-1;20197:9:1;;20092:120::o;20217:168::-;20257:7;20323:1;20319;20315:6;20311:14;20308:1;20305:21;20300:1;20293:9;20286:17;20282:45;20279:71;;;20330:18;;:::i;:::-;-1:-1:-1;20370:9:1;;20217:168::o;20390:125::-;20430:4;20458:1;20455;20452:8;20449:34;;;20463:18;;:::i;:::-;-1:-1:-1;20500:9:1;;20390:125::o;20520:258::-;20592:1;20602:113;20616:6;20613:1;20610:13;20602:113;;;20692:11;;;20686:18;20673:11;;;20666:39;20638:2;20631:10;20602:113;;;20733:6;20730:1;20727:13;20724:48;;;-1:-1:-1;;20768:1:1;20750:16;;20743:27;20520:258::o;20783:136::-;20822:3;20850:5;20840:39;;20859:18;;:::i;:::-;-1:-1:-1;;;20895:18:1;;20783:136::o;20924:135::-;20963:3;-1:-1:-1;;20984:17:1;;20981:43;;;21004:18;;:::i;:::-;-1:-1:-1;21051:1:1;21040:13;;20924:135::o;21064:112::-;21096:1;21122;21112:35;;21127:18;;:::i;:::-;-1:-1:-1;21161:9:1;;21064:112::o;21181:127::-;21242:10;21237:3;21233:20;21230:1;21223:31;21273:4;21270:1;21263:15;21297:4;21294:1;21287:15;21313:127;21374:10;21369:3;21365:20;21362:1;21355:31;21405:4;21402:1;21395:15;21429:4;21426:1;21419:15;21445:127;21506:10;21501:3;21497:20;21494:1;21487:31;21537:4;21534:1;21527:15;21561:4;21558:1;21551:15;21577:127;21638:10;21633:3;21629:20;21626:1;21619:31;21669:4;21666:1;21659:15;21693:4;21690:1;21683:15

Swarm Source

ipfs://4a855a3b4c06b8a5f1b6a99922f8aa943b725f2c878aa5abd54fe20f16adcc2b
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
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.