ETH Price: $3,285.92 (-0.42%)

Token

Draft (DRAFT)
 

Overview

Max Total Supply

1,000,000,000 DRAFT

Holders

407

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
1,174,532.501136393564484518 DRAFT

Value
$0.00
0xDd4777603a441690bd708c53cB4B1E7454aef6Cb
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Draft

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : Draft.sol
pragma solidity 0.8.25;

// SPDX-License-Identifier: MIT

/**

Draft - Bringing Daily Fantasy Sports to Web3

Website https://token.draft.fun/
dApp https://draft.fun/
Docs https://docs.draft.fun/
KYC https://assuredefi.com/projects/draft/ 
Telegram https://t.me/draftfunportal
Twitter https://x.com/draftdotfun

*/

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

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

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

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

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

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

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

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

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

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

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @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 override returns (string memory) {
        return _name;
    }

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

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the 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 override returns (uint8) {
        return 18;
    }

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

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

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

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

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

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

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

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

        return true;
    }

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

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

        emit Transfer(from, to, amount);
    }

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

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

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

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

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

contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    function owner() public view returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

library Address {
    function isContract(address account) internal view returns (bool) {
        return account.code.length > 0;
    }

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

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

    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

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

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

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

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

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

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

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

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

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

library SafeERC20 {
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }

    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }
}

interface IPriceFeed {
    function latestAnswer() external view returns (int256);
}

interface ILpPair {
    function sync() external;
    function mint(address to) external;
}

interface IWETH {
    function deposit() external payable; 
}

interface IDexRouter {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function swapExactTokensForETHSupportingFeeOnTransferTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable returns (uint[] memory amounts);
}

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

contract Draft is ERC20, Ownable {

    mapping (address => bool) public exemptFromFees;
    mapping (address => bool) public exemptFromLimits;

    bool public tradingAllowed;

    mapping (address => bool) public isAMMPair;

    address public taxAddress1;
    address public taxAddress2;
    address public incubatorAddress;

    uint24 public buyTax;
    uint24 public sellTax;

    uint24 public buyTaxPhase1;
    uint24 public sellTaxPhase1;
    uint128 public maxWalletPhase1;
    bool public phase1Activated;

    uint24 public buyTaxPhase2;
    uint24 public sellTaxPhase2;
    uint128 public maxWalletPhase2;
    bool public phase2Activated;

    uint24 public buyTaxPhase3;
    uint24 public sellTaxPhase3;
    uint128 public maxWalletPhase3;
    bool public phase3Activated;

    uint24 public buyTaxPhaseFinal;
    uint24 public sellTaxPhaseFinal;
    uint128 public maxWalletPhaseFinal;

    uint256 public immutable WL_DURATION;

    uint24 public taxAddress1Split; // 10000 = 100%

    uint256 public whitelistStartTime;
    mapping (address => bool) public whitelistedAddress;
    bool public whitelistActive;

    uint256 public lastSwapBackBlock;

    bool public limited = true;
    uint256 public maxWallet;

    uint256 public immutable swapTokensAtAmt;

    address public immutable lpPair;
    IDexRouter public immutable dexRouter;
    address public immutable WETH;

    uint64 public constant FEE_DIVISOR = 10000;

    uint256 public launchTimestamp;
    bool public dynamicTaxOn;

    // constructor

    constructor()
        ERC20("Draft", "DRAFT")
    {   
        uint256 _totalSupply = 1_000_000_000 * 1e18;
        _mint(address(msg.sender), _totalSupply);

        address _v2Router;

        dynamicTaxOn = true;
        whitelistActive = true;
        WL_DURATION = 5 minutes;

        // @dev assumes WETH pair
        if(block.chainid == 1){
            _v2Router = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
            whitelistedAddress[0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD] = true;
            whitelistedAddress[0x000000fee13a103A10D593b9AE06b3e05F2E7E1c] = true;
        } else if(block.chainid == 11155111){
            _v2Router = 0xa3D89E5B9C7a863BF4535F349Bc5619ABe72fb09;
        } else if(block.chainid == 8453){ // BASE
            _v2Router = 0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24;
            whitelistedAddress[0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD] = true;
            whitelistedAddress[0x5d64D14D2CF4fe5fe4e65B1c7E3D11e18D493091] = true;
        } else {
            revert("Chain not configured");
        }

        dexRouter = IDexRouter(_v2Router);

        swapTokensAtAmt = totalSupply() * 25 / 100000;

        taxAddress1 = 0xbbB4733e1ec64018d8310f5a2C4C58401b9110f7; // update
        taxAddress2 = address(0); // update, leave as address(0) if not adding a second tax wallet
        incubatorAddress = msg.sender;

        // starting buy tax, set whether whitelist is enabled or not
        buyTax = 2000; // starting
        sellTax = 2000; // starting
        maxWallet = uint128(totalSupply() * 5 / 1000); // starting;

         // first phase after WL (0-5 minutes)
        buyTaxPhase1 = 2000;
        sellTaxPhase1 = 2000;
        maxWalletPhase1 = uint128(totalSupply() * 2 / 1000);

        // second phase after WL (5-10 minutes)
        buyTaxPhase2 = 1500;
        sellTaxPhase2 = 1500;
        maxWalletPhase2 = uint128(totalSupply() * 5 / 1000);

         // third phase after WL (10-15 minutes)
        buyTaxPhase3 = 1000;
        sellTaxPhase3 = 1000;
        maxWalletPhase3 = uint128(totalSupply() * 1 / 100);

        buyTaxPhaseFinal = 500;
        sellTaxPhaseFinal = 500;
        maxWalletPhaseFinal = uint128(totalSupply());

        taxAddress1Split = 10000;

        require(taxAddress1Split <= 10000, "Cannot exceed 100% for tax split");
        if(taxAddress2 == address(0)){
            taxAddress1Split = 10000;
        }

        WETH = dexRouter.WETH();
        lpPair = IDexFactory(dexRouter.factory()).createPair(address(this), WETH);

        isAMMPair[lpPair] = true;

        exemptFromLimits[lpPair] = true;
        exemptFromLimits[msg.sender] = true;
        exemptFromLimits[address(this)] = true;
        exemptFromLimits[address(0xdead)] = true;

        exemptFromFees[msg.sender] = true;
        exemptFromFees[address(this)] = true;
        exemptFromFees[address(dexRouter)] = true;
        exemptFromFees[address(0xdead)] = true;
 
        _approve(address(this), address(dexRouter), type(uint256).max);
        _approve(address(msg.sender), address(dexRouter), totalSupply());
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        
        if(!exemptFromFees[from] && !exemptFromFees[to]){
            require(tradingAllowed, "Trading not active");
            amount -= handleTax(from, to, amount);
            checkLimits(from, to, amount);
        }

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

    function checkLimits(address from, address to, uint256 amount) internal {
        if(limited){
            
            bool exFromLimitsTo = exemptFromLimits[to];
            uint256 balanceOfTo = balanceOf(to);

            if(whitelistActive){
                if(whitelistStartTime + WL_DURATION  >= block.timestamp){
                    if (isAMMPair[from] && !exFromLimitsTo) {
                        require(whitelistedAddress[to], "Not whitelisted");
                    }
                    else if (isAMMPair[to] && !exemptFromLimits[from]) {
                        require(whitelistedAddress[from], "Not whitelisted");
                    }
                    else if(!exFromLimitsTo) {
                        require(whitelistedAddress[to] && whitelistedAddress[from], "Not whitelisted");
                    }
                } else {
                    whitelistActive = false;
                    buyTax = buyTaxPhase1;
                    sellTax = sellTaxPhase1;
                    maxWallet = maxWalletPhase1;
                    phase1Activated = true;
                }
            }

            // buy
            if (isAMMPair[from] && !exFromLimitsTo) {
                require(amount + balanceOfTo <= maxWallet, "Max Wallet");
            }
            else if(!exFromLimitsTo) {
                require(amount + balanceOfTo <= maxWallet, "Max Wallet");
            }
        }
    }

    function handleTax(address from, address to, uint256 amount) internal returns (uint256){

        if(balanceOf(address(this)) >= swapTokensAtAmt && !isAMMPair[from] && lastSwapBackBlock + 1 <= block.number) {
            convertTaxes();
        }

        if(dynamicTaxOn && !whitelistActive){
            setInternalTaxes();
        }
        
        uint128 tax = 0;

        uint24 taxes;

        if (isAMMPair[to]){
            taxes = sellTax;
        } else if(isAMMPair[from]){
            taxes = buyTax;
        }

        if(taxes > 0){
            tax = uint128(amount * taxes / FEE_DIVISOR);
            super._transfer(from, address(this), tax);
        }
        
        return tax;
    }

    function swapTokensForETH(uint256 tokenAmt) private {

        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = WETH;

        dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmt,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function convertTaxes() private {

        uint256 contractBalance = balanceOf(address(this));
        
        if(contractBalance == 0) {return;}

        lastSwapBackBlock = block.number;

        if(contractBalance > swapTokensAtAmt * 10){
            contractBalance = swapTokensAtAmt * 10;
        }

        if(contractBalance > 0){

            swapTokensForETH(contractBalance);
            
            uint256 ethBalance = address(this).balance;

            bool success;

            if(incubatorAddress != address(0)){
                uint256 amountForIncubator = ethBalance * 2000 / FEE_DIVISOR;
                (success,) = incubatorAddress.call{value: amountForIncubator}(""); // 20%
                ethBalance -= amountForIncubator;
            }

            if(taxAddress1Split == 10000){
                (success,) = taxAddress1.call{value: ethBalance}("");  
            } else {
                uint256 taxAddress1Portion = ethBalance * taxAddress1Split / FEE_DIVISOR;
                (success,) = taxAddress1.call{value: taxAddress1Portion}("");
                (success,) = taxAddress2.call{value: ethBalance - taxAddress1Portion}("");
            }
        }
    }

    function enableTrading() external onlyOwner {
        require(!tradingAllowed, "Trading already enabled");
        tradingAllowed = true;
        if(whitelistActive){
            whitelistStartTime = block.timestamp;
            launchTimestamp = whitelistStartTime + WL_DURATION;
        } else {
            launchTimestamp = block.timestamp;
            buyTax = buyTaxPhase1;
            sellTax = sellTaxPhase1;
            maxWallet = maxWalletPhase1;
            phase1Activated = true;
            
        }
    }

    function revokeIncubatorTax() external {
        require(msg.sender == incubatorAddress, "Not incubator");
        incubatorAddress = address(0);
    }

    function whitelistWallets(address[] calldata wallets, bool _whitelist) external onlyOwner {
        for(uint256 i = 0; i < wallets.length; i++){
            whitelistedAddress[wallets[i]] = _whitelist;
        }
    }

    receive() payable external {}

    function setInternalTaxes() internal {

        uint256 currentTimestamp = block.timestamp;

        uint256 timeSinceLaunch;
        
        if(currentTimestamp >= launchTimestamp){
            timeSinceLaunch = currentTimestamp - launchTimestamp;
        }

        if(timeSinceLaunch >= 15 minutes){
            dynamicTaxOn = false;
            buyTax = buyTaxPhaseFinal;
            sellTax = sellTaxPhaseFinal;
            maxWallet = maxWalletPhaseFinal;
            if(maxWallet == totalSupply()){
                limited = false;
            }
        } else if(timeSinceLaunch >= 10 minutes){
            if(!phase3Activated){
                buyTax = buyTaxPhase3;
                sellTax = sellTaxPhase3;
                maxWallet = maxWalletPhase3;
                phase3Activated = true;
            }
        } else if(timeSinceLaunch >= 5 minutes){
            if(!phase2Activated){
                buyTax = buyTaxPhase2;
                sellTax = sellTaxPhase2;
                maxWallet = maxWalletPhase2;
                phase2Activated = true;
            }
        }
    }

    function updateTax(uint24 _buyTax, uint24 _sellTax) external onlyOwner {
        require(_buyTax < buyTax || _buyTax <= 500, "Cannot raise buy tax over 5%");
        require(_sellTax < sellTax || _sellTax <= 500, "Cannot raise buy tax over 5%");
        buyTax = _buyTax;
        sellTax = _sellTax;
    }

    function removeLimits() external onlyOwner {
        require(limited, "Limits already removed");
        limited = false;
    }

    function removeWhitelist() external onlyOwner {
        require(whitelistActive, "Whitelist already inactive");
        whitelistActive = false;
        buyTax = buyTaxPhase1;
        sellTax = sellTaxPhase1;
        maxWallet = maxWalletPhase1;
        phase1Activated = true;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"FEE_DIVISOR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_DURATION","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":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTax","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTaxPhase1","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTaxPhase2","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTaxPhase3","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTaxPhaseFinal","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dexRouter","outputs":[{"internalType":"contract IDexRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dynamicTaxOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"exemptFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"exemptFromLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"incubatorAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isAMMPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastSwapBackBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limited","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletPhase1","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletPhase2","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletPhase3","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletPhaseFinal","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase1Activated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase2Activated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase3Activated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revokeIncubatorTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTaxPhase1","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTaxPhase2","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTaxPhase3","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTaxPhaseFinal","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxAddress1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxAddress1Split","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxAddress2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint24","name":"_buyTax","type":"uint24"},{"internalType":"uint24","name":"_sellTax","type":"uint24"}],"name":"updateTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"bool","name":"_whitelist","type":"bool"}],"name":"whitelistWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistedAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6101206040526015805460ff1916600117905534801561001d575f80fd5b5060405180604001604052806005815260200164111c98599d60da1b81525060405180604001604052806005815260200164111490519560da1b81525081600390816100699190610a1e565b5060046100768282610a1e565b5050505f61008861079c60201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250905f907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506b033b2e3c9fd0803ce80000006100ec33826107a0565b60188054600160ff199182168117909255601380549091168217905561012c6080525f90469003610193575060126020525f805160206130608339815191528054600160ff19918216811790925570fee13a103a10d593b9ae06b3e05f2e7e1c5f527fc52fced72697aee65a69f1c1a3346f6e2012c9b54083690c7e72cd269b4a14a380549091169091179055737a250d5630b4cf539739df2c5dacb4c659f2488d61028d565b4662aa36a7036101b8575073a3d89e5b9c7a863bf4535f349bc5619abe72fb0961028d565b4661210503610240575060126020525f805160206130608339815191528054600160ff199182168117909255735d64d14d2cf4fe5fe4e65b1c7e3d11e18d4930915f527fcfb255d7a17a84c206165d30d8f8b72136bf7d01622ebcff989737dccd36447780549091169091179055734752ba5dbc23f44d87826276bf6fd6b1c372ad2461028d565b60405162461bcd60e51b815260206004820152601460248201527f436861696e206e6f7420636f6e6669677572656400000000000000000000000060448201526064015b60405180910390fd5b6001600160a01b03811660e052620186a06102a760025490565b6102b2906019610af1565b6102bc9190610b0e565b60a052600a805473bbb4733e1ec64018d8310f5a2c4c58401b9110f76001600160a01b031991821617909155600b80549091169055600c80546001600160b81b0319163362ffffff60a01b191617607d60a41b1762ffffff60b81b1916607d60bc1b1790556103e861032d60025490565b610338906005610af1565b6103429190610b0e565b6001600160801b0316601655600c80546001600160d01b0316637d00007d60d41b1790556103e861037260025490565b61037d906002610af1565b6103879190610b0e565b600d80546001600160801b0392909216600163ffffff0160801b031990921691909117610177608a1b1762ffffff60a01b191661017760a21b1790556103e86103cf60025490565b6103da906005610af1565b6103e49190610b0e565b600e80546001600160801b0392909216600163ffffff0160801b031990921691909117607d608b1b1762ffffff60a01b1916607d60a31b179055606461042960025490565b610434906001610af1565b61043e9190610b0e565b600f80546001600160801b0392909216600163ffffff0160801b031990921691909117607d608a1b1762ffffff60a01b1916607d60a21b17905561048160025490565b6010805461027160841b6001600160981b03199091166001600160801b0393909316929092179190911790819055612710600160801b90910462ffffff16111561050d5760405162461bcd60e51b815260206004820181905260248201527f43616e6e6f7420657863656564203130302520666f72207461782073706c69746044820152606401610284565b600b546001600160a01b0316610534576010805462ffffff60801b191661027160841b1790555b60e0516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610572573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105969190610b2d565b6001600160a01b0316610100816001600160a01b03168152505060e0516001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105ee573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106129190610b2d565b610100516040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303815f875af1158015610661573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106859190610b2d565b6001600160a01b0390811660c08190525f9081526009602090815260408083208054600160ff1991821681179092556007845282852080548216831790553380865283862080548316841790553080875284872080548416851790557fb0c2646e02af70b79e3fe9277b98373379f54150e4e26b2b5650139f7a75a65d805484168517905590865260069094528285208054821683179055838552828520805482168317905560e0519586168552918420805483168217905561dead9093527f1aecba4ebe7a4e0673e4891b2b092b2228e4322380b579fb494fad3da8586e22805490911690921790915561077b915f19610863565b6107953360e05161079061085d60201b60201c565b610863565b5050610b6d565b3390565b6001600160a01b0382166107f65760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610284565b8060025f8282546108079190610b5a565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60025490565b6001600160a01b0383166108c55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610284565b6001600160a01b0382166109265760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610284565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806109ae57607f821691505b6020821081036109cc57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610a1957805f5260205f20601f840160051c810160208510156109f75750805b601f840160051c820191505b81811015610a16575f8155600101610a03565b50505b505050565b81516001600160401b03811115610a3757610a37610986565b610a4b81610a45845461099a565b846109d2565b602080601f831160018114610a7e575f8415610a675750858301515b5f19600386901b1c1916600185901b178555610ad5565b5f85815260208120601f198616915b82811015610aac57888601518255948401946001909101908401610a8d565b5085821015610ac957878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610b0857610b08610add565b92915050565b5f82610b2857634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215610b3d575f80fd5b81516001600160a01b0381168114610b53575f80fd5b9392505050565b80820180821115610b0857610b08610add565b60805160a05160c05160e05161010051612485610bdb5f395f8181610928015261204601525f818161042b015261209d01525f6105c001525f8181610a75015281816115ea01528181611bf30152611c2501525f81816103c9015281816110a1015261176f01526124855ff3fe60806040526004361061037f575f3560e01c80637e160c58116101d3578063b32f6cae116100fd578063c78d0fa01161009d578063e8ac5c1b1161006d578063e8ac5c1b14610afa578063f2fde38b14610b19578063f8b45b0514610b38578063fc9371ee14610b4d575f80fd5b8063c78d0fa014610a64578063cc1776d314610a97578063dd62ed3e14610ab9578063e50daa4f14610ad8575f80fd5b8063b85e7167116100d8578063b85e7167146109d6578063bbd9e5b4146109f5578063bcb42b9614610a14578063c30796ab14610a36575f80fd5b8063b32f6cae14610978578063b4e7dfa214610997578063b7cbae87146109b6575f80fd5b80639292caaf11610173578063a4cb410111610143578063a4cb4101146108d6578063a9059cbb146108f8578063ad5c464814610917578063b0249cc61461094a575f80fd5b80639292caaf1461086057806395d89b41146108755780639e93ad8e14610889578063a457c2d7146108b7575f80fd5b80638c43df13116101ae5780638c43df13146107d45780638d3e6e40146107f65780638da5cb5b146108245780638deee5fc14610841575f80fd5b80637e160c5814610787578063860a32ec146107a75780638a8c523c146107c0575f80fd5b8063432e95a5116102b45780635a90a49e11610254578063715018a611610224578063715018a614610714578063724f8e0c14610728578063751039fc1461075f57806379b2410614610773575f80fd5b80635a90a49e1461067d57806365cf7c9b146106ab5780637068150e146106c057806370a08231146106e0575f80fd5b80634e1161721161028f5780634e116172146106015780634f7041a514610620578063517ab17b1461064257806353371be014610664575f80fd5b8063432e95a51461059a578063452ed4f1146105af5780634b356f47146105e2575f80fd5b8063187648c31161031f578063313ce567116102fa578063313ce56714610525578063362919a71461054057806339509351146105595780633f7de11214610578575f80fd5b8063187648c3146104ae5780631f40f5b8146104e457806323b872dd14610506575f80fd5b80630758d9241161035a5780630758d9241461041a578063095ea7b31461046557806317f708fb1461048457806318160ddd1461049a575f80fd5b806302ce58131461038a5780630486e728146103b857806306fdde03146103f9575f80fd5b3661038657005b5f80fd5b348015610395575f80fd5b506013546103a39060ff1681565b60405190151581526020015b60405180910390f35b3480156103c3575f80fd5b506103eb7f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016103af565b348015610404575f80fd5b5061040d610b6f565b6040516103af9190612105565b348015610425575f80fd5b5061044d7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016103af565b348015610470575f80fd5b506103a361047f366004612155565b610bff565b34801561048f575f80fd5b50610498610c18565b005b3480156104a5575f80fd5b506002546103eb565b3480156104b9575f80fd5b50600c546104d090600160d01b900462ffffff1681565b60405162ffffff90911681526020016103af565b3480156104ef575f80fd5b50600f546104d090600160a01b900462ffffff1681565b348015610511575f80fd5b506103a361052036600461217d565b610d20565b348015610530575f80fd5b50604051601281526020016103af565b34801561054b575f80fd5b506018546103a39060ff1681565b348015610564575f80fd5b506103a3610573366004612155565b610d43565b348015610583575f80fd5b50600e546104d090600160a01b900462ffffff1681565b3480156105a5575f80fd5b506103eb60145481565b3480156105ba575f80fd5b5061044d7f000000000000000000000000000000000000000000000000000000000000000081565b3480156105ed575f80fd5b506104986105fc3660046121c8565b610d64565b34801561060c575f80fd5b50600b5461044d906001600160a01b031681565b34801561062b575f80fd5b50600c546104d090600160a01b900462ffffff1681565b34801561064d575f80fd5b50600e546104d090600160881b900462ffffff1681565b34801561066f575f80fd5b506008546103a39060ff1681565b348015610688575f80fd5b506103a36106973660046121f9565b60066020525f908152604090205460ff1681565b3480156106b6575f80fd5b506103eb60175481565b3480156106cb575f80fd5b50600d546103a390600160801b900460ff1681565b3480156106eb575f80fd5b506103eb6106fa3660046121f9565b6001600160a01b03165f9081526020819052604090205490565b34801561071f575f80fd5b50610498610eb0565b348015610733575f80fd5b50601054610747906001600160801b031681565b6040516001600160801b0390911681526020016103af565b34801561076a575f80fd5b50610498610f23565b34801561077e575f80fd5b50610498610fa4565b348015610792575f80fd5b50600f546103a390600160801b900460ff1681565b3480156107b2575f80fd5b506015546103a39060ff1681565b3480156107cb575f80fd5b50610498611000565b3480156107df575f80fd5b506010546104d090600160801b900462ffffff1681565b348015610801575f80fd5b506103a36108103660046121f9565b60076020525f908152604090205460ff1681565b34801561082f575f80fd5b506005546001600160a01b031661044d565b34801561084c575f80fd5b50600d54610747906001600160801b031681565b34801561086b575f80fd5b506103eb60115481565b348015610880575f80fd5b5061040d611148565b348015610894575f80fd5b5061089e61271081565b60405167ffffffffffffffff90911681526020016103af565b3480156108c2575f80fd5b506103a36108d1366004612155565b611157565b3480156108e1575f80fd5b50600c546104d090600160e81b900462ffffff1681565b348015610903575f80fd5b506103a3610912366004612155565b6111d1565b348015610922575f80fd5b5061044d7f000000000000000000000000000000000000000000000000000000000000000081565b348015610955575f80fd5b506103a36109643660046121f9565b60096020525f908152604090205460ff1681565b348015610983575f80fd5b50600e54610747906001600160801b031681565b3480156109a2575f80fd5b50600a5461044d906001600160a01b031681565b3480156109c1575f80fd5b50600e546103a390600160801b900460ff1681565b3480156109e1575f80fd5b50600c5461044d906001600160a01b031681565b348015610a00575f80fd5b50610498610a0f366004612219565b6111de565b348015610a1f575f80fd5b50600d546104d090600160881b900462ffffff1681565b348015610a41575f80fd5b506103a3610a503660046121f9565b60126020525f908152604090205460ff1681565b348015610a6f575f80fd5b506103eb7f000000000000000000000000000000000000000000000000000000000000000081565b348015610aa2575f80fd5b50600c546104d090600160b81b900462ffffff1681565b348015610ac4575f80fd5b506103eb610ad336600461229c565b611272565b348015610ae3575f80fd5b50600d546104d090600160a01b900462ffffff1681565b348015610b05575f80fd5b50600f54610747906001600160801b031681565b348015610b24575f80fd5b50610498610b333660046121f9565b61129c565b348015610b43575f80fd5b506103eb60165481565b348015610b58575f80fd5b50600f546104d090600160881b900462ffffff1681565b606060038054610b7e906122c4565b80601f0160208091040260200160405190810160405280929190818152602001828054610baa906122c4565b8015610bf55780601f10610bcc57610100808354040283529160200191610bf5565b820191905f5260205f20905b815481529060010190602001808311610bd857829003601f168201915b5050505050905090565b5f33610c0c818585611386565b60019150505b92915050565b6005546001600160a01b03163314610c4b5760405162461bcd60e51b8152600401610c42906122fc565b60405180910390fd5b60135460ff16610c9d5760405162461bcd60e51b815260206004820152601a60248201527f57686974656c69737420616c726561647920696e6163746976650000000000006044820152606401610c42565b6013805460ff19169055600c805465ffffffffffff60a01b19811662ffffff60b81b19600160d01b830462ffffff908116600160a01b0291821692909217600160e81b62ffffff60a01b199094169091179290920416600160b81b02179055600d80546001600160801b038116601655600160801b60ff60801b19909116179055565b5f33610d2d8582856114a9565b610d3885858561151b565b506001949350505050565b5f33610c0c818585610d558383611272565b610d5f9190612345565b611386565b6005546001600160a01b03163314610d8e5760405162461bcd60e51b8152600401610c42906122fc565b600c5462ffffff600160a01b90910481169083161080610db557506101f48262ffffff1611155b610e015760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f742072616973652062757920746178206f766572203525000000006044820152606401610c42565b600c5462ffffff600160b81b90910481169082161080610e2857506101f48162ffffff1611155b610e745760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f742072616973652062757920746178206f766572203525000000006044820152606401610c42565b600c805465ffffffffffff60a01b1916600160a01b62ffffff9485160262ffffff60b81b191617600160b81b9290931691909102919091179055565b6005546001600160a01b03163314610eda5760405162461bcd60e51b8152600401610c42906122fc565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610f4d5760405162461bcd60e51b8152600401610c42906122fc565b60155460ff16610f985760405162461bcd60e51b8152602060048201526016602482015275131a5b5a5d1cc8185b1c9958591e481c995b5bdd995960521b6044820152606401610c42565b6015805460ff19169055565b600c546001600160a01b03163314610fee5760405162461bcd60e51b815260206004820152600d60248201526c2737ba1034b731bab130ba37b960991b6044820152606401610c42565b600c80546001600160a01b0319169055565b6005546001600160a01b0316331461102a5760405162461bcd60e51b8152600401610c42906122fc565b60085460ff161561107d5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c65640000000000000000006044820152606401610c42565b6008805460ff1916600117905560135460ff16156110cb574260118190556110c6907f000000000000000000000000000000000000000000000000000000000000000090612345565b601755565b42601755600c805465ffffffffffff60a01b19811662ffffff60b81b19600160d01b830462ffffff908116600160a01b0291821692909217600160e81b62ffffff60a01b199094169091179290920416600160b81b02179055600d80546001600160801b038116601655600160801b60ff60801b19909116179055565b606060048054610b7e906122c4565b5f33816111648286611272565b9050838110156111c45760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c42565b610d388286868403611386565b5f33610c0c81858561151b565b6005546001600160a01b031633146112085760405162461bcd60e51b8152600401610c42906122fc565b5f5b8281101561126c578160125f86868581811061122857611228612358565b905060200201602081019061123d91906121f9565b6001600160a01b0316815260208101919091526040015f20805460ff191691151591909117905560010161120a565b50505050565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6005546001600160a01b031633146112c65760405162461bcd60e51b8152600401610c42906122fc565b6001600160a01b03811661132b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c42565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166113e85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c42565b6001600160a01b0382166114495760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c42565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6114b48484611272565b90505f19811461126c578181101561150e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c42565b61126c8484848403611386565b6001600160a01b0383165f9081526006602052604090205460ff1615801561155b57506001600160a01b0382165f9081526006602052604090205460ff16155b156115c95760085460ff166115a75760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610c42565b6115b28383836115d9565b6115bc908261236c565b90506115c983838361172f565b6115d4838383611a2d565b505050565b305f908152602081905260408120547f00000000000000000000000000000000000000000000000000000000000000001115801561162f57506001600160a01b0384165f9081526009602052604090205460ff16155b801561164957504360145460016116469190612345565b11155b1561165657611656611bd0565b60185460ff16801561166b575060135460ff16155b1561167857611678611e3a565b6001600160a01b0383165f90815260096020526040812054819060ff16156116af5750600c54600160b81b900462ffffff166116e0565b6001600160a01b0386165f9081526009602052604090205460ff16156116e05750600c54600160a01b900462ffffff165b62ffffff81161561171d576127106116fd62ffffff83168661237f565b6117079190612396565b915061171d8630846001600160801b0316611a2d565b506001600160801b0316949350505050565b60155460ff16156115d4576001600160a01b0382165f90815260076020908152604080832054918390529091205460135460ff92831692161561196257427f000000000000000000000000000000000000000000000000000000000000000060115461179b9190612345565b106118e0576001600160a01b0385165f9081526009602052604090205460ff1680156117c5575081155b15611806576001600160a01b0384165f9081526012602052604090205460ff166118015760405162461bcd60e51b8152600401610c42906123b5565b611962565b6001600160a01b0384165f9081526009602052604090205460ff16801561184557506001600160a01b0385165f9081526007602052604090205460ff16155b15611881576001600160a01b0385165f9081526012602052604090205460ff166118015760405162461bcd60e51b8152600401610c42906123b5565b81611801576001600160a01b0384165f9081526012602052604090205460ff1680156118c457506001600160a01b0385165f9081526012602052604090205460ff165b6118015760405162461bcd60e51b8152600401610c42906123b5565b6013805460ff19169055600c805465ffffffffffff60a01b19811662ffffff60b81b19600160d01b830462ffffff908116600160a01b0291821692909217600160e81b62ffffff60a01b199094169091179290920416600160b81b02179055600d80546001600160801b038116601655600160801b60ff60801b199091161790555b6001600160a01b0385165f9081526009602052604090205460ff168015611987575081155b156119d9576016546119998285612345565b11156119d45760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610c42565b611a26565b81611a26576016546119eb8285612345565b1115611a265760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610c42565b5050505050565b6001600160a01b038316611a915760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c42565b6001600160a01b038216611af35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c42565b6001600160a01b0383165f9081526020819052604090205481811015611b6a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c42565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b305f9081526020819052604081205490819003611bea5750565b43601455611c197f0000000000000000000000000000000000000000000000000000000000000000600a61237f565b811115611c4e57611c4b7f0000000000000000000000000000000000000000000000000000000000000000600a61237f565b90505b8015611e3757611c5d81611ff1565b600c5447905f906001600160a01b031615611cf0575f612710611c82846107d061237f565b611c8c9190612396565b600c546040519192506001600160a01b03169082905f81818185875af1925050503d805f8114611cd7576040519150601f19603f3d011682016040523d82523d5f602084013e611cdc565b606091505b50909250611cec9050818461236c565b9250505b601054600160801b900462ffffff1661271003611d5e57600a546040516001600160a01b039091169083905f81818185875af1925050503d805f8114611d51576040519150601f19603f3d011682016040523d82523d5f602084013e611d56565b606091505b505050505050565b6010545f9061271090611d7d90600160801b900462ffffff168561237f565b611d879190612396565b600a546040519192506001600160a01b03169082905f81818185875af1925050503d805f8114611dd2576040519150601f19603f3d011682016040523d82523d5f602084013e611dd7565b606091505b5050600b549092506001600160a01b0316611df2828561236c565b6040515f81818185875af1925050503d805f8114611e2b576040519150601f19603f3d011682016040523d82523d5f602084013e611e30565b606091505b5050505050505b50565b60175442905f908210611e5757601754611e54908361236c565b90505b6103848110611edd576018805460ff19169055600f54600c805465ffffffffffff60a01b1916600160881b830462ffffff908116600160a01b90810262ffffff60b81b1916929092179190930492909216600160b81b029190911790556010546001600160801b031660165560025460165403611ed9576015805460ff191690555b5050565b6102588110611f6757600f54600160801b900460ff16611ed957600e54600c805465ffffffffffff60a01b1916600160881b830462ffffff908116600160a01b90810262ffffff60b81b1916929092179190930492909216600160b81b02919091179055600f80546001600160801b038116601655600160801b60ff60801b199091161790555050565b61012c8110611ed957600e54600160801b900460ff16611ed957600d54600c805465ffffffffffff60a01b1916600160881b830462ffffff908116600160a01b90810262ffffff60b81b1916929092179190930492909216600160b81b02919091179055600e80546001600160801b038116601655600160801b60ff60801b199091161790555050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061202457612024612358565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160018151811061207857612078612358565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f00000000000000000000000000000000000000000000000000000000000000009091169063791ac947906120dc9085905f908690309042906004016123de565b5f604051808303815f87803b1580156120f3575f80fd5b505af1158015611d56573d5f803e3d5ffd5b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114612150575f80fd5b919050565b5f8060408385031215612166575f80fd5b61216f8361213a565b946020939093013593505050565b5f805f6060848603121561218f575f80fd5b6121988461213a565b92506121a66020850161213a565b9150604084013590509250925092565b803562ffffff81168114612150575f80fd5b5f80604083850312156121d9575f80fd5b6121e2836121b6565b91506121f0602084016121b6565b90509250929050565b5f60208284031215612209575f80fd5b6122128261213a565b9392505050565b5f805f6040848603121561222b575f80fd5b833567ffffffffffffffff80821115612242575f80fd5b818601915086601f830112612255575f80fd5b813581811115612263575f80fd5b8760208260051b8501011115612277575f80fd5b602092830195509350508401358015158114612291575f80fd5b809150509250925092565b5f80604083850312156122ad575f80fd5b6122b68361213a565b91506121f06020840161213a565b600181811c908216806122d857607f821691505b6020821081036122f657634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610c1257610c12612331565b634e487b7160e01b5f52603260045260245ffd5b81810381811115610c1257610c12612331565b8082028115828204841417610c1257610c12612331565b5f826123b057634e487b7160e01b5f52601260045260245ffd5b500490565b6020808252600f908201526e139bdd081dda1a5d195b1a5cdd1959608a1b604082015260600190565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b8181101561242e5784516001600160a01b031683529383019391830191600101612409565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212205813bc6bf91591f154373ca7b68e34456bb22a14f477e760aa6f6d8f5c1eab6b64736f6c63430008190033146b13dabf393542a58fc0e98bbbe6758b22a24d55a78816c51be6e423585e2d

Deployed Bytecode

0x60806040526004361061037f575f3560e01c80637e160c58116101d3578063b32f6cae116100fd578063c78d0fa01161009d578063e8ac5c1b1161006d578063e8ac5c1b14610afa578063f2fde38b14610b19578063f8b45b0514610b38578063fc9371ee14610b4d575f80fd5b8063c78d0fa014610a64578063cc1776d314610a97578063dd62ed3e14610ab9578063e50daa4f14610ad8575f80fd5b8063b85e7167116100d8578063b85e7167146109d6578063bbd9e5b4146109f5578063bcb42b9614610a14578063c30796ab14610a36575f80fd5b8063b32f6cae14610978578063b4e7dfa214610997578063b7cbae87146109b6575f80fd5b80639292caaf11610173578063a4cb410111610143578063a4cb4101146108d6578063a9059cbb146108f8578063ad5c464814610917578063b0249cc61461094a575f80fd5b80639292caaf1461086057806395d89b41146108755780639e93ad8e14610889578063a457c2d7146108b7575f80fd5b80638c43df13116101ae5780638c43df13146107d45780638d3e6e40146107f65780638da5cb5b146108245780638deee5fc14610841575f80fd5b80637e160c5814610787578063860a32ec146107a75780638a8c523c146107c0575f80fd5b8063432e95a5116102b45780635a90a49e11610254578063715018a611610224578063715018a614610714578063724f8e0c14610728578063751039fc1461075f57806379b2410614610773575f80fd5b80635a90a49e1461067d57806365cf7c9b146106ab5780637068150e146106c057806370a08231146106e0575f80fd5b80634e1161721161028f5780634e116172146106015780634f7041a514610620578063517ab17b1461064257806353371be014610664575f80fd5b8063432e95a51461059a578063452ed4f1146105af5780634b356f47146105e2575f80fd5b8063187648c31161031f578063313ce567116102fa578063313ce56714610525578063362919a71461054057806339509351146105595780633f7de11214610578575f80fd5b8063187648c3146104ae5780631f40f5b8146104e457806323b872dd14610506575f80fd5b80630758d9241161035a5780630758d9241461041a578063095ea7b31461046557806317f708fb1461048457806318160ddd1461049a575f80fd5b806302ce58131461038a5780630486e728146103b857806306fdde03146103f9575f80fd5b3661038657005b5f80fd5b348015610395575f80fd5b506013546103a39060ff1681565b60405190151581526020015b60405180910390f35b3480156103c3575f80fd5b506103eb7f000000000000000000000000000000000000000000000000000000000000012c81565b6040519081526020016103af565b348015610404575f80fd5b5061040d610b6f565b6040516103af9190612105565b348015610425575f80fd5b5061044d7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016103af565b348015610470575f80fd5b506103a361047f366004612155565b610bff565b34801561048f575f80fd5b50610498610c18565b005b3480156104a5575f80fd5b506002546103eb565b3480156104b9575f80fd5b50600c546104d090600160d01b900462ffffff1681565b60405162ffffff90911681526020016103af565b3480156104ef575f80fd5b50600f546104d090600160a01b900462ffffff1681565b348015610511575f80fd5b506103a361052036600461217d565b610d20565b348015610530575f80fd5b50604051601281526020016103af565b34801561054b575f80fd5b506018546103a39060ff1681565b348015610564575f80fd5b506103a3610573366004612155565b610d43565b348015610583575f80fd5b50600e546104d090600160a01b900462ffffff1681565b3480156105a5575f80fd5b506103eb60145481565b3480156105ba575f80fd5b5061044d7f000000000000000000000000db47191a340e7bd290b6ca147452499589134fc981565b3480156105ed575f80fd5b506104986105fc3660046121c8565b610d64565b34801561060c575f80fd5b50600b5461044d906001600160a01b031681565b34801561062b575f80fd5b50600c546104d090600160a01b900462ffffff1681565b34801561064d575f80fd5b50600e546104d090600160881b900462ffffff1681565b34801561066f575f80fd5b506008546103a39060ff1681565b348015610688575f80fd5b506103a36106973660046121f9565b60066020525f908152604090205460ff1681565b3480156106b6575f80fd5b506103eb60175481565b3480156106cb575f80fd5b50600d546103a390600160801b900460ff1681565b3480156106eb575f80fd5b506103eb6106fa3660046121f9565b6001600160a01b03165f9081526020819052604090205490565b34801561071f575f80fd5b50610498610eb0565b348015610733575f80fd5b50601054610747906001600160801b031681565b6040516001600160801b0390911681526020016103af565b34801561076a575f80fd5b50610498610f23565b34801561077e575f80fd5b50610498610fa4565b348015610792575f80fd5b50600f546103a390600160801b900460ff1681565b3480156107b2575f80fd5b506015546103a39060ff1681565b3480156107cb575f80fd5b50610498611000565b3480156107df575f80fd5b506010546104d090600160801b900462ffffff1681565b348015610801575f80fd5b506103a36108103660046121f9565b60076020525f908152604090205460ff1681565b34801561082f575f80fd5b506005546001600160a01b031661044d565b34801561084c575f80fd5b50600d54610747906001600160801b031681565b34801561086b575f80fd5b506103eb60115481565b348015610880575f80fd5b5061040d611148565b348015610894575f80fd5b5061089e61271081565b60405167ffffffffffffffff90911681526020016103af565b3480156108c2575f80fd5b506103a36108d1366004612155565b611157565b3480156108e1575f80fd5b50600c546104d090600160e81b900462ffffff1681565b348015610903575f80fd5b506103a3610912366004612155565b6111d1565b348015610922575f80fd5b5061044d7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b348015610955575f80fd5b506103a36109643660046121f9565b60096020525f908152604090205460ff1681565b348015610983575f80fd5b50600e54610747906001600160801b031681565b3480156109a2575f80fd5b50600a5461044d906001600160a01b031681565b3480156109c1575f80fd5b50600e546103a390600160801b900460ff1681565b3480156109e1575f80fd5b50600c5461044d906001600160a01b031681565b348015610a00575f80fd5b50610498610a0f366004612219565b6111de565b348015610a1f575f80fd5b50600d546104d090600160881b900462ffffff1681565b348015610a41575f80fd5b506103a3610a503660046121f9565b60126020525f908152604090205460ff1681565b348015610a6f575f80fd5b506103eb7f0000000000000000000000000000000000000000000034f086f3b33b6840000081565b348015610aa2575f80fd5b50600c546104d090600160b81b900462ffffff1681565b348015610ac4575f80fd5b506103eb610ad336600461229c565b611272565b348015610ae3575f80fd5b50600d546104d090600160a01b900462ffffff1681565b348015610b05575f80fd5b50600f54610747906001600160801b031681565b348015610b24575f80fd5b50610498610b333660046121f9565b61129c565b348015610b43575f80fd5b506103eb60165481565b348015610b58575f80fd5b50600f546104d090600160881b900462ffffff1681565b606060038054610b7e906122c4565b80601f0160208091040260200160405190810160405280929190818152602001828054610baa906122c4565b8015610bf55780601f10610bcc57610100808354040283529160200191610bf5565b820191905f5260205f20905b815481529060010190602001808311610bd857829003601f168201915b5050505050905090565b5f33610c0c818585611386565b60019150505b92915050565b6005546001600160a01b03163314610c4b5760405162461bcd60e51b8152600401610c42906122fc565b60405180910390fd5b60135460ff16610c9d5760405162461bcd60e51b815260206004820152601a60248201527f57686974656c69737420616c726561647920696e6163746976650000000000006044820152606401610c42565b6013805460ff19169055600c805465ffffffffffff60a01b19811662ffffff60b81b19600160d01b830462ffffff908116600160a01b0291821692909217600160e81b62ffffff60a01b199094169091179290920416600160b81b02179055600d80546001600160801b038116601655600160801b60ff60801b19909116179055565b5f33610d2d8582856114a9565b610d3885858561151b565b506001949350505050565b5f33610c0c818585610d558383611272565b610d5f9190612345565b611386565b6005546001600160a01b03163314610d8e5760405162461bcd60e51b8152600401610c42906122fc565b600c5462ffffff600160a01b90910481169083161080610db557506101f48262ffffff1611155b610e015760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f742072616973652062757920746178206f766572203525000000006044820152606401610c42565b600c5462ffffff600160b81b90910481169082161080610e2857506101f48162ffffff1611155b610e745760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f742072616973652062757920746178206f766572203525000000006044820152606401610c42565b600c805465ffffffffffff60a01b1916600160a01b62ffffff9485160262ffffff60b81b191617600160b81b9290931691909102919091179055565b6005546001600160a01b03163314610eda5760405162461bcd60e51b8152600401610c42906122fc565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610f4d5760405162461bcd60e51b8152600401610c42906122fc565b60155460ff16610f985760405162461bcd60e51b8152602060048201526016602482015275131a5b5a5d1cc8185b1c9958591e481c995b5bdd995960521b6044820152606401610c42565b6015805460ff19169055565b600c546001600160a01b03163314610fee5760405162461bcd60e51b815260206004820152600d60248201526c2737ba1034b731bab130ba37b960991b6044820152606401610c42565b600c80546001600160a01b0319169055565b6005546001600160a01b0316331461102a5760405162461bcd60e51b8152600401610c42906122fc565b60085460ff161561107d5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c65640000000000000000006044820152606401610c42565b6008805460ff1916600117905560135460ff16156110cb574260118190556110c6907f000000000000000000000000000000000000000000000000000000000000012c90612345565b601755565b42601755600c805465ffffffffffff60a01b19811662ffffff60b81b19600160d01b830462ffffff908116600160a01b0291821692909217600160e81b62ffffff60a01b199094169091179290920416600160b81b02179055600d80546001600160801b038116601655600160801b60ff60801b19909116179055565b606060048054610b7e906122c4565b5f33816111648286611272565b9050838110156111c45760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c42565b610d388286868403611386565b5f33610c0c81858561151b565b6005546001600160a01b031633146112085760405162461bcd60e51b8152600401610c42906122fc565b5f5b8281101561126c578160125f86868581811061122857611228612358565b905060200201602081019061123d91906121f9565b6001600160a01b0316815260208101919091526040015f20805460ff191691151591909117905560010161120a565b50505050565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6005546001600160a01b031633146112c65760405162461bcd60e51b8152600401610c42906122fc565b6001600160a01b03811661132b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c42565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166113e85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c42565b6001600160a01b0382166114495760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c42565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6114b48484611272565b90505f19811461126c578181101561150e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c42565b61126c8484848403611386565b6001600160a01b0383165f9081526006602052604090205460ff1615801561155b57506001600160a01b0382165f9081526006602052604090205460ff16155b156115c95760085460ff166115a75760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610c42565b6115b28383836115d9565b6115bc908261236c565b90506115c983838361172f565b6115d4838383611a2d565b505050565b305f908152602081905260408120547f0000000000000000000000000000000000000000000034f086f3b33b684000001115801561162f57506001600160a01b0384165f9081526009602052604090205460ff16155b801561164957504360145460016116469190612345565b11155b1561165657611656611bd0565b60185460ff16801561166b575060135460ff16155b1561167857611678611e3a565b6001600160a01b0383165f90815260096020526040812054819060ff16156116af5750600c54600160b81b900462ffffff166116e0565b6001600160a01b0386165f9081526009602052604090205460ff16156116e05750600c54600160a01b900462ffffff165b62ffffff81161561171d576127106116fd62ffffff83168661237f565b6117079190612396565b915061171d8630846001600160801b0316611a2d565b506001600160801b0316949350505050565b60155460ff16156115d4576001600160a01b0382165f90815260076020908152604080832054918390529091205460135460ff92831692161561196257427f000000000000000000000000000000000000000000000000000000000000012c60115461179b9190612345565b106118e0576001600160a01b0385165f9081526009602052604090205460ff1680156117c5575081155b15611806576001600160a01b0384165f9081526012602052604090205460ff166118015760405162461bcd60e51b8152600401610c42906123b5565b611962565b6001600160a01b0384165f9081526009602052604090205460ff16801561184557506001600160a01b0385165f9081526007602052604090205460ff16155b15611881576001600160a01b0385165f9081526012602052604090205460ff166118015760405162461bcd60e51b8152600401610c42906123b5565b81611801576001600160a01b0384165f9081526012602052604090205460ff1680156118c457506001600160a01b0385165f9081526012602052604090205460ff165b6118015760405162461bcd60e51b8152600401610c42906123b5565b6013805460ff19169055600c805465ffffffffffff60a01b19811662ffffff60b81b19600160d01b830462ffffff908116600160a01b0291821692909217600160e81b62ffffff60a01b199094169091179290920416600160b81b02179055600d80546001600160801b038116601655600160801b60ff60801b199091161790555b6001600160a01b0385165f9081526009602052604090205460ff168015611987575081155b156119d9576016546119998285612345565b11156119d45760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610c42565b611a26565b81611a26576016546119eb8285612345565b1115611a265760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610c42565b5050505050565b6001600160a01b038316611a915760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c42565b6001600160a01b038216611af35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c42565b6001600160a01b0383165f9081526020819052604090205481811015611b6a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c42565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b305f9081526020819052604081205490819003611bea5750565b43601455611c197f0000000000000000000000000000000000000000000034f086f3b33b68400000600a61237f565b811115611c4e57611c4b7f0000000000000000000000000000000000000000000034f086f3b33b68400000600a61237f565b90505b8015611e3757611c5d81611ff1565b600c5447905f906001600160a01b031615611cf0575f612710611c82846107d061237f565b611c8c9190612396565b600c546040519192506001600160a01b03169082905f81818185875af1925050503d805f8114611cd7576040519150601f19603f3d011682016040523d82523d5f602084013e611cdc565b606091505b50909250611cec9050818461236c565b9250505b601054600160801b900462ffffff1661271003611d5e57600a546040516001600160a01b039091169083905f81818185875af1925050503d805f8114611d51576040519150601f19603f3d011682016040523d82523d5f602084013e611d56565b606091505b505050505050565b6010545f9061271090611d7d90600160801b900462ffffff168561237f565b611d879190612396565b600a546040519192506001600160a01b03169082905f81818185875af1925050503d805f8114611dd2576040519150601f19603f3d011682016040523d82523d5f602084013e611dd7565b606091505b5050600b549092506001600160a01b0316611df2828561236c565b6040515f81818185875af1925050503d805f8114611e2b576040519150601f19603f3d011682016040523d82523d5f602084013e611e30565b606091505b5050505050505b50565b60175442905f908210611e5757601754611e54908361236c565b90505b6103848110611edd576018805460ff19169055600f54600c805465ffffffffffff60a01b1916600160881b830462ffffff908116600160a01b90810262ffffff60b81b1916929092179190930492909216600160b81b029190911790556010546001600160801b031660165560025460165403611ed9576015805460ff191690555b5050565b6102588110611f6757600f54600160801b900460ff16611ed957600e54600c805465ffffffffffff60a01b1916600160881b830462ffffff908116600160a01b90810262ffffff60b81b1916929092179190930492909216600160b81b02919091179055600f80546001600160801b038116601655600160801b60ff60801b199091161790555050565b61012c8110611ed957600e54600160801b900460ff16611ed957600d54600c805465ffffffffffff60a01b1916600160881b830462ffffff908116600160a01b90810262ffffff60b81b1916929092179190930492909216600160b81b02919091179055600e80546001600160801b038116601655600160801b60ff60801b199091161790555050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061202457612024612358565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160018151811061207857612078612358565b6001600160a01b03928316602091820292909201015260405163791ac94760e01b81527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063791ac947906120dc9085905f908690309042906004016123de565b5f604051808303815f87803b1580156120f3575f80fd5b505af1158015611d56573d5f803e3d5ffd5b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114612150575f80fd5b919050565b5f8060408385031215612166575f80fd5b61216f8361213a565b946020939093013593505050565b5f805f6060848603121561218f575f80fd5b6121988461213a565b92506121a66020850161213a565b9150604084013590509250925092565b803562ffffff81168114612150575f80fd5b5f80604083850312156121d9575f80fd5b6121e2836121b6565b91506121f0602084016121b6565b90509250929050565b5f60208284031215612209575f80fd5b6122128261213a565b9392505050565b5f805f6040848603121561222b575f80fd5b833567ffffffffffffffff80821115612242575f80fd5b818601915086601f830112612255575f80fd5b813581811115612263575f80fd5b8760208260051b8501011115612277575f80fd5b602092830195509350508401358015158114612291575f80fd5b809150509250925092565b5f80604083850312156122ad575f80fd5b6122b68361213a565b91506121f06020840161213a565b600181811c908216806122d857607f821691505b6020821081036122f657634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610c1257610c12612331565b634e487b7160e01b5f52603260045260245ffd5b81810381811115610c1257610c12612331565b8082028115828204841417610c1257610c12612331565b5f826123b057634e487b7160e01b5f52601260045260245ffd5b500490565b6020808252600f908201526e139bdd081dda1a5d195b1a5cdd1959608a1b604082015260600190565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b8181101561242e5784516001600160a01b031683529383019391830191600101612409565b50506001600160a01b0396909616606085015250505060800152939250505056fea26469706673582212205813bc6bf91591f154373ca7b68e34456bb22a14f477e760aa6f6d8f5c1eab6b64736f6c63430008190033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.