ETH Price: $2,481.79 (+1.74%)

Token

CLownTown (CLOWN)
 

Overview

Max Total Supply

1,000,000,000 CLOWN

Holders

84

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
338,763,637.497831090028785921 CLOWN

Value
$0.00
0x958741d45a6fa26930f0b08750a6d2d05f414bd6
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:
ClownToken

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : ClownToken.sol
/**
                                                                       ,----,
                                                                     ,/   .`|
  ,----..    ,--,                                                  ,`   .'  :
 /   /   \ ,--.'|                                                ;    ;     /
|   :     :|  | :     ,---.           .---.      ,---,         .'___,/    ,'  ,---.           .---.      ,---,
.   |  ;. /:  : '    '   ,'\         /. ./|  ,-+-. /  |        |    :     |  '   ,'\         /. ./|  ,-+-. /  |
.   ; /--` |  ' |   /   /   |     .-'-. ' | ,--.'|'   |        ;    |.';  ; /   /   |     .-'-. ' | ,--.'|'   |
;   | ;    '  | |  .   ; ,. :    /___/ \: ||   |  ,"' |        `----'  |  |.   ; ,. :    /___/ \: ||   |  ,"' |
|   : |    |  | :  '   | |: : .-'.. '   ' .|   | /  | |            '   :  ;'   | |: : .-'.. '   ' .|   | /  | |
.   | '___ '  : |__'   | .; :/___/ \:     '|   | |  | |            |   |  ''   | .; :/___/ \:     '|   | |  | |
'   ; : .'||  | '.'|   :    |.   \  ' .\   |   | |  |/             '   :  ||   :    |.   \  ' .\   |   | |  |/
'   | '/  :;  :    ;\   \  /  \   \   ' \ ||   | |--'              ;   |.'  \   \  /  \   \   ' \ ||   | |--'
|   :    / |  ,   /  `----'    \   \  |--" |   |/                  '---'     `----'    \   \  |--" |   |/
 \   \ .'   ---`-'              \   \ |    '---'                                        \   \ |    '---'
  `---`                          '---"                                                   '---"

Its 🤡 clown's 🤡
.
all the
.
.
way
.
.
.
down
.
.
.
.
**/

// SPDX-License-Identifier: CLOWNWARE
pragma solidity 0.8.19;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../uniswap/IUniswapV2Factory.sol";
import "../uniswap/IUniswapV2Router02.sol";
import "../uniswap/IUniswapV2Pair.sol";
import "./IClownTownStaking.sol";

contract ClownToken is Context, IERC20, IERC20Metadata, Ownable {
    string private _name;
    string private _symbol;

    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => bool) public excludeFromFees;

    uint256 private _totalSupply;

    uint16 public feeBpsTotal;
    uint16 public feeBpsToStakers;
    uint16 public maxBpsPerWallet;
    uint16 public clownVersion = 54321;

    address public uniswapPair;
    address public feeWallet;
    IClownTownStaking public stakingContract;

    constructor(
        string memory name_,
        string memory symbol_,
        address feeWallet_,
        uint16 feeBpsTotal_,
        uint16 feeBpsToStakers_,
        uint16 maxBpsPerWallet_) {
        require(feeWallet_!=address(0));

        _name = name_;
        _symbol = symbol_;
        feeWallet = feeWallet_;

        feeBpsTotal = feeBpsTotal_;
        feeBpsToStakers = feeBpsToStakers_;
        maxBpsPerWallet = maxBpsPerWallet_;

        excludeFromFees[msg.sender] = true;
        excludeFromFees[feeWallet_] = true;

        // First and last mint
        _mint(msg.sender, 1000 * 1000 * 1000 * (10**18));
    }

// my boss will pay me
// for every line of code
// i make many lines

    function initUniswapPair(IUniswapV2Router02 router) public onlyOwner {
        require(address(router)!=address(0));
       IUniswapV2Factory factory = IUniswapV2Factory(router.factory());
       uniswapPair = factory.createPair(address(this), router.WETH());
    }

    function setUniswapPair(address uniswapPair_) public onlyOwner {
      require(uniswapPair_!=address(0));
      uniswapPair = uniswapPair_;
    }

    function setFees(uint16 feeBptsTotal_, uint16 feeBpsToStakers_) public onlyOwner {
      require(feeBptsTotal_ <= 10000);
      require(feeBpsToStakers_ <= feeBptsTotal_);

      feeBpsTotal = feeBptsTotal_;
      feeBpsToStakers = feeBpsToStakers_;
    }

    function setMaxBpsPerWallet(uint16 maxBpsPerWallet_) public onlyOwner {
      require(maxBpsPerWallet_ <= 10000);
      maxBpsPerWallet = maxBpsPerWallet_;
    }

    function setExcludeFromFees(address account, bool value) public onlyOwner {
      excludeFromFees[account] = value;
    }

    function setFeeWallet(address feeWallet_) public onlyOwner {
      require(feeWallet_!=address(0));
      feeWallet = feeWallet_;
      excludeFromFees[feeWallet_] = true;
    }

// clowns have red noses
// but sometimes they are scary
// their noses go honk

    function setStakingContract(IClownTownStaking stakingContract_) public onlyOwner {
      require(address(stakingContract_)!=address(0));
      stakingContract = stakingContract_;
      excludeFromFees[address(stakingContract_)] = true;
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

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

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

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

// all good code should have
// very very good comments
// just like this one here

    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");

        if ((from==uniswapPair || to==uniswapPair) &&
            !excludeFromFees[from] &&
            !excludeFromFees[to]) {
            uint256 feeTotal = amount * feeBpsTotal / 10000;
            uint256 feeToStakers = amount * feeBpsToStakers / 10000;
            require(feeToStakers <= feeTotal); // Sanity check
            uint256 feeRemaining = feeTotal - feeToStakers;

            uint256 receiveAmount = amount - feeTotal;

            _balances[from] = fromBalance - amount;

            // whales are very big
            // they are very very big
            // that is what she said
            require(
                to==uniswapPair ||
                maxBpsPerWallet == 0 ||
                (_balances[to]+receiveAmount) <= (_totalSupply * maxBpsPerWallet / 10000)
            );

            _balances[to] += receiveAmount;
            emit Transfer(from, to, receiveAmount);

            if (feeRemaining > 0) {
                require(feeWallet!=address(0));

                _balances[feeWallet] += feeRemaining;
                emit Transfer(from, feeWallet, feeRemaining);
            }
            if (feeToStakers > 0) {
                require(address(stakingContract)!=address(0));

                _balances[address(stakingContract)] += feeToStakers;
                stakingContract.postProcessClownReward(feeToStakers);
                emit Transfer(from, address(stakingContract), feeToStakers);
            }
        }
        else {
            _balances[from] = fromBalance - amount;
            _balances[to] += amount;

            emit Transfer(from, to, amount);
        }
    }

    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

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

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

// chatgpt will
// one day take my job away
// and write many lines

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

File 2 of 10 : 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 10 : 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 4 of 10 : 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 5 of 10 : 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 6 of 10 : IUniswapV2Factory.sol
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 7 of 10 : IUniswapV2Pair.sol
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 8 of 10 : IUniswapV2Router01.sol
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 9 of 10 : IUniswapV2Router02.sol
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;
}

File 10 of 10 : IClownTownStaking.sol
/**
                                                                       ,----,
                                                                     ,/   .`|
  ,----..    ,--,                                                  ,`   .'  :
 /   /   \ ,--.'|                                                ;    ;     /
|   :     :|  | :     ,---.           .---.      ,---,         .'___,/    ,'  ,---.           .---.      ,---,
.   |  ;. /:  : '    '   ,'\         /. ./|  ,-+-. /  |        |    :     |  '   ,'\         /. ./|  ,-+-. /  |
.   ; /--` |  ' |   /   /   |     .-'-. ' | ,--.'|'   |        ;    |.';  ; /   /   |     .-'-. ' | ,--.'|'   |
;   | ;    '  | |  .   ; ,. :    /___/ \: ||   |  ,"' |        `----'  |  |.   ; ,. :    /___/ \: ||   |  ,"' |
|   : |    |  | :  '   | |: : .-'.. '   ' .|   | /  | |            '   :  ;'   | |: : .-'.. '   ' .|   | /  | |
.   | '___ '  : |__'   | .; :/___/ \:     '|   | |  | |            |   |  ''   | .; :/___/ \:     '|   | |  | |
'   ; : .'||  | '.'|   :    |.   \  ' .\   |   | |  |/             '   :  ||   :    |.   \  ' .\   |   | |  |/
'   | '/  :;  :    ;\   \  /  \   \   ' \ ||   | |--'              ;   |.'  \   \  /  \   \   ' \ ||   | |--'
|   :    / |  ,   /  `----'    \   \  |--" |   |/                  '---'     `----'    \   \  |--" |   |/
 \   \ .'   ---`-'              \   \ |    '---'                                        \   \ |    '---'
  `---`                          '---"                                                   '---"

Its 🤡 clown's 🤡
.
all the
.
.
way
.
.
.
down
.
.
.
.
**/

// SPDX-License-Identifier: CLOWNWARE
pragma solidity 0.8.19;

interface IClownTownStaking {
  function addEthReward() external payable;
  function postProcessClownReward(uint256 _amount) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"feeWallet_","type":"address"},{"internalType":"uint16","name":"feeBpsTotal_","type":"uint16"},{"internalType":"uint16","name":"feeBpsToStakers_","type":"uint16"},{"internalType":"uint16","name":"maxBpsPerWallet_","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"clownVersion","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":"address","name":"","type":"address"}],"name":"excludeFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeBpsToStakers","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeBpsTotal","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"contract IUniswapV2Router02","name":"router","type":"address"}],"name":"initUniswapPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxBpsPerWallet","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setExcludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"feeWallet_","type":"address"}],"name":"setFeeWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"feeBptsTotal_","type":"uint16"},{"internalType":"uint16","name":"feeBpsToStakers_","type":"uint16"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"maxBpsPerWallet_","type":"uint16"}],"name":"setMaxBpsPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IClownTownStaking","name":"stakingContract_","type":"address"}],"name":"setStakingContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"uniswapPair_","type":"address"}],"name":"setUniswapPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingContract","outputs":[{"internalType":"contract IClownTownStaking","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405261d431600760066101000a81548161ffff021916908361ffff1602179055503480156200003057600080fd5b50604051620038b5380380620038b583398181016040528101906200005691906200068f565b620000766200006a6200024660201b60201c565b6200024e60201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603620000b057600080fd5b8560019081620000c19190620009b4565b508460029081620000d39190620009b4565b5083600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600760006101000a81548161ffff021916908361ffff16021790555081600760026101000a81548161ffff021916908361ffff16021790555080600760046101000a81548161ffff021916908361ffff1602179055506001600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200023a336b033b2e3c9fd0803ce80000006200031260201b60201c565b50505050505062000bb6565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000384576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200037b9062000afc565b60405180910390fd5b806006600082825462000398919062000b4d565b9250508190555080600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200044c919062000b99565b60405180910390a35050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004c18262000476565b810181811067ffffffffffffffff82111715620004e357620004e262000487565b5b80604052505050565b6000620004f862000458565b9050620005068282620004b6565b919050565b600067ffffffffffffffff82111562000529576200052862000487565b5b620005348262000476565b9050602081019050919050565b60005b838110156200056157808201518184015260208101905062000544565b60008484015250505050565b6000620005846200057e846200050b565b620004ec565b905082815260208101848484011115620005a357620005a262000471565b5b620005b084828562000541565b509392505050565b600082601f830112620005d057620005cf6200046c565b5b8151620005e28482602086016200056d565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200061882620005eb565b9050919050565b6200062a816200060b565b81146200063657600080fd5b50565b6000815190506200064a816200061f565b92915050565b600061ffff82169050919050565b620006698162000650565b81146200067557600080fd5b50565b60008151905062000689816200065e565b92915050565b60008060008060008060c08789031215620006af57620006ae62000462565b5b600087015167ffffffffffffffff811115620006d057620006cf62000467565b5b620006de89828a01620005b8565b965050602087015167ffffffffffffffff81111562000702576200070162000467565b5b6200071089828a01620005b8565b95505060406200072389828a0162000639565b94505060606200073689828a0162000678565b93505060806200074989828a0162000678565b92505060a06200075c89828a0162000678565b9150509295509295509295565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620007bc57607f821691505b602082108103620007d257620007d162000774565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200083c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620007fd565b620008488683620007fd565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620008956200088f620008898462000860565b6200086a565b62000860565b9050919050565b6000819050919050565b620008b18362000874565b620008c9620008c0826200089c565b8484546200080a565b825550505050565b600090565b620008e0620008d1565b620008ed818484620008a6565b505050565b5b81811015620009155762000909600082620008d6565b600181019050620008f3565b5050565b601f82111562000964576200092e81620007d8565b6200093984620007ed565b8101602085101562000949578190505b620009616200095885620007ed565b830182620008f2565b50505b505050565b600082821c905092915050565b6000620009896000198460080262000969565b1980831691505092915050565b6000620009a4838362000976565b9150826002028217905092915050565b620009bf8262000769565b67ffffffffffffffff811115620009db57620009da62000487565b5b620009e78254620007a3565b620009f482828562000919565b600060209050601f83116001811462000a2c576000841562000a17578287015190505b62000a23858262000996565b86555062000a93565b601f19841662000a3c86620007d8565b60005b8281101562000a665784890151825560018201915060208501945060208101905062000a3f565b8683101562000a86578489015162000a82601f89168262000976565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000ae4601f8362000a9b565b915062000af18262000aac565b602082019050919050565b6000602082019050818103600083015262000b178162000ad5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000b5a8262000860565b915062000b678362000860565b925082820190508082111562000b825762000b8162000b1e565b5b92915050565b62000b938162000860565b82525050565b600060208201905062000bb0600083018462000b88565b92915050565b612cef8062000bc66000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c806390d49b9d11610104578063c816841b116100a2578063e57f14e111610071578063e57f14e114610545578063ee99205c14610575578063f25f4b5614610593578063f2fde38b146105b1576101da565b8063c816841b146104bf578063d5aed6bf146104dd578063d63cad22146104f9578063dd62ed3e14610515576101da565b80639dd373b9116100de5780639dd373b9146104275780639ef833d414610443578063a457c2d71461045f578063a9059cbb1461048f576101da565b806390d49b9d146103cf57806394f78767146103eb57806395d89b4114610409576101da565b8063395093511161017c57806370a082311161014b57806370a0823114610359578063715018a6146103895780637ad27719146103935780638da5cb5b146103b1576101da565b806339509351146102d35780633ad1d1d21461030357806340ec4e911461031f57806342966c681461033d576101da565b806318160ddd116101b857806318160ddd1461024b57806323b872dd146102695780632e92f74e14610299578063313ce567146102b5576101da565b8063056764b1146101df57806306fdde03146101fd578063095ea7b31461021b575b600080fd5b6101e76105cd565b6040516101f49190611f12565b60405180910390f35b6102056105e1565b6040516102129190611fbd565b60405180910390f35b61023560048036038101906102309190612078565b610673565b60405161024291906120d3565b60405180910390f35b610253610696565b60405161026091906120fd565b60405180910390f35b610283600480360381019061027e9190612118565b6106a0565b60405161029091906120d3565b60405180910390f35b6102b360048036038101906102ae9190612197565b6106cf565b005b6102bd61070a565b6040516102ca91906121e0565b60405180910390f35b6102ed60048036038101906102e89190612078565b610713565b6040516102fa91906120d3565b60405180910390f35b61031d60048036038101906103189190612239565b61074a565b005b61032761092e565b6040516103349190611f12565b60405180910390f35b61035760048036038101906103529190612266565b610942565b005b610373600480360381019061036e9190612293565b610956565b60405161038091906120fd565b60405180910390f35b61039161099f565b005b61039b6109b3565b6040516103a89190611f12565b60405180910390f35b6103b96109c7565b6040516103c691906122cf565b60405180910390f35b6103e960048036038101906103e49190612293565b6109f0565b005b6103f3610acd565b6040516104009190611f12565b60405180910390f35b610411610ae1565b60405161041e9190611fbd565b60405180910390f35b610441600480360381019061043c9190612328565b610b73565b005b61045d60048036038101906104589190612355565b610c50565b005b61047960048036038101906104749190612078565b610cbe565b60405161048691906120d3565b60405180910390f35b6104a960048036038101906104a49190612078565b610d35565b6040516104b691906120d3565b60405180910390f35b6104c7610d58565b6040516104d491906122cf565b60405180910390f35b6104f760048036038101906104f29190612293565b610d7e565b005b610513600480360381019061050e91906123c1565b610e03565b005b61052f600480360381019061052a9190612401565b610e66565b60405161053c91906120fd565b60405180910390f35b61055f600480360381019061055a9190612293565b610eed565b60405161056c91906120d3565b60405180910390f35b61057d610f0d565b60405161058a91906124a0565b60405180910390f35b61059b610f33565b6040516105a891906122cf565b60405180910390f35b6105cb60048036038101906105c69190612293565b610f59565b005b600760049054906101000a900461ffff1681565b6060600180546105f0906124ea565b80601f016020809104026020016040519081016040528092919081815260200182805461061c906124ea565b80156106695780601f1061063e57610100808354040283529160200191610669565b820191906000526020600020905b81548152906001019060200180831161064c57829003601f168201915b5050505050905090565b60008061067e610fdc565b905061068b818585610fe4565b600191505092915050565b6000600654905090565b6000806106ab610fdc565b90506106b88582856111ad565b6106c3858585611239565b60019150509392505050565b6106d7611bfc565b6127108161ffff1611156106ea57600080fd5b80600760046101000a81548161ffff021916908361ffff16021790555050565b60006012905090565b60008061071e610fdc565b905061073f8185856107308589610e66565b61073a919061254a565b610fe4565b600191505092915050565b610752611bfc565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361078b57600080fd5b60008173ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fc9190612593565b90508073ffffffffffffffffffffffffffffffffffffffff1663c9c65396308473ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088a9190612593565b6040518363ffffffff1660e01b81526004016108a79291906125c0565b6020604051808303816000875af11580156108c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ea9190612593565b600760086101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600760009054906101000a900461ffff1681565b61095361094d610fdc565b82611c7a565b50565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6109a7611bfc565b6109b16000611e31565b565b600760069054906101000a900461ffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6109f8611bfc565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a3157600080fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600760029054906101000a900461ffff1681565b606060028054610af0906124ea565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1c906124ea565b8015610b695780601f10610b3e57610100808354040283529160200191610b69565b820191906000526020600020905b815481529060010190602001808311610b4c57829003601f168201915b5050505050905090565b610b7b611bfc565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610bb457600080fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610c58611bfc565b6127108261ffff161115610c6b57600080fd5b8161ffff168161ffff161115610c8057600080fd5b81600760006101000a81548161ffff021916908361ffff16021790555080600760026101000a81548161ffff021916908361ffff1602179055505050565b600080610cc9610fdc565b90506000610cd78286610e66565b905083811015610d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d139061265b565b60405180910390fd5b610d298286868403610fe4565b60019250505092915050565b600080610d40610fdc565b9050610d4d818585611239565b600191505092915050565b600760089054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d86611bfc565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610dbf57600080fd5b80600760086101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610e0b611bfc565b80600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60056020528060005260406000206000915054906101000a900460ff1681565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610f61611bfc565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc7906126ed565b60405180910390fd5b610fd981611e31565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611053576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104a9061277f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b990612811565b60405180910390fd5b80600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516111a091906120fd565b60405180910390a3505050565b60006111b98484610e66565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146112335781811015611225576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121c9061287d565b60405180910390fd5b6112328484848403610fe4565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129f9061290f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611317576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130e906129a1565b60405180910390fd5b6000600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561139e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139590612a33565b60405180910390fd5b600760089054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806114475750600760089054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b801561149d5750600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156114f35750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611aeb576000612710600760009054906101000a900461ffff1661ffff168461151d9190612a53565b6115279190612ac4565b90506000612710600760029054906101000a900461ffff1661ffff168561154e9190612a53565b6115589190612ac4565b90508181111561156757600080fd5b600081836115759190612af5565b9050600083866115859190612af5565b905085856115939190612af5565b600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600760089054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16148061164657506000600760049054906101000a900461ffff1661ffff16145b806116c95750612710600760049054906101000a900461ffff1661ffff166006546116719190612a53565b61167b9190612ac4565b81600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116c6919061254a565b11155b6116d257600080fd5b80600360008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611721919061254a565b925050819055508673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161178591906120fd565b60405180910390a360008211156118f157600073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036117f157600080fd5b8160036000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611862919061254a565b92505081905550600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516118e891906120fd565b60405180910390a35b6000831115611ae257600073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361195557600080fd5b8260036000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119c6919061254a565b92505081905550600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637ebe6916846040518263ffffffff1660e01b8152600401611a2891906120fd565b600060405180830381600087803b158015611a4257600080fd5b505af1158015611a56573d6000803e3d6000fd5b50505050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051611ad991906120fd565b60405180910390a35b50505050611bf6565b8181611af79190612af5565b600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b89919061254a565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611bed91906120fd565b60405180910390a35b50505050565b611c04610fdc565b73ffffffffffffffffffffffffffffffffffffffff16611c226109c7565b73ffffffffffffffffffffffffffffffffffffffff1614611c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6f90612b75565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce090612c07565b60405180910390fd5b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6790612c99565b60405180910390fd5b818103600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600660008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611e2491906120fd565b60405180910390a3505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061ffff82169050919050565b611f0c81611ef5565b82525050565b6000602082019050611f276000830184611f03565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611f67578082015181840152602081019050611f4c565b60008484015250505050565b6000601f19601f8301169050919050565b6000611f8f82611f2d565b611f998185611f38565b9350611fa9818560208601611f49565b611fb281611f73565b840191505092915050565b60006020820190508181036000830152611fd78184611f84565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061200f82611fe4565b9050919050565b61201f81612004565b811461202a57600080fd5b50565b60008135905061203c81612016565b92915050565b6000819050919050565b61205581612042565b811461206057600080fd5b50565b6000813590506120728161204c565b92915050565b6000806040838503121561208f5761208e611fdf565b5b600061209d8582860161202d565b92505060206120ae85828601612063565b9150509250929050565b60008115159050919050565b6120cd816120b8565b82525050565b60006020820190506120e860008301846120c4565b92915050565b6120f781612042565b82525050565b600060208201905061211260008301846120ee565b92915050565b60008060006060848603121561213157612130611fdf565b5b600061213f8682870161202d565b93505060206121508682870161202d565b925050604061216186828701612063565b9150509250925092565b61217481611ef5565b811461217f57600080fd5b50565b6000813590506121918161216b565b92915050565b6000602082840312156121ad576121ac611fdf565b5b60006121bb84828501612182565b91505092915050565b600060ff82169050919050565b6121da816121c4565b82525050565b60006020820190506121f560008301846121d1565b92915050565b600061220682612004565b9050919050565b612216816121fb565b811461222157600080fd5b50565b6000813590506122338161220d565b92915050565b60006020828403121561224f5761224e611fdf565b5b600061225d84828501612224565b91505092915050565b60006020828403121561227c5761227b611fdf565b5b600061228a84828501612063565b91505092915050565b6000602082840312156122a9576122a8611fdf565b5b60006122b78482850161202d565b91505092915050565b6122c981612004565b82525050565b60006020820190506122e460008301846122c0565b92915050565b60006122f582612004565b9050919050565b612305816122ea565b811461231057600080fd5b50565b600081359050612322816122fc565b92915050565b60006020828403121561233e5761233d611fdf565b5b600061234c84828501612313565b91505092915050565b6000806040838503121561236c5761236b611fdf565b5b600061237a85828601612182565b925050602061238b85828601612182565b9150509250929050565b61239e816120b8565b81146123a957600080fd5b50565b6000813590506123bb81612395565b92915050565b600080604083850312156123d8576123d7611fdf565b5b60006123e68582860161202d565b92505060206123f7858286016123ac565b9150509250929050565b6000806040838503121561241857612417611fdf565b5b60006124268582860161202d565b92505060206124378582860161202d565b9150509250929050565b6000819050919050565b600061246661246161245c84611fe4565b612441565b611fe4565b9050919050565b60006124788261244b565b9050919050565b600061248a8261246d565b9050919050565b61249a8161247f565b82525050565b60006020820190506124b56000830184612491565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061250257607f821691505b602082108103612515576125146124bb565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061255582612042565b915061256083612042565b92508282019050808211156125785761257761251b565b5b92915050565b60008151905061258d81612016565b92915050565b6000602082840312156125a9576125a8611fdf565b5b60006125b78482850161257e565b91505092915050565b60006040820190506125d560008301856122c0565b6125e260208301846122c0565b9392505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612645602583611f38565b9150612650826125e9565b604082019050919050565b6000602082019050818103600083015261267481612638565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006126d7602683611f38565b91506126e28261267b565b604082019050919050565b60006020820190508181036000830152612706816126ca565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612769602483611f38565b91506127748261270d565b604082019050919050565b600060208201905081810360008301526127988161275c565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006127fb602283611f38565b91506128068261279f565b604082019050919050565b6000602082019050818103600083015261282a816127ee565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612867601d83611f38565b915061287282612831565b602082019050919050565b600060208201905081810360008301526128968161285a565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006128f9602583611f38565b91506129048261289d565b604082019050919050565b60006020820190508181036000830152612928816128ec565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061298b602383611f38565b91506129968261292f565b604082019050919050565b600060208201905081810360008301526129ba8161297e565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000612a1d602683611f38565b9150612a28826129c1565b604082019050919050565b60006020820190508181036000830152612a4c81612a10565b9050919050565b6000612a5e82612042565b9150612a6983612042565b9250828202612a7781612042565b91508282048414831517612a8e57612a8d61251b565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612acf82612042565b9150612ada83612042565b925082612aea57612ae9612a95565b5b828204905092915050565b6000612b0082612042565b9150612b0b83612042565b9250828203905081811115612b2357612b2261251b565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612b5f602083611f38565b9150612b6a82612b29565b602082019050919050565b60006020820190508181036000830152612b8e81612b52565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612bf1602183611f38565b9150612bfc82612b95565b604082019050919050565b60006020820190508181036000830152612c2081612be4565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612c83602283611f38565b9150612c8e82612c27565b604082019050919050565b60006020820190508181036000830152612cb281612c76565b905091905056fea2646970667358221220180f4b13dd20d591ed88c0b13c09b41bad16acf5e053bee98a5db67f81321e0964736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000756a1ac88c2313a60ed2b625c3b6227ecbb0a2ff0000000000000000000000000000000000000000000000000000000000000bb800000000000000000000000000000000000000000000000000000000000000fa00000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000009434c6f776e546f776e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005434c4f574e000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101da5760003560e01c806390d49b9d11610104578063c816841b116100a2578063e57f14e111610071578063e57f14e114610545578063ee99205c14610575578063f25f4b5614610593578063f2fde38b146105b1576101da565b8063c816841b146104bf578063d5aed6bf146104dd578063d63cad22146104f9578063dd62ed3e14610515576101da565b80639dd373b9116100de5780639dd373b9146104275780639ef833d414610443578063a457c2d71461045f578063a9059cbb1461048f576101da565b806390d49b9d146103cf57806394f78767146103eb57806395d89b4114610409576101da565b8063395093511161017c57806370a082311161014b57806370a0823114610359578063715018a6146103895780637ad27719146103935780638da5cb5b146103b1576101da565b806339509351146102d35780633ad1d1d21461030357806340ec4e911461031f57806342966c681461033d576101da565b806318160ddd116101b857806318160ddd1461024b57806323b872dd146102695780632e92f74e14610299578063313ce567146102b5576101da565b8063056764b1146101df57806306fdde03146101fd578063095ea7b31461021b575b600080fd5b6101e76105cd565b6040516101f49190611f12565b60405180910390f35b6102056105e1565b6040516102129190611fbd565b60405180910390f35b61023560048036038101906102309190612078565b610673565b60405161024291906120d3565b60405180910390f35b610253610696565b60405161026091906120fd565b60405180910390f35b610283600480360381019061027e9190612118565b6106a0565b60405161029091906120d3565b60405180910390f35b6102b360048036038101906102ae9190612197565b6106cf565b005b6102bd61070a565b6040516102ca91906121e0565b60405180910390f35b6102ed60048036038101906102e89190612078565b610713565b6040516102fa91906120d3565b60405180910390f35b61031d60048036038101906103189190612239565b61074a565b005b61032761092e565b6040516103349190611f12565b60405180910390f35b61035760048036038101906103529190612266565b610942565b005b610373600480360381019061036e9190612293565b610956565b60405161038091906120fd565b60405180910390f35b61039161099f565b005b61039b6109b3565b6040516103a89190611f12565b60405180910390f35b6103b96109c7565b6040516103c691906122cf565b60405180910390f35b6103e960048036038101906103e49190612293565b6109f0565b005b6103f3610acd565b6040516104009190611f12565b60405180910390f35b610411610ae1565b60405161041e9190611fbd565b60405180910390f35b610441600480360381019061043c9190612328565b610b73565b005b61045d60048036038101906104589190612355565b610c50565b005b61047960048036038101906104749190612078565b610cbe565b60405161048691906120d3565b60405180910390f35b6104a960048036038101906104a49190612078565b610d35565b6040516104b691906120d3565b60405180910390f35b6104c7610d58565b6040516104d491906122cf565b60405180910390f35b6104f760048036038101906104f29190612293565b610d7e565b005b610513600480360381019061050e91906123c1565b610e03565b005b61052f600480360381019061052a9190612401565b610e66565b60405161053c91906120fd565b60405180910390f35b61055f600480360381019061055a9190612293565b610eed565b60405161056c91906120d3565b60405180910390f35b61057d610f0d565b60405161058a91906124a0565b60405180910390f35b61059b610f33565b6040516105a891906122cf565b60405180910390f35b6105cb60048036038101906105c69190612293565b610f59565b005b600760049054906101000a900461ffff1681565b6060600180546105f0906124ea565b80601f016020809104026020016040519081016040528092919081815260200182805461061c906124ea565b80156106695780601f1061063e57610100808354040283529160200191610669565b820191906000526020600020905b81548152906001019060200180831161064c57829003601f168201915b5050505050905090565b60008061067e610fdc565b905061068b818585610fe4565b600191505092915050565b6000600654905090565b6000806106ab610fdc565b90506106b88582856111ad565b6106c3858585611239565b60019150509392505050565b6106d7611bfc565b6127108161ffff1611156106ea57600080fd5b80600760046101000a81548161ffff021916908361ffff16021790555050565b60006012905090565b60008061071e610fdc565b905061073f8185856107308589610e66565b61073a919061254a565b610fe4565b600191505092915050565b610752611bfc565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361078b57600080fd5b60008173ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fc9190612593565b90508073ffffffffffffffffffffffffffffffffffffffff1663c9c65396308473ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088a9190612593565b6040518363ffffffff1660e01b81526004016108a79291906125c0565b6020604051808303816000875af11580156108c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ea9190612593565b600760086101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600760009054906101000a900461ffff1681565b61095361094d610fdc565b82611c7a565b50565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6109a7611bfc565b6109b16000611e31565b565b600760069054906101000a900461ffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6109f8611bfc565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a3157600080fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600760029054906101000a900461ffff1681565b606060028054610af0906124ea565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1c906124ea565b8015610b695780601f10610b3e57610100808354040283529160200191610b69565b820191906000526020600020905b815481529060010190602001808311610b4c57829003601f168201915b5050505050905090565b610b7b611bfc565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610bb457600080fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610c58611bfc565b6127108261ffff161115610c6b57600080fd5b8161ffff168161ffff161115610c8057600080fd5b81600760006101000a81548161ffff021916908361ffff16021790555080600760026101000a81548161ffff021916908361ffff1602179055505050565b600080610cc9610fdc565b90506000610cd78286610e66565b905083811015610d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d139061265b565b60405180910390fd5b610d298286868403610fe4565b60019250505092915050565b600080610d40610fdc565b9050610d4d818585611239565b600191505092915050565b600760089054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d86611bfc565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610dbf57600080fd5b80600760086101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610e0b611bfc565b80600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60056020528060005260406000206000915054906101000a900460ff1681565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610f61611bfc565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc7906126ed565b60405180910390fd5b610fd981611e31565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611053576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104a9061277f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b990612811565b60405180910390fd5b80600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516111a091906120fd565b60405180910390a3505050565b60006111b98484610e66565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146112335781811015611225576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121c9061287d565b60405180910390fd5b6112328484848403610fe4565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129f9061290f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611317576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130e906129a1565b60405180910390fd5b6000600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561139e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139590612a33565b60405180910390fd5b600760089054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806114475750600760089054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b801561149d5750600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156114f35750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611aeb576000612710600760009054906101000a900461ffff1661ffff168461151d9190612a53565b6115279190612ac4565b90506000612710600760029054906101000a900461ffff1661ffff168561154e9190612a53565b6115589190612ac4565b90508181111561156757600080fd5b600081836115759190612af5565b9050600083866115859190612af5565b905085856115939190612af5565b600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600760089054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16148061164657506000600760049054906101000a900461ffff1661ffff16145b806116c95750612710600760049054906101000a900461ffff1661ffff166006546116719190612a53565b61167b9190612ac4565b81600360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116c6919061254a565b11155b6116d257600080fd5b80600360008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611721919061254a565b925050819055508673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161178591906120fd565b60405180910390a360008211156118f157600073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036117f157600080fd5b8160036000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611862919061254a565b92505081905550600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516118e891906120fd565b60405180910390a35b6000831115611ae257600073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361195557600080fd5b8260036000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119c6919061254a565b92505081905550600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637ebe6916846040518263ffffffff1660e01b8152600401611a2891906120fd565b600060405180830381600087803b158015611a4257600080fd5b505af1158015611a56573d6000803e3d6000fd5b50505050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051611ad991906120fd565b60405180910390a35b50505050611bf6565b8181611af79190612af5565b600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b89919061254a565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611bed91906120fd565b60405180910390a35b50505050565b611c04610fdc565b73ffffffffffffffffffffffffffffffffffffffff16611c226109c7565b73ffffffffffffffffffffffffffffffffffffffff1614611c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6f90612b75565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce090612c07565b60405180910390fd5b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6790612c99565b60405180910390fd5b818103600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600660008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611e2491906120fd565b60405180910390a3505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061ffff82169050919050565b611f0c81611ef5565b82525050565b6000602082019050611f276000830184611f03565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611f67578082015181840152602081019050611f4c565b60008484015250505050565b6000601f19601f8301169050919050565b6000611f8f82611f2d565b611f998185611f38565b9350611fa9818560208601611f49565b611fb281611f73565b840191505092915050565b60006020820190508181036000830152611fd78184611f84565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061200f82611fe4565b9050919050565b61201f81612004565b811461202a57600080fd5b50565b60008135905061203c81612016565b92915050565b6000819050919050565b61205581612042565b811461206057600080fd5b50565b6000813590506120728161204c565b92915050565b6000806040838503121561208f5761208e611fdf565b5b600061209d8582860161202d565b92505060206120ae85828601612063565b9150509250929050565b60008115159050919050565b6120cd816120b8565b82525050565b60006020820190506120e860008301846120c4565b92915050565b6120f781612042565b82525050565b600060208201905061211260008301846120ee565b92915050565b60008060006060848603121561213157612130611fdf565b5b600061213f8682870161202d565b93505060206121508682870161202d565b925050604061216186828701612063565b9150509250925092565b61217481611ef5565b811461217f57600080fd5b50565b6000813590506121918161216b565b92915050565b6000602082840312156121ad576121ac611fdf565b5b60006121bb84828501612182565b91505092915050565b600060ff82169050919050565b6121da816121c4565b82525050565b60006020820190506121f560008301846121d1565b92915050565b600061220682612004565b9050919050565b612216816121fb565b811461222157600080fd5b50565b6000813590506122338161220d565b92915050565b60006020828403121561224f5761224e611fdf565b5b600061225d84828501612224565b91505092915050565b60006020828403121561227c5761227b611fdf565b5b600061228a84828501612063565b91505092915050565b6000602082840312156122a9576122a8611fdf565b5b60006122b78482850161202d565b91505092915050565b6122c981612004565b82525050565b60006020820190506122e460008301846122c0565b92915050565b60006122f582612004565b9050919050565b612305816122ea565b811461231057600080fd5b50565b600081359050612322816122fc565b92915050565b60006020828403121561233e5761233d611fdf565b5b600061234c84828501612313565b91505092915050565b6000806040838503121561236c5761236b611fdf565b5b600061237a85828601612182565b925050602061238b85828601612182565b9150509250929050565b61239e816120b8565b81146123a957600080fd5b50565b6000813590506123bb81612395565b92915050565b600080604083850312156123d8576123d7611fdf565b5b60006123e68582860161202d565b92505060206123f7858286016123ac565b9150509250929050565b6000806040838503121561241857612417611fdf565b5b60006124268582860161202d565b92505060206124378582860161202d565b9150509250929050565b6000819050919050565b600061246661246161245c84611fe4565b612441565b611fe4565b9050919050565b60006124788261244b565b9050919050565b600061248a8261246d565b9050919050565b61249a8161247f565b82525050565b60006020820190506124b56000830184612491565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061250257607f821691505b602082108103612515576125146124bb565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061255582612042565b915061256083612042565b92508282019050808211156125785761257761251b565b5b92915050565b60008151905061258d81612016565b92915050565b6000602082840312156125a9576125a8611fdf565b5b60006125b78482850161257e565b91505092915050565b60006040820190506125d560008301856122c0565b6125e260208301846122c0565b9392505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612645602583611f38565b9150612650826125e9565b604082019050919050565b6000602082019050818103600083015261267481612638565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006126d7602683611f38565b91506126e28261267b565b604082019050919050565b60006020820190508181036000830152612706816126ca565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612769602483611f38565b91506127748261270d565b604082019050919050565b600060208201905081810360008301526127988161275c565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006127fb602283611f38565b91506128068261279f565b604082019050919050565b6000602082019050818103600083015261282a816127ee565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612867601d83611f38565b915061287282612831565b602082019050919050565b600060208201905081810360008301526128968161285a565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006128f9602583611f38565b91506129048261289d565b604082019050919050565b60006020820190508181036000830152612928816128ec565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061298b602383611f38565b91506129968261292f565b604082019050919050565b600060208201905081810360008301526129ba8161297e565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000612a1d602683611f38565b9150612a28826129c1565b604082019050919050565b60006020820190508181036000830152612a4c81612a10565b9050919050565b6000612a5e82612042565b9150612a6983612042565b9250828202612a7781612042565b91508282048414831517612a8e57612a8d61251b565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612acf82612042565b9150612ada83612042565b925082612aea57612ae9612a95565b5b828204905092915050565b6000612b0082612042565b9150612b0b83612042565b9250828203905081811115612b2357612b2261251b565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612b5f602083611f38565b9150612b6a82612b29565b602082019050919050565b60006020820190508181036000830152612b8e81612b52565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612bf1602183611f38565b9150612bfc82612b95565b604082019050919050565b60006020820190508181036000830152612c2081612be4565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612c83602283611f38565b9150612c8e82612c27565b604082019050919050565b60006020820190508181036000830152612cb281612c76565b905091905056fea2646970667358221220180f4b13dd20d591ed88c0b13c09b41bad16acf5e053bee98a5db67f81321e0964736f6c63430008130033

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

00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000756a1ac88c2313a60ed2b625c3b6227ecbb0a2ff0000000000000000000000000000000000000000000000000000000000000bb800000000000000000000000000000000000000000000000000000000000000fa00000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000009434c6f776e546f776e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005434c4f574e000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): CLownTown
Arg [1] : symbol_ (string): CLOWN
Arg [2] : feeWallet_ (address): 0x756A1aC88C2313a60ed2B625c3B6227ECBB0a2fF
Arg [3] : feeBpsTotal_ (uint16): 3000
Arg [4] : feeBpsToStakers_ (uint16): 250
Arg [5] : maxBpsPerWallet_ (uint16): 100

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 000000000000000000000000756a1ac88c2313a60ed2b625c3b6227ecbb0a2ff
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000bb8
Arg [4] : 00000000000000000000000000000000000000000000000000000000000000fa
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [7] : 434c6f776e546f776e0000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [9] : 434c4f574e000000000000000000000000000000000000000000000000000000


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.