Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0x7d3b4F8D5DD14A0C263C4beE7BE434c15e188D3e
Balance 0 ETH
Nonce 1
Code Size 9595 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

9595 bytes
0x6080604052600436106101855760003560e01c8063893d20e8116100d1578063a9059cbb1161008a578063e1d5584c11610064578063e1d5584c14610595578063ed873445146105d2578063f2fde38b1461060f578063f887ea40146106385761018c565b8063a9059cbb146104de578063b62496f51461051b578063dd62ed3e146105585761018c565b8063893d20e8146103f25780638a8c523c1461041d5780638da5cb5b1461043457806395d89b411461045f5780639a7a23d61461048a578063a8aa1b31146104b35761018c565b8063313ce5671161013e5780636c0a24eb116101185780636c0a24eb1461035c57806370a0823114610387578063715018a6146103c4578063751039fc146103db5761018c565b8063313ce567146102c95780634ada218b146102f4578063571ac8b01461031f5761018c565b806306fdde0314610191578063095ea7b3146101bc5780630bd11f8a146101f957806318160ddd1461023657806323b872dd146102615780632b112e491461029e5761018c565b3661018c57005b600080fd5b34801561019d57600080fd5b506101a6610663565b6040516101b39190611cf3565b60405180910390f35b3480156101c857600080fd5b506101e360048036038101906101de9190611dae565b6106a0565b6040516101f09190611e09565b60405180910390f35b34801561020557600080fd5b50610220600480360381019061021b9190611e24565b610792565b60405161022d9190611e09565b60405180910390f35b34801561024257600080fd5b5061024b6107b2565b6040516102589190611e60565b60405180910390f35b34801561026d57600080fd5b5061028860048036038101906102839190611e7b565b6107bc565b6040516102959190611e09565b60405180910390f35b3480156102aa57600080fd5b506102b36109bc565b6040516102c09190611e60565b60405180910390f35b3480156102d557600080fd5b506102de610a3e565b6040516102eb9190611eea565b60405180910390f35b34801561030057600080fd5b50610309610a47565b6040516103169190611e09565b60405180910390f35b34801561032b57600080fd5b5061034660048036038101906103419190611e24565b610a5a565b6040516103539190611e09565b60405180910390f35b34801561036857600080fd5b50610371610a8d565b60405161037e9190611e60565b60405180910390f35b34801561039357600080fd5b506103ae60048036038101906103a99190611e24565b610a93565b6040516103bb9190611e60565b60405180910390f35b3480156103d057600080fd5b506103d9610adc565b005b3480156103e757600080fd5b506103f0610c2f565b005b3480156103fe57600080fd5b50610407610cfb565b6040516104149190611f14565b60405180910390f35b34801561042957600080fd5b50610432610d0a565b005b34801561044057600080fd5b50610449610e4a565b6040516104569190611f14565b60405180910390f35b34801561046b57600080fd5b50610474610e73565b6040516104819190611cf3565b60405180910390f35b34801561049657600080fd5b506104b160048036038101906104ac9190611f5b565b610eb0565b005b3480156104bf57600080fd5b506104c86112bc565b6040516104d59190611f14565b60405180910390f35b3480156104ea57600080fd5b5061050560048036038101906105009190611dae565b6112e2565b6040516105129190611e09565b60405180910390f35b34801561052757600080fd5b50610542600480360381019061053d9190611e24565b6112f7565b60405161054f9190611e09565b60405180910390f35b34801561056457600080fd5b5061057f600480360381019061057a9190611f9b565b611317565b60405161058c9190611e60565b60405180910390f35b3480156105a157600080fd5b506105bc60048036038101906105b79190611fdb565b61139e565b6040516105c99190611f14565b60405180910390f35b3480156105de57600080fd5b506105f960048036038101906105f49190611e24565b6113dd565b6040516106069190611e09565b60405180910390f35b34801561061b57600080fd5b5061063660048036038101906106319190611e24565b6113fd565b005b34801561064457600080fd5b5061064d6115be565b60405161065a9190612067565b60405180910390f35b60606040518060400160405280600381526020017f4d6f650000000000000000000000000000000000000000000000000000000000815250905090565b600081600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516107809190611e60565b60405180910390a36001905092915050565b600c6020528060005260406000206000915054906101000a900460ff1681565b6000600554905090565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146109a857610927826040518060400160405280601681526020017f496e73756666696369656e7420416c6c6f77616e636500000000000000000000815250600860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115e49092919063ffffffff16565b600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6109b3848484611648565b90509392505050565b6000610a396109ec600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610a93565b610a2b610a1a600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610a93565b600554611bb390919063ffffffff16565b611bb390919063ffffffff16565b905090565b60006012905090565b600e60149054906101000a900460ff1681565b6000610a86827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6106a0565b9050919050565b60065481565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ae4611bfd565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b68906120ce565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b610c37611bfd565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610cc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbb906120ce565b60405180910390fd5b6005546006819055507fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c60405160405180910390a1565b6000610d05610e4a565b905090565b610d12611bfd565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d96906120ce565b60405180910390fd5b60001515600e60149054906101000a900460ff16151514610df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dec9061213a565b60405180910390fd5b6001600e60146101000a81548160ff0219169083151502179055507f316709d79ee7f0c74ca101f383d03c0651393c02be15433064ce7707ee82c9df6001604051610e409190611e09565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606040518060400160405280600381526020017f4d6f650000000000000000000000000000000000000000000000000000000000815250905090565b610eb8611bfd565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3c906120ce565b60405180910390fd5b801515600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151503610fd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fce906121a6565b60405180910390fd5b80600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550801561109c576009829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611272565b6001600980549050116110e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110db90612212565b60405180910390fd5b60005b600980549050811015611270578273ffffffffffffffffffffffffffffffffffffffff166009828154811061111f5761111e612232565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361125d57600960016009805490506111799190612290565b8154811061118a57611189612232565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600982815481106111c9576111c8612232565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506009805480611223576112226122c4565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690559055611270565b8080611268906122f3565b9150506110e7565b505b8015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006112ef338484611648565b905092915050565b600a6020528060005260406000206000915054906101000a900460ff1681565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600981815481106113ae57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b6020528060005260406000206000915054906101000a900460ff1681565b611405611bfd565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611492576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611489906120ce565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f8906123ad565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600083831115829061162c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116239190611cf3565b60405180910390fd5b506000838561163b9190612290565b9050809150509392505050565b6000600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156116ee5750600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561174357600e60149054906101000a900460ff16611742576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173990612419565b60405180910390fd5b5b6000829050600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156118db57600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166118d65760065461184084600760008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c0590919063ffffffff16565b1115806118965750600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6118d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cc90612485565b60405180910390fd5b5b611a18565b600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611a175760065461198184600760008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c0590919063ffffffff16565b1115806119d75750600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611a16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0d90612485565b60405180910390fd5b5b5b611a6a83600760008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bb390919063ffffffff16565b600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611aff81600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c0590919063ffffffff16565b600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611b9f9190611e60565b60405180910390a360019150509392505050565b6000611bf583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506115e4565b905092915050565b600033905090565b6000808284611c1491906124a5565b905083811015611c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5090612525565b60405180910390fd5b8091505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611c9d578082015181840152602081019050611c82565b60008484015250505050565b6000601f19601f8301169050919050565b6000611cc582611c63565b611ccf8185611c6e565b9350611cdf818560208601611c7f565b611ce881611ca9565b840191505092915050565b60006020820190508181036000830152611d0d8184611cba565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611d4582611d1a565b9050919050565b611d5581611d3a565b8114611d6057600080fd5b50565b600081359050611d7281611d4c565b92915050565b6000819050919050565b611d8b81611d78565b8114611d9657600080fd5b50565b600081359050611da881611d82565b92915050565b60008060408385031215611dc557611dc4611d15565b5b6000611dd385828601611d63565b9250506020611de485828601611d99565b9150509250929050565b60008115159050919050565b611e0381611dee565b82525050565b6000602082019050611e1e6000830184611dfa565b92915050565b600060208284031215611e3a57611e39611d15565b5b6000611e4884828501611d63565b91505092915050565b611e5a81611d78565b82525050565b6000602082019050611e756000830184611e51565b92915050565b600080600060608486031215611e9457611e93611d15565b5b6000611ea286828701611d63565b9350506020611eb386828701611d63565b9250506040611ec486828701611d99565b9150509250925092565b600060ff82169050919050565b611ee481611ece565b82525050565b6000602082019050611eff6000830184611edb565b92915050565b611f0e81611d3a565b82525050565b6000602082019050611f296000830184611f05565b92915050565b611f3881611dee565b8114611f4357600080fd5b50565b600081359050611f5581611f2f565b92915050565b60008060408385031215611f7257611f71611d15565b5b6000611f8085828601611d63565b9250506020611f9185828601611f46565b9150509250929050565b60008060408385031215611fb257611fb1611d15565b5b6000611fc085828601611d63565b9250506020611fd185828601611d63565b9150509250929050565b600060208284031215611ff157611ff0611d15565b5b6000611fff84828501611d99565b91505092915050565b6000819050919050565b600061202d61202861202384611d1a565b612008565b611d1a565b9050919050565b600061203f82612012565b9050919050565b600061205182612034565b9050919050565b61206181612046565b82525050565b600060208201905061207c6000830184612058565b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006120b8602083611c6e565b91506120c382612082565b602082019050919050565b600060208201905081810360008301526120e7816120ab565b9050919050565b7f43616e27742070617573652074726164696e6700000000000000000000000000600082015250565b6000612124601383611c6e565b915061212f826120ee565b602082019050919050565b6000602082019050818103600083015261215381612117565b9050919050565b7f56616c756520616c726561647920736574000000000000000000000000000000600082015250565b6000612190601183611c6e565b915061219b8261215a565b602082019050919050565b600060208201905081810360008301526121bf81612183565b9050919050565b7f5265717569726564203120706169720000000000000000000000000000000000600082015250565b60006121fc600f83611c6e565b9150612207826121c6565b602082019050919050565b6000602082019050818103600083015261222b816121ef565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061229b82611d78565b91506122a683611d78565b92508282039050818111156122be576122bd612261565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60006122fe82611d78565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036123305761232f612261565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612397602683611c6e565b91506123a28261233b565b604082019050919050565b600060208201905081810360008301526123c68161238a565b9050919050565b7f54726164696e67206e6f74206f70656e2c207965740000000000000000000000600082015250565b6000612403601583611c6e565b915061240e826123cd565b602082019050919050565b60006020820190508181036000830152612432816123f6565b9050919050565b7f4d61782057616c6c6574204c696d6974204c696d697420457863656564656400600082015250565b600061246f601f83611c6e565b915061247a82612439565b602082019050919050565b6000602082019050818103600083015261249e81612462565b9050919050565b60006124b082611d78565b91506124bb83611d78565b92508282019050808211156124d3576124d2612261565b5b92915050565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000600082015250565b600061250f601b83611c6e565b915061251a826124d9565b602082019050919050565b6000602082019050818103600083015261253e81612502565b905091905056fea264697066735822122094baccbfd8f6e2a4aa1ea6fd6246bc55789a317f9fc82e898cddff9705985da464736f6c63430008120033

Verified Source Code Partial Match

Compiler: v0.8.18+commit.87f61d96 EVM: paris Optimization: No
Moe.sol 304 lines
// SPDX-License-Identifier: UNLICENSED

//Website: https://moeeth.com/

pragma solidity 0.8.18;

library SafeMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        return c;
    }
}

interface ERC20 {
    function totalSupply() external view returns (uint256);
    function decimals() external view returns (uint8);
    function symbol() external view returns (string memory);
    function name() external view returns (string memory);
    function getOwner() external view returns (address);
    function balanceOf(address account) external view returns (uint256);
    function transfer(address recipient, uint256 amount) external returns (bool);
    function allowance(address _owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 amount) external returns (bool);
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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

contract Ownable is Context {
    address private _owner;
    address private _previousOwner;
    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;
    }
 
}

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

interface IDEXRouter {
    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 swapExactTokensForTokensSupportingFeeOnTransferTokens(
        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;

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

contract Moe is Ownable, ERC20 {
    using SafeMath for uint256;

     //events
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
    event InitialDistributionFinished(bool _value);
    event RemovedLimits();

    address private WETH;
    address private DEAD = 0x000000000000000000000000000000000000dEaD;
    address private ZERO = 0x0000000000000000000000000000000000000000;

    string constant private _name = "Moe";
    string constant private _symbol = "Moe";
    uint8 constant private _decimals = 18;

    uint256 private _totalSupply = 100000000* 10**_decimals;

    uint256 public _maxWalletAmount = _totalSupply / 100;

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

    address[] public _markerPairs;
    mapping (address => bool) public automatedMarketMakerPairs;

    mapping (address => bool) public isLimitsExempt;
    mapping (address => bool) public isMaxWalletExempt;

    IDEXRouter public router;
    address public pair;

    bool public tradingEnabled = false;

    constructor () {
        router = IDEXRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); 
        WETH = router.WETH();
        pair = IDEXFactory(router.factory()).createPair(WETH, address(this));

        setAutomatedMarketMakerPair(pair, true);

        isLimitsExempt[msg.sender] = true;
        isMaxWalletExempt[msg.sender] = true;
        
        isLimitsExempt[address(this)] = true;
        isMaxWalletExempt[address(this)] = true;

        isMaxWalletExempt[pair] = true;

        _balances[msg.sender] = _totalSupply;
        emit Transfer(address(0), msg.sender, _totalSupply);
    }

    receive() external payable { }

    function totalSupply() external view override returns (uint256) { return _totalSupply; }
    function decimals() external pure override returns (uint8) { return _decimals; }
    function symbol() external pure override returns (string memory) { return _symbol; }
    function name() external pure override returns (string memory) { return _name; }
    function getOwner() external view override returns (address) { return owner(); }
    function balanceOf(address account) public view override returns (uint256) { return _balances[account]; }
    function allowance(address holder, address spender) external view override returns (uint256) { return _allowances[holder][spender]; }

    function approve(address spender, uint256 amount) public override returns (bool) {
        _allowances[msg.sender][spender] = amount;
        emit Approval(msg.sender, spender, amount);
        return true;
    }

    function approveMax(address spender) external returns (bool) {
        return approve(spender, type(uint256).max);
    }

    function transfer(address recipient, uint256 amount) external override returns (bool) {
        return _transferFrom(msg.sender, recipient, amount);
    }

    function transferFrom(address sender, address recipient, uint256 amount) external override returns (bool) {
        if(_allowances[sender][msg.sender] != type(uint256).max){
            _allowances[sender][msg.sender] = _allowances[sender][msg.sender].sub(amount, "Insufficient Allowance");
        }

        return _transferFrom(sender, recipient, amount);
    }

    function _transferFrom(address sender, address recipient, uint256 amount) internal returns (bool) {
        if(!isLimitsExempt[sender] && !isLimitsExempt[recipient]){
            require(tradingEnabled,"Trading not open, yet");
        }

        uint256 amountReceived = amount;

        if(automatedMarketMakerPairs[sender]) { //buy
            if(!isLimitsExempt[recipient]) {
                require(_balances[recipient].add(amount) <= _maxWalletAmount || isMaxWalletExempt[recipient], "Max Wallet Limit Limit Exceeded");
            }
        } else {
            if (!isLimitsExempt[sender]) {
                require(_balances[recipient].add(amount) <= _maxWalletAmount || isMaxWalletExempt[recipient], "Max Wallet Limit Limit Exceeded");
            }
        }

        _balances[sender] = _balances[sender].sub(amount);
        _balances[recipient] = _balances[recipient].add(amountReceived);
        

        emit Transfer(sender, recipient, amountReceived);
        return true;
    }

    // enable Trading
    function enableTrading() external onlyOwner {
        require (tradingEnabled == false, "Can't pause trading");
        tradingEnabled = true;

        emit InitialDistributionFinished(true);
    }

    // Admin Functions
    function removeLimits() external onlyOwner {
        _maxWalletAmount = _totalSupply;

        emit RemovedLimits(); 
    }


    function setAutomatedMarketMakerPair(address _pair, bool _value) public onlyOwner {
            require(automatedMarketMakerPairs[_pair] != _value, "Value already set");

            automatedMarketMakerPairs[_pair] = _value;

            if(_value){
                _markerPairs.push(_pair);
            }else{
                require(_markerPairs.length > 1, "Required 1 pair");
                for (uint256 i = 0; i < _markerPairs.length; i++) {
                    if (_markerPairs[i] == _pair) {
                        _markerPairs[i] = _markerPairs[_markerPairs.length - 1];
                        _markerPairs.pop();
                        break;
                    }
                }
            }

            emit SetAutomatedMarketMakerPair(_pair, _value);
        }
    
    function getCirculatingSupply() public view returns (uint256) {
        return _totalSupply.sub(balanceOf(DEAD)).sub(balanceOf(ZERO));
    }


}

Read Contract

_markerPairs 0xe1d5584c → address
_maxWalletAmount 0x6c0a24eb → uint256
allowance 0xdd62ed3e → uint256
automatedMarketMakerPairs 0xb62496f5 → bool
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
getCirculatingSupply 0x2b112e49 → uint256
getOwner 0x893d20e8 → address
isLimitsExempt 0xed873445 → bool
isMaxWalletExempt 0x0bd11f8a → bool
name 0x06fdde03 → string
owner 0x8da5cb5b → address
pair 0xa8aa1b31 → address
router 0xf887ea40 → address
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
tradingEnabled 0x4ada218b → bool

Write Contract 9 functions

These functions modify contract state and require a wallet transaction to execute.

approve 0x095ea7b3
address spender
uint256 amount
returns: bool
approveMax 0x571ac8b0
address spender
returns: bool
enableTrading 0x8a8c523c
No parameters
removeLimits 0x751039fc
No parameters
renounceOwnership 0x715018a6
No parameters
setAutomatedMarketMakerPair 0x9a7a23d6
address _pair
bool _value
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner

Recent Transactions

No transactions found for this address