ETH Price: $3,949.59 (+1.02%)

Contract

0x230C8Ba7c46E715c18317d957f128bC984d60167
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Waygate

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 1 runs

Other Settings:
default evmVersion
File 1 of 11 : WaygateTokenV3.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;
import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";

interface IDEXFactory {
    function createPair(address tokenA, address tokenB)
        external
        returns (address pair);
}

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

    function WETH() external pure returns (address);

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

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

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 amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

contract Waygate is
    Initializable,
    ERC20Upgradeable,
    OwnableUpgradeable,
    PausableUpgradeable
{
    uint256 constant NUMERATOR = 1000;
    uint256 public taxRate;
    uint256 public tokensTXLimit;

    IDEXRouter _dexRouter;
    address public dexRouterAddress;
    address public _dexPair;

    mapping(address => uint256) burnWalletPercent;
    mapping(address => uint256) liquidityWalletPercent;
    mapping(address => uint256) developmentWalletPercent;
    mapping(address => uint256) marketingWalletPercent;
    mapping(address => uint256) partnershipWalletPercent;
    mapping(address => bool) public blacklisted;
    mapping(address => bool) public isExemptedFromTax;
    mapping(address => bool) public isDistributorAddress;

    address public BURN_WALLET;
    address public LIQUIDITY_WALLET;
    address public DEVELOPMENT_WALLET;
    address public MARKETING_WALLET;
    address public PARTNERSHIP_WALLET;

    uint256 public MAX_WALLET_SIZE;
    bool public isTradingEnabled;

    event TaxReceiversUpdated(
        address BURN_WALLET,
        uint256 burnWalletPercent,
        address LIQUIDITY_WALLET,
        uint256 liquidityWalletPercent,
        address DEVELOPMENT_WALLET,
        uint256 developmentWalletPercent,
        address MARKETING_WALLET,
        uint256 marketingWalletPercent,
        address PARTNERSHIP_WALLET,
        uint256 partnershipWalletPercent
    );
    event TradingStatusChanged(bool TradeStatus);
    event WalletTokensLimitUpdated(uint256 WalletTokenTxLimit);
    event TokensTXLimit(uint256 TokensLimit);
    event BlacklistStatusUpdated(address Address, bool Status);
    event TaxRateSet(uint256 TaxRate);

    modifier isNotBlacklisted(address _address) {
        require(!blacklisted[_address], "Address has been Blocklisted");
        _;
    }
    modifier onlyDistributor() {
        require(isDistributorAddress[_msgSender()], "Not a Distributor");
        _;
    }

    function initialize(
        string memory _tokenName,
        string memory _tokenSymbol,
        uint256 _totalSupply,
        uint256 _taxRate,
        address admin
    ) external initializer {
        require(_taxRate <= 200, "Taxable: Tax cannot be greater than 20%");

        __ERC20_init(_tokenName, _tokenSymbol);
        __Ownable_init();
        __Pausable_init();
        _mint(admin, _totalSupply);
        taxRate = _taxRate;
        _dexRouter = IDEXRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // ETH: Uniswap V2 Router
        dexRouterAddress = address(_dexRouter);

        //create pair
        _dexPair = IDEXFactory(_dexRouter.factory()).createPair(
            address(this),
            _dexRouter.WETH()
        );
        IERC20(_dexPair).approve(address(_dexRouter), type(uint256).max);
    }

    function enableTrading() public onlyOwner {
        isTradingEnabled = true;
        emit TradingStatusChanged(true);
    }

    function disableTrading() public onlyOwner {
        isTradingEnabled = false;
        emit TradingStatusChanged(false);
    }

    function addToBlacklist(address _address) external onlyOwner {
        if (
            (_address != _dexPair) &&
            (_address != address(_dexRouter)) &&
            (_address != address(this))
        ) blacklisted[_address] = true;
        emit BlacklistStatusUpdated(_address, true);
    }

    function removeFromBlacklist(address _address) external onlyOwner {
        blacklisted[_address] = false;
        emit BlacklistStatusUpdated(_address, false);
    }

    function addTaxExemptedAddress(address _exemptedAddress) public onlyOwner {
        isExemptedFromTax[_exemptedAddress] = true;
    }

    function addTaxDistributor(address _distributorAddress) public onlyOwner {
        isDistributorAddress[_distributorAddress] = true;
    }

    function removeTaxDistributor(address _distributorAddress)
        public
        onlyOwner
    {
        isDistributorAddress[_distributorAddress] = false;
    }

    function removeTaxExemptedAddress(address _exemptedAddress)
        public
        onlyOwner
    {
        isExemptedFromTax[_exemptedAddress] = false;
    }

    function setMaxWalletSize(uint256 _maxWalletSize) external onlyOwner {
        MAX_WALLET_SIZE = _maxWalletSize;
        emit WalletTokensLimitUpdated(MAX_WALLET_SIZE);
    }

    function setTaxRate(uint256 _taxRate) public onlyOwner whenNotPaused {
        require(_taxRate < NUMERATOR, "Taxable: Tax rate too high");
        require(_taxRate <= 200, "Taxable: Tax cannot be greater than 20%");
        taxRate = _taxRate;
        emit TaxRateSet(taxRate);
    }

    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }

    function setDexRouterAddress(address _dexRouterAddress) external onlyOwner {
        require(
            _dexRouterAddress != address(0),
            "Invalid Uniswap router address"
        );
        _dexRouter = IDEXRouter(_dexRouterAddress);
        dexRouterAddress = _dexRouterAddress;
    }

    function setDexPairAddress(address _dexPairAddress) external onlyOwner {
        require(
            _dexPairAddress != address(0),
            "Invalid Pair address"
        );
        _dexPair = _dexPairAddress;
    }

    function setTransactionLimit(uint256 _tokensTXLimit)
        public
        onlyOwner
        whenNotPaused
    {
        tokensTXLimit = _tokensTXLimit;
        emit TokensTXLimit(tokensTXLimit);
    }

    function getTransactionLimit() public view returns (uint256) {
        return tokensTXLimit;
    }

    function getTaxRate() public view returns (uint256) {
        return taxRate;
    }

    function setTaxReceivers(
        address _burnWallet,
        uint256 _burnWalletPercent,
        address _liquidityWallet,
        uint256 _liquidityWalletPercent,
        address _developmentWallet,
        uint256 _developmentWalletPercent,
        address _marketingWallet,
        uint256 _marketingWalletPercent,
        address _partnershipWallet,
        uint256 _partnershipWalletPercent
    ) external onlyOwner whenNotPaused {
        require(
            _burnWallet != address(0) &&
                _liquidityWallet != address(0) &&
                _developmentWallet != address(0) &&
                _marketingWallet != address(0) &&
                _partnershipWallet != address(0),
            "Taxable: Tax reciever cannot be zero address"
        );
        require(
            _burnWalletPercent +
                _liquidityWalletPercent +
                _developmentWalletPercent +
                _marketingWalletPercent +
                _partnershipWalletPercent ==
                taxRate,
            "Tax Rate: Percentages Sum must be equal to Tax Rate"
        );
        BURN_WALLET = _burnWallet;
        burnWalletPercent[_burnWallet] = _burnWalletPercent;

        LIQUIDITY_WALLET = _liquidityWallet;
        liquidityWalletPercent[_liquidityWallet] = _liquidityWalletPercent;

        DEVELOPMENT_WALLET = _developmentWallet;
        developmentWalletPercent[
            _developmentWallet
        ] = _developmentWalletPercent;

        MARKETING_WALLET = _marketingWallet;
        marketingWalletPercent[_marketingWallet] = _marketingWalletPercent;

        PARTNERSHIP_WALLET = _partnershipWallet;
        partnershipWalletPercent[
            _partnershipWallet
        ] = _partnershipWalletPercent;
        addTaxExemptedAddress(BURN_WALLET);
        addTaxExemptedAddress(LIQUIDITY_WALLET);
        addTaxExemptedAddress(DEVELOPMENT_WALLET);
        addTaxExemptedAddress(MARKETING_WALLET);
        addTaxExemptedAddress(PARTNERSHIP_WALLET);
        emit TaxReceiversUpdated(
            BURN_WALLET,
            burnWalletPercent[BURN_WALLET],
            LIQUIDITY_WALLET,
            liquidityWalletPercent[LIQUIDITY_WALLET],
            DEVELOPMENT_WALLET,
            developmentWalletPercent[DEVELOPMENT_WALLET],
            MARKETING_WALLET,
            marketingWalletPercent[MARKETING_WALLET],
            PARTNERSHIP_WALLET,
            partnershipWalletPercent[PARTNERSHIP_WALLET]
        );
    }

    function getTaxRecievers()
        public
        view
        returns (
            address _BURN_WALLET,
            uint256 _BURN_WALLET_PERCENTAGE,
            address _LIQUIDITY_WALLET,
            uint256 _LIQUIDITY_WALLET_PERCENTAGE,
            address _DEVELOPMENT_WALLET,
            uint256 _DEVELOPMENT_WALLET_PERCENTAGE,
            address _MARKETING_WALLET,
            uint256 _MARKETING_WALLET_PERCENTAGE,
            address _PARTNERSHIP_WALLET,
            uint256 _PARTNERSHIP_WALLET_PERCENTAGE
        )
    {
        return (
            BURN_WALLET,
            burnWalletPercent[BURN_WALLET],
            LIQUIDITY_WALLET,
            liquidityWalletPercent[LIQUIDITY_WALLET],
            DEVELOPMENT_WALLET,
            developmentWalletPercent[DEVELOPMENT_WALLET],
            MARKETING_WALLET,
            marketingWalletPercent[MARKETING_WALLET],
            PARTNERSHIP_WALLET,
            partnershipWalletPercent[PARTNERSHIP_WALLET]
        );
    }

    function getContractETHBalance() public view returns (uint256) {
        return address(this).balance;
    }

    fallback() external payable {}

    receive() external payable {}

    function distributeTax() public onlyDistributor {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = _dexRouter.WETH();

        uint256 contractWayBalance = balanceOf(address(this)); //WAY Balance
        uint256 initialBalance = address(this).balance; //eth balance
        this.approve(address(_dexRouter), contractWayBalance);
        _dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
            contractWayBalance,
            0,
            path,
            address(this),
            block.timestamp
        );

        uint256 ethAmount = address(this).balance - initialBalance;
        uint256 totalTaxRate = (ethAmount * 10) / taxRate;

        uint256 burnFee = (totalTaxRate * burnWalletPercent[BURN_WALLET]) / 10;
        uint256 liquidityFee = (totalTaxRate *
            liquidityWalletPercent[LIQUIDITY_WALLET]) / 10;
        uint256 developmentFee = (totalTaxRate *
            developmentWalletPercent[DEVELOPMENT_WALLET]) / 10;
        uint256 marketingFee = (totalTaxRate *
            marketingWalletPercent[MARKETING_WALLET]) / 10;
        uint256 partnershipFee = (totalTaxRate *
            partnershipWalletPercent[PARTNERSHIP_WALLET]) / 10;

        // Transfer fees to respective wallets
        payable(BURN_WALLET).transfer(burnFee);
        payable(LIQUIDITY_WALLET).transfer(liquidityFee);
        payable(DEVELOPMENT_WALLET).transfer(developmentFee);
        payable(MARKETING_WALLET).transfer(marketingFee);
        payable(PARTNERSHIP_WALLET).transfer(partnershipFee);
    }

    function transfer(address to, uint256 amount)
        public
        override
        returns (bool)
    {
        _transfer(_msgSender(), to, amount);
        return true;
    }

    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public override returns (bool) {
        _transfer(from, to, amount);
        _approve(from, _msgSender(), allowance(from, _msgSender()) - amount);
        return true;
    }

    bool public _transferFlag;

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override isNotBlacklisted(from) isNotBlacklisted(to) {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        require(
            amount <= tokensTXLimit,
            "TX Limit: Cannot transfer more than tokensTXLimit"
        );
        //While Trading
        // user wantes: eth => token --> BUY
        if (
            from == _dexPair &&
            !isExemptedFromTax[to] &&
            to != address(_dexRouter)
        ) {
            require(isTradingEnabled, "Trading is not enabled");
            uint256 amountOfTax = (amount * taxRate) / NUMERATOR;
            super._transfer(from, address(this), amountOfTax);
            super._transfer(from, to, amount - amountOfTax);
        }
        // users wants token => eth or adding Liquidity --> SELL
        else if (
            to == _dexPair &&
            !isExemptedFromTax[from] &&
            from != address(_dexRouter)
        ) {
            uint256 amountOfTax = (amount * taxRate) / NUMERATOR;

            super._transfer(from, address(this), amountOfTax);
            super._transfer(from, to, amount - amountOfTax);
        } else {
            super._transfer(from, to, amount);
        }
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    )
        internal
        view
        override
        whenNotPaused
        isNotBlacklisted(from)
        isNotBlacklisted(to)
    {}

    function burn(uint256 amount) public onlyOwner {
        _burn(msg.sender, amount);
    }
}

File 2 of 11 : OwnableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../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.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

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

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

    function __Ownable_init_unchained() internal onlyInitializing {
        _transferOwnership(_msgSender());
    }

    /**
     * @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) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

File 3 of 11 : Initializable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.1) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;

import "../../utils/AddressUpgradeable.sol";

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since 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]
 * ```
 * 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 Indicates that the contract has been initialized.
     * @custom:oz-retyped-from bool
     */
    uint8 private _initialized;

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

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint8 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 functions marked with `initializer` can be nested in the context of a
     * constructor.
     *
     * Emits an {Initialized} event.
     */
    modifier initializer() {
        bool isTopLevelCall = !_initializing;
        require(
            (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),
            "Initializable: contract is already initialized"
        );
        _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 255 will prevent any future reinitialization.
     *
     * Emits an {Initialized} event.
     */
    modifier reinitializer(uint8 version) {
        require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
        _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() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    /**
     * @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 {
        require(!_initializing, "Initializable: contract is initializing");
        if (_initialized < type(uint8).max) {
            _initialized = type(uint8).max;
            emit Initialized(type(uint8).max);
        }
    }

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

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

File 4 of 11 : PausableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.sol";

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

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

    bool private _paused;

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

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

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

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

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

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

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

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

File 5 of 11 : ERC20Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20Upgradeable.sol";
import "./extensions/IERC20MetadataUpgradeable.sol";
import "../../utils/ContextUpgradeable.sol";
import "../../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}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * 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].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable, IERC20MetadataUpgradeable {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    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 {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * 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 `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

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

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

        return true;
    }

    /**
     * @dev Moves `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.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

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

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

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

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

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

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

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

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

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[45] private __gap;
}

File 6 of 11 : IERC20MetadataUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20Upgradeable.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20MetadataUpgradeable is IERC20Upgradeable {
    /**
     * @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 7 of 11 : IERC20Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20Upgradeable {
    /**
     * @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 amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

File 8 of 11 : AddressUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 9 of 11 : ContextUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;
import "../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;
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}

File 10 of 11 : IUniswapV2Router01.sol
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 11 of 11 : IUniswapV2Router02.sol
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": 1
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"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":false,"internalType":"address","name":"Address","type":"address"},{"indexed":false,"internalType":"bool","name":"Status","type":"bool"}],"name":"BlacklistStatusUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"TaxRate","type":"uint256"}],"name":"TaxRateSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"BURN_WALLET","type":"address"},{"indexed":false,"internalType":"uint256","name":"burnWalletPercent","type":"uint256"},{"indexed":false,"internalType":"address","name":"LIQUIDITY_WALLET","type":"address"},{"indexed":false,"internalType":"uint256","name":"liquidityWalletPercent","type":"uint256"},{"indexed":false,"internalType":"address","name":"DEVELOPMENT_WALLET","type":"address"},{"indexed":false,"internalType":"uint256","name":"developmentWalletPercent","type":"uint256"},{"indexed":false,"internalType":"address","name":"MARKETING_WALLET","type":"address"},{"indexed":false,"internalType":"uint256","name":"marketingWalletPercent","type":"uint256"},{"indexed":false,"internalType":"address","name":"PARTNERSHIP_WALLET","type":"address"},{"indexed":false,"internalType":"uint256","name":"partnershipWalletPercent","type":"uint256"}],"name":"TaxReceiversUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"TokensLimit","type":"uint256"}],"name":"TokensTXLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"TradeStatus","type":"bool"}],"name":"TradingStatusChanged","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"WalletTokenTxLimit","type":"uint256"}],"name":"WalletTokensLimitUpdated","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"BURN_WALLET","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEVELOPMENT_WALLET","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LIQUIDITY_WALLET","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MARKETING_WALLET","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WALLET_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PARTNERSHIP_WALLET","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_dexPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_transferFlag","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_distributorAddress","type":"address"}],"name":"addTaxDistributor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_exemptedAddress","type":"address"}],"name":"addTaxExemptedAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","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":"amount","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":[{"internalType":"address","name":"","type":"address"}],"name":"blacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dexRouterAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributeTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getContractETHBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTaxRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTaxRecievers","outputs":[{"internalType":"address","name":"_BURN_WALLET","type":"address"},{"internalType":"uint256","name":"_BURN_WALLET_PERCENTAGE","type":"uint256"},{"internalType":"address","name":"_LIQUIDITY_WALLET","type":"address"},{"internalType":"uint256","name":"_LIQUIDITY_WALLET_PERCENTAGE","type":"uint256"},{"internalType":"address","name":"_DEVELOPMENT_WALLET","type":"address"},{"internalType":"uint256","name":"_DEVELOPMENT_WALLET_PERCENTAGE","type":"uint256"},{"internalType":"address","name":"_MARKETING_WALLET","type":"address"},{"internalType":"uint256","name":"_MARKETING_WALLET_PERCENTAGE","type":"uint256"},{"internalType":"address","name":"_PARTNERSHIP_WALLET","type":"address"},{"internalType":"uint256","name":"_PARTNERSHIP_WALLET_PERCENTAGE","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTransactionLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"},{"internalType":"uint256","name":"_taxRate","type":"uint256"},{"internalType":"address","name":"admin","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isDistributorAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExemptedFromTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTradingEnabled","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeFromBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_distributorAddress","type":"address"}],"name":"removeTaxDistributor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_exemptedAddress","type":"address"}],"name":"removeTaxExemptedAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_dexPairAddress","type":"address"}],"name":"setDexPairAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_dexRouterAddress","type":"address"}],"name":"setDexRouterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWalletSize","type":"uint256"}],"name":"setMaxWalletSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_taxRate","type":"uint256"}],"name":"setTaxRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_burnWallet","type":"address"},{"internalType":"uint256","name":"_burnWalletPercent","type":"uint256"},{"internalType":"address","name":"_liquidityWallet","type":"address"},{"internalType":"uint256","name":"_liquidityWalletPercent","type":"uint256"},{"internalType":"address","name":"_developmentWallet","type":"address"},{"internalType":"uint256","name":"_developmentWalletPercent","type":"uint256"},{"internalType":"address","name":"_marketingWallet","type":"address"},{"internalType":"uint256","name":"_marketingWalletPercent","type":"uint256"},{"internalType":"address","name":"_partnershipWallet","type":"address"},{"internalType":"uint256","name":"_partnershipWalletPercent","type":"uint256"}],"name":"setTaxReceivers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokensTXLimit","type":"uint256"}],"name":"setTransactionLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensTXLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","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":"amount","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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b50612d71806100206000396000f3fe60806040526004361061025b5760003560e01c8063064a59d01461026457806306fdde031461029357806307785238146102b5578063095ea7b3146102d55780630bc47bb3146102f55780630f3d9c9f1461032257806313a3a3681461033757806317700f011461036757806318160ddd1461037c5780631de1559c1461039b57806322aafef2146103bb57806323b872dd146103eb57806327060b2b1461040b5780632707dff81461042b57806327c706ad1461044b5780632b73b0da1461046b578063313ce5671461048b57806333eea181146104a757806336fe302d146104c757806339509351146104e65780633f4ba83a1461050657806342966c681461051b57806344337ea11461053b5780634f0543171461055b578063537df3b6146105715780635c975abb1461059157806364bfa546146105a957806370a08231146105c9578063715018a6146105e9578063771a3a1d146105fe5780638456cb59146106145780638a8c523c146106295780638c89a0ad1461063e5780638da5cb5b1461065157806395d89b4114610666578063977227401461067b578063985ecd831461069b5780639b5f0b8114610724578063a457c2d714610744578063a9059cbb14610764578063c0762e5e14610784578063c3743cff146107a4578063c6859d07146107b9578063c6d69a30146107d9578063cb66667f146107f9578063dbac26e91461080e578063dd62ed3e1461083e578063e0988d871461085e578063e7f67fb114610874578063ea1644d514610894578063f2fde38b146108b4578063f545d07a146108d4578063f9f21735146108f457005b3661026257005b005b34801561027057600080fd5b5060dc5461027e9060ff1681565b60405190151581526020015b60405180910390f35b34801561029f57600080fd5b506102a8610914565b60405161028a9190612559565b3480156102c157600080fd5b506102626102d03660046125bc565b6109a6565b3480156102e157600080fd5b5061027e6102f03660046125e0565b6109cf565b34801561030157600080fd5b5060cd54610315906001600160a01b031681565b60405161028a919061260c565b34801561032e57600080fd5b506102626109e9565b34801561034357600080fd5b5061027e6103523660046125bc565b60d56020526000908152604090205460ff1681565b34801561037357600080fd5b50610262610e83565b34801561038857600080fd5b506035545b60405190815260200161028a565b3480156103a757600080fd5b506102626103b6366004612620565b610eba565b3480156103c757600080fd5b5061027e6103d63660046125bc565b60d46020526000908152604090205460ff1681565b3480156103f757600080fd5b5061027e6104063660046126c3565b6111cf565b34801561041757600080fd5b5060d654610315906001600160a01b031681565b34801561043757600080fd5b5060da54610315906001600160a01b031681565b34801561045757600080fd5b506102626104663660046125bc565b611205565b34801561047757600080fd5b5060d854610315906001600160a01b031681565b34801561049757600080fd5b506040516012815260200161028a565b3480156104b357600080fd5b506102626104c23660046127a6565b61127c565b3480156104d357600080fd5b5060dc5461027e90610100900460ff1681565b3480156104f257600080fd5b5061027e6105013660046125e0565b6115ee565b34801561051257600080fd5b5061026261160b565b34801561052757600080fd5b50610262610536366004612831565b61161d565b34801561054757600080fd5b506102626105563660046125bc565b611632565b34801561056757600080fd5b5061038d60db5481565b34801561057d57600080fd5b5061026261058c3660046125bc565b6116cf565b34801561059d57600080fd5b5060975460ff1661027e565b3480156105b557600080fd5b506102626105c4366004612831565b611715565b3480156105d557600080fd5b5061038d6105e43660046125bc565b61175a565b3480156105f557600080fd5b50610262611775565b34801561060a57600080fd5b5061038d60c95481565b34801561062057600080fd5b50610262611787565b34801561063557600080fd5b50610262611797565b34801561064a57600080fd5b504761038d565b34801561065d57600080fd5b506103156117cd565b34801561067257600080fd5b506102a86117dc565b34801561068757600080fd5b506102626106963660046125bc565b6117eb565b3480156106a757600080fd5b5060d6546001600160a01b03908116600081815260ce602090815260408083205460d754861680855260cf84528285205460d854881680875260d086528487205460d9548a1680895260d188528689205460da54909b16808a5260d29098529786902054955161028a9a959894979396929591949391929061284a565b34801561073057600080fd5b5061026261073f3660046125bc565b611817565b34801561075057600080fd5b5061027e61075f3660046125e0565b611840565b34801561077057600080fd5b5061027e61077f3660046125e0565b6118c6565b34801561079057600080fd5b5061026261079f3660046125bc565b6118dc565b3480156107b057600080fd5b5060ca5461038d565b3480156107c557600080fd5b5060d954610315906001600160a01b031681565b3480156107e557600080fd5b506102626107f4366004612831565b611966565b34801561080557600080fd5b5060c95461038d565b34801561081a57600080fd5b5061027e6108293660046125bc565b60d36020526000908152604090205460ff1681565b34801561084a57600080fd5b5061038d6108593660046128a4565b611a1a565b34801561086a57600080fd5b5061038d60ca5481565b34801561088057600080fd5b5060cc54610315906001600160a01b031681565b3480156108a057600080fd5b506102626108af366004612831565b611a45565b3480156108c057600080fd5b506102626108cf3660046125bc565b611a82565b3480156108e057600080fd5b5060d754610315906001600160a01b031681565b34801561090057600080fd5b5061026261090f3660046125bc565b611af8565b606060368054610923906128dd565b80601f016020809104026020016040519081016040528092919081815260200182805461094f906128dd565b801561099c5780601f106109715761010080835404028352916020019161099c565b820191906000526020600020905b81548152906001019060200180831161097f57829003601f168201915b5050505050905090565b6109ae611b24565b6001600160a01b0316600090815260d460205260409020805460ff19169055565b6000336109dd818585611b83565b60019150505b92915050565b33600090815260d5602052604090205460ff16610a415760405162461bcd60e51b81526020600482015260116024820152702737ba1030902234b9ba3934b13aba37b960791b60448201526064015b60405180910390fd5b6040805160028082526060820183526000926020830190803683370190505090503081600081518110610a7657610a76612917565b6001600160a01b0392831660209182029290920181019190915260cb54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610acf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af3919061292d565b81600181518110610b0657610b06612917565b60200260200101906001600160a01b031690816001600160a01b0316815250506000610b313061175a565b60cb5460405163095ea7b360e01b81529192504791309163095ea7b391610b66916001600160a01b031690869060040161294a565b6020604051808303816000875af1158015610b85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba99190612963565b5060cb5460405163791ac94760e01b81526001600160a01b039091169063791ac94790610be3908590600090889030904290600401612985565b600060405180830381600087803b158015610bfd57600080fd5b505af1158015610c11573d6000803e3d6000fd5b5050505060008147610c239190612a0c565b9050600060c95482600a610c379190612a1f565b610c419190612a36565b60d6546001600160a01b0316600090815260ce602052604081205491925090600a90610c6d9084612a1f565b610c779190612a36565b60d7546001600160a01b0316600090815260cf602052604081205491925090600a90610ca39085612a1f565b610cad9190612a36565b60d8546001600160a01b0316600090815260d0602052604081205491925090600a90610cd99086612a1f565b610ce39190612a36565b60d9546001600160a01b0316600090815260d1602052604081205491925090600a90610d0f9087612a1f565b610d199190612a36565b60da546001600160a01b0316600090815260d2602052604081205491925090600a90610d459088612a1f565b610d4f9190612a36565b60d6546040519192506001600160a01b03169086156108fc029087906000818181858888f19350505050158015610d8a573d6000803e3d6000fd5b5060d7546040516001600160a01b039091169085156108fc029086906000818181858888f19350505050158015610dc5573d6000803e3d6000fd5b5060d8546040516001600160a01b039091169084156108fc029085906000818181858888f19350505050158015610e00573d6000803e3d6000fd5b5060d9546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015610e3b573d6000803e3d6000fd5b5060da546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610e76573d6000803e3d6000fd5b5050505050505050505050565b610e8b611b24565b60dc805460ff1916905560405160008152600080516020612cdc833981519152906020015b60405180910390a1565b610ec2611b24565b610eca611ca8565b6001600160a01b038a1615801590610eea57506001600160a01b03881615155b8015610efe57506001600160a01b03861615155b8015610f1257506001600160a01b03841615155b8015610f2657506001600160a01b03821615155b610f875760405162461bcd60e51b815260206004820152602c60248201527f54617861626c653a205461782072656369657665722063616e6e6f742062652060448201526b7a65726f206164647265737360a01b6064820152608401610a38565b60c954818487610f978b8e612a58565b610fa19190612a58565b610fab9190612a58565b610fb59190612a58565b1461101e5760405162461bcd60e51b815260206004820152603360248201527f54617820526174653a2050657263656e74616765732053756d206d75737420626044820152726520657175616c20746f20546178205261746560681b6064820152608401610a38565b60d680546001600160a01b03808d166001600160a01b031992831681178455600090815260ce602090815260408083208f905560d780548f86169087168117909155835260cf82528083208d905560d880548d86169087168117909155835260d082528083208b905560d980548b86169087168117909155835260d1825280832089905560da805489861696168617905593825260d290529190912083905590546110c991166117eb565b60d7546110de906001600160a01b03166117eb565b60d8546110f3906001600160a01b03166117eb565b60d954611108906001600160a01b03166117eb565b60da5461111d906001600160a01b03166117eb565b60d6546001600160a01b03908116600081815260ce602090815260408083205460d754861680855260cf84528285205460d854881680875260d086528487205460d9548a1680895260d188528689205460da54909b16808a5260d2909852978690205495517f8bedf0b3bed0ba6c516afb9f7ffc925d569b7cd8dfb210db3c82176136c279339a6111bb9a999698959794969395929490929161284a565b60405180910390a150505050505050505050565b60006111dc848484611cee565b6111fb8433846111ec8833611a1a565b6111f69190612a0c565b611b83565b5060019392505050565b61120d611b24565b6001600160a01b03811661125a5760405162461bcd60e51b8152602060048201526014602482015273496e76616c69642050616972206164647265737360601b6044820152606401610a38565b60cd80546001600160a01b0319166001600160a01b0392909216919091179055565b600054610100900460ff161580801561129c5750600054600160ff909116105b806112b65750303b1580156112b6575060005460ff166001145b6113195760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610a38565b6000805460ff19166001179055801561133c576000805461ff0019166101001790555b60c883111561135d5760405162461bcd60e51b8152600401610a3890612a6b565b6113678686611f7a565b61136f611faf565b611377611fde565b611381828561200d565b60c983905560cb8054737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0319918216811790925560cc8054909116821790556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156113f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141a919061292d565b6001600160a01b031663c9c653963060cb60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561147c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a0919061292d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156114ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611511919061292d565b60cd80546001600160a01b0319166001600160a01b0392831690811790915560cb5460405163095ea7b360e01b8152919263095ea7b39261155c92909116906000199060040161294a565b6020604051808303816000875af115801561157b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159f9190612963565b5080156115e6576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b6000336109dd8185856116018383611a1a565b6111f69190612a58565b611613611b24565b61161b6120c8565b565b611625611b24565b61162f338261210a565b50565b61163a611b24565b60cd546001600160a01b03828116911614801590611666575060cb546001600160a01b03828116911614155b801561167b57506001600160a01b0381163014155b156116a4576001600160a01b038116600090815260d360205260409020805460ff191660011790555b600080516020612cfc8339815191528160016040516116c4929190612ab2565b60405180910390a150565b6116d7611b24565b6001600160a01b038116600090815260d36020526040808220805460ff1916905551600080516020612cfc833981519152916116c491849190612ab2565b61171d611b24565b611725611ca8565b60ca8190556040518181527f4eb511c00ccadf52c50365c85aae30bb36e65d3eefbee2b03192e2b7d761376c906020016116c4565b6001600160a01b031660009081526033602052604090205490565b61177d611b24565b61161b6000612235565b61178f611b24565b61161b612287565b61179f611b24565b60dc805460ff19166001908117909155604051908152600080516020612cdc83398151915290602001610eb0565b6065546001600160a01b031690565b606060378054610923906128dd565b6117f3611b24565b6001600160a01b0316600090815260d460205260409020805460ff19166001179055565b61181f611b24565b6001600160a01b0316600090815260d560205260409020805460ff19169055565b6000338161184e8286611a1a565b9050838110156118ae5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a38565b6118bb8286868403611b83565b506001949350505050565b60006118d3338484611cee565b50600192915050565b6118e4611b24565b6001600160a01b03811661193a5760405162461bcd60e51b815260206004820152601e60248201527f496e76616c696420556e697377617020726f75746572206164647265737300006044820152606401610a38565b60cb80546001600160a01b039092166001600160a01b0319928316811790915560cc8054909216179055565b61196e611b24565b611976611ca8565b6103e881106119c45760405162461bcd60e51b815260206004820152601a6024820152790a8c2f0c2c4d8ca7440a8c2f040e4c2e8ca40e8dede40d0d2ced60331b6044820152606401610a38565b60c88111156119e55760405162461bcd60e51b8152600401610a3890612a6b565b60c98190556040518181527f2cf6bdee09c3811c29dab74512064ee7a320add122b9150b166c88dd95760217906020016116c4565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b611a4d611b24565b60db8190556040518181527f393f89ef106cb116df007cc6bd2aa044a0996d181c9bc86c7c80f2b9b87b6850906020016116c4565b611a8a611b24565b6001600160a01b038116611aef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a38565b61162f81612235565b611b00611b24565b6001600160a01b0316600090815260d560205260409020805460ff19166001179055565b33611b2d6117cd565b6001600160a01b03161461161b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a38565b6001600160a01b038316611be55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a38565b6001600160a01b038216611c465760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a38565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60975460ff161561161b5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a38565b6001600160a01b038316600090815260d36020526040902054839060ff1615611d295760405162461bcd60e51b8152600401610a3890612acd565b6001600160a01b038316600090815260d36020526040902054839060ff1615611d645760405162461bcd60e51b8152600401610a3890612acd565b6001600160a01b038516611d8a5760405162461bcd60e51b8152600401610a3890612b03565b6001600160a01b038416611db05760405162461bcd60e51b8152600401610a3890612b48565b60ca54831115611e1c5760405162461bcd60e51b815260206004820152603160248201527f5458204c696d69743a2043616e6e6f74207472616e73666572206d6f726520746044820152701a185b881d1bdad95b9cd516131a5b5a5d607a1b6064820152608401610a38565b60cd546001600160a01b038681169116148015611e5257506001600160a01b038416600090815260d4602052604090205460ff16155b8015611e6c575060cb546001600160a01b03858116911614155b15611f005760dc5460ff16611ebc5760405162461bcd60e51b8152602060048201526016602482015275151c98591a5b99c81a5cc81b9bdd08195b98589b195960521b6044820152606401610a38565b60006103e860c95485611ecf9190612a1f565b611ed99190612a36565b9050611ee68630836122c4565b611efa8686611ef58488612a0c565b6122c4565b50611f73565b60cd546001600160a01b038581169116148015611f3657506001600160a01b038516600090815260d4602052604090205460ff16155b8015611f50575060cb546001600160a01b03868116911614155b15611f685760006103e860c95485611ecf9190612a1f565b611f738585856122c4565b5050505050565b600054610100900460ff16611fa15760405162461bcd60e51b8152600401610a3890612b8b565b611fab82826123ef565b5050565b600054610100900460ff16611fd65760405162461bcd60e51b8152600401610a3890612b8b565b61161b61242f565b600054610100900460ff166120055760405162461bcd60e51b8152600401610a3890612b8b565b61161b61245f565b6001600160a01b0382166120635760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610a38565b61206f60008383612492565b80603560008282546120819190612a58565b90915550506001600160a01b038216600081815260336020908152604080832080548601905551848152600080516020612d1c833981519152910160405180910390a35050565b6120d0612510565b6097805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051610eb0919061260c565b6001600160a01b03821661216a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610a38565b61217682600083612492565b6001600160a01b038216600090815260336020526040902054818110156121ea5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610a38565b6001600160a01b0383166000818152603360209081526040808320868603905560358054879003905551858152919291600080516020612d1c8339815191529101611c9b565b505050565b606580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61228f611ca8565b6097805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120fd3390565b6001600160a01b0383166122ea5760405162461bcd60e51b8152600401610a3890612b03565b6001600160a01b0382166123105760405162461bcd60e51b8152600401610a3890612b48565b61231b838383612492565b6001600160a01b038316600090815260336020526040902054818110156123935760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a38565b6001600160a01b038085166000818152603360205260408082208686039055928616808252908390208054860190559151600080516020612d1c833981519152906123e19086815260200190565b60405180910390a350505050565b600054610100900460ff166124165760405162461bcd60e51b8152600401610a3890612b8b565b60366124228382612c1c565b5060376122308282612c1c565b600054610100900460ff166124565760405162461bcd60e51b8152600401610a3890612b8b565b61161b33612235565b600054610100900460ff166124865760405162461bcd60e51b8152600401610a3890612b8b565b6097805460ff19169055565b61249a611ca8565b6001600160a01b038316600090815260d36020526040902054839060ff16156124d55760405162461bcd60e51b8152600401610a3890612acd565b6001600160a01b038316600090815260d36020526040902054839060ff1615611f735760405162461bcd60e51b8152600401610a3890612acd565b60975460ff1661161b5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a38565b600060208083528351808285015260005b818110156125865785810183015185820160400152820161256a565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461162f57600080fd5b6000602082840312156125ce57600080fd5b81356125d9816125a7565b9392505050565b600080604083850312156125f357600080fd5b82356125fe816125a7565b946020939093013593505050565b6001600160a01b0391909116815260200190565b6000806000806000806000806000806101408b8d03121561264057600080fd5b8a3561264b816125a7565b995060208b0135985060408b0135612662816125a7565b975060608b0135965060808b0135612679816125a7565b955060a08b0135945060c08b0135612690816125a7565b935060e08b013592506101008b01356126a8816125a7565b809250506101208b013590509295989b9194979a5092959850565b6000806000606084860312156126d857600080fd5b83356126e3816125a7565b925060208401356126f3816125a7565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261272b57600080fd5b81356001600160401b038082111561274557612745612704565b604051601f8301601f19908116603f0116810190828211818310171561276d5761276d612704565b8160405283815286602085880101111561278657600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080600080600060a086880312156127be57600080fd5b85356001600160401b03808211156127d557600080fd5b6127e189838a0161271a565b965060208801359150808211156127f757600080fd5b506128048882890161271a565b94505060408601359250606086013591506080860135612823816125a7565b809150509295509295909350565b60006020828403121561284357600080fd5b5035919050565b6001600160a01b039a8b168152602081019990995296891660408901526060880195909552928716608087015260a0860191909152851660c085015260e08401529092166101008201526101208101919091526101400190565b600080604083850312156128b757600080fd5b82356128c2816125a7565b915060208301356128d2816125a7565b809150509250929050565b600181811c908216806128f157607f821691505b60208210810361291157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561293f57600080fd5b81516125d9816125a7565b6001600160a01b03929092168252602082015260400190565b60006020828403121561297557600080fd5b815180151581146125d957600080fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156129d55784516001600160a01b0316835293830193918301916001016129b0565b50506001600160a01b03969096166060850152505050608001529392505050565b634e487b7160e01b600052601160045260246000fd5b818103818111156109e3576109e36129f6565b80820281158282048414176109e3576109e36129f6565b600082612a5357634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156109e3576109e36129f6565b60208082526027908201527f54617861626c653a205461782063616e6e6f742062652067726561746572207460408201526668616e2032302560c81b606082015260800190565b6001600160a01b039290921682521515602082015260400190565b6020808252601c908201527b1059191c995cdcc81a185cc81899595b88109b1bd8dadb1a5cdd195960221b604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b601f82111561223057600081815260208120601f850160051c81016020861015612bfd5750805b601f850160051c820191505b818110156115e657828155600101612c09565b81516001600160401b03811115612c3557612c35612704565b612c4981612c4384546128dd565b84612bd6565b602080601f831160018114612c7e5760008415612c665750858301515b600019600386901b1c1916600185901b1785556115e6565b600085815260208120601f198616915b82811015612cad57888601518255948401946001909101908401612c8e565b5085821015612ccb5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fe63e9bb35ae90a43113bc6f999f1c6395e88ee5f59560b46bd45815fe8560efae92d364d140f902817e5eaa71cedfe20bae2a3c66a2725cee3d9a51d73f052fb6ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220915c1e2baff9a356f59f21c3f370b0eceb2c462a304c94805a14ac2e80dbc35a64736f6c63430008110033

Deployed Bytecode

0x60806040526004361061025b5760003560e01c8063064a59d01461026457806306fdde031461029357806307785238146102b5578063095ea7b3146102d55780630bc47bb3146102f55780630f3d9c9f1461032257806313a3a3681461033757806317700f011461036757806318160ddd1461037c5780631de1559c1461039b57806322aafef2146103bb57806323b872dd146103eb57806327060b2b1461040b5780632707dff81461042b57806327c706ad1461044b5780632b73b0da1461046b578063313ce5671461048b57806333eea181146104a757806336fe302d146104c757806339509351146104e65780633f4ba83a1461050657806342966c681461051b57806344337ea11461053b5780634f0543171461055b578063537df3b6146105715780635c975abb1461059157806364bfa546146105a957806370a08231146105c9578063715018a6146105e9578063771a3a1d146105fe5780638456cb59146106145780638a8c523c146106295780638c89a0ad1461063e5780638da5cb5b1461065157806395d89b4114610666578063977227401461067b578063985ecd831461069b5780639b5f0b8114610724578063a457c2d714610744578063a9059cbb14610764578063c0762e5e14610784578063c3743cff146107a4578063c6859d07146107b9578063c6d69a30146107d9578063cb66667f146107f9578063dbac26e91461080e578063dd62ed3e1461083e578063e0988d871461085e578063e7f67fb114610874578063ea1644d514610894578063f2fde38b146108b4578063f545d07a146108d4578063f9f21735146108f457005b3661026257005b005b34801561027057600080fd5b5060dc5461027e9060ff1681565b60405190151581526020015b60405180910390f35b34801561029f57600080fd5b506102a8610914565b60405161028a9190612559565b3480156102c157600080fd5b506102626102d03660046125bc565b6109a6565b3480156102e157600080fd5b5061027e6102f03660046125e0565b6109cf565b34801561030157600080fd5b5060cd54610315906001600160a01b031681565b60405161028a919061260c565b34801561032e57600080fd5b506102626109e9565b34801561034357600080fd5b5061027e6103523660046125bc565b60d56020526000908152604090205460ff1681565b34801561037357600080fd5b50610262610e83565b34801561038857600080fd5b506035545b60405190815260200161028a565b3480156103a757600080fd5b506102626103b6366004612620565b610eba565b3480156103c757600080fd5b5061027e6103d63660046125bc565b60d46020526000908152604090205460ff1681565b3480156103f757600080fd5b5061027e6104063660046126c3565b6111cf565b34801561041757600080fd5b5060d654610315906001600160a01b031681565b34801561043757600080fd5b5060da54610315906001600160a01b031681565b34801561045757600080fd5b506102626104663660046125bc565b611205565b34801561047757600080fd5b5060d854610315906001600160a01b031681565b34801561049757600080fd5b506040516012815260200161028a565b3480156104b357600080fd5b506102626104c23660046127a6565b61127c565b3480156104d357600080fd5b5060dc5461027e90610100900460ff1681565b3480156104f257600080fd5b5061027e6105013660046125e0565b6115ee565b34801561051257600080fd5b5061026261160b565b34801561052757600080fd5b50610262610536366004612831565b61161d565b34801561054757600080fd5b506102626105563660046125bc565b611632565b34801561056757600080fd5b5061038d60db5481565b34801561057d57600080fd5b5061026261058c3660046125bc565b6116cf565b34801561059d57600080fd5b5060975460ff1661027e565b3480156105b557600080fd5b506102626105c4366004612831565b611715565b3480156105d557600080fd5b5061038d6105e43660046125bc565b61175a565b3480156105f557600080fd5b50610262611775565b34801561060a57600080fd5b5061038d60c95481565b34801561062057600080fd5b50610262611787565b34801561063557600080fd5b50610262611797565b34801561064a57600080fd5b504761038d565b34801561065d57600080fd5b506103156117cd565b34801561067257600080fd5b506102a86117dc565b34801561068757600080fd5b506102626106963660046125bc565b6117eb565b3480156106a757600080fd5b5060d6546001600160a01b03908116600081815260ce602090815260408083205460d754861680855260cf84528285205460d854881680875260d086528487205460d9548a1680895260d188528689205460da54909b16808a5260d29098529786902054955161028a9a959894979396929591949391929061284a565b34801561073057600080fd5b5061026261073f3660046125bc565b611817565b34801561075057600080fd5b5061027e61075f3660046125e0565b611840565b34801561077057600080fd5b5061027e61077f3660046125e0565b6118c6565b34801561079057600080fd5b5061026261079f3660046125bc565b6118dc565b3480156107b057600080fd5b5060ca5461038d565b3480156107c557600080fd5b5060d954610315906001600160a01b031681565b3480156107e557600080fd5b506102626107f4366004612831565b611966565b34801561080557600080fd5b5060c95461038d565b34801561081a57600080fd5b5061027e6108293660046125bc565b60d36020526000908152604090205460ff1681565b34801561084a57600080fd5b5061038d6108593660046128a4565b611a1a565b34801561086a57600080fd5b5061038d60ca5481565b34801561088057600080fd5b5060cc54610315906001600160a01b031681565b3480156108a057600080fd5b506102626108af366004612831565b611a45565b3480156108c057600080fd5b506102626108cf3660046125bc565b611a82565b3480156108e057600080fd5b5060d754610315906001600160a01b031681565b34801561090057600080fd5b5061026261090f3660046125bc565b611af8565b606060368054610923906128dd565b80601f016020809104026020016040519081016040528092919081815260200182805461094f906128dd565b801561099c5780601f106109715761010080835404028352916020019161099c565b820191906000526020600020905b81548152906001019060200180831161097f57829003601f168201915b5050505050905090565b6109ae611b24565b6001600160a01b0316600090815260d460205260409020805460ff19169055565b6000336109dd818585611b83565b60019150505b92915050565b33600090815260d5602052604090205460ff16610a415760405162461bcd60e51b81526020600482015260116024820152702737ba1030902234b9ba3934b13aba37b960791b60448201526064015b60405180910390fd5b6040805160028082526060820183526000926020830190803683370190505090503081600081518110610a7657610a76612917565b6001600160a01b0392831660209182029290920181019190915260cb54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610acf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af3919061292d565b81600181518110610b0657610b06612917565b60200260200101906001600160a01b031690816001600160a01b0316815250506000610b313061175a565b60cb5460405163095ea7b360e01b81529192504791309163095ea7b391610b66916001600160a01b031690869060040161294a565b6020604051808303816000875af1158015610b85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba99190612963565b5060cb5460405163791ac94760e01b81526001600160a01b039091169063791ac94790610be3908590600090889030904290600401612985565b600060405180830381600087803b158015610bfd57600080fd5b505af1158015610c11573d6000803e3d6000fd5b5050505060008147610c239190612a0c565b9050600060c95482600a610c379190612a1f565b610c419190612a36565b60d6546001600160a01b0316600090815260ce602052604081205491925090600a90610c6d9084612a1f565b610c779190612a36565b60d7546001600160a01b0316600090815260cf602052604081205491925090600a90610ca39085612a1f565b610cad9190612a36565b60d8546001600160a01b0316600090815260d0602052604081205491925090600a90610cd99086612a1f565b610ce39190612a36565b60d9546001600160a01b0316600090815260d1602052604081205491925090600a90610d0f9087612a1f565b610d199190612a36565b60da546001600160a01b0316600090815260d2602052604081205491925090600a90610d459088612a1f565b610d4f9190612a36565b60d6546040519192506001600160a01b03169086156108fc029087906000818181858888f19350505050158015610d8a573d6000803e3d6000fd5b5060d7546040516001600160a01b039091169085156108fc029086906000818181858888f19350505050158015610dc5573d6000803e3d6000fd5b5060d8546040516001600160a01b039091169084156108fc029085906000818181858888f19350505050158015610e00573d6000803e3d6000fd5b5060d9546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015610e3b573d6000803e3d6000fd5b5060da546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610e76573d6000803e3d6000fd5b5050505050505050505050565b610e8b611b24565b60dc805460ff1916905560405160008152600080516020612cdc833981519152906020015b60405180910390a1565b610ec2611b24565b610eca611ca8565b6001600160a01b038a1615801590610eea57506001600160a01b03881615155b8015610efe57506001600160a01b03861615155b8015610f1257506001600160a01b03841615155b8015610f2657506001600160a01b03821615155b610f875760405162461bcd60e51b815260206004820152602c60248201527f54617861626c653a205461782072656369657665722063616e6e6f742062652060448201526b7a65726f206164647265737360a01b6064820152608401610a38565b60c954818487610f978b8e612a58565b610fa19190612a58565b610fab9190612a58565b610fb59190612a58565b1461101e5760405162461bcd60e51b815260206004820152603360248201527f54617820526174653a2050657263656e74616765732053756d206d75737420626044820152726520657175616c20746f20546178205261746560681b6064820152608401610a38565b60d680546001600160a01b03808d166001600160a01b031992831681178455600090815260ce602090815260408083208f905560d780548f86169087168117909155835260cf82528083208d905560d880548d86169087168117909155835260d082528083208b905560d980548b86169087168117909155835260d1825280832089905560da805489861696168617905593825260d290529190912083905590546110c991166117eb565b60d7546110de906001600160a01b03166117eb565b60d8546110f3906001600160a01b03166117eb565b60d954611108906001600160a01b03166117eb565b60da5461111d906001600160a01b03166117eb565b60d6546001600160a01b03908116600081815260ce602090815260408083205460d754861680855260cf84528285205460d854881680875260d086528487205460d9548a1680895260d188528689205460da54909b16808a5260d2909852978690205495517f8bedf0b3bed0ba6c516afb9f7ffc925d569b7cd8dfb210db3c82176136c279339a6111bb9a999698959794969395929490929161284a565b60405180910390a150505050505050505050565b60006111dc848484611cee565b6111fb8433846111ec8833611a1a565b6111f69190612a0c565b611b83565b5060019392505050565b61120d611b24565b6001600160a01b03811661125a5760405162461bcd60e51b8152602060048201526014602482015273496e76616c69642050616972206164647265737360601b6044820152606401610a38565b60cd80546001600160a01b0319166001600160a01b0392909216919091179055565b600054610100900460ff161580801561129c5750600054600160ff909116105b806112b65750303b1580156112b6575060005460ff166001145b6113195760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610a38565b6000805460ff19166001179055801561133c576000805461ff0019166101001790555b60c883111561135d5760405162461bcd60e51b8152600401610a3890612a6b565b6113678686611f7a565b61136f611faf565b611377611fde565b611381828561200d565b60c983905560cb8054737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0319918216811790925560cc8054909116821790556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156113f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141a919061292d565b6001600160a01b031663c9c653963060cb60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561147c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a0919061292d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156114ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611511919061292d565b60cd80546001600160a01b0319166001600160a01b0392831690811790915560cb5460405163095ea7b360e01b8152919263095ea7b39261155c92909116906000199060040161294a565b6020604051808303816000875af115801561157b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159f9190612963565b5080156115e6576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b6000336109dd8185856116018383611a1a565b6111f69190612a58565b611613611b24565b61161b6120c8565b565b611625611b24565b61162f338261210a565b50565b61163a611b24565b60cd546001600160a01b03828116911614801590611666575060cb546001600160a01b03828116911614155b801561167b57506001600160a01b0381163014155b156116a4576001600160a01b038116600090815260d360205260409020805460ff191660011790555b600080516020612cfc8339815191528160016040516116c4929190612ab2565b60405180910390a150565b6116d7611b24565b6001600160a01b038116600090815260d36020526040808220805460ff1916905551600080516020612cfc833981519152916116c491849190612ab2565b61171d611b24565b611725611ca8565b60ca8190556040518181527f4eb511c00ccadf52c50365c85aae30bb36e65d3eefbee2b03192e2b7d761376c906020016116c4565b6001600160a01b031660009081526033602052604090205490565b61177d611b24565b61161b6000612235565b61178f611b24565b61161b612287565b61179f611b24565b60dc805460ff19166001908117909155604051908152600080516020612cdc83398151915290602001610eb0565b6065546001600160a01b031690565b606060378054610923906128dd565b6117f3611b24565b6001600160a01b0316600090815260d460205260409020805460ff19166001179055565b61181f611b24565b6001600160a01b0316600090815260d560205260409020805460ff19169055565b6000338161184e8286611a1a565b9050838110156118ae5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a38565b6118bb8286868403611b83565b506001949350505050565b60006118d3338484611cee565b50600192915050565b6118e4611b24565b6001600160a01b03811661193a5760405162461bcd60e51b815260206004820152601e60248201527f496e76616c696420556e697377617020726f75746572206164647265737300006044820152606401610a38565b60cb80546001600160a01b039092166001600160a01b0319928316811790915560cc8054909216179055565b61196e611b24565b611976611ca8565b6103e881106119c45760405162461bcd60e51b815260206004820152601a6024820152790a8c2f0c2c4d8ca7440a8c2f040e4c2e8ca40e8dede40d0d2ced60331b6044820152606401610a38565b60c88111156119e55760405162461bcd60e51b8152600401610a3890612a6b565b60c98190556040518181527f2cf6bdee09c3811c29dab74512064ee7a320add122b9150b166c88dd95760217906020016116c4565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b611a4d611b24565b60db8190556040518181527f393f89ef106cb116df007cc6bd2aa044a0996d181c9bc86c7c80f2b9b87b6850906020016116c4565b611a8a611b24565b6001600160a01b038116611aef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a38565b61162f81612235565b611b00611b24565b6001600160a01b0316600090815260d560205260409020805460ff19166001179055565b33611b2d6117cd565b6001600160a01b03161461161b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a38565b6001600160a01b038316611be55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a38565b6001600160a01b038216611c465760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a38565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60975460ff161561161b5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a38565b6001600160a01b038316600090815260d36020526040902054839060ff1615611d295760405162461bcd60e51b8152600401610a3890612acd565b6001600160a01b038316600090815260d36020526040902054839060ff1615611d645760405162461bcd60e51b8152600401610a3890612acd565b6001600160a01b038516611d8a5760405162461bcd60e51b8152600401610a3890612b03565b6001600160a01b038416611db05760405162461bcd60e51b8152600401610a3890612b48565b60ca54831115611e1c5760405162461bcd60e51b815260206004820152603160248201527f5458204c696d69743a2043616e6e6f74207472616e73666572206d6f726520746044820152701a185b881d1bdad95b9cd516131a5b5a5d607a1b6064820152608401610a38565b60cd546001600160a01b038681169116148015611e5257506001600160a01b038416600090815260d4602052604090205460ff16155b8015611e6c575060cb546001600160a01b03858116911614155b15611f005760dc5460ff16611ebc5760405162461bcd60e51b8152602060048201526016602482015275151c98591a5b99c81a5cc81b9bdd08195b98589b195960521b6044820152606401610a38565b60006103e860c95485611ecf9190612a1f565b611ed99190612a36565b9050611ee68630836122c4565b611efa8686611ef58488612a0c565b6122c4565b50611f73565b60cd546001600160a01b038581169116148015611f3657506001600160a01b038516600090815260d4602052604090205460ff16155b8015611f50575060cb546001600160a01b03868116911614155b15611f685760006103e860c95485611ecf9190612a1f565b611f738585856122c4565b5050505050565b600054610100900460ff16611fa15760405162461bcd60e51b8152600401610a3890612b8b565b611fab82826123ef565b5050565b600054610100900460ff16611fd65760405162461bcd60e51b8152600401610a3890612b8b565b61161b61242f565b600054610100900460ff166120055760405162461bcd60e51b8152600401610a3890612b8b565b61161b61245f565b6001600160a01b0382166120635760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610a38565b61206f60008383612492565b80603560008282546120819190612a58565b90915550506001600160a01b038216600081815260336020908152604080832080548601905551848152600080516020612d1c833981519152910160405180910390a35050565b6120d0612510565b6097805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051610eb0919061260c565b6001600160a01b03821661216a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610a38565b61217682600083612492565b6001600160a01b038216600090815260336020526040902054818110156121ea5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610a38565b6001600160a01b0383166000818152603360209081526040808320868603905560358054879003905551858152919291600080516020612d1c8339815191529101611c9b565b505050565b606580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61228f611ca8565b6097805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120fd3390565b6001600160a01b0383166122ea5760405162461bcd60e51b8152600401610a3890612b03565b6001600160a01b0382166123105760405162461bcd60e51b8152600401610a3890612b48565b61231b838383612492565b6001600160a01b038316600090815260336020526040902054818110156123935760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a38565b6001600160a01b038085166000818152603360205260408082208686039055928616808252908390208054860190559151600080516020612d1c833981519152906123e19086815260200190565b60405180910390a350505050565b600054610100900460ff166124165760405162461bcd60e51b8152600401610a3890612b8b565b60366124228382612c1c565b5060376122308282612c1c565b600054610100900460ff166124565760405162461bcd60e51b8152600401610a3890612b8b565b61161b33612235565b600054610100900460ff166124865760405162461bcd60e51b8152600401610a3890612b8b565b6097805460ff19169055565b61249a611ca8565b6001600160a01b038316600090815260d36020526040902054839060ff16156124d55760405162461bcd60e51b8152600401610a3890612acd565b6001600160a01b038316600090815260d36020526040902054839060ff1615611f735760405162461bcd60e51b8152600401610a3890612acd565b60975460ff1661161b5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a38565b600060208083528351808285015260005b818110156125865785810183015185820160400152820161256a565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461162f57600080fd5b6000602082840312156125ce57600080fd5b81356125d9816125a7565b9392505050565b600080604083850312156125f357600080fd5b82356125fe816125a7565b946020939093013593505050565b6001600160a01b0391909116815260200190565b6000806000806000806000806000806101408b8d03121561264057600080fd5b8a3561264b816125a7565b995060208b0135985060408b0135612662816125a7565b975060608b0135965060808b0135612679816125a7565b955060a08b0135945060c08b0135612690816125a7565b935060e08b013592506101008b01356126a8816125a7565b809250506101208b013590509295989b9194979a5092959850565b6000806000606084860312156126d857600080fd5b83356126e3816125a7565b925060208401356126f3816125a7565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261272b57600080fd5b81356001600160401b038082111561274557612745612704565b604051601f8301601f19908116603f0116810190828211818310171561276d5761276d612704565b8160405283815286602085880101111561278657600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080600080600060a086880312156127be57600080fd5b85356001600160401b03808211156127d557600080fd5b6127e189838a0161271a565b965060208801359150808211156127f757600080fd5b506128048882890161271a565b94505060408601359250606086013591506080860135612823816125a7565b809150509295509295909350565b60006020828403121561284357600080fd5b5035919050565b6001600160a01b039a8b168152602081019990995296891660408901526060880195909552928716608087015260a0860191909152851660c085015260e08401529092166101008201526101208101919091526101400190565b600080604083850312156128b757600080fd5b82356128c2816125a7565b915060208301356128d2816125a7565b809150509250929050565b600181811c908216806128f157607f821691505b60208210810361291157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561293f57600080fd5b81516125d9816125a7565b6001600160a01b03929092168252602082015260400190565b60006020828403121561297557600080fd5b815180151581146125d957600080fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156129d55784516001600160a01b0316835293830193918301916001016129b0565b50506001600160a01b03969096166060850152505050608001529392505050565b634e487b7160e01b600052601160045260246000fd5b818103818111156109e3576109e36129f6565b80820281158282048414176109e3576109e36129f6565b600082612a5357634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156109e3576109e36129f6565b60208082526027908201527f54617861626c653a205461782063616e6e6f742062652067726561746572207460408201526668616e2032302560c81b606082015260800190565b6001600160a01b039290921682521515602082015260400190565b6020808252601c908201527b1059191c995cdcc81a185cc81899595b88109b1bd8dadb1a5cdd195960221b604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b601f82111561223057600081815260208120601f850160051c81016020861015612bfd5750805b601f850160051c820191505b818110156115e657828155600101612c09565b81516001600160401b03811115612c3557612c35612704565b612c4981612c4384546128dd565b84612bd6565b602080601f831160018114612c7e5760008415612c665750858301515b600019600386901b1c1916600185901b1785556115e6565b600085815260208120601f198616915b82811015612cad57888601518255948401946001909101908401612c8e565b5085821015612ccb5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fe63e9bb35ae90a43113bc6f999f1c6395e88ee5f59560b46bd45815fe8560efae92d364d140f902817e5eaa71cedfe20bae2a3c66a2725cee3d9a51d73f052fb6ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220915c1e2baff9a356f59f21c3f370b0eceb2c462a304c94805a14ac2e80dbc35a64736f6c63430008110033

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

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.