ETH Price: $3,124.24 (+1.86%)

Contract

0xF2F364C9262848c378eFabcf596402273d932200
 

Overview

ETH Balance

11.264453233128258865 ETH

Eth Value

$35,192.86 (@ $3,124.24/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer211961862024-11-15 22:50:472 days ago1731711047IN
0xF2F364C9...73d932200
0 ETH0.0014328730.62019556
Approve211071262024-11-03 12:30:1114 days ago1730637011IN
0xF2F364C9...73d932200
0 ETH0.000254035.45224073
Approve210351462024-10-24 11:25:3524 days ago1729769135IN
0xF2F364C9...73d932200
0 ETH0.00020488.42545655
Approve210196702024-10-22 7:36:4726 days ago1729582607IN
0xF2F364C9...73d932200
0 ETH0.000283016.09946162
Approve210053322024-10-20 7:35:2328 days ago1729409723IN
0xF2F364C9...73d932200
0 ETH0.0006937814.87156002
Approve209957542024-10-18 23:32:2330 days ago1729294343IN
0xF2F364C9...73d932200
0 ETH0.00041868.97283452
Approve209680242024-10-15 2:36:3533 days ago1728959795IN
0xF2F364C9...73d932200
0 ETH0.0007084315.26799595
Approve209489982024-10-12 10:43:1136 days ago1728729791IN
0xF2F364C9...73d932200
0 ETH0.000197418.11328482
Approve209489812024-10-12 10:39:4736 days ago1728729587IN
0xF2F364C9...73d932200
0 ETH0.000401238.60729932
Approve209384492024-10-10 23:17:5938 days ago1728602279IN
0xF2F364C9...73d932200
0 ETH0.000447539.64508608
Approve209205072024-10-08 11:17:2340 days ago1728386243IN
0xF2F364C9...73d932200
0 ETH0.0006876914.75991673
Approve208989452024-10-05 11:10:1143 days ago1728126611IN
0xF2F364C9...73d932200
0 ETH0.0004990510.69749332
Approve208987972024-10-05 10:40:3543 days ago1728124835IN
0xF2F364C9...73d932200
0 ETH0.0007222315.4814294
Approve208972392024-10-05 5:27:4743 days ago1728106067IN
0xF2F364C9...73d932200
0 ETH0.000137215.63109605
Approve208815222024-10-03 0:52:2346 days ago1727916743IN
0xF2F364C9...73d932200
0 ETH0.000373137.99817621
Approve208707662024-10-01 12:52:2347 days ago1727787143IN
0xF2F364C9...73d932200
0 ETH0.0008412818.03320915
Transfer208550292024-09-29 8:14:1149 days ago1727597651IN
0xF2F364C9...73d932200
0.0002 ETH0.000509168.40036194
Approve208541682024-09-29 5:20:3549 days ago1727587235IN
0xF2F364C9...73d932200
0 ETH0.000333367.14583568
Transfer208418792024-09-27 12:11:4751 days ago1727439107IN
0xF2F364C9...73d932200
0.0001 ETH0.0002329811.09472853
Approve208404992024-09-27 7:34:5951 days ago1727422499IN
0xF2F364C9...73d932200
0 ETH0.0004949710.60984318
Transfer208404942024-09-27 7:33:5951 days ago1727422439IN
0xF2F364C9...73d932200
0 ETH0.0003597812.09143429
Transfer208404912024-09-27 7:33:2351 days ago1727422403IN
0xF2F364C9...73d932200
0 ETH0.0003731812.54206311
Transfer208404732024-09-27 7:29:4751 days ago1727422187IN
0xF2F364C9...73d932200
0.0001 ETH0.0002445311.64453116
Transfer208404682024-09-27 7:28:4751 days ago1727422127IN
0xF2F364C9...73d932200
0.0001 ETH0.0010530411.77756439
Transfer208404652024-09-27 7:28:1151 days ago1727422091IN
0xF2F364C9...73d932200
0.0001 ETH0.0010498611.74201578
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
208550292024-09-29 8:14:1149 days ago1727597651
0xF2F364C9...73d932200
0.02593827 ETH
208404682024-09-27 7:28:4751 days ago1727422127
0xF2F364C9...73d932200
0.0001 ETH
208404652024-09-27 7:28:1151 days ago1727422091
0xF2F364C9...73d932200
0.0001 ETH
208404612024-09-27 7:27:2351 days ago1727422043
0xF2F364C9...73d932200
0.0001 ETH
208404252024-09-27 7:20:1151 days ago1727421611
0xF2F364C9...73d932200
0.54466342 ETH
208404222024-09-27 7:19:3551 days ago1727421575
0xF2F364C9...73d932200
0.0001 ETH
208404192024-09-27 7:18:5951 days ago1727421539
0xF2F364C9...73d932200
1.48510024 ETH
208404162024-09-27 7:18:2351 days ago1727421503
0xF2F364C9...73d932200
0.19818669 ETH
208404122024-09-27 7:17:3551 days ago1727421455
0xF2F364C9...73d932200
0.49516674 ETH
208404072024-09-27 7:16:3551 days ago1727421395
0xF2F364C9...73d932200
0.14869002 ETH
208403572024-09-27 7:06:3551 days ago1727420795
0xF2F364C9...73d932200
2.97000048 ETH
208403532024-09-27 7:05:4751 days ago1727420747
0xF2F364C9...73d932200
9.15708482 ETH
208403492024-09-27 7:04:5951 days ago1727420699
0xF2F364C9...73d932200
8.90960144 ETH
208329242024-09-26 6:14:1152 days ago1727331251
0xF2F364C9...73d932200
0.01999866 ETH
208329222024-09-26 6:13:4752 days ago1727331227
0xF2F364C9...73d932200
0.0001 ETH
208279702024-09-25 13:38:5953 days ago1727271539
0xF2F364C9...73d932200
0.04969667 ETH
208279452024-09-25 13:33:4753 days ago1727271227
0xF2F364C9...73d932200
0.12889135 ETH
208258542024-09-25 6:32:2353 days ago1727245943
0xF2F364C9...73d932200
0.029898 ETH
208199702024-09-24 10:50:5954 days ago1727175059
0xF2F364C9...73d932200
0.04969667 ETH
208187292024-09-24 6:42:1154 days ago1727160131
0xF2F364C9...73d932200
0.0001 ETH
208170102024-09-24 0:57:1155 days ago1727139431
0xF2F364C9...73d932200
0.01999866 ETH
208146712024-09-23 17:07:1155 days ago1727111231
0xF2F364C9...73d932200
1.18812019 ETH
208142902024-09-23 15:50:5955 days ago1727106659
0xF2F364C9...73d932200
0.01999866 ETH
208142062024-09-23 15:33:5955 days ago1727105639
0xF2F364C9...73d932200
0.29718004 ETH
208142062024-09-23 15:33:5955 days ago1727105639
0xF2F364C9...73d932200
0.0001 ETH
View All Internal Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x82F5F21e...f824F1ab9
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
FairLaunchLimitBlockTokenV3

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 20000 runs

Other Settings:
paris EvmVersion
File 1 of 16 : FairLaunchLimitBlockV3.sol
// SPDX-License-Identifier: MIT
pragma solidity =0.8.24;

// IERC20
import {IERC20} from "openzeppelin-contracts/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol";
import {ReentrancyGuard} from "openzeppelin-contracts/contracts/utils/ReentrancyGuard.sol";
import {Meme} from "./Meme.sol";
import {IFairLaunch, FairLaunchLimitBlockStruct} from "./IFairLaunch.sol";
import {NoDelegateCall} from "./NoDelegateCall.sol";
import {IERC721} from "openzeppelin-contracts/contracts/token/ERC721/IERC721.sol";

interface IUniLocker {
    function lock(
        address lpToken,
        uint256 amountOrId,
        uint256 unlockBlock
    ) external returns (uint256 id);
}

interface IUniswapV3Factory {
    function getPool(
        address tokenA,
        address tokenB,
        uint24 fee
    ) external view returns (address pool);

    function createPool(
        address tokenA,
        address tokenB,
        uint24 fee
    ) external returns (address pool);
}

interface IFactory {
    function owner() external view returns (address);
}

interface INonfungiblePositionManager {
    function WETH9() external pure returns (address);

    struct MintParams {
        address token0;
        address token1;
        uint24 fee;
        int24 tickLower;
        int24 tickUpper;
        uint256 amount0Desired;
        uint256 amount1Desired;
        uint256 amount0Min;
        uint256 amount1Min;
        address recipient;
        uint256 deadline;
    }

    function mint(
        MintParams calldata params
    )
        external
        payable
        returns (
            uint256 tokenId,
            uint128 liquidity,
            uint256 amount0,
            uint256 amount1
        );

    function createAndInitializePoolIfNecessary(
        address token0,
        address token1,
        uint24 fee,
        uint160 sqrtPriceX96
    ) external payable returns (address pool);

    function refundETH() external payable;
}

contract FairLaunchLimitBlockTokenV3 is
    IFairLaunch,
    Meme,
    ReentrancyGuard,
    NoDelegateCall
{
    using SafeERC20 for IERC20;
    using Math for uint256;

    // refund command
    // before start, you can always refund
    // send 0.0002 ether to the contract address to refund all ethers
    uint256 public constant REFUND_COMMAND = 0.0002 ether;

    // claim command
    // after start, you can claim extra eth
    // send 0.0002 ether to the contract address to claim extra eth
    uint256 public constant CLAIM_COMMAND = 0.0002 ether;

    // start trading command
    // if the untilBlockNumber reached, you can start trading with this command
    // send 0.0005 ether to the contract address to start trading
    uint256 public constant START_COMMAND = 0.0005 ether;

    // mint command
    // if the untilBlockNumber reached, you can mint token with this command
    // send 0.0001 ether to the contract address to get tokens
    uint256 public constant MINT_COMMAND = 0.0001 ether;

    // minimal fund
    uint256 public constant MINIMAL_FUND = 0.0001 ether;

    // is trading started
    bool public started;

    address public immutable uniswapPositionManager;
    address public immutable uniswapFactory;

    // fund balance
    mapping(address => uint256) public fundBalanceOf;

    // is address minted
    mapping(address => bool) public minted;

    // total dispatch amount
    uint256 public immutable totalDispatch;

    // until block number
    uint256 public immutable untilBlockNumber;

    // total ethers funded
    uint256 public totalEthers;

    // soft top cap
    uint256 public immutable softTopCap;

    // refund fee rate
    uint256 public refundFeeRate;

    // refund fee to
    address public immutable refundFeeTo;

    // is address claimed extra eth
    mapping(address => bool) public claimed;

    // recipient must be a contract address of IUniLocker
    address public immutable locker;

    // feePool
    uint24 public immutable poolFee;

    // project owner, whill receive the locked lp
    address public immutable projectOwner;

    // fair launch factory
    address public immutable factory;

    // weth
    address public immutable weth;

    // launchfeerate 0.3%
    uint256 public constant launchFeeRate = 30;

    //
    uint256 public constant maxFundLimit = 10 ether;

    int24 public immutable tickLower;

    int24 public immutable tickUpper;

    constructor(
        address _locker,
        uint24 _poolFee,
        address _projectOwner,
        FairLaunchLimitBlockStruct memory params
    ) Meme(params.name, params.symbol, params.meta) {
        started = false;

        totalDispatch = params.totalSupply;
        _mint(address(this), totalDispatch);

        // set uniswap router
        uniswapPositionManager = params.uniswapRouter;
        uniswapFactory = params.uniswapFactory;

        meta = params.meta;

        untilBlockNumber = params.afterBlock + block.number;
        softTopCap = params.softTopCap;

        refundFeeRate = params.refundFeeRate;
        refundFeeTo = params.refundFeeTo;

        locker = _locker;
        projectOwner = _projectOwner;

        poolFee = _poolFee;
        factory = msg.sender;

        tickLower = block.chainid == 56 || block.chainid == 97
            ? -887250
            : -887220;
        tickUpper = block.chainid == 56 || block.chainid == 97
            ? int24(887250)
            : int24(887220);

        weth = INonfungiblePositionManager(uniswapPositionManager).WETH9();

        (address token0, address token1) = address(this) < weth
            ? (address(this), weth)
            : (weth, address(this));

        (uint256 amount0, uint256 amount1) = address(this) < weth
            ? (totalDispatch / 2, softTopCap)
            : (softTopCap, totalDispatch / 2);

        uint160 sqrtPriceX96 = getSqrtPriceX96(amount0, amount1);
        INonfungiblePositionManager(uniswapPositionManager)
            .createAndInitializePoolIfNecessary(
                token0,
                token1,
                poolFee,
                sqrtPriceX96
            );
    }

    // clear refund fee
    function clearRefundFee() public {
        IFactory _factory = IFactory(factory);
        require(msg.sender == _factory.owner(), "FairMint: only owner");
        refundFeeRate = 0;
    }

    receive() external payable noDelegateCall {
        if (msg.sender == uniswapPositionManager) {
            return;
        }
        require(
            tx.origin == msg.sender,
            "FairMint: can not send command from contract."
        );

        if (started) {
            // after started
            if (msg.value == MINT_COMMAND) {
                // mint token
                _mintToken();
            } else if (msg.value == CLAIM_COMMAND) {
                _claimExtraETH();
            } else {
                revert("FairMint: invalid command - mint or claim only");
            }
        } else {
            // before started
            if (canStart()) {
                if (msg.value == REFUND_COMMAND) {
                    // before start, you can always refund
                    _refund();
                } else if (msg.value == START_COMMAND) {
                    // start trading, add liquidity to uniswap
                    _start();
                } else {
                    revert("FairMint: invalid command - start or refund only");
                }
            } else {
                if (msg.value == REFUND_COMMAND) {
                    // before start, you can always refund
                    _refund();
                } else {
                    // before start, any other value will be considered as fund
                    _fund();
                }
            }
        }
    }

    function canStart() public view returns (bool) {
        return block.number >= untilBlockNumber;
    }

    // get extra eth
    function getExtraETH(address _addr) public view returns (uint256) {
        uint256 left = totalEthers - _getFee(totalEthers);
        if (left > softTopCap) {
            // 0.001 * (left - softTopCap) / left
            uint256 claimAmount = fundBalanceOf[_addr] * (left - softTopCap) /
                totalEthers;
            return claimAmount;
        }
        return 0;
    }

    function _getFee(uint256 amount) private pure returns (uint256) {
        return (amount * launchFeeRate) / 10000;
    }

    // claim extra eth
    function _claimExtraETH() private nonReentrant {
        // must after start
        require(started, "FairMint: withdraw extra eth must after start");
        require(softTopCap > 0, "FairMint: soft top cap must be set");
        require(totalEthers > softTopCap, "FairMint: no extra eth");

        uint256 fundAmount = fundBalanceOf[msg.sender];
        require(fundAmount > 0, "FairMint: no fund");

        require(!claimed[msg.sender], "FairMint: already claimed");
        claimed[msg.sender] = true;

        uint256 claimAmount = getExtraETH(msg.sender);
        // send to msg sender
        (bool success, ) = msg.sender.call{value: claimAmount + CLAIM_COMMAND}(
            ""
        );
        require(success, "FairMint: withdraw failed");
    }

    // estimate how many tokens you might get
    function mightGet(address account) public view returns (uint256) {
        if (totalEthers == 0) {
            return 0;
        }
        uint256 _mintAmount = (totalDispatch * fundBalanceOf[account]) /
            2 /
            totalEthers;
        return _mintAmount;
    }

    function _fund() private nonReentrant {
        // require msg.value > 0.0001 ether
        require(!started, "FairMint: already started");
        require(msg.value >= MINIMAL_FUND, "FairMint: value too low");
        // each account can only fund 10 ethers
        require(
            fundBalanceOf[msg.sender] + msg.value <= maxFundLimit,
            "FairMint: fund limit reached"
        );
        fundBalanceOf[msg.sender] += msg.value;
        totalEthers += msg.value;
        emit FundEvent(msg.sender, msg.value, 0);
    }

    function _refund() private nonReentrant {
        require(!started, "FairMint: already started");

        address account = msg.sender;
        uint256 amount = fundBalanceOf[account];
        require(amount > 0, "FairMint: no fund");
        fundBalanceOf[account] = 0;
        totalEthers -= amount;

        uint256 fee = (amount * refundFeeRate) / 10000;
        assert(fee < amount);

        if (fee > 0 && refundFeeTo != address(0)) {
            (bool success, ) = refundFeeTo.call{value: fee}("");
            require(success, "FairMint: refund fee failed");
        }

        (bool success1, ) = account.call{value: amount - fee + REFUND_COMMAND}(
            ""
        );
        require(success1, "FairMint: refund failed");
        emit RefundEvent(account, 0, amount);
    }

    function _mintToken() private nonReentrant {
        require(started, "FairMint: not started");
        require(msg.sender == tx.origin, "FairMint: can not mint to contract.");
        require(!minted[msg.sender], "FairMint: already minted");

        minted[msg.sender] = true;

        uint256 _mintAmount = mightGet(msg.sender);

        require(_mintAmount > 0, "FairMint: mint amount is zero");
        assert(_mintAmount <= totalDispatch / 2);
        _transfer(address(this), msg.sender, _mintAmount);

        (bool success, ) = msg.sender.call{value: MINT_COMMAND}("");
        require(success, "FairMint: mint failed");
    }

    function _start() private nonReentrant {
        require(!started, "FairMint: already started");
        require(balanceOf(address(this)) > 0, "FairMint: no balance");
        INonfungiblePositionManager _positionManager = INonfungiblePositionManager(
                uniswapPositionManager
            );

        uint256 fee = _getFee(totalEthers);
        uint256 left = totalEthers - fee;

        uint256 totalAdd = softTopCap > 0
            ? softTopCap < left ? softTopCap : left
            : left;

        _approve(
            address(this),
            uniswapPositionManager,
            type(uint256).max,
            false
        );

        (address token0, address token1) = address(this) < weth
            ? (address(this), weth)
            : (weth, address(this));

        (uint256 amount0, uint256 amount1) = address(this) < weth
            ? (totalDispatch / 2, totalAdd)
            : (totalAdd, totalDispatch / 2);

        INonfungiblePositionManager.MintParams memory params = INonfungiblePositionManager
            .MintParams({
                token0: token0,
                token1: token1,
                fee: poolFee,
                tickLower: tickLower, 
                tickUpper: tickUpper, 
                amount0Desired: amount0,
                amount1Desired: amount1,
                amount0Min: weth == token0 ? (amount0 * 9800) / 10000 : 0,
                amount1Min: weth == token1 ? (amount1 * 9800) / 10000 : 0,
                recipient: locker == address(0) ? address(0) : address(this),
                deadline: block.timestamp + 1 hours
            });

        (
            uint256 tokenId,
            uint128 liquidity,
            uint256 _amount0,
            uint256 _amount1
        ) = _positionManager.mint{value: totalAdd}(params);

        _positionManager.refundETH();
        started = true;

        // drop all of the rest tokens to zero
        if (
            IERC20(address(this)).balanceOf(address(this)) > totalDispatch / 2
        ) {
            _burn(address(this), balanceOf(address(this)) - totalDispatch / 2);
        }

        emit LaunchEvent(address(this), _amount0, _amount1, liquidity);
        // lock lp into contract forever
        if (locker != address(0)) {
            IERC721(uniswapPositionManager).approve(locker, tokenId);
            IUniLocker _locker = IUniLocker(locker);
            uint256 _lockId = _locker.lock(
                uniswapPositionManager,
                tokenId,
                type(uint256).max
            );
            IERC721(locker).transferFrom(address(this), projectOwner, _lockId);
        }

        // split fee : refundAddress 0.1% , projectOwner 0.2%
        if (fee > 0) {
            (bool success1, ) = refundFeeTo.call{value: totalEthers / 1000}("");
            require(success1, "FairMint: refund fee failed");

            (bool success2, ) = projectOwner.call{
                value: (totalEthers * 2) / 1000
            }("");
            require(success2, "FairMint: project fee failed");
        }

        // mint token
        (bool success, ) = msg.sender.call{value: START_COMMAND}("");
        require(success, "FairMint: mint failed");
    }

    function _update(
        address from,
        address to,
        uint256 value
    ) internal override {
        require(value > 0, "ERC20: transfer from the zero address");
        super._update(from, to, value);
    }

    function getSqrtPriceX96(
        uint256 amount0,
        uint256 amount1
    ) internal pure returns (uint160) {
        require(amount0 > 0 && amount1 > 0, "Amounts must be greater than 0");

        uint256 price = (amount1 * 1e18) / amount0;
        uint256 sqrtPrice = price.sqrt();
        uint256 sqrtPriceX96Full = (sqrtPrice << 96) / 1e9;
        return uint160(sqrtPriceX96Full);
    }
}

library Math {
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 result = a;
        uint256 k = a / 2 + 1;
        while (k < result) {
            result = k;
            k = (a / k + k) / 2;
        }
        return result;
    }
}

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

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

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

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

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

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

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

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

File 3 of 16 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";
import {IERC20Permit} from "../extensions/IERC20Permit.sol";
import {Address} from "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    /**
     * @dev An operation with an ERC20 token failed.
     */
    error SafeERC20FailedOperation(address token);

    /**
     * @dev Indicates a failed `decreaseAllowance` request.
     */
    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        forceApprove(token, spender, oldAllowance + value);
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
     * value, non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
        unchecked {
            uint256 currentAllowance = token.allowance(address(this), spender);
            if (currentAllowance < requestedDecrease) {
                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
            }
            forceApprove(token, spender, currentAllowance - requestedDecrease);
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data);
        if (returndata.length != 0 && !abi.decode(returndata, (bool))) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;
    }
}

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

pragma solidity ^0.8.20;

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

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

    uint256 private _status;

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

    constructor() {
        _status = NOT_ENTERED;
    }

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

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

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

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

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

File 5 of 16 : Meme.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

import {IMeme} from "./IMeme.sol";
import {ERC20} from "openzeppelin-contracts/contracts/token/ERC20/ERC20.sol";

contract Meme is IMeme, ERC20 {
    string public override meta;

    constructor(
        string memory name,
        string memory symbol,
        string memory _meta) ERC20(name, symbol) {
        meta = _meta;
    }

    function _update(address from, address to, uint256 value) internal virtual override {
        super._update(from, to, value);
    }
}

File 6 of 16 : IFairLaunch.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

interface IFairLaunch {
    event Deployed(address indexed addr, uint256 _type);
    event FundEvent(
        address indexed to,
        uint256 ethAmount,
        uint256 amountOfTokens
    );

    event LaunchEvent(
        address indexed to,
        uint256 amount,
        uint256 ethAmount,
        uint256 liquidity
    );
    event RefundEvent(address indexed from, uint256 amount, uint256 eth);
}

struct FairLaunchLimitAmountStruct {
    uint256 price;
    uint256 amountPerUnits;
    uint256 totalSupply;
    address launcher;
    address uniswapRouter;
    address uniswapFactory;
    string name;
    string symbol;
    string meta;
    uint256 eachAddressLimitEthers;
    uint256 refundFeeRate;
    address refundFeeTo;
}

struct FairLaunchLimitBlockStruct {
    uint256 totalSupply;
    address uniswapRouter;
    address uniswapFactory;
    string name;
    string symbol;
    string meta;
    uint256 afterBlock;
    uint256 softTopCap;
    uint256 refundFeeRate;
    address refundFeeTo;
}

File 7 of 16 : NoDelegateCall.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.19;

/// @title Prevents delegatecall to a contract
/// @notice Base contract that provides a modifier for preventing delegatecall to methods in a child contract
abstract contract NoDelegateCall {
    /// @dev The original address of this contract
    address private immutable original;

    constructor() {
        // Immutables are computed in the init code of the contract, and then inlined into the deployed bytecode.
        // In other words, this variable won't change when it's checked at runtime.
        original = address(this);
    }

    /// @dev Private method is used instead of inlining into modifier because modifiers are copied into each method,
    ///     and the use of immutable means the address bytes are copied in every place the modifier is used.
    function checkNotDelegateCall() private view {
        require(address(this) == original);
    }

    /// @notice Prevents delegatecall into the modified method
    modifier noDelegateCall() {
        checkNotDelegateCall();
        _;
    }
}

File 8 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon
     *   a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or
     *   {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon
     *   a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the address zero.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 9 of 16 : IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * ==== Security Considerations
 *
 * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
 * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
 * considered as an intention to spend the allowance in any specific way. The second is that because permits have
 * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
 * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
 * generally recommended is:
 *
 * ```solidity
 * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
 *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
 *     doThing(..., value);
 * }
 *
 * function doThing(..., uint256 value) public {
 *     token.safeTransferFrom(msg.sender, address(this), value);
 *     ...
 * }
 * ```
 *
 * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
 * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
 * {SafeERC20-safeTransferFrom}).
 *
 * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
 * contracts should have entry points that don't rely on permit.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     *
     * CAUTION: See Security Considerations above.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 10 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)

pragma solidity ^0.8.20;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error AddressInsufficientBalance(address account);

    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

    /**
     * @dev A call to an address target failed. The target may have reverted.
     */
    error FailedInnerCall();

    /**
     * @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://consensys.net/diligence/blog/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.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        if (address(this).balance < amount) {
            revert AddressInsufficientBalance(address(this));
        }

        (bool success, ) = recipient.call{value: amount}("");
        if (!success) {
            revert FailedInnerCall();
        }
    }

    /**
     * @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 or custom error, it is bubbled
     * up by this function (like regular Solidity function calls). However, if
     * the call reverted with no returned reason, this function reverts with a
     * {FailedInnerCall} error.
     *
     * 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.
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0);
    }

    /**
     * @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`.
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert AddressInsufficientBalance(address(this));
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
     * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an
     * unsuccessful call.
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata
    ) internal view returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            // only check if target is a contract if the call was successful and the return data is empty
            // otherwise we already know that it was a contract
            if (returndata.length == 0 && target.code.length == 0) {
                revert AddressEmptyCode(target);
            }
            return returndata;
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
     * revert reason or with a default {FailedInnerCall} error.
     */
    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            return returndata;
        }
    }

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

File 11 of 16 : IMeme.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

import {IERC20Metadata} from "openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol";

interface IMeme is IERC20Metadata {
    function meta() external view returns (string memory);
}

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

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * 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 returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return 18;
    }

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

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

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

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

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

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

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

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

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

        emit Transfer(from, to, value);
    }

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

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

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

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

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

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

pragma solidity ^0.8.20;

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

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

pragma solidity ^0.8.20;

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

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

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

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

File 15 of 16 : 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;
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Settings
{
  "remappings": [
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 20000
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "viaIR": false,
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_locker","type":"address"},{"internalType":"uint24","name":"_poolFee","type":"uint24"},{"internalType":"address","name":"_projectOwner","type":"address"},{"components":[{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"address","name":"uniswapRouter","type":"address"},{"internalType":"address","name":"uniswapFactory","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"meta","type":"string"},{"internalType":"uint256","name":"afterBlock","type":"uint256"},{"internalType":"uint256","name":"softTopCap","type":"uint256"},{"internalType":"uint256","name":"refundFeeRate","type":"uint256"},{"internalType":"address","name":"refundFeeTo","type":"address"}],"internalType":"struct FairLaunchLimitBlockStruct","name":"params","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","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":"addr","type":"address"},{"indexed":false,"internalType":"uint256","name":"_type","type":"uint256"}],"name":"Deployed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"ethAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountOfTokens","type":"uint256"}],"name":"FundEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidity","type":"uint256"}],"name":"LaunchEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"eth","type":"uint256"}],"name":"RefundEvent","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":[],"name":"CLAIM_COMMAND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINIMAL_FUND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_COMMAND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REFUND_COMMAND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"START_COMMAND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"clearRefundFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"fundBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"getExtraETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchFeeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"locker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFundLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"meta","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"mightGet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolFee","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"projectOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"refundFeeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"refundFeeTo","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"softTopCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"started","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":"tickLower","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tickUpper","outputs":[{"internalType":"int24","name":"","type":"int24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDispatch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalEthers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapFactory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapPositionManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"untilBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

Deployed Bytecode

0x6080604052600436106102bf5760003560e01c8063825521701161016e578063c884ef83116100cb578063e5047b301161007f578063f196248611610064578063f196248614610b29578063f570ee6b14610b3e578063fb5d5d4d146108ef57600080fd5b8063e5047b3014610abf578063ec30903814610af357600080fd5b8063d35e7efc116100b0578063d35e7efc14610a0b578063d7b96d4e14610a38578063dd62ed3e14610a6c57600080fd5b8063c884ef83146109c6578063c885044e146109f657600080fd5b8063a4475ce411610122578063a92bc58a11610107578063a92bc58a1461095d578063b5e4fed11461097d578063c45a01551461099257600080fd5b8063a4475ce414610909578063a9059cbb1461093d57600080fd5b806395d89b411161015357806395d89b41146108da578063996eba2d146108ef5780639ecf0090146106db57600080fd5b8063825521701461088b5780638bdb2afa146108a657600080fd5b80633fc8cef31161021c5780635ce38d99116101d05780636ee2627b116101b55780636ee2627b146107f857806370a08231146108145780637b0fa9541461085757600080fd5b80635ce38d99146107a457806368b63c24146107d857600080fd5b8063544d46a311610201578063544d46a3146106f557806355b812a81461072957806359c4f9051461077057600080fd5b80633fc8cef314610682578063475a519f146106db57600080fd5b80631e7269c51161027357806323b872dd1161025857806323b872dd14610630578063313ce5671461065057806332c4f2bf1461066c57600080fd5b80631e7269c5146105e65780631f2698ab1461061657600080fd5b8063095ea7b3116102a4578063095ea7b31461057d5780630a4625af146105ad57806318160ddd146105d157600080fd5b806306fdde031461050a578063089fe6aa1461053557600080fd5b36610505576102cc610b72565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c36442b4a4522e871399cd717abdd847ab11fe8816146103a3573233146103835760405162461bcd60e51b815260206004820152602d60248201527f466169724d696e743a2063616e206e6f742073656e6420636f6d6d616e64206660448201527f726f6d20636f6e74726163742e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b60075460ff161561042857655af3107a400034036103a5576103a3610bb6565b005b65b5e620f4800034036103ba576103a3610e68565b60405162461bcd60e51b815260206004820152602e60248201527f466169724d696e743a20696e76616c696420636f6d6d616e64202d206d696e7460448201527f206f7220636c61696d206f6e6c79000000000000000000000000000000000000606482015260840161037a565b7f00000000000000000000000000000000000000000000000000000000013d971143106104e85765b5e620f480003403610464576103a36111a2565b6601c6bf52634000340361047a576103a361150a565b60405162461bcd60e51b815260206004820152603060248201527f466169724d696e743a20696e76616c696420636f6d6d616e64202d207374617260448201527f74206f7220726566756e64206f6e6c7900000000000000000000000000000000606482015260840161037a565b65b5e620f4800034036104fd576103a36111a2565b6103a36121f9565b600080fd5b34801561051657600080fd5b5061051f61239f565b60405161052c9190612d31565b60405180910390f35b34801561054157600080fd5b506105697f0000000000000000000000000000000000000000000000000000000000000bb881565b60405162ffffff909116815260200161052c565b34801561058957600080fd5b5061059d610598366004612dc3565b612431565b604051901515815260200161052c565b3480156105b957600080fd5b506105c3600a5481565b60405190815260200161052c565b3480156105dd57600080fd5b506002546105c3565b3480156105f257600080fd5b5061059d610601366004612def565b60096020526000908152604090205460ff1681565b34801561062257600080fd5b5060075461059d9060ff1681565b34801561063c57600080fd5b5061059d61064b366004612e0c565b61244b565b34801561065c57600080fd5b506040516012815260200161052c565b34801561067857600080fd5b506105c3600b5481565b34801561068e57600080fd5b506106b67f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161052c565b3480156106e757600080fd5b506105c3655af3107a400081565b34801561070157600080fd5b506106b67f00000000000000000000000069691ce612c244b0829b9e124cca063816da144881565b34801561073557600080fd5b5061075d7f00000000000000000000000000000000000000000000000000000000000d89b481565b60405160029190910b815260200161052c565b34801561077c57600080fd5b5061075d7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff2764c81565b3480156107b057600080fd5b506105c37f00000000000000000000000000000000000000000000000000000000013d971181565b3480156107e457600080fd5b506105c36107f3366004612def565b61246f565b34801561080457600080fd5b506105c3678ac7230489e8000081565b34801561082057600080fd5b506105c361082f366004612def565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b34801561086357600080fd5b506105c37f0000000000000000000000000000000000000000409f9cbc7c4a04c22000000081565b34801561089757600080fd5b506105c36601c6bf5263400081565b3480156108b257600080fd5b506106b67f0000000000000000000000001f98431c8ad98523631ae4a59f267346ea31f98481565b3480156108e657600080fd5b5061051f6124f7565b3480156108fb57600080fd5b506105c365b5e620f4800081565b34801561091557600080fd5b506106b67f000000000000000000000000a0f7b92b4f6eb51b0dce12b3e473dbae0bf24ce081565b34801561094957600080fd5b5061059d610958366004612dc3565b612506565b34801561096957600080fd5b506105c3610978366004612def565b612514565b34801561098957600080fd5b506105c3601e81565b34801561099e57600080fd5b506106b67f0000000000000000000000003d904547c301e6a89f1c63f3ba35dcbfd28222f781565b3480156109d257600080fd5b5061059d6109e1366004612def565b600c6020526000908152604090205460ff1681565b348015610a0257600080fd5b5061051f6125d4565b348015610a1757600080fd5b506105c3610a26366004612def565b60086020526000908152604090205481565b348015610a4457600080fd5b506106b67f00000000000000000000000099090d2d220901de904c6e3d003d7ced4b6ec2a481565b348015610a7857600080fd5b506105c3610a87366004612e4d565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b348015610acb57600080fd5b506106b67f000000000000000000000000c36442b4a4522e871399cd717abdd847ab11fe8881565b348015610aff57600080fd5b507f00000000000000000000000000000000000000000000000000000000013d971143101561059d565b348015610b3557600080fd5b506103a3612662565b348015610b4a57600080fd5b506105c37f000000000000000000000000000000000000000000000001158e460913d0000081565b3073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000f2f364c9262848c378efabcf596402273d9322001614610bb457600080fd5b565b610bbe612778565b60075460ff16610c105760405162461bcd60e51b815260206004820152601560248201527f466169724d696e743a206e6f7420737461727465640000000000000000000000604482015260640161037a565b333214610c855760405162461bcd60e51b815260206004820152602360248201527f466169724d696e743a2063616e206e6f74206d696e7420746f20636f6e74726160448201527f63742e0000000000000000000000000000000000000000000000000000000000606482015260840161037a565b3360009081526009602052604090205460ff1615610ce55760405162461bcd60e51b815260206004820152601860248201527f466169724d696e743a20616c7265616479206d696e7465640000000000000000604482015260640161037a565b33600081815260096020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905590610d279061246f565b905060008111610d795760405162461bcd60e51b815260206004820152601d60248201527f466169724d696e743a206d696e7420616d6f756e74206973207a65726f000000604482015260640161037a565b610da460027f0000000000000000000000000000000000000000409f9cbc7c4a04c220000000612eb5565b811115610db357610db3612ef0565b610dbe3033836127bb565b6040516000903390655af3107a4000908381818185875af1925050503d8060008114610e06576040519150601f19603f3d011682016040523d82523d6000602084013e610e0b565b606091505b5050905080610e5c5760405162461bcd60e51b815260206004820152601560248201527f466169724d696e743a206d696e74206661696c65640000000000000000000000604482015260640161037a565b5050610bb46001600655565b610e70612778565b60075460ff16610ee85760405162461bcd60e51b815260206004820152602d60248201527f466169724d696e743a20776974686472617720657874726120657468206d757360448201527f7420616674657220737461727400000000000000000000000000000000000000606482015260840161037a565b60007f000000000000000000000000000000000000000000000001158e460913d0000011610f7e5760405162461bcd60e51b815260206004820152602260248201527f466169724d696e743a20736f667420746f7020636170206d757374206265207360448201527f6574000000000000000000000000000000000000000000000000000000000000606482015260840161037a565b7f000000000000000000000000000000000000000000000001158e460913d00000600a5411610fef5760405162461bcd60e51b815260206004820152601660248201527f466169724d696e743a206e6f2065787472612065746800000000000000000000604482015260640161037a565b336000908152600860205260409020548061104c5760405162461bcd60e51b815260206004820152601160248201527f466169724d696e743a206e6f2066756e64000000000000000000000000000000604482015260640161037a565b336000908152600c602052604090205460ff16156110ac5760405162461bcd60e51b815260206004820152601960248201527f466169724d696e743a20616c726561647920636c61696d656400000000000000604482015260640161037a565b336000818152600c6020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055906110ee90612514565b905060003361110365b5e620f4800084612f1f565b604051600081818185875af1925050503d806000811461113f576040519150601f19603f3d011682016040523d82523d6000602084013e611144565b606091505b50509050806111955760405162461bcd60e51b815260206004820152601960248201527f466169724d696e743a207769746864726177206661696c656400000000000000604482015260640161037a565b505050610bb46001600655565b6111aa612778565b60075460ff16156111fd5760405162461bcd60e51b815260206004820152601960248201527f466169724d696e743a20616c7265616479207374617274656400000000000000604482015260640161037a565b336000818152600860205260409020548061125a5760405162461bcd60e51b815260206004820152601160248201527f466169724d696e743a206e6f2066756e64000000000000000000000000000000604482015260640161037a565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600860205260408120819055600a8054839290611294908490612f32565b9091555050600b54600090612710906112ad9084612f45565b6112b79190612eb5565b90508181106112c8576112c8612ef0565b60008111801561130d57507f00000000000000000000000069691ce612c244b0829b9e124cca063816da144873ffffffffffffffffffffffffffffffffffffffff1615155b156113e45760007f00000000000000000000000069691ce612c244b0829b9e124cca063816da144873ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d806000811461138c576040519150601f19603f3d011682016040523d82523d6000602084013e611391565b606091505b50509050806113e25760405162461bcd60e51b815260206004820152601b60248201527f466169724d696e743a20726566756e6420666565206661696c65640000000000604482015260640161037a565b505b600073ffffffffffffffffffffffffffffffffffffffff841665b5e620f4800061140e8486612f32565b6114189190612f1f565b604051600081818185875af1925050503d8060008114611454576040519150601f19603f3d011682016040523d82523d6000602084013e611459565b606091505b50509050806114aa5760405162461bcd60e51b815260206004820152601760248201527f466169724d696e743a20726566756e64206661696c6564000000000000000000604482015260640161037a565b60408051600081526020810185905273ffffffffffffffffffffffffffffffffffffffff8616917fb24b09fd2e8e4d8904c3c26f3e935824e032891520ffda419dec9f086b0e1eea910160405180910390a250505050610bb46001600655565b611512612778565b60075460ff16156115655760405162461bcd60e51b815260206004820152601960248201527f466169724d696e743a20616c7265616479207374617274656400000000000000604482015260640161037a565b30600090815260208190526040812054116115c25760405162461bcd60e51b815260206004820152601460248201527f466169724d696e743a206e6f2062616c616e6365000000000000000000000000604482015260640161037a565b60007f000000000000000000000000c36442b4a4522e871399cd717abdd847ab11fe88905060006115f4600a5461286b565b9050600081600a546116069190612f32565b90506000807f000000000000000000000000000000000000000000000001158e460913d00000116116375781611686565b817f000000000000000000000000000000000000000000000001158e460913d00000106116645781611686565b7f000000000000000000000000000000000000000000000001158e460913d000005b90506116d5307f000000000000000000000000c36442b4a4522e871399cd717abdd847ab11fe887fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6000612885565b60008073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216301061173c577f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc23061175f565b307f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc25b909250905060008073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21630106117d557846117d060027f0000000000000000000000000000000000000000409f9cbc7c4a04c220000000612eb5565b611802565b61180060027f0000000000000000000000000000000000000000409f9cbc7c4a04c220000000612eb5565b855b9150915060006040518061016001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020017f0000000000000000000000000000000000000000000000000000000000000bb862ffffff1681526020017ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff2764c60020b81526020017f00000000000000000000000000000000000000000000000000000000000d89b460020b81526020018481526020018381526020018673ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff161461192f576000611948565b61271061193e86612648612f45565b6119489190612eb5565b81526020018573ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff16146119a75760006119c0565b6127106119b685612648612f45565b6119c09190612eb5565b81526020017f00000000000000000000000099090d2d220901de904c6e3d003d7ced4b6ec2a473ffffffffffffffffffffffffffffffffffffffff1615611a075730611a0a565b60005b73ffffffffffffffffffffffffffffffffffffffff168152602001611a3142610e10612f1f565b81525090506000806000808c73ffffffffffffffffffffffffffffffffffffffff1663883164568b876040518363ffffffff1660e01b8152600401611a769190612f5c565b60806040518083038185885af1158015611a94573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611ab99190613047565b93509350935093508c73ffffffffffffffffffffffffffffffffffffffff166312210e8a6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611b0957600080fd5b505af1158015611b1d573d6000803e3d6000fd5b5050600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905550611b78905060027f0000000000000000000000000000000000000000409f9cbc7c4a04c220000000612eb5565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201819052906370a0823190602401602060405180830381865afa158015611bcd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bf1919061309a565b1115611c4557611c4530611c2660027f0000000000000000000000000000000000000000409f9cbc7c4a04c220000000612eb5565b30600090815260208190526040902054611c409190612f32565b6129ce565b60408051838152602081018390526fffffffffffffffffffffffffffffffff851681830152905130917fef1e73540aed31615f5f09b178cff91261e831560c37718c23862e93a3fc3ceb919081900360600190a27f00000000000000000000000099090d2d220901de904c6e3d003d7ced4b6ec2a473ffffffffffffffffffffffffffffffffffffffff1615611f77576040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000099090d2d220901de904c6e3d003d7ced4b6ec2a481166004830152602482018690527f000000000000000000000000c36442b4a4522e871399cd717abdd847ab11fe88169063095ea7b390604401600060405180830381600087803b158015611d8557600080fd5b505af1158015611d99573d6000803e3d6000fd5b50506040517fe2ab691d00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c36442b4a4522e871399cd717abdd847ab11fe8881166004830152602482018890527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60448301527f00000000000000000000000099090d2d220901de904c6e3d003d7ced4b6ec2a493506000925083169063e2ab691d906064016020604051808303816000875af1158015611e7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea1919061309a565b6040517f23b872dd00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000a0f7b92b4f6eb51b0dce12b3e473dbae0bf24ce081166024830152604482018390529192507f00000000000000000000000099090d2d220901de904c6e3d003d7ced4b6ec2a4909116906323b872dd90606401600060405180830381600087803b158015611f5c57600080fd5b505af1158015611f70573d6000803e3d6000fd5b5050505050505b8b156121425760007f00000000000000000000000069691ce612c244b0829b9e124cca063816da144873ffffffffffffffffffffffffffffffffffffffff166103e8600a54611fc69190612eb5565b604051600081818185875af1925050503d8060008114612002576040519150601f19603f3d011682016040523d82523d6000602084013e612007565b606091505b50509050806120585760405162461bcd60e51b815260206004820152601b60248201527f466169724d696e743a20726566756e6420666565206661696c65640000000000604482015260640161037a565b60007f000000000000000000000000a0f7b92b4f6eb51b0dce12b3e473dbae0bf24ce073ffffffffffffffffffffffffffffffffffffffff166103e8600a5460026120a39190612f45565b6120ad9190612eb5565b604051600081818185875af1925050503d80600081146120e9576040519150601f19603f3d011682016040523d82523d6000602084013e6120ee565b606091505b505090508061213f5760405162461bcd60e51b815260206004820152601c60248201527f466169724d696e743a2070726f6a65637420666565206661696c656400000000604482015260640161037a565b50505b60405160009033906601c6bf52634000908381818185875af1925050503d806000811461218b576040519150601f19603f3d011682016040523d82523d6000602084013e612190565b606091505b50509050806121e15760405162461bcd60e51b815260206004820152601560248201527f466169724d696e743a206d696e74206661696c65640000000000000000000000604482015260640161037a565b5050505050505050505050505050610bb46001600655565b612201612778565b60075460ff16156122545760405162461bcd60e51b815260206004820152601960248201527f466169724d696e743a20616c7265616479207374617274656400000000000000604482015260640161037a565b655af3107a40003410156122aa5760405162461bcd60e51b815260206004820152601760248201527f466169724d696e743a2076616c756520746f6f206c6f77000000000000000000604482015260640161037a565b33600090815260086020526040902054678ac7230489e80000906122cf903490612f1f565b111561231d5760405162461bcd60e51b815260206004820152601c60248201527f466169724d696e743a2066756e64206c696d6974207265616368656400000000604482015260640161037a565b336000908152600860205260408120805434929061233c908490612f1f565b9250508190555034600a60008282546123559190612f1f565b9091555050604080513481526000602082015233917f4c10b3a5590fcdc7a6f3b564c09870bd275facbd00a0bcf68c8b069e32f9508b910160405180910390a2610bb46001600655565b6060600380546123ae906130b3565b80601f01602080910402602001604051908101604052809291908181526020018280546123da906130b3565b80156124275780601f106123fc57610100808354040283529160200191612427565b820191906000526020600020905b81548152906001019060200180831161240a57829003601f168201915b5050505050905090565b60003361243f818585612a2e565b60019150505b92915050565b600033612459858285612a3b565b6124648585856127bb565b506001949350505050565b6000600a5460000361248357506000919050565b600a5473ffffffffffffffffffffffffffffffffffffffff83166000908152600860205260408120549091906002906124dc907f0000000000000000000000000000000000000000409f9cbc7c4a04c220000000612f45565b6124e69190612eb5565b6124f09190612eb5565b9392505050565b6060600480546123ae906130b3565b60003361243f8185856127bb565b600080612522600a5461286b565b600a5461252f9190612f32565b90507f000000000000000000000000000000000000000000000001158e460913d000008111156125cb57600a546000906125897f000000000000000000000000000000000000000000000001158e460913d0000084612f32565b73ffffffffffffffffffffffffffffffffffffffff86166000908152600860205260409020546125b99190612f45565b6125c39190612eb5565b949350505050565b50600092915050565b600580546125e1906130b3565b80601f016020809104026020016040519081016040528092919081815260200182805461260d906130b3565b801561265a5780601f1061262f5761010080835404028352916020019161265a565b820191906000526020600020905b81548152906001019060200180831161263d57829003601f168201915b505050505081565b60007f0000000000000000000000003d904547c301e6a89f1c63f3ba35dcbfd28222f790508073ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126f69190613106565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146127705760405162461bcd60e51b815260206004820152601460248201527f466169724d696e743a206f6e6c79206f776e6572000000000000000000000000604482015260640161037a565b506000600b55565b6002600654036127b4576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600655565b73ffffffffffffffffffffffffffffffffffffffff831661280b576040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526000600482015260240161037a565b73ffffffffffffffffffffffffffffffffffffffff821661285b576040517fec442f050000000000000000000000000000000000000000000000000000000081526000600482015260240161037a565b612866838383612b04565b505050565b600061271061287b601e84612f45565b6124459190612eb5565b73ffffffffffffffffffffffffffffffffffffffff84166128d5576040517fe602df050000000000000000000000000000000000000000000000000000000081526000600482015260240161037a565b73ffffffffffffffffffffffffffffffffffffffff8316612925576040517f94280d620000000000000000000000000000000000000000000000000000000081526000600482015260240161037a565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260016020908152604080832093871683529290522082905580156129c8578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516129bf91815260200190565b60405180910390a35b50505050565b73ffffffffffffffffffffffffffffffffffffffff8216612a1e576040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526000600482015260240161037a565b612a2a82600083612b04565b5050565b6128668383836001612885565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146129c85781811015612af5576040517ffb8f41b200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84166004820152602481018290526044810183905260640161037a565b6129c884848484036000612885565b60008111612b7a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161037a565b61286683838361286683838373ffffffffffffffffffffffffffffffffffffffff8316612bbe578060026000828254612bb39190612f1f565b90915550612c709050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015612c44576040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85166004820152602481018290526044810183905260640161037a565b73ffffffffffffffffffffffffffffffffffffffff841660009081526020819052604090209082900390555b73ffffffffffffffffffffffffffffffffffffffff8216612c9957600280548290039055612cc5565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090208054820190555b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612d2491815260200190565b60405180910390a3505050565b60006020808352835180602085015260005b81811015612d5f57858101830151858201604001528201612d43565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b73ffffffffffffffffffffffffffffffffffffffff81168114612dc057600080fd5b50565b60008060408385031215612dd657600080fd5b8235612de181612d9e565b946020939093013593505050565b600060208284031215612e0157600080fd5b81356124f081612d9e565b600080600060608486031215612e2157600080fd5b8335612e2c81612d9e565b92506020840135612e3c81612d9e565b929592945050506040919091013590565b60008060408385031215612e6057600080fd5b8235612e6b81612d9e565b91506020830135612e7b81612d9e565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082612eeb577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b8082018082111561244557612445612e86565b8181038181111561244557612445612e86565b808202811582820484141761244557612445612e86565b815173ffffffffffffffffffffffffffffffffffffffff16815261016081016020830151612fa2602084018273ffffffffffffffffffffffffffffffffffffffff169052565b506040830151612fb9604084018262ffffff169052565b506060830151612fce606084018260020b9052565b506080830151612fe3608084018260020b9052565b5060a083015160a083015260c083015160c083015260e083015160e0830152610100808401518184015250610120808401516130368285018273ffffffffffffffffffffffffffffffffffffffff169052565b505061014092830151919092015290565b6000806000806080858703121561305d57600080fd5b8451935060208501516fffffffffffffffffffffffffffffffff8116811461308457600080fd5b6040860151606090960151949790965092505050565b6000602082840312156130ac57600080fd5b5051919050565b600181811c908216806130c757607f821691505b602082108103613100577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60006020828403121561311857600080fd5b81516124f081612d9e56fea264697066735822122081b27b95517aae35b0d0391b7c357e7de22cd11a21144bead4859575d17664d464736f6c63430008180033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ 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.