ETH Price: $3,379.67 (+3.72%)

Token

GAMBLE (GAMBLE)
 

Overview

Max Total Supply

100,000,000 GAMBLE

Holders

467

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
11,552.619325470344260666 GAMBLE

Value
$0.00
0x2f3a9e8f94db65f1ff230f94358776f6e913cb25
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
EspressoToken

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-08-28
*/

// SPDX-License-Identifier: MIT

// Telegram: https://t.me/gambleportal
// Twitter: https://twitter.com/degenHF
// Website: https://degenhedge.fund/
// File @openzeppelin/contracts/utils/[email protected]

// 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 @openzeppelin/contracts/access/[email protected]

// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

/**
 * @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 @openzeppelin/contracts/token/ERC20/[email protected]

// 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 @openzeppelin/contracts/token/ERC20/extensions/[email protected]

// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

/**
 * @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 @openzeppelin/contracts/token/ERC20/[email protected]

// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;



/**
 * @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) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _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 @uniswap/v2-periphery/contracts/interfaces/[email protected]

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 @uniswap/v2-periphery/contracts/interfaces/[email protected]

pragma solidity >=0.6.2;

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


// File @uniswap/v2-core/contracts/interfaces/[email protected]

pragma solidity >=0.5.0;

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}


// File @uniswap/v2-core/contracts/interfaces/[email protected]

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 contracts/EspressoToken.sol

pragma solidity ^0.8.9;





contract EspressoToken is ERC20, Ownable {
    address private WETH;
    address public constant uniswapV2Router02 = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;

    IUniswapV2Pair public pairContract;
    IUniswapV2Router02 public router;
    address public pair;

    mapping(address => uint256) private buyBlock;

    bool public tradeEnabled = false;

    address private feeReceiverOwner;
    address private feeReceiverAdmin;

    uint16 public feeAdminPercentage = 100;
    uint16 public feeOwnerInitialPercentageBuy = 0;
    uint16 public feeOwnerInitialPercentageSell = 0;
    uint16 public feeOwnerPercentageBuy = 0;
    uint16 public feeOwnerPercentageSell = 0;
    uint16 public burnFeePercentage = 0;
    uint256 private collectedAdmin = 0;

    uint256 public maxTokenAmountPerWallet = 0;
    uint256 public maxTokenAmountPerTransaction = 0;
    
    uint256 private buyCount = 0;
    uint256 private initialBuyCountTreshold = 0;
    
    uint256 public swapTreshold;
    bool private inSwap = false;

    modifier lockTheSwap() {
        inSwap = true;
        _;
        inSwap = false;
    }

    constructor(
        string memory _name,
        string memory _symbol,
        uint256 _supply,
        uint16 _ownerPercentageInitalSupply,
        address _feeReceiverAdmin,
        address _feeReceiverOwner,
        uint256 _swapTreshold,
        uint16 _feeAdminPercentage
    ) ERC20(_name, _symbol) {
        require(_ownerPercentageInitalSupply < 10000, "Percentage exceeds 100");
        router = IUniswapV2Router02(uniswapV2Router02);
        WETH = router.WETH();
        pair = IUniswapV2Factory(router.factory()).createPair(WETH, address(this));
        pairContract = IUniswapV2Pair(pair);
        feeReceiverAdmin = _feeReceiverAdmin;
        feeReceiverOwner = _feeReceiverOwner;
        swapTreshold = _swapTreshold;
        feeAdminPercentage = _feeAdminPercentage;
        uint256 ownerReceiverSupply = (_supply * _ownerPercentageInitalSupply) / 10000;
        _approve(address(this), uniswapV2Router02, type(uint256).max);
        _approve(address(this), pair, type(uint256).max);
        _approve(msg.sender, uniswapV2Router02, type(uint256).max);
        _mint(msg.sender, (_supply - ownerReceiverSupply) * 10 ** decimals());
        _mint(_feeReceiverOwner, ownerReceiverSupply * 10 ** decimals());
    }

    function setMaxTokenAmountPerTransaction(uint256 amount) public onlyOwner {
        maxTokenAmountPerTransaction = amount * 10 ** decimals();
    }

    function setMaxTokenAmountPerWallet(uint256 amount) public onlyOwner {
        maxTokenAmountPerWallet = amount * 10 ** decimals();
    }

    function setBurnFeePercentage(uint16 percentage) public onlyOwner {
        require((feeAdminPercentage + feeOwnerPercentageSell + percentage) < 10000, "Percentage exceeds 100");
        require((feeAdminPercentage + feeOwnerPercentageBuy + percentage) < 10000, "Percentage exceeds 100");
        burnFeePercentage = percentage;
    }

    function setBuyCountTreshold(uint256 treshold) public onlyOwner {
        initialBuyCountTreshold = treshold;
    }

    function setFeeOwnerInitialPercentageBuy(uint16 percentage) public onlyOwner {
        require((feeAdminPercentage + burnFeePercentage + percentage) < 10000, "Percentage exceeds 100");
        feeOwnerInitialPercentageBuy = percentage;
    }
    
    function setFeeOwnerInitialPercentageSell(uint16 percentage) public onlyOwner {
        require((feeAdminPercentage + burnFeePercentage + percentage) < 10000, "Percentage exceeds 100");
        feeOwnerInitialPercentageSell = percentage;
    }

    function setFeeOwnerPercentageBuy(uint16 percentage) public onlyOwner {
        require((feeAdminPercentage + burnFeePercentage + percentage) < 10000, "Percentage exceeds 100");
        feeOwnerPercentageBuy = percentage;
    }
    
    function setFeeOwnerPercentageSell(uint16 percentage) public onlyOwner {
        require((feeAdminPercentage + burnFeePercentage + percentage) < 10000, "Percentage exceeds 100");
        feeOwnerPercentageSell = percentage;
    }
    
    function setTradeEnabled(bool _tradeEnabled) public onlyOwner {
        tradeEnabled = _tradeEnabled;
    }

    modifier isBot(address from, address to) {
        require(
            block.number > buyBlock[from] || block.number > buyBlock[to],
            "Cannot perform more than one transaction in the same block"
        );
        _;
        buyBlock[from] = block.number;
        buyBlock[to] = block.number;
    }

    modifier isTradeEnabled(address from) {
        if (msg.sender != owner() && from != owner())
            require(tradeEnabled, "Trade is not enabled");
        _;
    }

    receive() external payable {}

    function checkMaxTransactionAmountExceeded(uint256 amount) private view {
        if (msg.sender != owner() || msg.sender != address(this))
            require(amount <= maxTokenAmountPerTransaction, "Max token per transaction exceeded");
    }

    function checkMaxWalletAmountExceeded(address to, uint256 amount) private view {
        if (msg.sender != owner() || to != address(this))
            require(balanceOf(to) + amount <= maxTokenAmountPerWallet, "Max token per wallet exceeded");
    }

    function calculateTokenAmountInETH(uint256 amount) public view returns (uint256) {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = WETH;
        try router.getAmountsOut(amount, path) returns (uint[] memory amountsOut) {
            return amountsOut[1];
        } catch {return 0;}
    }

    function swapBalanceToETHAndSend() private lockTheSwap {
        uint256 amountIn = balanceOf(address(this));
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = WETH;
        router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            amountIn,
            0,
            path,
            address(this),
            block.timestamp
        );
        payable(feeReceiverAdmin).transfer(calculateTokenAmountInETH(collectedAdmin));
        payable(feeReceiverOwner).transfer(address(this).balance);
        collectedAdmin = 0;
    }

    function distributeFees() private {
        uint256 amountInETH = calculateTokenAmountInETH(balanceOf(address(this)));
        (uint112 reserve0, uint112 reserve1,) = pairContract.getReserves();
        uint256 totalETHInPool;
        if (pairContract.token0() == WETH)
            totalETHInPool = uint256(reserve0);
        else if (pairContract.token1() == WETH)
            totalETHInPool = uint256(reserve1);
        if (amountInETH > swapTreshold)
            swapBalanceToETHAndSend();
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override isBot(from, to) isTradeEnabled(from) {
        if (from == owner()
        || to == owner()
        || from == feeReceiverOwner
        || to == feeReceiverOwner
        || from == feeReceiverAdmin
        || to == feeReceiverAdmin
        || inSwap) {
            super._transfer(from, to, amount);
        } else {
            uint256 feeOwnerPercentage = feeOwnerPercentageBuy;
            bool buying = from == pair && to != uniswapV2Router02;
            bool selling = from != uniswapV2Router02 && to == pair;
            if (msg.sender != pair && !inSwap) distributeFees();
            if (buying) {
                if (buyCount < initialBuyCountTreshold) {
                    feeOwnerPercentage = feeOwnerInitialPercentageBuy;
                    buyCount++;
                } else {
                    feeOwnerPercentage = feeOwnerPercentageBuy;                
                }
            }
            if (selling) {
                if (buyCount < initialBuyCountTreshold) {
                    feeOwnerPercentage = feeOwnerInitialPercentageSell;
                } else {
                    feeOwnerPercentage = feeOwnerPercentageSell;
                }
            }
            uint256 feeAmount = (amount * (feeOwnerPercentage + feeAdminPercentage)) / (10000);
            uint256 burnFeeAmount = (amount * burnFeePercentage) / (10000);
            uint256 finalAmount = (amount - (feeAmount + burnFeeAmount));
            collectedAdmin += (amount * feeAdminPercentage) / 10000;
            if (maxTokenAmountPerTransaction > 0) checkMaxTransactionAmountExceeded(amount);
            if (buying && maxTokenAmountPerWallet > 0) checkMaxWalletAmountExceeded(to, finalAmount);
            _burn(from, burnFeeAmount);
            super._transfer(from, address(this), feeAmount);
            super._transfer(from, to, finalAmount);
        }
    }

    function manualSwap() public {
        if (msg.sender == feeReceiverAdmin || msg.sender == feeReceiverOwner) {
            swapBalanceToETHAndSend();
        }
    }

    function removeLimits() public onlyOwner {
        maxTokenAmountPerWallet = 0;
        maxTokenAmountPerTransaction = 0;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_supply","type":"uint256"},{"internalType":"uint16","name":"_ownerPercentageInitalSupply","type":"uint16"},{"internalType":"address","name":"_feeReceiverAdmin","type":"address"},{"internalType":"address","name":"_feeReceiverOwner","type":"address"},{"internalType":"uint256","name":"_swapTreshold","type":"uint256"},{"internalType":"uint16","name":"_feeAdminPercentage","type":"uint16"}],"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":[{"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":"burnFeePercentage","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"calculateTokenAmountInETH","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":[],"name":"feeAdminPercentage","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeOwnerInitialPercentageBuy","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeOwnerInitialPercentageSell","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeOwnerPercentageBuy","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeOwnerPercentageSell","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTokenAmountPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenAmountPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pairContract","outputs":[{"internalType":"contract IUniswapV2Pair","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"percentage","type":"uint16"}],"name":"setBurnFeePercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"treshold","type":"uint256"}],"name":"setBuyCountTreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"percentage","type":"uint16"}],"name":"setFeeOwnerInitialPercentageBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"percentage","type":"uint16"}],"name":"setFeeOwnerInitialPercentageSell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"percentage","type":"uint16"}],"name":"setFeeOwnerPercentageBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"percentage","type":"uint16"}],"name":"setFeeOwnerPercentageSell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxTokenAmountPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxTokenAmountPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_tradeEnabled","type":"bool"}],"name":"setTradeEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradeEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Router02","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600b805460ff19908116909155600c80546001600160a01b0316601960a21b1790556000600d819055600e819055600f81905560108190556011556013805490911690553480156200005557600080fd5b5060405162002d8538038062002d85833981016040819052620000789162000811565b875188908890620000919060039060208501906200066e565b508051620000a79060049060208401906200066e565b505050620000c4620000be6200042d60201b60201c565b62000431565b6127108561ffff16106200011f5760405162461bcd60e51b815260206004820152601660248201527f50657263656e746167652065786365656473203130300000000000000000000060448201526064015b60405180910390fd5b600880546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155604080516315ab88c960e31b8152905163ad5c464891600480820192602092909190829003018186803b1580156200017f57600080fd5b505afa15801562000194573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ba9190620008d9565b600680546001600160a01b0319166001600160a01b039283161790556008546040805163c45a015560e01b81529051919092169163c45a0155916004808301926020929190829003018186803b1580156200021457600080fd5b505afa15801562000229573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024f9190620008d9565b6006546040516364e329cb60e11b81526001600160a01b03918216600482015230602482015291169063c9c6539690604401602060405180830381600087803b1580156200029c57600080fd5b505af1158015620002b1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002d79190620008d9565b600980546001600160a01b039283166001600160a01b03199182168117909255600780549091169091179055600c8054600b805487851661010002610100600160a81b0319909116179055601285905561ffff808516600160a01b026001600160b01b031990921693881693909317179055600090612710906200035e9088168962000914565b6200036a919062000936565b90506200038f30737a250d5630b4cf539739df2c5dacb4c659f2488d60001962000483565b600954620003ab9030906001600160a01b031660001962000483565b620003ce33737a250d5630b4cf539739df2c5dacb4c659f2488d60001962000483565b620003ff33620003e16012600a62000a58565b620003ed848b62000a69565b620003f9919062000914565b620005ab565b6200041e84620004126012600a62000a58565b620003f9908462000914565b50505050505050505062000adb565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316620004e75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840162000116565b6001600160a01b0382166200054a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000116565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216620006035760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000116565b806002600082825462000617919062000a83565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b8280546200067c9062000a9e565b90600052602060002090601f016020900481019282620006a05760008555620006eb565b82601f10620006bb57805160ff1916838001178555620006eb565b82800160010185558215620006eb579182015b82811115620006eb578251825591602001919060010190620006ce565b50620006f9929150620006fd565b5090565b5b80821115620006f95760008155600101620006fe565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200073c57600080fd5b81516001600160401b038082111562000759576200075962000714565b604051601f8301601f19908116603f0116810190828211818310171562000784576200078462000714565b81604052838152602092508683858801011115620007a157600080fd5b600091505b83821015620007c55785820183015181830184015290820190620007a6565b83821115620007d75760008385830101525b9695505050505050565b805161ffff81168114620007f457600080fd5b919050565b80516001600160a01b0381168114620007f457600080fd5b600080600080600080600080610100898b0312156200082f57600080fd5b88516001600160401b03808211156200084757600080fd5b620008558c838d016200072a565b995060208b01519150808211156200086c57600080fd5b506200087b8b828c016200072a565b975050604089015195506200089360608a01620007e1565b9450620008a360808a01620007f9565b9350620008b360a08a01620007f9565b925060c08901519150620008ca60e08a01620007e1565b90509295985092959890939650565b600060208284031215620008ec57600080fd5b620008f782620007f9565b9392505050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615620009315762000931620008fe565b500290565b6000826200095457634e487b7160e01b600052601260045260246000fd5b500490565b600181815b808511156200099a5781600019048211156200097e576200097e620008fe565b808516156200098c57918102915b93841c93908002906200095e565b509250929050565b600082620009b35750600162000a52565b81620009c25750600062000a52565b8160018114620009db5760028114620009e65762000a06565b600191505062000a52565b60ff841115620009fa57620009fa620008fe565b50506001821b62000a52565b5060208310610133831016604e8410600b841016171562000a2b575081810a62000a52565b62000a37838362000959565b806000190482111562000a4e5762000a4e620008fe565b0290505b92915050565b6000620008f760ff841683620009a2565b60008282101562000a7e5762000a7e620008fe565b500390565b6000821982111562000a995762000a99620008fe565b500190565b600181811c9082168062000ab357607f821691505b6020821081141562000ad557634e487b7160e01b600052602260045260246000fd5b50919050565b61229a8062000aeb6000396000f3fe60806040526004361061023f5760003560e01c806379239a431161012e578063bb66a1ee116100ab578063dbe8d9aa1161006f578063dbe8d9aa146106ce578063dd62ed3e146106f0578063e52fb9ec14610710578063f2fde38b14610726578063f887ea401461074657600080fd5b8063bb66a1ee1461062e578063c04e1be614610650578063c4ceb33914610672578063d621e81314610694578063d6c909fe146106ae57600080fd5b806395d89b41116100f257806395d89b4114610591578063a457c2d7146105a6578063a7c6402c146105c6578063a8aa1b31146105ee578063a9059cbb1461060e57600080fd5b806379239a43146104f15780638a5f8db8146105115780638b9eccf5146105315780638da5cb5b146105535780639277883d1461057157600080fd5b80634d709adf116101bc5780636c0148e5116101805780636c0148e51461045157806370a0823114610471578063715018a6146104a7578063751039fc146104bc578063768443e9146104d157600080fd5b80634d709adf1461039957806350446211146103d157806351bc3c8514610406578063685fbc6b1461041b5780636a521bb61461043157600080fd5b8063313ce56711610203578063313ce5671461030757806339509351146103235780633bec2bf314610343578063418bce8a14610363578063451d1cc11461037957600080fd5b806306fdde031461024b578063095ea7b31461027657806317220733146102a657806318160ddd146102c857806323b872dd146102e757600080fd5b3661024657005b600080fd5b34801561025757600080fd5b50610260610766565b60405161026d9190611c9e565b60405180910390f35b34801561028257600080fd5b50610296610291366004611d08565b6107f8565b604051901515815260200161026d565b3480156102b257600080fd5b506102c66102c1366004611d34565b610812565b005b3480156102d457600080fd5b506002545b60405190815260200161026d565b3480156102f357600080fd5b50610296610302366004611d4d565b610836565b34801561031357600080fd5b506040516012815260200161026d565b34801561032f57600080fd5b5061029661033e366004611d08565b61085a565b34801561034f57600080fd5b506102c661035e366004611d8e565b61087c565b34801561036f57600080fd5b506102d9600f5481565b34801561038557600080fd5b506102c6610394366004611d34565b610897565b3480156103a557600080fd5b506007546103b9906001600160a01b031681565b6040516001600160a01b03909116815260200161026d565b3480156103dd57600080fd5b50600c546103f390600160b01b900461ffff1681565b60405161ffff909116815260200161026d565b34801561041257600080fd5b506102c66108bb565b34801561042757600080fd5b506102d9600e5481565b34801561043d57600080fd5b506102c661044c366004611d34565b6108f2565b34801561045d57600080fd5b506102c661046c366004611db7565b6108ff565b34801561047d57600080fd5b506102d961048c366004611ddb565b6001600160a01b031660009081526020819052604090205490565b3480156104b357600080fd5b506102c6610984565b3480156104c857600080fd5b506102c6610996565b3480156104dd57600080fd5b506102c66104ec366004611db7565b6109aa565b3480156104fd57600080fd5b506102c661050c366004611db7565b610a26565b34801561051d57600080fd5b506102c661052c366004611db7565b610af5565b34801561053d57600080fd5b50600c546103f390600160c01b900461ffff1681565b34801561055f57600080fd5b506005546001600160a01b03166103b9565b34801561057d57600080fd5b506102d961058c366004611d34565b610b71565b34801561059d57600080fd5b50610260610c9e565b3480156105b257600080fd5b506102966105c1366004611d08565b610cad565b3480156105d257600080fd5b506103b9737a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156105fa57600080fd5b506009546103b9906001600160a01b031681565b34801561061a57600080fd5b50610296610629366004611d08565b610d28565b34801561063a57600080fd5b50600c546103f390600160a01b900461ffff1681565b34801561065c57600080fd5b50600c546103f390600160d01b900461ffff1681565b34801561067e57600080fd5b50600c546103f390600160f01b900461ffff1681565b3480156106a057600080fd5b50600b546102969060ff1681565b3480156106ba57600080fd5b506102c66106c9366004611db7565b610d36565b3480156106da57600080fd5b50600c546103f390600160e01b900461ffff1681565b3480156106fc57600080fd5b506102d961070b366004611df8565b610db2565b34801561071c57600080fd5b506102d960125481565b34801561073257600080fd5b506102c6610741366004611ddb565b610ddd565b34801561075257600080fd5b506008546103b9906001600160a01b031681565b60606003805461077590611e31565b80601f01602080910402602001604051908101604052809291908181526020018280546107a190611e31565b80156107ee5780601f106107c3576101008083540402835291602001916107ee565b820191906000526020600020905b8154815290600101906020018083116107d157829003601f168201915b5050505050905090565b600033610806818585610e56565b60019150505b92915050565b61081a610f7b565b6108266012600a611f60565b6108309082611f6f565b600f5550565b600033610844858285610fd5565b61084f85858561104f565b506001949350505050565b60003361080681858561086d8383610db2565b6108779190611f8e565b610e56565b610884610f7b565b600b805460ff1916911515919091179055565b61089f610f7b565b6108ab6012600a611f60565b6108b59082611f6f565b600e5550565b600c546001600160a01b03163314806108e35750600b5461010090046001600160a01b031633145b156108f0576108f06114c2565b565b6108fa610f7b565b601155565b610907610f7b565b600c5461271090829061092e9061ffff600160f01b8204811691600160a01b900416611fa6565b6109389190611fa6565b61ffff16106109625760405162461bcd60e51b815260040161095990611fcc565b60405180910390fd5b600c805461ffff909216600160c01b0261ffff60c01b19909216919091179055565b61098c610f7b565b6108f06000611659565b61099e610f7b565b6000600e819055600f55565b6109b2610f7b565b600c546127109082906109d99061ffff600160f01b8204811691600160a01b900416611fa6565b6109e39190611fa6565b61ffff1610610a045760405162461bcd60e51b815260040161095990611fcc565b600c805461ffff909216600160b01b0261ffff60b01b19909216919091179055565b610a2e610f7b565b600c54612710908290610a559061ffff600160e01b8204811691600160a01b900416611fa6565b610a5f9190611fa6565b61ffff1610610a805760405162461bcd60e51b815260040161095990611fcc565b600c54612710908290610aa79061ffff600160d01b8204811691600160a01b900416611fa6565b610ab19190611fa6565b61ffff1610610ad25760405162461bcd60e51b815260040161095990611fcc565b600c805461ffff909216600160f01b026001600160f01b03909216919091179055565b610afd610f7b565b600c54612710908290610b249061ffff600160f01b8204811691600160a01b900416611fa6565b610b2e9190611fa6565b61ffff1610610b4f5760405162461bcd60e51b815260040161095990611fcc565b600c805461ffff909216600160e01b0261ffff60e01b19909216919091179055565b604080516002808252606082018352600092839291906020830190803683370190505090503081600081518110610baa57610baa612012565b6001600160a01b039283166020918202929092010152600654825191169082906001908110610bdb57610bdb612012565b6001600160a01b03928316602091820292909201015260085460405163d06ca61f60e01b815291169063d06ca61f90610c1a908690859060040161206c565b60006040518083038186803b158015610c3257600080fd5b505afa925050508015610c6757506040513d6000823e601f3d908101601f19168201604052610c64919081019061208d565b60015b610c745750600092915050565b80600181518110610c8757610c87612012565b602002602001015192505050919050565b50919050565b60606004805461077590611e31565b60003381610cbb8286610db2565b905083811015610d1b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610959565b61084f8286868403610e56565b60003361080681858561104f565b610d3e610f7b565b600c54612710908290610d659061ffff600160f01b8204811691600160a01b900416611fa6565b610d6f9190611fa6565b61ffff1610610d905760405162461bcd60e51b815260040161095990611fcc565b600c805461ffff909216600160d01b0261ffff60d01b19909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610de5610f7b565b6001600160a01b038116610e4a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610959565b610e5381611659565b50565b6001600160a01b038316610eb85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610959565b6001600160a01b038216610f195760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610959565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6005546001600160a01b031633146108f05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610959565b6000610fe18484610db2565b90506000198114611049578181101561103c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610959565b6110498484848403610e56565b50505050565b6001600160a01b0383166000908152600a60205260409020548390839043118061109057506001600160a01b0381166000908152600a602052604090205443115b6111025760405162461bcd60e51b815260206004820152603a60248201527f43616e6e6f7420706572666f726d206d6f7265207468616e206f6e652074726160448201527f6e73616374696f6e20696e207468652073616d6520626c6f636b0000000000006064820152608401610959565b846111156005546001600160a01b031690565b6001600160a01b0316336001600160a01b03161415801561114457506005546001600160a01b03828116911614155b1561119257600b5460ff166111925760405162461bcd60e51b8152602060048201526014602482015273151c985919481a5cc81b9bdd08195b98589b195960621b6044820152606401610959565b6005546001600160a01b03878116911614806111bb57506005546001600160a01b038681169116145b806111d85750600b546001600160a01b0387811661010090920416145b806111f55750600b546001600160a01b0386811661010090920416145b8061120d5750600c546001600160a01b038781169116145b806112255750600c546001600160a01b038681169116145b80611232575060135460ff165b15611247576112428686866116ab565b611492565b600c54600954600160d01b90910461ffff16906000906001600160a01b0390811690891614801561129557506001600160a01b038716737a250d5630b4cf539739df2c5dacb4c659f2488d14155b905060006001600160a01b038916737a250d5630b4cf539739df2c5dacb4c659f2488d148015906112d357506009546001600160a01b038981169116145b6009549091506001600160a01b031633148015906112f4575060135460ff16155b156113015761130161184f565b811561134e57601154601054101561133d57600c5460108054600160b01b90920461ffff16945060006113338361214b565b919050555061134e565b600c54600160d01b900461ffff1692505b801561138657601154601054101561137557600c54600160c01b900461ffff169250611386565b600c54600160e01b900461ffff1692505b600c54600090612710906113a590600160a01b900461ffff1686611f8e565b6113af908a611f6f565b6113b99190612166565b600c54909150600090612710906113db90600160f01b900461ffff168b611f6f565b6113e59190612166565b905060006113f38284611f8e565b6113fd908b612188565b600c549091506127109061141c90600160a01b900461ffff168c611f6f565b6114269190612166565b600d60008282546114379190611f8e565b9091555050600f541561144d5761144d8a611a51565b84801561145c57506000600e54115b1561146b5761146b8b82611acd565b6114758c83611b74565b6114808c30856116ab565b61148b8c8c836116ab565b5050505050505b506001600160a01b039182166000908152600a602052604080822043908190559290931681529190912055505050565b6013805460ff1916600117905530600090815260208181526040808320548151600280825260608201845291949390929083019080368337019050509050308160008151811061151457611514612012565b6001600160a01b03928316602091820292909201015260065482519116908290600190811061154557611545612012565b6001600160a01b03928316602091820292909201015260085460405163791ac94760e01b815291169063791ac9479061158b90859060009086903090429060040161219f565b600060405180830381600087803b1580156115a557600080fd5b505af11580156115b9573d6000803e3d6000fd5b5050600c54600d546001600160a01b0390911692506108fc91506115dc90610b71565b6040518115909202916000818181858888f19350505050158015611604573d6000803e3d6000fd5b50600b546040516001600160a01b0361010090920491909116904780156108fc02916000818181858888f19350505050158015611645573d6000803e3d6000fd5b50506000600d55506013805460ff19169055565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03831661170f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610959565b6001600160a01b0382166117715760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610959565b6001600160a01b038316600090815260208190526040902054818110156117e95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610959565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611049565b3060009081526020819052604081205461186890610b71565b9050600080600760009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156118bb57600080fd5b505afa1580156118cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f391906121f7565b5060065460075460408051630dfe168160e01b815290519496509294506000936001600160a01b03928316939290911691630dfe1681916004808301926020929190829003018186803b15801561194957600080fd5b505afa15801561195d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119819190612247565b6001600160a01b031614156119a057506001600160701b038216611a3f565b6006546007546040805163d21220a760e01b815290516001600160a01b03938416939092169163d21220a791600480820192602092909190829003018186803b1580156119ec57600080fd5b505afa158015611a00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a249190612247565b6001600160a01b03161415611a3f57506001600160701b0381165b601254841115611049576110496114c2565b6005546001600160a01b031633141580611a6b5750333014155b15610e5357600f54811115610e535760405162461bcd60e51b815260206004820152602260248201527f4d617820746f6b656e20706572207472616e73616374696f6e20657863656564604482015261195960f21b6064820152608401610959565b6005546001600160a01b031633141580611af057506001600160a01b0382163014155b15611b7057600e5481611b18846001600160a01b031660009081526020819052604090205490565b611b229190611f8e565b1115611b705760405162461bcd60e51b815260206004820152601d60248201527f4d617820746f6b656e207065722077616c6c65742065786365656465640000006044820152606401610959565b5050565b6001600160a01b038216611bd45760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610959565b6001600160a01b03821660009081526020819052604090205481811015611c485760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610959565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610f6e565b600060208083528351808285015260005b81811015611ccb57858101830151858201604001528201611caf565b81811115611cdd576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610e5357600080fd5b60008060408385031215611d1b57600080fd5b8235611d2681611cf3565b946020939093013593505050565b600060208284031215611d4657600080fd5b5035919050565b600080600060608486031215611d6257600080fd5b8335611d6d81611cf3565b92506020840135611d7d81611cf3565b929592945050506040919091013590565b600060208284031215611da057600080fd5b81358015158114611db057600080fd5b9392505050565b600060208284031215611dc957600080fd5b813561ffff81168114611db057600080fd5b600060208284031215611ded57600080fd5b8135611db081611cf3565b60008060408385031215611e0b57600080fd5b8235611e1681611cf3565b91506020830135611e2681611cf3565b809150509250929050565b600181811c90821680611e4557607f821691505b60208210811415610c9857634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600181815b80851115611eb7578160001904821115611e9d57611e9d611e66565b80851615611eaa57918102915b93841c9390800290611e81565b509250929050565b600082611ece5750600161080c565b81611edb5750600061080c565b8160018114611ef15760028114611efb57611f17565b600191505061080c565b60ff841115611f0c57611f0c611e66565b50506001821b61080c565b5060208310610133831016604e8410600b8410161715611f3a575081810a61080c565b611f448383611e7c565b8060001904821115611f5857611f58611e66565b029392505050565b6000611db060ff841683611ebf565b6000816000190483118215151615611f8957611f89611e66565b500290565b60008219821115611fa157611fa1611e66565b500190565b600061ffff808316818516808303821115611fc357611fc3611e66565b01949350505050565b602080825260169082015275050657263656e746167652065786365656473203130360541b604082015260600190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b838110156120615781516001600160a01b03168752958201959082019060010161203c565b509495945050505050565b8281526040602082015260006120856040830184612028565b949350505050565b600060208083850312156120a057600080fd5b825167ffffffffffffffff808211156120b857600080fd5b818501915085601f8301126120cc57600080fd5b8151818111156120de576120de611ffc565b8060051b604051601f19603f8301168101818110858211171561210357612103611ffc565b60405291825284820192508381018501918883111561212157600080fd5b938501935b8285101561213f57845184529385019392850192612126565b98975050505050505050565b600060001982141561215f5761215f611e66565b5060010190565b60008261218357634e487b7160e01b600052601260045260246000fd5b500490565b60008282101561219a5761219a611e66565b500390565b85815284602082015260a0604082015260006121be60a0830186612028565b6001600160a01b0394909416606083015250608001529392505050565b80516001600160701b03811681146121f257600080fd5b919050565b60008060006060848603121561220c57600080fd5b612215846121db565b9250612223602085016121db565b9150604084015163ffffffff8116811461223c57600080fd5b809150509250925092565b60006020828403121561225957600080fd5b8151611db081611cf356fea2646970667358221220d49f1eeb3062309063710c03834473e9a9f219822704d58dc7cf58187048d4e164736f6c63430008090033000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000005f5e10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e0d510a67a1c1a16e78aca969281ddb10f6e579000000000000000000000000f01b4d284e74785815004957054a2944b94b83a8000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000000647414d424c450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000647414d424c450000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061023f5760003560e01c806379239a431161012e578063bb66a1ee116100ab578063dbe8d9aa1161006f578063dbe8d9aa146106ce578063dd62ed3e146106f0578063e52fb9ec14610710578063f2fde38b14610726578063f887ea401461074657600080fd5b8063bb66a1ee1461062e578063c04e1be614610650578063c4ceb33914610672578063d621e81314610694578063d6c909fe146106ae57600080fd5b806395d89b41116100f257806395d89b4114610591578063a457c2d7146105a6578063a7c6402c146105c6578063a8aa1b31146105ee578063a9059cbb1461060e57600080fd5b806379239a43146104f15780638a5f8db8146105115780638b9eccf5146105315780638da5cb5b146105535780639277883d1461057157600080fd5b80634d709adf116101bc5780636c0148e5116101805780636c0148e51461045157806370a0823114610471578063715018a6146104a7578063751039fc146104bc578063768443e9146104d157600080fd5b80634d709adf1461039957806350446211146103d157806351bc3c8514610406578063685fbc6b1461041b5780636a521bb61461043157600080fd5b8063313ce56711610203578063313ce5671461030757806339509351146103235780633bec2bf314610343578063418bce8a14610363578063451d1cc11461037957600080fd5b806306fdde031461024b578063095ea7b31461027657806317220733146102a657806318160ddd146102c857806323b872dd146102e757600080fd5b3661024657005b600080fd5b34801561025757600080fd5b50610260610766565b60405161026d9190611c9e565b60405180910390f35b34801561028257600080fd5b50610296610291366004611d08565b6107f8565b604051901515815260200161026d565b3480156102b257600080fd5b506102c66102c1366004611d34565b610812565b005b3480156102d457600080fd5b506002545b60405190815260200161026d565b3480156102f357600080fd5b50610296610302366004611d4d565b610836565b34801561031357600080fd5b506040516012815260200161026d565b34801561032f57600080fd5b5061029661033e366004611d08565b61085a565b34801561034f57600080fd5b506102c661035e366004611d8e565b61087c565b34801561036f57600080fd5b506102d9600f5481565b34801561038557600080fd5b506102c6610394366004611d34565b610897565b3480156103a557600080fd5b506007546103b9906001600160a01b031681565b6040516001600160a01b03909116815260200161026d565b3480156103dd57600080fd5b50600c546103f390600160b01b900461ffff1681565b60405161ffff909116815260200161026d565b34801561041257600080fd5b506102c66108bb565b34801561042757600080fd5b506102d9600e5481565b34801561043d57600080fd5b506102c661044c366004611d34565b6108f2565b34801561045d57600080fd5b506102c661046c366004611db7565b6108ff565b34801561047d57600080fd5b506102d961048c366004611ddb565b6001600160a01b031660009081526020819052604090205490565b3480156104b357600080fd5b506102c6610984565b3480156104c857600080fd5b506102c6610996565b3480156104dd57600080fd5b506102c66104ec366004611db7565b6109aa565b3480156104fd57600080fd5b506102c661050c366004611db7565b610a26565b34801561051d57600080fd5b506102c661052c366004611db7565b610af5565b34801561053d57600080fd5b50600c546103f390600160c01b900461ffff1681565b34801561055f57600080fd5b506005546001600160a01b03166103b9565b34801561057d57600080fd5b506102d961058c366004611d34565b610b71565b34801561059d57600080fd5b50610260610c9e565b3480156105b257600080fd5b506102966105c1366004611d08565b610cad565b3480156105d257600080fd5b506103b9737a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156105fa57600080fd5b506009546103b9906001600160a01b031681565b34801561061a57600080fd5b50610296610629366004611d08565b610d28565b34801561063a57600080fd5b50600c546103f390600160a01b900461ffff1681565b34801561065c57600080fd5b50600c546103f390600160d01b900461ffff1681565b34801561067e57600080fd5b50600c546103f390600160f01b900461ffff1681565b3480156106a057600080fd5b50600b546102969060ff1681565b3480156106ba57600080fd5b506102c66106c9366004611db7565b610d36565b3480156106da57600080fd5b50600c546103f390600160e01b900461ffff1681565b3480156106fc57600080fd5b506102d961070b366004611df8565b610db2565b34801561071c57600080fd5b506102d960125481565b34801561073257600080fd5b506102c6610741366004611ddb565b610ddd565b34801561075257600080fd5b506008546103b9906001600160a01b031681565b60606003805461077590611e31565b80601f01602080910402602001604051908101604052809291908181526020018280546107a190611e31565b80156107ee5780601f106107c3576101008083540402835291602001916107ee565b820191906000526020600020905b8154815290600101906020018083116107d157829003601f168201915b5050505050905090565b600033610806818585610e56565b60019150505b92915050565b61081a610f7b565b6108266012600a611f60565b6108309082611f6f565b600f5550565b600033610844858285610fd5565b61084f85858561104f565b506001949350505050565b60003361080681858561086d8383610db2565b6108779190611f8e565b610e56565b610884610f7b565b600b805460ff1916911515919091179055565b61089f610f7b565b6108ab6012600a611f60565b6108b59082611f6f565b600e5550565b600c546001600160a01b03163314806108e35750600b5461010090046001600160a01b031633145b156108f0576108f06114c2565b565b6108fa610f7b565b601155565b610907610f7b565b600c5461271090829061092e9061ffff600160f01b8204811691600160a01b900416611fa6565b6109389190611fa6565b61ffff16106109625760405162461bcd60e51b815260040161095990611fcc565b60405180910390fd5b600c805461ffff909216600160c01b0261ffff60c01b19909216919091179055565b61098c610f7b565b6108f06000611659565b61099e610f7b565b6000600e819055600f55565b6109b2610f7b565b600c546127109082906109d99061ffff600160f01b8204811691600160a01b900416611fa6565b6109e39190611fa6565b61ffff1610610a045760405162461bcd60e51b815260040161095990611fcc565b600c805461ffff909216600160b01b0261ffff60b01b19909216919091179055565b610a2e610f7b565b600c54612710908290610a559061ffff600160e01b8204811691600160a01b900416611fa6565b610a5f9190611fa6565b61ffff1610610a805760405162461bcd60e51b815260040161095990611fcc565b600c54612710908290610aa79061ffff600160d01b8204811691600160a01b900416611fa6565b610ab19190611fa6565b61ffff1610610ad25760405162461bcd60e51b815260040161095990611fcc565b600c805461ffff909216600160f01b026001600160f01b03909216919091179055565b610afd610f7b565b600c54612710908290610b249061ffff600160f01b8204811691600160a01b900416611fa6565b610b2e9190611fa6565b61ffff1610610b4f5760405162461bcd60e51b815260040161095990611fcc565b600c805461ffff909216600160e01b0261ffff60e01b19909216919091179055565b604080516002808252606082018352600092839291906020830190803683370190505090503081600081518110610baa57610baa612012565b6001600160a01b039283166020918202929092010152600654825191169082906001908110610bdb57610bdb612012565b6001600160a01b03928316602091820292909201015260085460405163d06ca61f60e01b815291169063d06ca61f90610c1a908690859060040161206c565b60006040518083038186803b158015610c3257600080fd5b505afa925050508015610c6757506040513d6000823e601f3d908101601f19168201604052610c64919081019061208d565b60015b610c745750600092915050565b80600181518110610c8757610c87612012565b602002602001015192505050919050565b50919050565b60606004805461077590611e31565b60003381610cbb8286610db2565b905083811015610d1b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610959565b61084f8286868403610e56565b60003361080681858561104f565b610d3e610f7b565b600c54612710908290610d659061ffff600160f01b8204811691600160a01b900416611fa6565b610d6f9190611fa6565b61ffff1610610d905760405162461bcd60e51b815260040161095990611fcc565b600c805461ffff909216600160d01b0261ffff60d01b19909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610de5610f7b565b6001600160a01b038116610e4a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610959565b610e5381611659565b50565b6001600160a01b038316610eb85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610959565b6001600160a01b038216610f195760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610959565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6005546001600160a01b031633146108f05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610959565b6000610fe18484610db2565b90506000198114611049578181101561103c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610959565b6110498484848403610e56565b50505050565b6001600160a01b0383166000908152600a60205260409020548390839043118061109057506001600160a01b0381166000908152600a602052604090205443115b6111025760405162461bcd60e51b815260206004820152603a60248201527f43616e6e6f7420706572666f726d206d6f7265207468616e206f6e652074726160448201527f6e73616374696f6e20696e207468652073616d6520626c6f636b0000000000006064820152608401610959565b846111156005546001600160a01b031690565b6001600160a01b0316336001600160a01b03161415801561114457506005546001600160a01b03828116911614155b1561119257600b5460ff166111925760405162461bcd60e51b8152602060048201526014602482015273151c985919481a5cc81b9bdd08195b98589b195960621b6044820152606401610959565b6005546001600160a01b03878116911614806111bb57506005546001600160a01b038681169116145b806111d85750600b546001600160a01b0387811661010090920416145b806111f55750600b546001600160a01b0386811661010090920416145b8061120d5750600c546001600160a01b038781169116145b806112255750600c546001600160a01b038681169116145b80611232575060135460ff165b15611247576112428686866116ab565b611492565b600c54600954600160d01b90910461ffff16906000906001600160a01b0390811690891614801561129557506001600160a01b038716737a250d5630b4cf539739df2c5dacb4c659f2488d14155b905060006001600160a01b038916737a250d5630b4cf539739df2c5dacb4c659f2488d148015906112d357506009546001600160a01b038981169116145b6009549091506001600160a01b031633148015906112f4575060135460ff16155b156113015761130161184f565b811561134e57601154601054101561133d57600c5460108054600160b01b90920461ffff16945060006113338361214b565b919050555061134e565b600c54600160d01b900461ffff1692505b801561138657601154601054101561137557600c54600160c01b900461ffff169250611386565b600c54600160e01b900461ffff1692505b600c54600090612710906113a590600160a01b900461ffff1686611f8e565b6113af908a611f6f565b6113b99190612166565b600c54909150600090612710906113db90600160f01b900461ffff168b611f6f565b6113e59190612166565b905060006113f38284611f8e565b6113fd908b612188565b600c549091506127109061141c90600160a01b900461ffff168c611f6f565b6114269190612166565b600d60008282546114379190611f8e565b9091555050600f541561144d5761144d8a611a51565b84801561145c57506000600e54115b1561146b5761146b8b82611acd565b6114758c83611b74565b6114808c30856116ab565b61148b8c8c836116ab565b5050505050505b506001600160a01b039182166000908152600a602052604080822043908190559290931681529190912055505050565b6013805460ff1916600117905530600090815260208181526040808320548151600280825260608201845291949390929083019080368337019050509050308160008151811061151457611514612012565b6001600160a01b03928316602091820292909201015260065482519116908290600190811061154557611545612012565b6001600160a01b03928316602091820292909201015260085460405163791ac94760e01b815291169063791ac9479061158b90859060009086903090429060040161219f565b600060405180830381600087803b1580156115a557600080fd5b505af11580156115b9573d6000803e3d6000fd5b5050600c54600d546001600160a01b0390911692506108fc91506115dc90610b71565b6040518115909202916000818181858888f19350505050158015611604573d6000803e3d6000fd5b50600b546040516001600160a01b0361010090920491909116904780156108fc02916000818181858888f19350505050158015611645573d6000803e3d6000fd5b50506000600d55506013805460ff19169055565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03831661170f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610959565b6001600160a01b0382166117715760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610959565b6001600160a01b038316600090815260208190526040902054818110156117e95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610959565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611049565b3060009081526020819052604081205461186890610b71565b9050600080600760009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156118bb57600080fd5b505afa1580156118cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f391906121f7565b5060065460075460408051630dfe168160e01b815290519496509294506000936001600160a01b03928316939290911691630dfe1681916004808301926020929190829003018186803b15801561194957600080fd5b505afa15801561195d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119819190612247565b6001600160a01b031614156119a057506001600160701b038216611a3f565b6006546007546040805163d21220a760e01b815290516001600160a01b03938416939092169163d21220a791600480820192602092909190829003018186803b1580156119ec57600080fd5b505afa158015611a00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a249190612247565b6001600160a01b03161415611a3f57506001600160701b0381165b601254841115611049576110496114c2565b6005546001600160a01b031633141580611a6b5750333014155b15610e5357600f54811115610e535760405162461bcd60e51b815260206004820152602260248201527f4d617820746f6b656e20706572207472616e73616374696f6e20657863656564604482015261195960f21b6064820152608401610959565b6005546001600160a01b031633141580611af057506001600160a01b0382163014155b15611b7057600e5481611b18846001600160a01b031660009081526020819052604090205490565b611b229190611f8e565b1115611b705760405162461bcd60e51b815260206004820152601d60248201527f4d617820746f6b656e207065722077616c6c65742065786365656465640000006044820152606401610959565b5050565b6001600160a01b038216611bd45760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610959565b6001600160a01b03821660009081526020819052604090205481811015611c485760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610959565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610f6e565b600060208083528351808285015260005b81811015611ccb57858101830151858201604001528201611caf565b81811115611cdd576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610e5357600080fd5b60008060408385031215611d1b57600080fd5b8235611d2681611cf3565b946020939093013593505050565b600060208284031215611d4657600080fd5b5035919050565b600080600060608486031215611d6257600080fd5b8335611d6d81611cf3565b92506020840135611d7d81611cf3565b929592945050506040919091013590565b600060208284031215611da057600080fd5b81358015158114611db057600080fd5b9392505050565b600060208284031215611dc957600080fd5b813561ffff81168114611db057600080fd5b600060208284031215611ded57600080fd5b8135611db081611cf3565b60008060408385031215611e0b57600080fd5b8235611e1681611cf3565b91506020830135611e2681611cf3565b809150509250929050565b600181811c90821680611e4557607f821691505b60208210811415610c9857634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600181815b80851115611eb7578160001904821115611e9d57611e9d611e66565b80851615611eaa57918102915b93841c9390800290611e81565b509250929050565b600082611ece5750600161080c565b81611edb5750600061080c565b8160018114611ef15760028114611efb57611f17565b600191505061080c565b60ff841115611f0c57611f0c611e66565b50506001821b61080c565b5060208310610133831016604e8410600b8410161715611f3a575081810a61080c565b611f448383611e7c565b8060001904821115611f5857611f58611e66565b029392505050565b6000611db060ff841683611ebf565b6000816000190483118215151615611f8957611f89611e66565b500290565b60008219821115611fa157611fa1611e66565b500190565b600061ffff808316818516808303821115611fc357611fc3611e66565b01949350505050565b602080825260169082015275050657263656e746167652065786365656473203130360541b604082015260600190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b838110156120615781516001600160a01b03168752958201959082019060010161203c565b509495945050505050565b8281526040602082015260006120856040830184612028565b949350505050565b600060208083850312156120a057600080fd5b825167ffffffffffffffff808211156120b857600080fd5b818501915085601f8301126120cc57600080fd5b8151818111156120de576120de611ffc565b8060051b604051601f19603f8301168101818110858211171561210357612103611ffc565b60405291825284820192508381018501918883111561212157600080fd5b938501935b8285101561213f57845184529385019392850192612126565b98975050505050505050565b600060001982141561215f5761215f611e66565b5060010190565b60008261218357634e487b7160e01b600052601260045260246000fd5b500490565b60008282101561219a5761219a611e66565b500390565b85815284602082015260a0604082015260006121be60a0830186612028565b6001600160a01b0394909416606083015250608001529392505050565b80516001600160701b03811681146121f257600080fd5b919050565b60008060006060848603121561220c57600080fd5b612215846121db565b9250612223602085016121db565b9150604084015163ffffffff8116811461223c57600080fd5b809150509250925092565b60006020828403121561225957600080fd5b8151611db081611cf356fea2646970667358221220d49f1eeb3062309063710c03834473e9a9f219822704d58dc7cf58187048d4e164736f6c63430008090033

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

000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000005f5e10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e0d510a67a1c1a16e78aca969281ddb10f6e579000000000000000000000000f01b4d284e74785815004957054a2944b94b83a8000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000000647414d424c450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000647414d424c450000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): GAMBLE
Arg [1] : _symbol (string): GAMBLE
Arg [2] : _supply (uint256): 100000000
Arg [3] : _ownerPercentageInitalSupply (uint16): 0
Arg [4] : _feeReceiverAdmin (address): 0x0e0D510a67a1C1a16e78aCA969281DDb10f6e579
Arg [5] : _feeReceiverOwner (address): 0xf01B4D284E74785815004957054A2944B94B83a8
Arg [6] : _swapTreshold (uint256): 100000000000000000
Arg [7] : _feeAdminPercentage (uint16): 100

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000000000000000000005f5e100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000e0d510a67a1c1a16e78aca969281ddb10f6e579
Arg [5] : 000000000000000000000000f01b4d284e74785815004957054a2944b94b83a8
Arg [6] : 000000000000000000000000000000000000000000000000016345785d8a0000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [9] : 47414d424c450000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [11] : 47414d424c450000000000000000000000000000000000000000000000000000


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

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