ETH Price: $3,458.23 (-0.83%)

Contract

0x15B43A4259F4fD84cB9425d53526962A202c7cEF
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve198617932024-05-13 14:48:35226 days ago1715611715IN
Degen Games: D3GEN Token
0 ETH0.0007231215.5291385
Approve198306702024-05-09 6:23:35230 days ago1715235815IN
Degen Games: D3GEN Token
0 ETH0.000224324.81729437
Approve198285062024-05-08 23:07:11230 days ago1715209631IN
Degen Games: D3GEN Token
0 ETH0.00017823.8270307
Transfer198248562024-05-08 10:50:23231 days ago1715165423IN
Degen Games: D3GEN Token
0 ETH0.000397946.02399146
Transfer198225732024-05-08 3:10:23231 days ago1715137823IN
Degen Games: D3GEN Token
0 ETH0.000460736.97446814
Approve197875712024-05-03 5:42:35236 days ago1714714955IN
Degen Games: D3GEN Token
0 ETH0.000153726.3310267
Approve195957192024-04-06 9:13:47263 days ago1712394827IN
Degen Games: D3GEN Token
0 ETH0.0007105515.25913896
Approve195003422024-03-23 22:44:35276 days ago1711233875IN
Degen Games: D3GEN Token
0 ETH0.0007347415.77862058
Approve194747612024-03-20 8:35:11280 days ago1710923711IN
Degen Games: D3GEN Token
0 ETH0.0013304528.57135488
Transfer194604232024-03-18 8:13:47282 days ago1710749627IN
Degen Games: D3GEN Token
0 ETH0.0012301225
Transfer194604042024-03-18 8:09:59282 days ago1710749399IN
Degen Games: D3GEN Token
0 ETH0.0016579225
Approve194603892024-03-18 8:06:59282 days ago1710749219IN
Degen Games: D3GEN Token
0 ETH0.0011570524.84754448
Approve194223372024-03-12 23:39:35287 days ago1710286775IN
Degen Games: D3GEN Token
0 ETH0.002344450.34585987
Approve194045822024-03-10 12:06:23290 days ago1710072383IN
Degen Games: D3GEN Token
0 ETH0.0022213748.02560007
Transfer193953082024-03-09 4:58:59291 days ago1709960339IN
Degen Games: D3GEN Token
0 ETH0.002652240
Approve193683432024-03-05 10:23:35295 days ago1709634215IN
Degen Games: D3GEN Token
0 ETH0.0026747657.44035052
Approve193184302024-02-27 10:55:47302 days ago1709031347IN
Degen Games: D3GEN Token
0 ETH0.0019633242.16209374
Approve192870472024-02-23 1:33:47306 days ago1708652027IN
Degen Games: D3GEN Token
0 ETH0.0020187943.35343509
Transfer192564592024-02-18 18:28:11311 days ago1708280891IN
Degen Games: D3GEN Token
0 ETH0.0016582225
Transfer192564232024-02-18 18:20:47311 days ago1708280447IN
Degen Games: D3GEN Token
0 ETH0.0016920323.80026884
Transfer192478712024-02-17 13:27:11312 days ago1708176431IN
Degen Games: D3GEN Token
0 ETH0.0012532918.89518353
Approve192396442024-02-16 9:43:11313 days ago1708076591IN
Degen Games: D3GEN Token
0 ETH0.001062722.82147895
Transfer192225172024-02-14 0:02:23315 days ago1707868943IN
Degen Games: D3GEN Token
0 ETH0.00160434.4851217
Transfer192166302024-02-13 4:12:23316 days ago1707797543IN
Degen Games: D3GEN Token
0 ETH0.0010770219.94302107
Transfer192071942024-02-11 20:28:47318 days ago1707683327IN
Degen Games: D3GEN Token
0 ETH0.0026440739.86297428
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
199217342024-05-22 0:02:59217 days ago1716336179
Degen Games: D3GEN Token
0.00025125 ETH
199217342024-05-22 0:02:59217 days ago1716336179
Degen Games: D3GEN Token
0.001005 ETH
199217342024-05-22 0:02:59217 days ago1716336179
Degen Games: D3GEN Token
0.00125625 ETH
198618052024-05-13 14:50:59226 days ago1715611859
Degen Games: D3GEN Token
0.00031278 ETH
198618052024-05-13 14:50:59226 days ago1715611859
Degen Games: D3GEN Token
0.00125114 ETH
198618052024-05-13 14:50:59226 days ago1715611859
Degen Games: D3GEN Token
0.00156392 ETH
198306752024-05-09 6:24:35230 days ago1715235875
Degen Games: D3GEN Token
0.00022779 ETH
198306752024-05-09 6:24:35230 days ago1715235875
Degen Games: D3GEN Token
0.00091119 ETH
198306752024-05-09 6:24:35230 days ago1715235875
Degen Games: D3GEN Token
0.00113899 ETH
198195792024-05-07 17:08:23232 days ago1715101703
Degen Games: D3GEN Token
0.00026932 ETH
198195792024-05-07 17:08:23232 days ago1715101703
Degen Games: D3GEN Token
0.00107729 ETH
198195792024-05-07 17:08:23232 days ago1715101703
Degen Games: D3GEN Token
0.00134661 ETH
196850702024-04-18 21:37:59250 days ago1713476279
Degen Games: D3GEN Token
0.00033548 ETH
196850702024-04-18 21:37:59250 days ago1713476279
Degen Games: D3GEN Token
0.00134193 ETH
196850702024-04-18 21:37:59250 days ago1713476279
Degen Games: D3GEN Token
0.00167741 ETH
195003452024-03-23 22:45:11276 days ago1711233911
Degen Games: D3GEN Token
0.00032181 ETH
195003452024-03-23 22:45:11276 days ago1711233911
Degen Games: D3GEN Token
0.00128727 ETH
195003452024-03-23 22:45:11276 days ago1711233911
Degen Games: D3GEN Token
0.00160908 ETH
194748092024-03-20 8:44:47280 days ago1710924287
Degen Games: D3GEN Token
0.00049727 ETH
194748092024-03-20 8:44:47280 days ago1710924287
Degen Games: D3GEN Token
0.00198909 ETH
194748092024-03-20 8:44:47280 days ago1710924287
Degen Games: D3GEN Token
0.00248636 ETH
194604732024-03-18 8:23:47282 days ago1710750227
Degen Games: D3GEN Token
0.0003387 ETH
194604732024-03-18 8:23:47282 days ago1710750227
Degen Games: D3GEN Token
0.00135482 ETH
194604732024-03-18 8:23:47282 days ago1710750227
Degen Games: D3GEN Token
0.00169353 ETH
194330442024-03-14 11:46:59286 days ago1710416819
Degen Games: D3GEN Token
0.00092727 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
D3GEN

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 3 : D3gen.sol
// Tg: https://t.me/DegenGames_ERC20
// Website: https://cryptodegen.games
// X: https://x.com/DegenGames_ERC 

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/access/Ownable.sol";

interface IERC20 {
    function totalSupply() external view returns (uint256);

    function balanceOf(address account) external view returns (uint256);

    function transfer(address recipient, uint256 amount)
        external
        returns (bool);

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

    function approve(address spender, uint256 amount) external returns (bool);

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
}

interface IERC20Metadata is IERC20 {
    function name() external view returns (string memory);

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

    function decimals() external view returns (uint8);
}

contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    function name() external view virtual override returns (string memory) {
        return _name;
    }

    function symbol() external view virtual override returns (string memory) {
        return _symbol;
    }

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

    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account)
        public
        view
        virtual
        override
        returns (uint256)
    {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount)
        external
        virtual
        override
        returns (bool)
    {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender)
        external
        view
        virtual
        override
        returns (uint256)
    {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount)
        external
        virtual
        override
        returns (bool)
    {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external virtual override returns (bool) {
        uint256 currentAllowance = _allowances[sender][_msgSender()];
        if (currentAllowance != type(uint256).max) {
            require(
                currentAllowance >= amount,
                "ERC20: transfer amount exceeds allowance"
            );
            unchecked {
                _approve(sender, _msgSender(), currentAllowance - amount);
            }
        }

        _transfer(sender, recipient, amount);

        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue)
        external
        virtual
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender] + addedValue
        );
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue)
        external
        virtual
        returns (bool)
    {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(
            currentAllowance >= subtractedValue,
            "ERC20: decreased allowance below zero"
        );
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

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

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

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

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

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

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

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

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

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

interface IUniswapV2Pair {
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
    event Transfer(address indexed from, address indexed to, uint256 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 (uint256);

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

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

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

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

    function transferFrom(
        address from,
        address to,
        uint256 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 (uint256);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    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 (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

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

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

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

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

    function WETH() external pure returns (address);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

contract D3GEN is ERC20, Ownable {
    uint256 public feeOnBuy = 5;
    uint256 public feeOnSell = 5;
    address public marketingWallet = 0x1a2ea5995A2AC7144763B09E2DEEC9f0187FFC60;
    address public devWallet = 0xEeE5EE7a163AdF7C772efA794Ca592f6A49CBD02;
    // address private ownerWallet = 0x1a2ea5995A2AC7144763B09E2DEEC9f0187FFC60;

    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;
    address private constant DEAD = 0x000000000000000000000000000000000000dEaD;
    bool private swapping;
    uint256 public swapTokensAtAmount;
    uint256 public maxTxnAmount;
    uint256 public maxWalletSize;

    bool public isTradeOpen = false;
    bool public isSizeLimitsOpen;
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) private _isLimitExempt;

    event ExcludeFromFees(address indexed account, bool isExcluded);
    event FeesUpdated(uint256 feeOnBuy, uint256 feeOnSell);
    event MarketingWalletChanged(address indexed newMarketingWallet);

    event DevWalletChanged(address indexed newDevWallet);
    event SwapAndSendFee(uint256 tokensSwapped, uint256 bnbSend);
    event SwapTokensAtAmountChanged(uint256 newAmount);
    event SizesAtAmountChanged(
        uint256 _maxTxnAmount,
        uint256 _maxWalletSize,
        uint256 percent
    );
    event TransferForeignToken(address token, uint256 amount);

    constructor(address initialOwner) ERC20("Degen Games", "D3GEN") Ownable(initialOwner) {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );
        address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());

        uniswapV2Router = _uniswapV2Router;
        uniswapV2Pair = _uniswapV2Pair;

        _approve(address(this), address(uniswapV2Router), type(uint256).max);
        
        // transferOwnership(ownerWallet);
        isSizeLimitsOpen = true;
        _isExcludedFromFees[owner()] = true;
        _isExcludedFromFees[DEAD] = true;
        _isExcludedFromFees[address(this)] = true;
        _isExcludedFromFees[marketingWallet] = true;
        _isExcludedFromFees[devWallet] = true;

        _isLimitExempt[owner()] = true;

        _mint(owner(), 10**7 * (10**9));
        swapTokensAtAmount = totalSupply() / 5000;
        maxTxnAmount = (totalSupply() * 4) / 1000;
        maxWalletSize = (totalSupply() * 8) / 1000;
    }

    receive() external payable {}

    function sendBNB(address payable recipient, uint256 amount) internal {
        require(
            address(this).balance >= amount,
            "Address: insufficient balance"
        );

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

    function enableTrade() external onlyOwner {
        require(isTradeOpen == false, "Trade is already open!");
        isTradeOpen = true;
    }

    function disableSizeLimits() public onlyOwner {
        isSizeLimitsOpen = false;
    }

    function excludeFromFees(address account, bool excluded)
        external
        onlyOwner
    {
        require(
            _isExcludedFromFees[account] != excluded,
            "Account is already the value of 'excluded'"
        );
        _isExcludedFromFees[account] = excluded;

        emit ExcludeFromFees(account, excluded);
    }

    function exemptFromLimit(address account, bool exempt) external onlyOwner {
        require(
            _isLimitExempt[account] != exempt,
            "Account is already the value of 'exempt'"
        );
        _isLimitExempt[account] = exempt;
    }

    function isExcludedFromFees(address account) external view returns (bool) {
        return _isExcludedFromFees[account];
    }

    function setFees(uint256 _feeOnBuy, uint256 _feeOnSell) external onlyOwner {
        feeOnBuy = _feeOnBuy;
        feeOnSell = _feeOnSell;
        emit FeesUpdated(feeOnBuy, feeOnSell);
    }

    function changeMarketingWallet(address _marketingWallet)
        external
        onlyOwner
    {
        require(
            _marketingWallet != marketingWallet,
            " wallet is already that address"
        );
        require(
            _marketingWallet != address(0),
            " wallet cannot be the zero address"
        );
        marketingWallet = _marketingWallet;
        _isExcludedFromFees[marketingWallet] = true;
        emit MarketingWalletChanged(marketingWallet);
    }

    function changeDevWallet(address _devWallet) external onlyOwner {
        require(_devWallet != devWallet, " wallet is already that address");
        require(_devWallet != address(0), " wallet cannot be the zero address");
        devWallet = _devWallet;
        _isExcludedFromFees[devWallet] = true;
        emit DevWalletChanged(_devWallet);
    }

    function setSizesAtAmount(
        uint256 _maxTxnAmount,
        uint256 _maxWalletSize,
        uint256 percent
    ) public onlyOwner {
        maxTxnAmount = (_maxTxnAmount * totalSupply()) / percent;
        maxWalletSize = (_maxWalletSize * totalSupply()) / percent;
        emit SizesAtAmountChanged(_maxTxnAmount, _maxWalletSize, percent);
    }

    function setSwapTokensAtAmount(uint256 newAmount) external onlyOwner {
        require(
            newAmount > totalSupply() / 100000,
            "SwapTokensAtAmount must be greater than 0.001% of total supply"
        );
        swapTokensAtAmount = newAmount;
        emit SwapTokensAtAmountChanged(newAmount);
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(
            isTradeOpen || _isLimitExempt[from] || _isLimitExempt[to],
            "Trading is not open!"
        );

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

        if (isSizeLimitsOpen) {
            if (from == uniswapV2Pair && !_isExcludedFromFees[to]) {
                require(
                    amount <= maxTxnAmount,
                    "Buy transfer amount exceeds the maxTransactionAmount."
                );
            } else if (to == uniswapV2Pair && !_isExcludedFromFees[from]) {
                require(
                    amount <= maxTxnAmount,
                    "Sell transfer amount exceeds the maxTransactionAmount."
                );
            }

            if (
                !_isExcludedFromFees[from] &&
                to != address(uniswapV2Router) &&
                to != address(uniswapV2Pair) &&
                !_isExcludedFromFees[to]
            ) {
                require(
                    balanceOf(to) + amount <= maxWalletSize,
                    "Transfer amount exceeds the maxWalletSize."
                );
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if (canSwap && !swapping && to == uniswapV2Pair) {
            swapping = true;

            swapBack();

            swapping = false;
        }

        bool takeFee = !swapping;

        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        if (takeFee) {
            uint256 fees;
            if (from == uniswapV2Pair) {
                fees = (amount * feeOnBuy) / 100;
            } else if (to == uniswapV2Pair) {
                fees = (amount * feeOnSell) / 100;
            } else {
                fees = 0;
            }
            amount -= fees;
            if (fees > 0) {
                super._transfer(from, address(this), fees);
            }
        }

        super._transfer(from, to, amount);
    }

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

        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }

    function swapBack() private  {
        uint256 contractTokenBalance = balanceOf(address(this));

        if (contractTokenBalance == 0) {
            return;
        }

        if (contractTokenBalance > swapTokensAtAmount * 20) {
            contractTokenBalance = swapTokensAtAmount * 20;
        }

        swapAndSendFee(contractTokenBalance);
        contractTokenBalance = address(this).balance;

        uint256 amountToMarketing = (contractTokenBalance * 8) / 10;
        uint256 amountToDev = (contractTokenBalance * 2) / 10;

        sendBNB(payable(marketingWallet), amountToMarketing);
        sendBNB(payable(devWallet), amountToDev);
    }

    function transferForeignToken(address _token)
        external
        returns (bool _sent)
    {
        require(_token != address(0), "_token address cannot be 0");
        require(
            _token != address(this),
            "_token address cannot be native token"
        );
        uint256 _contractBalance = IERC20(_token).balanceOf(address(this));
        _sent = IERC20(_token).transfer(address(devWallet), _contractBalance);
        emit TransferForeignToken(_token, _contractBalance);
    }

    // withdraw in token contract ETH if stuck
    function withdrawStuckETH() external {
        bool success;
        (success, ) = address(marketingWallet).call{
            value: address(this).balance
        }("");
    }
}

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

pragma solidity ^0.8.20;

import {Context} from "../utils/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.
 *
 * The initial owner is set to the address provided by the deployer. This can
 * later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

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

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

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

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

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

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

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

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

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

pragma solidity ^0.8.20;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newDevWallet","type":"address"}],"name":"DevWalletChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"feeOnBuy","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"feeOnSell","type":"uint256"}],"name":"FeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newMarketingWallet","type":"address"}],"name":"MarketingWalletChanged","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":"uint256","name":"_maxTxnAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_maxWalletSize","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"percent","type":"uint256"}],"name":"SizesAtAmountChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bnbSend","type":"uint256"}],"name":"SwapAndSendFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"SwapTokensAtAmountChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TransferForeignToken","type":"event"},{"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":"_devWallet","type":"address"}],"name":"changeDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingWallet","type":"address"}],"name":"changeMarketingWallet","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":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableSizeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"exemptFromLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeOnBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeOnSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSizeLimitsOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTradeOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxnAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletSize","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feeOnBuy","type":"uint256"},{"internalType":"uint256","name":"_feeOnSell","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTxnAmount","type":"uint256"},{"internalType":"uint256","name":"_maxWalletSize","type":"uint256"},{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"setSizesAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_token","type":"address"}],"name":"transferForeignToken","outputs":[{"internalType":"bool","name":"_sent","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":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405260056006819055600755600880546001600160a01b0319908116731a2ea5995a2ac7144763b09e2deec9f0187ffc60179091556009805490911673eee5ee7a163adf7c772efa794ca592f6a49cbd02179055600f805460ff191690553480156200006d57600080fd5b506040516200297f3803806200297f8339810160408190526200009091620006d7565b806040518060400160405280600b81526020016a446567656e2047616d657360a81b815250604051806040016040528060058152602001642219a3a2a760d91b8152508160039081620000e49190620007ad565b506004620000f38282620007ad565b5050506001600160a01b0381166200012657604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620001318162000473565b506000737a250d5630b4cf539739df2c5dacb4c659f2488d90506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200018c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b29190620006d7565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000200573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002269190620006d7565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000274573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029a9190620006d7565b600a80546001600160a01b038086166001600160a01b03199283168117909355600b805491851691909216179055909150620002db903090600019620004c5565b600f805461ff001916610100179055600160106000620003036005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905560109093527f9e93e1db4a1f807cc22b2aecf4deeb0bf5745f1ecb319e87c68c5624c0fa6b698054851660019081179091553084528284208054861682179055600854821684528284208054861682179055600954909116835290822080549093168117909255601190620003ae6005546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055620003fb620003ed6005546001600160a01b031690565b662386f26fc10000620005ed565b6113886200040860025490565b6200041491906200088f565b600c556103e86200042460025490565b62000431906004620008b2565b6200043d91906200088f565b600d556103e86200044d60025490565b6200045a906008620008b2565b6200046691906200088f565b600e5550620008e8915050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316620005295760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016200011d565b6001600160a01b0382166200058c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016200011d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216620006455760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200011d565b8060026000828254620006599190620008d2565b90915550506001600160a01b0382166000908152602081905260408120805483929062000688908490620008d2565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b600060208284031215620006ea57600080fd5b81516001600160a01b03811681146200070257600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200073457607f821691505b6020821081036200075557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620006d257600081815260208120601f850160051c81016020861015620007845750805b601f850160051c820191505b81811015620007a55782815560010162000790565b505050505050565b81516001600160401b03811115620007c957620007c962000709565b620007e181620007da84546200071f565b846200075b565b602080601f831160018114620008195760008415620008005750858301515b600019600386901b1c1916600185901b178555620007a5565b600085815260208120601f198616915b828110156200084a5788860151825594840194600190910190840162000829565b5085821015620008695787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600082620008ad57634e487b7160e01b600052601260045260246000fd5b500490565b8082028115828204841417620008cc57620008cc62000879565b92915050565b80820180821115620008cc57620008cc62000879565b61208780620008f86000396000f3fe60806040526004361061021d5760003560e01c80638ea5220f11610123578063bb8c3ee0116100ab578063dc93cf701161006f578063dc93cf701461062b578063dd62ed3e1461064b578063e2f4560514610691578063f2fde38b146106a7578063f5648a4f146106c757600080fd5b8063bb8c3ee01461059f578063bd8d8211146105b5578063c0246668146105d5578063cf46f24c146105f5578063d0973f101461060b57600080fd5b8063a457c2d7116100f2578063a457c2d7146104ff578063a9059cbb1461051f578063afa4f3b21461053f578063b0ef69ab1461055f578063bb85c6d11461057f57600080fd5b80638ea5220f1461049f5780638f3fa860146104bf57806395d89b41146104d55780639fbdd96d146104ea57600080fd5b806339509351116101a657806365048d081161017557806365048d081461040057806370a0823114610416578063715018a61461044c57806375f0a874146104615780638da5cb5b1461048157600080fd5b8063395093511461036d57806349bd5a5e1461038d5780634fbee193146103ad57806360901444146103e657600080fd5b8063128f5c33116101ed578063128f5c33146102bb5780631694505e146102da57806318160ddd1461031257806323b872dd14610331578063313ce5671461035157600080fd5b806299d3861461022957806306fdde0314610240578063095ea7b31461026b5780630b78f9c01461029b57600080fd5b3661022457005b600080fd5b34801561023557600080fd5b5061023e6106dc565b005b34801561024c57600080fd5b50610255610744565b6040516102629190611c2e565b60405180910390f35b34801561027757600080fd5b5061028b610286366004611c91565b6107d6565b6040519015158152602001610262565b3480156102a757600080fd5b5061023e6102b6366004611cbd565b6107ed565b3480156102c757600080fd5b50600f5461028b90610100900460ff1681565b3480156102e657600080fd5b50600a546102fa906001600160a01b031681565b6040516001600160a01b039091168152602001610262565b34801561031e57600080fd5b506002545b604051908152602001610262565b34801561033d57600080fd5b5061028b61034c366004611cdf565b61083c565b34801561035d57600080fd5b5060405160098152602001610262565b34801561037957600080fd5b5061028b610388366004611c91565b6108ed565b34801561039957600080fd5b50600b546102fa906001600160a01b031681565b3480156103b957600080fd5b5061028b6103c8366004611d20565b6001600160a01b031660009081526010602052604090205460ff1690565b3480156103f257600080fd5b50600f5461028b9060ff1681565b34801561040c57600080fd5b5061032360075481565b34801561042257600080fd5b50610323610431366004611d20565b6001600160a01b031660009081526020819052604090205490565b34801561045857600080fd5b5061023e610929565b34801561046d57600080fd5b506008546102fa906001600160a01b031681565b34801561048d57600080fd5b506005546001600160a01b03166102fa565b3480156104ab57600080fd5b506009546102fa906001600160a01b031681565b3480156104cb57600080fd5b50610323600e5481565b3480156104e157600080fd5b5061025561093d565b3480156104f657600080fd5b5061023e61094c565b34801561050b57600080fd5b5061028b61051a366004611c91565b610961565b34801561052b57600080fd5b5061028b61053a366004611c91565b6109fa565b34801561054b57600080fd5b5061023e61055a366004611d44565b610a07565b34801561056b57600080fd5b5061023e61057a366004611d5d565b610ad5565b34801561058b57600080fd5b5061023e61059a366004611d20565b610b65565b3480156105ab57600080fd5b5061032360065481565b3480156105c157600080fd5b5061023e6105d0366004611d20565b610c57565b3480156105e157600080fd5b5061023e6105f0366004611d97565b610d43565b34801561060157600080fd5b50610323600d5481565b34801561061757600080fd5b5061023e610626366004611d97565b610e2d565b34801561063757600080fd5b5061028b610646366004611d20565b610ee1565b34801561065757600080fd5b50610323610666366004611dd0565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561069d57600080fd5b50610323600c5481565b3480156106b357600080fd5b5061023e6106c2366004611d20565b6110ce565b3480156106d357600080fd5b5061023e61110c565b6106e4611164565b600f5460ff16156107355760405162461bcd60e51b8152602060048201526016602482015275547261646520697320616c7265616479206f70656e2160501b60448201526064015b60405180910390fd5b600f805460ff19166001179055565b60606003805461075390611dfe565b80601f016020809104026020016040519081016040528092919081815260200182805461077f90611dfe565b80156107cc5780601f106107a1576101008083540402835291602001916107cc565b820191906000526020600020905b8154815290600101906020018083116107af57829003601f168201915b5050505050905090565b60006107e3338484611191565b5060015b92915050565b6107f5611164565b6006829055600781905560408051838152602081018390527f5c6323bf1c2d7aaea2c091a4751c1c87af7f2864650c336507a77d0557af37a1910160405180910390a15050565b6001600160a01b038316600090815260016020908152604080832033845290915281205460001981146108d757828110156108ca5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161072c565b6108d78533858403611191565b6108e28585856112b5565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916107e3918590610924908690611e4e565b611191565b610931611164565b61093b6000611786565b565b60606004805461075390611dfe565b610954611164565b600f805461ff0019169055565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156109e35760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161072c565b6109f03385858403611191565b5060019392505050565b60006107e33384846112b5565b610a0f611164565b620186a0610a1c60025490565b610a269190611e61565b8111610a9a5760405162461bcd60e51b815260206004820152603e60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e30303125206f6620746f74616c20737570706c790000606482015260840161072c565b600c8190556040518181527fcba17309eff0b14bb89cad72aef8b308a23d698dfff957e2255d17bbc03620bd9060200160405180910390a150565b610add611164565b80610ae760025490565b610af19085611e83565b610afb9190611e61565b600d5580610b0860025490565b610b129084611e83565b610b1c9190611e61565b600e5560408051848152602081018490529081018290527f1300a1f96ba1abf266808b39af3955b4662b3d9dc084381b02c66c303c1805c39060600160405180910390a1505050565b610b6d611164565b6008546001600160a01b0390811690821603610bcb5760405162461bcd60e51b815260206004820152601f60248201527f2077616c6c657420697320616c72656164792074686174206164647265737300604482015260640161072c565b6001600160a01b038116610bf15760405162461bcd60e51b815260040161072c90611e9a565b600880546001600160a01b0319166001600160a01b038381169182178355600091825260106020526040808320805460ff19166001179055925492519216917fa964ba5c52d7e7bfcae4fb1ae4db9f211756d0e618e85fac5283b882a39e7a0b9190a250565b610c5f611164565b6009546001600160a01b0390811690821603610cbd5760405162461bcd60e51b815260206004820152601f60248201527f2077616c6c657420697320616c72656164792074686174206164647265737300604482015260640161072c565b6001600160a01b038116610ce35760405162461bcd60e51b815260040161072c90611e9a565b600980546001600160a01b0319166001600160a01b038316908117909155600081815260106020526040808220805460ff19166001179055517f268c00f4ec08b34fdde24b52e47a09d62f3f3837eb3b8ac7206cefb3bb5e53459190a250565b610d4b611164565b6001600160a01b03821660009081526010602052604090205481151560ff909116151503610dce5760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b606482015260840161072c565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610e35611164565b6001600160a01b03821660009081526011602052604090205481151560ff909116151503610eb65760405162461bcd60e51b815260206004820152602860248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015267276578656d70742760c01b606482015260840161072c565b6001600160a01b03919091166000908152601160205260409020805460ff1916911515919091179055565b60006001600160a01b038216610f395760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f742062652030000000000000604482015260640161072c565b306001600160a01b03831603610f9f5760405162461bcd60e51b815260206004820152602560248201527f5f746f6b656e20616464726573732063616e6e6f74206265206e6174697665206044820152643a37b5b2b760d91b606482015260840161072c565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015610fe6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100a9190611edc565b60095460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810183905291925084169063a9059cbb906044016020604051808303816000875af115801561105f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110839190611ef5565b604080516001600160a01b0386168152602081018490529193507fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e438910160405180910390a150919050565b6110d6611164565b6001600160a01b03811661110057604051631e4fbdf760e01b81526000600482015260240161072c565b61110981611786565b50565b6008546040516000916001600160a01b03169047908381818185875af1925050503d8060008114611159576040519150601f19603f3d011682016040523d82523d6000602084013e61115e565b606091505b50505050565b6005546001600160a01b0316331461093b5760405163118cdaa760e01b815233600482015260240161072c565b6001600160a01b0383166111f35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161072c565b6001600160a01b0382166112545760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161072c565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166112db5760405162461bcd60e51b815260040161072c90611f12565b6001600160a01b0382166113015760405162461bcd60e51b815260040161072c90611f57565b600f5460ff168061132a57506001600160a01b03831660009081526011602052604090205460ff165b8061134d57506001600160a01b03821660009081526011602052604090205460ff165b6113905760405162461bcd60e51b815260206004820152601460248201527354726164696e67206973206e6f74206f70656e2160601b604482015260640161072c565b806000036113a9576113a4838360006117d8565b505050565b600f54610100900460ff161561161e57600b546001600160a01b0384811691161480156113ef57506001600160a01b03821660009081526010602052604090205460ff16155b1561146957600d548111156114645760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b606482015260840161072c565b611515565b600b546001600160a01b03838116911614801561149f57506001600160a01b03831660009081526010602052604090205460ff16155b1561151557600d548111156115155760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b606482015260840161072c565b6001600160a01b03831660009081526010602052604090205460ff1615801561154c5750600a546001600160a01b03838116911614155b80156115665750600b546001600160a01b03838116911614155b801561158b57506001600160a01b03821660009081526010602052604090205460ff16155b1561161e57600e54816115b3846001600160a01b031660009081526020819052604090205490565b6115bd9190611e4e565b111561161e5760405162461bcd60e51b815260206004820152602a60248201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785760448201526930b63632ba29b4bd329760b11b606482015260840161072c565b30600090815260208190526040902054600c548110801590819061164c5750600b54600160a01b900460ff16155b80156116655750600b546001600160a01b038581169116145b1561169357600b805460ff60a01b1916600160a01b17905561168561192d565b600b805460ff60a01b191690555b600b546001600160a01b03861660009081526010602052604090205460ff600160a01b9092048216159116806116e157506001600160a01b03851660009081526010602052604090205460ff165b156116ea575060005b801561177357600b546000906001600160a01b039081169088160361172a576064600654866117199190611e83565b6117239190611e61565b9050611754565b600b546001600160a01b0390811690871603611750576064600754866117199190611e83565b5060005b61175e8186611f9a565b94508015611771576117718730836117d8565b505b61177e8686866117d8565b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166117fe5760405162461bcd60e51b815260040161072c90611f12565b6001600160a01b0382166118245760405162461bcd60e51b815260040161072c90611f57565b6001600160a01b0383166000908152602081905260409020548181101561189c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161072c565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906118d3908490611e4e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161191f91815260200190565b60405180910390a350505050565b30600090815260208190526040812054908190036119485750565b600c54611956906014611e83565b81111561196e57600c5461196b906014611e83565b90505b611977816119dc565b50476000600a611988836008611e83565b6119929190611e61565b90506000600a6119a3846002611e83565b6119ad9190611e61565b6008549091506119c6906001600160a01b031683611b15565b6009546113a4906001600160a01b031682611b15565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a1157611a11611fad565b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611a6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8e9190611fc3565b81600181518110611aa157611aa1611fad565b6001600160a01b039283166020918202929092010152600a5460405163791ac94760e01b815291169063791ac94790611ae7908590600090869030904290600401611fe0565b600060405180830381600087803b158015611b0157600080fd5b505af115801561177e573d6000803e3d6000fd5b80471015611b655760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161072c565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611bb2576040519150601f19603f3d011682016040523d82523d6000602084013e611bb7565b606091505b50509050806113a45760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161072c565b600060208083528351808285015260005b81811015611c5b57858101830151858201604001528201611c3f565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461110957600080fd5b60008060408385031215611ca457600080fd5b8235611caf81611c7c565b946020939093013593505050565b60008060408385031215611cd057600080fd5b50508035926020909101359150565b600080600060608486031215611cf457600080fd5b8335611cff81611c7c565b92506020840135611d0f81611c7c565b929592945050506040919091013590565b600060208284031215611d3257600080fd5b8135611d3d81611c7c565b9392505050565b600060208284031215611d5657600080fd5b5035919050565b600080600060608486031215611d7257600080fd5b505081359360208301359350604090920135919050565b801515811461110957600080fd5b60008060408385031215611daa57600080fd5b8235611db581611c7c565b91506020830135611dc581611d89565b809150509250929050565b60008060408385031215611de357600080fd5b8235611dee81611c7c565b91506020830135611dc581611c7c565b600181811c90821680611e1257607f821691505b602082108103611e3257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156107e7576107e7611e38565b600082611e7e57634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176107e7576107e7611e38565b60208082526022908201527f2077616c6c65742063616e6e6f7420626520746865207a65726f206164647265604082015261737360f01b606082015260800190565b600060208284031215611eee57600080fd5b5051919050565b600060208284031215611f0757600080fd5b8151611d3d81611d89565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156107e7576107e7611e38565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611fd557600080fd5b8151611d3d81611c7c565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156120305784516001600160a01b03168352938301939183019160010161200b565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220b816007ff20b2ae7faee6ef12e80a6077c5c4a46dfdaa6c800bd7b0f9ffa7c7764736f6c634300081400330000000000000000000000001a2ea5995a2ac7144763b09e2deec9f0187ffc60

Deployed Bytecode

0x60806040526004361061021d5760003560e01c80638ea5220f11610123578063bb8c3ee0116100ab578063dc93cf701161006f578063dc93cf701461062b578063dd62ed3e1461064b578063e2f4560514610691578063f2fde38b146106a7578063f5648a4f146106c757600080fd5b8063bb8c3ee01461059f578063bd8d8211146105b5578063c0246668146105d5578063cf46f24c146105f5578063d0973f101461060b57600080fd5b8063a457c2d7116100f2578063a457c2d7146104ff578063a9059cbb1461051f578063afa4f3b21461053f578063b0ef69ab1461055f578063bb85c6d11461057f57600080fd5b80638ea5220f1461049f5780638f3fa860146104bf57806395d89b41146104d55780639fbdd96d146104ea57600080fd5b806339509351116101a657806365048d081161017557806365048d081461040057806370a0823114610416578063715018a61461044c57806375f0a874146104615780638da5cb5b1461048157600080fd5b8063395093511461036d57806349bd5a5e1461038d5780634fbee193146103ad57806360901444146103e657600080fd5b8063128f5c33116101ed578063128f5c33146102bb5780631694505e146102da57806318160ddd1461031257806323b872dd14610331578063313ce5671461035157600080fd5b806299d3861461022957806306fdde0314610240578063095ea7b31461026b5780630b78f9c01461029b57600080fd5b3661022457005b600080fd5b34801561023557600080fd5b5061023e6106dc565b005b34801561024c57600080fd5b50610255610744565b6040516102629190611c2e565b60405180910390f35b34801561027757600080fd5b5061028b610286366004611c91565b6107d6565b6040519015158152602001610262565b3480156102a757600080fd5b5061023e6102b6366004611cbd565b6107ed565b3480156102c757600080fd5b50600f5461028b90610100900460ff1681565b3480156102e657600080fd5b50600a546102fa906001600160a01b031681565b6040516001600160a01b039091168152602001610262565b34801561031e57600080fd5b506002545b604051908152602001610262565b34801561033d57600080fd5b5061028b61034c366004611cdf565b61083c565b34801561035d57600080fd5b5060405160098152602001610262565b34801561037957600080fd5b5061028b610388366004611c91565b6108ed565b34801561039957600080fd5b50600b546102fa906001600160a01b031681565b3480156103b957600080fd5b5061028b6103c8366004611d20565b6001600160a01b031660009081526010602052604090205460ff1690565b3480156103f257600080fd5b50600f5461028b9060ff1681565b34801561040c57600080fd5b5061032360075481565b34801561042257600080fd5b50610323610431366004611d20565b6001600160a01b031660009081526020819052604090205490565b34801561045857600080fd5b5061023e610929565b34801561046d57600080fd5b506008546102fa906001600160a01b031681565b34801561048d57600080fd5b506005546001600160a01b03166102fa565b3480156104ab57600080fd5b506009546102fa906001600160a01b031681565b3480156104cb57600080fd5b50610323600e5481565b3480156104e157600080fd5b5061025561093d565b3480156104f657600080fd5b5061023e61094c565b34801561050b57600080fd5b5061028b61051a366004611c91565b610961565b34801561052b57600080fd5b5061028b61053a366004611c91565b6109fa565b34801561054b57600080fd5b5061023e61055a366004611d44565b610a07565b34801561056b57600080fd5b5061023e61057a366004611d5d565b610ad5565b34801561058b57600080fd5b5061023e61059a366004611d20565b610b65565b3480156105ab57600080fd5b5061032360065481565b3480156105c157600080fd5b5061023e6105d0366004611d20565b610c57565b3480156105e157600080fd5b5061023e6105f0366004611d97565b610d43565b34801561060157600080fd5b50610323600d5481565b34801561061757600080fd5b5061023e610626366004611d97565b610e2d565b34801561063757600080fd5b5061028b610646366004611d20565b610ee1565b34801561065757600080fd5b50610323610666366004611dd0565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561069d57600080fd5b50610323600c5481565b3480156106b357600080fd5b5061023e6106c2366004611d20565b6110ce565b3480156106d357600080fd5b5061023e61110c565b6106e4611164565b600f5460ff16156107355760405162461bcd60e51b8152602060048201526016602482015275547261646520697320616c7265616479206f70656e2160501b60448201526064015b60405180910390fd5b600f805460ff19166001179055565b60606003805461075390611dfe565b80601f016020809104026020016040519081016040528092919081815260200182805461077f90611dfe565b80156107cc5780601f106107a1576101008083540402835291602001916107cc565b820191906000526020600020905b8154815290600101906020018083116107af57829003601f168201915b5050505050905090565b60006107e3338484611191565b5060015b92915050565b6107f5611164565b6006829055600781905560408051838152602081018390527f5c6323bf1c2d7aaea2c091a4751c1c87af7f2864650c336507a77d0557af37a1910160405180910390a15050565b6001600160a01b038316600090815260016020908152604080832033845290915281205460001981146108d757828110156108ca5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161072c565b6108d78533858403611191565b6108e28585856112b5565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916107e3918590610924908690611e4e565b611191565b610931611164565b61093b6000611786565b565b60606004805461075390611dfe565b610954611164565b600f805461ff0019169055565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156109e35760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161072c565b6109f03385858403611191565b5060019392505050565b60006107e33384846112b5565b610a0f611164565b620186a0610a1c60025490565b610a269190611e61565b8111610a9a5760405162461bcd60e51b815260206004820152603e60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e30303125206f6620746f74616c20737570706c790000606482015260840161072c565b600c8190556040518181527fcba17309eff0b14bb89cad72aef8b308a23d698dfff957e2255d17bbc03620bd9060200160405180910390a150565b610add611164565b80610ae760025490565b610af19085611e83565b610afb9190611e61565b600d5580610b0860025490565b610b129084611e83565b610b1c9190611e61565b600e5560408051848152602081018490529081018290527f1300a1f96ba1abf266808b39af3955b4662b3d9dc084381b02c66c303c1805c39060600160405180910390a1505050565b610b6d611164565b6008546001600160a01b0390811690821603610bcb5760405162461bcd60e51b815260206004820152601f60248201527f2077616c6c657420697320616c72656164792074686174206164647265737300604482015260640161072c565b6001600160a01b038116610bf15760405162461bcd60e51b815260040161072c90611e9a565b600880546001600160a01b0319166001600160a01b038381169182178355600091825260106020526040808320805460ff19166001179055925492519216917fa964ba5c52d7e7bfcae4fb1ae4db9f211756d0e618e85fac5283b882a39e7a0b9190a250565b610c5f611164565b6009546001600160a01b0390811690821603610cbd5760405162461bcd60e51b815260206004820152601f60248201527f2077616c6c657420697320616c72656164792074686174206164647265737300604482015260640161072c565b6001600160a01b038116610ce35760405162461bcd60e51b815260040161072c90611e9a565b600980546001600160a01b0319166001600160a01b038316908117909155600081815260106020526040808220805460ff19166001179055517f268c00f4ec08b34fdde24b52e47a09d62f3f3837eb3b8ac7206cefb3bb5e53459190a250565b610d4b611164565b6001600160a01b03821660009081526010602052604090205481151560ff909116151503610dce5760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b606482015260840161072c565b6001600160a01b038216600081815260106020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610e35611164565b6001600160a01b03821660009081526011602052604090205481151560ff909116151503610eb65760405162461bcd60e51b815260206004820152602860248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015267276578656d70742760c01b606482015260840161072c565b6001600160a01b03919091166000908152601160205260409020805460ff1916911515919091179055565b60006001600160a01b038216610f395760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f742062652030000000000000604482015260640161072c565b306001600160a01b03831603610f9f5760405162461bcd60e51b815260206004820152602560248201527f5f746f6b656e20616464726573732063616e6e6f74206265206e6174697665206044820152643a37b5b2b760d91b606482015260840161072c565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015610fe6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100a9190611edc565b60095460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810183905291925084169063a9059cbb906044016020604051808303816000875af115801561105f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110839190611ef5565b604080516001600160a01b0386168152602081018490529193507fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e438910160405180910390a150919050565b6110d6611164565b6001600160a01b03811661110057604051631e4fbdf760e01b81526000600482015260240161072c565b61110981611786565b50565b6008546040516000916001600160a01b03169047908381818185875af1925050503d8060008114611159576040519150601f19603f3d011682016040523d82523d6000602084013e61115e565b606091505b50505050565b6005546001600160a01b0316331461093b5760405163118cdaa760e01b815233600482015260240161072c565b6001600160a01b0383166111f35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161072c565b6001600160a01b0382166112545760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161072c565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166112db5760405162461bcd60e51b815260040161072c90611f12565b6001600160a01b0382166113015760405162461bcd60e51b815260040161072c90611f57565b600f5460ff168061132a57506001600160a01b03831660009081526011602052604090205460ff165b8061134d57506001600160a01b03821660009081526011602052604090205460ff165b6113905760405162461bcd60e51b815260206004820152601460248201527354726164696e67206973206e6f74206f70656e2160601b604482015260640161072c565b806000036113a9576113a4838360006117d8565b505050565b600f54610100900460ff161561161e57600b546001600160a01b0384811691161480156113ef57506001600160a01b03821660009081526010602052604090205460ff16155b1561146957600d548111156114645760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b606482015260840161072c565b611515565b600b546001600160a01b03838116911614801561149f57506001600160a01b03831660009081526010602052604090205460ff16155b1561151557600d548111156115155760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b606482015260840161072c565b6001600160a01b03831660009081526010602052604090205460ff1615801561154c5750600a546001600160a01b03838116911614155b80156115665750600b546001600160a01b03838116911614155b801561158b57506001600160a01b03821660009081526010602052604090205460ff16155b1561161e57600e54816115b3846001600160a01b031660009081526020819052604090205490565b6115bd9190611e4e565b111561161e5760405162461bcd60e51b815260206004820152602a60248201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785760448201526930b63632ba29b4bd329760b11b606482015260840161072c565b30600090815260208190526040902054600c548110801590819061164c5750600b54600160a01b900460ff16155b80156116655750600b546001600160a01b038581169116145b1561169357600b805460ff60a01b1916600160a01b17905561168561192d565b600b805460ff60a01b191690555b600b546001600160a01b03861660009081526010602052604090205460ff600160a01b9092048216159116806116e157506001600160a01b03851660009081526010602052604090205460ff165b156116ea575060005b801561177357600b546000906001600160a01b039081169088160361172a576064600654866117199190611e83565b6117239190611e61565b9050611754565b600b546001600160a01b0390811690871603611750576064600754866117199190611e83565b5060005b61175e8186611f9a565b94508015611771576117718730836117d8565b505b61177e8686866117d8565b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166117fe5760405162461bcd60e51b815260040161072c90611f12565b6001600160a01b0382166118245760405162461bcd60e51b815260040161072c90611f57565b6001600160a01b0383166000908152602081905260409020548181101561189c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161072c565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906118d3908490611e4e565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161191f91815260200190565b60405180910390a350505050565b30600090815260208190526040812054908190036119485750565b600c54611956906014611e83565b81111561196e57600c5461196b906014611e83565b90505b611977816119dc565b50476000600a611988836008611e83565b6119929190611e61565b90506000600a6119a3846002611e83565b6119ad9190611e61565b6008549091506119c6906001600160a01b031683611b15565b6009546113a4906001600160a01b031682611b15565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a1157611a11611fad565b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611a6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8e9190611fc3565b81600181518110611aa157611aa1611fad565b6001600160a01b039283166020918202929092010152600a5460405163791ac94760e01b815291169063791ac94790611ae7908590600090869030904290600401611fe0565b600060405180830381600087803b158015611b0157600080fd5b505af115801561177e573d6000803e3d6000fd5b80471015611b655760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161072c565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611bb2576040519150601f19603f3d011682016040523d82523d6000602084013e611bb7565b606091505b50509050806113a45760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161072c565b600060208083528351808285015260005b81811015611c5b57858101830151858201604001528201611c3f565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461110957600080fd5b60008060408385031215611ca457600080fd5b8235611caf81611c7c565b946020939093013593505050565b60008060408385031215611cd057600080fd5b50508035926020909101359150565b600080600060608486031215611cf457600080fd5b8335611cff81611c7c565b92506020840135611d0f81611c7c565b929592945050506040919091013590565b600060208284031215611d3257600080fd5b8135611d3d81611c7c565b9392505050565b600060208284031215611d5657600080fd5b5035919050565b600080600060608486031215611d7257600080fd5b505081359360208301359350604090920135919050565b801515811461110957600080fd5b60008060408385031215611daa57600080fd5b8235611db581611c7c565b91506020830135611dc581611d89565b809150509250929050565b60008060408385031215611de357600080fd5b8235611dee81611c7c565b91506020830135611dc581611c7c565b600181811c90821680611e1257607f821691505b602082108103611e3257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156107e7576107e7611e38565b600082611e7e57634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176107e7576107e7611e38565b60208082526022908201527f2077616c6c65742063616e6e6f7420626520746865207a65726f206164647265604082015261737360f01b606082015260800190565b600060208284031215611eee57600080fd5b5051919050565b600060208284031215611f0757600080fd5b8151611d3d81611d89565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156107e7576107e7611e38565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611fd557600080fd5b8151611d3d81611c7c565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156120305784516001600160a01b03168352938301939183019160010161200b565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220b816007ff20b2ae7faee6ef12e80a6077c5c4a46dfdaa6c800bd7b0f9ffa7c7764736f6c63430008140033

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

0000000000000000000000001a2ea5995a2ac7144763b09e2deec9f0187ffc60

-----Decoded View---------------
Arg [0] : initialOwner (address): 0x1a2ea5995A2AC7144763B09E2DEEC9f0187FFC60

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000001a2ea5995a2ac7144763b09e2deec9f0187ffc60


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

Degen Games (DG) is a platform that offers a variety of games to crypto degens. Degen football is the pioneer game of DG. Degen football is a web3 football prediction platform that gives you the opportunity to earn rewards for your prediction skills. This is not a betting platform.

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.