ETH Price: $3,720.48 (+3.59%)

Token

ERC-20: Ember (EMBR)
 

Overview

Max Total Supply

987,678,321,000 EMBR

Holders

491

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.750000000000008741 EMBR

Value
$0.00
0xa8b2e274643e56ce24444da214e1c32576d0a5af
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:
EMBRToken

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : EMBR.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.20;

import "solmate/tokens/ERC20.sol";
import "solmate/auth/Owned.sol";
import "./IUniswapV2Router01.sol";
import "./PersonalEmbrVester.sol";
import "./PresaleManager.sol";
import "./SafeMath.sol";

contract EMBRToken is ERC20, Owned {
    using SafeMath for uint256;

    uint public buy_tax = 5;
    uint public sell_tax = 5;
    uint public preventSwapBefore = 10;
    uint public buyCount = 0;
    uint public swapThreshold = 100_000 * 10**18;
    uint public inSwap = 1; // 1 = false, 2 = true. Saves gas cuz changing from non zero to non zero is cheaper than changing zero to non zero.
    mapping(address => bool) public lps;
    mapping(address => bool) public routers;
    mapping(address => bool) public excludedFromFee;
    address public weth = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;
    address public uniRouter = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
    uint public maxTx = 1_000_000 * 10**18;
    uint public maxHolding = 1_000_000 * 10**18;

    uint public isTradingEnabled = 1;

    mapping(address => bool) public excludedAntiWhales;

    constructor() ERC20("Ember", "EMBR", 18) Owned(msg.sender) {
        excludedAntiWhales[address(this)] = true;
        excludedAntiWhales[msg.sender] = true;


        // uni router 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        routers[0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D] = true;
        allowance[address(this)][0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D] = type(uint256).max;
        excludedAntiWhales[0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D] = true;

        super._mint(msg.sender, 9_000_000 * 10**18);
    }

    modifier lockTheSwap() {
        inSwap = 2;
        _;
        inSwap = 1;
    }

    function setMaxTx(uint amount) onlyOwner external {
        maxTx = amount;
    }

    function setMaxHolding(uint amount) onlyOwner external {
        maxHolding = amount;
    }

    function excludeWhale(address addy) onlyOwner external {
        excludedAntiWhales[addy] = true;
    }

    function setUniRouter(address newRouter) onlyOwner external {
        uniRouter = newRouter;
    }

    function setAmm(address lp) onlyOwner external {
        lps[lp] = true;
        excludedAntiWhales[lp] = true;
    }

    function setRouter(address router) onlyOwner external {
        routers[router] = true;
        allowance[address(this)][router] = type(uint256).max;
        excludedAntiWhales[router] = true;
    }

    function excludeFromFee(address addy) onlyOwner external {
        excludedFromFee[addy] = true;
    }

    function setPreventSwapBefore(uint counter) onlyOwner external {
        preventSwapBefore = counter;
    }

    function setSwapThreshold(uint newThreshold) onlyOwner external {
        swapThreshold = newThreshold;
    }

    function setSellTax(uint newTax) onlyOwner external {
        sell_tax = newTax;
    }

    function setBuyTax(uint newTax) onlyOwner external {
        buy_tax = newTax;
    }

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

    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public override returns (bool) {
        uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals.
        if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount;
        _transfer(from, to, amount);
        return true;
    }

    function _transfer(address from, address to, uint256 amount) private {
        require(isTradingEnabled == 2 || tx.origin == owner, "trading isnt live");
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        require(maxTx >= amount || excludedAntiWhales[from], "max tx limit");

        uint256 taxAmount = 0;
        if (from != owner && to != owner && tx.origin != owner) {
            bool isSelling;
            if (lps[from] &&
                !routers[to] &&
                !excludedFromFee[to]) {
                    buyCount++;
                    taxAmount = amount
                    .mul(buy_tax)
                    .div(100);
            }

            if (lps[to] && from != address(this)) {
                isSelling = true;
                taxAmount = amount
                .mul(sell_tax)
                .div(100);
            }

            uint256 contractTokenBalance = balanceOf[address(this)];
            if (
                inSwap == 1 &&
                isSelling &&
                contractTokenBalance > swapThreshold &&
                buyCount > preventSwapBefore
            ) {
                swapTokensForEth(contractTokenBalance);
                uint256 contractETHBalance = address(this).balance;
                if (contractETHBalance > 0.1 ether) {
                    payable(owner).transfer(contractETHBalance);
                }
            }
        }

        if (taxAmount > 0) {
            balanceOf[address(this)] = balanceOf[address(this)].add(taxAmount);
            emit Transfer(from, address(this), taxAmount);
        }

        balanceOf[from] = balanceOf[from].sub(amount);
        balanceOf[to] = balanceOf[to].add(amount.sub(taxAmount));

        require(balanceOf[to] <= maxHolding || excludedAntiWhales[to] || tx.origin == owner, "max holding limit");
        emit Transfer(from, to, amount.sub(taxAmount));
    }

    function enableTrading() onlyOwner external {
        isTradingEnabled = 2;
    }

    function claimTaxes() onlyOwner external {
        uint256 contractTokenBalance = balanceOf[address(this)];
        balanceOf[address(this)] -= contractTokenBalance;
        balanceOf[owner] += contractTokenBalance;
        emit Transfer(address(this), owner, contractTokenBalance);
    }

    function swapTokensForEth(uint amount) private lockTheSwap {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = weth;
        IUniswapV2Router01(uniRouter).swapExactTokensForETHSupportingFeeOnTransferTokens(amount, 0, path, address(this), 99999999999999999999);
    }

    function mint(uint amount) onlyOwner external {
        super._mint(owner, amount);
    }

    receive() external payable { }

    function withdraw() onlyOwner external {
        (bool sent,) = owner.call{value: address(this).balance}("");
        require(sent, "Failed to send Ether");
    }
}

File 2 of 9 : ERC20.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

/// @notice Modern and gas efficient ERC20 + EIP-2612 implementation.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol)
/// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol)
/// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it.
abstract contract ERC20 {
    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event Transfer(address indexed from, address indexed to, uint256 amount);

    event Approval(address indexed owner, address indexed spender, uint256 amount);

    /*//////////////////////////////////////////////////////////////
                            METADATA STORAGE
    //////////////////////////////////////////////////////////////*/

    string public name;

    string public symbol;

    uint8 public immutable decimals;

    /*//////////////////////////////////////////////////////////////
                              ERC20 STORAGE
    //////////////////////////////////////////////////////////////*/

    uint256 public totalSupply;

    mapping(address => uint256) public balanceOf;

    mapping(address => mapping(address => uint256)) public allowance;

    /*//////////////////////////////////////////////////////////////
                            EIP-2612 STORAGE
    //////////////////////////////////////////////////////////////*/

    uint256 internal immutable INITIAL_CHAIN_ID;

    bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR;

    mapping(address => uint256) public nonces;

    /*//////////////////////////////////////////////////////////////
                               CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(
        string memory _name,
        string memory _symbol,
        uint8 _decimals
    ) {
        name = _name;
        symbol = _symbol;
        decimals = _decimals;

        INITIAL_CHAIN_ID = block.chainid;
        INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator();
    }

    /*//////////////////////////////////////////////////////////////
                               ERC20 LOGIC
    //////////////////////////////////////////////////////////////*/

    function approve(address spender, uint256 amount) public virtual returns (bool) {
        allowance[msg.sender][spender] = amount;

        emit Approval(msg.sender, spender, amount);

        return true;
    }

    function transfer(address to, uint256 amount) public virtual returns (bool) {
        balanceOf[msg.sender] -= amount;

        // Cannot overflow because the sum of all user
        // balances can't exceed the max uint256 value.
        unchecked {
            balanceOf[to] += amount;
        }

        emit Transfer(msg.sender, to, amount);

        return true;
    }

    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual returns (bool) {
        uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals.

        if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount;

        balanceOf[from] -= amount;

        // Cannot overflow because the sum of all user
        // balances can't exceed the max uint256 value.
        unchecked {
            balanceOf[to] += amount;
        }

        emit Transfer(from, to, amount);

        return true;
    }

    /*//////////////////////////////////////////////////////////////
                             EIP-2612 LOGIC
    //////////////////////////////////////////////////////////////*/

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual {
        require(deadline >= block.timestamp, "PERMIT_DEADLINE_EXPIRED");

        // Unchecked because the only math done is incrementing
        // the owner's nonce which cannot realistically overflow.
        unchecked {
            address recoveredAddress = ecrecover(
                keccak256(
                    abi.encodePacked(
                        "\x19\x01",
                        DOMAIN_SEPARATOR(),
                        keccak256(
                            abi.encode(
                                keccak256(
                                    "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"
                                ),
                                owner,
                                spender,
                                value,
                                nonces[owner]++,
                                deadline
                            )
                        )
                    )
                ),
                v,
                r,
                s
            );

            require(recoveredAddress != address(0) && recoveredAddress == owner, "INVALID_SIGNER");

            allowance[recoveredAddress][spender] = value;
        }

        emit Approval(owner, spender, value);
    }

    function DOMAIN_SEPARATOR() public view virtual returns (bytes32) {
        return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator();
    }

    function computeDomainSeparator() internal view virtual returns (bytes32) {
        return
            keccak256(
                abi.encode(
                    keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
                    keccak256(bytes(name)),
                    keccak256("1"),
                    block.chainid,
                    address(this)
                )
            );
    }

    /*//////////////////////////////////////////////////////////////
                        INTERNAL MINT/BURN LOGIC
    //////////////////////////////////////////////////////////////*/

    function _mint(address to, uint256 amount) internal virtual {
        totalSupply += amount;

        // Cannot overflow because the sum of all user
        // balances can't exceed the max uint256 value.
        unchecked {
            balanceOf[to] += amount;
        }

        emit Transfer(address(0), to, amount);
    }

    function _burn(address from, uint256 amount) internal virtual {
        balanceOf[from] -= amount;

        // Cannot underflow because a user's balance
        // will never be larger than the total supply.
        unchecked {
            totalSupply -= amount;
        }

        emit Transfer(from, address(0), amount);
    }
}

File 3 of 9 : Owned.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

/// @notice Simple single owner authorization mixin.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/auth/Owned.sol)
abstract contract Owned {
    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

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

    /*//////////////////////////////////////////////////////////////
                            OWNERSHIP STORAGE
    //////////////////////////////////////////////////////////////*/

    address public owner;

    modifier onlyOwner() virtual {
        require(msg.sender == owner, "UNAUTHORIZED");

        _;
    }

    /*//////////////////////////////////////////////////////////////
                               CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(address _owner) {
        owner = _owner;

        emit OwnershipTransferred(address(0), _owner);
    }

    /*//////////////////////////////////////////////////////////////
                             OWNERSHIP LOGIC
    //////////////////////////////////////////////////////////////*/

    function transferOwnership(address newOwner) public virtual onlyOwner {
        owner = newOwner;

        emit OwnershipTransferred(msg.sender, newOwner);
    }
}

File 4 of 9 : IUniswapV2Router01.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.2;

// https://uniswap.org/docs/v2/smart-contracts/router01/
// https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/UniswapV2Router01.sol implementation
// UniswapV2Router01 is deployed at 0xf164fC0Ec4E93095b804a4795bBe1e041497b92a on the Ethereum mainnet, and the Ropsten, Rinkeby, Görli, and Kovan testnets

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

  function addLiquidity(
      address tokenA,
      address tokenB,
      uint amountADesired,
      uint amountBDesired,
      uint amountAMin,
      uint amountBMin,
      address to,
      uint deadline
  ) external returns (uint amountA, uint amountB, uint liquidity);
  function addLiquidityETH(
      address token,
      uint amountTokenDesired,
      uint amountTokenMin,
      uint amountETHMin,
      address to,
      uint deadline
  ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
  function removeLiquidity(
      address tokenA,
      address tokenB,
      uint liquidity,
      uint amountAMin,
      uint amountBMin,
      address to,
      uint deadline
  ) external returns (uint amountA, uint amountB);
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
  function removeLiquidityETH(
      address token,
      uint liquidity,
      uint amountTokenMin,
      uint amountETHMin,
      address to,
      uint deadline
  ) external returns (uint amountToken, uint amountETH);
  function removeLiquidityWithPermit(
      address tokenA,
      address tokenB,
      uint liquidity,
      uint amountAMin,
      uint amountBMin,
      address to,
      uint deadline,
      bool approveMax, uint8 v, bytes32 r, bytes32 s
  ) external returns (uint amountA, uint amountB);
  function removeLiquidityETHWithPermit(
      address token,
      uint liquidity,
      uint amountTokenMin,
      uint amountETHMin,
      address to,
      uint deadline,
      bool approveMax, uint8 v, bytes32 r, bytes32 s
  ) external returns (uint amountToken, uint amountETH);
  function swapExactTokensForTokens(
      uint amountIn,
      uint amountOutMin,
      address[] calldata path,
      address to,
      uint deadline
  ) external returns (uint[] memory amounts);
  function swapTokensForExactTokens(
      uint amountOut,
      uint amountInMax,
      address[] calldata path,
      address to,
      uint deadline
  ) external returns (uint[] memory amounts);
  function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
      external
      payable
      returns (uint[] memory amounts);
  function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
      external
      returns (uint[] memory amounts);
  function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
      external
      returns (uint[] memory amounts);
  function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
      external
      payable
      returns (uint[] memory amounts);

  function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
  function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
  function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
  function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
  function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

File 5 of 9 : PersonalEmbrVester.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.20;

import "./EMBR.sol";

import "solmate/tokens/ERC20.sol";

contract PersonalVester {
    // This is set in constructor
    address public claimer;
    EMBRToken public embr;
    uint public vestingTime;
    uint public cliff;
    uint public totalTokens;

    // This is set in startVest()
    uint public startingTime;

    uint public totalClaimed;

    uint256 public precision = 10e9;

    constructor(uint _totalTokens, uint _vestingTime, uint _cliff, address _claimer){
        totalTokens = _totalTokens;
        vestingTime = _vestingTime;
        cliff = _cliff;
        claimer = _claimer;
        // this contract is only deployed by embr
        // embr = EMBRToken(msg.sender);
    }

    // This function is only called by esEMBR contract. esEMBR also calls claim for this user.
    function startVest() external {
        require(msg.sender == address(embr), "caller must be embr contract");
        startingTime = block.timestamp;
    }

    function claim() public returns (uint256) {
        require(msg.sender == claimer, "invalid caller");
        require(startingTime != 0, "vesting is not started");
        require(block.timestamp > startingTime + cliff, "cliff not reached!");

        uint passedTime = block.timestamp - startingTime;
        if (passedTime > vestingTime) passedTime = vestingTime;

        uint totalClaimableTokens = totalTokens * precision * passedTime / vestingTime / precision;
        uint toClaim = totalClaimableTokens - totalClaimed;

        totalClaimed += toClaim;

        embr.transfer(msg.sender, toClaim);

        return toClaim;
    }

    function claimable() external view returns (uint256) {
        if (startingTime == 0) return 0;
        if (block.timestamp < startingTime + cliff) return 0;
        uint passedTime = block.timestamp - startingTime;
        if (passedTime > vestingTime) passedTime = vestingTime;

        uint totalClaimableTokens = totalTokens * precision * passedTime / vestingTime / precision;
        uint toClaim = totalClaimableTokens - totalClaimed;
        return toClaim;
    }
}

File 6 of 9 : PresaleManager.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.20;

import "solmate/auth/Owned.sol";
import "./IEMBR.sol";
import "solady/src/utils/ECDSA.sol";

using ECDSA for bytes32;

contract EMBRPresale is Owned {
    IEMBRToken public ember_token;

    uint public total_commited_eth;
    uint public hard_cap = 500.01 ether;

    uint public precision = 10**21;

    uint public commit_start;
    uint public commit_length;

    mapping(address => uint) public commited_amount;
    mapping(address => uint) public claimed;

    uint public vesting_start;
    uint public cliff_period = 14 days;
    uint public vesting_period = 90 days;

    uint public PRICE_PER_TOKEN = 0.00016667 ether;

    address public claimSigner;

    event Commit(address indexed from, uint commit_amount, uint total_commitment);

    constructor(address _claimSigner, uint _commitStart, uint _commitLength) Owned(msg.sender) {
        claimSigner = _claimSigner;

        commit_start = _commitStart;
        commit_length = _commitLength;
    }

    function commit(bytes memory signature, uint min_allocation, uint max_allocation) payable public {
        require(block.timestamp >= commit_start, "Sale is not live yet");
        require(block.timestamp < (commit_start + commit_length), "Sale already ended");

        require(msg.value > 0, "Commitment amount too low");

        // Verify signature & allocation size
        bytes32 hashed = keccak256(abi.encodePacked(msg.sender, min_allocation, max_allocation));
        bytes32 message = ECDSA.toEthSignedMessageHash(hashed);
        address recovered_address = ECDSA.recover(message, signature);
        require(recovered_address == claimSigner, "Invalid signer");

        uint user_commited_amount = commited_amount[msg.sender];
        require(user_commited_amount >= min_allocation || msg.value >= min_allocation, "Minimum presale commitment not met");

        uint allocation_available = max_allocation - user_commited_amount;

        uint leftFromHardCap = hard_cap - total_commited_eth;
        if (leftFromHardCap < allocation_available) allocation_available = leftFromHardCap;

        require(allocation_available > 0, "No more allocation left");

        uint commit_amount = msg.value;

        // If the user is trying to commit more than they have allocated, refund the difference and proceed
        if (msg.value > allocation_available) {
            uint leftover = msg.value - allocation_available;

            (bool sent,) = msg.sender.call{value: leftover}("");
            require(sent, "Failed to send Ether");

            commit_amount -= leftover;
        }

        commited_amount[msg.sender] += commit_amount;
        total_commited_eth += commit_amount;

        emit Commit(msg.sender, commit_amount, commited_amount[msg.sender]);
    }

    function claim() external returns (uint) {
        require(vesting_start != 0, "vesting hasnt started yet bro");
        require(block.timestamp >= vesting_start + cliff_period, "You can only start claiming after cliff period");

        uint passedTime = block.timestamp - vesting_start;
        if (passedTime > vesting_period) passedTime = vesting_period;

        uint totalUserTokens = commited_amount[msg.sender] * 10**18 / PRICE_PER_TOKEN;
        uint totalClaimableTokens = totalUserTokens * precision * passedTime / vesting_period / precision;
        uint toClaim = totalClaimableTokens - claimed[msg.sender];

        claimed[msg.sender] += toClaim;

        ember_token.mintWithAllowance(toClaim, msg.sender);

        return toClaim;
    }

    function claimable() external view returns (uint) {
        if (vesting_start == 0) return 0;
        if (block.timestamp < vesting_start + cliff_period) return 0;

        uint passedTime = block.timestamp - vesting_start;
        if (passedTime > vesting_period) passedTime = vesting_period;

        uint totalUserTokens = commited_amount[msg.sender] * 10**18 / PRICE_PER_TOKEN;
        uint totalClaimableTokens = totalUserTokens * precision * passedTime / vesting_period / precision;
        uint toClaim = totalClaimableTokens - claimed[msg.sender];

        return toClaim;
    }

    function withdraw() onlyOwner external {
        (bool sent,) = owner.call{value: address(this).balance}("");
        require(sent, "Failed to send Ether");
    }

    function startVesting() onlyOwner external {
        vesting_start = block.timestamp;
    }

    function setEmbr(address embr) onlyOwner external {
        ember_token = IEMBRToken(embr);
    }

    function setCommitInfo(uint startTs, uint length) onlyOwner external {
        commit_start = startTs;
        commit_length = length;
    }

    function setHardCap(uint new_hardcap) onlyOwner external {
        hard_cap = new_hardcap;
    }
}

File 7 of 9 : SafeMath.sol
pragma solidity ^0.8.20;


/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
    if (a == 0) {
      return 0;
    }
    c = a * b;
    assert(c / a == b);
    return c;
  }

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    // uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return a / b;
  }

  /**
  * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
    c = a + b;
    assert(c >= a);
    return c;
  }
}

File 8 of 9 : IEMBR.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.20;

interface IEMBRToken {
    function mint_allowance(address addy) external returns (uint);
    function mintWithAllowance(uint amount, address receiver) external;
}

File 9 of 9 : ECDSA.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/// @notice Gas optimized ECDSA wrapper.
/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/ECDSA.sol)
/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/ECDSA.sol)
/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/ECDSA.sol)
library ECDSA {
    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                        CUSTOM ERRORS                       */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev The signature is invalid.
    error InvalidSignature();

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                         CONSTANTS                          */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev The number which `s` must be less than in order for
    /// the signature to be non-malleable.
    bytes32 private constant _MALLEABILITY_THRESHOLD_PLUS_ONE =
        0x7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a1;

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                    RECOVERY OPERATIONS                     */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    // Note: as of Solady version 0.0.68, these functions will
    // revert upon recovery failure for more safety by default.

    /// @dev Recovers the signer's address from a message digest `hash`,
    /// and the `signature`.
    ///
    /// This function does NOT accept EIP-2098 short form signatures.
    /// Use `recover(bytes32 hash, bytes32 r, bytes32 vs)` for EIP-2098
    /// short form signatures instead.
    function recover(bytes32 hash, bytes memory signature) internal view returns (address result) {
        /// @solidity memory-safe-assembly
        assembly {
            let m := mload(0x40) // Cache the free memory pointer.
            mstore(0x00, hash)
            mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.
            mstore(0x40, mload(add(signature, 0x20))) // `r`.
            mstore(0x60, mload(add(signature, 0x40))) // `s`.
            pop(
                staticcall(
                    gas(), // Amount of gas left for the transaction.
                    and(
                        // If the signature is exactly 65 bytes in length.
                        eq(mload(signature), 65),
                        // If `s` in lower half order, such that the signature is not malleable.
                        lt(mload(0x60), _MALLEABILITY_THRESHOLD_PLUS_ONE)
                    ), // Address of `ecrecover`.
                    0x00, // Start of input.
                    0x80, // Size of input.
                    0x00, // Start of output.
                    0x20 // Size of output.
                )
            )
            result := mload(0x00)
            // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.
            if iszero(returndatasize()) {
                mstore(0x00, 0x8baa579f) // `InvalidSignature()`.
                revert(0x1c, 0x04)
            }
            mstore(0x60, 0) // Restore the zero slot.
            mstore(0x40, m) // Restore the free memory pointer.
        }
    }

    /// @dev Recovers the signer's address from a message digest `hash`,
    /// and the `signature`.
    ///
    /// This function does NOT accept EIP-2098 short form signatures.
    /// Use `recover(bytes32 hash, bytes32 r, bytes32 vs)` for EIP-2098
    /// short form signatures instead.
    function recoverCalldata(bytes32 hash, bytes calldata signature)
        internal
        view
        returns (address result)
    {
        /// @solidity memory-safe-assembly
        assembly {
            let m := mload(0x40) // Cache the free memory pointer.
            mstore(0x00, hash)
            mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.
            calldatacopy(0x40, signature.offset, 0x40) // Copy `r` and `s`.
            pop(
                staticcall(
                    gas(), // Amount of gas left for the transaction.
                    and(
                        // If the signature is exactly 65 bytes in length.
                        eq(signature.length, 65),
                        // If `s` in lower half order, such that the signature is not malleable.
                        lt(mload(0x60), _MALLEABILITY_THRESHOLD_PLUS_ONE)
                    ), // Address of `ecrecover`.
                    0x00, // Start of input.
                    0x80, // Size of input.
                    0x00, // Start of output.
                    0x20 // Size of output.
                )
            )
            result := mload(0x00)
            // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.
            if iszero(returndatasize()) {
                mstore(0x00, 0x8baa579f) // `InvalidSignature()`.
                revert(0x1c, 0x04)
            }
            mstore(0x60, 0) // Restore the zero slot.
            mstore(0x40, m) // Restore the free memory pointer.
        }
    }

    /// @dev Recovers the signer's address from a message digest `hash`,
    /// and the EIP-2098 short form signature defined by `r` and `vs`.
    ///
    /// This function only accepts EIP-2098 short form signatures.
    /// See: https://eips.ethereum.org/EIPS/eip-2098
    function recover(bytes32 hash, bytes32 r, bytes32 vs) internal view returns (address result) {
        /// @solidity memory-safe-assembly
        assembly {
            let m := mload(0x40) // Cache the free memory pointer.
            mstore(0x00, hash)
            mstore(0x20, add(shr(255, vs), 27)) // `v`.
            mstore(0x40, r)
            mstore(0x60, shr(1, shl(1, vs))) // `s`.
            pop(
                staticcall(
                    gas(), // Amount of gas left for the transaction.
                    // If `s` in lower half order, such that the signature is not malleable.
                    lt(mload(0x60), _MALLEABILITY_THRESHOLD_PLUS_ONE), // Address of `ecrecover`.
                    0x00, // Start of input.
                    0x80, // Size of input.
                    0x00, // Start of output.
                    0x20 // Size of output.
                )
            )
            result := mload(0x00)
            // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.
            if iszero(returndatasize()) {
                mstore(0x00, 0x8baa579f) // `InvalidSignature()`.
                revert(0x1c, 0x04)
            }
            mstore(0x60, 0) // Restore the zero slot.
            mstore(0x40, m) // Restore the free memory pointer.
        }
    }

    /// @dev Recovers the signer's address from a message digest `hash`,
    /// and the signature defined by `v`, `r`, `s`.
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s)
        internal
        view
        returns (address result)
    {
        /// @solidity memory-safe-assembly
        assembly {
            let m := mload(0x40) // Cache the free memory pointer.
            mstore(0x00, hash)
            mstore(0x20, and(v, 0xff))
            mstore(0x40, r)
            mstore(0x60, s)
            pop(
                staticcall(
                    gas(), // Amount of gas left for the transaction.
                    // If `s` in lower half order, such that the signature is not malleable.
                    lt(s, _MALLEABILITY_THRESHOLD_PLUS_ONE), // Address of `ecrecover`.
                    0x00, // Start of input.
                    0x80, // Size of input.
                    0x00, // Start of output.
                    0x20 // Size of output.
                )
            )
            result := mload(0x00)
            // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.
            if iszero(returndatasize()) {
                mstore(0x00, 0x8baa579f) // `InvalidSignature()`.
                revert(0x1c, 0x04)
            }
            mstore(0x60, 0) // Restore the zero slot.
            mstore(0x40, m) // Restore the free memory pointer.
        }
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                   TRY-RECOVER OPERATIONS                   */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    // WARNING!
    // These functions will NOT revert upon recovery failure.
    // Instead, they will return the zero address upon recovery failure.
    // It is critical that the returned address is NEVER compared against
    // a zero address (e.g. an uninitialized address variable).

    /// @dev Recovers the signer's address from a message digest `hash`,
    /// and the `signature`.
    ///
    /// This function does NOT accept EIP-2098 short form signatures.
    /// Use `recover(bytes32 hash, bytes32 r, bytes32 vs)` for EIP-2098
    /// short form signatures instead.
    function tryRecover(bytes32 hash, bytes memory signature)
        internal
        view
        returns (address result)
    {
        /// @solidity memory-safe-assembly
        assembly {
            let m := mload(0x40) // Cache the free memory pointer.
            mstore(0x00, hash)
            mstore(0x20, byte(0, mload(add(signature, 0x60)))) // `v`.
            mstore(0x40, mload(add(signature, 0x20))) // `r`.
            mstore(0x60, mload(add(signature, 0x40))) // `s`.
            pop(
                staticcall(
                    gas(), // Amount of gas left for the transaction.
                    and(
                        // If the signature is exactly 65 bytes in length.
                        eq(mload(signature), 65),
                        // If `s` in lower half order, such that the signature is not malleable.
                        lt(mload(0x60), _MALLEABILITY_THRESHOLD_PLUS_ONE)
                    ), // Address of `ecrecover`.
                    0x00, // Start of input.
                    0x80, // Size of input.
                    0x40, // Start of output.
                    0x20 // Size of output.
                )
            )
            mstore(0x60, 0) // Restore the zero slot.
            // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.
            result := mload(xor(0x60, returndatasize()))
            mstore(0x40, m) // Restore the free memory pointer.
        }
    }

    /// @dev Recovers the signer's address from a message digest `hash`,
    /// and the `signature`.
    ///
    /// This function does NOT accept EIP-2098 short form signatures.
    /// Use `recover(bytes32 hash, bytes32 r, bytes32 vs)` for EIP-2098
    /// short form signatures instead.
    function tryRecoverCalldata(bytes32 hash, bytes calldata signature)
        internal
        view
        returns (address result)
    {
        /// @solidity memory-safe-assembly
        assembly {
            let m := mload(0x40) // Cache the free memory pointer.
            mstore(0x00, hash)
            mstore(0x20, byte(0, calldataload(add(signature.offset, 0x40)))) // `v`.
            calldatacopy(0x40, signature.offset, 0x40) // Copy `r` and `s`.
            pop(
                staticcall(
                    gas(), // Amount of gas left for the transaction.
                    and(
                        // If the signature is exactly 65 bytes in length.
                        eq(signature.length, 65),
                        // If `s` in lower half order, such that the signature is not malleable.
                        lt(mload(0x60), _MALLEABILITY_THRESHOLD_PLUS_ONE)
                    ), // Address of `ecrecover`.
                    0x00, // Start of input.
                    0x80, // Size of input.
                    0x40, // Start of output.
                    0x20 // Size of output.
                )
            )
            mstore(0x60, 0) // Restore the zero slot.
            // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.
            result := mload(xor(0x60, returndatasize()))
            mstore(0x40, m) // Restore the free memory pointer.
        }
    }

    /// @dev Recovers the signer's address from a message digest `hash`,
    /// and the EIP-2098 short form signature defined by `r` and `vs`.
    ///
    /// This function only accepts EIP-2098 short form signatures.
    /// See: https://eips.ethereum.org/EIPS/eip-2098
    function tryRecover(bytes32 hash, bytes32 r, bytes32 vs)
        internal
        view
        returns (address result)
    {
        /// @solidity memory-safe-assembly
        assembly {
            let m := mload(0x40) // Cache the free memory pointer.
            mstore(0x00, hash)
            mstore(0x20, add(shr(255, vs), 27)) // `v`.
            mstore(0x40, r)
            mstore(0x60, shr(1, shl(1, vs))) // `s`.
            pop(
                staticcall(
                    gas(), // Amount of gas left for the transaction.
                    // If `s` in lower half order, such that the signature is not malleable.
                    lt(mload(0x60), _MALLEABILITY_THRESHOLD_PLUS_ONE), // Address of `ecrecover`.
                    0x00, // Start of input.
                    0x80, // Size of input.
                    0x40, // Start of output.
                    0x20 // Size of output.
                )
            )
            mstore(0x60, 0) // Restore the zero slot.
            // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.
            result := mload(xor(0x60, returndatasize()))
            mstore(0x40, m) // Restore the free memory pointer.
        }
    }

    /// @dev Recovers the signer's address from a message digest `hash`,
    /// and the signature defined by `v`, `r`, `s`.
    function tryRecover(bytes32 hash, uint8 v, bytes32 r, bytes32 s)
        internal
        view
        returns (address result)
    {
        /// @solidity memory-safe-assembly
        assembly {
            let m := mload(0x40) // Cache the free memory pointer.
            mstore(0x00, hash)
            mstore(0x20, and(v, 0xff))
            mstore(0x40, r)
            mstore(0x60, s)
            pop(
                staticcall(
                    gas(), // Amount of gas left for the transaction.
                    // If `s` in lower half order, such that the signature is not malleable.
                    lt(s, _MALLEABILITY_THRESHOLD_PLUS_ONE), // Address of `ecrecover`.
                    0x00, // Start of input.
                    0x80, // Size of input.
                    0x40, // Start of output.
                    0x20 // Size of output.
                )
            )
            mstore(0x60, 0) // Restore the zero slot.
            // `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.
            result := mload(xor(0x60, returndatasize()))
            mstore(0x40, m) // Restore the free memory pointer.
        }
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                     HASHING OPERATIONS                     */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Returns an Ethereum Signed Message, created from a `hash`.
    /// This produces a hash corresponding to the one signed with the
    /// [`eth_sign`](https://eth.wiki/json-rpc/API#eth_sign)
    /// JSON-RPC method as part of EIP-191.
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32 result) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x20, hash) // Store into scratch space for keccak256.
            mstore(0x00, "\x00\x00\x00\x00\x19Ethereum Signed Message:\n32") // 28 bytes.
            result := keccak256(0x04, 0x3c) // `32 * 2 - (32 - 28) = 60 = 0x3c`.
        }
    }

    /// @dev Returns an Ethereum Signed Message, created from `s`.
    /// This produces a hash corresponding to the one signed with the
    /// [`eth_sign`](https://eth.wiki/json-rpc/API#eth_sign)
    /// JSON-RPC method as part of EIP-191.
    /// Note: Supports lengths of `s` up to 999999 bytes.
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32 result) {
        /// @solidity memory-safe-assembly
        assembly {
            let sLength := mload(s)
            let o := 0x20
            mstore(o, "\x19Ethereum Signed Message:\n") // 26 bytes, zero-right-padded.
            mstore(0x00, 0x00)
            // Convert the `s.length` to ASCII decimal representation: `base10(s.length)`.
            for { let temp := sLength } 1 {} {
                o := sub(o, 1)
                mstore8(o, add(48, mod(temp, 10)))
                temp := div(temp, 10)
                if iszero(temp) { break }
            }
            let n := sub(0x3a, o) // Header length: `26 + 32 - o`.
            // Throw an out-of-offset error (consumes all gas) if the header exceeds 32 bytes.
            returndatacopy(returndatasize(), returndatasize(), gt(n, 0x20))
            mstore(s, or(mload(0x00), mload(n))) // Temporarily store the header.
            result := keccak256(add(s, sub(0x20, n)), add(n, sLength))
            mstore(s, sLength) // Restore the length.
        }
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                   EMPTY CALLDATA HELPERS                   */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Returns an empty calldata bytes.
    function emptySignature() internal pure returns (bytes calldata signature) {
        /// @solidity memory-safe-assembly
        assembly {
            signature.length := 0
        }
    }
}

Settings
{
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "solady/=lib/solady/",
    "solmate/=lib/solmate/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "libraries": {}
}

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":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","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":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","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":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buy_tax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addy","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addy","type":"address"}],"name":"excludeWhale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedAntiWhales","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"inSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTradingEnabled","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lps","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxHolding","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"preventSwapBefore","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"routers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sell_tax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"lp","type":"address"}],"name":"setAmm","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTax","type":"uint256"}],"name":"setBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxHolding","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"counter","type":"uint256"}],"name":"setPreventSwapBefore","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"router","type":"address"}],"name":"setRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTax","type":"uint256"}],"name":"setSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newThreshold","type":"uint256"}],"name":"setSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"setUniRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e060405260056007819055600855600a60098190556000905569152d02c7e14af6800000600b556001600c819055601080546001600160a01b031990811673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc21790915560118054909116737a250d5630b4cf539739df2c5dacb4c659f2488d17905569d3c21bcecceda100000060128190556013556014553480156200009957600080fd5b50336040518060400160405280600581526020016422b6b132b960d91b8152506040518060400160405280600481526020016322a6a12960e11b81525060128260009081620000e99190620003de565b506001620000f88382620003de565b5060ff81166080524660a0526200010e62000230565b60c0525050600680546001600160a01b0319166001600160a01b0384169081179091556040519091506000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3503060008181526015602081815260408084208054600160ff1991821681179092553380875283872080548316841790557f37836a7135fae77e265e35732c70286035736c8b57b12590769780e067ead81c805483168417905596865260048452828620737a250d5630b4cf539739df2c5dacb4c659f2488d875284529190942060001990559190527fae7858b0e6478d70b0bb8f531bf48447d53a94e3d093939dbb30c2ffee23e391805490911690911790556200022a906a0771d2fa45345aa9000000620002cc565b62000550565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051620002649190620004aa565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b8060026000828254620002e0919062000528565b90915550506001600160a01b0382166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200036457607f821691505b6020821081036200038557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003d957600081815260208120601f850160051c81016020861015620003b45750805b601f850160051c820191505b81811015620003d557828155600101620003c0565b5050505b505050565b81516001600160401b03811115620003fa57620003fa62000339565b62000412816200040b84546200034f565b846200038b565b602080601f8311600181146200044a5760008415620004315750858301515b600019600386901b1c1916600185901b178555620003d5565b600085815260208120601f198616915b828110156200047b578886015182559484019460019091019084016200045a565b50858210156200049a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808354620004ba816200034f565b60018281168015620004d55760018114620004eb576200051c565b60ff19841687528215158302870194506200051c565b8760005260208060002060005b85811015620005135781548a820152908401908201620004f8565b50505082870194505b50929695505050505050565b808201808211156200054a57634e487b7160e01b600052601160045260246000fd5b92915050565b60805160a05160c051611db46200058060003960006109d9015260006109a4015260006103500152611db46000f3fe60806040526004361061026b5760003560e01c80639350505211610144578063ca703075116100b6578063dc1052e21161007a578063dc1052e214610765578063dd62ed3e14610785578063e28a9394146107bd578063ee4e2687146107d3578063f2fde38b146107f3578063fc70e44f1461081357600080fd5b8063ca703075146106c9578063d12e7332146106df578063d49c6f061461070f578063d505accf1461072f578063d83067861461074f57600080fd5b8063a0e47bf611610108578063a0e47bf614610614578063a9059cbb14610634578063b374df5c14610654578063bc33718214610669578063c0d7865514610689578063c2d4423f146106a957600080fd5b8063935050521461058957806395d89b411461059f5780639bc7c8c0146105b45780639d0014b1146105d4578063a0712d68146105f457600080fd5b80634147c6a7116101dd57806380dd9a1f116101a157806380dd9a1f146104a457806385ecafd7146104d45780638a8c523c146105045780638c64f26c146105195780638cd09d50146105495780638da5cb5b1461056957600080fd5b80634147c6a7146103fe578063437823ec1461041457806370a08231146104345780637437681e146104615780637ecebe001461047757600080fd5b806323b872dd1161022f57806323b872dd1461031e578063313ce5671461033e578063333e6f06146103845780633644e5151461039a5780633ccfd60b146103af5780633fc8cef3146103c657600080fd5b80630445b66714610277578063064a59d0146102a057806306fdde03146102b6578063095ea7b3146102d857806318160ddd1461030857600080fd5b3661027257005b600080fd5b34801561028357600080fd5b5061028d600b5481565b6040519081526020015b60405180910390f35b3480156102ac57600080fd5b5061028d60145481565b3480156102c257600080fd5b506102cb610833565b604051610297919061198a565b3480156102e457600080fd5b506102f86102f33660046119f4565b6108c1565b6040519015158152602001610297565b34801561031457600080fd5b5061028d60025481565b34801561032a57600080fd5b506102f8610339366004611a1e565b61092e565b34801561034a57600080fd5b506103727f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610297565b34801561039057600080fd5b5061028d60135481565b3480156103a657600080fd5b5061028d6109a0565b3480156103bb57600080fd5b506103c46109fb565b005b3480156103d257600080fd5b506010546103e6906001600160a01b031681565b6040516001600160a01b039091168152602001610297565b34801561040a57600080fd5b5061028d60075481565b34801561042057600080fd5b506103c461042f366004611a5a565b610acb565b34801561044057600080fd5b5061028d61044f366004611a5a565b60036020526000908152604090205481565b34801561046d57600080fd5b5061028d60125481565b34801561048357600080fd5b5061028d610492366004611a5a565b60056020526000908152604090205481565b3480156104b057600080fd5b506102f86104bf366004611a5a565b600e6020526000908152604090205460ff1681565b3480156104e057600080fd5b506102f86104ef366004611a5a565b600f6020526000908152604090205460ff1681565b34801561051057600080fd5b506103c4610b19565b34801561052557600080fd5b506102f8610534366004611a5a565b60156020526000908152604090205460ff1681565b34801561055557600080fd5b506103c4610564366004611a75565b610b4a565b34801561057557600080fd5b506006546103e6906001600160a01b031681565b34801561059557600080fd5b5061028d60085481565b3480156105ab57600080fd5b506102cb610b79565b3480156105c057600080fd5b506103c46105cf366004611a75565b610b86565b3480156105e057600080fd5b506103c46105ef366004611a75565b610bb5565b34801561060057600080fd5b506103c461060f366004611a75565b610be4565b34801561062057600080fd5b506011546103e6906001600160a01b031681565b34801561064057600080fd5b506102f861064f3660046119f4565b610c24565b34801561066057600080fd5b506103c4610c3a565b34801561067557600080fd5b506103c4610684366004611a75565b610cec565b34801561069557600080fd5b506103c46106a4366004611a5a565b610d1b565b3480156106b557600080fd5b506103c46106c4366004611a5a565b610d98565b3480156106d557600080fd5b5061028d600a5481565b3480156106eb57600080fd5b506102f86106fa366004611a5a565b600d6020526000908152604090205460ff1681565b34801561071b57600080fd5b506103c461072a366004611a75565b610de6565b34801561073b57600080fd5b506103c461074a366004611a8e565b610e15565b34801561075b57600080fd5b5061028d600c5481565b34801561077157600080fd5b506103c4610780366004611a75565b611059565b34801561079157600080fd5b5061028d6107a0366004611b01565b600460209081526000928352604080842090915290825290205481565b3480156107c957600080fd5b5061028d60095481565b3480156107df57600080fd5b506103c46107ee366004611a5a565b611088565b3480156107ff57600080fd5b506103c461080e366004611a5a565b6110d4565b34801561081f57600080fd5b506103c461082e366004611a5a565b61114a565b6000805461084090611b34565b80601f016020809104026020016040519081016040528092919081815260200182805461086c90611b34565b80156108b95780601f1061088e576101008083540402835291602001916108b9565b820191906000526020600020905b81548152906001019060200180831161089c57829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061091c9086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383166000908152600460209081526040808320338452909152812054600019811461098a576109658382611b84565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6109958585856111b0565b506001949350505050565b60007f000000000000000000000000000000000000000000000000000000000000000046146109d6576109d161171d565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b6006546001600160a01b03163314610a2e5760405162461bcd60e51b8152600401610a2590611b97565b60405180910390fd5b6006546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610a7b576040519150601f19603f3d011682016040523d82523d6000602084013e610a80565b606091505b5050905080610ac85760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610a25565b50565b6006546001600160a01b03163314610af55760405162461bcd60e51b8152600401610a2590611b97565b6001600160a01b03166000908152600f60205260409020805460ff19166001179055565b6006546001600160a01b03163314610b435760405162461bcd60e51b8152600401610a2590611b97565b6002601455565b6006546001600160a01b03163314610b745760405162461bcd60e51b8152600401610a2590611b97565b600855565b6001805461084090611b34565b6006546001600160a01b03163314610bb05760405162461bcd60e51b8152600401610a2590611b97565b601355565b6006546001600160a01b03163314610bdf5760405162461bcd60e51b8152600401610a2590611b97565b600b55565b6006546001600160a01b03163314610c0e5760405162461bcd60e51b8152600401610a2590611b97565b600654610ac8906001600160a01b0316826117b7565b6000610c313384846111b0565b50600192915050565b6006546001600160a01b03163314610c645760405162461bcd60e51b8152600401610a2590611b97565b306000908152600360205260408120805491829190610c838380611b84565b90915550506006546001600160a01b031660009081526003602052604081208054839290610cb2908490611bbd565b90915550506006546040518281526001600160a01b03909116903090600080516020611d5f8339815191529060200160405180910390a350565b6006546001600160a01b03163314610d165760405162461bcd60e51b8152600401610a2590611b97565b601255565b6006546001600160a01b03163314610d455760405162461bcd60e51b8152600401610a2590611b97565b6001600160a01b03166000818152600e602090815260408083208054600160ff19918216811790925530855260048452828520958552948352818420600019905560159092529091208054909216179055565b6006546001600160a01b03163314610dc25760405162461bcd60e51b8152600401610a2590611b97565b6001600160a01b03166000908152601560205260409020805460ff19166001179055565b6006546001600160a01b03163314610e105760405162461bcd60e51b8152600401610a2590611b97565b600955565b42841015610e655760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f455850495245440000000000000000006044820152606401610a25565b60006001610e716109a0565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa158015610f7d573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590610fb35750876001600160a01b0316816001600160a01b0316145b610ff05760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610a25565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b6006546001600160a01b031633146110835760405162461bcd60e51b8152600401610a2590611b97565b600755565b6006546001600160a01b031633146110b25760405162461bcd60e51b8152600401610a2590611b97565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b031633146110fe5760405162461bcd60e51b8152600401610a2590611b97565b600680546001600160a01b0319166001600160a01b03831690811790915560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350565b6006546001600160a01b031633146111745760405162461bcd60e51b8152600401610a2590611b97565b6001600160a01b03166000908152600d602090815260408083208054600160ff1991821681179092556015909352922080549091169091179055565b601454600214806111cb57506006546001600160a01b031632145b61120b5760405162461bcd60e51b815260206004820152601160248201527074726164696e672069736e74206c69766560781b6044820152606401610a25565b6001600160a01b03831661126f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a25565b6001600160a01b0382166112d15760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a25565b600081116113335760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610a25565b8060125410158061135c57506001600160a01b03831660009081526015602052604090205460ff165b6113975760405162461bcd60e51b815260206004820152600c60248201526b1b585e081d1e081b1a5b5a5d60a21b6044820152606401610a25565b6006546000906001600160a01b038581169116148015906113c657506006546001600160a01b03848116911614155b80156113dd57506006546001600160a01b03163214155b15611577576001600160a01b0384166000908152600d602052604081205460ff16801561142357506001600160a01b0384166000908152600e602052604090205460ff16155b801561144857506001600160a01b0384166000908152600f602052604090205460ff16155b1561148557600a805490600061145d83611bd0565b9190505550611482606461147c6007548661181090919063ffffffff16565b90611846565b91505b6001600160a01b0384166000908152600d602052604090205460ff1680156114b657506001600160a01b0385163014155b156114dc57600190506114d9606461147c6008548661181090919063ffffffff16565b91505b30600090815260036020526040902054600c5460011480156114fb5750815b80156115085750600b5481115b80156115175750600954600a54115b156115745761152581611859565b4767016345785d8a0000811115611572576006546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611570573d6000803e3d6000fd5b505b505b50505b80156115df57306000908152600360205260409020546115979082611950565b30600081815260036020526040908190209290925590516001600160a01b03861690600080516020611d5f833981519152906115d69085815260200190565b60405180910390a35b6001600160a01b038416600090815260036020526040902054611602908361196e565b6001600160a01b038516600090815260036020526040902055611647611628838361196e565b6001600160a01b03851660009081526003602052604090205490611950565b6001600160a01b038416600090815260036020526040902081905560135410158061168a57506001600160a01b03831660009081526015602052604090205460ff165b8061169f57506006546001600160a01b031632145b6116df5760405162461bcd60e51b81526020600482015260116024820152701b585e081a1bdb191a5b99c81b1a5b5a5d607a1b6044820152606401610a25565b6001600160a01b03808416908516600080516020611d5f833981519152611706858561196e565b60405190815260200160405180910390a350505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f600060405161174f9190611be9565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b80600260008282546117c99190611bbd565b90915550506001600160a01b038216600081815260036020908152604080832080548601905551848152600080516020611d5f833981519152910160405180910390a35050565b60008260000361182257506000610928565b61182c8284611c88565b9050816118398483611c9f565b1461092857610928611cc1565b60006118528284611c9f565b9392505050565b6002600c819055604080518281526060810182526000929091602083019080368337019050509050308160008151811061189557611895611cd7565b6001600160a01b0392831660209182029290920101526010548251911690829060019081106118c6576118c6611cd7565b6001600160a01b03928316602091820292909201015260115460405163791ac94760e01b815291169063791ac947906119159085906000908690309068056bc75e2d630fffff90600401611ced565b600060405180830381600087803b15801561192f57600080fd5b505af1158015611943573d6000803e3d6000fd5b50506001600c5550505050565b600061195c8284611bbd565b90508281101561092857610928611cc1565b60008282111561198057611980611cc1565b6118528284611b84565b600060208083528351808285015260005b818110156119b75785810183015185820160400152820161199b565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146119ef57600080fd5b919050565b60008060408385031215611a0757600080fd5b611a10836119d8565b946020939093013593505050565b600080600060608486031215611a3357600080fd5b611a3c846119d8565b9250611a4a602085016119d8565b9150604084013590509250925092565b600060208284031215611a6c57600080fd5b611852826119d8565b600060208284031215611a8757600080fd5b5035919050565b600080600080600080600060e0888a031215611aa957600080fd5b611ab2886119d8565b9650611ac0602089016119d8565b95506040880135945060608801359350608088013560ff81168114611ae457600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611b1457600080fd5b611b1d836119d8565b9150611b2b602084016119d8565b90509250929050565b600181811c90821680611b4857607f821691505b602082108103611b6857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561092857610928611b6e565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b8082018082111561092857610928611b6e565b600060018201611be257611be2611b6e565b5060010190565b600080835481600182811c915080831680611c0557607f831692505b60208084108203611c2457634e487b7160e01b86526022600452602486fd5b818015611c385760018114611c4d57611c7a565b60ff1986168952841515850289019650611c7a565b60008a81526020902060005b86811015611c725781548b820152908501908301611c59565b505084890196505b509498975050505050505050565b808202811582820484141761092857610928611b6e565b600082611cbc57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611d3d5784516001600160a01b031683529383019391830191600101611d18565b50506001600160a01b0396909616606085015250505060800152939250505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220eda5c0510d98faa86772572a279d99fe9130e2763391bbbaf7974887d54bc7eb64736f6c63430008140033

Deployed Bytecode

0x60806040526004361061026b5760003560e01c80639350505211610144578063ca703075116100b6578063dc1052e21161007a578063dc1052e214610765578063dd62ed3e14610785578063e28a9394146107bd578063ee4e2687146107d3578063f2fde38b146107f3578063fc70e44f1461081357600080fd5b8063ca703075146106c9578063d12e7332146106df578063d49c6f061461070f578063d505accf1461072f578063d83067861461074f57600080fd5b8063a0e47bf611610108578063a0e47bf614610614578063a9059cbb14610634578063b374df5c14610654578063bc33718214610669578063c0d7865514610689578063c2d4423f146106a957600080fd5b8063935050521461058957806395d89b411461059f5780639bc7c8c0146105b45780639d0014b1146105d4578063a0712d68146105f457600080fd5b80634147c6a7116101dd57806380dd9a1f116101a157806380dd9a1f146104a457806385ecafd7146104d45780638a8c523c146105045780638c64f26c146105195780638cd09d50146105495780638da5cb5b1461056957600080fd5b80634147c6a7146103fe578063437823ec1461041457806370a08231146104345780637437681e146104615780637ecebe001461047757600080fd5b806323b872dd1161022f57806323b872dd1461031e578063313ce5671461033e578063333e6f06146103845780633644e5151461039a5780633ccfd60b146103af5780633fc8cef3146103c657600080fd5b80630445b66714610277578063064a59d0146102a057806306fdde03146102b6578063095ea7b3146102d857806318160ddd1461030857600080fd5b3661027257005b600080fd5b34801561028357600080fd5b5061028d600b5481565b6040519081526020015b60405180910390f35b3480156102ac57600080fd5b5061028d60145481565b3480156102c257600080fd5b506102cb610833565b604051610297919061198a565b3480156102e457600080fd5b506102f86102f33660046119f4565b6108c1565b6040519015158152602001610297565b34801561031457600080fd5b5061028d60025481565b34801561032a57600080fd5b506102f8610339366004611a1e565b61092e565b34801561034a57600080fd5b506103727f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff9091168152602001610297565b34801561039057600080fd5b5061028d60135481565b3480156103a657600080fd5b5061028d6109a0565b3480156103bb57600080fd5b506103c46109fb565b005b3480156103d257600080fd5b506010546103e6906001600160a01b031681565b6040516001600160a01b039091168152602001610297565b34801561040a57600080fd5b5061028d60075481565b34801561042057600080fd5b506103c461042f366004611a5a565b610acb565b34801561044057600080fd5b5061028d61044f366004611a5a565b60036020526000908152604090205481565b34801561046d57600080fd5b5061028d60125481565b34801561048357600080fd5b5061028d610492366004611a5a565b60056020526000908152604090205481565b3480156104b057600080fd5b506102f86104bf366004611a5a565b600e6020526000908152604090205460ff1681565b3480156104e057600080fd5b506102f86104ef366004611a5a565b600f6020526000908152604090205460ff1681565b34801561051057600080fd5b506103c4610b19565b34801561052557600080fd5b506102f8610534366004611a5a565b60156020526000908152604090205460ff1681565b34801561055557600080fd5b506103c4610564366004611a75565b610b4a565b34801561057557600080fd5b506006546103e6906001600160a01b031681565b34801561059557600080fd5b5061028d60085481565b3480156105ab57600080fd5b506102cb610b79565b3480156105c057600080fd5b506103c46105cf366004611a75565b610b86565b3480156105e057600080fd5b506103c46105ef366004611a75565b610bb5565b34801561060057600080fd5b506103c461060f366004611a75565b610be4565b34801561062057600080fd5b506011546103e6906001600160a01b031681565b34801561064057600080fd5b506102f861064f3660046119f4565b610c24565b34801561066057600080fd5b506103c4610c3a565b34801561067557600080fd5b506103c4610684366004611a75565b610cec565b34801561069557600080fd5b506103c46106a4366004611a5a565b610d1b565b3480156106b557600080fd5b506103c46106c4366004611a5a565b610d98565b3480156106d557600080fd5b5061028d600a5481565b3480156106eb57600080fd5b506102f86106fa366004611a5a565b600d6020526000908152604090205460ff1681565b34801561071b57600080fd5b506103c461072a366004611a75565b610de6565b34801561073b57600080fd5b506103c461074a366004611a8e565b610e15565b34801561075b57600080fd5b5061028d600c5481565b34801561077157600080fd5b506103c4610780366004611a75565b611059565b34801561079157600080fd5b5061028d6107a0366004611b01565b600460209081526000928352604080842090915290825290205481565b3480156107c957600080fd5b5061028d60095481565b3480156107df57600080fd5b506103c46107ee366004611a5a565b611088565b3480156107ff57600080fd5b506103c461080e366004611a5a565b6110d4565b34801561081f57600080fd5b506103c461082e366004611a5a565b61114a565b6000805461084090611b34565b80601f016020809104026020016040519081016040528092919081815260200182805461086c90611b34565b80156108b95780601f1061088e576101008083540402835291602001916108b9565b820191906000526020600020905b81548152906001019060200180831161089c57829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061091c9086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383166000908152600460209081526040808320338452909152812054600019811461098a576109658382611b84565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6109958585856111b0565b506001949350505050565b60007f000000000000000000000000000000000000000000000000000000000000000146146109d6576109d161171d565b905090565b507f68948e53ccd132e24d086113a61e1a07a6c4e86a983297d528128d4f4b13b00b90565b6006546001600160a01b03163314610a2e5760405162461bcd60e51b8152600401610a2590611b97565b60405180910390fd5b6006546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610a7b576040519150601f19603f3d011682016040523d82523d6000602084013e610a80565b606091505b5050905080610ac85760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610a25565b50565b6006546001600160a01b03163314610af55760405162461bcd60e51b8152600401610a2590611b97565b6001600160a01b03166000908152600f60205260409020805460ff19166001179055565b6006546001600160a01b03163314610b435760405162461bcd60e51b8152600401610a2590611b97565b6002601455565b6006546001600160a01b03163314610b745760405162461bcd60e51b8152600401610a2590611b97565b600855565b6001805461084090611b34565b6006546001600160a01b03163314610bb05760405162461bcd60e51b8152600401610a2590611b97565b601355565b6006546001600160a01b03163314610bdf5760405162461bcd60e51b8152600401610a2590611b97565b600b55565b6006546001600160a01b03163314610c0e5760405162461bcd60e51b8152600401610a2590611b97565b600654610ac8906001600160a01b0316826117b7565b6000610c313384846111b0565b50600192915050565b6006546001600160a01b03163314610c645760405162461bcd60e51b8152600401610a2590611b97565b306000908152600360205260408120805491829190610c838380611b84565b90915550506006546001600160a01b031660009081526003602052604081208054839290610cb2908490611bbd565b90915550506006546040518281526001600160a01b03909116903090600080516020611d5f8339815191529060200160405180910390a350565b6006546001600160a01b03163314610d165760405162461bcd60e51b8152600401610a2590611b97565b601255565b6006546001600160a01b03163314610d455760405162461bcd60e51b8152600401610a2590611b97565b6001600160a01b03166000818152600e602090815260408083208054600160ff19918216811790925530855260048452828520958552948352818420600019905560159092529091208054909216179055565b6006546001600160a01b03163314610dc25760405162461bcd60e51b8152600401610a2590611b97565b6001600160a01b03166000908152601560205260409020805460ff19166001179055565b6006546001600160a01b03163314610e105760405162461bcd60e51b8152600401610a2590611b97565b600955565b42841015610e655760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f455850495245440000000000000000006044820152606401610a25565b60006001610e716109a0565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa158015610f7d573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590610fb35750876001600160a01b0316816001600160a01b0316145b610ff05760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610a25565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b6006546001600160a01b031633146110835760405162461bcd60e51b8152600401610a2590611b97565b600755565b6006546001600160a01b031633146110b25760405162461bcd60e51b8152600401610a2590611b97565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b031633146110fe5760405162461bcd60e51b8152600401610a2590611b97565b600680546001600160a01b0319166001600160a01b03831690811790915560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350565b6006546001600160a01b031633146111745760405162461bcd60e51b8152600401610a2590611b97565b6001600160a01b03166000908152600d602090815260408083208054600160ff1991821681179092556015909352922080549091169091179055565b601454600214806111cb57506006546001600160a01b031632145b61120b5760405162461bcd60e51b815260206004820152601160248201527074726164696e672069736e74206c69766560781b6044820152606401610a25565b6001600160a01b03831661126f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a25565b6001600160a01b0382166112d15760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a25565b600081116113335760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610a25565b8060125410158061135c57506001600160a01b03831660009081526015602052604090205460ff165b6113975760405162461bcd60e51b815260206004820152600c60248201526b1b585e081d1e081b1a5b5a5d60a21b6044820152606401610a25565b6006546000906001600160a01b038581169116148015906113c657506006546001600160a01b03848116911614155b80156113dd57506006546001600160a01b03163214155b15611577576001600160a01b0384166000908152600d602052604081205460ff16801561142357506001600160a01b0384166000908152600e602052604090205460ff16155b801561144857506001600160a01b0384166000908152600f602052604090205460ff16155b1561148557600a805490600061145d83611bd0565b9190505550611482606461147c6007548661181090919063ffffffff16565b90611846565b91505b6001600160a01b0384166000908152600d602052604090205460ff1680156114b657506001600160a01b0385163014155b156114dc57600190506114d9606461147c6008548661181090919063ffffffff16565b91505b30600090815260036020526040902054600c5460011480156114fb5750815b80156115085750600b5481115b80156115175750600954600a54115b156115745761152581611859565b4767016345785d8a0000811115611572576006546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611570573d6000803e3d6000fd5b505b505b50505b80156115df57306000908152600360205260409020546115979082611950565b30600081815260036020526040908190209290925590516001600160a01b03861690600080516020611d5f833981519152906115d69085815260200190565b60405180910390a35b6001600160a01b038416600090815260036020526040902054611602908361196e565b6001600160a01b038516600090815260036020526040902055611647611628838361196e565b6001600160a01b03851660009081526003602052604090205490611950565b6001600160a01b038416600090815260036020526040902081905560135410158061168a57506001600160a01b03831660009081526015602052604090205460ff165b8061169f57506006546001600160a01b031632145b6116df5760405162461bcd60e51b81526020600482015260116024820152701b585e081a1bdb191a5b99c81b1a5b5a5d607a1b6044820152606401610a25565b6001600160a01b03808416908516600080516020611d5f833981519152611706858561196e565b60405190815260200160405180910390a350505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f600060405161174f9190611be9565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b80600260008282546117c99190611bbd565b90915550506001600160a01b038216600081815260036020908152604080832080548601905551848152600080516020611d5f833981519152910160405180910390a35050565b60008260000361182257506000610928565b61182c8284611c88565b9050816118398483611c9f565b1461092857610928611cc1565b60006118528284611c9f565b9392505050565b6002600c819055604080518281526060810182526000929091602083019080368337019050509050308160008151811061189557611895611cd7565b6001600160a01b0392831660209182029290920101526010548251911690829060019081106118c6576118c6611cd7565b6001600160a01b03928316602091820292909201015260115460405163791ac94760e01b815291169063791ac947906119159085906000908690309068056bc75e2d630fffff90600401611ced565b600060405180830381600087803b15801561192f57600080fd5b505af1158015611943573d6000803e3d6000fd5b50506001600c5550505050565b600061195c8284611bbd565b90508281101561092857610928611cc1565b60008282111561198057611980611cc1565b6118528284611b84565b600060208083528351808285015260005b818110156119b75785810183015185820160400152820161199b565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146119ef57600080fd5b919050565b60008060408385031215611a0757600080fd5b611a10836119d8565b946020939093013593505050565b600080600060608486031215611a3357600080fd5b611a3c846119d8565b9250611a4a602085016119d8565b9150604084013590509250925092565b600060208284031215611a6c57600080fd5b611852826119d8565b600060208284031215611a8757600080fd5b5035919050565b600080600080600080600060e0888a031215611aa957600080fd5b611ab2886119d8565b9650611ac0602089016119d8565b95506040880135945060608801359350608088013560ff81168114611ae457600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611b1457600080fd5b611b1d836119d8565b9150611b2b602084016119d8565b90509250929050565b600181811c90821680611b4857607f821691505b602082108103611b6857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561092857610928611b6e565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b8082018082111561092857610928611b6e565b600060018201611be257611be2611b6e565b5060010190565b600080835481600182811c915080831680611c0557607f831692505b60208084108203611c2457634e487b7160e01b86526022600452602486fd5b818015611c385760018114611c4d57611c7a565b60ff1986168952841515850289019650611c7a565b60008a81526020902060005b86811015611c725781548b820152908501908301611c59565b505084890196505b509498975050505050505050565b808202811582820484141761092857610928611b6e565b600082611cbc57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611d3d5784516001600160a01b031683529383019391830191600101611d18565b50506001600160a01b0396909616606085015250505060800152939250505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220eda5c0510d98faa86772572a279d99fe9130e2763391bbbaf7974887d54bc7eb64736f6c63430008140033

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.