Contract 0x12567EEC29fa41aB9540c2b9daad790f25295763

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x5acd6e9c6b10576136fe2604bd725fa957528f1bf9b3cfa5806880f2f2236f320x60a06040327936812022-03-07 12:46:53387 days 7 hrs ago0x4b2f59151d4bb1692439226f872ae7d8b93a9b11 IN  Create: DividenDistributorV20 FTM1.383624879331
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x6273b7b612ef54ac609562098f58c7308326bae00343700d5e79a3400251a16c585555572023-03-28 9:11:161 day 10 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630x4ab0103a2e38d7152a212c373fb432480f9a11ed17.153970149357836272 FTM
0x8b2e6f4e74dadeea9ed6149c33ab21448b86498f3435521bc59fb76b927a7583584106262023-03-26 10:27:273 days 9 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630x332aab30e04743a1ac12c25041c9ea96402396fd409.568661948438810922 FTM
0x4ec8b311a0b5f50dbccb15276ccf0f43d285635416aed5f94edec32b8b00765e583171782023-03-25 1:10:144 days 18 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630x406f15c4ebb27ce6524893e07b46da2ceaa175a087.722141478674930654 FTM
0x54fb9e8f16c17b01ae48251aa93d63566f1742bd9ac38f71ff149e903f8330f5580691622023-03-21 17:00:218 days 3 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630xeb724033ab788e229af208b646a8a4c2799c2ea530.535729056130612668 FTM
0x68c53187b7151d774d0408c81efdf2bae74d4e953a8e8d4787786c54c7a92c5f578991482023-03-19 7:16:1510 days 12 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630xcea448f7b0df11b166617b3743004a573c98b0aa352.412642269105713407 FTM
0xc244433c57bb27da90fe003305c69d4fba0838f1c7fe15296cb5adeaf626b35a576289102023-03-15 12:15:3014 days 7 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630x4be9feb4a643dba1786d6d7eaaaceb74bc91d80681.553007711013624439 FTM
0xff45059de11996c393b5856158ebfce18aaff1e546cea7edca59fa6d1a3a9fef575312562023-03-13 20:13:5815 days 23 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630x510c7a2ef4d18a81d4b98a7dc707926422c303cc122.772556999433095303 FTM
0xf0a5ca1836c4aab5c94deda4eb29b58d4bbf7fb00820d48c64337fcc3e417f24572352752023-03-09 7:32:4620 days 12 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630x4b7325cf177b47e07c69d4ca9e09dfa9fb4dee9828.328972305843935423 FTM
0x2736349e1b458e7059cf688e682f5cbfd95c42889afa1835e7cd98612edf8ebd572064072023-03-08 20:58:0320 days 23 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630x4edba7aa78dd15de5093af95c35f24f04ec93558185.494009724069358515 FTM
0x4186ff82cda9ed6c3d15af1dc744a4d227cb6706d9f52d0239a4453ce6becada571005652023-03-07 3:57:5622 days 16 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630x8e12c09b53173d44c015c9a918787b33b08a7cdd292.359940508519881248 FTM
0x1b7e16029a8e654d69ec1a119f9ecf846a243f34700d1585a8abc666a70ec2a3569274432023-03-04 12:26:4425 days 7 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630x8a5edfbd7b43e73dba807112d1c1e099fdbb594c162.186716791141919318 FTM
0xcc243b4bd6e79af6b45003cb7588ecea0761de5255006ed30fac22f6d0ca25ae568717292023-03-03 16:48:2826 days 3 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630xba8392051504840566521e16dac5b6a9e6b36efb39.468792265406137068 FTM
0x008b6a3eff6be4c7109469102bc46bffd00dbdc0094c7e5f464b97dd50160200567614822023-03-02 0:53:4727 days 19 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630x61f508457e0c2633ecb2fadd63779b9450c0c38d75.095047589833550242 FTM
0xfc5bcc613c9a0ae33aee929fefecd704f174ef58307818b7c1655e557c998ae8567606672023-03-02 0:38:1627 days 19 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630xa76c3635732b7a9b0cefa16d7048f0d13f846a3a598.700587917470605875 FTM
0xa2b6bc49de257b35784728cb376b3736f1aafd55eddef6b5f4a6f57bf3c5614a567463442023-03-01 19:32:2628 days 36 mins ago 0x12567eec29fa41ab9540c2b9daad790f252957630x2ed09f2a09ac990fa4bc7555ee7ab2af7faaf080155.958746866362069616 FTM
0x602c26be8efc46b7bd116d7a4c3ae20f0ac8bce659c8837159ed43d9d1a6af5b566771442023-02-28 15:56:1729 days 4 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630xa55b524dbdd2d7080faadae7807cba904ef8a827186.074758695625359955 FTM
0xa9c9ebeb80488a4621a428965e6d6ff3bb48b6925d126c641cb20543e49dbe13566523832023-02-28 6:44:5429 days 13 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630x334ebfb8a6d05c61028c760b94164a6b56089b3673.454064017946276696 FTM
0x70049fe8dff5d21e27b532f74a56a7125b9b106479543cb613835a7c8617efd7566186332023-02-27 17:50:1230 days 2 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630x9303eece6308206fccaa11562b7e84a0563f93d89.14790884958010051 FTM
0x4cdfb35971dd1e70f7562874d5724953d57b67b517dbfa76a9678b50b037db29564987962023-02-25 16:07:1832 days 4 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630x82347023544e416b4c4062738dcc7b932a1a1927275.252073615683955532 FTM
0xdc1ce3816a5d8c6b9d48865549dd668a2fee33ee69b5c7d679ec3e6e47e9de03564521832023-02-24 23:03:3532 days 21 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630xab9e8f7dcf82e40cbe183784dcf3e223f2bf130f756.069635731051628965 FTM
0x200e1b903056a32b54cfe2629b2e9e0d00a243cba5d5ac6239f1b793e9a36f40564213212023-02-24 12:56:5733 days 7 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630x1433dc20d255fcf1d0e77c56ce1764c505ba126e412.907049214737181012 FTM
0x4700cddeef0a4b46009d2e5a5fdfcbb4f860c2366442e767daccbd1b0e8842d1564063742023-02-24 7:22:2033 days 12 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630xa647183f5065f90f9b8d247d008433e238ee6b0521.876320923089232312 FTM
0x0ee1f0bfe7b9c6769a240d222002b4f305fa686225d20c47f0bc899903e9861a564060172023-02-24 7:13:5933 days 12 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630x429b4b7e4d5084ae9670d504619eb54371a7d18b6.739584584251504397 FTM
0x59190bb12ffd39d8ed5fadaeac938de1933095c2be95b1e2913007c60dd5215c563966612023-02-24 2:40:5533 days 17 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630x9c98abe3c2b4f3c20efb37ffd50de9bfc9ffc4f7168.03037862307077704 FTM
0x905b07d74cb30cd07b2b7fee48bc835f9cfcb0be1c485bb0ebec4e27094863ff563870222023-02-23 22:33:4333 days 21 hrs ago 0x12567eec29fa41ab9540c2b9daad790f252957630xa78c531fd0dd44ca21d1e08fb6ba890920128e0e648.746867164567677272 FTM
[ Download CSV Export 
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
DividenDistributorV2

Compiler Version
v0.8.5+commit.a4f2e591

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at FtmScan.com on 2022-03-09
*/

pragma solidity 0.8.5;


// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)
/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @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 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);
            }
        }
    }
}


// OpenZeppelin Contracts v4.4.1 (proxy/utils/Initializable.sol)
/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the
 * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() initializer {}
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

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

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        // If the contract is initializing we ignore whether _initialized is set in order to support multiple
        // inheritance patterns, but we only do this in the context of a constructor, because in other contexts the
        // contract may have been reentered.
        require(_initializing ? _isConstructor() : !_initialized, "Initializable: contract is already initialized");

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

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} modifier, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    function _isConstructor() private view returns (bool) {
        return !AddressUpgradeable.isContract(address(this));
    }
}


// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)
/**
 * @dev This is the interface that {BeaconProxy} expects of its beacon.
 */
interface IBeaconUpgradeable {
    /**
     * @dev Must return an address that can be used as a delegate call target.
     *
     * {BeaconProxy} will check that this address is a contract.
     */
    function implementation() external view returns (address);
}


// OpenZeppelin Contracts v4.4.1 (utils/StorageSlot.sol)
/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._
 */
library StorageSlotUpgradeable {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        assembly {
            r.slot := slot
        }
    }
}


// OpenZeppelin Contracts v4.4.1 (proxy/ERC1967/ERC1967Upgrade.sol)
/**
 * @dev This abstract contract provides getters and event emitting update functions for
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.
 *
 * _Available since v4.1._
 *
 * @custom:oz-upgrades-unsafe-allow delegatecall
 */
abstract contract ERC1967UpgradeUpgradeable is Initializable {
    function __ERC1967Upgrade_init() internal onlyInitializing {
        __ERC1967Upgrade_init_unchained();
    }

    function __ERC1967Upgrade_init_unchained() internal onlyInitializing {
    }
    // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1
    bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;

    /**
     * @dev Storage slot with the address of the current implementation.
     * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @dev Emitted when the implementation is upgraded.
     */
    event Upgraded(address indexed implementation);

    /**
     * @dev Returns the current implementation address.
     */
    function _getImplementation() internal view returns (address) {
        return StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 implementation slot.
     */
    function _setImplementation(address newImplementation) private {
        require(AddressUpgradeable.isContract(newImplementation), "ERC1967: new implementation is not a contract");
        StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
    }

    /**
     * @dev Perform implementation upgrade
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeTo(address newImplementation) internal {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

    /**
     * @dev Perform implementation upgrade with additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCall(
        address newImplementation,
        bytes memory data,
        bool forceCall
    ) internal {
        _upgradeTo(newImplementation);
        if (data.length > 0 || forceCall) {
            _functionDelegateCall(newImplementation, data);
        }
    }

    /**
     * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCallSecure(
        address newImplementation,
        bytes memory data,
        bool forceCall
    ) internal {
        address oldImplementation = _getImplementation();

        // Initial upgrade and setup call
        _setImplementation(newImplementation);
        if (data.length > 0 || forceCall) {
            _functionDelegateCall(newImplementation, data);
        }

        // Perform rollback test if not already in progress
        StorageSlotUpgradeable.BooleanSlot storage rollbackTesting = StorageSlotUpgradeable.getBooleanSlot(_ROLLBACK_SLOT);
        if (!rollbackTesting.value) {
            // Trigger rollback using upgradeTo from the new implementation
            rollbackTesting.value = true;
            _functionDelegateCall(
                newImplementation,
                abi.encodeWithSignature("upgradeTo(address)", oldImplementation)
            );
            rollbackTesting.value = false;
            // Check rollback was effective
            require(oldImplementation == _getImplementation(), "ERC1967Upgrade: upgrade breaks further upgrades");
            // Finally reset to the new implementation and log the upgrade
            _upgradeTo(newImplementation);
        }
    }

    /**
     * @dev Storage slot with the admin of the contract.
     * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /**
     * @dev Emitted when the admin account has changed.
     */
    event AdminChanged(address previousAdmin, address newAdmin);

    /**
     * @dev Returns the current admin.
     */
    function _getAdmin() internal view returns (address) {
        return StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 admin slot.
     */
    function _setAdmin(address newAdmin) private {
        require(newAdmin != address(0), "ERC1967: new admin is the zero address");
        StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value = newAdmin;
    }

    /**
     * @dev Changes the admin of the proxy.
     *
     * Emits an {AdminChanged} event.
     */
    function _changeAdmin(address newAdmin) internal {
        emit AdminChanged(_getAdmin(), newAdmin);
        _setAdmin(newAdmin);
    }

    /**
     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.
     * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.
     */
    bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;

    /**
     * @dev Emitted when the beacon is upgraded.
     */
    event BeaconUpgraded(address indexed beacon);

    /**
     * @dev Returns the current beacon.
     */
    function _getBeacon() internal view returns (address) {
        return StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value;
    }

    /**
     * @dev Stores a new beacon in the EIP1967 beacon slot.
     */
    function _setBeacon(address newBeacon) private {
        require(AddressUpgradeable.isContract(newBeacon), "ERC1967: new beacon is not a contract");
        require(
            AddressUpgradeable.isContract(IBeaconUpgradeable(newBeacon).implementation()),
            "ERC1967: beacon implementation is not a contract"
        );
        StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value = newBeacon;
    }

    /**
     * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does
     * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).
     *
     * Emits a {BeaconUpgraded} event.
     */
    function _upgradeBeaconToAndCall(
        address newBeacon,
        bytes memory data,
        bool forceCall
    ) internal {
        _setBeacon(newBeacon);
        emit BeaconUpgraded(newBeacon);
        if (data.length > 0 || forceCall) {
            _functionDelegateCall(IBeaconUpgradeable(newBeacon).implementation(), data);
        }
    }

    /**
     * @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) private returns (bytes memory) {
        require(AddressUpgradeable.isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return AddressUpgradeable.verifyCallResult(success, returndata, "Address: low-level delegate call failed");
    }
    uint256[50] private __gap;
}


// OpenZeppelin Contracts v4.4.1 (proxy/utils/UUPSUpgradeable.sol)
/**
 * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an
 * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.
 *
 * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is
 * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing
 * `UUPSUpgradeable` with a custom implementation of upgrades.
 *
 * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.
 *
 * _Available since v4.1._
 */
abstract contract UUPSUpgradeable is Initializable, ERC1967UpgradeUpgradeable {
    function __UUPSUpgradeable_init() internal onlyInitializing {
        __ERC1967Upgrade_init_unchained();
        __UUPSUpgradeable_init_unchained();
    }

    function __UUPSUpgradeable_init_unchained() internal onlyInitializing {
    }
    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment
    address private immutable __self = address(this);

    /**
     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is
     * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case
     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a
     * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to
     * fail.
     */
    modifier onlyProxy() {
        require(address(this) != __self, "Function must be called through delegatecall");
        require(_getImplementation() == __self, "Function must be called through active proxy");
        _;
    }

    /**
     * @dev Upgrade the implementation of the proxy to `newImplementation`.
     *
     * Calls {_authorizeUpgrade}.
     *
     * Emits an {Upgraded} event.
     */
    function upgradeTo(address newImplementation) external virtual onlyProxy {
        _authorizeUpgrade(newImplementation);
        _upgradeToAndCallSecure(newImplementation, new bytes(0), false);
    }

    /**
     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call
     * encoded in `data`.
     *
     * Calls {_authorizeUpgrade}.
     *
     * Emits an {Upgraded} event.
     */
    function upgradeToAndCall(address newImplementation, bytes memory data) external payable virtual onlyProxy {
        _authorizeUpgrade(newImplementation);
        _upgradeToAndCallSecure(newImplementation, data, true);
    }

    /**
     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by
     * {upgradeTo} and {upgradeToAndCall}.
     *
     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.
     *
     * ```solidity
     * function _authorizeUpgrade(address) internal override onlyOwner {}
     * ```
     */
    function _authorizeUpgrade(address newImplementation) internal virtual;
    uint256[50] private __gap;
}


// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)
/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControlUpgradeable {
    /**
     * @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;
}


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

    function __Context_init_unchained() internal onlyInitializing {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
    uint256[50] private __gap;
}


// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
/**
 * @dev String operations.
 */
library StringsUpgradeable {
    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);
    }
}


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
/**
 * @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 IERC165Upgradeable {
    /**
     * @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);
}


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
/**
 * @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 ERC165Upgradeable is Initializable, IERC165Upgradeable {
    function __ERC165_init() internal onlyInitializing {
        __ERC165_init_unchained();
    }

    function __ERC165_init_unchained() internal onlyInitializing {
    }
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165Upgradeable).interfaceId;
    }
    uint256[50] private __gap;
}


// OpenZeppelin Contracts v4.4.1 (access/AccessControl.sol)
/**
 * @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 AccessControlUpgradeable is Initializable, ContextUpgradeable, IAccessControlUpgradeable, ERC165Upgradeable {
    function __AccessControl_init() internal onlyInitializing {
        __Context_init_unchained();
        __ERC165_init_unchained();
        __AccessControl_init_unchained();
    }

    function __AccessControl_init_unchained() internal onlyInitializing {
    }
    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(IAccessControlUpgradeable).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 ",
                        StringsUpgradeable.toHexString(uint160(account), 20),
                        " is missing role ",
                        StringsUpgradeable.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 revoked `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}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    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);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
    uint256[49] private __gap;
}


// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)
/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract PausableUpgradeable is Initializable, ContextUpgradeable {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    function __Pausable_init() internal onlyInitializing {
        __Context_init_unchained();
        __Pausable_init_unchained();
    }

    function __Pausable_init_unchained() internal onlyInitializing {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
    uint256[49] private __gap;
}


// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)
/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20Upgradeable {
    /**
     * @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);
}


// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)
/**
 * @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 SafeERC20Upgradeable {
    using AddressUpgradeable for address;

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

    function safeTransferFrom(
        IERC20Upgradeable 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(
        IERC20Upgradeable 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(
        IERC20Upgradeable 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(
        IERC20Upgradeable 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(IERC20Upgradeable 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");
        }
    }
}


/**
 * @title SafeTokenRecover
 * @author Vittorio Minacori (https://github.com/vittominacori)
 * @dev Allow to recover any ERC20 sent into the contract for error
 */
contract SafeTokenRecoverUpgradeable is
    Initializable,
    AccessControlUpgradeable
{
    using SafeERC20Upgradeable for IERC20Upgradeable;

    bytes32 public constant RESCUER_ROLE = keccak256("RESCUER_ROLE");

    // solhint-disable-next-line func-name-mixedcase
    function __SafeTokenRecover_init() internal initializer {
        __Context_init_unchained();
        __ERC165_init_unchained();
        __AccessControl_init_unchained();

        __SafeTokenRecover_init_unchained();
    }

    // solhint-disable-next-line func-name-mixedcase, no-empty-blocks
    function __SafeTokenRecover_init_unchained() internal initializer {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
    }

    /**
     * @notice Recover ERC20 tokens locked up in this contract.
     * @param tokenAddress ERC20 token contract address
     * @param tokenAmount Amount to recover
     */
    function recoverERC20(address tokenAddress, uint256 tokenAmount)
        external
        onlyRole(RESCUER_ROLE)
    {
        IERC20Upgradeable(tokenAddress).safeTransfer(_msgSender(), tokenAmount);
    }

    /**
     * @notice Rescue ERC20 tokens locked up in this contract.
     * @param tokenContract ERC20 token contract address
     * @param to        Recipient address
     * @param amount    Amount to rescue
     */
    function rescueERC20(
        IERC20Upgradeable tokenContract,
        address to,
        uint256 amount
    ) external onlyRole(RESCUER_ROLE) {
        tokenContract.safeTransfer(to, amount);
    }

    uint256[50] private __gap;
}


interface IERC20SnapshotUpgradeable {
    function balanceOfAt(address account, uint256 snapshotId) external view returns (uint256);
    
    function totalSupplyAt(uint256 snapshotId) external view returns (uint256);

    function snapshot() external returns (uint256);

    function lastSnapshotId() external view returns (uint256);
}


interface IUniswapV2Router02 {
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
}


interface IDividenDistributor {
    function claimReward(uint256 rewardId) external;
}


contract DividenDistributorV1 is  
    IDividenDistributor,
    Initializable,
    UUPSUpgradeable,
    AccessControlUpgradeable,
    SafeTokenRecoverUpgradeable,
    PausableUpgradeable {
    struct Reward {
        uint256 rewardAmount;        
        uint256 totalClaimed;
        uint256 issuedAt;
        uint256 snapshotId;  
        uint256 totalExcludedFromSupply;      
        uint8 rewardSource;  
        mapping(address => bool) isExcludedFromReward;   
        mapping(address => bool) rewardClaimed;
    }

    mapping(uint256 => Reward) public rewards;
    address[] public listExcludedFromReward;

    IUniswapV2Router02 public uniswapV2Router;    
    uint256 public lastRewardShare;   
    uint256 public rewardLength;     
    uint256 public minimumFrockToSwap;
    address public mainToken;       
    bool private inSwap;
    bytes32 public constant REWARDER_ROLE = keccak256("REWARDER");
    
    mapping(address => bool) public isExcludedFromReward;    
    mapping(address => mapping(uint8 => uint256)) public holderToTotalClaimed; // Holder Address => Reward Source => Total Amount FTM Claimed

    event UpdateMainToken(address newMainToken);   
    event NewReward(uint256 rewardId, uint256 rewardAmount, uint256 snapshotId, uint8 rewardSource);
    event ClaimReward(uint256 indexed rewardId, uint256 rewardAmount, address indexed holder); 
    event ExcludedFromReward(address indexed holder, bool state);
    event NewMinimumFrockToSwap(uint256 newMinimumFrockToSwap);

    modifier lockTheSwap {
        inSwap = true;
        _;
        inSwap = false;
    }
    
    // Initialize
    function initialize() external initializer {        

        __AccessControl_init_unchained();
        __Context_init_unchained();
        __SafeTokenRecover_init_unchained();
        __Pausable_init_unchained();

        // Setup deployer as Admin when construction
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
        _setupRole(RESCUER_ROLE, _msgSender());

        minimumFrockToSwap = 1000 * (10 ** 9);

        uniswapV2Router = IUniswapV2Router02(0xF491e7B69E4244ad4002BC14e878a34207E38c29);
        inSwap = false;
    }

    /**
     * @dev override function when contract upgraded
     */
    function _authorizeUpgrade(address newImplementation) internal override {
        require(
            newImplementation != address(0),
            "Staking: Cannot zero address"
        );
        require(
            _msgSender() == _getAdmin(),
            "Staking: Not the Owner of Contract"
        );
    } // solhint-disable-line no-empty-blocks    

    function swapAndShareReward() external onlyRole(REWARDER_ROLE) {
        require(mainToken != address(0), "DD : MAIN_TOKEN_NOT_SETTED");
        uint256 mainTokenBalance = getTokenBalance();

        // Minimum Frock that must owned by Dividen contract to Swap
        require(
            mainTokenBalance >= minimumFrockToSwap,
            "DD: REQUIREMENT_NOT_PASSED"
        );

        lastRewardShare = block.timestamp;

        uint256 ethBalanceBefore = getBalance();
        
        // Swap        
        _swapTokensForEth(mainTokenBalance);

        uint256 ethBalanceAfter = getBalance();

        _createReward(ethBalanceAfter - ethBalanceBefore, 0);
    }    
      
    
    function shareReward() external payable onlyRole(REWARDER_ROLE) {
        require(msg.value > 0, "DD: NO_ETH_SENT");
        _createReward(msg.value, 1);
    }

    function _createReward(uint256 rewardAmount, uint8 rewardSource) internal {
        uint256 snapshotId = IERC20SnapshotUpgradeable(mainToken).snapshot();
        uint256 rewardId = rewardLength;
        Reward storage reward = rewards[rewardId];
        reward.rewardAmount = rewardAmount;
        reward.totalClaimed = 0;
        reward.issuedAt = block.timestamp;
        reward.snapshotId = snapshotId;
        reward.rewardSource = rewardSource; 
        
        uint256 totalExcluded = 0;
        for (uint8 i = 0; i < listExcludedFromReward.length; i++) {
            reward.isExcludedFromReward[listExcludedFromReward[i]] = true;
            totalExcluded += IERC20SnapshotUpgradeable(mainToken).balanceOfAt(listExcludedFromReward[i], snapshotId);
        }
        reward.totalExcludedFromSupply = totalExcluded;
                         
        rewardLength++;

        emit NewReward(rewardId, rewardAmount, snapshotId, rewardSource);
    }

    function _swapTokensForEth(uint256 tokenAmount) private lockTheSwap {
        address[] memory path = new address[](2);
        path[0] = address(mainToken);
        path[1] = uniswapV2Router.WETH();
        IERC20Upgradeable(mainToken).approve(address(uniswapV2Router), tokenAmount);
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function claimReward(uint256 rewardId) external override {
        require(_rewardExists(rewardId), "DD: REWARD_NOT_EXISTS");
        require(!rewards[rewardId].isExcludedFromReward[_msgSender()], "DD: NOT_ALLOWED_TO_CLAIM");
        require(!rewards[rewardId].rewardClaimed[_msgSender()], "DD: REWARD_HAS_CLAIMED");        
            
        uint256 rewardAmount = _claim(rewardId, _msgSender());
        _safeTransferETH(_msgSender(), rewardAmount);
        
        emit ClaimReward(rewardId, rewardAmount, _msgSender());
    }

    /**
     * @dev to claim multiple reward at once
     */
    function batchClaimReward(uint256[] calldata rewardIds) external {
        uint256 totalRewardAmount = 0;

        for (uint256 i = 0; i < rewardIds.length; i++) {
            uint256 rewardId = rewardIds[i];
            
            if(_rewardExists(rewardId) && 
                !rewards[rewardId].isExcludedFromReward[_msgSender()] && 
                !rewards[rewardId].rewardClaimed[_msgSender()]
            ) {
                 uint256 rewardAmount = _claim(rewardId, _msgSender());
                 totalRewardAmount += rewardAmount;
                emit ClaimReward(rewardId, rewardAmount, _msgSender());
            }            
        }

        if(totalRewardAmount > 0) {
            _safeTransferETH(_msgSender(), totalRewardAmount);
        }
    }

    function _claim(uint256 rewardId, address holder) internal returns (uint256){
        Reward storage reward = rewards[rewardId];    
        (uint256 holderBalance,,uint256 rewardAmount) = _calculateRewardAmount(
            reward.snapshotId,
            reward.totalExcludedFromSupply,
            reward.rewardAmount,
            holder
        );

        require(holderBalance > 0, "DD: NOT_A_HOLDER");

        reward.rewardClaimed[holder] = true;
        reward.totalClaimed += rewardAmount;
        holderToTotalClaimed[holder][reward.rewardSource] += rewardAmount;  

        return rewardAmount;
    }

    function _calculateRewardAmount(
        uint256 snapshotId,
        uint256 totalExcludedFromSupply,
        uint256 rewardAmount,
        address holder
    ) internal view returns (uint256 holderBalance, uint256 supply, uint256 calculateRewardAmount) {
        holderBalance = IERC20SnapshotUpgradeable(mainToken).balanceOfAt(holder, snapshotId);
        supply = IERC20SnapshotUpgradeable(mainToken).totalSupplyAt(snapshotId) - totalExcludedFromSupply;        
        calculateRewardAmount = rewardAmount * holderBalance / supply;
    }

    function _rewardExists(uint256 rewardId) internal view returns (bool) {
        return rewards[rewardId].issuedAt > 0;
    }

    /**
     * @dev get total amount of frock that owned by this contract
     */
    function getTokenBalance() public view returns(uint256 tokenAmount) {
        return IERC20Upgradeable(mainToken).balanceOf(address(this));
    }

    /**
     * @dev get total amount of FTM that owned by this contract
     */
    function getBalance() public view returns(uint256 balance) {
        return address(this).balance;
    }

    /**
     * @dev set main token (frock token) address
     */
    function setMainToken(address tokenAddress) external onlyRole(DEFAULT_ADMIN_ROLE) {
        mainToken = tokenAddress;
        emit UpdateMainToken(tokenAddress);
    }

    /**
     * 
     */
    function setMinimumFrockToSwap(uint256 newMinimumFrockToSwap) external onlyRole(DEFAULT_ADMIN_ROLE) {
        minimumFrockToSwap = newMinimumFrockToSwap;
        emit NewMinimumFrockToSwap(newMinimumFrockToSwap);
    }

    function _safeTransferETH(address to, uint value) internal {
        (bool success,) = to.call{value:value}(new bytes(0));
        require(success, 'DD: ETH_TRANSFER_FAILED');
    }

    /**
     * @dev to Exclude address from reward distribution
     */
    function excludedFromReward(address holder, bool state) external onlyRole(DEFAULT_ADMIN_ROLE) {
        require(isExcludedFromReward[holder] != state, "Cannot set to same state");
        _excludedFromReward(holder, state);
    }

    function _excludedFromReward(address holder, bool state) internal {
        isExcludedFromReward[holder] = state;

        if(state) {
            // Add to list
            listExcludedFromReward.push(holder);            
        } else {
            // Remove fromlist           
            for(uint256 i = 0; i < listExcludedFromReward.length ; i ++) {
                if(listExcludedFromReward[i] == holder) {
                    if(i == listExcludedFromReward.length-1) {
                        // Last element
                        listExcludedFromReward.pop();
                    } else {
                        // First or Not last element
                        listExcludedFromReward[i] = listExcludedFromReward[listExcludedFromReward.length - 1];
                        listExcludedFromReward.pop();
                    }
                    break;
                }
            }
        }

        emit  ExcludedFromReward(holder, state);
    }

    /**
     * @dev get total amount of building trade dividen
     * @dev only calculate for reward that coming from swapAndShareReward function
     */
    function buildingTradeDividendOfHolder(address holder) external view returns (uint256) {
        if(!isExcludedFromReward[holder]) {
            uint256 snapshotId = IERC20SnapshotUpgradeable(mainToken).lastSnapshotId();
            uint256 holderBalance = IERC20SnapshotUpgradeable(mainToken).balanceOfAt(holder, snapshotId);
            uint256 supply = IERC20SnapshotUpgradeable(mainToken).totalSupplyAt(snapshotId);
            uint256 currentContractBalance = getTokenBalance();

            // Calculate The total Tokens that need to excluded from reward
            uint256 totalExcludedFromReward = 0;
            for(uint256 i = 0; i < listExcludedFromReward.length; i++) {
                totalExcludedFromReward += IERC20SnapshotUpgradeable(mainToken).balanceOfAt(listExcludedFromReward[i], snapshotId);
            }            
            return currentContractBalance * holderBalance / (supply - totalExcludedFromReward);
        }
        return 0;
    }

    /**
     * @dev Get list if reward id that not yet claimed by holder
     * @param holder is holder's address 
     * @param rewardSource 0 => Reward that coming from swapAndShareReward, 1 => Reward that coming from  shareReward
     */
    function getRewardIdsUnclaimed(address holder, uint8 rewardSource) public view returns (uint256[] memory) {
        uint256[] memory tempRewardIds = new uint256[](rewardLength);

        uint256 tempLength = 0;
        for(uint i = 0; i < rewardLength; i++) {
            // Reward memory reward = rewards[i];
            uint8 rewardSourceType = rewards[i].rewardSource;            
            if(rewardSourceType == rewardSource) {
                bool isRewardClaimed = rewards[i].rewardClaimed[holder];
                bool isHolderExcludedFromReward = rewards[i].isExcludedFromReward[holder];
                if(!isRewardClaimed && !isHolderExcludedFromReward) {                    
                    tempRewardIds[tempLength] = i;
                    tempLength++;
                }   
            }
        }      

        uint256[] memory rewardIds = new uint256[](tempLength);
        for(uint j = 0; j < tempLength; j++ ){
            rewardIds[j] = tempRewardIds[j];
        }

        return rewardIds;
    }

     /**
     * @dev Get total amount of reward that not yet claimed by holder
     * @param holder is holder's address 
     * @param rewardSource 0 => Reward that coming from swapAndShareReward, 1 => Reward that coming from  shareReward
     */
    function getTotalUnclaimedReward(address holder, uint8 rewardSource) external view returns (uint256 totalUnclaimedReward) {
        uint256[] memory rewardIdsUnclaimed = getRewardIdsUnclaimed(holder, rewardSource);
        for(uint i = 0 ; i < rewardIdsUnclaimed.length; i++) {
            uint256 rewardId = rewardIdsUnclaimed[i];            
            (,,uint256 rewardAmount) = _calculateRewardAmount(
                rewards[rewardId].snapshotId,
                rewards[rewardId].totalExcludedFromSupply,
                rewards[rewardId].rewardAmount,
                holder
            );
            totalUnclaimedReward += rewardAmount;
        }
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(AccessControlUpgradeable) returns (bool) {
        return interfaceId == type(IAccessControlUpgradeable).interfaceId 
        || interfaceId == type(IDividenDistributor).interfaceId
        || super.supportsInterface(interfaceId);        
    }
    
    // Function to receive Ether. msg.data must be empty
    receive() external payable {}

    // Fallback function is called when msg.data is not empty
    fallback() external payable {}
}


contract DividenDistributorV2 is DividenDistributorV1
{
   /**
     * @dev Get list if reward id that not yet claimed by holder
     * @param holder is holder's address 
     * @param rewardSource 0 => Reward that coming from swapAndShareReward, 1 => Reward that coming from  shareReward
     */
    function getUnclaimedRewardIds(address holder, uint8 rewardSource) public virtual view returns (uint256[] memory) {
        uint256[] memory tempRewardIds = new uint256[](rewardLength);

        uint256 tempLength = 0;
        for(uint i = 0; i < rewardLength; i++) {
            // Reward memory reward = rewards[i];
            uint8 rewardSourceType = rewards[i].rewardSource;            
            if(rewardSourceType == rewardSource) {
                bool isRewardClaimed = rewards[i].rewardClaimed[holder];
                bool isHolderExcludedFromReward = rewards[i].isExcludedFromReward[holder];
                uint256 holderBalance = IERC20SnapshotUpgradeable(mainToken).balanceOfAt(holder, rewards[i].snapshotId);
                if(!isRewardClaimed && !isHolderExcludedFromReward && holderBalance > 0) {                    
                    tempRewardIds[tempLength] = i;
                    tempLength++;
                }   
            }
        }      

        uint256[] memory rewardIds = new uint256[](tempLength);
        for(uint j = 0; j < tempLength; j++ ){
            rewardIds[j] = tempRewardIds[j];
        }

        return rewardIds;
    }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"rewardId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rewardAmount","type":"uint256"},{"indexed":true,"internalType":"address","name":"holder","type":"address"}],"name":"ClaimReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"holder","type":"address"},{"indexed":false,"internalType":"bool","name":"state","type":"bool"}],"name":"ExcludedFromReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMinimumFrockToSwap","type":"uint256"}],"name":"NewMinimumFrockToSwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"rewardId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rewardAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"snapshotId","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"rewardSource","type":"uint8"}],"name":"NewReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newMainToken","type":"address"}],"name":"UpdateMainToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESCUER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REWARDER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"rewardIds","type":"uint256[]"}],"name":"batchClaimReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"}],"name":"buildingTradeDividendOfHolder","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rewardId","type":"uint256"}],"name":"claimReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"bool","name":"state","type":"bool"}],"name":"excludedFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"uint8","name":"rewardSource","type":"uint8"}],"name":"getRewardIdsUnclaimed","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokenBalance","outputs":[{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"uint8","name":"rewardSource","type":"uint8"}],"name":"getTotalUnclaimedReward","outputs":[{"internalType":"uint256","name":"totalUnclaimedReward","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"uint8","name":"rewardSource","type":"uint8"}],"name":"getUnclaimedRewardIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint8","name":"","type":"uint8"}],"name":"holderToTotalClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastRewardShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"listExcludedFromReward","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mainToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumFrockToSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20Upgradeable","name":"tokenContract","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"rewardAmount","type":"uint256"},{"internalType":"uint256","name":"totalClaimed","type":"uint256"},{"internalType":"uint256","name":"issuedAt","type":"uint256"},{"internalType":"uint256","name":"snapshotId","type":"uint256"},{"internalType":"uint256","name":"totalExcludedFromSupply","type":"uint256"},{"internalType":"uint8","name":"rewardSource","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"setMainToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMinimumFrockToSwap","type":"uint256"}],"name":"setMinimumFrockToSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shareReward","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapAndShareReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a06040523060601b60805234801561001757600080fd5b5060805160601c61345561004b60003960008181610d1001528181610d5001528181610dd90152610e1901526134556000f3fe6080604052600436106102065760003560e01c806380313d3111610117578063b2118a8d116100a5578063d547741f1161006c578063d547741f14610634578063daf9412314610654578063f301af4214610674578063f78bddf3146106f8578063fd21c1251461071857005b8063b2118a8d1461059d578063b854aca0146105bd578063b95c5746146105dd578063c760da04146105f4578063cb0968fa1461061457005b806388f82020116100e957806388f82020146104f75780638980f11f1461052857806391d1485414610548578063a217fddf14610568578063ae169a501461057d57005b806380313d31146104915780638129fc1c1461049957806382b2e257146104ae5780638580cf76146104c357005b806336568abe116101945780634f1ef286116101665780634f1ef286146103ea5780635069b864146103fd5780635c975abb146104365780635e732dd81461044f578063713725441461046f57005b806336568abe146103725780633659cfe6146103925780633fc15f15146103b25780634c95bc93146103d357005b80631694505e116101d85780631694505e146102a95780631a19aa40146102e2578063248a9ca31461030257806327ce464e146103325780632f2ff15d1461035257005b806301ffc9a71461020f57806308bf9922146102445780630958dbbc1461026957806312065fe01461029657005b3661020d57005b005b34801561021b57600080fd5b5061022f61022a366004612f41565b61072d565b60405190151581526020015b60405180910390f35b34801561025057600080fd5b5061025b6101645481565b60405190815260200161023b565b34801561027557600080fd5b50610289610284366004612e3d565b610773565b60405161023b9190613056565b3480156102a257600080fd5b504761025b565b3480156102b557600080fd5b50610161546102ca906001600160a01b031681565b6040516001600160a01b03909116815260200161023b565b3480156102ee57600080fd5b5061025b6102fd366004612cda565b610924565b34801561030e57600080fd5b5061025b61031d366004612f03565b600090815260c9602052604090206001015490565b34801561033e57600080fd5b5061020d61034d366004612cda565b610bf4565b34801561035e57600080fd5b5061020d61036d366004612f1c565b610c57565b34801561037e57600080fd5b5061020d61038d366004612f1c565b610c82565b34801561039e57600080fd5b5061020d6103ad366004612cda565b610d05565b3480156103be57600080fd5b50610165546102ca906001600160a01b031681565b3480156103df57600080fd5b5061025b6101625481565b61020d6103f8366004612d4d565b610dce565b34801561040957600080fd5b5061025b610418366004612e3d565b61016760209081526000928352604080842090915290825290205481565b34801561044257600080fd5b5061012d5460ff1661022f565b34801561045b57600080fd5b5061020d61046a366004612f03565b610e84565b34801561047b57600080fd5b5061025b6000805160206133d983398151915281565b61020d610ec6565b3480156104a557600080fd5b5061020d610f3e565b3480156104ba57600080fd5b5061025b611031565b3480156104cf57600080fd5b5061025b7f5a8bfb9223d93ad39e310233fff7bc65227887789e6e83c62b12f0dfdd782ec381565b34801561050357600080fd5b5061022f610512366004612cda565b6101666020526000908152604090205460ff1681565b34801561053457600080fd5b5061020d610543366004612e11565b6110b3565b34801561055457600080fd5b5061022f610563366004612f1c565b6110e0565b34801561057457600080fd5b5061025b600081565b34801561058957600080fd5b5061020d610598366004612f03565b61110b565b3480156105a957600080fd5b5061020d6105b8366004612f6b565b61128b565b3480156105c957600080fd5b5061020d6105d8366004612d14565b6112be565b3480156105e957600080fd5b5061025b6101635481565b34801561060057600080fd5b5061020d61060f366004612e71565b611344565b34801561062057600080fd5b506102ca61062f366004612f03565b611465565b34801561064057600080fd5b5061020d61064f366004612f1c565b611490565b34801561066057600080fd5b5061028961066f366004612e3d565b6114b6565b34801561068057600080fd5b506106c861068f366004612f03565b61015f60205260009081526040902080546001820154600283015460038401546004850154600590950154939492939192909160ff1686565b604080519687526020870195909552938501929092526060840152608083015260ff1660a082015260c00161023b565b34801561070457600080fd5b5061025b610713366004612e3d565b6116fa565b34801561072457600080fd5b5061020d61178f565b60006001600160e01b03198216637965db0b60e01b148061075e57506001600160e01b03198216630ae169a560e41b145b8061076d575061076d82611896565b92915050565b606060006101635467ffffffffffffffff8111156107935761079361339f565b6040519080825280602002602001820160405280156107bc578160200160208202803683370190505b5090506000805b6101635481101561087e57600081815261015f602052604090206005015460ff90811690861681141561086b57600082815261015f602090815260408083206001600160a01b038b1684526007810183528184205460069091019092529091205460ff918216911681158015610837575080155b15610868578386868151811061084f5761084f613389565b60209081029190910101528461086481613322565b9550505b50505b508061087681613322565b9150506107c3565b5060008167ffffffffffffffff81111561089a5761089a61339f565b6040519080825280602002602001820160405280156108c3578160200160208202803683370190505b50905060005b8281101561091a578381815181106108e3576108e3613389565b60200260200101518282815181106108fd576108fd613389565b60209081029190910101528061091281613322565b9150506108c9565b5095945050505050565b6001600160a01b0381166000908152610166602052604081205460ff16610bec57610165546040805163020debef60e61b815290516000926001600160a01b03169163837afbc0916004808301926020929190829003018186803b15801561098b57600080fd5b505afa15801561099f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c39190612fac565b6101655460405163277166bf60e11b81526001600160a01b0386811660048301526024820184905292935060009290911690634ee2cd7e9060440160206040518083038186803b158015610a1657600080fd5b505afa158015610a2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4e9190612fac565b61016554604051630981b24d60e41b8152600481018590529192506000916001600160a01b039091169063981b24d09060240160206040518083038186803b158015610a9957600080fd5b505afa158015610aad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad19190612fac565b90506000610add611031565b90506000805b61016054811015610bc2576101655461016080546001600160a01b0390921691634ee2cd7e919084908110610b1a57610b1a613389565b60009182526020909120015460405160e083901b6001600160e01b03191681526001600160a01b0390911660048201526024810189905260440160206040518083038186803b158015610b6c57600080fd5b505afa158015610b80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba49190612fac565b610bae908361326f565b915080610bba81613322565b915050610ae3565b50610bcd81846132c8565b610bd785846132a9565b610be19190613287565b979650505050505050565b506000919050565b6000610c0081336118cb565b61016580546001600160a01b0319166001600160a01b0384169081179091556040519081527fd68271512da4c3278e5f7e25443d78b7221df5389d259a6fbdc569f5b020e54d906020015b60405180910390a15050565b600082815260c96020526040902060010154610c7381336118cb565b610c7d838361192f565b505050565b6001600160a01b0381163314610cf75760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610d0182826119b5565b5050565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161415610d4e5760405162461bcd60e51b8152600401610cee906130cd565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610d80611a1c565b6001600160a01b031614610da65760405162461bcd60e51b8152600401610cee90613119565b610daf81611a4f565b60408051600080825260208201909252610dcb91839190611b18565b50565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161415610e175760405162461bcd60e51b8152600401610cee906130cd565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610e49611a1c565b6001600160a01b031614610e6f5760405162461bcd60e51b8152600401610cee90613119565b610e7882611a4f565b610d0182826001611b18565b6000610e9081336118cb565b6101648290556040518281527fee2f6e6e29939099157785f376fdb1a1a49dff6b9ac02f7e6ee4797ecfd49f7190602001610c4b565b7f5a8bfb9223d93ad39e310233fff7bc65227887789e6e83c62b12f0dfdd782ec3610ef181336118cb565b60003411610f335760405162461bcd60e51b815260206004820152600f60248201526e11110e881393d7d1551217d4d15395608a1b6044820152606401610cee565b610dcb346001611c63565b600054610100900460ff16610f595760005460ff1615610f5d565b303b155b610f795760405162461bcd60e51b8152600401610cee90613165565b600054610100900460ff16158015610f9b576000805461ffff19166101011790555b610fa3611ecb565b610fab611ecb565b610fb3611ef4565b610fbb611f70565b610fc6600033611fa4565b610fde6000805160206133d983398151915233611fa4565b64e8d4a510006101645561016180546001600160a01b03191673f491e7b69e4244ad4002bc14e878a34207e38c29179055610165805460ff60a01b191690558015610dcb576000805461ff001916905550565b610165546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561107657600080fd5b505afa15801561108a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ae9190612fac565b905090565b6000805160206133d98339815191526110cc81336118cb565b610c7d6001600160a01b0384163384611fae565b600091825260c9602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600081815261015f60205260409020600201546111625760405162461bcd60e51b815260206004820152601560248201527444443a205245574152445f4e4f545f45584953545360581b6044820152606401610cee565b600081815261015f6020908152604080832033845260060190915290205460ff16156111d05760405162461bcd60e51b815260206004820152601860248201527f44443a204e4f545f414c4c4f5745445f544f5f434c41494d00000000000000006044820152606401610cee565b600081815261015f6020908152604080832033845260070190915290205460ff16156112375760405162461bcd60e51b815260206004820152601660248201527511110e88149155d0549117d21054d7d0d3105253515160521b6044820152606401610cee565b60006112438233612000565b9050611250335b826120fa565b604051818152339083907f3c9b0efd2967a5b39ada6ae8672433baffccdaa48a527ea0c7659336bed9ff0e9060200160405180910390a35050565b6000805160206133d98339815191526112a481336118cb565b6112b86001600160a01b0385168484611fae565b50505050565b60006112ca81336118cb565b6001600160a01b0383166000908152610166602052604090205460ff161515821515141561133a5760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f742073657420746f2073616d6520737461746500000000000000006044820152606401610cee565b610c7d83836121b7565b6000805b8281101561145557600084848381811061136457611364613389565b90506020020135905061138981600090815261015f6020526040902060020154151590565b80156113b35750600081815261015f6020908152604080832033845260060190915290205460ff16155b80156113dd5750600081815261015f6020908152604080832033845260070190915290205460ff16155b156114425760006113ee8233612000565b90506113fa818561326f565b9350336001600160a01b0316827f3c9b0efd2967a5b39ada6ae8672433baffccdaa48a527ea0c7659336bed9ff0e8360405161143891815260200190565b60405180910390a3505b508061144d81613322565b915050611348565b508015610c7d57610c7d3361124a565b610160818154811061147657600080fd5b6000918252602090912001546001600160a01b0316905081565b600082815260c960205260409020600101546114ac81336118cb565b610c7d83836119b5565b606060006101635467ffffffffffffffff8111156114d6576114d661339f565b6040519080825280602002602001820160405280156114ff578160200160208202803683370190505b5090506000805b6101635481101561165e57600081815261015f602052604090206005015460ff90811690861681141561164b57600082815261015f602081815260408084206001600160a01b038c81168087526007830185528387205460068401865284882054610165548b8a5297909652600390930154935163277166bf60e11b81526004810191909152602481019390935260ff91821695919093169390921690634ee2cd7e9060440160206040518083038186803b1580156115c457600080fd5b505afa1580156115d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115fc9190612fac565b90508215801561160a575081155b80156116165750600081115b15611647578487878151811061162e5761162e613389565b60209081029190910101528561164381613322565b9650505b5050505b508061165681613322565b915050611506565b5060008167ffffffffffffffff81111561167a5761167a61339f565b6040519080825280602002602001820160405280156116a3578160200160208202803683370190505b50905060005b8281101561091a578381815181106116c3576116c3613389565b60200260200101518282815181106116dd576116dd613389565b6020908102919091010152806116f281613322565b9150506116a9565b6000806117078484610773565b905060005b815181101561178757600082828151811061172957611729613389565b602090810291909101810151600081815261015f90925260408220600381015460048201549154929450611760929091908a6123b8565b925050508085611770919061326f565b94505050808061177f90613322565b91505061170c565b505092915050565b7f5a8bfb9223d93ad39e310233fff7bc65227887789e6e83c62b12f0dfdd782ec36117ba81336118cb565b610165546001600160a01b03166118135760405162461bcd60e51b815260206004820152601a60248201527f4444203a204d41494e5f544f4b454e5f4e4f545f5345545445440000000000006044820152606401610cee565b600061181d611031565b9050610164548110156118725760405162461bcd60e51b815260206004820152601a60248201527f44443a20524551554952454d454e545f4e4f545f5041535345440000000000006044820152606401610cee565b426101625547611881826124f3565b476112b861188f83836132c8565b6000611c63565b60006001600160e01b03198216637965db0b60e01b148061076d57506301ffc9a760e01b6001600160e01b031983161461076d565b6118d582826110e0565b610d01576118ed816001600160a01b03166014612700565b6118f8836020612700565b604051602001611909929190612fe1565b60408051601f198184030181529082905262461bcd60e51b8252610cee9160040161309a565b61193982826110e0565b610d0157600082815260c9602090815260408083206001600160a01b03851684529091529020805460ff191660011790556119713390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6119bf82826110e0565b15610d0157600082815260c9602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b546001600160a01b0316919050565b6001600160a01b038116611aa55760405162461bcd60e51b815260206004820152601c60248201527f5374616b696e673a2043616e6e6f74207a65726f2061646472657373000000006044820152606401610cee565b611aad6128a3565b6001600160a01b0316336001600160a01b031614610dcb5760405162461bcd60e51b815260206004820152602260248201527f5374616b696e673a204e6f7420746865204f776e6572206f6620436f6e74726160448201526118dd60f21b6064820152608401610cee565b6000611b22611a1c565b9050611b2d846128cb565b600083511180611b3a5750815b15611b4b57611b498484612970565b505b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143805460ff16611c5c57805460ff191660011781556040516001600160a01b0383166024820152611bca90869060440160408051601f198184030181529190526020810180516001600160e01b0316631b2ce7f360e11b179052612970565b50805460ff19168155611bdb611a1c565b6001600160a01b0316826001600160a01b031614611c535760405162461bcd60e51b815260206004820152602f60248201527f45524331393637557067726164653a207570677261646520627265616b73206660448201526e75727468657220757067726164657360881b6064820152608401610cee565b611c5c85612a5b565b5050505050565b6101655460408051634b88b8ad60e11b815290516000926001600160a01b031691639711715a91600480830192602092919082900301818787803b158015611caa57600080fd5b505af1158015611cbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ce29190612fac565b61016354600081815261015f60205260408120868155600181018290554260028201556003810184905560058101805460ff191660ff8816179055929350909190805b6101605460ff82161015611e5b5760018360060160006101608460ff1681548110611d5257611d52613389565b6000918252602080832091909101546001600160a01b0390811684529083019390935260409091019020805460ff1916921515929092179091556101655461016080549190921691634ee2cd7e9160ff8516908110611db357611db3613389565b60009182526020909120015460405160e083901b6001600160e01b03191681526001600160a01b0390911660048201526024810188905260440160206040518083038186803b158015611e0557600080fd5b505afa158015611e19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e3d9190612fac565b611e47908361326f565b915080611e538161333d565b915050611d25565b50600482018190556101638054906000611e7483613322565b9091555050604080518481526020810188905290810185905260ff861660608201527f780c4077e0f47c1bd199622faa6862dfe04eb5f7ba9a003763251c9f411e64bc9060800160405180910390a1505050505050565b600054610100900460ff16611ef25760405162461bcd60e51b8152600401610cee906131b3565b565b600054610100900460ff16611f0f5760005460ff1615611f13565b303b155b611f2f5760405162461bcd60e51b8152600401610cee90613165565b600054610100900460ff16158015611f51576000805461ffff19166101011790555b611f5c600033611fa4565b8015610dcb576000805461ff001916905550565b600054610100900460ff16611f975760405162461bcd60e51b8152600401610cee906131b3565b61012d805460ff19169055565b610d01828261192f565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610c7d908490612a9b565b600082815261015f602052604081206003810154600482015482548492839261202992886123b8565b9250509150600082116120715760405162461bcd60e51b815260206004820152601060248201526f22221d102727aa2fa0afa427a62222a960811b6044820152606401610cee565b6001600160a01b03851660009081526007840160205260408120805460ff19166001908117909155840180548392906120ab90849061326f565b90915550506001600160a01b038516600090815261016760209081526040808320600587015460ff168452909152812080548392906120eb90849061326f565b90915550909695505050505050565b604080516000808252602082019092526001600160a01b0384169083906040516121249190612fc5565b60006040518083038185875af1925050503d8060008114612161576040519150601f19603f3d011682016040523d82523d6000602084013e612166565b606091505b5050905080610c7d5760405162461bcd60e51b815260206004820152601760248201527f44443a204554485f5452414e534645525f4641494c45440000000000000000006044820152606401610cee565b6001600160a01b038216600090815261016660205260409020805460ff191682158015919091179091556122365761016080546001810182556000919091527fec7e130cdeeae65215fabbcddb1de429e603c4887cc659532eda903e493396630180546001600160a01b0319166001600160a01b03841617905561236f565b60005b6101605481101561236d57826001600160a01b0316610160828154811061226257612262613389565b6000918252602090912001546001600160a01b0316141561235b576101605461228d906001906132c8565b8114156122cd576101608054806122a6576122a6613373565b600082815260209020810160001990810180546001600160a01b031916905501905561236d565b61016080546122de906001906132c8565b815481106122ee576122ee613389565b60009182526020909120015461016080546001600160a01b03909216918390811061231b5761231b613389565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506101608054806122a6576122a6613373565b8061236581613322565b915050612239565b505b816001600160a01b03167f1a2b936d526a67236c009e4ae88154b6373714f26c627ecef5afcd5d62c0536b826040516123ac911515815260200190565b60405180910390a25050565b6101655460405163277166bf60e11b81526001600160a01b038381166004830152602482018790526000928392839290911690634ee2cd7e9060440160206040518083038186803b15801561240c57600080fd5b505afa158015612420573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124449190612fac565b61016554604051630981b24d60e41b8152600481018a905291945087916001600160a01b039091169063981b24d09060240160206040518083038186803b15801561248e57600080fd5b505afa1580156124a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124c69190612fac565b6124d091906132c8565b9150816124dd84876132a9565b6124e79190613287565b90509450945094915050565b610165805460ff60a01b1916600160a01b17905560408051600280825260608201835260009260208301908036833750506101655482519293506001600160a01b03169183915060009061254957612549613389565b6001600160a01b0392831660209182029290920181019190915261016154604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561259e57600080fd5b505afa1580156125b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125d69190612cf7565b816001815181106125e9576125e9613389565b6001600160a01b039283166020918202929092010152610165546101615460405163095ea7b360e01b815290831660048201526024810185905291169063095ea7b390604401602060405180830381600087803b15801561264957600080fd5b505af115801561265d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126819190612ee6565b506101615460405163791ac94760e01b81526001600160a01b039091169063791ac947906126bc9085906000908690309042906004016131fe565b600060405180830381600087803b1580156126d657600080fd5b505af11580156126ea573d6000803e3d6000fd5b5050610165805460ff60a01b1916905550505050565b6060600061270f8360026132a9565b61271a90600261326f565b67ffffffffffffffff8111156127325761273261339f565b6040519080825280601f01601f19166020018201604052801561275c576020820181803683370190505b509050600360fc1b8160008151811061277757612777613389565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106127a6576127a6613389565b60200101906001600160f81b031916908160001a90535060006127ca8460026132a9565b6127d590600161326f565b90505b600181111561284d576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061280957612809613389565b1a60f81b82828151811061281f5761281f613389565b60200101906001600160f81b031916908160001a90535060049490941c936128468161330b565b90506127d8565b50831561289c5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610cee565b9392505050565b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103611a40565b803b61292f5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610cee565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060823b6129cf5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610cee565b600080846001600160a01b0316846040516129ea9190612fc5565b600060405180830381855af49150503d8060008114612a25576040519150601f19603f3d011682016040523d82523d6000602084013e612a2a565b606091505b5091509150612a5282826040518060600160405280602781526020016133f960279139612b6d565b95945050505050565b612a64816128cb565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6000612af0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612ba69092919063ffffffff16565b805190915015610c7d5780806020019051810190612b0e9190612ee6565b610c7d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610cee565b60608315612b7c57508161289c565b825115612b8c5782518084602001fd5b8160405162461bcd60e51b8152600401610cee919061309a565b6060612bb58484600085612bbd565b949350505050565b606082471015612c1e5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610cee565b843b612c6c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610cee565b600080866001600160a01b03168587604051612c889190612fc5565b60006040518083038185875af1925050503d8060008114612cc5576040519150601f19603f3d011682016040523d82523d6000602084013e612cca565b606091505b5091509150610be1828286612b6d565b600060208284031215612cec57600080fd5b813561289c816133b5565b600060208284031215612d0957600080fd5b815161289c816133b5565b60008060408385031215612d2757600080fd5b8235612d32816133b5565b91506020830135612d42816133ca565b809150509250929050565b60008060408385031215612d6057600080fd5b8235612d6b816133b5565b9150602083013567ffffffffffffffff80821115612d8857600080fd5b818501915085601f830112612d9c57600080fd5b813581811115612dae57612dae61339f565b604051601f8201601f19908116603f01168101908382118183101715612dd657612dd661339f565b81604052828152886020848701011115612def57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60008060408385031215612e2457600080fd5b8235612e2f816133b5565b946020939093013593505050565b60008060408385031215612e5057600080fd5b8235612e5b816133b5565b9150602083013560ff81168114612d4257600080fd5b60008060208385031215612e8457600080fd5b823567ffffffffffffffff80821115612e9c57600080fd5b818501915085601f830112612eb057600080fd5b813581811115612ebf57600080fd5b8660208260051b8501011115612ed457600080fd5b60209290920196919550909350505050565b600060208284031215612ef857600080fd5b815161289c816133ca565b600060208284031215612f1557600080fd5b5035919050565b60008060408385031215612f2f57600080fd5b823591506020830135612d42816133b5565b600060208284031215612f5357600080fd5b81356001600160e01b03198116811461289c57600080fd5b600080600060608486031215612f8057600080fd5b8335612f8b816133b5565b92506020840135612f9b816133b5565b929592945050506040919091013590565b600060208284031215612fbe57600080fd5b5051919050565b60008251612fd78184602087016132df565b9190910192915050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516130198160178501602088016132df565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161304a8160288401602088016132df565b01602801949350505050565b6020808252825182820181905260009190848201906040850190845b8181101561308e57835183529284019291840191600101613072565b50909695505050505050565b60208152600082518060208401526130b98160408501602087016132df565b601f01601f19169190910160400192915050565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561324e5784516001600160a01b031683529383019391830191600101613229565b50506001600160a01b03969096166060850152505050608001529392505050565b600082198211156132825761328261335d565b500190565b6000826132a457634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156132c3576132c361335d565b500290565b6000828210156132da576132da61335d565b500390565b60005b838110156132fa5781810151838201526020016132e2565b838111156112b85750506000910152565b60008161331a5761331a61335d565b506000190190565b60006000198214156133365761333661335d565b5060010190565b600060ff821660ff8114156133545761335461335d565b60010192915050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610dcb57600080fd5b8015158114610dcb57600080fdfecf6f9f892731e14b8859835f2ff35575f447fb501f46243c4eb8bac19e31a050416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122031c5b7465987af13cff5d27c40bfc7bd017a3b04707578e4b0fb0c65c58fbc1664736f6c63430008050033

Deployed ByteCode Sourcemap

66575:1508:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66042:324;;;;;;;;;;-1:-1:-1;66042:324:0;;;;;:::i;:::-;;:::i;:::-;;;7593:14:1;;7586:22;7568:41;;7556:2;7541:18;66042:324:0;;;;;;;;53204:33;;;;;;;;;;;;;;;;;;;7766:25:1;;;7754:2;7739:18;53204:33:0;7721:76:1;64052:1047:0;;;;;;;;;;-1:-1:-1;64052:1047:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;60535:106::-;;;;;;;;;;-1:-1:-1;60612:21:0;60535:106;;53073:41;;;;;;;;;;-1:-1:-1;53073:41:0;;;;-1:-1:-1;;;;;53073:41:0;;;;;;-1:-1:-1;;;;;6468:32:1;;;6450:51;;6438:2;6423:18;53073:41:0;6405:102:1;62813:985:0;;;;;;;;;;-1:-1:-1;62813:985:0;;;;;:::i;:::-;;:::i;36702:123::-;;;;;;;;;;-1:-1:-1;36702:123:0;;;;;:::i;:::-;36768:7;36795:12;;;:6;:12;;;;;:22;;;;36702:123;60717:170;;;;;;;;;;-1:-1:-1;60717:170:0;;;;;:::i;:::-;;:::i;37087:147::-;;;;;;;;;;-1:-1:-1;37087:147:0;;;;;:::i;:::-;;:::i;38135:218::-;;;;;;;;;;-1:-1:-1;38135:218:0;;;;;:::i;:::-;;:::i;23147:202::-;;;;;;;;;;-1:-1:-1;23147:202:0;;;;;:::i;:::-;;:::i;53244:24::-;;;;;;;;;;-1:-1:-1;53244:24:0;;;;-1:-1:-1;;;;;53244:24:0;;;53125:30;;;;;;;;;;;;;;;;23608:227;;;;;;:::i;:::-;;:::i;53445:73::-;;;;;;;;;;-1:-1:-1;53445:73:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;41557:86;;;;;;;;;;-1:-1:-1;41628:7:0;;;;41557:86;;60922:221;;;;;;;;;;-1:-1:-1;60922:221:0;;;;;:::i;:::-;;:::i;49903:64::-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;49903:64:0;;55819:162;;;:::i;54097:553::-;;;;;;;;;;;;;:::i;60297:147::-;;;;;;;;;;;;;:::i;53308:61::-;;;;;;;;;;;;53348:21;53308:61;;53382:52;;;;;;;;;;-1:-1:-1;53382:52:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;50659:210;;;;;;;;;;-1:-1:-1;50659:210:0;;;;;:::i;:::-;;:::i;35565:139::-;;;;;;;;;;-1:-1:-1;35565:139:0;;;;;:::i;:::-;;:::i;34645:49::-;;;;;;;;;;-1:-1:-1;34645:49:0;34690:4;34645:49;;57479:542;;;;;;;;;;-1:-1:-1;57479:542:0;;;;;:::i;:::-;;:::i;51102:205::-;;;;;;;;;;-1:-1:-1;51102:205:0;;;;;:::i;:::-;;:::i;61418:232::-;;;;;;;;;;-1:-1:-1;61418:232:0;;;;;:::i;:::-;;:::i;53165:27::-;;;;;;;;;;;;;;;;58093:784;;;;;;;;;;-1:-1:-1;58093:784:0;;;;;:::i;:::-;;:::i;53025:39::-;;;;;;;;;;-1:-1:-1;53025:39:0;;;;;:::i;:::-;;:::i;37479:149::-;;;;;;;;;;-1:-1:-1;37479:149:0;;;;;:::i;:::-;;:::i;66882:1198::-;;;;;;;;;;-1:-1:-1;66882:1198:0;;;;;:::i;:::-;;:::i;52977:41::-;;;;;;;;;;-1:-1:-1;52977:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18636:25:1;;;18692:2;18677:18;;18670:34;;;;18720:18;;;18713:34;;;;18778:2;18763:18;;18756:34;18821:3;18806:19;;18799:35;18883:4;18871:17;18865:3;18850:19;;18843:46;18623:3;18608:19;52977:41:0;18590:305:1;65359:675:0;;;;;;;;;;-1:-1:-1;65359:675:0;;;;;:::i;:::-;;:::i;55104:691::-;;;;;;;;;;;;;:::i;66042:324::-;66153:4;-1:-1:-1;;;;;;66177:58:0;;-1:-1:-1;;;66177:58:0;;:124;;-1:-1:-1;;;;;;;66249:52:0;;-1:-1:-1;;;66249:52:0;66177:124;:173;;;;66314:36;66338:11;66314:23;:36::i;:::-;66170:180;66042:324;-1:-1:-1;;66042:324:0:o;64052:1047::-;64140:16;64169:30;64216:12;;64202:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64202:27:0;;64169:60;;64242:18;64279:6;64275:610;64295:12;;64291:1;:16;64275:610;;;64380:22;64405:10;;;:7;:10;;;;;:23;;;;;;;;64458:32;;;;64455:419;;;64511:20;64534:10;;;:7;:10;;;;;;;;-1:-1:-1;;;;;64534:32:0;;;;:24;;;:32;;;;;;64619:31;;;;:39;;;;;;;64534:32;;;;;64619:39;64680:16;;:47;;;;;64701:26;64700:27;64680:47;64677:179;;;64800:1;64772:13;64786:10;64772:25;;;;;;;;:::i;:::-;;;;;;;;;;:29;64824:12;;;;:::i;:::-;;;;64677:179;64492:382;;64455:419;-1:-1:-1;64309:3:0;;;;:::i;:::-;;;;64275:610;;;;64903:26;64946:10;64932:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64932:25:0;;64903:54;;64972:6;64968:95;64988:10;64984:1;:14;64968:95;;;65035:13;65049:1;65035:16;;;;;;;;:::i;:::-;;;;;;;65020:9;65030:1;65020:12;;;;;;;;:::i;:::-;;;;;;;;;;:31;65000:3;;;;:::i;:::-;;;;64968:95;;;-1:-1:-1;65082:9:0;64052:1047;-1:-1:-1;;;;;64052:1047:0:o;62813:985::-;-1:-1:-1;;;;;62915:28:0;;62891:7;62915:28;;;:20;:28;;;;;;;;62911:861;;63007:9;;62981:53;;;-1:-1:-1;;;62981:53:0;;;;62960:18;;-1:-1:-1;;;;;63007:9:0;;62981:51;;:53;;;;;;;;;;;;;;63007:9;62981:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;63099:9;;63073:68;;-1:-1:-1;;;63073:68:0;;-1:-1:-1;;;;;6704:32:1;;;63073:68:0;;;6686:51:1;6753:18;;;6746:34;;;62960:74:0;;-1:-1:-1;63049:21:0;;63099:9;;;;63073:48;;6659:18:1;;63073:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;63199:9;;63173:62;;-1:-1:-1;;;63173:62:0;;;;;7766:25:1;;;63049:92:0;;-1:-1:-1;63156:14:0;;-1:-1:-1;;;;;63199:9:0;;;;63173:50;;7739:18:1;;63173:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;63156:79;;63250:30;63283:17;:15;:17::i;:::-;63250:50;;63394:31;63448:9;63444:208;63467:22;:29;63463:33;;63444:208;;;63575:9;;63598:22;:25;;-1:-1:-1;;;;;63575:9:0;;;;63549:48;;63598:22;63621:1;;63598:25;;;;;;:::i;:::-;;;;;;;;;;;63549:87;;;;;;-1:-1:-1;;;;;;63549:87:0;;;-1:-1:-1;;;;;63598:25:0;;;63549:87;;;6686:51:1;6753:18;;;6746:34;;;6659:18;;63549:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;63522:114;;;;:::i;:::-;;-1:-1:-1;63498:3:0;;;;:::i;:::-;;;;63444:208;;;-1:-1:-1;63727:32:0;63736:23;63727:6;:32;:::i;:::-;63685:38;63710:13;63685:22;:38;:::i;:::-;:75;;;;:::i;:::-;63678:82;62813:985;-1:-1:-1;;;;;;;62813:985:0:o;62911:861::-;-1:-1:-1;63789:1:0;;62813:985;-1:-1:-1;62813:985:0:o;60717:170::-;34690:4;35136:30;34690:4;28211:10;35136;:30::i;:::-;60810:9:::1;:24:::0;;-1:-1:-1;;;;;;60810:24:0::1;-1:-1:-1::0;;;;;60810:24:0;::::1;::::0;;::::1;::::0;;;60850:29:::1;::::0;6450:51:1;;;60850:29:0::1;::::0;6438:2:1;6423:18;60850:29:0::1;;;;;;;;60717:170:::0;;:::o;37087:147::-;36768:7;36795:12;;;:6;:12;;;;;:22;;;35136:30;35147:4;28211:10;35136;:30::i;:::-;37201:25:::1;37212:4;37218:7;37201:10;:25::i;:::-;37087:147:::0;;;:::o;38135:218::-;-1:-1:-1;;;;;38231:23:0;;28211:10;38231:23;38223:83;;;;-1:-1:-1;;;38223:83:0;;16218:2:1;38223:83:0;;;16200:21:1;16257:2;16237:18;;;16230:30;16296:34;16276:18;;;16269:62;-1:-1:-1;;;16347:18:1;;;16340:45;16402:19;;38223:83:0;;;;;;;;;38319:26;38331:4;38337:7;38319:11;:26::i;:::-;38135:218;;:::o;23147:202::-;22776:4;-1:-1:-1;;;;;22785:6:0;22768:23;;;22760:80;;;;-1:-1:-1;;;22760:80:0;;;;;;;:::i;:::-;22883:6;-1:-1:-1;;;;;22859:30:0;:20;:18;:20::i;:::-;-1:-1:-1;;;;;22859:30:0;;22851:87;;;;-1:-1:-1;;;22851:87:0;;;;;;;:::i;:::-;23231:36:::1;23249:17;23231;:36::i;:::-;23321:12;::::0;;23331:1:::1;23321:12:::0;;;::::1;::::0;::::1;::::0;;;23278:63:::1;::::0;23302:17;;23321:12;23278:23:::1;:63::i;:::-;23147:202:::0;:::o;23608:227::-;22776:4;-1:-1:-1;;;;;22785:6:0;22768:23;;;22760:80;;;;-1:-1:-1;;;22760:80:0;;;;;;;:::i;:::-;22883:6;-1:-1:-1;;;;;22859:30:0;:20;:18;:20::i;:::-;-1:-1:-1;;;;;22859:30:0;;22851:87;;;;-1:-1:-1;;;22851:87:0;;;;;;;:::i;:::-;23726:36:::1;23744:17;23726;:36::i;:::-;23773:54;23797:17;23816:4;23822;23773:23;:54::i;60922:221::-:0;34690:4;35136:30;34690:4;28211:10;35136;:30::i;:::-;61033:18:::1;:42:::0;;;61091:44:::1;::::0;7766:25:1;;;61091:44:0::1;::::0;7754:2:1;7739:18;61091:44:0::1;7721:76:1::0;55819:162:0;53348:21;35136:30;53348:21;28211:10;35136;:30::i;:::-;55914:1:::1;55902:9;:13;55894:41;;;::::0;-1:-1:-1;;;55894:41:0;;13579:2:1;55894:41:0::1;::::0;::::1;13561:21:1::0;13618:2;13598:18;;;13591:30;-1:-1:-1;;;13637:18:1;;;13630:45;13692:18;;55894:41:0::1;13551:165:1::0;55894:41:0::1;55946:27;55960:9;55971:1;55946:13;:27::i;54097:553::-:0;9452:13;;;;;;;:48;;9488:12;;;;9487:13;9452:48;;;10255:4;1130:20;1178:8;9468:16;9444:107;;;;-1:-1:-1;;;9444:107:0;;;;;;;:::i;:::-;9564:19;9587:13;;;;;;9586:14;9611:101;;;;9646:13;:20;;-1:-1:-1;;9681:19:0;;;;;9611:101;54161:32:::1;:30;:32::i;:::-;54204:26;:24;:26::i;:::-;54241:35;:33;:35::i;:::-;54287:27;:25;:27::i;:::-;54381:44;34690:4;28211:10:::0;54381::::1;:44::i;:::-;54436:38;-1:-1:-1::0;;;;;;;;;;;28211:10:0;54381::::1;:44::i;54436:38::-;54508:16;54487:18;:37:::0;54537:15:::1;:80:::0;;-1:-1:-1;;;;;;54537:80:0::1;54574:42;54537:80;::::0;;54628:6:::1;:14:::0;;-1:-1:-1;;;;54628:14:0::1;::::0;;9738:68;;;;9789:5;9773:21;;-1:-1:-1;;9773:21:0;;;9159:654;54097:553::o;60297:147::-;60401:9;;60383:53;;-1:-1:-1;;;60383:53:0;;60430:4;60383:53;;;6450:51:1;60344:19:0;;-1:-1:-1;;;;;60401:9:0;;60383:38;;6423:18:1;;60383:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;60376:60;;60297:147;:::o;50659:210::-;-1:-1:-1;;;;;;;;;;;35136:30:0;49942:25;28211:10;35136;:30::i;:::-;50790:71:::1;-1:-1:-1::0;;;;;50790:44:0;::::1;28211:10:::0;50849:11;50790:44:::1;:71::i;35565:139::-:0;35643:4;35667:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;35667:29:0;;;;;;;;;;;;;;;35565:139::o;57479:542::-;60142:4;60166:17;;;:7;:17;;;;;:26;;;57547:57;;;;-1:-1:-1;;;57547:57:0;;10525:2:1;57547:57:0;;;10507:21:1;10564:2;10544:18;;;10537:30;-1:-1:-1;;;10583:18:1;;;10576:51;10644:18;;57547:57:0;10497:171:1;57547:57:0;57624:17;;;;:7;:17;;;;;;;;28211:10;57624:52;;:38;;:52;;;;;;;;57623:53;57615:90;;;;-1:-1:-1;;;57615:90:0;;12040:2:1;57615:90:0;;;12022:21:1;12079:2;12059:18;;;12052:30;12118:26;12098:18;;;12091:54;12162:18;;57615:90:0;12012:174:1;57615:90:0;57725:17;;;;:7;:17;;;;;;;;28211:10;57725:45;;:31;;:45;;;;;;;;57724:46;57716:81;;;;-1:-1:-1;;;57716:81:0;;17037:2:1;57716:81:0;;;17019:21:1;17076:2;17056:18;;;17049:30;-1:-1:-1;;;17095:18:1;;;17088:52;17157:18;;57716:81:0;17009:172:1;57716:81:0;57830:20;57853:30;57860:8;28211:10;57853:6;:30::i;:::-;57830:53;-1:-1:-1;57894:44:0;28211:10;57911:12;57925;57894:16;:44::i;:::-;57964:49;;7766:25:1;;;28211:10:0;;57976:8;;57964:49;;7754:2:1;7739:18;57964:49:0;;;;;;;57536:485;57479:542;:::o;51102:205::-;-1:-1:-1;;;;;;;;;;;35136:30:0;49942:25;28211:10;35136;:30::i;:::-;51261:38:::1;-1:-1:-1::0;;;;;51261:26:0;::::1;51288:2:::0;51292:6;51261:26:::1;:38::i;:::-;51102:205:::0;;;;:::o;61418:232::-;34690:4;35136:30;34690:4;28211:10;35136;:30::i;:::-;-1:-1:-1;;;;;61531:28:0;::::1;;::::0;;;:20:::1;:28;::::0;;;;;::::1;;:37;;::::0;::::1;;;;61523:74;;;::::0;-1:-1:-1;;;61523:74:0;;10172:2:1;61523:74:0::1;::::0;::::1;10154:21:1::0;10211:2;10191:18;;;10184:30;10250:26;10230:18;;;10223:54;10294:18;;61523:74:0::1;10144:174:1::0;61523:74:0::1;61608:34;61628:6;61636:5;61608:19;:34::i;58093:784::-:0;58169:25;58216:9;58211:545;58231:20;;;58211:545;;;58273:16;58292:9;;58302:1;58292:12;;;;;;;:::i;:::-;;;;;;;58273:31;;58336:23;58350:8;60142:4;60166:17;;;:7;:17;;;;;:26;;;:30;;;60078:126;58336:23;:98;;;;-1:-1:-1;58382:17:0;;;;:7;:17;;;;;;;;28211:10;58382:52;;:38;;:52;;;;;;;;58381:53;58336:98;:166;;;;-1:-1:-1;58457:17:0;;;;:7;:17;;;;;;;;28211:10;58457:45;;:31;;:45;;;;;;;;58456:46;58336:166;58333:400;;;58538:20;58561:30;58568:8;28211:10;57853:6;:30::i;58561:::-;58538:53;-1:-1:-1;58611:33:0;58538:53;58611:33;;:::i;:::-;;-1:-1:-1;28211:10:0;-1:-1:-1;;;;;58668:49:0;58680:8;58668:49;58690:12;58668:49;;;;7766:25:1;;7754:2;7739:18;;7721:76;58668:49:0;;;;;;;;58518:215;58333:400;-1:-1:-1;58253:3:0;;;;:::i;:::-;;;;58211:545;;;-1:-1:-1;58771:21:0;;58768:102;;58809:49;28211:10;58826:12;28131:98;53025:39;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53025:39:0;;-1:-1:-1;53025:39:0;:::o;37479:149::-;36768:7;36795:12;;;:6;:12;;;;;:22;;;35136:30;35147:4;28211:10;35136;:30::i;:::-;37594:26:::1;37606:4;37612:7;37594:11;:26::i;66882:1198::-:0;66978:16;67007:30;67054:12;;67040:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67040:27:0;;67007:60;;67080:18;67117:6;67113:753;67133:12;;67129:1;:16;67113:753;;;67218:22;67243:10;;;:7;:10;;;;;:23;;;;;;;;67296:32;;;;67293:562;;;67349:20;67372:10;;;:7;:10;;;;;;;;-1:-1:-1;;;;;67372:32:0;;;;;;:24;;;:32;;;;;;67457:31;;;:39;;;;;;67565:9;;67596:10;;;;;;;:21;;;;;67539:79;;-1:-1:-1;;;67539:79:0;;;;;6686:51:1;;;;6753:18;;;6746:34;;;;67372:32:0;;;;;67457:39;;;;;67349:20;;67565:9;;67539:48;;6659:18:1;;67539:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;67515:103;;67641:15;67640:16;:47;;;;;67661:26;67660:27;67640:47;:68;;;;;67707:1;67691:13;:17;67640:68;67637:200;;;67781:1;67753:13;67767:10;67753:25;;;;;;;;:::i;:::-;;;;;;;;;;:29;67805:12;;;;:::i;:::-;;;;67637:200;67330:525;;;67293:562;-1:-1:-1;67147:3:0;;;;:::i;:::-;;;;67113:753;;;;67884:26;67927:10;67913:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67913:25:0;;67884:54;;67953:6;67949:95;67969:10;67965:1;:14;67949:95;;;68016:13;68030:1;68016:16;;;;;;;;:::i;:::-;;;;;;;68001:9;68011:1;68001:12;;;;;;;;:::i;:::-;;;;;;;;;;:31;67981:3;;;;:::i;:::-;;;;67949:95;;65359:675;65451:28;65492:35;65530:43;65552:6;65560:12;65530:21;:43::i;:::-;65492:81;;65588:6;65584:443;65605:18;:25;65601:1;:29;65584:443;;;65652:16;65671:18;65690:1;65671:21;;;;;;;;:::i;:::-;;;;;;;;;;;;65722:20;65787:17;;;:7;:17;;;;;;:28;;;;65834:41;;;;65894:30;;65671:21;;-1:-1:-1;65746:218:0;;65787:28;;65834:41;65943:6;65746:22;:218::i;:::-;65719:245;;;;66003:12;65979:36;;;;;:::i;:::-;;;65637:390;;65632:3;;;;;:::i;:::-;;;;65584:443;;;;65481:553;65359:675;;;;:::o;55104:691::-;53348:21;35136:30;53348:21;28211:10;35136;:30::i;:::-;55186:9:::1;::::0;-1:-1:-1;;;;;55186:9:0::1;55178:62;;;::::0;-1:-1:-1;;;55178:62:0;;15511:2:1;55178:62:0::1;::::0;::::1;15493:21:1::0;15550:2;15530:18;;;15523:30;15589:28;15569:18;;;15562:56;15635:18;;55178:62:0::1;15483:176:1::0;55178:62:0::1;55251:24;55278:17;:15;:17::i;:::-;55251:44;;55420:18;;55400:16;:38;;55378:114;;;::::0;-1:-1:-1;;;55378:114:0;;9817:2:1;55378:114:0::1;::::0;::::1;9799:21:1::0;9856:2;9836:18;;;9829:30;9895:28;9875:18;;;9868:56;9941:18;;55378:114:0::1;9789:176:1::0;55378:114:0::1;55523:15;55505;:33:::0;60612:21;55636:35:::1;55654:16:::0;55636:17:::1;:35::i;:::-;60612:21:::0;55735:52:::1;55749:34;55767:16:::0;60612:21;55749:34:::1;:::i;:::-;55785:1;55735:13;:52::i;35258:215::-:0;35343:4;-1:-1:-1;;;;;;35367:58:0;;-1:-1:-1;;;35367:58:0;;:98;;-1:-1:-1;;;;;;;;;;32351:51:0;;;35429:36;32242:168;35994:519;36075:22;36083:4;36089:7;36075;:22::i;:::-;36070:436;;36263:52;36302:7;-1:-1:-1;;;;;36263:52:0;36312:2;36263:30;:52::i;:::-;36388:49;36427:4;36434:2;36388:30;:49::i;:::-;36168:292;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;36168:292:0;;;;;;;;;;-1:-1:-1;;;36114:380:0;;;;;;;:::i;39636:238::-;39720:22;39728:4;39734:7;39720;:22::i;:::-;39715:152;;39759:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;39759:29:0;;;;;;;;;:36;;-1:-1:-1;;39759:36:0;39791:4;39759:36;;;39842:12;28211:10;;28131:98;39842:12;-1:-1:-1;;;;;39815:40:0;39833:7;-1:-1:-1;;;;;39815:40:0;39827:4;39815:40;;;;;;;;;;39636:238;;:::o;40006:239::-;40090:22;40098:4;40104:7;40090;:22::i;:::-;40086:152;;;40161:5;40129:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;40129:29:0;;;;;;;;;;:37;;-1:-1:-1;;40129:37:0;;;40186:40;28211:10;;40129:12;;40186:40;;40161:5;40186:40;40006:239;;:::o;14553:153::-;14606:7;14272:66;14633:59;:65;-1:-1:-1;;;;;14633:65:0;;14553:153;-1:-1:-1;14553:153:0:o;54730:322::-;-1:-1:-1;;;;;54835:31:0;;54813:109;;;;-1:-1:-1;;;54813:109:0;;12808:2:1;54813:109:0;;;12790:21:1;12847:2;12827:18;;;12820:30;12886;12866:18;;;12859:58;12934:18;;54813:109:0;12780:178:1;54813:109:0;54971:11;:9;:11::i;:::-;-1:-1:-1;;;;;54955:27:0;28211:10;-1:-1:-1;;;;;54955:27:0;;54933:111;;;;-1:-1:-1;;;54933:111:0;;16634:2:1;54933:111:0;;;16616:21:1;16673:2;16653:18;;;16646:30;16712:34;16692:18;;;16685:62;-1:-1:-1;;;16763:18:1;;;16756:32;16805:19;;54933:111:0;16606:224:1;15971:1268:0;16120:25;16148:20;:18;:20::i;:::-;16120:48;;16224:37;16243:17;16224:18;:37::i;:::-;16290:1;16276:4;:11;:15;:28;;;;16295:9;16276:28;16272:107;;;16321:46;16343:17;16362:4;16321:21;:46::i;:::-;;16272:107;13924:66;16582:21;;;;16577:655;;16697:28;;-1:-1:-1;;16697:28:0;16721:4;16697:28;;;16816:64;;-1:-1:-1;;;;;6468:32:1;;16816:64:0;;;6450:51:1;16740:155:0;;16780:17;;6423:18:1;;16816:64:0;;;-1:-1:-1;;16816:64:0;;;;;;;;;;;;;;-1:-1:-1;;;;;16816:64:0;-1:-1:-1;;;16816:64:0;;;16740:21;:155::i;:::-;-1:-1:-1;16910:29:0;;-1:-1:-1;;16910:29:0;;;17028:20;:18;:20::i;:::-;-1:-1:-1;;;;;17007:41:0;:17;-1:-1:-1;;;;;17007:41:0;;16999:101;;;;-1:-1:-1;;;16999:101:0;;8988:2:1;16999:101:0;;;8970:21:1;9027:2;9007:18;;;9000:30;9066:34;9046:18;;;9039:62;-1:-1:-1;;;9117:18:1;;;9110:45;9172:19;;16999:101:0;8960:237:1;16999:101:0;17191:29;17202:17;17191:10;:29::i;:::-;16109:1130;;15971:1268;;;:::o;55989:972::-;56121:9;;56095:47;;;-1:-1:-1;;;56095:47:0;;;;56074:18;;-1:-1:-1;;;;;56121:9:0;;56095:45;;:47;;;;;;;;;;;;;;56074:18;56121:9;56095:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56172:12;;56153:16;56219:17;;;:7;:17;;;;;56247:34;;;56292:19;;;:23;;;56344:15;56326;;;:33;56370:17;;;:30;;;56411:19;;;:34;;-1:-1:-1;;56411:34:0;;;;;;;56370:30;;-1:-1:-1;56172:12:0;;56219:17;56153:16;56503:265;56525:22;:29;56521:33;;;;56503:265;;;56633:4;56576:6;:27;;:54;56604:22;56627:1;56604:25;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;56604:25:0;;;56576:54;;;;;;;;;;;;;;;:61;;-1:-1:-1;;56576:61:0;;;;;;;;;;;56695:9;;56718:22;:25;;56695:9;;;;;56669:48;;56576:61;56718:25;;;;;;;;;:::i;:::-;;;;;;;;;;;56669:87;;;;;;-1:-1:-1;;;;;;56669:87:0;;;-1:-1:-1;;;;;56718:25:0;;;56669:87;;;6686:51:1;6753:18;;;6746:34;;;6659:18;;56669:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56652:104;;;;:::i;:::-;;-1:-1:-1;56556:3:0;;;;:::i;:::-;;;;56503:265;;;-1:-1:-1;56778:30:0;;;:46;;;56862:12;:14;;;:12;:14;;;:::i;:::-;;;;-1:-1:-1;;56894:59:0;;;19127:25:1;;;19183:2;19168:18;;19161:34;;;19211:18;;;19204:34;;;19286:4;19274:17;;19269:2;19254:18;;19247:45;56894:59:0;;19114:3:1;19099:19;56894:59:0;;;;;;;56063:898;;;;55989:972;;:::o;34408:76::-;10055:13;;;;;;;10047:69;;;;-1:-1:-1;;;10047:69:0;;;;;;;:::i;:::-;34408:76::o;50337:129::-;9452:13;;;;;;;:48;;9488:12;;;;9487:13;9452:48;;;10255:4;1130:20;1178:8;9468:16;9444:107;;;;-1:-1:-1;;;9444:107:0;;;;;;;:::i;:::-;9564:19;9587:13;;;;;;9586:14;9611:101;;;;9646:13;:20;;-1:-1:-1;;9681:19:0;;;;;9611:101;50414:44:::1;34690:4;28211:10:::0;54381::::1;:44::i;50414:::-;9742:14:::0;9738:68;;;9789:5;9773:21;;-1:-1:-1;;9773:21:0;;;9159:654;50337:129::o;41360:97::-;10055:13;;;;;;;10047:69;;;;-1:-1:-1;;;10047:69:0;;;;;;;:::i;:::-;41434:7:::1;:15:::0;;-1:-1:-1;;41434:15:0::1;::::0;;41360:97::o;39012:112::-;39091:25;39102:4;39108:7;39091:10;:25::i;46212:222::-;46367:58;;;-1:-1:-1;;;;;6704:32:1;;46367:58:0;;;6686:51:1;6753:18;;;;6746:34;;;46367:58:0;;;;;;;;;;6659:18:1;;;;46367:58:0;;;;;;;;-1:-1:-1;;;;;46367:58:0;-1:-1:-1;;;46367:58:0;;;46340:86;;46360:5;;46340:19;:86::i;58885:627::-;58953:7;58996:17;;;:7;:17;;;;;59113;;;;59145:30;;;;59190:19;;58953:7;;;;59076:165;;59224:6;59076:22;:165::i;:::-;59028:213;;;;;59278:1;59262:13;:17;59254:46;;;;-1:-1:-1;;;59254:46:0;;11695:2:1;59254:46:0;;;11677:21:1;11734:2;11714:18;;;11707:30;-1:-1:-1;;;11753:18:1;;;11746:46;11809:18;;59254:46:0;11667:166:1;59254:46:0;-1:-1:-1;;;;;59313:28:0;;;;;;:20;;;:28;;;;;:35;;-1:-1:-1;;59313:35:0;59344:4;59313:35;;;;;;59359:19;;:35;;59382:12;;59313:28;59359:35;;59382:12;;59359:35;:::i;:::-;;;;-1:-1:-1;;;;;;;59405:28:0;;;;;;:20;:28;;;;;;;;59434:19;;;;;;59405:49;;;;;;;:65;;59458:12;;59405:28;:65;;59458:12;;59405:65;:::i;:::-;;;;-1:-1:-1;59492:12:0;;58885:627;-1:-1:-1;;;;;;58885:627:0:o;61151:184::-;61260:12;;;61222;61260;;;;;;;;;-1:-1:-1;;;;;61239:7:0;;;61253:5;;61239:34;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61221:52;;;61292:7;61284:43;;;;-1:-1:-1;;;61284:43:0;;15866:2:1;61284:43:0;;;15848:21:1;15905:2;15885:18;;;15878:30;15944:25;15924:18;;;15917:53;15987:18;;61284:43:0;15838:173:1;61658:989:0;-1:-1:-1;;;;;61735:28:0;;;;;;:20;:28;;;;;:36;;-1:-1:-1;;61735:36:0;;;;;;;;;;;;61784:804;;61837:22;:35;;;;;;;-1:-1:-1;61837:35:0;;;;;;;;-1:-1:-1;;;;;;61837:35:0;-1:-1:-1;;;;;61837:35:0;;;;;61784:804;;;61964:9;61960:617;61983:22;:29;61979:33;;61960:617;;;62072:6;-1:-1:-1;;;;;62043:35:0;:22;62066:1;62043:25;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;62043:25:0;:35;62040:522;;;62111:22;:29;:31;;62141:1;;62111:31;:::i;:::-;62106:1;:36;62103:412;;;62212:22;:28;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;62212:28:0;;;;;-1:-1:-1;;;;;;62212:28:0;;;;;;62537:5;;62103:412;62379:22;62402:29;;:33;;62434:1;;62402:33;:::i;:::-;62379:57;;;;;;;;:::i;:::-;;;;;;;;;;;62351:22;:25;;-1:-1:-1;;;;;62379:57:0;;;;62374:1;;62351:25;;;;;;:::i;:::-;;;;;;;;;:85;;;;;-1:-1:-1;;;;;62351:85:0;;;;;-1:-1:-1;;;;;62351:85:0;;;;;;62463:22;:28;;;;;;;:::i;62040:522::-;62015:4;;;;:::i;:::-;;;;61960:617;;;;61784:804;62625:6;-1:-1:-1;;;;;62606:33:0;;62633:5;62606:33;;;;7593:14:1;7586:22;7568:41;;7556:2;7541:18;;7523:92;62606:33:0;;;;;;;;61658:989;;:::o;59520:550::-;59832:9;;59806:68;;-1:-1:-1;;;59806:68:0;;-1:-1:-1;;;;;6704:32:1;;;59806:68:0;;;6686:51:1;6753:18;;;6746:34;;;59709:21:0;;;;;;59832:9;;;;59806:48;;6659:18:1;;59806:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;59920:9;;59894:62;;-1:-1:-1;;;59894:62:0;;;;;7766:25:1;;;59790:84:0;;-1:-1:-1;59959:23:0;;-1:-1:-1;;;;;59920:9:0;;;;59894:50;;7739:18:1;;59894:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:88;;;;:::i;:::-;59885:97;-1:-1:-1;59885:97:0;60025:28;60040:13;60025:12;:28;:::i;:::-;:37;;;;:::i;:::-;60001:61;;59520:550;;;;;;;;:::o;56969:502::-;54008:6;:13;;-1:-1:-1;;;;54008:13:0;-1:-1:-1;;;54008:13:0;;;57072:16:::1;::::0;;57086:1:::1;57072:16:::0;;;;;::::1;::::0;;-1:-1:-1;;57072:16:0::1;::::0;::::1;::::0;;::::1;::::0;::::1;-1:-1:-1::0;;57117:9:0::1;::::0;57099:7;;;;-1:-1:-1;;;;;;57117:9:0::1;::::0;57099:7;;-1:-1:-1;57117:9:0::1;::::0;57099:7:::1;;;;:::i;:::-;-1:-1:-1::0;;;;;57099:28:0;;::::1;:7;::::0;;::::1;::::0;;;;;;:28;;;;57148:15:::1;::::0;:22:::1;::::0;;-1:-1:-1;;;57148:22:0;;;;:15;;;::::1;::::0;:20:::1;::::0;:22:::1;::::0;;::::1;::::0;57099:7;;57148:22;;;;;:15;:22;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57138:4;57143:1;57138:7;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;57138:32:0;;::::1;:7;::::0;;::::1;::::0;;;;;:32;57199:9:::1;::::0;57226:15:::1;::::0;57181:75:::1;::::0;-1:-1:-1;;;57181:75:0;;57226:15;;::::1;57181:75;::::0;::::1;6686:51:1::0;6753:18;;;6746:34;;;57199:9:0;::::1;::::0;57181:36:::1;::::0;6659:18:1;;57181:75:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;57267:15:0::1;::::0;:196:::1;::::0;-1:-1:-1;;;57267:196:0;;-1:-1:-1;;;;;57267:15:0;;::::1;::::0;:66:::1;::::0;:196:::1;::::0;57348:11;;57267:15:::1;::::0;57390:4;;57417::::1;::::0;57437:15:::1;::::0;57267:196:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;54044:6:0;:14;;-1:-1:-1;;;;54044:14:0;;;-1:-1:-1;;;;56969:502:0:o;29971:451::-;30046:13;30072:19;30104:10;30108:6;30104:1;:10;:::i;:::-;:14;;30117:1;30104:14;:::i;:::-;30094:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30094:25:0;;30072:47;;-1:-1:-1;;;30130:6:0;30137:1;30130:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;30130:15:0;;;;;;;;;-1:-1:-1;;;30156:6:0;30163:1;30156:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;30156:15:0;;;;;;;;-1:-1:-1;30187:9:0;30199:10;30203:6;30199:1;:10;:::i;:::-;:14;;30212:1;30199:14;:::i;:::-;30187:26;;30182:135;30219:1;30215;:5;30182:135;;;-1:-1:-1;;;30267:5:0;30275:3;30267:11;30254:25;;;;;;;:::i;:::-;;;;30242:6;30249:1;30242:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;30242:37:0;;;;;;;;-1:-1:-1;30304:1:0;30294:11;;;;;30222:3;;;:::i;:::-;;;30182:135;;;-1:-1:-1;30335:10:0;;30327:55;;;;-1:-1:-1;;;30327:55:0;;8627:2:1;30327:55:0;;;8609:21:1;;;8646:18;;;8639:30;8705:34;8685:18;;;8678:62;8757:18;;30327:55:0;8599:182:1;30327:55:0;30407:6;29971:451;-1:-1:-1;;;29971:451:0:o;17762:135::-;17806:7;17486:66;17833:50;12296:151;14802:284;1130:20;;14876:106;;;;-1:-1:-1;;;14876:106:0;;13165:2:1;14876:106:0;;;13147:21:1;13204:2;13184:18;;;13177:30;13243:34;13223:18;;;13216:62;-1:-1:-1;;;13294:18:1;;;13287:43;13347:19;;14876:106:0;13137:235:1;14876:106:0;14272:66;14993:85;;-1:-1:-1;;;;;;14993:85:0;-1:-1:-1;;;;;14993:85:0;;;;;;;;;;14802:284::o;20508:461::-;20591:12;1130:20;;20616:88;;;;-1:-1:-1;;;20616:88:0;;13923:2:1;20616:88:0;;;13905:21:1;13962:2;13942:18;;;13935:30;14001:34;13981:18;;;13974:62;-1:-1:-1;;;14052:18:1;;;14045:36;14098:19;;20616:88:0;13895:228:1;20616:88:0;20778:12;20792:23;20819:6;-1:-1:-1;;;;;20819:19:0;20839:4;20819:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20777:67;;;;20862:99;20898:7;20907:10;20862:99;;;;;;;;;;;;;;;;;:35;:99::i;:::-;20855:106;20508:461;-1:-1:-1;;;;;20508:461:0:o;15199:155::-;15266:37;15285:17;15266:18;:37::i;:::-;15319:27;;-1:-1:-1;;;;;15319:27:0;;;;;;;;15199:155;:::o;48840:727::-;49275:23;49301:69;49329:4;49301:69;;;;;;;;;;;;;;;;;49309:5;-1:-1:-1;;;;;49301:27:0;;;:69;;;;;:::i;:::-;49385:17;;49275:95;;-1:-1:-1;49385:21:0;49381:179;;49482:10;49471:30;;;;;;;;;;;;:::i;:::-;49463:85;;;;-1:-1:-1;;;49463:85:0;;15100:2:1;49463:85:0;;;15082:21:1;15139:2;15119:18;;;15112:30;15178:34;15158:18;;;15151:62;-1:-1:-1;;;15229:18:1;;;15222:40;15279:19;;49463:85:0;15072:232:1;6442:712:0;6592:12;6621:7;6617:530;;;-1:-1:-1;6652:10:0;6645:17;;6617:530;6766:17;;:21;6762:374;;6964:10;6958:17;7025:15;7012:10;7008:2;7004:19;6997:44;6762:374;7107:12;7100:20;;-1:-1:-1;;;7100:20:0;;;;;;;;:::i;3613:229::-;3750:12;3782:52;3804:6;3812:4;3818:1;3821:12;3782:21;:52::i;:::-;3775:59;3613:229;-1:-1:-1;;;;3613:229:0:o;4733:510::-;4903:12;4961:5;4936:21;:30;;4928:81;;;;-1:-1:-1;;;4928:81:0;;11288:2:1;4928:81:0;;;11270:21:1;11327:2;11307:18;;;11300:30;11366:34;11346:18;;;11339:62;-1:-1:-1;;;11417:18:1;;;11410:36;11463:19;;4928:81:0;11260:228:1;4928:81:0;1130:20;;5020:60;;;;-1:-1:-1;;;5020:60:0;;14330:2:1;5020:60:0;;;14312:21:1;14369:2;14349:18;;;14342:30;14408:31;14388:18;;;14381:59;14457:18;;5020:60:0;14302:179:1;5020:60:0;5094:12;5108:23;5135:6;-1:-1:-1;;;;;5135:11:0;5154:5;5161:4;5135:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5093:73;;;;5184:51;5201:7;5210:10;5222:12;5184:16;:51::i;14:247:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:2;;;142:1;139;132:12;94:2;181:9;168:23;200:31;225:5;200:31;:::i;266:251::-;336:6;389:2;377:9;368:7;364:23;360:32;357:2;;;405:1;402;395:12;357:2;437:9;431:16;456:31;481:5;456:31;:::i;522:382::-;587:6;595;648:2;636:9;627:7;623:23;619:32;616:2;;;664:1;661;654:12;616:2;703:9;690:23;722:31;747:5;722:31;:::i;:::-;772:5;-1:-1:-1;829:2:1;814:18;;801:32;842:30;801:32;842:30;:::i;:::-;891:7;881:17;;;606:298;;;;;:::o;909:1056::-;986:6;994;1047:2;1035:9;1026:7;1022:23;1018:32;1015:2;;;1063:1;1060;1053:12;1015:2;1102:9;1089:23;1121:31;1146:5;1121:31;:::i;:::-;1171:5;-1:-1:-1;1227:2:1;1212:18;;1199:32;1250:18;1280:14;;;1277:2;;;1307:1;1304;1297:12;1277:2;1345:6;1334:9;1330:22;1320:32;;1390:7;1383:4;1379:2;1375:13;1371:27;1361:2;;1412:1;1409;1402:12;1361:2;1448;1435:16;1470:2;1466;1463:10;1460:2;;;1476:18;;:::i;:::-;1551:2;1545:9;1519:2;1605:13;;-1:-1:-1;;1601:22:1;;;1625:2;1597:31;1593:40;1581:53;;;1649:18;;;1669:22;;;1646:46;1643:2;;;1695:18;;:::i;:::-;1735:10;1731:2;1724:22;1770:2;1762:6;1755:18;1810:7;1805:2;1800;1796;1792:11;1788:20;1785:33;1782:2;;;1831:1;1828;1821:12;1782:2;1887;1882;1878;1874:11;1869:2;1861:6;1857:15;1844:46;1932:1;1927:2;1922;1914:6;1910:15;1906:24;1899:35;1953:6;1943:16;;;;;;;1005:960;;;;;:::o;1970:315::-;2038:6;2046;2099:2;2087:9;2078:7;2074:23;2070:32;2067:2;;;2115:1;2112;2105:12;2067:2;2154:9;2141:23;2173:31;2198:5;2173:31;:::i;:::-;2223:5;2275:2;2260:18;;;;2247:32;;-1:-1:-1;;;2057:228:1:o;2290:412::-;2356:6;2364;2417:2;2405:9;2396:7;2392:23;2388:32;2385:2;;;2433:1;2430;2423:12;2385:2;2472:9;2459:23;2491:31;2516:5;2491:31;:::i;:::-;2541:5;-1:-1:-1;2598:2:1;2583:18;;2570:32;2646:4;2633:18;;2621:31;;2611:2;;2666:1;2663;2656:12;2707:615;2793:6;2801;2854:2;2842:9;2833:7;2829:23;2825:32;2822:2;;;2870:1;2867;2860:12;2822:2;2910:9;2897:23;2939:18;2980:2;2972:6;2969:14;2966:2;;;2996:1;2993;2986:12;2966:2;3034:6;3023:9;3019:22;3009:32;;3079:7;3072:4;3068:2;3064:13;3060:27;3050:2;;3101:1;3098;3091:12;3050:2;3141;3128:16;3167:2;3159:6;3156:14;3153:2;;;3183:1;3180;3173:12;3153:2;3236:7;3231:2;3221:6;3218:1;3214:14;3210:2;3206:23;3202:32;3199:45;3196:2;;;3257:1;3254;3247:12;3196:2;3288;3280:11;;;;;3310:6;;-1:-1:-1;2812:510:1;;-1:-1:-1;;;;2812:510:1:o;3327:245::-;3394:6;3447:2;3435:9;3426:7;3422:23;3418:32;3415:2;;;3463:1;3460;3453:12;3415:2;3495:9;3489:16;3514:28;3536:5;3514:28;:::i;3577:180::-;3636:6;3689:2;3677:9;3668:7;3664:23;3660:32;3657:2;;;3705:1;3702;3695:12;3657:2;-1:-1:-1;3728:23:1;;3647:110;-1:-1:-1;3647:110:1:o;3762:315::-;3830:6;3838;3891:2;3879:9;3870:7;3866:23;3862:32;3859:2;;;3907:1;3904;3897:12;3859:2;3943:9;3930:23;3920:33;;4003:2;3992:9;3988:18;3975:32;4016:31;4041:5;4016:31;:::i;4082:286::-;4140:6;4193:2;4181:9;4172:7;4168:23;4164:32;4161:2;;;4209:1;4206;4199:12;4161:2;4235:23;;-1:-1:-1;;;;;;4287:32:1;;4277:43;;4267:2;;4334:1;4331;4324:12;4373:482;4476:6;4484;4492;4545:2;4533:9;4524:7;4520:23;4516:32;4513:2;;;4561:1;4558;4551:12;4513:2;4600:9;4587:23;4619:31;4644:5;4619:31;:::i;:::-;4669:5;-1:-1:-1;4726:2:1;4711:18;;4698:32;4739:33;4698:32;4739:33;:::i;:::-;4503:352;;4791:7;;-1:-1:-1;;;4845:2:1;4830:18;;;;4817:32;;4503:352::o;5045:184::-;5115:6;5168:2;5156:9;5147:7;5143:23;5139:32;5136:2;;;5184:1;5181;5174:12;5136:2;-1:-1:-1;5207:16:1;;5126:103;-1:-1:-1;5126:103:1:o;5234:274::-;5363:3;5401:6;5395:13;5417:53;5463:6;5458:3;5451:4;5443:6;5439:17;5417:53;:::i;:::-;5486:16;;;;;5371:137;-1:-1:-1;;5371:137:1:o;5513:786::-;5924:25;5919:3;5912:38;5894:3;5979:6;5973:13;5995:62;6050:6;6045:2;6040:3;6036:12;6029:4;6021:6;6017:17;5995:62;:::i;:::-;-1:-1:-1;;;6116:2:1;6076:16;;;6108:11;;;6101:40;6166:13;;6188:63;6166:13;6237:2;6229:11;;6222:4;6210:17;;6188:63;:::i;:::-;6271:17;6290:2;6267:26;;5902:397;-1:-1:-1;;;;5902:397:1:o;6791:632::-;6962:2;7014:21;;;7084:13;;6987:18;;;7106:22;;;6933:4;;6962:2;7185:15;;;;7159:2;7144:18;;;6933:4;7228:169;7242:6;7239:1;7236:13;7228:169;;;7303:13;;7291:26;;7372:15;;;;7337:12;;;;7264:1;7257:9;7228:169;;;-1:-1:-1;7414:3:1;;6942:481;-1:-1:-1;;;;;;6942:481:1:o;8037:383::-;8186:2;8175:9;8168:21;8149:4;8218:6;8212:13;8261:6;8256:2;8245:9;8241:18;8234:34;8277:66;8336:6;8331:2;8320:9;8316:18;8311:2;8303:6;8299:15;8277:66;:::i;:::-;8404:2;8383:15;-1:-1:-1;;8379:29:1;8364:45;;;;8411:2;8360:54;;8158:262;-1:-1:-1;;8158:262:1:o;9202:408::-;9404:2;9386:21;;;9443:2;9423:18;;;9416:30;9482:34;9477:2;9462:18;;9455:62;-1:-1:-1;;;9548:2:1;9533:18;;9526:42;9600:3;9585:19;;9376:234::o;10673:408::-;10875:2;10857:21;;;10914:2;10894:18;;;10887:30;10953:34;10948:2;10933:18;;10926:62;-1:-1:-1;;;11019:2:1;11004:18;;10997:42;11071:3;11056:19;;10847:234::o;12191:410::-;12393:2;12375:21;;;12432:2;12412:18;;;12405:30;12471:34;12466:2;12451:18;;12444:62;-1:-1:-1;;;12537:2:1;12522:18;;12515:44;12591:3;12576:19;;12365:236::o;14486:407::-;14688:2;14670:21;;;14727:2;14707:18;;;14700:30;14766:34;14761:2;14746:18;;14739:62;-1:-1:-1;;;14832:2:1;14817:18;;14810:41;14883:3;14868:19;;14660:233::o;17368:980::-;17630:4;17678:3;17667:9;17663:19;17709:6;17698:9;17691:25;17735:2;17773:6;17768:2;17757:9;17753:18;17746:34;17816:3;17811:2;17800:9;17796:18;17789:31;17840:6;17875;17869:13;17906:6;17898;17891:22;17944:3;17933:9;17929:19;17922:26;;17983:2;17975:6;17971:15;17957:29;;18004:1;18014:195;18028:6;18025:1;18022:13;18014:195;;;18093:13;;-1:-1:-1;;;;;18089:39:1;18077:52;;18184:15;;;;18149:12;;;;18125:1;18043:9;18014:195;;;-1:-1:-1;;;;;;;18265:32:1;;;;18260:2;18245:18;;18238:60;-1:-1:-1;;;18329:3:1;18314:19;18307:35;18226:3;17639:709;-1:-1:-1;;;17639:709:1:o;19303:128::-;19343:3;19374:1;19370:6;19367:1;19364:13;19361:2;;;19380:18;;:::i;:::-;-1:-1:-1;19416:9:1;;19351:80::o;19436:217::-;19476:1;19502;19492:2;;19546:10;19541:3;19537:20;19534:1;19527:31;19581:4;19578:1;19571:15;19609:4;19606:1;19599:15;19492:2;-1:-1:-1;19638:9:1;;19482:171::o;19658:168::-;19698:7;19764:1;19760;19756:6;19752:14;19749:1;19746:21;19741:1;19734:9;19727:17;19723:45;19720:2;;;19771:18;;:::i;:::-;-1:-1:-1;19811:9:1;;19710:116::o;19831:125::-;19871:4;19899:1;19896;19893:8;19890:2;;;19904:18;;:::i;:::-;-1:-1:-1;19941:9:1;;19880:76::o;19961:258::-;20033:1;20043:113;20057:6;20054:1;20051:13;20043:113;;;20133:11;;;20127:18;20114:11;;;20107:39;20079:2;20072:10;20043:113;;;20174:6;20171:1;20168:13;20165:2;;;-1:-1:-1;;20209:1:1;20191:16;;20184:27;20014:205::o;20224:136::-;20263:3;20291:5;20281:2;;20300:18;;:::i;:::-;-1:-1:-1;;;20336:18:1;;20271:89::o;20365:135::-;20404:3;-1:-1:-1;;20425:17:1;;20422:2;;;20445:18;;:::i;:::-;-1:-1:-1;20492:1:1;20481:13;;20412:88::o;20505:175::-;20542:3;20586:4;20579:5;20575:16;20615:4;20606:7;20603:17;20600:2;;;20623:18;;:::i;:::-;20672:1;20659:15;;20550:130;-1:-1:-1;;20550:130:1:o;20685:127::-;20746:10;20741:3;20737:20;20734:1;20727:31;20777:4;20774:1;20767:15;20801:4;20798:1;20791:15;20817:127;20878:10;20873:3;20869:20;20866:1;20859:31;20909:4;20906:1;20899:15;20933:4;20930:1;20923:15;20949:127;21010:10;21005:3;21001:20;20998:1;20991:31;21041:4;21038:1;21031:15;21065:4;21062:1;21055:15;21081:127;21142:10;21137:3;21133:20;21130:1;21123:31;21173:4;21170:1;21163:15;21197:4;21194:1;21187:15;21213:131;-1:-1:-1;;;;;21288:31:1;;21278:42;;21268:2;;21334:1;21331;21324:12;21349:118;21435:5;21428:13;21421:21;21414:5;21411:32;21401:2;;21457:1;21454;21447:12

Swarm Source

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