ETH Price: $3,421.42 (+4.49%)

Contract

0xd3210F246Ae54C5a45A7b4A83315bf718F591bfc
 

Overview

ETH Balance

0.016871105693282486 ETH

Eth Value

$57.72 (@ $3,421.42/ETH)

Token Holdings

More Info

Private Name Tags

TokenTracker

ArkiTech (ARKI) (@$0.025)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve214700152024-12-24 4:42:111 hr ago1735015331IN
Arkitech: ARKI Token
0 ETH0.000138225.23278231
Approve214699382024-12-24 4:26:471 hr ago1735014407IN
Arkitech: ARKI Token
0 ETH0.00023595.09345658
Approve214670092024-12-23 18:35:3511 hrs ago1734978935IN
Arkitech: ARKI Token
0 ETH0.0002952211.18089448
Approve214670042024-12-23 18:34:3511 hrs ago1734978875IN
Arkitech: ARKI Token
0 ETH0.0005636412.17275837
Approve214669462024-12-23 18:22:5911 hrs ago1734978179IN
Arkitech: ARKI Token
0 ETH0.0005431111.74452276
Approve214664632024-12-23 16:45:4713 hrs ago1734972347IN
Arkitech: ARKI Token
0 ETH0.0008041217.26774032
Transfer214664442024-12-23 16:41:5913 hrs ago1734972119IN
Arkitech: ARKI Token
0 ETH0.0008633414.289614
Approve214662952024-12-23 16:12:1113 hrs ago1734970331IN
Arkitech: ARKI Token
0 ETH0.0005696819.33234748
Approve214662272024-12-23 15:58:1114 hrs ago1734969491IN
Arkitech: ARKI Token
0 ETH0.0009742820.92172374
Approve214659512024-12-23 15:02:3514 hrs ago1734966155IN
Arkitech: ARKI Token
0 ETH0.0011102323.97091758
Approve214658152024-12-23 14:35:2315 hrs ago1734964523IN
Arkitech: ARKI Token
0 ETH0.0013324228.57561906
Approve214654192024-12-23 13:15:3516 hrs ago1734959735IN
Arkitech: ARKI Token
0 ETH0.000355587.67938185
Approve214622212024-12-23 2:30:5927 hrs ago1734921059IN
Arkitech: ARKI Token
0 ETH0.000297786.39466474
Transfer214601862024-12-22 19:40:4734 hrs ago1734896447IN
Arkitech: ARKI Token
0 ETH0.000442029.18858081
Approve214560282024-12-22 5:44:472 days ago1734846287IN
Arkitech: ARKI Token
0 ETH0.000339957.30009375
Transfer214555692024-12-22 4:12:112 days ago1734840731IN
Arkitech: ARKI Token
0 ETH0.000195534.51641428
Approve214527822024-12-21 18:50:232 days ago1734807023IN
Arkitech: ARKI Token
0 ETH0.0003298711.29082875
Approve214527402024-12-21 18:41:592 days ago1734806519IN
Arkitech: ARKI Token
0 ETH0.000413168.9251635
Approve214527282024-12-21 18:39:352 days ago1734806375IN
Arkitech: ARKI Token
0 ETH0.000449039.64504012
Transfer214513852024-12-21 14:09:112 days ago1734790151IN
Arkitech: ARKI Token
0 ETH0.0006214112.91432445
Transfer214513382024-12-21 13:59:472 days ago1734789587IN
Arkitech: ARKI Token
0 ETH0.000376868.7
Transfer214494832024-12-21 7:46:352 days ago1734767195IN
Arkitech: ARKI Token
0 ETH0.00035058.09150587
Approve214494292024-12-21 7:35:472 days ago1734766547IN
Arkitech: ARKI Token
0 ETH0.00045859.83325692
Transfer214420272024-12-20 6:45:233 days ago1734677123IN
Arkitech: ARKI Token
0 ETH0.0006640313.8036218
Transfer214419942024-12-20 6:38:473 days ago1734676727IN
Arkitech: ARKI Token
0 ETH0.0004978811.5
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
214700152024-12-24 4:42:111 hr ago1735015331
Arkitech: ARKI Token
0.09197947 ETH
214699382024-12-24 4:26:471 hr ago1735014407
Arkitech: ARKI Token
0.09197947 ETH
214664742024-12-23 16:47:5913 hrs ago1734972479
Arkitech: ARKI Token
0.06007596 ETH
214664742024-12-23 16:47:5913 hrs ago1734972479
Arkitech: ARKI Token
0.06007596 ETH
214659892024-12-23 15:10:1114 hrs ago1734966611
Arkitech: ARKI Token
0.12708425 ETH
214659892024-12-23 15:10:1114 hrs ago1734966611
Arkitech: ARKI Token
0.12708425 ETH
214622222024-12-23 2:31:1127 hrs ago1734921071
Arkitech: ARKI Token
0.07977916 ETH
214622222024-12-23 2:31:1127 hrs ago1734921071
Arkitech: ARKI Token
0.07977916 ETH
214562552024-12-22 6:30:2347 hrs ago1734849023
Arkitech: ARKI Token
0.08982185 ETH
214562552024-12-22 6:30:2347 hrs ago1734849023
Arkitech: ARKI Token
0.08982185 ETH
214500182024-12-21 9:34:472 days ago1734773687
Arkitech: ARKI Token
0.19795025 ETH
214500182024-12-21 9:34:472 days ago1734773687
Arkitech: ARKI Token
0.19795025 ETH
214413192024-12-20 4:22:594 days ago1734668579
Arkitech: ARKI Token
0.18957855 ETH
214381682024-12-19 17:50:354 days ago1734630635
Arkitech: ARKI Token
0.06895322 ETH
214381682024-12-19 17:50:354 days ago1734630635
Arkitech: ARKI Token
0.06895322 ETH
214367752024-12-19 13:10:354 days ago1734613835
Arkitech: ARKI Token
0.06453758 ETH
214367752024-12-19 13:10:354 days ago1734613835
Arkitech: ARKI Token
0.06453758 ETH
214260322024-12-18 1:07:116 days ago1734484031
Arkitech: ARKI Token
0.09903123 ETH
214260322024-12-18 1:07:116 days ago1734484031
Arkitech: ARKI Token
0.09903123 ETH
214193772024-12-17 2:50:357 days ago1734403835
Arkitech: ARKI Token
0.08338334 ETH
214193772024-12-17 2:50:357 days ago1734403835
Arkitech: ARKI Token
0.08338334 ETH
214184392024-12-16 23:41:597 days ago1734392519
Arkitech: ARKI Token
0.08338334 ETH
214151512024-12-16 12:42:597 days ago1734352979
Arkitech: ARKI Token
0.07478113 ETH
214151512024-12-16 12:42:597 days ago1734352979
Arkitech: ARKI Token
0.07478113 ETH
214093112024-12-15 17:08:478 days ago1734282527
Arkitech: ARKI Token
0.0998122 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ArkiTech

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : ArkiTech.sol
/**
 *Submitted for verification at Etherscan.io on 2023-12-01

 //SPDX-License-Identifier: Apache-2.0


    Website: 
    https://arkitech.ai

    Telegram:
    https://t.me/arkitechai

    Twitter: 
    https://x.com/arkitechai


*/

pragma solidity ^0.8.17;

import "./SafeMath.sol";
import "./Address.sol";
import "./RewardsToken.sol";
import "./IUniswapV2Factory.sol";
import "./IUniswapV2Router.sol";
import "./IUniswapV2Pair.sol";
import "./IRewardsTracker.sol";

contract ArkiTech is RewardsToken {
    using SafeMath for uint256;
    using Address for address;

    uint256 private constant REWARDS_TRACKER_IDENTIFIER = 15;
    uint256 private constant TOTAL_SUPPLY = 70000000 * (10**9);

    uint256 public maxTxAmount = TOTAL_SUPPLY.mul(2).div(1000);

    uint256 public treasuryFee = 200;
    uint256 private _previousTreasuryFee = treasuryFee;

    uint256 public devFee = 300;
    uint256 public sellDevFee = 300;
    uint256 private _previousDevFee = devFee;

    uint256 public rewardsFee = 0;
    uint256 public sellRewardsFee = 0;
    uint256 private _previousRewardsFee = rewardsFee;

    uint256 public launchSellFee = 3000;
    uint256 private _previousLaunchSellFee = launchSellFee;

    uint256 public burnFee = 0;
    uint256 public sellburnFee = 0;
    uint256 private _previousBurnFee = burnFee;

    mapping(address => bool) public uniswapv2contracts;

    address payable private _treasuryWalletAddress =
        payable(0x319709Db50c8ad385817d00AaF3f1195D883556b);
    address payable private _devWalletAddress =
        payable(0xe7c45eF2d7f002a65B3527dfd64ea95f1dae760B);

    uint256 public blacklistDeadline = 0;
    uint256 public launchSellFeeDeadline = 0;

    IRewardsTracker private _rewardsTracker;

    bool public useGenericTransfer = true;

    bool private preparedForLaunch = false;

    bool public trueBurn = false;

    mapping(address => bool) public isBlacklisted;

    mapping(address => bool) private _isExcludedFromFee;
    mapping(address => bool) private _isExcludedFromMaxTx;

    mapping(address => bool) private burnAddresses;

    IUniswapV2Router public uniswapV2Router;
    address public uniswapV2Pair;

    bool currentlySwapping;
    bool public swapAndRedirectEthFeesEnabled = true;

    uint256 private minTokensBeforeSwap = 70000 * 10**9;

    event EthSent(address indexed wallet, uint256 amount);
    event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap);
    event SwapAndRedirectEthFeesUpdated(bool enabled);
    event OnSwapAndRedirectEthFees(
        uint256 tokensSwapped,
        uint256 ethToDevWallet
    );
    event MaxTxAmountUpdated(uint256 maxTxAmount);
    event GenericTransferChanged(bool useGenericTransfer);
    event ExcludeFromFees(address wallet);
    event IncludeInFees(address wallet);
    event DevWalletUpdated(address newDevWallet);
    event RewardsTrackerUpdated(address newRewardsTracker);
    event RouterUpdated(address newRouterAddress);
    event FeesChanged(
        uint256 newDevFee,
        uint256 newSellDevFee,
        uint256 newRewardsFee,
        uint256 newSellRewardsFee,
        uint256 newburnFee,
        uint256 newSellburnFee
    );
    event LaunchFeeUpdated(uint256 newLaunchSellFee);

    modifier lockTheSwap() {
        currentlySwapping = true;
        _;
        currentlySwapping = false;
    }

    // Modifier for reentrancy guard
    modifier noReentrant() {
        require(!locked, "No reentrancy");
        locked = true;
        _;
        locked = false;
    }

    constructor() ERC20("ArkiTech", "ARKI") {
        IUniswapV2Router _uniswapV2Router = IUniswapV2Router(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );

        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());

        uniswapV2Router = _uniswapV2Router;

        _mint(owner(), TOTAL_SUPPLY);

        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;

        _isExcludedFromMaxTx[owner()] = true;
        _isExcludedFromMaxTx[address(this)] = true;

        excludeFromRewards(address(this));
        excludeFromRewards(owner());
        excludeFromRewards(address(0xdead));
        excludeFromRewards(uniswapV2Pair);

        uniswapv2contracts[uniswapV2Pair] = true;
    }

    function decimals() public view virtual override returns (uint8) {
        return 9;
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        require(
            preparedForLaunch || _msgSender() == owner(),
            "Contract has not been prepared for launch and user is not owner"
        );

        require(
            !isBlacklisted[from] && !isBlacklisted[to],
            "Blacklisted address"
        );

        if (useGenericTransfer) {
            super._transfer(from, to, amount);
            return;
        }

        if (
            !uniswapv2contracts[from] &&
            !uniswapv2contracts[to] &&
            !burnAddresses[to]
        ) {
            super._transfer(from, to, amount);
            return;
        }

        if (!_isExcludedFromMaxTx[from] && !_isExcludedFromMaxTx[to]) {
            require(
                amount <= maxTxAmount,
                "Transfer amount exceeds the maxTxAmount"
            );
        }

        uint256 baseRewardsFee = rewardsFee;
        uint256 baseDevFee = devFee;
        uint256 baseBurnFee = burnFee;
        if (to == uniswapV2Pair) {
            devFee = sellDevFee;
            rewardsFee = sellRewardsFee;
            burnFee = sellburnFee;

            if (launchSellFeeDeadline >= block.timestamp) {
                devFee = devFee.add(launchSellFee);
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));
        bool overMinTokenBalance = contractTokenBalance >= minTokensBeforeSwap;
        if (
            overMinTokenBalance &&
            !currentlySwapping &&
            from != uniswapV2Pair &&
            swapAndRedirectEthFeesEnabled
        ) {
            swapAndRedirectEthFees(contractTokenBalance);
        }

        if (_isExcludedFromFee[from] || _isExcludedFromFee[to]) {
            removeAllFee();
        }

        (uint256 tTransferAmount, uint256 tFee) = _getValues(amount);
        _balances[from] = _balances[from].sub(amount);
        _balances[to] = _balances[to].add(tTransferAmount);

        _takeFee(tFee);

        if (trueBurn) {
            uint256 burnFeeTotal = calculateBurnFee(amount);
            _burn(address(this), burnFeeTotal);
        }

        if (burnAddresses[to]) {
            uint256 burnamount = tTransferAmount - 1;
            _burn(to, burnamount);
        }

        if (_isExcludedFromFee[from] || _isExcludedFromFee[to]) {
            restoreAllFee();
        }

        devFee = baseDevFee;
        rewardsFee = baseRewardsFee;
        burnFee = baseBurnFee;
        emit Transfer(from, to, tTransferAmount);
    }

    receive() external payable {}

    function _getValues(uint256 tAmount)
        private
        view
        returns (uint256, uint256)
    {
        uint256 tFee = calculateFee(tAmount);
        uint256 tTransferAmount = tAmount.sub(tFee);
        return (tTransferAmount, tFee);
    }

    function _takeFee(uint256 fee) private {
        _balances[address(this)] = _balances[address(this)].add(fee);
    }

    function calculateFee(uint256 _amount) private view returns (uint256) {
        uint256 totalFee = devFee.add(rewardsFee).add(treasuryFee).add(burnFee);
        return _amount.mul(totalFee).div(10000);
    }

    function removeAllFee() private {
        if (devFee == 0 && rewardsFee == 0 && treasuryFee == 0 && burnFee == 0)
            return;

        _previousTreasuryFee = treasuryFee;
        _previousDevFee = devFee;
        _previousRewardsFee = rewardsFee;
        _previousBurnFee = burnFee;

        treasuryFee = 0;
        devFee = 0;
        rewardsFee = 0;
        burnFee = 0;
    }

    function restoreAllFee() private {
        treasuryFee = _previousTreasuryFee;
        devFee = _previousDevFee;
        rewardsFee = _previousRewardsFee;
        burnFee = _previousBurnFee;
    }

    function swapAndRedirectEthFees(uint256 contractTokenBalance)
        private
        lockTheSwap
    {
        uint256 totalRedirectFee = devFee.add(rewardsFee).add(treasuryFee);
        if (totalRedirectFee == 0) return;

        uint256 initialBalance = address(this).balance;

        swapTokensForEth(contractTokenBalance);

        uint256 newBalance = address(this).balance.sub(initialBalance);

        if (newBalance > 0) {
            uint256 treasuryBalance = newBalance.mul(treasuryFee).div(
                totalRedirectFee
            );
            sendEthToWallet(_treasuryWalletAddress, treasuryBalance);

            uint256 rewardsBalance = newBalance.mul(rewardsFee).div(
                totalRedirectFee
            );
            if (rewardsBalance > 0 && address(_rewardsTracker) != address(0)) {
                try
                    _rewardsTracker.addAllocation{value: rewardsBalance}(
                        REWARDS_TRACKER_IDENTIFIER
                    )
                {} catch {}
            }

            uint256 devBalance = newBalance.mul(devFee).div(totalRedirectFee);
            sendEthToWallet(_devWalletAddress, devBalance);

            emit OnSwapAndRedirectEthFees(contractTokenBalance, newBalance);
        }
    }

    // Reentrancy guard state variable
    bool private locked;

    function sendEthToWallet(address wallet, uint256 amount)
        private
        noReentrant
    {
        (bool sent, ) = payable(wallet).call{value: amount}("");
        require(sent, "Failed to send Ether");
        emit EthSent(wallet, amount); // Emitting an event after successful transfer
    }

    function swapTokensForEth(uint256 tokenAmount) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

        _approve(address(this), address(uniswapV2Router), tokenAmount);

        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function prepareForLaunch() external onlyOwner {
        require(!preparedForLaunch, "Already prepared for launch");

        preparedForLaunch = true;

        blacklistDeadline = block.timestamp + 1 hours;

        launchSellFeeDeadline = block.timestamp + 24 hours;
    }

    function setUseGenericTransfer(bool genericTransfer) external onlyOwner {
        useGenericTransfer = genericTransfer;
        emit GenericTransferChanged(genericTransfer);
    }

    function blacklistAddress(address account, bool value) public onlyOwner {
        if (value) {
            require(
                block.timestamp < blacklistDeadline,
                "The ability to blacklist accounts has been disabled."
            );
        }
        isBlacklisted[account] = value;
    }

    function setMaxTxPercent(uint256 newMaxTx) external onlyOwner {
        require(newMaxTx >= 5, "Max TX should be above 0.5%");
        maxTxAmount = TOTAL_SUPPLY.mul(newMaxTx).div(1000);
        emit MaxTxAmountUpdated(maxTxAmount);
    }

    function isExcludedFromFee(address account) external view returns (bool) {
        return _isExcludedFromFee[account];
    }

    function excludeFromFee(address account) external onlyOwner {
        _isExcludedFromFee[account] = true;
        emit ExcludeFromFees(account);
    }

    function includeInFee(address account) external onlyOwner {
        _isExcludedFromFee[account] = false;
        emit IncludeInFees(account);
    }

    function setFees(
        uint256 newTreasuryFee,
        uint256 newDevFee,
        uint256 newSellDevFee,
        uint256 newRewardsFee,
        uint256 newSellRewardsFee,
        uint256 newburnFee,
        uint256 newSellburnFee
    ) external onlyOwner {
        require(
            newTreasuryFee <= 1000 &&
                newDevFee <= 1000 &&
                newSellDevFee <= 1000 &&
                newRewardsFee <= 1000 &&
                newSellRewardsFee <= 1000 &&
                newburnFee <= 1000 &&
                newSellburnFee <= 1000,
            "Fees exceed maximum allowed value"
        );
        treasuryFee = newTreasuryFee;
        devFee = newDevFee;
        sellDevFee = newSellDevFee;
        rewardsFee = newRewardsFee;
        sellRewardsFee = newSellRewardsFee;
        burnFee = newburnFee;
        sellburnFee = newSellburnFee;
        emit FeesChanged(
            newDevFee,
            newSellDevFee,
            newRewardsFee,
            newSellRewardsFee,
            newburnFee,
            newSellburnFee
        );
    }

    function setLaunchSellFee(uint256 newLaunchSellFee) external onlyOwner {
        require(
            newLaunchSellFee <= 3000,
            "Maximum launch sell fee is 30% to deter snipers"
        );
        launchSellFee = newLaunchSellFee;
        emit LaunchFeeUpdated(newLaunchSellFee);
    }

    function setDevWallet(address payable newDevWallet) external onlyOwner {
        _devWalletAddress = newDevWallet;
        emit DevWalletUpdated(newDevWallet);
    }

    function setTreasuryWallet(address payable newTreasuryWallet)
        external
        onlyOwner
    {
        _treasuryWalletAddress = newTreasuryWallet;
    }

    function setRewardsTracker(address payable newRewardsTracker)
        external
        onlyOwner
    {
        _rewardsTracker = IRewardsTracker(newRewardsTracker);
        emit RewardsTrackerUpdated(newRewardsTracker);
    }

    function setRouterAddress(address newRouter) external onlyOwner {
        IUniswapV2Router _newUniswapRouter = IUniswapV2Router(newRouter);
        uniswapV2Pair = IUniswapV2Factory(_newUniswapRouter.factory())
            .createPair(address(this), _newUniswapRouter.WETH());
        uniswapV2Router = _newUniswapRouter;
    }

    function setSwapAndRedirectEthFeesEnabled(bool enabled) external onlyOwner {
        swapAndRedirectEthFeesEnabled = enabled;
        emit SwapAndRedirectEthFeesUpdated(enabled);
    }

    function setMinTokensBeforeSwap(uint256 minTokens) external onlyOwner {
        minTokensBeforeSwap = minTokens * 10**9;
        emit MinTokensBeforeSwapUpdated(minTokens);
    }

    function manualSwap() external onlyOwner {
        uint256 contractBalance = balanceOf(address(this));
        swapTokensForEth(contractBalance);
    }

    function manualSend() external onlyOwner {
        uint256 contractEthBalance = address(this).balance;
        sendEthToWallet(_devWalletAddress, contractEthBalance);
    }

    function calculateBurnFee(uint256 _amount) internal view returns (uint256) {
        return _amount.mul(burnFee).div(10000);
    }

    function changeTrueBurn(bool value) public onlyOwner {
        trueBurn = value;
    }

    function addPairAddress(address _newPair, bool value) public onlyOwner {
        uniswapv2contracts[_newPair] = value;
    }

    function addBurnAddress(address _wallet, bool value) public onlyOwner {
        burnAddresses[_wallet] = value;
    }
}

File 2 of 13 : IRewardsTracker.sol
pragma solidity ^0.8.17;

// SPDX-License-Identifier: Apache-2.0

interface IRewardsTracker {
    
    function addAllocation(uint identifier) external payable;
}

File 3 of 13 : IUniswapV2Pair.sol
// SPDX-License-Identifier: Apache-2.0

pragma solidity >=0.8.17;

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

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

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

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

File 4 of 13 : IUniswapV2Router.sol
pragma solidity ^0.8.17;

// SPDX-License-Identifier: MIT

interface IUniswapV2Router {
    
    function factory() external pure returns (address);
    
    function WETH() external pure returns (address);

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

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

File 5 of 13 : IUniswapV2Factory.sol
pragma solidity ^0.8.17;

// SPDX-License-Identifier: MIT

interface IUniswapV2Factory {

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

File 6 of 13 : RewardsToken.sol
pragma solidity ^0.8.17;

// SPDX-License-Identifier: Apache-2.0

import "./ERC20.sol";
import "./Ownable.sol";

abstract contract RewardsToken is ERC20, Ownable {

    address[] private excludedFromRewards;
    mapping(address => bool) private isAddressExcluded;
    
    event ExcludeFromRewards(address wallet);
    event IncludeInRewards(address wallet);
    
    function deleteExcluded(uint index) internal {
        require(index < excludedFromRewards.length, "Index is greater than array length");
        excludedFromRewards[index] = excludedFromRewards[excludedFromRewards.length - 1];
        excludedFromRewards.pop();
    }
    
    function getExcludedBalances() internal view returns (uint256) {
        uint256 totalExcludedHoldings = 0;
        for (uint i = 0; i < excludedFromRewards.length; i++) {
            totalExcludedHoldings += balanceOf(excludedFromRewards[i]);
        }
        return totalExcludedHoldings;
    }
    
    function excludeFromRewards(address wallet) public onlyOwner {
        require(!isAddressExcluded[wallet], "Address is already excluded from rewards");
        excludedFromRewards.push(wallet);
        isAddressExcluded[wallet] = true;
        emit ExcludeFromRewards(wallet);
    }
    
    function includeInRewards(address wallet) external onlyOwner {
        require(isAddressExcluded[wallet], "Address is not excluded from rewards");
        for (uint i = 0; i < excludedFromRewards.length; i++) {
            if (excludedFromRewards[i] == wallet) {
                isAddressExcluded[wallet] = false;
                deleteExcluded(i);
                break;
            }
        }
        emit IncludeInRewards(wallet);
    }
    
    function isExcludedFromRewards(address wallet) external view returns (bool) {
        return isAddressExcluded[wallet];
    }
    
    function getAllExcludedFromRewards() external view returns (address[] memory) {
        return excludedFromRewards;
    }
    
    function getRewardsSupply() public view returns (uint256) {
        return _totalSupply - getExcludedBalances();
    }
}

File 7 of 13 : Address.sol
pragma solidity ^0.8.17;

// SPDX-License-Identifier: MIT

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            codehash := extcodehash(account)
        }
        return (codehash != accountHash && codehash != 0x0);
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{value: amount}("");
        require(
            success,
            "Address: unable to send value, recipient may have reverted"
        );
    }

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

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

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

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

    function _functionCallWithValue(
        address target,
        bytes memory data,
        uint256 weiValue,
        string memory errorMessage
    ) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{value: weiValue}(
            data
        );
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 8 of 13 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.17;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 13 : Ownable.sol
pragma solidity ^0.8.17;

// SPDX-License-Identifier: MIT

import "./Context.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.
 */
contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

File 10 of 13 : ERC20.sol
pragma solidity ^0.8.17;

// SPDX-License-Identifier: MIT

import "./IERC20.sol";
import "./IERC20Metadata.sol";
import "./Context.sol";
import "./SafeMath.sol";
import "./Address.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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    using SafeMath for uint256;
    using Address for address;

    mapping(address => uint256) internal _balances;

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

    uint256 internal _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

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

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

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to 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 {}
}

File 11 of 13 : Context.sol
pragma solidity ^0.8.4;

// SPDX-License-Identifier: MIT

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 12 of 13 : IERC20Metadata.sol
pragma solidity ^0.8.17;

// SPDX-License-Identifier: MIT

import "./IERC20.sol";

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

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

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

File 13 of 13 : IERC20.sol
pragma solidity ^0.8.17;

// SPDX-License-Identifier: MIT

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

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

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

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

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

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

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

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"newDevWallet","type":"address"}],"name":"DevWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"wallet","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EthSent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"wallet","type":"address"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"wallet","type":"address"}],"name":"ExcludeFromRewards","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDevFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newSellDevFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRewardsFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newSellRewardsFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newburnFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newSellburnFee","type":"uint256"}],"name":"FeesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"useGenericTransfer","type":"bool"}],"name":"GenericTransferChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"wallet","type":"address"}],"name":"IncludeInFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"wallet","type":"address"}],"name":"IncludeInRewards","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newLaunchSellFee","type":"uint256"}],"name":"LaunchFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxTxAmount","type":"uint256"}],"name":"MaxTxAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"minTokensBeforeSwap","type":"uint256"}],"name":"MinTokensBeforeSwapUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethToDevWallet","type":"uint256"}],"name":"OnSwapAndRedirectEthFees","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":"newRewardsTracker","type":"address"}],"name":"RewardsTrackerUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newRouterAddress","type":"address"}],"name":"RouterUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndRedirectEthFeesUpdated","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"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"addBurnAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newPair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"addPairAddress","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":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"blacklistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"blacklistDeadline","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"changeTrueBurn","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":"devFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"excludeFromRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAllExcludedFromRewards","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardsSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"includeInRewards","outputs":[],"stateMutability":"nonpayable","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":"address","name":"","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"isExcludedFromRewards","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchSellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchSellFeeDeadline","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"prepareForLaunch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellRewardsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellburnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"newDevWallet","type":"address"}],"name":"setDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTreasuryFee","type":"uint256"},{"internalType":"uint256","name":"newDevFee","type":"uint256"},{"internalType":"uint256","name":"newSellDevFee","type":"uint256"},{"internalType":"uint256","name":"newRewardsFee","type":"uint256"},{"internalType":"uint256","name":"newSellRewardsFee","type":"uint256"},{"internalType":"uint256","name":"newburnFee","type":"uint256"},{"internalType":"uint256","name":"newSellburnFee","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newLaunchSellFee","type":"uint256"}],"name":"setLaunchSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxTx","type":"uint256"}],"name":"setMaxTxPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"minTokens","type":"uint256"}],"name":"setMinTokensBeforeSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newRewardsTracker","type":"address"}],"name":"setRewardsTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"setRouterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setSwapAndRedirectEthFeesEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newTreasuryWallet","type":"address"}],"name":"setTreasuryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"genericTransfer","type":"bool"}],"name":"setUseGenericTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndRedirectEthFeesEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","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":"treasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"trueBurn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"uniswapv2contracts","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"useGenericTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052620000416103e86200002d600266f8b0a10e470000620004ae60201b62001c0e1790919060201c565b620004c560201b62001c211790919060201c565b60085560c86009819055600a5561012c600b819055600c819055600d556000600e819055600f8190556010819055610bb86011819055601255601381905560148190556015819055601780546001600160a01b031990811673319709db50c8ad385817d00aaf3f1195d883556b179091556018805490911673e7c45ef2d7f002a65b3527dfd64ea95f1dae760b1790556019819055601a55601b805462ffffff60a01b1916600160a01b1790556021805460ff60a81b1916600160a81b179055653faa252260006022553480156200011857600080fd5b5060405180604001604052806008815260200167082e4d6d2a8cac6d60c31b8152506040518060400160405280600481526020016341524b4960e01b815250816003908162000168919062000800565b50600462000177828262000800565b50505060006200018c620004d360201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000232573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002589190620008cc565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002a6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002cc9190620008cc565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200031a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003409190620008cc565b602180546001600160a01b03199081166001600160a01b03938416179091556020805490911683831617905560055462000383911666f8b0a10e470000620004d7565b6001601d60006200039c6005546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff19958616179055308152601d909252812080549092166001908117909255601e90620003f56005546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff1995861617905530808252601e9093522080549092166001179091556200044190620005d7565b6200045e620004586005546001600160a01b031690565b620005d7565b6200046b61dead620005d7565b60215462000482906001600160a01b0316620005d7565b506021546001600160a01b03166000908152601660205260409020805460ff1916600117905562000967565b6000620004bc828462000914565b90505b92915050565b6000620004bc82846200092e565b3390565b6001600160a01b038216620005335760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b6200054f816002546200074e60201b62001c2d1790919060201c565b6002556001600160a01b038216600090815260208181526040909120546200058291839062001c2d6200074e821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620006335760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200052a565b6001600160a01b03811660009081526007602052604090205460ff1615620006af5760405162461bcd60e51b815260206004820152602860248201527f4164647265737320697320616c7265616479206578636c756465642066726f6d604482015267207265776172647360c01b60648201526084016200052a565b6006805460018082019092557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319166001600160a01b038416908117909155600081815260076020908152604091829020805460ff1916909417909355519081527f9dc0c5d829ba95d4a3aa3e40791b3e0ff125f876788532b9f7f6eb543d8dfbd6910160405180910390a150565b505050565b6000620004bc828462000951565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200078757607f821691505b602082108103620007a857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200074957600081815260208120601f850160051c81016020861015620007d75750805b601f850160051c820191505b81811015620007f857828155600101620007e3565b505050505050565b81516001600160401b038111156200081c576200081c6200075c565b62000834816200082d845462000772565b84620007ae565b602080601f8311600181146200086c5760008415620008535750858301515b600019600386901b1c1916600185901b178555620007f8565b600085815260208120601f198616915b828110156200089d578886015182559484019460019091019084016200087c565b5085821015620008bc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620008df57600080fd5b81516001600160a01b0381168114620008f757600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620004bf57620004bf620008fe565b6000826200094c57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620004bf57620004bf620008fe565b61307f80620009776000396000f3fe60806040526004361061037a5760003560e01c806373e7714a116101d1578063b609995e11610102578063dd62ed3e116100a0578063f42938901161006f578063f429389014610a4b578063fce589d814610a60578063fe575a8714610a76578063fffa1dd914610aa657600080fd5b8063dd62ed3e146109a5578063e89bcca2146109eb578063ea2f0b3714610a0b578063f2fde38b14610a2b57600080fd5b8063cc32d176116100dc578063cc32d17614610939578063cf0c018b1461094f578063d543dbeb14610965578063da2e3bad1461098557600080fd5b8063b609995e146108e3578063ba385abb14610903578063bb8d51311461092357600080fd5b8063a0d82dc51161016f578063a8602fea11610149578063a8602fea1461086b578063a9059cbb1461088b578063ada46d0a146108ab578063af01f2b2146108cd57600080fd5b8063a0d82dc514610820578063a1ab19a314610836578063a457c2d71461084b57600080fd5b80638da5cb5b116101ab5780638da5cb5b146107ac578063903cdec0146107ca57806395d89b41146107ea57806398850b64146107ff57600080fd5b806373e7714a146107565780638421b507146107765780638c0b5e221461079657600080fd5b8063393344b6116102ab57806349bd5a5e11610249578063549593631161022357806354959363146106df5780636827e764146106f557806370a082311461070b578063715018a61461074157600080fd5b806349bd5a5e1461067157806351bc3c85146106915780635342acb4146106a657600080fd5b80634337ac5b116102855780634337ac5b146105e1578063437823ec14610611578063455a43961461063157806348a464731461065157600080fd5b8063393344b61461058157806339509351146105a157806341cb87fc146105c157600080fd5b806318160ddd1161031857806326b6308d116102f257806326b6308d1461050e57806328ba35e21461052e5780632bb14e1d1461054f578063313ce5671461056557600080fd5b806318160ddd146104b95780631f53ac02146104ce57806323b872dd146104ee57600080fd5b8063111e037611610354578063111e03761461041a578063113201fa1461043c57806312ee302d1461045d5780631694505e1461048157600080fd5b806306fdde0314610386578063095ea7b3146103b15780630e832273146103e157600080fd5b3661038157005b600080fd5b34801561039257600080fd5b5061039b610abb565b6040516103a89190612bf1565b60405180910390f35b3480156103bd57600080fd5b506103d16103cc366004612c54565b610b4d565b60405190151581526020016103a8565b3480156103ed57600080fd5b506103d16103fc366004612c80565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561042657600080fd5b5061043a610435366004612c80565b610b64565b005b34801561044857600080fd5b506021546103d190600160a81b900460ff1681565b34801561046957600080fd5b5061047360145481565b6040519081526020016103a8565b34801561048d57600080fd5b506020546104a1906001600160a01b031681565b6040516001600160a01b0390911681526020016103a8565b3480156104c557600080fd5b50600254610473565b3480156104da57600080fd5b5061043a6104e9366004612c80565b610cac565b3480156104fa57600080fd5b506103d1610509366004612c9d565b610d24565b34801561051a57600080fd5b5061043a610529366004612cf3565b610d8d565b34801561053a57600080fd5b50601b546103d190600160b01b900460ff1681565b34801561055b57600080fd5b50610473600e5481565b34801561057157600080fd5b50604051600981526020016103a8565b34801561058d57600080fd5b5061043a61059c366004612d0e565b610e04565b3480156105ad57600080fd5b506103d16105bc366004612c54565b610e59565b3480156105cd57600080fd5b5061043a6105dc366004612c80565b610e8f565b3480156105ed57600080fd5b506103d16105fc366004612c80565b60166020526000908152604090205460ff1681565b34801561061d57600080fd5b5061043a61062c366004612c80565b611034565b34801561063d57600080fd5b5061043a61064c366004612d0e565b6110b2565b34801561065d57600080fd5b5061043a61066c366004612d43565b61117b565b34801561067d57600080fd5b506021546104a1906001600160a01b031681565b34801561069d57600080fd5b5061043a6111e6565b3480156106b257600080fd5b506103d16106c1366004612c80565b6001600160a01b03166000908152601d602052604090205460ff1690565b3480156106eb57600080fd5b5061047360115481565b34801561070157600080fd5b50610473600b5481565b34801561071757600080fd5b50610473610726366004612c80565b6001600160a01b031660009081526020819052604090205490565b34801561074d57600080fd5b5061043a61122c565b34801561076257600080fd5b5061043a610771366004612cf3565b6112a0565b34801561078257600080fd5b5061043a610791366004612d43565b6112e8565b3480156107a257600080fd5b5061047360085481565b3480156107b857600080fd5b506005546001600160a01b03166104a1565b3480156107d657600080fd5b5061043a6107e5366004612d0e565b6113b1565b3480156107f657600080fd5b5061039b611406565b34801561080b57600080fd5b50601b546103d190600160a01b900460ff1681565b34801561082c57600080fd5b50610473600c5481565b34801561084257600080fd5b5061043a611415565b34801561085757600080fd5b506103d1610866366004612c54565b6114cd565b34801561087757600080fd5b5061043a610886366004612c80565b61151c565b34801561089757600080fd5b506103d16108a6366004612c54565b611568565b3480156108b757600080fd5b506108c0611575565b6040516103a89190612da0565b3480156108d957600080fd5b50610473601a5481565b3480156108ef57600080fd5b5061043a6108fe366004612c80565b6115d6565b34801561090f57600080fd5b5061043a61091e366004612c80565b611732565b34801561092f57600080fd5b50610473600f5481565b34801561094557600080fd5b5061047360095481565b34801561095b57600080fd5b5061047360195481565b34801561097157600080fd5b5061043a610980366004612d43565b6117aa565b34801561099157600080fd5b5061043a6109a0366004612db3565b611877565b3480156109b157600080fd5b506104736109c0366004612dff565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156109f757600080fd5b5061043a610a06366004612cf3565b6119d3565b348015610a1757600080fd5b5061043a610a26366004612c80565b611a4a565b348015610a3757600080fd5b5061043a610a46366004612c80565b611ac5565b348015610a5757600080fd5b5061043a611bb0565b348015610a6c57600080fd5b5061047360135481565b348015610a8257600080fd5b506103d1610a91366004612c80565b601c6020526000908152604090205460ff1681565b348015610ab257600080fd5b50610473611bf2565b606060038054610aca90612e38565b80601f0160208091040260200160405190810160405280929190818152602001828054610af690612e38565b8015610b435780601f10610b1857610100808354040283529160200191610b43565b820191906000526020600020905b815481529060010190602001808311610b2657829003601f168201915b5050505050905090565b6000610b5a338484611c39565b5060015b92915050565b6005546001600160a01b03163314610b975760405162461bcd60e51b8152600401610b8e90612e6c565b60405180910390fd5b6001600160a01b03811660009081526007602052604090205460ff1615610c115760405162461bcd60e51b815260206004820152602860248201527f4164647265737320697320616c7265616479206578636c756465642066726f6d604482015267207265776172647360c01b6064820152608401610b8e565b6006805460018082019092557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319166001600160a01b038416908117909155600081815260076020908152604091829020805460ff1916909417909355519081527f9dc0c5d829ba95d4a3aa3e40791b3e0ff125f876788532b9f7f6eb543d8dfbd691015b60405180910390a150565b6005546001600160a01b03163314610cd65760405162461bcd60e51b8152600401610b8e90612e6c565b601880546001600160a01b0319166001600160a01b0383169081179091556040519081527f31bb1993faff4f8409d7baad771f861e093ef4ce2c92c6e0cb10b82d1c7324cb90602001610ca1565b6000610d31848484611d5e565b610d838433610d7e85604051806060016040528060288152602001612ffd602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190612267565b611c39565b5060019392505050565b6005546001600160a01b03163314610db75760405162461bcd60e51b8152600401610b8e90612e6c565b60218054821515600160a81b0260ff60a81b199091161790556040517fd9fca2a469120637ae54e43ab68dfdcd9354db52d615dea3d3a66a085e6f41b990610ca190831515815260200190565b6005546001600160a01b03163314610e2e5760405162461bcd60e51b8152600401610b8e90612e6c565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610b5a918590610d7e9086611c2d565b6005546001600160a01b03163314610eb95760405162461bcd60e51b8152600401610b8e90612e6c565b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610efc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f209190612ea1565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f919190612ea1565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610fde573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110029190612ea1565b602180546001600160a01b039283166001600160a01b0319918216179091556020805493909216921691909117905550565b6005546001600160a01b0316331461105e5760405162461bcd60e51b8152600401610b8e90612e6c565b6001600160a01b0381166000818152601d6020908152604091829020805460ff1916600117905590519182527f57a00f76b5f242fb1e04b0b514a6974665a5b07bce45e39f36dabff4a042d9369101610ca1565b6005546001600160a01b031633146110dc5760405162461bcd60e51b8152600401610b8e90612e6c565b80156111505760195442106111505760405162461bcd60e51b815260206004820152603460248201527f546865206162696c69747920746f20626c61636b6c697374206163636f756e7460448201527339903430b9903132b2b7103234b9b0b13632b21760611b6064820152608401610b8e565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146111a55760405162461bcd60e51b8152600401610b8e90612e6c565b6111b381633b9aca00612ed4565b6022556040518181527f5948780118f41f7c4577ae4619d5cbd064057bd8562d9f7b7e60324053375c0090602001610ca1565b6005546001600160a01b031633146112105760405162461bcd60e51b8152600401610b8e90612e6c565b3060009081526020819052604090205461122981612293565b50565b6005546001600160a01b031633146112565760405162461bcd60e51b8152600401610b8e90612e6c565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146112ca5760405162461bcd60e51b8152600401610b8e90612e6c565b601b8054911515600160b01b0260ff60b01b19909216919091179055565b6005546001600160a01b031633146113125760405162461bcd60e51b8152600401610b8e90612e6c565b610bb881111561137c5760405162461bcd60e51b815260206004820152602f60248201527f4d6178696d756d206c61756e63682073656c6c2066656520697320333025207460448201526e6f20646574657220736e697065727360881b6064820152608401610b8e565b60118190556040518181527fc799be5eb19a1a6d6ba7368d21e2bc367c8a335e4a07cd3d954482e6f714d3c590602001610ca1565b6005546001600160a01b031633146113db5760405162461bcd60e51b8152600401610b8e90612e6c565b6001600160a01b03919091166000908152601f60205260409020805460ff1916911515919091179055565b606060048054610aca90612e38565b6005546001600160a01b0316331461143f5760405162461bcd60e51b8152600401610b8e90612e6c565b601b54600160a81b900460ff16156114995760405162461bcd60e51b815260206004820152601b60248201527f416c726561647920707265706172656420666f72206c61756e636800000000006044820152606401610b8e565b601b805460ff60a81b1916600160a81b1790556114b842610e10612eeb565b6019556114c84262015180612eeb565b601a55565b6000610b5a3384610d7e85604051806060016040528060258152602001613025602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190612267565b6005546001600160a01b031633146115465760405162461bcd60e51b8152600401610b8e90612e6c565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b6000610b5a338484611d5e565b60606006805480602002602001604051908101604052809291908181526020018280548015610b4357602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116115af575050505050905090565b6005546001600160a01b031633146116005760405162461bcd60e51b8152600401610b8e90612e6c565b6001600160a01b03811660009081526007602052604090205460ff166116745760405162461bcd60e51b8152602060048201526024808201527f41646472657373206973206e6f74206578636c756465642066726f6d207265776044820152636172647360e01b6064820152608401610b8e565b60005b6006548110156116f857816001600160a01b03166006828154811061169e5761169e612efe565b6000918252602090912001546001600160a01b0316036116e6576001600160a01b0382166000908152600760205260409020805460ff191690556116e1816123ee565b6116f8565b806116f081612f14565b915050611677565b506040516001600160a01b03821681527f87434094d24a90fbd9a8ffcf2be9818d237c06a12d126296bc1ea7d58959433490602001610ca1565b6005546001600160a01b0316331461175c5760405162461bcd60e51b8152600401610b8e90612e6c565b601b80546001600160a01b0319166001600160a01b0383169081179091556040519081527f535be0bbc71c839ded01277ab57f29f2e810c1ff0255bb938d7cb8e96ac8ca1a90602001610ca1565b6005546001600160a01b031633146117d45760405162461bcd60e51b8152600401610b8e90612e6c565b60058110156118255760405162461bcd60e51b815260206004820152601b60248201527f4d61782054582073686f756c642062652061626f766520302e352500000000006044820152606401610b8e565b6118426103e861183c66f8b0a10e47000084611c0e565b90611c21565b60088190556040519081527f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf90602001610ca1565b6005546001600160a01b031633146118a15760405162461bcd60e51b8152600401610b8e90612e6c565b6103e887111580156118b557506103e88611155b80156118c357506103e88511155b80156118d157506103e88411155b80156118df57506103e88311155b80156118ed57506103e88211155b80156118fb57506103e88111155b6119515760405162461bcd60e51b815260206004820152602160248201527f4665657320657863656564206d6178696d756d20616c6c6f7765642076616c756044820152606560f81b6064820152608401610b8e565b6009879055600b869055600c859055600e849055600f839055601382905560148190556040805187815260208101879052908101859052606081018490526080810183905260a081018290527f4f3b60f00ab30635825994816ab704331aa84771a97a768ba4ce3e7bfd888f429060c00160405180910390a150505050505050565b6005546001600160a01b031633146119fd5760405162461bcd60e51b8152600401610b8e90612e6c565b601b8054821515600160a01b0260ff60a01b199091161790556040517f7d952115fd41bb443db2ae9cde6670e8dd72fefb507b7a4e0156c57e439afaf590610ca190831515815260200190565b6005546001600160a01b03163314611a745760405162461bcd60e51b8152600401610b8e90612e6c565b6001600160a01b0381166000818152601d6020908152604091829020805460ff1916905590519182527f346f6c42af1ce4b7d7951f3fa40a2fb1e78c80ab0f3d76fb4f9fec269d568f0d9101610ca1565b6005546001600160a01b03163314611aef5760405162461bcd60e51b8152600401610b8e90612e6c565b6001600160a01b038116611b545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b8e565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611bda5760405162461bcd60e51b8152600401610b8e90612e6c565b6018544790611229906001600160a01b0316826124fa565b6000611bfc612634565b600254611c099190612f2d565b905090565b6000611c1a8284612ed4565b9392505050565b6000611c1a8284612f40565b6000611c1a8284612eeb565b6001600160a01b038316611c9b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b8e565b6001600160a01b038216611cfc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b8e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b601b54600160a81b900460ff1680611d8057506005546001600160a01b031633145b611df25760405162461bcd60e51b815260206004820152603f60248201527f436f6e747261637420686173206e6f74206265656e207072657061726564206660448201527f6f72206c61756e636820616e642075736572206973206e6f74206f776e6572006064820152608401610b8e565b6001600160a01b0383166000908152601c602052604090205460ff16158015611e3457506001600160a01b0382166000908152601c602052604090205460ff16155b611e765760405162461bcd60e51b8152602060048201526013602482015272426c61636b6c6973746564206164647265737360681b6044820152606401610b8e565b601b54600160a01b900460ff1615611e9857611e938383836126a1565b505050565b6001600160a01b03831660009081526016602052604090205460ff16158015611eda57506001600160a01b03821660009081526016602052604090205460ff16155b8015611eff57506001600160a01b0382166000908152601f602052604090205460ff16155b15611f0f57611e938383836126a1565b6001600160a01b0383166000908152601e602052604090205460ff16158015611f5157506001600160a01b0382166000908152601e602052604090205460ff16155b15611fb857600854811115611fb85760405162461bcd60e51b815260206004820152602760248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152661e105b5bdd5b9d60ca1b6064820152608401610b8e565b600e54600b546013546021546001600160a01b039081169086160361200557600c54600b55600f54600e55601454601355601a54421161200557601154600b5461200191611c2d565b600b555b30600090815260208190526040902054602254811080159081906120335750602154600160a01b900460ff16155b801561204d57506021546001600160a01b03898116911614155b80156120625750602154600160a81b900460ff165b156120705761207082612824565b6001600160a01b0388166000908152601d602052604090205460ff16806120af57506001600160a01b0387166000908152601d602052604090205460ff165b156120bc576120bc6129d6565b6000806120c888612a31565b6001600160a01b038c1660009081526020819052604090205491935091506120f09089612a58565b6001600160a01b03808c1660009081526020819052604080822093909355908b168152205461211f9083611c2d565b6001600160a01b038a1660009081526020819052604090205561214181612a64565b601b54600160b01b900460ff161561216c57600061215e89612a91565b905061216a3082612aae565b505b6001600160a01b0389166000908152601f602052604090205460ff16156121a857600061219a600184612f2d565b90506121a68a82612aae565b505b6001600160a01b038a166000908152601d602052604090205460ff16806121e757506001600160a01b0389166000908152601d602052604090205460ff165b1561220957612209600a54600955600d54600b55601054600e55601554601355565b600b869055600e87905560138590556040518281526001600160a01b038a811691908c16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505050505050505050565b6000818484111561228b5760405162461bcd60e51b8152600401610b8e9190612bf1565b505050900390565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106122c8576122c8612efe565b6001600160a01b039283166020918202929092018101919091528054604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612320573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123449190612ea1565b8160018151811061235757612357612efe565b6001600160a01b039283166020918202929092018101919091525461237f9130911684611c39565b60205460405163791ac94760e01b81526001600160a01b039091169063791ac947906123b8908590600090869030904290600401612f62565b600060405180830381600087803b1580156123d257600080fd5b505af11580156123e6573d6000803e3d6000fd5b505050505050565b600654811061244a5760405162461bcd60e51b815260206004820152602260248201527f496e6465782069732067726561746572207468616e206172726179206c656e676044820152610e8d60f31b6064820152608401610b8e565b6006805461245a90600190612f2d565b8154811061246a5761246a612efe565b600091825260209091200154600680546001600160a01b03909216918390811061249657612496612efe565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060068054806124d5576124d5612f9e565b600082815260209020810160001990810180546001600160a01b031916905501905550565b60235460ff161561253d5760405162461bcd60e51b815260206004820152600d60248201526c4e6f207265656e7472616e637960981b6044820152606401610b8e565b6023805460ff191660011790556040516000906001600160a01b0384169083908381818185875af1925050503d8060008114612595576040519150601f19603f3d011682016040523d82523d6000602084013e61259a565b606091505b50509050806125e25760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610b8e565b826001600160a01b03167f78f5cdad99320ec2ba57132d7dffb1d125775c823239e60ff5e9300fd4ac898c8360405161261d91815260200190565b60405180910390a250506023805460ff1916905550565b600080805b60065481101561269b5761267d6006828154811061265957612659612efe565b60009182526020808320909101546001600160a01b03168252819052604090205490565b6126879083612eeb565b91508061269381612f14565b915050612639565b50919050565b6001600160a01b0383166127055760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b8e565b6001600160a01b0382166127675760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b8e565b6127a481604051806060016040528060268152602001612fd7602691396001600160a01b0386166000908152602081905260409020549190612267565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546127d39082611c2d565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611d51565b6021805460ff60a01b1916600160a01b179055600954600e54600b5460009261285892909161285291611c2d565b90611c2d565b90508060000361286857506129c6565b4761287283612293565b600061287e4783612a58565b905080156129c25760006128a18461183c60095485611c0e90919063ffffffff16565b6017549091506128ba906001600160a01b0316826124fa565b60006128d58561183c600e5486611c0e90919063ffffffff16565b90506000811180156128f15750601b546001600160a01b031615155b1561295157601b5460405163febd221b60e01b8152600f60048201526001600160a01b039091169063febd221b9083906024016000604051808303818588803b15801561293d57600080fd5b505af19350505050801561294f575060015b505b600061296c8661183c600b5487611c0e90919063ffffffff16565b601854909150612985906001600160a01b0316826124fa565b60408051888152602081018690527f3736f4ec17d19b9b4f0fbeeb377db969da082d70e2e16221f77d5b321570e8c7910160405180910390a15050505b5050505b506021805460ff60a01b19169055565b600b541580156129e65750600e54155b80156129f25750600954155b80156129fe5750601354155b15612a0557565b60098054600a55600b8054600d55600e8054601055601380546015556000938490559183905582905555565b6000806000612a3f84612bb9565b90506000612a4d8583612a58565b959194509092505050565b6000611c1a8284612f2d565b30600090815260208190526040902054612a7e9082611c2d565b3060009081526020819052604090205550565b6000610b5e61271061183c60135485611c0e90919063ffffffff16565b6001600160a01b038216612b0e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610b8e565b612b4b81604051806060016040528060228152602001612fb5602291396001600160a01b0385166000908152602081905260409020549190612267565b6001600160a01b038316600090815260208190526040902055600254612b719082612a58565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600080612bdf601354612852600954612852600e54600b54611c2d90919063ffffffff16565b9050611c1a61271061183c8584611c0e565b600060208083528351808285015260005b81811015612c1e57858101830151858201604001528201612c02565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461122957600080fd5b60008060408385031215612c6757600080fd5b8235612c7281612c3f565b946020939093013593505050565b600060208284031215612c9257600080fd5b8135611c1a81612c3f565b600080600060608486031215612cb257600080fd5b8335612cbd81612c3f565b92506020840135612ccd81612c3f565b929592945050506040919091013590565b80358015158114612cee57600080fd5b919050565b600060208284031215612d0557600080fd5b611c1a82612cde565b60008060408385031215612d2157600080fd5b8235612d2c81612c3f565b9150612d3a60208401612cde565b90509250929050565b600060208284031215612d5557600080fd5b5035919050565b600081518084526020808501945080840160005b83811015612d955781516001600160a01b031687529582019590820190600101612d70565b509495945050505050565b602081526000611c1a6020830184612d5c565b600080600080600080600060e0888a031215612dce57600080fd5b505085359760208701359750604087013596606081013596506080810135955060a0810135945060c0013592509050565b60008060408385031215612e1257600080fd5b8235612e1d81612c3f565b91506020830135612e2d81612c3f565b809150509250929050565b600181811c90821680612e4c57607f821691505b60208210810361269b57634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215612eb357600080fd5b8151611c1a81612c3f565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610b5e57610b5e612ebe565b80820180821115610b5e57610b5e612ebe565b634e487b7160e01b600052603260045260246000fd5b600060018201612f2657612f26612ebe565b5060010190565b81810381811115610b5e57610b5e612ebe565b600082612f5d57634e487b7160e01b600052601260045260246000fd5b500490565b85815284602082015260a060408201526000612f8160a0830186612d5c565b6001600160a01b0394909416606083015250608001529392505050565b634e487b7160e01b600052603160045260246000fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122022b932337ea940cb17e79df6ff6d8763f7bc5f4ab2c0333fa45958027c890b3064736f6c63430008110033

Deployed Bytecode

0x60806040526004361061037a5760003560e01c806373e7714a116101d1578063b609995e11610102578063dd62ed3e116100a0578063f42938901161006f578063f429389014610a4b578063fce589d814610a60578063fe575a8714610a76578063fffa1dd914610aa657600080fd5b8063dd62ed3e146109a5578063e89bcca2146109eb578063ea2f0b3714610a0b578063f2fde38b14610a2b57600080fd5b8063cc32d176116100dc578063cc32d17614610939578063cf0c018b1461094f578063d543dbeb14610965578063da2e3bad1461098557600080fd5b8063b609995e146108e3578063ba385abb14610903578063bb8d51311461092357600080fd5b8063a0d82dc51161016f578063a8602fea11610149578063a8602fea1461086b578063a9059cbb1461088b578063ada46d0a146108ab578063af01f2b2146108cd57600080fd5b8063a0d82dc514610820578063a1ab19a314610836578063a457c2d71461084b57600080fd5b80638da5cb5b116101ab5780638da5cb5b146107ac578063903cdec0146107ca57806395d89b41146107ea57806398850b64146107ff57600080fd5b806373e7714a146107565780638421b507146107765780638c0b5e221461079657600080fd5b8063393344b6116102ab57806349bd5a5e11610249578063549593631161022357806354959363146106df5780636827e764146106f557806370a082311461070b578063715018a61461074157600080fd5b806349bd5a5e1461067157806351bc3c85146106915780635342acb4146106a657600080fd5b80634337ac5b116102855780634337ac5b146105e1578063437823ec14610611578063455a43961461063157806348a464731461065157600080fd5b8063393344b61461058157806339509351146105a157806341cb87fc146105c157600080fd5b806318160ddd1161031857806326b6308d116102f257806326b6308d1461050e57806328ba35e21461052e5780632bb14e1d1461054f578063313ce5671461056557600080fd5b806318160ddd146104b95780631f53ac02146104ce57806323b872dd146104ee57600080fd5b8063111e037611610354578063111e03761461041a578063113201fa1461043c57806312ee302d1461045d5780631694505e1461048157600080fd5b806306fdde0314610386578063095ea7b3146103b15780630e832273146103e157600080fd5b3661038157005b600080fd5b34801561039257600080fd5b5061039b610abb565b6040516103a89190612bf1565b60405180910390f35b3480156103bd57600080fd5b506103d16103cc366004612c54565b610b4d565b60405190151581526020016103a8565b3480156103ed57600080fd5b506103d16103fc366004612c80565b6001600160a01b031660009081526007602052604090205460ff1690565b34801561042657600080fd5b5061043a610435366004612c80565b610b64565b005b34801561044857600080fd5b506021546103d190600160a81b900460ff1681565b34801561046957600080fd5b5061047360145481565b6040519081526020016103a8565b34801561048d57600080fd5b506020546104a1906001600160a01b031681565b6040516001600160a01b0390911681526020016103a8565b3480156104c557600080fd5b50600254610473565b3480156104da57600080fd5b5061043a6104e9366004612c80565b610cac565b3480156104fa57600080fd5b506103d1610509366004612c9d565b610d24565b34801561051a57600080fd5b5061043a610529366004612cf3565b610d8d565b34801561053a57600080fd5b50601b546103d190600160b01b900460ff1681565b34801561055b57600080fd5b50610473600e5481565b34801561057157600080fd5b50604051600981526020016103a8565b34801561058d57600080fd5b5061043a61059c366004612d0e565b610e04565b3480156105ad57600080fd5b506103d16105bc366004612c54565b610e59565b3480156105cd57600080fd5b5061043a6105dc366004612c80565b610e8f565b3480156105ed57600080fd5b506103d16105fc366004612c80565b60166020526000908152604090205460ff1681565b34801561061d57600080fd5b5061043a61062c366004612c80565b611034565b34801561063d57600080fd5b5061043a61064c366004612d0e565b6110b2565b34801561065d57600080fd5b5061043a61066c366004612d43565b61117b565b34801561067d57600080fd5b506021546104a1906001600160a01b031681565b34801561069d57600080fd5b5061043a6111e6565b3480156106b257600080fd5b506103d16106c1366004612c80565b6001600160a01b03166000908152601d602052604090205460ff1690565b3480156106eb57600080fd5b5061047360115481565b34801561070157600080fd5b50610473600b5481565b34801561071757600080fd5b50610473610726366004612c80565b6001600160a01b031660009081526020819052604090205490565b34801561074d57600080fd5b5061043a61122c565b34801561076257600080fd5b5061043a610771366004612cf3565b6112a0565b34801561078257600080fd5b5061043a610791366004612d43565b6112e8565b3480156107a257600080fd5b5061047360085481565b3480156107b857600080fd5b506005546001600160a01b03166104a1565b3480156107d657600080fd5b5061043a6107e5366004612d0e565b6113b1565b3480156107f657600080fd5b5061039b611406565b34801561080b57600080fd5b50601b546103d190600160a01b900460ff1681565b34801561082c57600080fd5b50610473600c5481565b34801561084257600080fd5b5061043a611415565b34801561085757600080fd5b506103d1610866366004612c54565b6114cd565b34801561087757600080fd5b5061043a610886366004612c80565b61151c565b34801561089757600080fd5b506103d16108a6366004612c54565b611568565b3480156108b757600080fd5b506108c0611575565b6040516103a89190612da0565b3480156108d957600080fd5b50610473601a5481565b3480156108ef57600080fd5b5061043a6108fe366004612c80565b6115d6565b34801561090f57600080fd5b5061043a61091e366004612c80565b611732565b34801561092f57600080fd5b50610473600f5481565b34801561094557600080fd5b5061047360095481565b34801561095b57600080fd5b5061047360195481565b34801561097157600080fd5b5061043a610980366004612d43565b6117aa565b34801561099157600080fd5b5061043a6109a0366004612db3565b611877565b3480156109b157600080fd5b506104736109c0366004612dff565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156109f757600080fd5b5061043a610a06366004612cf3565b6119d3565b348015610a1757600080fd5b5061043a610a26366004612c80565b611a4a565b348015610a3757600080fd5b5061043a610a46366004612c80565b611ac5565b348015610a5757600080fd5b5061043a611bb0565b348015610a6c57600080fd5b5061047360135481565b348015610a8257600080fd5b506103d1610a91366004612c80565b601c6020526000908152604090205460ff1681565b348015610ab257600080fd5b50610473611bf2565b606060038054610aca90612e38565b80601f0160208091040260200160405190810160405280929190818152602001828054610af690612e38565b8015610b435780601f10610b1857610100808354040283529160200191610b43565b820191906000526020600020905b815481529060010190602001808311610b2657829003601f168201915b5050505050905090565b6000610b5a338484611c39565b5060015b92915050565b6005546001600160a01b03163314610b975760405162461bcd60e51b8152600401610b8e90612e6c565b60405180910390fd5b6001600160a01b03811660009081526007602052604090205460ff1615610c115760405162461bcd60e51b815260206004820152602860248201527f4164647265737320697320616c7265616479206578636c756465642066726f6d604482015267207265776172647360c01b6064820152608401610b8e565b6006805460018082019092557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319166001600160a01b038416908117909155600081815260076020908152604091829020805460ff1916909417909355519081527f9dc0c5d829ba95d4a3aa3e40791b3e0ff125f876788532b9f7f6eb543d8dfbd691015b60405180910390a150565b6005546001600160a01b03163314610cd65760405162461bcd60e51b8152600401610b8e90612e6c565b601880546001600160a01b0319166001600160a01b0383169081179091556040519081527f31bb1993faff4f8409d7baad771f861e093ef4ce2c92c6e0cb10b82d1c7324cb90602001610ca1565b6000610d31848484611d5e565b610d838433610d7e85604051806060016040528060288152602001612ffd602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190612267565b611c39565b5060019392505050565b6005546001600160a01b03163314610db75760405162461bcd60e51b8152600401610b8e90612e6c565b60218054821515600160a81b0260ff60a81b199091161790556040517fd9fca2a469120637ae54e43ab68dfdcd9354db52d615dea3d3a66a085e6f41b990610ca190831515815260200190565b6005546001600160a01b03163314610e2e5760405162461bcd60e51b8152600401610b8e90612e6c565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610b5a918590610d7e9086611c2d565b6005546001600160a01b03163314610eb95760405162461bcd60e51b8152600401610b8e90612e6c565b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610efc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f209190612ea1565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f919190612ea1565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610fde573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110029190612ea1565b602180546001600160a01b039283166001600160a01b0319918216179091556020805493909216921691909117905550565b6005546001600160a01b0316331461105e5760405162461bcd60e51b8152600401610b8e90612e6c565b6001600160a01b0381166000818152601d6020908152604091829020805460ff1916600117905590519182527f57a00f76b5f242fb1e04b0b514a6974665a5b07bce45e39f36dabff4a042d9369101610ca1565b6005546001600160a01b031633146110dc5760405162461bcd60e51b8152600401610b8e90612e6c565b80156111505760195442106111505760405162461bcd60e51b815260206004820152603460248201527f546865206162696c69747920746f20626c61636b6c697374206163636f756e7460448201527339903430b9903132b2b7103234b9b0b13632b21760611b6064820152608401610b8e565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146111a55760405162461bcd60e51b8152600401610b8e90612e6c565b6111b381633b9aca00612ed4565b6022556040518181527f5948780118f41f7c4577ae4619d5cbd064057bd8562d9f7b7e60324053375c0090602001610ca1565b6005546001600160a01b031633146112105760405162461bcd60e51b8152600401610b8e90612e6c565b3060009081526020819052604090205461122981612293565b50565b6005546001600160a01b031633146112565760405162461bcd60e51b8152600401610b8e90612e6c565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146112ca5760405162461bcd60e51b8152600401610b8e90612e6c565b601b8054911515600160b01b0260ff60b01b19909216919091179055565b6005546001600160a01b031633146113125760405162461bcd60e51b8152600401610b8e90612e6c565b610bb881111561137c5760405162461bcd60e51b815260206004820152602f60248201527f4d6178696d756d206c61756e63682073656c6c2066656520697320333025207460448201526e6f20646574657220736e697065727360881b6064820152608401610b8e565b60118190556040518181527fc799be5eb19a1a6d6ba7368d21e2bc367c8a335e4a07cd3d954482e6f714d3c590602001610ca1565b6005546001600160a01b031633146113db5760405162461bcd60e51b8152600401610b8e90612e6c565b6001600160a01b03919091166000908152601f60205260409020805460ff1916911515919091179055565b606060048054610aca90612e38565b6005546001600160a01b0316331461143f5760405162461bcd60e51b8152600401610b8e90612e6c565b601b54600160a81b900460ff16156114995760405162461bcd60e51b815260206004820152601b60248201527f416c726561647920707265706172656420666f72206c61756e636800000000006044820152606401610b8e565b601b805460ff60a81b1916600160a81b1790556114b842610e10612eeb565b6019556114c84262015180612eeb565b601a55565b6000610b5a3384610d7e85604051806060016040528060258152602001613025602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190612267565b6005546001600160a01b031633146115465760405162461bcd60e51b8152600401610b8e90612e6c565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b6000610b5a338484611d5e565b60606006805480602002602001604051908101604052809291908181526020018280548015610b4357602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116115af575050505050905090565b6005546001600160a01b031633146116005760405162461bcd60e51b8152600401610b8e90612e6c565b6001600160a01b03811660009081526007602052604090205460ff166116745760405162461bcd60e51b8152602060048201526024808201527f41646472657373206973206e6f74206578636c756465642066726f6d207265776044820152636172647360e01b6064820152608401610b8e565b60005b6006548110156116f857816001600160a01b03166006828154811061169e5761169e612efe565b6000918252602090912001546001600160a01b0316036116e6576001600160a01b0382166000908152600760205260409020805460ff191690556116e1816123ee565b6116f8565b806116f081612f14565b915050611677565b506040516001600160a01b03821681527f87434094d24a90fbd9a8ffcf2be9818d237c06a12d126296bc1ea7d58959433490602001610ca1565b6005546001600160a01b0316331461175c5760405162461bcd60e51b8152600401610b8e90612e6c565b601b80546001600160a01b0319166001600160a01b0383169081179091556040519081527f535be0bbc71c839ded01277ab57f29f2e810c1ff0255bb938d7cb8e96ac8ca1a90602001610ca1565b6005546001600160a01b031633146117d45760405162461bcd60e51b8152600401610b8e90612e6c565b60058110156118255760405162461bcd60e51b815260206004820152601b60248201527f4d61782054582073686f756c642062652061626f766520302e352500000000006044820152606401610b8e565b6118426103e861183c66f8b0a10e47000084611c0e565b90611c21565b60088190556040519081527f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf90602001610ca1565b6005546001600160a01b031633146118a15760405162461bcd60e51b8152600401610b8e90612e6c565b6103e887111580156118b557506103e88611155b80156118c357506103e88511155b80156118d157506103e88411155b80156118df57506103e88311155b80156118ed57506103e88211155b80156118fb57506103e88111155b6119515760405162461bcd60e51b815260206004820152602160248201527f4665657320657863656564206d6178696d756d20616c6c6f7765642076616c756044820152606560f81b6064820152608401610b8e565b6009879055600b869055600c859055600e849055600f839055601382905560148190556040805187815260208101879052908101859052606081018490526080810183905260a081018290527f4f3b60f00ab30635825994816ab704331aa84771a97a768ba4ce3e7bfd888f429060c00160405180910390a150505050505050565b6005546001600160a01b031633146119fd5760405162461bcd60e51b8152600401610b8e90612e6c565b601b8054821515600160a01b0260ff60a01b199091161790556040517f7d952115fd41bb443db2ae9cde6670e8dd72fefb507b7a4e0156c57e439afaf590610ca190831515815260200190565b6005546001600160a01b03163314611a745760405162461bcd60e51b8152600401610b8e90612e6c565b6001600160a01b0381166000818152601d6020908152604091829020805460ff1916905590519182527f346f6c42af1ce4b7d7951f3fa40a2fb1e78c80ab0f3d76fb4f9fec269d568f0d9101610ca1565b6005546001600160a01b03163314611aef5760405162461bcd60e51b8152600401610b8e90612e6c565b6001600160a01b038116611b545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b8e565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611bda5760405162461bcd60e51b8152600401610b8e90612e6c565b6018544790611229906001600160a01b0316826124fa565b6000611bfc612634565b600254611c099190612f2d565b905090565b6000611c1a8284612ed4565b9392505050565b6000611c1a8284612f40565b6000611c1a8284612eeb565b6001600160a01b038316611c9b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b8e565b6001600160a01b038216611cfc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b8e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b601b54600160a81b900460ff1680611d8057506005546001600160a01b031633145b611df25760405162461bcd60e51b815260206004820152603f60248201527f436f6e747261637420686173206e6f74206265656e207072657061726564206660448201527f6f72206c61756e636820616e642075736572206973206e6f74206f776e6572006064820152608401610b8e565b6001600160a01b0383166000908152601c602052604090205460ff16158015611e3457506001600160a01b0382166000908152601c602052604090205460ff16155b611e765760405162461bcd60e51b8152602060048201526013602482015272426c61636b6c6973746564206164647265737360681b6044820152606401610b8e565b601b54600160a01b900460ff1615611e9857611e938383836126a1565b505050565b6001600160a01b03831660009081526016602052604090205460ff16158015611eda57506001600160a01b03821660009081526016602052604090205460ff16155b8015611eff57506001600160a01b0382166000908152601f602052604090205460ff16155b15611f0f57611e938383836126a1565b6001600160a01b0383166000908152601e602052604090205460ff16158015611f5157506001600160a01b0382166000908152601e602052604090205460ff16155b15611fb857600854811115611fb85760405162461bcd60e51b815260206004820152602760248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152661e105b5bdd5b9d60ca1b6064820152608401610b8e565b600e54600b546013546021546001600160a01b039081169086160361200557600c54600b55600f54600e55601454601355601a54421161200557601154600b5461200191611c2d565b600b555b30600090815260208190526040902054602254811080159081906120335750602154600160a01b900460ff16155b801561204d57506021546001600160a01b03898116911614155b80156120625750602154600160a81b900460ff165b156120705761207082612824565b6001600160a01b0388166000908152601d602052604090205460ff16806120af57506001600160a01b0387166000908152601d602052604090205460ff165b156120bc576120bc6129d6565b6000806120c888612a31565b6001600160a01b038c1660009081526020819052604090205491935091506120f09089612a58565b6001600160a01b03808c1660009081526020819052604080822093909355908b168152205461211f9083611c2d565b6001600160a01b038a1660009081526020819052604090205561214181612a64565b601b54600160b01b900460ff161561216c57600061215e89612a91565b905061216a3082612aae565b505b6001600160a01b0389166000908152601f602052604090205460ff16156121a857600061219a600184612f2d565b90506121a68a82612aae565b505b6001600160a01b038a166000908152601d602052604090205460ff16806121e757506001600160a01b0389166000908152601d602052604090205460ff165b1561220957612209600a54600955600d54600b55601054600e55601554601355565b600b869055600e87905560138590556040518281526001600160a01b038a811691908c16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505050505050505050565b6000818484111561228b5760405162461bcd60e51b8152600401610b8e9190612bf1565b505050900390565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106122c8576122c8612efe565b6001600160a01b039283166020918202929092018101919091528054604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612320573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123449190612ea1565b8160018151811061235757612357612efe565b6001600160a01b039283166020918202929092018101919091525461237f9130911684611c39565b60205460405163791ac94760e01b81526001600160a01b039091169063791ac947906123b8908590600090869030904290600401612f62565b600060405180830381600087803b1580156123d257600080fd5b505af11580156123e6573d6000803e3d6000fd5b505050505050565b600654811061244a5760405162461bcd60e51b815260206004820152602260248201527f496e6465782069732067726561746572207468616e206172726179206c656e676044820152610e8d60f31b6064820152608401610b8e565b6006805461245a90600190612f2d565b8154811061246a5761246a612efe565b600091825260209091200154600680546001600160a01b03909216918390811061249657612496612efe565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060068054806124d5576124d5612f9e565b600082815260209020810160001990810180546001600160a01b031916905501905550565b60235460ff161561253d5760405162461bcd60e51b815260206004820152600d60248201526c4e6f207265656e7472616e637960981b6044820152606401610b8e565b6023805460ff191660011790556040516000906001600160a01b0384169083908381818185875af1925050503d8060008114612595576040519150601f19603f3d011682016040523d82523d6000602084013e61259a565b606091505b50509050806125e25760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610b8e565b826001600160a01b03167f78f5cdad99320ec2ba57132d7dffb1d125775c823239e60ff5e9300fd4ac898c8360405161261d91815260200190565b60405180910390a250506023805460ff1916905550565b600080805b60065481101561269b5761267d6006828154811061265957612659612efe565b60009182526020808320909101546001600160a01b03168252819052604090205490565b6126879083612eeb565b91508061269381612f14565b915050612639565b50919050565b6001600160a01b0383166127055760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b8e565b6001600160a01b0382166127675760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b8e565b6127a481604051806060016040528060268152602001612fd7602691396001600160a01b0386166000908152602081905260409020549190612267565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546127d39082611c2d565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101611d51565b6021805460ff60a01b1916600160a01b179055600954600e54600b5460009261285892909161285291611c2d565b90611c2d565b90508060000361286857506129c6565b4761287283612293565b600061287e4783612a58565b905080156129c25760006128a18461183c60095485611c0e90919063ffffffff16565b6017549091506128ba906001600160a01b0316826124fa565b60006128d58561183c600e5486611c0e90919063ffffffff16565b90506000811180156128f15750601b546001600160a01b031615155b1561295157601b5460405163febd221b60e01b8152600f60048201526001600160a01b039091169063febd221b9083906024016000604051808303818588803b15801561293d57600080fd5b505af19350505050801561294f575060015b505b600061296c8661183c600b5487611c0e90919063ffffffff16565b601854909150612985906001600160a01b0316826124fa565b60408051888152602081018690527f3736f4ec17d19b9b4f0fbeeb377db969da082d70e2e16221f77d5b321570e8c7910160405180910390a15050505b5050505b506021805460ff60a01b19169055565b600b541580156129e65750600e54155b80156129f25750600954155b80156129fe5750601354155b15612a0557565b60098054600a55600b8054600d55600e8054601055601380546015556000938490559183905582905555565b6000806000612a3f84612bb9565b90506000612a4d8583612a58565b959194509092505050565b6000611c1a8284612f2d565b30600090815260208190526040902054612a7e9082611c2d565b3060009081526020819052604090205550565b6000610b5e61271061183c60135485611c0e90919063ffffffff16565b6001600160a01b038216612b0e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610b8e565b612b4b81604051806060016040528060228152602001612fb5602291396001600160a01b0385166000908152602081905260409020549190612267565b6001600160a01b038316600090815260208190526040902055600254612b719082612a58565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600080612bdf601354612852600954612852600e54600b54611c2d90919063ffffffff16565b9050611c1a61271061183c8584611c0e565b600060208083528351808285015260005b81811015612c1e57858101830151858201604001528201612c02565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461122957600080fd5b60008060408385031215612c6757600080fd5b8235612c7281612c3f565b946020939093013593505050565b600060208284031215612c9257600080fd5b8135611c1a81612c3f565b600080600060608486031215612cb257600080fd5b8335612cbd81612c3f565b92506020840135612ccd81612c3f565b929592945050506040919091013590565b80358015158114612cee57600080fd5b919050565b600060208284031215612d0557600080fd5b611c1a82612cde565b60008060408385031215612d2157600080fd5b8235612d2c81612c3f565b9150612d3a60208401612cde565b90509250929050565b600060208284031215612d5557600080fd5b5035919050565b600081518084526020808501945080840160005b83811015612d955781516001600160a01b031687529582019590820190600101612d70565b509495945050505050565b602081526000611c1a6020830184612d5c565b600080600080600080600060e0888a031215612dce57600080fd5b505085359760208701359750604087013596606081013596506080810135955060a0810135945060c0013592509050565b60008060408385031215612e1257600080fd5b8235612e1d81612c3f565b91506020830135612e2d81612c3f565b809150509250929050565b600181811c90821680612e4c57607f821691505b60208210810361269b57634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215612eb357600080fd5b8151611c1a81612c3f565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610b5e57610b5e612ebe565b80820180821115610b5e57610b5e612ebe565b634e487b7160e01b600052603260045260246000fd5b600060018201612f2657612f26612ebe565b5060010190565b81810381811115610b5e57610b5e612ebe565b600082612f5d57634e487b7160e01b600052601260045260246000fd5b500490565b85815284602082015260a060408201526000612f8160a0830186612d5c565b6001600160a01b0394909416606083015250608001529392505050565b634e487b7160e01b600052603160045260246000fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122022b932337ea940cb17e79df6ff6d8763f7bc5f4ab2c0333fa45958027c890b3064736f6c63430008110033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

ArkiTech token ecosystem revolutionizes DeFi with Guardian, Honeypot Checker, Chatmate, and Raidar offering traders cutting-edge security, scam prevention, communication, and market insights, ensuring its future-proof stance in the evolving crypto space.

Validator Index Block Amount
View All Withdrawals

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

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