Contract 0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa5

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xd234fea555f4067df60e4faaae48b7e5ae5b9617d19870b05270c0fd77273275Deposit234668112021-11-29 10:20:312 hrs 18 mins ago0xf5e0164c3c2478389461f7196cc4f6116fec2e9a IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.013451081079
0x424fe66e88401f9d87287759fa8a8d6f6693b16a89180ac0a61cd0c3a3db5767Deposit234651722021-11-29 9:54:422 hrs 44 mins ago0x7857709126e99f8fefb6998df3d906cadb0524a9 IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.01431665573
0xf12d0e0d44cc2bfa4bf81f4f659f55076f8a2cd8b46a1fcefdc8d281849d17f0Deposit234552892021-11-29 7:35:225 hrs 4 mins ago0x6bc66545d8f8e6bb3b4d62efd745c9c38a49dafb IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.027853988268
0x23bdc962142a7a963bd74210192a71f8ea0c26d36cf5e1e0b74531de11560e29Deposit234517622021-11-29 6:32:476 hrs 6 mins ago0xf7b108b75791c11cb56b6938d9efc8f293ff4d9e IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.0149576726
0x0930d58f00e84e54af0899fac286867047468f12773a7c9ebae4042667f647c1Deposit234517512021-11-29 6:32:386 hrs 6 mins ago0xf7b108b75791c11cb56b6938d9efc8f293ff4d9e IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.014955913736
0xe1045a521aced72f0e98341035e434f6bbd08f8afed1fbcea1813a7118619606Deposit234443472021-11-29 4:42:487 hrs 56 mins ago0x5bfaad4a04ab0fab6d206c9ea1144da886d31f9a IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.01383697991
0x6e8cc486917a263d324604825470951fed5a7d625bbd62ad4c06d13b645419acDeposit234436642021-11-29 4:33:158 hrs 6 mins ago0x5eae6c797ac561cb68cd7a972963069122138157 IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.013794639365
0x98efd948e54a368d6ec79a6026b5d6847a180e0f5c34e38aabbaddd9ccc39ac9Deposit234436642021-11-29 4:33:158 hrs 6 mins ago0x5eae6c797ac561cb68cd7a972963069122138157 IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.013793017261
0x2d3bf72380448ea641b1dd7e159e72c4b41a912ae568bc3b3d163f6fac2265faDeposit234428582021-11-29 4:21:128 hrs 18 mins ago0xf97e1da1b688dd6a6f1cac2746ddf242de6ca172 IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.012310402668
0x469928368f8419146c3ea49164845488005999e770c6c316af2f90ec9139955dDeposit234427662021-11-29 4:19:548 hrs 19 mins ago0xf97e1da1b688dd6a6f1cac2746ddf242de6ca172 IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.01253940329
0x56510a8cedc19bdfd55ae6c817fc091dcc309d6490fce165d5ff054e37d11b13Deposit234347222021-11-29 2:24:5310 hrs 14 mins ago0x06931d5bbb814c5f9635833cebb40f4e80050b8c IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.021118049778
0xa7b8c7f569a71a308d773e62ea4681a3e4c6ce9ea48ab41bc264ff5682497190Deposit234336892021-11-29 2:09:4110 hrs 29 mins ago0xe48f77497aba4bb95a20c6b3843ba199bc1baab9 IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.01675748646
0xc99f90ef2ee5422bc86a4784a8e353ad708b072dbf07f2229fbb0ca672c2dab4Deposit234189192021-11-28 22:36:0314 hrs 3 mins ago0x7f59f02d43cd2460bb8ca8d8537d76d94a95ccbc IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.03122721836
0x70f81ee716c332fdc8ab8272fa22524792273ffc4a0e4e682af4c6fe252d51e4Deposit234189162021-11-28 22:36:0114 hrs 3 mins ago0x7f59f02d43cd2460bb8ca8d8537d76d94a95ccbc IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.03122721836
0xa25891a58fa2f7c2ebe3f7ce7737d90c0703b4b22dbb72b5375723d2186ff3deDeposit234188572021-11-28 22:35:0414 hrs 4 mins ago0x7f59f02d43cd2460bb8ca8d8537d76d94a95ccbc IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.035573442616
0x0ab164ae4913ecf66209ce779970973cd585b49d89b200cb0817941a0b4f98c3Deposit234149172021-11-28 21:32:1215 hrs 7 mins ago0x5bfaad4a04ab0fab6d206c9ea1144da886d31f9a IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.02131402013
0xe7bd9e6803923b38d113547ea601d4d238de026198e3321fceb3e011ebe99088Deposit234065112021-11-28 19:30:4717 hrs 8 mins ago0x16c5d7862f5e42b578c5b86bdf1f3887fdc0f412 IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.035565712236
0x7109de9d59ed8d7ff21be7acbdad4eb1700156543f3d69fcb3b994352e8f8475Deposit234065072021-11-28 19:30:4417 hrs 8 mins ago0x16c5d7862f5e42b578c5b86bdf1f3887fdc0f412 IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.03556989488
0x61df5dd4091dce192b4ff39bf7ad37cecdd372111cf66641263fec38c172ae65Deposit234021952021-11-28 18:20:2918 hrs 18 mins ago0x9a856e0d42c1a9d7f8ddc0d7d06ca27313ff4e1c IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.045788788443
0x4d38e58c7c5df5d41608476e44747f6fdf73d3b00e321e7c12fed86a279cfe29Deposit234013232021-11-28 18:07:4818 hrs 31 mins ago0x5bfaad4a04ab0fab6d206c9ea1144da886d31f9a IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.04464385432
0xd0653839687e33e7a0ef9e9b21f80438f56fdac1d0061f64ffd8194927e1427cDeposit233897052021-11-28 14:57:5821 hrs 41 mins ago0xef3bd95241015b733bd8fbb9572c4c5e7377692d IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.028880554145
0x7860c9e81b2d10167182d9bc2eb560fecbf265c2a3d577d107c1cebc7e93dfaeDeposit233896812021-11-28 14:57:1921 hrs 42 mins ago0x4977815a956bdb080887830fc4fc84b720e063e1 IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.025942487675
0x23f1ff26bff9ec4f3590707eb7477359f77ae9eab20d11d86b2268812e895b0aDeposit233896512021-11-28 14:56:3321 hrs 42 mins ago0x4977815a956bdb080887830fc4fc84b720e063e1 IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.024871435978
0x90ea1f0a5bfdc7ec01c2887885947f34c5e95af82336159a29b1bf412e35f624Deposit233842362021-11-28 13:36:5623 hrs 2 mins ago0xb36689ca158106dc601ccdcc26ad2592d13e086e IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.017505169905
0x407cec05106ba75df824c42fec1980735b0704fb821d1a07fad51299361830a8Deposit233753292021-11-28 11:24:251 day 1 hr ago0xe330011feccb144c6c7559db94bc0ecad7192a7f IN  0x538f4fb0124f49eec4d3bd8a54b5c743128f2aa50 FTM0.01245067676
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x7d46d319e49ce338427ecb0e2f6396bc9d8f2135e2b09844c6bb45e435e9633f182864452021-10-04 13:00:3355 days 23 hrs ago 0xff1e908e05b4be5e98dd1177fc1b7a39df233d93  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MasterChef

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at FtmScan.com on 2021-10-04
*/

// Sources flattened with hardhat v2.3.0 https://hardhat.org

// File @openzeppelin/contracts/token/ERC20/[email protected]

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;


/**

  ▄▄█▀▀▀█▄█                      ▀███      ▀███▀▀▀███
▄██▀     ▀█                        ██        ██    ▀█
██▀       ▀▀███  ▀███ ▀████████▄   ██  ▄██▀  ██   █  ▄█▀██▄ ▀███▄███▀████████▄█████▄
██           ██    ██   ██    ██   ██ ▄█     ██▀▀██ ██   ██   ██▀ ▀▀  ██    ██    ██
██▄    ▀████ ██    ██   ██    ██   ██▄██     ██   █  ▄█████   ██      ██    ██    ██
▀██▄     ██  ██    ██   ██    ██   ██ ▀██▄   ██     ██   ██   ██      ██    ██    ██
  ▀▀███████  ▀████▀███▄████  ████▄████▄ ██▄▄████▄   ▀████▀██▄████▄  ▄████  ████  ████▄

**/


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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/[email protected]




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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

        (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/utils/[email protected]





/**
    * @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");
        }
    }
}


// File @openzeppelin/contracts/utils/math/[email protected]




// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
    * @dev Wrappers over Solidity's arithmetic operations.
    *
    * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
* now has built in overflow checking.
    */
library SafeMath {
    /**
        * @dev Returns the addition of two unsigned integers, with an overflow flag.
        *
        * _Available since v3.4._
    */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
        * @dev Returns the substraction of two unsigned integers, with an overflow flag.
        *
        * _Available since v3.4._
    */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
        * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
        *
        * _Available since v3.4._
    */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
        * @dev Returns the division of two unsigned integers, with a division by zero flag.
        *
        * _Available since v3.4._
    */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
        * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
        *
        * _Available since v3.4._
    */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
        * @dev Returns the addition of two unsigned integers, reverting on
    * overflow.
        *
        * Counterpart to Solidity's `+` operator.
        *
        * Requirements:
        *
        * - Addition cannot overflow.
        */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

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

    /**
        * @dev Returns the multiplication of two unsigned integers, reverting on
    * overflow.
        *
        * Counterpart to Solidity's `*` operator.
        *
        * Requirements:
        *
        * - Multiplication cannot overflow.
        */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
        * @dev Returns the integer division of two unsigned integers, reverting on
    * division by zero. The result is rounded towards zero.
        *
        * Counterpart to Solidity's `/` operator.
        *
        * Requirements:
        *
        * - The divisor cannot be zero.
        */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

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

    /**
        * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
    * overflow (when the result is negative).
        *
        * CAUTION: This function is deprecated because it requires allocating memory for the error
    * message unnecessarily. For custom revert reasons use {trySub}.
        *
        * Counterpart to Solidity's `-` operator.
        *
        * Requirements:
        *
        * - Subtraction cannot overflow.
        */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

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

    /**
        * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
    * reverting with custom message when dividing by zero.
        *
        * CAUTION: This function is deprecated because it requires allocating memory for the error
    * message unnecessarily. For custom revert reasons use {tryMod}.
        *
        * Counterpart to Solidity's `%` operator. This function uses a `revert`
    * opcode (which leaves remaining gas untouched) while Solidity uses an
        * invalid opcode to revert (consuming all remaining gas).
        *
    * Requirements:
*
* - The divisor cannot be zero.
*/
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}


// File @openzeppelin/contracts/utils/[email protected]




/**
    * @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/[email protected]




/**
    * @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() {
        _setOwner(_msgSender());
    }

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]



/**
    * @dev Interface for the optional metadata functions from the ERC20 standard.
    *
    * _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
    /**
        * @dev Returns the name of the token.
        */
    function name() external view returns (string memory);

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

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


// File @openzeppelin/contracts/token/ERC20/[email protected]





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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

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

        _afterTokenTransfer(address(0), account, amount);
    }

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

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

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

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

        _afterTokenTransfer(account, address(0), amount);
    }

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

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

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

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


// File @openzeppelin/contracts/access/[email protected]




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

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

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

    /**
        * @dev Returns `true` if `account` has been granted `role`.
        */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
        * @dev Returns the admin role that controls `role`. See {grantRole} and
    * {revokeRole}.
        *
        * To change a role's admin, use {AccessControl-_setRoleAdmin}.
        */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
        * @dev Grants `role` to `account`.
        *
        * If `account` had not been already granted `role`, emits a {RoleGranted}
    * event.
        *
        * Requirements:
        *
        * - the caller must have ``role``'s admin role.
        */
    function grantRole(bytes32 role, address account) external;

    /**
        * @dev Revokes `role` from `account`.
        *
        * If `account` had been granted `role`, emits a {RoleRevoked} event.
        *
        * Requirements:
        *
        * - the caller must have ``role``'s admin role.
        */
    function revokeRole(bytes32 role, address account) external;

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


// File @openzeppelin/contracts/utils/[email protected]




/**
    * @dev String operations.
    */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

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

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

    /**
        * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
        */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
        * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
        */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}


// File @openzeppelin/contracts/utils/introspection/[email protected]




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


// File @openzeppelin/contracts/utils/introspection/[email protected]




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


// File @openzeppelin/contracts/access/[email protected]







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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
        * @dev Modifier that checks that an account has a specific role. Reverts
    * with a standardized message including the required role.
        *
        * The format of the revert reason is given by the following regular expression:
        *
        *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
        *
        * _Available since v4.1._
    */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

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

    /**
        * @dev Revert with a standard message if `account` is missing `role`.
        *
        * The format of the revert reason is given by the following regular expression:
        *
        *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
        */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
            )
            )
            );
        }
    }

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

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

    /**
        * @dev Revokes `role` from `account`.
        *
        * If `account` had been granted `role`, emits a {RoleRevoked} event.
        *
        * Requirements:
        *
        * - the caller must have ``role``'s admin role.
        */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

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

        _revokeRole(role, account);
    }

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

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

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

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


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]





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

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


// File contracts/BlackGunk.sol

// Waters New Farm Mechanics
// Gunk Farms will give you yields based on investment/time, not pool % ownership. This prevents large whales from boxing you out of food for your fantomon
// This is Aplha testing phase, please do not ape into this stuff.
// We thank you for choosing United Airlines...=) hahaa
pragma solidity ^0.8.2;




// Black Gunk, is a feedable token to a a fantomon
// New Time Mechanic , pool distrobution is dependant on your amount/time locked.
// @dev Waterh203

// This new farm is ALPHA, we will be testing this type of farm for future Foods

contract BlackGunk is ERC20, AccessControl, ERC20Burnable, Ownable {
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

    constructor() ERC20("BlackGunk", "BGUNK") {
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
    }

    function mint(address to, uint256 amount) public {
        require(hasRole(MINTER_ROLE, msg.sender), "Caller is not the minter");
        _mint(to, amount);
    }
}


// File contracts/GunkFarm.sol







// The Gunk Farm is a fork of MasterChef by SushiSwap
// The biggest change made is using per second instead of per block for rewards
// This is due to Fantoms extremely inconsistent block times
// The other biggest change was the removal of the migration functions
//
// Note that it's ownable and the owner wields tremendous power. The ownership
// will be transferred to a governance smart contract once BGUNK is sufficiently
// distributed and the community can show to govern itself.
//
// Have fun reading it. Hopefully it's bug-free.
contract MasterChef is Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

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

    // Info of each pool.
    struct PoolInfo {
        IERC20 lpToken;           // Address of LP token contract.
        uint256 allocPoint;       // How many allocation points assigned to this pool. BGUNKs to distribute per block.
        uint256 lastRewardTime;  // Last block time that BGUNKs distribution occurs.
        uint256 accBGUNKPerShare; // Accumulated BGUNKs per share, times 1e12. See below.
    }

    // such a Gunky token!
    BlackGunk public bgunk;

    // bgunk tokens created per block.
    uint256 public bgunkPerSecond;

    // set a max bgunk per second, which can never be higher than 1 per second
    uint256 public constant maxBgunkPerSecond = 1e18;

    uint256 public constant MaxAllocPoint = 4000;

    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping (uint256 => mapping (address => UserInfo)) public userInfo;
    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The block time when bgunk mining starts.
    uint256 public immutable startTime;

    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);

    constructor(
        BlackGunk _bgunk,
        uint256 _bgunkPerSecond,
        uint256 _startTime
    ) {
        bgunk = _bgunk;
        bgunkPerSecond = _bgunkPerSecond;
        startTime = _startTime;
    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    // Changes bgunk token reward per second, with a cap of maxbgunk per second
    // Good practice to update pools without messing up the contract
    function setBgunkPerSecond(uint256 _bgunkPerSecond) external onlyOwner {
        require(_bgunkPerSecond <= maxBgunkPerSecond, "setBgunkPerSecond: too many bgunks!");

        // This MUST be done or pool rewards will be calculated with new bgunk per second
        // This could unfairly punish small pools that dont have frequent deposits/withdraws/harvests
        massUpdatePools();

        bgunkPerSecond = _bgunkPerSecond;
    }

    function checkForDuplicate(IERC20 _lpToken) internal view {
        uint256 length = poolInfo.length;
        for (uint256 _pid = 0; _pid < length; _pid++) {
            require(poolInfo[_pid].lpToken != _lpToken, "add: pool already exists!!!!");
        }

    }

    // Add a new lp to the pool. Can only be called by the owner.
    function add(uint256 _allocPoint, IERC20 _lpToken) external onlyOwner {
        require(_allocPoint <= MaxAllocPoint, "add: too many alloc points!!");

        checkForDuplicate(_lpToken); // ensure you cant add duplicate pools

        massUpdatePools();

        uint256 lastRewardTime = block.timestamp > startTime ? block.timestamp : startTime;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(PoolInfo({
            lpToken: _lpToken,
            allocPoint: _allocPoint,
            lastRewardTime: lastRewardTime,
            accBGUNKPerShare: 0
        }));
    }

    // Update the given pool's BGUNK allocation point. Can only be called by the owner.
    function set(uint256 _pid, uint256 _allocPoint) external onlyOwner {
        require(_allocPoint <= MaxAllocPoint, "add: too many alloc points!!");

        massUpdatePools();

        totalAllocPoint = totalAllocPoint - poolInfo[_pid].allocPoint + _allocPoint;
        poolInfo[_pid].allocPoint = _allocPoint;
    }

    // Return reward multiplier over the given _from to _to block.
    function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) {
        _from = _from > startTime ? _from : startTime;
        if (_to < startTime) {
            return 0;
        }
        return _to - _from;
    }

    // View function to see pending BGUNKs on frontend.
    function pendingBGUNK(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accBGUNKPerShare = pool.accBGUNKPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.timestamp > pool.lastRewardTime && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardTime, block.timestamp);
            uint256 bgunkReward = multiplier.mul(bgunkPerSecond).mul(pool.allocPoint).div(totalAllocPoint);
            accBGUNKPerShare = accBGUNKPerShare.add(bgunkReward.mul(1e12).div(lpSupply));
        }
        return user.amount.mul(accBGUNKPerShare).div(1e12).sub(user.rewardDebt);
    }

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

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.timestamp <= pool.lastRewardTime) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0) {
            pool.lastRewardTime = block.timestamp;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardTime, block.timestamp);
        uint256 bgunkReward = multiplier.mul(bgunkPerSecond).mul(pool.allocPoint).div(totalAllocPoint);

        bgunk.mint(address(this), bgunkReward);

        pool.accBGUNKPerShare = pool.accBGUNKPerShare.add(bgunkReward.mul(1e12).div(lpSupply));
        pool.lastRewardTime = block.timestamp;
    }

    // Deposit LP tokens to MasterChef for BGUNK allocation.
    function deposit(uint256 _pid, uint256 _amount) public {

        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        updatePool(_pid);

        uint256 pending = user.amount.mul(pool.accBGUNKPerShare).div(1e12).sub(user.rewardDebt);

        user.amount = user.amount.add(_amount);
        user.rewardDebt = user.amount.mul(pool.accBGUNKPerShare).div(1e12);

        if(pending > 0) {
            safeBGUNKTransfer(msg.sender, pending);
        }
        pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);

        emit Deposit(msg.sender, _pid, _amount);
    }

    // Withdraw LP tokens from MasterChef.
    function withdraw(uint256 _pid, uint256 _amount) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        require(user.amount >= _amount, "withdraw: not good");

        updatePool(_pid);

        uint256 pending = user.amount.mul(pool.accBGUNKPerShare).div(1e12).sub(user.rewardDebt);

        user.amount = user.amount.sub(_amount);
        user.rewardDebt = user.amount.mul(pool.accBGUNKPerShare).div(1e12);

        if(pending > 0) {
            safeBGUNKTransfer(msg.sender, pending);
        }
        pool.lpToken.safeTransfer(address(msg.sender), _amount);

        emit Withdraw(msg.sender, _pid, _amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        uint oldUserAmount = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;

        pool.lpToken.safeTransfer(address(msg.sender), oldUserAmount);
        emit EmergencyWithdraw(msg.sender, _pid, oldUserAmount);

    }

    // Safe bgunk transfer function, just in case if rounding error causes pool to not have enough BGUNKs.
    function safeBGUNKTransfer(address _to, uint256 _amount) internal {
        uint256 bgunkBal = bgunk.balanceOf(address(this));
        if (_amount > bgunkBal) {
            bgunk.transfer(_to, bgunkBal);
        } else {
            bgunk.transfer(_to, _amount);
        }
    }
}
/**
 Dev:      @Waterh203
 Dev:      @CodeLarkin    :  codelarkin.eth
 Community: Fantomon

   ░▒█░░▒█░█▀▀▄░▀█▀░█▀▀░█▀▀▄
   ░▒█▒█▒█░█▄▄█░░█░░█▀▀░█▄▄▀
   ░▒▀▄▀▄▀░▀░░▀░░▀░░▀▀▀░▀░▀▀

   ██╗      █████╗ ██████╗ ██╗  ██╗██╗███╗   ██╗
   ██║     ██╔══██╗██╔══██╗██║ ██╔╝██║████╗  ██║
   ██║     ███████║██████╔╝█████╔╝ ██║██╔██╗ ██║
   ██║     ██╔══██║██╔══██╗██╔═██╗ ██║██║╚██╗██║
   ███████╗██║  ██║██║  ██║██║  ██╗██║██║ ╚████║
   ╚══════╝╚═╝  ╚═╝╚═╝  ╚═╝╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝

**/

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract BlackGunk","name":"_bgunk","type":"address"},{"internalType":"uint256","name":"_bgunkPerSecond","type":"uint256"},{"internalType":"uint256","name":"_startTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"MaxAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bgunk","outputs":[{"internalType":"contract BlackGunk","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bgunkPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxBgunkPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingBGUNK","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardTime","type":"uint256"},{"internalType":"uint256","name":"accBGUNKPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bgunkPerSecond","type":"uint256"}],"name":"setBgunkPerSecond","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a0604052600060055534801561001557600080fd5b5060405162001c5f38038062001c5f833981016040819052610036916100bb565b61003f3361006b565b600180546001600160a01b0319166001600160a01b0394909416939093179092556002556080526100fe565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806000606084860312156100d057600080fd5b83516001600160a01b03811681146100e757600080fd5b602085015160409095015190969495509392505050565b608051611b226200013d600039600081816102d2015281816106080152818161062f01528181610eb001528181610ed70152610f010152611b226000f3fe608060405234801561001057600080fd5b50600436106101825760003560e01c80636bb2dcdc116100d857806393f1a40b1161008c578063f2fde38b11610066578063f2fde38b1461038e578063f4b83c4c146103a1578063ffead542146103aa57600080fd5b806393f1a40b14610325578063ae557e7e1461036c578063e2bbb1581461037b57600080fd5b806378e97925116100bd57806378e97925146102cd5780638da5cb5b146102f45780638dbb1e3a1461031257600080fd5b80636bb2dcdc14610280578063715018a6146102c557600080fd5b8063441a3e701161013a5780635312ea8e116101145780635312ea8e14610252578063620a06ff14610265578063630b5ba11461027857600080fd5b8063441a3e701461021957806348964d9c1461022c57806351eb05a61461023f57600080fd5b806317caf6f11161016b57806317caf6f1146101e85780631ab06ee5146101f15780632b8bbbe81461020657600080fd5b8063081e3eda146101875780631526fe271461019e575b600080fd5b6003545b6040519081526020015b60405180910390f35b6101b16101ac36600461186f565b6103b3565b6040805173ffffffffffffffffffffffffffffffffffffffff90951685526020850193909352918301526060820152608001610195565b61018b60055481565b6102046101ff3660046118d1565b610404565b005b6102046102143660046118a1565b61053a565b6102046102273660046118d1565b610779565b61018b61023a3660046118a1565b6108ef565b61020461024d36600461186f565b610a88565b61020461026036600461186f565b610c70565b61020461027336600461186f565b610d1c565b610204610e0e565b6001546102a09073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610195565b610204610e39565b61018b7f000000000000000000000000000000000000000000000000000000000000000081565b60005473ffffffffffffffffffffffffffffffffffffffff166102a0565b61018b6103203660046118d1565b610eac565b6103576103333660046118a1565b60046020908152600092835260408084209091529082529020805460019091015482565b60408051928352602083019190915201610195565b61018b670de0b6b3a764000081565b6102046103893660046118d1565b610f40565b61020461039c366004611830565b61104d565b61018b610fa081565b61018b60025481565b600381815481106103c357600080fd5b6000918252602090912060049091020180546001820154600283015460039093015473ffffffffffffffffffffffffffffffffffffffff9092169350919084565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104705760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b610fa08111156104c25760405162461bcd60e51b815260206004820152601c60248201527f6164643a20746f6f206d616e7920616c6c6f6320706f696e74732121000000006044820152606401610467565b6104ca610e0e565b80600383815481106104de576104de611a9b565b9060005260206000209060040201600101546005546104fd91906119f0565b6105079190611960565b600581905550806003838154811061052157610521611a9b565b9060005260206000209060040201600101819055505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146105a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610467565b610fa08211156105f35760405162461bcd60e51b815260206004820152601c60248201527f6164643a20746f6f206d616e7920616c6c6f6320706f696e74732121000000006044820152606401610467565b6105fc81611149565b610604610e0e565b60007f00000000000000000000000000000000000000000000000000000000000000004211610653577f0000000000000000000000000000000000000000000000000000000000000000610655565b425b600554909150610665908461120d565b6005556040805160808101825273ffffffffffffffffffffffffffffffffffffffff93841681526020810194855290810191825260006060820181815260038054600181018255925291517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b600490920291820180547fffffffffffffffffffffffff000000000000000000000000000000000000000016919095161790935592517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c830155517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85d82015590517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85e90910155565b60006003838154811061078e5761078e611a9b565b60009182526020808320868452600480835260408086203387529093529190932080549290910290920192508311156108095760405162461bcd60e51b815260206004820152601260248201527f77697468647261773a206e6f7420676f6f6400000000000000000000000000006044820152606401610467565b61081284610a88565b600061084c826001015461084664e8d4a510006108408760030154876000015461121990919063ffffffff16565b90611225565b90611231565b825490915061085b9085611231565b80835560038401546108789164e8d4a51000916108409190611219565b6001830155801561088d5761088d338261123d565b82546108b09073ffffffffffffffffffffffffffffffffffffffff1633866113fb565b604051848152859033907ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568906020015b60405180910390a35050505050565b6000806003848154811061090557610905611a9b565b600091825260208083208784526004808352604080862073ffffffffffffffffffffffffffffffffffffffff8a8116885294528086209482029092016003810154815493517f70a08231000000000000000000000000000000000000000000000000000000008152309381019390935290965093949291909116906370a082319060240160206040518083038186803b1580156109a157600080fd5b505afa1580156109b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d99190611888565b90508360020154421180156109ed57508015155b15610a53576000610a02856002015442610eac565b90506000610a2f6005546108408860010154610a296002548761121990919063ffffffff16565b90611219565b9050610a4e610a47846108408464e8d4a51000611219565b859061120d565b935050505b610a7b836001015461084664e8d4a5100061084086886000015461121990919063ffffffff16565b9450505050505b92915050565b600060038281548110610a9d57610a9d611a9b565b9060005260206000209060040201905080600201544211610abc575050565b80546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a082319060240160206040518083038186803b158015610b2557600080fd5b505afa158015610b39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5d9190611888565b905080610b6f57504260029091015550565b6000610b7f836002015442610eac565b90506000610ba66005546108408660010154610a296002548761121990919063ffffffff16565b6001546040517f40c10f190000000000000000000000000000000000000000000000000000000081523060048201526024810183905291925073ffffffffffffffffffffffffffffffffffffffff16906340c10f1990604401600060405180830381600087803b158015610c1957600080fd5b505af1158015610c2d573d6000803e3d6000fd5b50505050610c5b610c508461084064e8d4a510008561121990919063ffffffff16565b60038601549061120d565b60038501555050426002909201919091555050565b600060038281548110610c8557610c85611a9b565b60009182526020808320858452600480835260408086203380885294528520805486825560018201969096559302018054909450919291610cdf9173ffffffffffffffffffffffffffffffffffffffff90911690836113fb565b604051818152849033907fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959060200160405180910390a350505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610d835760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610467565b670de0b6b3a7640000811115610e015760405162461bcd60e51b815260206004820152602360248201527f7365744267756e6b5065725365636f6e643a20746f6f206d616e79206267756e60448201527f6b732100000000000000000000000000000000000000000000000000000000006064820152608401610467565b610e09610e0e565b600255565b60035460005b81811015610e3557610e2581610a88565b610e2e81611a33565b9050610e14565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610ea05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610467565b610eaa60006114cf565b565b60007f00000000000000000000000000000000000000000000000000000000000000008311610efb577f0000000000000000000000000000000000000000000000000000000000000000610efd565b825b92507f0000000000000000000000000000000000000000000000000000000000000000821015610f2f57506000610a82565b610f3983836119f0565b9392505050565b600060038381548110610f5557610f55611a9b565b60009182526020808320868452600480835260408086203387529093529190932091029091019150610f8684610a88565b6000610fb4826001015461084664e8d4a510006108408760030154876000015461121990919063ffffffff16565b8254909150610fc3908561120d565b8083556003840154610fe09164e8d4a51000916108409190611219565b60018301558015610ff557610ff5338261123d565b82546110199073ffffffffffffffffffffffffffffffffffffffff16333087611544565b604051848152859033907f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15906020016108e0565b60005473ffffffffffffffffffffffffffffffffffffffff1633146110b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610467565b73ffffffffffffffffffffffffffffffffffffffff811661113d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610467565b611146816114cf565b50565b60035460005b81811015611208578273ffffffffffffffffffffffffffffffffffffffff166003828154811061118157611181611a9b565b600091825260209091206004909102015473ffffffffffffffffffffffffffffffffffffffff1614156111f65760405162461bcd60e51b815260206004820152601c60248201527f6164643a20706f6f6c20616c72656164792065786973747321212121000000006044820152606401610467565b8061120081611a33565b91505061114f565b505050565b6000610f398284611960565b6000610f3982846119b3565b6000610f398284611978565b6000610f3982846119f0565b6001546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a082319060240160206040518083038186803b1580156112a757600080fd5b505afa1580156112bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112df9190611888565b90508082111561139c576001546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018490529091169063a9059cbb906044015b602060405180830381600087803b15801561135e57600080fd5b505af1158015611372573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611396919061184d565b50505050565b6001546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590529091169063a9059cbb90604401611344565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526112089084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526115a2565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526113969085907f23b872dd000000000000000000000000000000000000000000000000000000009060840161144d565b6000611604826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166116949092919063ffffffff16565b8051909150156112085780806020019051810190611622919061184d565b6112085760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610467565b60606116a384846000856116ab565b949350505050565b6060824710156117235760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610467565b843b6117715760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610467565b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161179a91906118f3565b60006040518083038185875af1925050503d80600081146117d7576040519150601f19603f3d011682016040523d82523d6000602084013e6117dc565b606091505b50915091506117ec8282866117f7565b979650505050505050565b60608315611806575081610f39565b8251156118165782518084602001fd5b8160405162461bcd60e51b8152600401610467919061190f565b60006020828403121561184257600080fd5b8135610f3981611aca565b60006020828403121561185f57600080fd5b81518015158114610f3957600080fd5b60006020828403121561188157600080fd5b5035919050565b60006020828403121561189a57600080fd5b5051919050565b600080604083850312156118b457600080fd5b8235915060208301356118c681611aca565b809150509250929050565b600080604083850312156118e457600080fd5b50508035926020909101359150565b60008251611905818460208701611a07565b9190910192915050565b602081526000825180602084015261192e816040850160208701611a07565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b6000821982111561197357611973611a6c565b500190565b6000826119ae577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156119eb576119eb611a6c565b500290565b600082821015611a0257611a02611a6c565b500390565b60005b83811015611a22578181015183820152602001611a0a565b838111156113965750506000910152565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611a6557611a65611a6c565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff8116811461114657600080fdfea26469706673582212203f7afe8f0a9385599816b69ba84d62ec21438fbcd2c1141a0843e30244b9626464736f6c63430008070033000000000000000000000000ff042a6f2d50f00413f9f1ee8f55b2bb7e0cab2c00000000000000000000000000000000000000000000000001988fe4052b800000000000000000000000000000000000000000000000000000000000615af9ea

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

000000000000000000000000ff042a6f2d50f00413f9f1ee8f55b2bb7e0cab2c00000000000000000000000000000000000000000000000001988fe4052b800000000000000000000000000000000000000000000000000000000000615af9ea

-----Decoded View---------------
Arg [0] : _bgunk (address): 0xff042a6f2d50f00413f9f1ee8f55b2bb7e0cab2c
Arg [1] : _bgunkPerSecond (uint256): 115000000000000000
Arg [2] : _startTime (uint256): 1633352170

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000ff042a6f2d50f00413f9f1ee8f55b2bb7e0cab2c
Arg [1] : 00000000000000000000000000000000000000000000000001988fe4052b8000
Arg [2] : 00000000000000000000000000000000000000000000000000000000615af9ea


Deployed ByteCode Sourcemap

57735:9279:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60304:95;60376:8;:15;60304:95;;;7752:25:1;;;7740:2;7725:18;60304:95:0;;;;;;;;59452:26;;;;;;:::i;:::-;;:::i;:::-;;;;3566:42:1;3554:55;;;3536:74;;3641:2;3626:18;;3619:34;;;;3669:18;;;3662:34;3727:2;3712:18;;3705:34;3523:3;3508:19;59452:26:0;3292:453:1;59695:34:0;;;;;;62069:323;;;;;;:::i;:::-;;:::i;:::-;;61353:619;;;;;;:::i;:::-;;:::i;65421:709::-;;;;;;:::i;:::-;;:::i;62773:773::-;;;;;;:::i;:::-;;:::i;63885:752::-;;;;;;:::i;:::-;;:::i;66201:409::-;;;;;;:::i;:::-;;:::i;60558:443::-;;;;;;:::i;:::-;;:::i;63629:180::-;;;:::i;59126:22::-;;;;;;;;;;;;2283:42:1;2271:55;;;2253:74;;2241:2;2226:18;59126:22:0;2107:226:1;26500:94:0;;;:::i;59785:34::-;;;;;25833:87;25879:7;25906:6;;;25833:87;;62468:240;;;;;;:::i;:::-;;:::i;59534:66::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7962:25:1;;;8018:2;8003:18;;7996:34;;;;7935:18;59534:66:0;7788:248:1;59315:48:0;;59359:4;59315:48;;64707:662;;;;;;:::i;:::-;;:::i;26758:192::-;;;;;;:::i;:::-;;:::i;59372:44::-;;59412:4;59372:44;;59197:29;;;;;;59452:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59452:26:0;;;:::o;62069:323::-;25879:7;25906:6;26059:23;25906:6;24695:10;26059:23;26051:68;;;;-1:-1:-1;;;26051:68:0;;5570:2:1;26051:68:0;;;5552:21:1;;;5589:18;;;5582:30;5648:34;5628:18;;;5621:62;5700:18;;26051:68:0;;;;;;;;;59412:4:::1;62155:11;:28;;62147:69;;;::::0;-1:-1:-1;;;62147:69:0;;6636:2:1;62147:69:0::1;::::0;::::1;6618:21:1::0;6675:2;6655:18;;;6648:30;6714;6694:18;;;6687:58;6762:18;;62147:69:0::1;6434:352:1::0;62147:69:0::1;62229:17;:15;:17::i;:::-;62323:11;62295:8;62304:4;62295:14;;;;;;;;:::i;:::-;;;;;;;;;;;:25;;;62277:15;;:43;;;;:::i;:::-;:57;;;;:::i;:::-;62259:15;:75;;;;62373:11;62345:8;62354:4;62345:14;;;;;;;;:::i;:::-;;;;;;;;;;;:25;;:39;;;;62069:323:::0;;:::o;61353:619::-;25879:7;25906:6;26059:23;25906:6;24695:10;26059:23;26051:68;;;;-1:-1:-1;;;26051:68:0;;5570:2:1;26051:68:0;;;5552:21:1;;;5589:18;;;5582:30;5648:34;5628:18;;;5621:62;5700:18;;26051:68:0;5368:356:1;26051:68:0;59412:4:::1;61442:11;:28;;61434:69;;;::::0;-1:-1:-1;;;61434:69:0;;6636:2:1;61434:69:0::1;::::0;::::1;6618:21:1::0;6675:2;6655:18;;;6648:30;6714;6694:18;;;6687:58;6762:18;;61434:69:0::1;6434:352:1::0;61434:69:0::1;61516:27;61534:8;61516:17;:27::i;:::-;61595:17;:15;:17::i;:::-;61625:22;61668:9;61650:15;:27;:57;;61698:9;61650:57;;;61680:15;61650:57;61736:15;::::0;61625:82;;-1:-1:-1;61736:32:0::1;::::0;61756:11;61736:19:::1;:32::i;:::-;61718:15;:50:::0;61793:170:::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;61793:170:0;;;;;;61779:8:::1;:185:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;61353:619::o;65421:709::-;65488:21;65512:8;65521:4;65512:14;;;;;;;;:::i;:::-;;;;;;;;;65561;;;65512;65561;;;;;;;65576:10;65561:26;;;;;;;;;65608:11;;65512:14;;;;;;;;-1:-1:-1;;;65608:22:0;65600:53;;;;-1:-1:-1;;;65600:53:0;;6289:2:1;65600:53:0;;;6271:21:1;6328:2;6308:18;;;6301:30;6367:20;6347:18;;;6340:48;6405:18;;65600:53:0;6087:342:1;65600:53:0;65666:16;65677:4;65666:10;:16::i;:::-;65695:15;65713:69;65766:4;:15;;;65713:48;65756:4;65713:38;65729:4;:21;;;65713:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48::i;:::-;:52;;:69::i;:::-;65809:11;;65695:87;;-1:-1:-1;65809:24:0;;65825:7;65809:15;:24::i;:::-;65795:38;;;65878:21;;;;65862:48;;65905:4;;65862:38;;65795;65862:15;:38::i;:48::-;65844:15;;;:66;65926:11;;65923:81;;65954:38;65972:10;65984:7;65954:17;:38::i;:::-;66014:12;;:55;;:12;;66048:10;66061:7;66014:25;:55::i;:::-;66087:35;;7752:25:1;;;66108:4:0;;66096:10;;66087:35;;7740:2:1;7725:18;66087:35:0;;;;;;;;65477:653;;;65421:709;;:::o;62773:773::-;62847:7;62867:21;62891:8;62900:4;62891:14;;;;;;;;:::i;:::-;;;;;;;;;62940;;;62891;62940;;;;;;;:21;;;;;;;;;;;62891:14;;;;;;62999:21;;;;63050:12;;:37;;;;;63081:4;63050:37;;;2253:74:1;;;;62891:14:0;;-1:-1:-1;62940:21:0;;62891:14;63050:12;;;;;:22;;2226:18:1;;63050:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;63031:56;;63120:4;:19;;;63102:15;:37;:54;;;;-1:-1:-1;63143:13:0;;;63102:54;63098:359;;;63173:18;63194:51;63208:4;:19;;;63229:15;63194:13;:51::i;:::-;63173:72;;63260:19;63282:72;63338:15;;63282:51;63317:4;:15;;;63282:30;63297:14;;63282:10;:14;;:30;;;;:::i;:::-;:34;;:51::i;:72::-;63260:94;-1:-1:-1;63388:57:0;63409:35;63435:8;63409:21;63260:94;63425:4;63409:15;:21::i;:35::-;63388:16;;:20;:57::i;:::-;63369:76;;63158:299;;63098:359;63474:64;63522:4;:15;;;63474:43;63512:4;63474:33;63490:16;63474:4;:11;;;:15;;:33;;;;:::i;:64::-;63467:71;;;;;;62773:773;;;;;:::o;63885:752::-;63937:21;63961:8;63970:4;63961:14;;;;;;;;:::i;:::-;;;;;;;;;;;63937:38;;64009:4;:19;;;63990:15;:38;63986:77;;64045:7;63885:752;:::o;63986:77::-;64092:12;;:37;;;;;64123:4;64092:37;;;2253:74:1;64073:16:0;;64092:12;;;:22;;2226:18:1;;64092:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;64073:56;-1:-1:-1;64144:13:0;64140:104;;-1:-1:-1;64196:15:0;64174:19;;;;:37;-1:-1:-1;63885:752:0:o;64140:104::-;64254:18;64275:51;64289:4;:19;;;64310:15;64275:13;:51::i;:::-;64254:72;;64337:19;64359:72;64415:15;;64359:51;64394:4;:15;;;64359:30;64374:14;;64359:10;:14;;:30;;;;:::i;:72::-;64444:5;;:38;;;;;64463:4;64444:38;;;2915:74:1;3005:18;;;2998:34;;;64337:94:0;;-1:-1:-1;64444:5:0;;;:10;;2888:18:1;;64444:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64519:62;64545:35;64571:8;64545:21;64561:4;64545:11;:15;;:21;;;;:::i;:35::-;64519:21;;;;;:25;:62::i;:::-;64495:21;;;:86;-1:-1:-1;;64614:15:0;64592:19;;;;:37;;;;-1:-1:-1;;63885:752:0:o;66201:409::-;66260:21;66284:8;66293:4;66284:14;;;;;;;;:::i;:::-;;;;;;;;;66333;;;66284;66333;;;;;;;66348:10;66333:26;;;;;;;66393:11;;66415:15;;;-1:-1:-1;66441:15:0;;:19;;;;66284:14;;;66473:12;;66284:14;;-1:-1:-1;66333:26:0;;66393:11;66473:61;;66333:26;66473:12;;;;66393:11;66473:25;:61::i;:::-;66550:50;;7752:25:1;;;66580:4:0;;66568:10;;66550:50;;7740:2:1;7725:18;66550:50:0;;;;;;;66249:361;;;66201:409;:::o;60558:443::-;25879:7;25906:6;26059:23;25906:6;24695:10;26059:23;26051:68;;;;-1:-1:-1;;;26051:68:0;;5570:2:1;26051:68:0;;;5552:21:1;;;5589:18;;;5582:30;5648:34;5628:18;;;5621:62;5700:18;;26051:68:0;5368:356:1;26051:68:0;59359:4:::1;60648:15;:36;;60640:84;;;::::0;-1:-1:-1;;;60640:84:0;;6993:2:1;60640:84:0::1;::::0;::::1;6975:21:1::0;7032:2;7012:18;;;7005:30;7071:34;7051:18;;;7044:62;7142:5;7122:18;;;7115:33;7165:19;;60640:84:0::1;6791:399:1::0;60640:84:0::1;60931:17;:15;:17::i;:::-;60961:14;:32:::0;60558:443::o;63629:180::-;63691:8;:15;63674:14;63717:85;63745:6;63739:3;:12;63717:85;;;63775:15;63786:3;63775:10;:15::i;:::-;63753:5;;;:::i;:::-;;;63717:85;;;;63663:146;63629:180::o;26500:94::-;25879:7;25906:6;26059:23;25906:6;24695:10;26059:23;26051:68;;;;-1:-1:-1;;;26051:68:0;;5570:2:1;26051:68:0;;;5552:21:1;;;5589:18;;;5582:30;5648:34;5628:18;;;5621:62;5700:18;;26051:68:0;5368:356:1;26051:68:0;26565:21:::1;26583:1;26565:9;:21::i;:::-;26500:94::o:0;62468:240::-;62540:7;62576:9;62568:5;:17;:37;;62596:9;62568:37;;;62588:5;62568:37;62560:45;;62626:9;62620:3;:15;62616:56;;;-1:-1:-1;62659:1:0;62652:8;;62616:56;62689:11;62695:5;62689:3;:11;:::i;:::-;62682:18;62468:240;-1:-1:-1;;;62468:240:0:o;64707:662::-;64775:21;64799:8;64808:4;64799:14;;;;;;;;:::i;:::-;;;;;;;;;64848;;;64799;64848;;;;;;;64863:10;64848:26;;;;;;;;;64799:14;;;;;;-1:-1:-1;64887:16:0;64857:4;64887:10;:16::i;:::-;64916:15;64934:69;64987:4;:15;;;64934:48;64977:4;64934:38;64950:4;:21;;;64934:4;:11;;;:15;;:38;;;;:::i;:69::-;65030:11;;64916:87;;-1:-1:-1;65030:24:0;;65046:7;65030:15;:24::i;:::-;65016:38;;;65099:21;;;;65083:48;;65126:4;;65083:38;;65016;65083:15;:38::i;:48::-;65065:15;;;:66;65147:11;;65144:81;;65175:38;65193:10;65205:7;65175:17;:38::i;:::-;65235:12;;:74;;:12;;65273:10;65294:4;65301:7;65235:29;:74::i;:::-;65327:34;;7752:25:1;;;65347:4:0;;65335:10;;65327:34;;7740:2:1;7725:18;65327:34:0;7606:177:1;26758:192:0;25879:7;25906:6;26059:23;25906:6;24695:10;26059:23;26051:68;;;;-1:-1:-1;;;26051:68:0;;5570:2:1;26051:68:0;;;5552:21:1;;;5589:18;;;5582:30;5648:34;5628:18;;;5621:62;5700:18;;26051:68:0;5368:356:1;26051:68:0;26847:22:::1;::::0;::::1;26839:73;;;::::0;-1:-1:-1;;;26839:73:0;;4399:2:1;26839:73:0::1;::::0;::::1;4381:21:1::0;4438:2;4418:18;;;4411:30;4477:34;4457:18;;;4450:62;4548:8;4528:18;;;4521:36;4574:19;;26839:73:0::1;4197:402:1::0;26839:73:0::1;26923:19;26933:8;26923:9;:19::i;:::-;26758:192:::0;:::o;61009:269::-;61095:8;:15;61078:14;61121:148;61151:6;61144:4;:13;61121:148;;;61216:8;61190:34;;:8;61199:4;61190:14;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:22;;;:34;;61182:75;;;;-1:-1:-1;;;61182:75:0;;5213:2:1;61182:75:0;;;5195:21:1;5252:2;5232:18;;;5225:30;5291;5271:18;;;5264:58;5339:18;;61182:75:0;5011:352:1;61182:75:0;61159:6;;;;:::i;:::-;;;;61121:148;;;;61067:211;61009:269;:::o;19554:98::-;19612:7;19639:5;19643:1;19639;:5;:::i;20338:98::-;20396:7;20423:5;20427:1;20423;:5;:::i;20760:98::-;20818:7;20845:5;20849:1;20845;:5;:::i;19958:98::-;20016:7;20043:5;20047:1;20043;:5;:::i;66726:285::-;66822:5;;:30;;;;;66846:4;66822:30;;;2253:74:1;66803:16:0;;66822:5;;;:15;;2226:18:1;;66822:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;66803:49;;66877:8;66867:7;:18;66863:141;;;66902:5;;:29;;;;;:5;2933:55:1;;;66902:29:0;;;2915:74:1;3005:18;;;2998:34;;;66902:5:0;;;;:14;;2888:18:1;;66902:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;61121:148;61067:211;61009:269;:::o;66863:141::-;66964:5;;:28;;;;;:5;2933:55:1;;;66964:28:0;;;2915:74:1;3005:18;;;2998:34;;;66964:5:0;;;;:14;;2888:18:1;;66964:28:0;2741:297:1;13364:211:0;13508:58;;2945:42:1;2933:55;;13508:58:0;;;2915:74:1;3005:18;;;2998:34;;;13481:86:0;;13501:5;;13531:23;;2888:18:1;;13508:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13481:19;:86::i;26958:173::-;27014:16;27033:6;;;27050:17;;;;;;;;;;27083:40;;27033:6;;;;;;;27083:40;;27014:16;27083:40;27003:128;26958:173;:::o;13583:248::-;13754:68;;2550:42:1;2619:15;;;13754:68:0;;;2601:34:1;2671:15;;2651:18;;;2644:43;2703:18;;;2696:34;;;13727:96:0;;13747:5;;13777:27;;2513:18:1;;13754:68:0;2338:398:1;15982:716:0;16406:23;16432:69;16460:4;16432:69;;;;;;;;;;;;;;;;;16440:5;16432:27;;;;:69;;;;;:::i;:::-;16516:17;;16406:95;;-1:-1:-1;16516:21:0;16512:179;;16613:10;16602:30;;;;;;;;;;;;:::i;:::-;16594:85;;;;-1:-1:-1;;;16594:85:0;;7397:2:1;16594:85:0;;;7379:21:1;7436:2;7416:18;;;7409:30;7475:34;7455:18;;;7448:62;7546:12;7526:18;;;7519:40;7576:19;;16594:85:0;7195:406:1;7783:229:0;7920:12;7952:52;7974:6;7982:4;7988:1;7991:12;7952:21;:52::i;:::-;7945:59;7783:229;-1:-1:-1;;;;7783:229:0:o;8932:510::-;9102:12;9160:5;9135:21;:30;;9127:81;;;;-1:-1:-1;;;9127:81:0;;4806:2:1;9127:81:0;;;4788:21:1;4845:2;4825:18;;;4818:30;4884:34;4864:18;;;4857:62;4955:8;4935:18;;;4928:36;4981:19;;9127:81:0;4604:402:1;9127:81:0;5241:20;;9219:60;;;;-1:-1:-1;;;9219:60:0;;5931:2:1;9219:60:0;;;5913:21:1;5970:2;5950:18;;;5943:30;6009:31;5989:18;;;5982:59;6058:18;;9219:60:0;5729:353:1;9219:60:0;9293:12;9307:23;9334:6;:11;;9353:5;9360:4;9334:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9292:73;;;;9383:51;9400:7;9409:10;9421:12;9383:16;:51::i;:::-;9376:58;8932:510;-1:-1:-1;;;;;;;8932:510:0:o;11653:712::-;11803:12;11832:7;11828:530;;;-1:-1:-1;11863:10:0;11856:17;;11828:530;11977:17;;:21;11973:374;;12175:10;12169:17;12236:15;12223:10;12219:2;12215:19;12208:44;11973:374;12318:12;12311:20;;-1:-1:-1;;;12311:20:0;;;;;;;;:::i;14:247:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;181:9;168:23;200:31;225:5;200:31;:::i;266:277::-;333:6;386:2;374:9;365:7;361:23;357:32;354:52;;;402:1;399;392:12;354:52;434:9;428:16;487:5;480:13;473:21;466:5;463:32;453:60;;509:1;506;499:12;548:180;607:6;660:2;648:9;639:7;635:23;631:32;628:52;;;676:1;673;666:12;628:52;-1:-1:-1;699:23:1;;548:180;-1:-1:-1;548:180:1:o;733:184::-;803:6;856:2;844:9;835:7;831:23;827:32;824:52;;;872:1;869;862:12;824:52;-1:-1:-1;895:16:1;;733:184;-1:-1:-1;733:184:1:o;922:315::-;990:6;998;1051:2;1039:9;1030:7;1026:23;1022:32;1019:52;;;1067:1;1064;1057:12;1019:52;1103:9;1090:23;1080:33;;1163:2;1152:9;1148:18;1135:32;1176:31;1201:5;1176:31;:::i;:::-;1226:5;1216:15;;;922:315;;;;;:::o;1575:248::-;1643:6;1651;1704:2;1692:9;1683:7;1679:23;1675:32;1672:52;;;1720:1;1717;1710:12;1672:52;-1:-1:-1;;1743:23:1;;;1813:2;1798:18;;;1785:32;;-1:-1:-1;1575:248:1:o;1828:274::-;1957:3;1995:6;1989:13;2011:53;2057:6;2052:3;2045:4;2037:6;2033:17;2011:53;:::i;:::-;2080:16;;;;;1828:274;-1:-1:-1;;1828:274:1:o;3750:442::-;3899:2;3888:9;3881:21;3862:4;3931:6;3925:13;3974:6;3969:2;3958:9;3954:18;3947:34;3990:66;4049:6;4044:2;4033:9;4029:18;4024:2;4016:6;4012:15;3990:66;:::i;:::-;4108:2;4096:15;4113:66;4092:88;4077:104;;;;4183:2;4073:113;;3750:442;-1:-1:-1;;3750:442:1:o;8041:128::-;8081:3;8112:1;8108:6;8105:1;8102:13;8099:39;;;8118:18;;:::i;:::-;-1:-1:-1;8154:9:1;;8041:128::o;8174:274::-;8214:1;8240;8230:189;;8275:77;8272:1;8265:88;8376:4;8373:1;8366:15;8404:4;8401:1;8394:15;8230:189;-1:-1:-1;8433:9:1;;8174:274::o;8453:228::-;8493:7;8619:1;8551:66;8547:74;8544:1;8541:81;8536:1;8529:9;8522:17;8518:105;8515:131;;;8626:18;;:::i;:::-;-1:-1:-1;8666:9:1;;8453:228::o;8686:125::-;8726:4;8754:1;8751;8748:8;8745:34;;;8759:18;;:::i;:::-;-1:-1:-1;8796:9:1;;8686:125::o;8816:258::-;8888:1;8898:113;8912:6;8909:1;8906:13;8898:113;;;8988:11;;;8982:18;8969:11;;;8962:39;8934:2;8927:10;8898:113;;;9029:6;9026:1;9023:13;9020:48;;;-1:-1:-1;;9064:1:1;9046:16;;9039:27;8816:258::o;9079:195::-;9118:3;9149:66;9142:5;9139:77;9136:103;;;9219:18;;:::i;:::-;-1:-1:-1;9266:1:1;9255:13;;9079:195::o;9279:184::-;9331:77;9328:1;9321:88;9428:4;9425:1;9418:15;9452:4;9449:1;9442:15;9468:184;9520:77;9517:1;9510:88;9617:4;9614:1;9607:15;9641:4;9638:1;9631:15;9657:154;9743:42;9736:5;9732:54;9725:5;9722:65;9712:93;;9801:1;9798;9791:12

Swarm Source

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