ETH Price: $2,385.26 (+2.03%)
Gas: 5.31 Gwei

Contract

0xCf9064F3b15Ae2f45cB3d829eC9688B4e90F4d2A
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x60806040201579762024-06-24 0:30:11102 days ago1719189011IN
 Create: SweeprToken
0 ETH0.006241652.48807223

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SweeprToken

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 100000 runs

Other Settings:
paris EvmVersion
File 1 of 17 : SweeprToken.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.23;

// OpenZeppelin Contracts
import {ERC20Upgradeable} from "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import {Initializable} from "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import {ERC165Upgradeable} from "@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol";
import {Ownable2StepUpgradeable} from "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol";
import {ReentrancyGuardUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol";
// Uniswap Interfaces
import {IUniswapV2Factory} from "../interfaces/IUniswapV2Factory.sol";
import {IUniswapV2Pair} from "../interfaces/IUniswapV2Pair.sol";
import {IUniswapV2Router02} from "../interfaces/IUniswapV2Router02.sol";
// Interfaces
import {IStake} from "../interfaces/IStake.sol";

// Custom Errors
error Blacklisted();
error InvalidStakeContract();
error InvalidTradingTaxPercentage();
error InvalidTreasuryWallet();
error FailedToTransferETH();

/**
 * @title SWEEPR Token
 * @author Sweepr Team
 * @dev Implementation of the ERC-20 Token, total supply of 700,000,000 SWEEPR tokens.
 *
 * This contract has 5% trading tax in ETH in every transfer.
 * The tax is distributed to treasury wallet (3%) and stake contract (2%).
 */
contract SweeprToken is
    Initializable,
    ERC20Upgradeable,
    Ownable2StepUpgradeable,
    ReentrancyGuardUpgradeable
{
    IUniswapV2Router02 public uniswapV2Router;

    address public stakeContract;
    address public treasuryWallet;

    uint256 public tradingTaxPercentage;
    uint256 public stakeContractPercentage;
    uint256 public treasuryPercentage;

    bool public swapEnabled;

    uint256 public taxCollected;
    uint256 public taxDistributionThreshold;

    mapping(address => bool) public isBlacklisted;
    mapping(address => bool) public isExcludedFromFees;

    uint256[50] private __gap;

    // Events
    event StakeContractUpdated(address indexed newRewardsPool);
    event TreasuryWalletUpdated(address indexed newTreasury);
    event TradingTaxPercentageUpdated(
        uint256 newTaxPercentage,
        uint256 newTreasuryPercentage,
        uint256 newRewardsPoolPercentage
    );
    event AddedToBlacklist(address indexed account);
    event RemovedFromBlacklist(address indexed account);
    event TaxesDistributed(uint256 stakeContractAmount, uint256 treasuryAmount);
    event ExcludedFromFees(address indexed account, bool isExcluded);
    event SwapEnabled(bool enabled);
    event TaxDistributionThresholdUpdated(uint256 threshold);

    /// @custom:oz-upgrades-unsafe-allow constructor
    constructor() {
        _disableInitializers();
    }

    /**
     * @dev Fallback function to receive Ether for token swap.
     */
    receive() external payable {}

    fallback() external payable {}

    /**
     * @dev Initializes the SweeprToken contract.
     * @param _initialSupply (uint256) The initial supply of the SWEEPR token.
     * @param _uniswapV2Router (address) The address of the UniswapV2Router contract.
     * @param _treasuryWallet (address) The address of the treasury wallet.
     * @param _tradingTaxPercentage (uint256) The trading tax percentage.
     * @param _treasuryPercentage (uint256) The treasury tax percentage.
     * @param _stakeContractPercentage (uint256) The staking contract tax percentage.
     */
    function initialize(
        uint256 _initialSupply,
        address _uniswapV2Router,
        address _treasuryWallet,
        uint256 _tradingTaxPercentage,
        uint256 _stakeContractPercentage,
        uint256 _treasuryPercentage
    ) public initializer {
        __ERC20_init("Sweepr Token", "SWEEPR");
        __Ownable_init(msg.sender);

        _mint(msg.sender, _initialSupply * (10 ** decimals()));

        uniswapV2Router = IUniswapV2Router02(_uniswapV2Router);

        if (_treasuryWallet == address(0)) {
            revert InvalidTreasuryWallet();
        }

        treasuryWallet = _treasuryWallet;

        if (
            _tradingTaxPercentage > 10000 ||
            _stakeContractPercentage + _treasuryPercentage !=
            _tradingTaxPercentage
        ) {
            revert InvalidTradingTaxPercentage();
        }

        tradingTaxPercentage = _tradingTaxPercentage;
        stakeContractPercentage = _stakeContractPercentage;
        treasuryPercentage = _treasuryPercentage;

        setExcludeFromFees(msg.sender, true);
        setExcludeFromFees(address(this), true);
        setExcludeFromFees(_uniswapV2Router, true);
    }

    /**
     * @dev Update the Stake contract address.
     * @param _stakeContract (address) The new Stake contract address.
     */
    function setStakeContract(address _stakeContract) external onlyOwner {
        if (stakeContract == _stakeContract) {
            revert InvalidStakeContract();
        }

        stakeContract = _stakeContract;

        emit StakeContractUpdated(_stakeContract);
    }

    /**
     * @dev Update the Uniswap V2 Router contract address (Temporary function)
     * @param _uniswapV2Router (address) The new Uniswap V2 Router contract address.
     */
    function setUniswapV2Router(address _uniswapV2Router) external onlyOwner {
        setExcludeFromFees(address(uniswapV2Router), false);

        uniswapV2Router = IUniswapV2Router02(_uniswapV2Router);

        setExcludeFromFees(_uniswapV2Router, true);
    }

    /**
     * @dev Update the treasury wallet address.
     * @param _treasuryWallet (address) The new treasury wallet address.
     */
    function setTreasuryWallet(address _treasuryWallet) external onlyOwner {
        if (treasuryWallet == _treasuryWallet) {
            revert InvalidTreasuryWallet();
        }

        treasuryWallet = _treasuryWallet;

        emit TreasuryWalletUpdated(_treasuryWallet);
    }

    /**
     * @dev Function to update the trading tax percentage.
     * @param _newTaxPercentage (uint256) The new trading tax percentage.
     * @param _newTreasuryPercentage (uint256) The new treasury tax percentage.
     * @param _newStakeContractPercentage (uint256) The new Stake contract tax percentage.
     */
    function setTradingTaxPercentage(
        uint256 _newTaxPercentage,
        uint256 _newTreasuryPercentage,
        uint256 _newStakeContractPercentage
    ) external onlyOwner {
        if (
            _newTaxPercentage > 10000 ||
            _newStakeContractPercentage + _newTreasuryPercentage !=
            _newTaxPercentage
        ) {
            revert InvalidTradingTaxPercentage();
        }

        tradingTaxPercentage = _newTaxPercentage;
        stakeContractPercentage = _newStakeContractPercentage;
        treasuryPercentage = _newTreasuryPercentage;

        emit TradingTaxPercentageUpdated(
            _newTaxPercentage,
            _newTreasuryPercentage,
            _newStakeContractPercentage
        );
    }

    /**
     * @dev Enable or disable token swaps.
     * @param _enable (bool) Boolean indicating whether to enable or disable swaps.
     */
    function setSwapEnabled(bool _enable) external onlyOwner {
        swapEnabled = _enable;

        emit SwapEnabled(_enable);
    }

    function setTaxDistributionThreshold(
        uint256 _threshold
    ) external onlyOwner {
        taxDistributionThreshold = _threshold;

        emit TaxDistributionThresholdUpdated(_threshold);
    }

    /**
     * @dev Add an address to the blacklist.
     * @param _user (address) The address to be added to the blacklist.
     */
    function addToBlacklist(address _user) external onlyOwner {
        isBlacklisted[_user] = true;

        emit AddedToBlacklist(_user);
    }

    /**
     * @dev Remove an address from the blacklist.
     * @param _user (address) The address to be removed from the blacklist.
     */
    function removeFromBlacklist(address _user) external onlyOwner {
        delete isBlacklisted[_user];

        emit RemovedFromBlacklist(_user);
    }

    /**
     * @dev Internal function to swap SWEEPR tokens for ETH in Uniswap V2.
     * @param _amount (uint256) The amount of SWEEPR tokens to swap.
     */
    function _swapTokensForEth(uint256 _amount) internal returns (uint256) {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

        // Approve the router to spend SWEEPR tokens
        _approve(address(this), address(uniswapV2Router), type(uint256).max);

        uint256 ethBalanceBefore = address(this).balance;

        // Perform the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            _amount,
            0, // Accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );

        return address(this).balance - ethBalanceBefore;
    }

    /**
     * @dev Internal function to handle token transfers and apply trading tax.
     *
     * Emits a {Transfer} event.
     *
     * @param _from (address) The address from which the tokens are transferred.
     * @param _to (address) The address to which the tokens are transferred.
     * @param _amount (uint256) The amount of tokens being transferred.
     */
    function _update(
        address _from,
        address _to,
        uint256 _amount
    ) internal override {
        if (isBlacklisted[_from] || isBlacklisted[_to]) {
            revert Blacklisted();
        }

        if (
            swapEnabled &&
            !isExcludedFromFees[_from] &&
            (isUniswapPair(_from) || isUniswapPair(_to))
        ) {
            // Calculate the trading tax amount
            uint256 taxAmount = (_amount * tradingTaxPercentage) / 10000;
            taxCollected += taxAmount;

            // Send taxed SWEEPR to the contract
            super._update(_from, address(this), taxAmount);

            if (
                isUniswapPair(_to) && taxCollected >= taxDistributionThreshold
            ) {
                swapEnabled = false;

                uint256 tokenAmount = taxCollected > balanceOf(address(this))
                    ? balanceOf(address(this))
                    : taxCollected;

                _distributeTax(_swapTokensForEth(tokenAmount));

                swapEnabled = true;

                delete taxCollected;
            }

            // Send leftover SWEEPR to the target address
            super._update(_from, _to, _amount - taxAmount);
        } else {
            super._update(_from, _to, _amount);
        }
    }

    /**
     * @dev Exclude or include an address from fees.
     * @param _user (address) The address to be excluded or included.
     * @param _excluded (bool) Indicates whether to exclude or include the address from fees.
     */
    function setExcludeFromFees(
        address _user,
        bool _excluded
    ) public onlyOwner {
        isExcludedFromFees[_user] = _excluded;

        emit ExcludedFromFees(_user, _excluded);
    }

    /**
     * @dev Internal function to distribute taxes to the stake contract and treasury wallet.
     */
    function _distributeTax(uint256 _taxEthAmount) private nonReentrant {
        if (_taxEthAmount != 0) {
            uint256 tax = tradingTaxPercentage;
            // Calculate the amounts to be transferred to the stake contract and treasury
            uint256 stakeContractAmount = (_taxEthAmount *
                stakeContractPercentage) / tax;
            // uint256 treasuryAmount = (_taxEthAmount * treasuryPercentage) / tax;
            uint256 treasuryAmount = _taxEthAmount - stakeContractAmount; // Better for not to remain any leftover ETH

            // Transfer funds to the stake contract if configured
            if (stakeContract != address(0) && stakeContractAmount != 0) {
                (bool success, ) = payable(stakeContract).call{
                    value: stakeContractAmount
                }("");
                if (!success) {
                    revert FailedToTransferETH();
                }

                IStake(stakeContract).setTotalEthReward(stakeContractAmount);
            }

            // Transfer funds to the treasury wallet if configured
            if (treasuryWallet != address(0) && treasuryAmount != 0) {
                (bool success, ) = payable(treasuryWallet).call{
                    value: treasuryAmount
                }("");
                if (!success) {
                    revert FailedToTransferETH();
                }
            }

            // Emit an event indicating the successful distribution of taxes
            emit TaxesDistributed(stakeContractAmount, treasuryAmount);
        }
    }

    /**
     * @dev Public function to check if an address is a Uniswap pair.
     * @param _target (address) The Uniswap V2 pair address to check.
     * @return (bool) True if the address is a valid Uniswap pair, false otherwise.
     */
    function isUniswapPair(address _target) public view returns (bool) {
        if (_target.code.length == 0) {
            return false;
        }

        address token0;
        address token1;

        {
            bytes memory data = abi.encodeWithSignature("token0()");
            (bool success, bytes memory result) = address(_target).staticcall(
                data
            );
            if (!success) {
                return false;
            } else {
                if (result.length == 32) {
                    token0 = abi.decode(result, (address));
                    if (token0 == address(0)) {
                        return false;
                    }
                } else {
                    return false;
                }
            }
        }

        {
            bytes memory data = abi.encodeWithSignature("token1()");
            (bool success, bytes memory result) = address(_target).staticcall(
                data
            );
            if (!success) {
                return false;
            } else {
                if (result.length == 32) {
                    token1 = abi.decode(result, (address));
                    if (token1 == address(0)) {
                        return false;
                    }
                } else {
                    return false;
                }
            }
        }

        return true;
    }
}

File 2 of 17 : Ownable2StepUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable2Step.sol)

pragma solidity ^0.8.20;

import {OwnableUpgradeable} from "./OwnableUpgradeable.sol";
import {Initializable} from "../proxy/utils/Initializable.sol";

/**
 * @dev Contract module which provides access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * The initial owner is specified at deployment time in the constructor for `Ownable`. This
 * can later be changed with {transferOwnership} and {acceptOwnership}.
 *
 * This module is used through inheritance. It will make available all functions
 * from parent (Ownable).
 */
abstract contract Ownable2StepUpgradeable is Initializable, OwnableUpgradeable {
    /// @custom:storage-location erc7201:openzeppelin.storage.Ownable2Step
    struct Ownable2StepStorage {
        address _pendingOwner;
    }

    // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Ownable2Step")) - 1)) & ~bytes32(uint256(0xff))
    bytes32 private constant Ownable2StepStorageLocation = 0x237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00;

    function _getOwnable2StepStorage() private pure returns (Ownable2StepStorage storage $) {
        assembly {
            $.slot := Ownable2StepStorageLocation
        }
    }

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

    function __Ownable2Step_init() internal onlyInitializing {
    }

    function __Ownable2Step_init_unchained() internal onlyInitializing {
    }
    /**
     * @dev Returns the address of the pending owner.
     */
    function pendingOwner() public view virtual returns (address) {
        Ownable2StepStorage storage $ = _getOwnable2StepStorage();
        return $._pendingOwner;
    }

    /**
     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual override onlyOwner {
        Ownable2StepStorage storage $ = _getOwnable2StepStorage();
        $._pendingOwner = newOwner;
        emit OwnershipTransferStarted(owner(), newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual override {
        Ownable2StepStorage storage $ = _getOwnable2StepStorage();
        delete $._pendingOwner;
        super._transferOwnership(newOwner);
    }

    /**
     * @dev The new owner accepts the ownership transfer.
     */
    function acceptOwnership() public virtual {
        address sender = _msgSender();
        if (pendingOwner() != sender) {
            revert OwnableUnauthorizedAccount(sender);
        }
        _transferOwnership(sender);
    }
}

File 3 of 17 : OwnableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {ContextUpgradeable} from "../utils/ContextUpgradeable.sol";
import {Initializable} from "../proxy/utils/Initializable.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * The initial owner is set to the address provided by the deployer. This can
 * later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {
    /// @custom:storage-location erc7201:openzeppelin.storage.Ownable
    struct OwnableStorage {
        address _owner;
    }

    // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Ownable")) - 1)) & ~bytes32(uint256(0xff))
    bytes32 private constant OwnableStorageLocation = 0x9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300;

    function _getOwnableStorage() private pure returns (OwnableStorage storage $) {
        assembly {
            $.slot := OwnableStorageLocation
        }
    }

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    function __Ownable_init(address initialOwner) internal onlyInitializing {
        __Ownable_init_unchained(initialOwner);
    }

    function __Ownable_init_unchained(address initialOwner) internal onlyInitializing {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

File 4 of 17 : Initializable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.20;

/**
 * @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 proxied contracts do not make use of 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.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```solidity
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 *
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * 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 prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Storage of the initializable contract.
     *
     * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions
     * when using with upgradeable contracts.
     *
     * @custom:storage-location erc7201:openzeppelin.storage.Initializable
     */
    struct InitializableStorage {
        /**
         * @dev Indicates that the contract has been initialized.
         */
        uint64 _initialized;
        /**
         * @dev Indicates that the contract is in the process of being initialized.
         */
        bool _initializing;
    }

    // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Initializable")) - 1)) & ~bytes32(uint256(0xff))
    bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;

    /**
     * @dev The contract is already initialized.
     */
    error InvalidInitialization();

    /**
     * @dev The contract is not initializing.
     */
    error NotInitializing();

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint64 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts.
     *
     * Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any
     * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in
     * production.
     *
     * Emits an {Initialized} event.
     */
    modifier initializer() {
        // solhint-disable-next-line var-name-mixedcase
        InitializableStorage storage $ = _getInitializableStorage();

        // Cache values to avoid duplicated sloads
        bool isTopLevelCall = !$._initializing;
        uint64 initialized = $._initialized;

        // Allowed calls:
        // - initialSetup: the contract is not in the initializing state and no previous version was
        //                 initialized
        // - construction: the contract is initialized at version 1 (no reininitialization) and the
        //                 current contract is just being deployed
        bool initialSetup = initialized == 0 && isTopLevelCall;
        bool construction = initialized == 1 && address(this).code.length == 0;

        if (!initialSetup && !construction) {
            revert InvalidInitialization();
        }
        $._initialized = 1;
        if (isTopLevelCall) {
            $._initializing = true;
        }
        _;
        if (isTopLevelCall) {
            $._initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * A reinitializer may be used after the original initialization step. This is essential to configure modules that
     * are added through upgrades and that require initialization.
     *
     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`
     * cannot be nested. If one is invoked in the context of another, execution will revert.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     *
     * WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization.
     *
     * Emits an {Initialized} event.
     */
    modifier reinitializer(uint64 version) {
        // solhint-disable-next-line var-name-mixedcase
        InitializableStorage storage $ = _getInitializableStorage();

        if ($._initializing || $._initialized >= version) {
            revert InvalidInitialization();
        }
        $._initialized = version;
        $._initializing = true;
        _;
        $._initializing = false;
        emit Initialized(version);
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        _checkInitializing();
        _;
    }

    /**
     * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.
     */
    function _checkInitializing() internal view virtual {
        if (!_isInitializing()) {
            revert NotInitializing();
        }
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     *
     * Emits an {Initialized} event the first time it is successfully executed.
     */
    function _disableInitializers() internal virtual {
        // solhint-disable-next-line var-name-mixedcase
        InitializableStorage storage $ = _getInitializableStorage();

        if ($._initializing) {
            revert InvalidInitialization();
        }
        if ($._initialized != type(uint64).max) {
            $._initialized = type(uint64).max;
            emit Initialized(type(uint64).max);
        }
    }

    /**
     * @dev Returns the highest version that has been initialized. See {reinitializer}.
     */
    function _getInitializedVersion() internal view returns (uint64) {
        return _getInitializableStorage()._initialized;
    }

    /**
     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.
     */
    function _isInitializing() internal view returns (bool) {
        return _getInitializableStorage()._initializing;
    }

    /**
     * @dev Returns a pointer to the storage namespace.
     */
    // solhint-disable-next-line var-name-mixedcase
    function _getInitializableStorage() private pure returns (InitializableStorage storage $) {
        assembly {
            $.slot := INITIALIZABLE_STORAGE
        }
    }
}

File 5 of 17 : ERC20Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {IERC20Metadata} from "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import {ContextUpgradeable} from "../../utils/ContextUpgradeable.sol";
import {IERC20Errors} from "@openzeppelin/contracts/interfaces/draft-IERC6093.sol";
import {Initializable} from "../../proxy/utils/Initializable.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 */
abstract contract ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20, IERC20Metadata, IERC20Errors {
    /// @custom:storage-location erc7201:openzeppelin.storage.ERC20
    struct ERC20Storage {
        mapping(address account => uint256) _balances;

        mapping(address account => mapping(address spender => uint256)) _allowances;

        uint256 _totalSupply;

        string _name;
        string _symbol;
    }

    // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.ERC20")) - 1)) & ~bytes32(uint256(0xff))
    bytes32 private constant ERC20StorageLocation = 0x52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00;

    function _getERC20Storage() private pure returns (ERC20Storage storage $) {
        assembly {
            $.slot := ERC20StorageLocation
        }
    }

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    function __ERC20_init(string memory name_, string memory symbol_) internal onlyInitializing {
        __ERC20_init_unchained(name_, symbol_);
    }

    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing {
        ERC20Storage storage $ = _getERC20Storage();
        $._name = name_;
        $._symbol = symbol_;
    }

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

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

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

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual returns (uint256) {
        ERC20Storage storage $ = _getERC20Storage();
        return $._totalSupply;
    }

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        ERC20Storage storage $ = _getERC20Storage();
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            $._totalSupply += value;
        } else {
            uint256 fromBalance = $._balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                $._balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                $._totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                $._balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     * ```
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        ERC20Storage storage $ = _getERC20Storage();
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        $._allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }
}

File 6 of 17 : ContextUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;
import {Initializable} from "../proxy/utils/Initializable.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 {
    }

    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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 7 of 17 : ERC165Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;

import {IERC165} from "@openzeppelin/contracts/utils/introspection/IERC165.sol";
import {Initializable} from "../../proxy/utils/Initializable.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);
 * }
 * ```
 */
abstract contract ERC165Upgradeable is Initializable, IERC165 {
    function __ERC165_init() internal onlyInitializing {
    }

    function __ERC165_init_unchained() internal onlyInitializing {
    }
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 8 of 17 : ReentrancyGuardUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;
import {Initializable} from "../proxy/utils/Initializable.sol";

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

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

    /// @custom:storage-location erc7201:openzeppelin.storage.ReentrancyGuard
    struct ReentrancyGuardStorage {
        uint256 _status;
    }

    // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.ReentrancyGuard")) - 1)) & ~bytes32(uint256(0xff))
    bytes32 private constant ReentrancyGuardStorageLocation = 0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;

    function _getReentrancyGuardStorage() private pure returns (ReentrancyGuardStorage storage $) {
        assembly {
            $.slot := ReentrancyGuardStorageLocation
        }
    }

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    function __ReentrancyGuard_init() internal onlyInitializing {
        __ReentrancyGuard_init_unchained();
    }

    function __ReentrancyGuard_init_unchained() internal onlyInitializing {
        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();
        $._status = NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if ($._status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

        // Any calls to nonReentrant after this point will fail
        $._status = ENTERED;
    }

    function _nonReentrantAfter() private {
        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        $._status = NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();
        return $._status == ENTERED;
    }
}

File 9 of 17 : draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

File 10 of 17 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";

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

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

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

File 11 of 17 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

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

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

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

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

File 12 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

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

File 13 of 17 : IStake.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.23;

interface IStake {
    function setTotalEthReward(uint256 amount) external;
}

File 14 of 17 : IUniswapV2Factory.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.6.2;

interface IUniswapV2Factory {
    event PairCreated(
        address indexed token0,
        address indexed token1,
        address pair,
        uint
    );

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

    function getPair(
        address tokenA,
        address tokenB
    ) external view returns (address pair);

    function allPairs(uint) external view returns (address pair);

    function allPairsLength() external view returns (uint);

    function createPair(
        address tokenA,
        address tokenB
    ) external returns (address pair);

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

File 15 of 17 : IUniswapV2Pair.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.5.0;

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

    function name() external pure returns (string memory);

    function symbol() external pure returns (string memory);

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint);

    function balanceOf(address owner) external view returns (uint);

    function allowance(
        address owner,
        address spender
    ) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);

    function transfer(address to, uint value) external returns (bool);

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

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves()
        external
        view
        returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);

    function price0CumulativeLast() external view returns (uint);

    function price1CumulativeLast() external view returns (uint);

    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);

    function burn(address to) external returns (uint amount0, uint amount1);

    function swap(
        uint amount0Out,
        uint amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

File 16 of 17 : IUniswapV2Router01.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);

    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    )
        external
        payable
        returns (uint amountToken, uint amountETH, uint liquidity);

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);

    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint amountA, uint amountB);

    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint amountToken, uint amountETH);

    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapExactETHForTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable returns (uint[] memory amounts);

    function swapTokensForExactETH(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapExactTokensForETH(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);

    function swapETHForExactTokens(
        uint amountOut,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable returns (uint[] memory amounts);

    function quote(
        uint amountA,
        uint reserveA,
        uint reserveB
    ) external pure returns (uint amountB);

    function getAmountOut(
        uint amountIn,
        uint reserveIn,
        uint reserveOut
    ) external pure returns (uint amountOut);

    function getAmountIn(
        uint amountOut,
        uint reserveIn,
        uint reserveOut
    ) external pure returns (uint amountIn);

    function getAmountsOut(
        uint amountIn,
        address[] calldata path
    ) external view returns (uint[] memory amounts);

    function getAmountsIn(
        uint amountOut,
        address[] calldata path
    ) external view returns (uint[] memory amounts);
}

File 17 of 17 : IUniswapV2Router02.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.6.2;

import "./IUniswapV2Router01.sol";

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);

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

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

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

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 100000
  },
  "evmVersion": "paris",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"Blacklisted","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"FailedToTransferETH","type":"error"},{"inputs":[],"name":"InvalidInitialization","type":"error"},{"inputs":[],"name":"InvalidStakeContract","type":"error"},{"inputs":[],"name":"InvalidTradingTaxPercentage","type":"error"},{"inputs":[],"name":"InvalidTreasuryWallet","type":"error"},{"inputs":[],"name":"NotInitializing","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"AddedToBlacklist","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludedFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"version","type":"uint64"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"RemovedFromBlacklist","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newRewardsPool","type":"address"}],"name":"StakeContractUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"threshold","type":"uint256"}],"name":"TaxDistributionThresholdUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"stakeContractAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"treasuryAmount","type":"uint256"}],"name":"TaxesDistributed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newTaxPercentage","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTreasuryPercentage","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRewardsPoolPercentage","type":"uint256"}],"name":"TradingTaxPercentageUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newTreasury","type":"address"}],"name":"TreasuryWalletUpdated","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"addToBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_initialSupply","type":"uint256"},{"internalType":"address","name":"_uniswapV2Router","type":"address"},{"internalType":"address","name":"_treasuryWallet","type":"address"},{"internalType":"uint256","name":"_tradingTaxPercentage","type":"uint256"},{"internalType":"uint256","name":"_stakeContractPercentage","type":"uint256"},{"internalType":"uint256","name":"_treasuryPercentage","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"}],"name":"isUniswapPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"removeFromBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"bool","name":"_excluded","type":"bool"}],"name":"setExcludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_stakeContract","type":"address"}],"name":"setStakeContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enable","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_threshold","type":"uint256"}],"name":"setTaxDistributionThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newTaxPercentage","type":"uint256"},{"internalType":"uint256","name":"_newTreasuryPercentage","type":"uint256"},{"internalType":"uint256","name":"_newStakeContractPercentage","type":"uint256"}],"name":"setTradingTaxPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryWallet","type":"address"}],"name":"setTreasuryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_uniswapV2Router","type":"address"}],"name":"setUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakeContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakeContractPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxCollected","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxDistributionThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingTaxPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryPercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612c2780620000e66000396000f3fe60806040526004361061022f5760003560e01c806379ba509711610126578063a8602fea116100a7578063dd62ed3e11610079578063e30c397811610061578063e30c397814610719578063f2fde38b1461072e578063fe575a871461074e57005b8063dd62ed3e14610687578063e01af92c146106f957005b8063a8602fea14610607578063a9059cbb14610627578063ba28524c14610647578063d63cad221461066757005b80638da5cb5b116100f857806395d89b41116100e057806395d89b41146105b25780639cece12e146105c7578063a7294644146105e757005b80638da5cb5b14610587578063916a47f71461059c57005b806379ba5097146105265780637ab560831461053b5780637c0437c1146105515780638b8cf7df1461056757005b8063313ce567116101b0578063509484d5116101825780636ddd17131161016a5780636ddd17131461049557806370a08231146104af578063715018a61461051157005b8063509484d514610455578063537df3b61461047557005b8063313ce567146103bc57806344337ea1146103d85780634626402b146103f85780634fbee1931461042557005b806318160ddd116102015780631a425616116101e95780631a4256161461037057806323b872dd14610386578063276171b2146103a657005b806318160ddd146103055780631a1862271461034357005b806306fdde0314610238578063095ea7b3146102635780631419841d146102935780631694505e146102b357005b3661023657005b005b34801561024457600080fd5b5061024d61077e565b60405161025a91906124f7565b60405180910390f35b34801561026f57600080fd5b5061028361027e36600461256a565b610853565b604051901515815260200161025a565b34801561029f57600080fd5b506102366102ae366004612596565b61086d565b3480156102bf57600080fd5b506000546102e09073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161025a565b34801561031157600080fd5b507f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace02545b60405190815260200161025a565b34801561034f57600080fd5b506001546102e09073ffffffffffffffffffffffffffffffffffffffff1681565b34801561037c57600080fd5b5061033560085481565b34801561039257600080fd5b506102836103a13660046125ba565b6108e9565b3480156103b257600080fd5b5061033560045481565b3480156103c857600080fd5b506040516012815260200161025a565b3480156103e457600080fd5b506102366103f3366004612596565b61090d565b34801561040457600080fd5b506002546102e09073ffffffffffffffffffffffffffffffffffffffff1681565b34801561043157600080fd5b50610283610440366004612596565b600a6020526000908152604090205460ff1681565b34801561046157600080fd5b50610236610470366004612596565b61098c565b34801561048157600080fd5b50610236610490366004612596565b610a57565b3480156104a157600080fd5b506006546102839060ff1681565b3480156104bb57600080fd5b506103356104ca366004612596565b73ffffffffffffffffffffffffffffffffffffffff1660009081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00602052604090205490565b34801561051d57600080fd5b50610236610ad3565b34801561053257600080fd5b50610236610ae7565b34801561054757600080fd5b5061033560055481565b34801561055d57600080fd5b5061033560035481565b34801561057357600080fd5b506102366105823660046125fb565b610b64565b34801561059357600080fd5b506102e0610c11565b3480156105a857600080fd5b5061033560075481565b3480156105be57600080fd5b5061024d610c53565b3480156105d357600080fd5b506102836105e2366004612596565b610ca4565b3480156105f357600080fd5b50610236610602366004612627565b610f31565b34801561061357600080fd5b50610236610622366004612596565b610f75565b34801561063357600080fd5b5061028361064236600461256a565b611040565b34801561065357600080fd5b50610236610662366004612640565b61104e565b34801561067357600080fd5b506102366106823660046126b1565b6113a3565b34801561069357600080fd5b506103356106a23660046126e6565b73ffffffffffffffffffffffffffffffffffffffff91821660009081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b34801561070557600080fd5b5061023661071436600461271f565b611435565b34801561072557600080fd5b506102e061149c565b34801561073a57600080fd5b50610236610749366004612596565b6114c5565b34801561075a57600080fd5b50610283610769366004612596565b60096020526000908152604090205460ff1681565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0380546060917f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00916107cf9061273a565b80601f01602080910402602001604051908101604052809291908181526020018280546107fb9061273a565b80156108485780601f1061081d57610100808354040283529160200191610848565b820191906000526020600020905b81548152906001019060200180831161082b57829003601f168201915b505050505091505090565b60003361086181858561157c565b60019150505b92915050565b61087561158e565b6000805461089b9173ffffffffffffffffffffffffffffffffffffffff909116906113a3565b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83161790556108e68160016113a3565b50565b6000336108f78582856115e6565b6109028585856116d4565b506001949350505050565b61091561158e565b73ffffffffffffffffffffffffffffffffffffffff811660008181526009602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055517ff9b68063b051b82957fa193585681240904fed808db8b30fc5a2d2202c6ed6279190a250565b61099461158e565b60015473ffffffffffffffffffffffffffffffffffffffff8083169116036109e8576040517fc98f91de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f573bbfa679af6fdcdbd9cf191c5ef3e526599ac2bf75e9177d47adb8530b9c6990600090a250565b610a5f61158e565b73ffffffffffffffffffffffffffffffffffffffff811660008181526009602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055517f2b6bf71b58b3583add364b3d9060ebf8019650f65f5be35f5464b9cb3e4ba2d49190a250565b610adb61158e565b610ae5600061177f565b565b3380610af161149c565b73ffffffffffffffffffffffffffffffffffffffff1614610b5b576040517f118cdaa700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024015b60405180910390fd5b6108e68161177f565b610b6c61158e565b612710831180610b85575082610b8283836127bc565b14155b15610bbc576040517f475f0c2b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60038390556004819055600582905560408051848152602081018490529081018290527f9505958ee5bbae20398b843b28341e186d845f3bac5311fbc7250ead015ba40a9060600160405180910390a1505050565b6000807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c1993005b5473ffffffffffffffffffffffffffffffffffffffff1692915050565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0480546060917f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00916107cf9061273a565b60008173ffffffffffffffffffffffffffffffffffffffff163b600003610ccd57506000919050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f0dfe168100000000000000000000000000000000000000000000000000000000179052905160009182918290819073ffffffffffffffffffffffffffffffffffffffff881690610d519085906127cf565b600060405180830381855afa9150503d8060008114610d8c576040519150601f19603f3d011682016040523d82523d6000602084013e610d91565b606091505b509150915081610da8575060009695505050505050565b8051602003610df45780806020019051810190610dc591906127eb565b945073ffffffffffffffffffffffffffffffffffffffff8516610def575060009695505050505050565b610e01565b5060009695505050505050565b505060408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd21220a7000000000000000000000000000000000000000000000000000000001790529051909150600090819073ffffffffffffffffffffffffffffffffffffffff881690610e869085906127cf565b600060405180830381855afa9150503d8060008114610ec1576040519150601f19603f3d011682016040523d82523d6000602084013e610ec6565b606091505b509150915081610edd575060009695505050505050565b8051602003610df45780806020019051810190610efa91906127eb565b935073ffffffffffffffffffffffffffffffffffffffff8416610f24575060009695505050505050565b5060019695505050505050565b610f3961158e565b60088190556040518181527f3c516b8753d92bc953da7ad26360ddd14b9583421ebb3d471badb8496d7a5ee8906020015b60405180910390a150565b610f7d61158e565b60025473ffffffffffffffffffffffffffffffffffffffff808316911603610fd1576040517fa56b8e2800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f97c79b3848e51f57983ac89e4403452655c8d83ceba8199011de63a74f60d1a790600090a250565b6000336108618185856116d4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff166000811580156110995750825b905060008267ffffffffffffffff1660011480156110b65750303b155b9050811580156110c4575080155b156110fb576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84547fffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000166001178555831561115c5784547fffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffff16680100000000000000001785555b6111d06040518060400160405280600c81526020017f53776565707220546f6b656e00000000000000000000000000000000000000008152506040518060400160405280600681526020017f53574545505200000000000000000000000000000000000000000000000000008152506117d3565b6111d9336117e5565b6111f8336111e96012600a612928565b6111f3908e612937565b6117f6565b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8c8116919091179091558916611275576040517fa56b8e2800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8b161790556127108811806112ce5750876112cb87896127bc565b14155b15611305576040517f475f0c2b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60038890556004879055600586905561131f3360016113a3565b61132a3060016113a3565b6113358a60016113a3565b83156113965784547fffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffff168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b6113ab61158e565b73ffffffffffffffffffffffffffffffffffffffff82166000818152600a602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915591519182527f3499bfcf9673677ba552f3fe2ea274ec7e6246da31c3c87e115b45a9b0db2efb910160405180910390a25050565b61143d61158e565b600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168215159081179091556040519081527fb9bbb15e341600c8d067a0cadeba219905d5ba6d422b193c9c32265d26fc51c890602001610f6a565b6000807f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00610c36565b6114cd61158e565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081178255611536610c11565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a35050565b6115898383836001611852565b505050565b33611597610c11565b73ffffffffffffffffffffffffffffffffffffffff1614610ae5576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610b52565b73ffffffffffffffffffffffffffffffffffffffff83811660009081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146116ce57818110156116bf576040517ffb8f41b200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841660048201526024810182905260448101839052606401610b52565b6116ce84848484036000611852565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316611724576040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260006004820152602401610b52565b73ffffffffffffffffffffffffffffffffffffffff8216611774576040517fec442f0500000000000000000000000000000000000000000000000000000000815260006004820152602401610b52565b6115898383836119bf565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080547fffffffffffffffffffffffff00000000000000000000000000000000000000001681556117cf82611c06565b5050565b6117db611c9c565b6117cf8282611d03565b6117ed611c9c565b6108e681611d66565b73ffffffffffffffffffffffffffffffffffffffff8216611846576040517fec442f0500000000000000000000000000000000000000000000000000000000815260006004820152602401610b52565b6117cf600083836119bf565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0073ffffffffffffffffffffffffffffffffffffffff85166118c3576040517fe602df0500000000000000000000000000000000000000000000000000000000815260006004820152602401610b52565b73ffffffffffffffffffffffffffffffffffffffff8416611913576040517f94280d6200000000000000000000000000000000000000000000000000000000815260006004820152602401610b52565b73ffffffffffffffffffffffffffffffffffffffff8086166000908152600183016020908152604080832093881683529290522083905581156119b8578373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925856040516119af91815260200190565b60405180910390a35b5050505050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526009602052604090205460ff1680611a18575073ffffffffffffffffffffffffffffffffffffffff821660009081526009602052604090205460ff165b15611a4f576040517f09550c7700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065460ff168015611a87575073ffffffffffffffffffffffffffffffffffffffff83166000908152600a602052604090205460ff16155b8015611aa65750611a9783610ca4565b80611aa65750611aa682610ca4565b15611bfb57600061271060035483611abe9190612937565b611ac8919061294e565b90508060076000828254611adc91906127bc565b90915550611aed9050843083611dbe565b611af683610ca4565b8015611b06575060085460075410155b15611be757600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690553060009081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00602052604081205460075411611b7257600754611ba2565b3060009081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0060205260409020545b9050611bb5611bb082611f8f565b61219c565b50600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905560006007555b6116ce8484611bf68486612989565b611dbe565b611589838383611dbe565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080547fffffffffffffffffffffffff0000000000000000000000000000000000000000811673ffffffffffffffffffffffffffffffffffffffff848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16610ae5576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611d0b611c9c565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace007f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace03611d578482612a1b565b50600481016116ce8382612a1b565b611d6e611c9c565b73ffffffffffffffffffffffffffffffffffffffff8116610b5b576040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260006004820152602401610b52565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0073ffffffffffffffffffffffffffffffffffffffff8416611e195781816002016000828254611e0e91906127bc565b90915550611ecb9050565b73ffffffffffffffffffffffffffffffffffffffff841660009081526020829052604090205482811015611e9f576040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff861660048201526024810182905260448101849052606401610b52565b73ffffffffffffffffffffffffffffffffffffffff851660009081526020839052604090209083900390555b73ffffffffffffffffffffffffffffffffffffffff8316611ef6576002810180548390039055611f22565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020829052604090208054830190555b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611f8191815260200190565b60405180910390a350505050565b604080516002808252606082018352600092839291906020830190803683370190505090503081600081518110611fc857611fc8612b35565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561206d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209191906127eb565b816001815181106120a4576120a4612b35565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526000546120f7913091167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61157c565b600080546040517f791ac947000000000000000000000000000000000000000000000000000000008152479273ffffffffffffffffffffffffffffffffffffffff9092169163791ac94791612156918891879030904290600401612b64565b600060405180830381600087803b15801561217057600080fd5b505af1158015612184573d6000803e3d6000fd5b5050505080476121949190612989565b949350505050565b6121a4612452565b80156124295760035460045460009082906121bf9085612937565b6121c9919061294e565b905060006121d78285612989565b60015490915073ffffffffffffffffffffffffffffffffffffffff161580159061220057508115155b156123255760015460405160009173ffffffffffffffffffffffffffffffffffffffff169084908381818185875af1925050503d806000811461225f576040519150601f19603f3d011682016040523d82523d6000602084013e612264565b606091505b505090508061229f576040517f9d4a106d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001546040517fce9b50690000000000000000000000000000000000000000000000000000000081526004810185905273ffffffffffffffffffffffffffffffffffffffff9091169063ce9b506990602401600060405180830381600087803b15801561230b57600080fd5b505af115801561231f573d6000803e3d6000fd5b50505050505b60025473ffffffffffffffffffffffffffffffffffffffff161580159061234b57508015155b156123ec5760025460405160009173ffffffffffffffffffffffffffffffffffffffff169083908381818185875af1925050503d80600081146123aa576040519150601f19603f3d011682016040523d82523d6000602084013e6123af565b606091505b50509050806123ea576040517f9d4a106d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b60408051838152602081018390527f5e20c9aee521e656eed033c4ae35378c79c584706f5ce7f410ab3fba389607a1910160405180910390a15050505b6108e660017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0080547ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016124cd576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60029055565b60005b838110156124ee5781810151838201526020016124d6565b50506000910152565b60208152600082518060208401526125168160408501602087016124d3565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b73ffffffffffffffffffffffffffffffffffffffff811681146108e657600080fd5b6000806040838503121561257d57600080fd5b823561258881612548565b946020939093013593505050565b6000602082840312156125a857600080fd5b81356125b381612548565b9392505050565b6000806000606084860312156125cf57600080fd5b83356125da81612548565b925060208401356125ea81612548565b929592945050506040919091013590565b60008060006060848603121561261057600080fd5b505081359360208301359350604090920135919050565b60006020828403121561263957600080fd5b5035919050565b60008060008060008060c0878903121561265957600080fd5b86359550602087013561266b81612548565b9450604087013561267b81612548565b959894975094956060810135955060808101359460a0909101359350915050565b803580151581146126ac57600080fd5b919050565b600080604083850312156126c457600080fd5b82356126cf81612548565b91506126dd6020840161269c565b90509250929050565b600080604083850312156126f957600080fd5b823561270481612548565b9150602083013561271481612548565b809150509250929050565b60006020828403121561273157600080fd5b6125b38261269c565b600181811c9082168061274e57607f821691505b602082108103612787577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808201808211156108675761086761278d565b600082516127e18184602087016124d3565b9190910192915050565b6000602082840312156127fd57600080fd5b81516125b381612548565b600181815b8085111561286157817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048211156128475761284761278d565b8085161561285457918102915b93841c939080029061280d565b509250929050565b60008261287857506001610867565b8161288557506000610867565b816001811461289b57600281146128a5576128c1565b6001915050610867565b60ff8411156128b6576128b661278d565b50506001821b610867565b5060208310610133831016604e8410600b84101617156128e4575081810a610867565b6128ee8383612808565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048211156129205761292061278d565b029392505050565b60006125b360ff841683612869565b80820281158282048414176108675761086761278d565b600082612984577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b818103818111156108675761086761278d565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b601f821115611589576000816000526020600020601f850160051c810160208610156129f45750805b601f850160051c820191505b81811015612a1357828155600101612a00565b505050505050565b815167ffffffffffffffff811115612a3557612a3561299c565b612a4981612a43845461273a565b846129cb565b602080601f831160018114612a9c5760008415612a665750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555612a13565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b82811015612ae957888601518255948401946001909101908401612aca565b5085821015612b2557878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b81811015612bc357845173ffffffffffffffffffffffffffffffffffffffff1683529383019391830191600101612b91565b505073ffffffffffffffffffffffffffffffffffffffff96909616606085015250505060800152939250505056fea26469706673582212204a3a486f3915cb3b25ea016a3976e7e9205a4b351d1cee6773c15695a852a88964736f6c63430008170033

Deployed Bytecode

0x60806040526004361061022f5760003560e01c806379ba509711610126578063a8602fea116100a7578063dd62ed3e11610079578063e30c397811610061578063e30c397814610719578063f2fde38b1461072e578063fe575a871461074e57005b8063dd62ed3e14610687578063e01af92c146106f957005b8063a8602fea14610607578063a9059cbb14610627578063ba28524c14610647578063d63cad221461066757005b80638da5cb5b116100f857806395d89b41116100e057806395d89b41146105b25780639cece12e146105c7578063a7294644146105e757005b80638da5cb5b14610587578063916a47f71461059c57005b806379ba5097146105265780637ab560831461053b5780637c0437c1146105515780638b8cf7df1461056757005b8063313ce567116101b0578063509484d5116101825780636ddd17131161016a5780636ddd17131461049557806370a08231146104af578063715018a61461051157005b8063509484d514610455578063537df3b61461047557005b8063313ce567146103bc57806344337ea1146103d85780634626402b146103f85780634fbee1931461042557005b806318160ddd116102015780631a425616116101e95780631a4256161461037057806323b872dd14610386578063276171b2146103a657005b806318160ddd146103055780631a1862271461034357005b806306fdde0314610238578063095ea7b3146102635780631419841d146102935780631694505e146102b357005b3661023657005b005b34801561024457600080fd5b5061024d61077e565b60405161025a91906124f7565b60405180910390f35b34801561026f57600080fd5b5061028361027e36600461256a565b610853565b604051901515815260200161025a565b34801561029f57600080fd5b506102366102ae366004612596565b61086d565b3480156102bf57600080fd5b506000546102e09073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161025a565b34801561031157600080fd5b507f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace02545b60405190815260200161025a565b34801561034f57600080fd5b506001546102e09073ffffffffffffffffffffffffffffffffffffffff1681565b34801561037c57600080fd5b5061033560085481565b34801561039257600080fd5b506102836103a13660046125ba565b6108e9565b3480156103b257600080fd5b5061033560045481565b3480156103c857600080fd5b506040516012815260200161025a565b3480156103e457600080fd5b506102366103f3366004612596565b61090d565b34801561040457600080fd5b506002546102e09073ffffffffffffffffffffffffffffffffffffffff1681565b34801561043157600080fd5b50610283610440366004612596565b600a6020526000908152604090205460ff1681565b34801561046157600080fd5b50610236610470366004612596565b61098c565b34801561048157600080fd5b50610236610490366004612596565b610a57565b3480156104a157600080fd5b506006546102839060ff1681565b3480156104bb57600080fd5b506103356104ca366004612596565b73ffffffffffffffffffffffffffffffffffffffff1660009081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00602052604090205490565b34801561051d57600080fd5b50610236610ad3565b34801561053257600080fd5b50610236610ae7565b34801561054757600080fd5b5061033560055481565b34801561055d57600080fd5b5061033560035481565b34801561057357600080fd5b506102366105823660046125fb565b610b64565b34801561059357600080fd5b506102e0610c11565b3480156105a857600080fd5b5061033560075481565b3480156105be57600080fd5b5061024d610c53565b3480156105d357600080fd5b506102836105e2366004612596565b610ca4565b3480156105f357600080fd5b50610236610602366004612627565b610f31565b34801561061357600080fd5b50610236610622366004612596565b610f75565b34801561063357600080fd5b5061028361064236600461256a565b611040565b34801561065357600080fd5b50610236610662366004612640565b61104e565b34801561067357600080fd5b506102366106823660046126b1565b6113a3565b34801561069357600080fd5b506103356106a23660046126e6565b73ffffffffffffffffffffffffffffffffffffffff91821660009081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b34801561070557600080fd5b5061023661071436600461271f565b611435565b34801561072557600080fd5b506102e061149c565b34801561073a57600080fd5b50610236610749366004612596565b6114c5565b34801561075a57600080fd5b50610283610769366004612596565b60096020526000908152604090205460ff1681565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0380546060917f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00916107cf9061273a565b80601f01602080910402602001604051908101604052809291908181526020018280546107fb9061273a565b80156108485780601f1061081d57610100808354040283529160200191610848565b820191906000526020600020905b81548152906001019060200180831161082b57829003601f168201915b505050505091505090565b60003361086181858561157c565b60019150505b92915050565b61087561158e565b6000805461089b9173ffffffffffffffffffffffffffffffffffffffff909116906113a3565b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83161790556108e68160016113a3565b50565b6000336108f78582856115e6565b6109028585856116d4565b506001949350505050565b61091561158e565b73ffffffffffffffffffffffffffffffffffffffff811660008181526009602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055517ff9b68063b051b82957fa193585681240904fed808db8b30fc5a2d2202c6ed6279190a250565b61099461158e565b60015473ffffffffffffffffffffffffffffffffffffffff8083169116036109e8576040517fc98f91de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f573bbfa679af6fdcdbd9cf191c5ef3e526599ac2bf75e9177d47adb8530b9c6990600090a250565b610a5f61158e565b73ffffffffffffffffffffffffffffffffffffffff811660008181526009602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055517f2b6bf71b58b3583add364b3d9060ebf8019650f65f5be35f5464b9cb3e4ba2d49190a250565b610adb61158e565b610ae5600061177f565b565b3380610af161149c565b73ffffffffffffffffffffffffffffffffffffffff1614610b5b576040517f118cdaa700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024015b60405180910390fd5b6108e68161177f565b610b6c61158e565b612710831180610b85575082610b8283836127bc565b14155b15610bbc576040517f475f0c2b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60038390556004819055600582905560408051848152602081018490529081018290527f9505958ee5bbae20398b843b28341e186d845f3bac5311fbc7250ead015ba40a9060600160405180910390a1505050565b6000807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c1993005b5473ffffffffffffffffffffffffffffffffffffffff1692915050565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0480546060917f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00916107cf9061273a565b60008173ffffffffffffffffffffffffffffffffffffffff163b600003610ccd57506000919050565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f0dfe168100000000000000000000000000000000000000000000000000000000179052905160009182918290819073ffffffffffffffffffffffffffffffffffffffff881690610d519085906127cf565b600060405180830381855afa9150503d8060008114610d8c576040519150601f19603f3d011682016040523d82523d6000602084013e610d91565b606091505b509150915081610da8575060009695505050505050565b8051602003610df45780806020019051810190610dc591906127eb565b945073ffffffffffffffffffffffffffffffffffffffff8516610def575060009695505050505050565b610e01565b5060009695505050505050565b505060408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd21220a7000000000000000000000000000000000000000000000000000000001790529051909150600090819073ffffffffffffffffffffffffffffffffffffffff881690610e869085906127cf565b600060405180830381855afa9150503d8060008114610ec1576040519150601f19603f3d011682016040523d82523d6000602084013e610ec6565b606091505b509150915081610edd575060009695505050505050565b8051602003610df45780806020019051810190610efa91906127eb565b935073ffffffffffffffffffffffffffffffffffffffff8416610f24575060009695505050505050565b5060019695505050505050565b610f3961158e565b60088190556040518181527f3c516b8753d92bc953da7ad26360ddd14b9583421ebb3d471badb8496d7a5ee8906020015b60405180910390a150565b610f7d61158e565b60025473ffffffffffffffffffffffffffffffffffffffff808316911603610fd1576040517fa56b8e2800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f97c79b3848e51f57983ac89e4403452655c8d83ceba8199011de63a74f60d1a790600090a250565b6000336108618185856116d4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff16159067ffffffffffffffff166000811580156110995750825b905060008267ffffffffffffffff1660011480156110b65750303b155b9050811580156110c4575080155b156110fb576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84547fffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000166001178555831561115c5784547fffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffff16680100000000000000001785555b6111d06040518060400160405280600c81526020017f53776565707220546f6b656e00000000000000000000000000000000000000008152506040518060400160405280600681526020017f53574545505200000000000000000000000000000000000000000000000000008152506117d3565b6111d9336117e5565b6111f8336111e96012600a612928565b6111f3908e612937565b6117f6565b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8c8116919091179091558916611275576040517fa56b8e2800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8b161790556127108811806112ce5750876112cb87896127bc565b14155b15611305576040517f475f0c2b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60038890556004879055600586905561131f3360016113a3565b61132a3060016113a3565b6113358a60016113a3565b83156113965784547fffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffff168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b6113ab61158e565b73ffffffffffffffffffffffffffffffffffffffff82166000818152600a602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915591519182527f3499bfcf9673677ba552f3fe2ea274ec7e6246da31c3c87e115b45a9b0db2efb910160405180910390a25050565b61143d61158e565b600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168215159081179091556040519081527fb9bbb15e341600c8d067a0cadeba219905d5ba6d422b193c9c32265d26fc51c890602001610f6a565b6000807f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c00610c36565b6114cd61158e565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081178255611536610c11565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a35050565b6115898383836001611852565b505050565b33611597610c11565b73ffffffffffffffffffffffffffffffffffffffff1614610ae5576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610b52565b73ffffffffffffffffffffffffffffffffffffffff83811660009081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146116ce57818110156116bf576040517ffb8f41b200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841660048201526024810182905260448101839052606401610b52565b6116ce84848484036000611852565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316611724576040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260006004820152602401610b52565b73ffffffffffffffffffffffffffffffffffffffff8216611774576040517fec442f0500000000000000000000000000000000000000000000000000000000815260006004820152602401610b52565b6115898383836119bf565b7f237e158222e3e6968b72b9db0d8043aacf074ad9f650f0d1606b4d82ee432c0080547fffffffffffffffffffffffff00000000000000000000000000000000000000001681556117cf82611c06565b5050565b6117db611c9c565b6117cf8282611d03565b6117ed611c9c565b6108e681611d66565b73ffffffffffffffffffffffffffffffffffffffff8216611846576040517fec442f0500000000000000000000000000000000000000000000000000000000815260006004820152602401610b52565b6117cf600083836119bf565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0073ffffffffffffffffffffffffffffffffffffffff85166118c3576040517fe602df0500000000000000000000000000000000000000000000000000000000815260006004820152602401610b52565b73ffffffffffffffffffffffffffffffffffffffff8416611913576040517f94280d6200000000000000000000000000000000000000000000000000000000815260006004820152602401610b52565b73ffffffffffffffffffffffffffffffffffffffff8086166000908152600183016020908152604080832093881683529290522083905581156119b8578373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925856040516119af91815260200190565b60405180910390a35b5050505050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526009602052604090205460ff1680611a18575073ffffffffffffffffffffffffffffffffffffffff821660009081526009602052604090205460ff165b15611a4f576040517f09550c7700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065460ff168015611a87575073ffffffffffffffffffffffffffffffffffffffff83166000908152600a602052604090205460ff16155b8015611aa65750611a9783610ca4565b80611aa65750611aa682610ca4565b15611bfb57600061271060035483611abe9190612937565b611ac8919061294e565b90508060076000828254611adc91906127bc565b90915550611aed9050843083611dbe565b611af683610ca4565b8015611b06575060085460075410155b15611be757600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690553060009081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00602052604081205460075411611b7257600754611ba2565b3060009081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0060205260409020545b9050611bb5611bb082611f8f565b61219c565b50600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905560006007555b6116ce8484611bf68486612989565b611dbe565b611589838383611dbe565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080547fffffffffffffffffffffffff0000000000000000000000000000000000000000811673ffffffffffffffffffffffffffffffffffffffff848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16610ae5576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611d0b611c9c565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace007f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace03611d578482612a1b565b50600481016116ce8382612a1b565b611d6e611c9c565b73ffffffffffffffffffffffffffffffffffffffff8116610b5b576040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260006004820152602401610b52565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0073ffffffffffffffffffffffffffffffffffffffff8416611e195781816002016000828254611e0e91906127bc565b90915550611ecb9050565b73ffffffffffffffffffffffffffffffffffffffff841660009081526020829052604090205482811015611e9f576040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff861660048201526024810182905260448101849052606401610b52565b73ffffffffffffffffffffffffffffffffffffffff851660009081526020839052604090209083900390555b73ffffffffffffffffffffffffffffffffffffffff8316611ef6576002810180548390039055611f22565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020829052604090208054830190555b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611f8191815260200190565b60405180910390a350505050565b604080516002808252606082018352600092839291906020830190803683370190505090503081600081518110611fc857611fc8612b35565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561206d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209191906127eb565b816001815181106120a4576120a4612b35565b73ffffffffffffffffffffffffffffffffffffffff92831660209182029290920101526000546120f7913091167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61157c565b600080546040517f791ac947000000000000000000000000000000000000000000000000000000008152479273ffffffffffffffffffffffffffffffffffffffff9092169163791ac94791612156918891879030904290600401612b64565b600060405180830381600087803b15801561217057600080fd5b505af1158015612184573d6000803e3d6000fd5b5050505080476121949190612989565b949350505050565b6121a4612452565b80156124295760035460045460009082906121bf9085612937565b6121c9919061294e565b905060006121d78285612989565b60015490915073ffffffffffffffffffffffffffffffffffffffff161580159061220057508115155b156123255760015460405160009173ffffffffffffffffffffffffffffffffffffffff169084908381818185875af1925050503d806000811461225f576040519150601f19603f3d011682016040523d82523d6000602084013e612264565b606091505b505090508061229f576040517f9d4a106d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001546040517fce9b50690000000000000000000000000000000000000000000000000000000081526004810185905273ffffffffffffffffffffffffffffffffffffffff9091169063ce9b506990602401600060405180830381600087803b15801561230b57600080fd5b505af115801561231f573d6000803e3d6000fd5b50505050505b60025473ffffffffffffffffffffffffffffffffffffffff161580159061234b57508015155b156123ec5760025460405160009173ffffffffffffffffffffffffffffffffffffffff169083908381818185875af1925050503d80600081146123aa576040519150601f19603f3d011682016040523d82523d6000602084013e6123af565b606091505b50509050806123ea576040517f9d4a106d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b60408051838152602081018390527f5e20c9aee521e656eed033c4ae35378c79c584706f5ce7f410ab3fba389607a1910160405180910390a15050505b6108e660017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0080547ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016124cd576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60029055565b60005b838110156124ee5781810151838201526020016124d6565b50506000910152565b60208152600082518060208401526125168160408501602087016124d3565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b73ffffffffffffffffffffffffffffffffffffffff811681146108e657600080fd5b6000806040838503121561257d57600080fd5b823561258881612548565b946020939093013593505050565b6000602082840312156125a857600080fd5b81356125b381612548565b9392505050565b6000806000606084860312156125cf57600080fd5b83356125da81612548565b925060208401356125ea81612548565b929592945050506040919091013590565b60008060006060848603121561261057600080fd5b505081359360208301359350604090920135919050565b60006020828403121561263957600080fd5b5035919050565b60008060008060008060c0878903121561265957600080fd5b86359550602087013561266b81612548565b9450604087013561267b81612548565b959894975094956060810135955060808101359460a0909101359350915050565b803580151581146126ac57600080fd5b919050565b600080604083850312156126c457600080fd5b82356126cf81612548565b91506126dd6020840161269c565b90509250929050565b600080604083850312156126f957600080fd5b823561270481612548565b9150602083013561271481612548565b809150509250929050565b60006020828403121561273157600080fd5b6125b38261269c565b600181811c9082168061274e57607f821691505b602082108103612787577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808201808211156108675761086761278d565b600082516127e18184602087016124d3565b9190910192915050565b6000602082840312156127fd57600080fd5b81516125b381612548565b600181815b8085111561286157817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048211156128475761284761278d565b8085161561285457918102915b93841c939080029061280d565b509250929050565b60008261287857506001610867565b8161288557506000610867565b816001811461289b57600281146128a5576128c1565b6001915050610867565b60ff8411156128b6576128b661278d565b50506001821b610867565b5060208310610133831016604e8410600b84101617156128e4575081810a610867565b6128ee8383612808565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048211156129205761292061278d565b029392505050565b60006125b360ff841683612869565b80820281158282048414176108675761086761278d565b600082612984577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b818103818111156108675761086761278d565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b601f821115611589576000816000526020600020601f850160051c810160208610156129f45750805b601f850160051c820191505b81811015612a1357828155600101612a00565b505050505050565b815167ffffffffffffffff811115612a3557612a3561299c565b612a4981612a43845461273a565b846129cb565b602080601f831160018114612a9c5760008415612a665750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555612a13565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b82811015612ae957888601518255948401946001909101908401612aca565b5085821015612b2557878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b81811015612bc357845173ffffffffffffffffffffffffffffffffffffffff1683529383019391830191600101612b91565b505073ffffffffffffffffffffffffffffffffffffffff96909616606085015250505060800152939250505056fea26469706673582212204a3a486f3915cb3b25ea016a3976e7e9205a4b351d1cee6773c15695a852a88964736f6c63430008170033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.