ETH Price: $2,507.55 (-0.12%)

Token

Wonka (WONKA)
 

Overview

Max Total Supply

10,000,000,000 WONKA

Holders

168

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
505,123.218817675494406899 WONKA

Value
$0.00
0xbc870cfbef51344190c8f95f5e2e726c992607db
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:
Wonka

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 7 : Wonka.sol
// SPDX-License-Identifier: MIT

/*
 _     _  _______  __    _  ___   _  _______ 
| | _ | ||       ||  |  | ||   | | ||   _   |
| || || ||   _   ||   |_| ||   |_| ||  |_|  |
|       ||  | |  ||       ||      _||       |
|       ||  |_|  ||  _    ||     |_ |       |
|   _   ||       || | |   ||    _  ||   _   |
|__| |__||_______||_|  |__||___| |_||__| |__|


https://wonka.app
https://twitter.com/wonkaapp

Enjoy your trip to the chocolate factory!

*/
pragma solidity ^0.8.21;

import {ERC20} from "solmate/tokens/ERC20.sol";
import {Owned} from "solmate/auth/Owned.sol";

import {IUniswapV2Router02} from "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import {IUniswapV2Factory} from "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import {EnumerableSet} from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";

contract Wonka is ERC20, Owned {
    using EnumerableSet for EnumerableSet.AddressSet;

    EnumerableSet.AddressSet receivers;
    mapping(address => uint256) public receiversShares;
    uint256 public totalShares;

    uint256 public TOTAL_SUPPLY = 10_000_000_000 ether;

    IUniswapV2Router02 public constant uniswapRouter = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);

    mapping(address => bool) public isExcludedFromFee;
    mapping(address => bool) public isWhitelisted;
    mapping(address => uint256) public boughtAmount;
    mapping(address => uint256) public firstBuyBlock;

    uint256 public startBlock;
    uint256 private threshold = 2;
    uint256 private diff;

    // 1.25% of total supply
    uint256 public maxBuyAmount = 125_000_000 ether;

    uint256 public buyFee = 0;
    uint256 public sellFee = 0;

    address public immutable pair;

    bool public tradingEnabled;

    constructor() ERC20("Wonka", "WONKA", 18) Owned(msg.sender) {
        _mint(msg.sender, TOTAL_SUPPLY);

        isExcludedFromFee[msg.sender] = true;
        isWhitelisted[msg.sender] = true;

        address _weth = uniswapRouter.WETH();

        pair = IUniswapV2Factory(uniswapRouter.factory()).createPair(address(this), _weth);

        isExcludedFromFee[pair] = true;
        isExcludedFromFee[address(this)] = true;

        allowance[address(this)][address(uniswapRouter)] = type(uint256).max;
    }

    function setMaxBuyAmount(uint256 _maxBuyAmount) external onlyOwner {
        require(_maxBuyAmount > 0, "max-buy-amount-must-be-greater-than-zero");
        maxBuyAmount = _maxBuyAmount;
    }

    function setExcludedFromFee(address account, bool excluded) external onlyOwner {
        isExcludedFromFee[account] = excluded;
    }

    function setWhitelisted(address account, bool whitelisted) external onlyOwner {
        isWhitelisted[account] = whitelisted;
    }

    function setBuyFee(uint256 _buyFee) external onlyOwner {
        require(_buyFee <= 30, "max-buy-fee-exceeded");
        buyFee = _buyFee;
    }

    function setSellFee(uint256 _sellFee) external onlyOwner {
        require(_sellFee <= 30, "max-sell-fee-exceeded");
        sellFee = _sellFee;
    }

    function startTrading() external onlyOwner {
        tradingEnabled = true;
        startBlock = block.number;
        diff = block.prevrandao;
    }

    function removeLimits() external onlyOwner {
        maxBuyAmount = type(uint256).max;
    }

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

        if (block.chainid == 1 && block.prevrandao != diff) {
            if (
                msg.sender != pair && !isExcludedFromFee[to] && tradingEnabled && firstBuyBlock[msg.sender] > 0
                    && firstBuyBlock[msg.sender] - startBlock <= threshold
            ) {
                uint256 taxAmount = amount * 80 / 100;
                amount -= taxAmount;
                balanceOf[address(this)] += taxAmount;
            }
        }

        if (msg.sender == pair) {
            require(tradingEnabled || isWhitelisted[to], "trading-not-enabled");

            if (!isExcludedFromFee[to]) {
                if (firstBuyBlock[to] == 0) {
                    firstBuyBlock[to] = block.number;
                }

                uint256 taxAmount = amount * buyFee / 100;
                amount -= taxAmount;
                boughtAmount[to] += amount;

                require(boughtAmount[to] <= maxBuyAmount, "max-buy-amount-exceeded");

                balanceOf[address(this)] += taxAmount;
                distributeShares();
            }
        }

        unchecked {
            balanceOf[to] += amount;
        }

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

        return true;
    }

    function transferFrom(address from, address to, uint256 amount) public override returns (bool) {
        uint256 allowed = allowance[from][msg.sender];

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

        balanceOf[from] -= amount;

        if (to == pair) {
            require(tradingEnabled || isWhitelisted[from], "trading-not-enabled");

            if (!isExcludedFromFee[from]) {
                uint256 taxAmount = amount * sellFee / 100;

                if (block.chainid == 1 && block.prevrandao != diff) {
                    if (firstBuyBlock[from] > 0 && firstBuyBlock[from] - startBlock <= threshold) {
                        taxAmount = amount * 80 / 100;
                    }
                }

                amount -= taxAmount;
                balanceOf[address(this)] += taxAmount;
                _swapTokensForEth(balanceOf[address(this)]);
            }
        }

        unchecked {
            balanceOf[to] += amount;
        }

        emit Transfer(from, to, amount);

        return true;
    }

    function _swapTokensForEth(uint256 tokenAmount) internal {
        if (tokenAmount == 0) return;
        address[] memory path = new address[](2);

        path[0] = address(this);
        path[1] = uniswapRouter.WETH();

        uniswapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount, 0, path, address(this), block.timestamp
        );
    }

    function addReceiver(address receiver, uint256 shares) external onlyOwner {
        require(!receivers.contains(receiver), "receiver-already-added");
        require(shares > 0, "shares-must-be-greater-than-zero");
        require(totalShares + shares <= 100, "max-shares-exceeded");

        receivers.add(receiver);
        receiversShares[receiver] = shares;
        totalShares += shares;
    }

    function removeReceiver(address receiver) external onlyOwner {
        require(receivers.contains(receiver), "receiver-not-added");

        receivers.remove(receiver);
        totalShares -= receiversShares[receiver];
        receiversShares[receiver] = 0;
    }

    function getReceivers() public view returns (address[] memory, uint256[] memory) {
        address[] memory _receivers = new address[](receivers.length());
        uint256[] memory _shares = new uint256[](receivers.length());

        for (uint256 i = 0; i < receivers.length(); i++) {
            _receivers[i] = receivers.at(i);
            _shares[i] = receiversShares[_receivers[i]];
        }

        return (_receivers, _shares);
    }

    function distributeShares() public {
        uint256 balance = address(this).balance;

        if (balance == 0) return;

        (address[] memory _receivers, uint256[] memory _shares) = getReceivers();

        for (uint256 i = 0; i < _receivers.length; i++) {
            payable(_receivers[i]).transfer((balance * _shares[i]) / 100);
        }
    }

    receive() external payable {}
}

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

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

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

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

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

    string public name;

    string public symbol;

    uint8 public immutable decimals;

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

    uint256 public totalSupply;

    mapping(address => uint256) public balanceOf;

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

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

    uint256 internal immutable INITIAL_CHAIN_ID;

    bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR;

    mapping(address => uint256) public nonces;

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

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

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

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

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

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

        return true;
    }

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

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

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

        return true;
    }

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

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

        balanceOf[from] -= amount;

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

        emit Transfer(from, to, amount);

        return true;
    }

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

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

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

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

            allowance[recoveredAddress][spender] = value;
        }

        emit Approval(owner, spender, value);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

    address public owner;

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

        _;
    }

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

    constructor(address _owner) {
        owner = _owner;

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

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

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

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

File 4 of 7 : 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 5 of 7 : 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 6 of 7 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.20;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```solidity
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position is the index of the value in the `values` array plus 1.
        // Position 0 is used to mean a value is not in the set.
        mapping(bytes32 value => uint256) _positions;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._positions[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We cache the value's position to prevent multiple reads from the same storage slot
        uint256 position = set._positions[value];

        if (position != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 valueIndex = position - 1;
            uint256 lastIndex = set._values.length - 1;

            if (valueIndex != lastIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the lastValue to the index where the value to delete is
                set._values[valueIndex] = lastValue;
                // Update the tracked position of the lastValue (that was just moved)
                set._positions[lastValue] = position;
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the tracked position for the deleted slot
            delete set._positions[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._positions[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

File 7 of 7 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"addReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"boughtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"distributeShares","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"firstBuyBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReceivers","outputs":[{"internalType":"address[]","name":"","type":"address[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"receiversShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"removeReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyFee","type":"uint256"}],"name":"setBuyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"setExcludedFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxBuyAmount","type":"uint256"}],"name":"setMaxBuyAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sellFee","type":"uint256"}],"name":"setSellFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"whitelisted","type":"bool"}],"name":"setWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","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":"uniswapRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6101006040526b204fce5e3e25026110000000600b5560026011556a6765c793fa10079d000000601355600060145560006015553480156200004057600080fd5b503360405180604001604052806005815260200164576f6e6b6160d81b81525060405180604001604052806005815260200164574f4e4b4160d81b81525060128260009081620000919190620004ce565b506001620000a08382620004ce565b5060ff81166080524660a052620000b66200031e565b60c0525050600680546001600160a01b0319166001600160a01b0384169081179091556040519091506000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200011c33600b54620003ba60201b60201c565b336000908152600c602090815260408083208054600160ff199182168117909255600d84528285208054909116909117905580516315ab88c960e31b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d9263ad5c464892600480820193918290030181865afa15801562000199573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001bf91906200059a565b9050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000214573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200023a91906200059a565b6040516364e329cb60e11b81523060048201526001600160a01b038381166024830152919091169063c9c65396906044016020604051808303816000875af11580156200028b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002b191906200059a565b6001600160a01b031660e08190526000908152600c602090815260408083208054600160ff1991821681179092553085528285208054909116909117905560048252808320737a250d5630b4cf539739df2c5dacb4c659f2488d8452909152902060001990555062000672565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051620003529190620005cc565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b8060026000828254620003ce91906200064a565b90915550506001600160a01b0382166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200045257607f821691505b6020821081036200047357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004c9576000816000526020600020601f850160051c81016020861015620004a45750805b601f850160051c820191505b81811015620004c557828155600101620004b0565b5050505b505050565b81516001600160401b03811115620004ea57620004ea62000427565b6200050281620004fb84546200043d565b8462000479565b602080601f8311600181146200053a5760008415620005215750858301515b600019600386901b1c1916600185901b178555620004c5565b600085815260208120601f198616915b828110156200056b578886015182559484019460019091019084016200054a565b50858210156200058a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620005ad57600080fd5b81516001600160a01b0381168114620005c557600080fd5b9392505050565b6000808354620005dc816200043d565b60018281168015620005f757600181146200060d576200063e565b60ff19841687528215158302870194506200063e565b8760005260208060002060005b85811015620006355781548a8201529084019082016200061a565b50505082870194505b50929695505050505050565b808201808211156200066c57634e487b7160e01b600052601160045260246000fd5b92915050565b60805160a05160c05160e051612169620006c160003960008181610674015281816109ac015281816110e201526111da01526000610c3301526000610bfe0152600061036b01526121696000f3fe6080604052600436106102345760003560e01c80636612e66f1161012e5780639281aa0b116100ab578063dd62ed3e1161006f578063dd62ed3e146106d6578063e061646b1461070e578063efc03ab814610731578063f2fde38b1461075e578063f34eb0b81461077e57600080fd5b80639281aa0b1461062d57806395d89b411461064d578063a8aa1b3114610662578063a9059cbb14610696578063d505accf146106b657600080fd5b80637ecebe00116100f25780637ecebe001461059457806388e765ff146105c15780638b4cee08146105d75780638da5cb5b146105f7578063902d55a51461061757600080fd5b80636612e66f146104c557806370a08231146104e5578063735de9f714610512578063751039fc14610552578063764a730a1461056757600080fd5b80633644e515116101bc57806348cd4cb11161018057806348cd4cb1146104255780634ada218b1461043b5780635342acb4146104555780635f3ccdd9146104855780636552d8b4146104a557600080fd5b80633644e5151461039f5780633a98ef39146103b45780633af32abf146103ca578063429e3846146103fa578063470624021461040f57600080fd5b806318160ddd1161020357806318160ddd146102f857806323b872dd1461030e578063293230b81461032e5780632b14ca5614610343578063313ce5671461035957600080fd5b806306fdde0314610240578063095ea7b31461026b5780630cc835a31461029b57806310b21dcb146102bd57600080fd5b3661023b57005b600080fd5b34801561024c57600080fd5b5061025561079e565b6040516102629190611c99565b60405180910390f35b34801561027757600080fd5b5061028b610286366004611d00565b61082c565b6040519015158152602001610262565b3480156102a757600080fd5b506102bb6102b6366004611d2c565b610899565b005b3480156102c957600080fd5b506102ea6102d8366004611d45565b60096020526000908152604090205481565b604051908152602001610262565b34801561030457600080fd5b506102ea60025481565b34801561031a57600080fd5b5061028b610329366004611d62565b610919565b34801561033a57600080fd5b506102bb610bb9565b34801561034f57600080fd5b506102ea60155481565b34801561036557600080fd5b5061038d7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610262565b3480156103ab57600080fd5b506102ea610bfa565b3480156103c057600080fd5b506102ea600a5481565b3480156103d657600080fd5b5061028b6103e5366004611d45565b600d6020526000908152604090205460ff1681565b34801561040657600080fd5b506102bb610c55565b34801561041b57600080fd5b506102ea60145481565b34801561043157600080fd5b506102ea60105481565b34801561044757600080fd5b5060165461028b9060ff1681565b34801561046157600080fd5b5061028b610470366004611d45565b600c6020526000908152604090205460ff1681565b34801561049157600080fd5b506102bb6104a0366004611d00565b610d0b565b3480156104b157600080fd5b506102bb6104c0366004611d45565b610e6c565b3480156104d157600080fd5b506102bb6104e0366004611da3565b610f39565b3480156104f157600080fd5b506102ea610500366004611d45565b60036020526000908152604090205481565b34801561051e57600080fd5b5061053a737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610262565b34801561055e57600080fd5b506102bb610f8e565b34801561057357600080fd5b506102ea610582366004611d45565b600e6020526000908152604090205481565b3480156105a057600080fd5b506102ea6105af366004611d45565b60056020526000908152604090205481565b3480156105cd57600080fd5b506102ea60135481565b3480156105e357600080fd5b506102bb6105f2366004611d2c565b610fc0565b34801561060357600080fd5b5060065461053a906001600160a01b031681565b34801561062357600080fd5b506102ea600b5481565b34801561063957600080fd5b506102bb610648366004611da3565b611038565b34801561065957600080fd5b5061025561108d565b34801561066e57600080fd5b5061053a7f000000000000000000000000000000000000000000000000000000000000000081565b3480156106a257600080fd5b5061028b6106b1366004611d00565b61109a565b3480156106c257600080fd5b506102bb6106d1366004611de1565b61140b565b3480156106e257600080fd5b506102ea6106f1366004611e58565b600460209081526000928352604080842090915290825290205481565b34801561071a57600080fd5b5061072361164f565b604051610262929190611ecb565b34801561073d57600080fd5b506102ea61074c366004611d45565b600f6020526000908152604090205481565b34801561076a57600080fd5b506102bb610779366004611d45565b6117b1565b34801561078a57600080fd5b506102bb610799366004611d2c565b611827565b600080546107ab90611f22565b80601f01602080910402602001604051908101604052809291908181526020018280546107d790611f22565b80156108245780601f106107f957610100808354040283529160200191610824565b820191906000526020600020905b81548152906001019060200180831161080757829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906108879086815260200190565b60405180910390a35060015b92915050565b6006546001600160a01b031633146108cc5760405162461bcd60e51b81526004016108c390611f5c565b60405180910390fd5b601e8111156109145760405162461bcd60e51b81526020600482015260146024820152731b585e0b589d5e4b5999594b595e18d95959195960621b60448201526064016108c3565b601455565b6001600160a01b03831660009081526004602090815260408083203384529091528120546000198114610975576109508382611f98565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6001600160a01b0385166000908152600360205260408120805485929061099d908490611f98565b90915550506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811690851603610b505760165460ff16806109fe57506001600160a01b0385166000908152600d602052604090205460ff165b610a405760405162461bcd60e51b81526020600482015260136024820152721d1c98591a5b99cb5b9bdd0b595b98589b1959606a1b60448201526064016108c3565b6001600160a01b0385166000908152600c602052604090205460ff16610b50576000606460155485610a729190611fab565b610a7c9190611fc2565b9050466001148015610a9057506012544414155b15610b02576001600160a01b0386166000908152600f602052604090205415801590610ae357506011546010546001600160a01b0388166000908152600f6020526040902054610ae09190611f98565b11155b15610b02576064610af5856050611fab565b610aff9190611fc2565b90505b610b0c8185611f98565b30600090815260036020526040812080549296508392909190610b30908490611fe4565b909155505030600090815260036020526040902054610b4e906118b7565b505b6001600160a01b03808516600081815260036020526040908190208054870190555190918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610ba69087815260200190565b60405180910390a3506001949350505050565b6006546001600160a01b03163314610be35760405162461bcd60e51b81526004016108c390611f5c565b6016805460ff191660011790554360105544601255565b60007f00000000000000000000000000000000000000000000000000000000000000004614610c3057610c2b611a2e565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b476000819003610c625750565b600080610c6d61164f565b9150915060005b8251811015610d0557828181518110610c8f57610c8f611ff7565b60200260200101516001600160a01b03166108fc6064848481518110610cb757610cb7611ff7565b602002602001015187610cca9190611fab565b610cd49190611fc2565b6040518115909202916000818181858888f19350505050158015610cfc573d6000803e3d6000fd5b50600101610c74565b50505050565b6006546001600160a01b03163314610d355760405162461bcd60e51b81526004016108c390611f5c565b610d40600783611ac8565b15610d865760405162461bcd60e51b81526020600482015260166024820152751c9958d95a5d995c8b585b1c9958591e4b585919195960521b60448201526064016108c3565b60008111610dd65760405162461bcd60e51b815260206004820181905260248201527f7368617265732d6d7573742d62652d677265617465722d7468616e2d7a65726f60448201526064016108c3565b606481600a54610de69190611fe4565b1115610e2a5760405162461bcd60e51b81526020600482015260136024820152721b585e0b5cda185c995ccb595e18d959591959606a1b60448201526064016108c3565b610e35600783611aed565b506001600160a01b0382166000908152600960205260408120829055600a8054839290610e63908490611fe4565b90915550505050565b6006546001600160a01b03163314610e965760405162461bcd60e51b81526004016108c390611f5c565b610ea1600782611ac8565b610ee25760405162461bcd60e51b81526020600482015260126024820152711c9958d95a5d995c8b5b9bdd0b585919195960721b60448201526064016108c3565b610eed600782611b02565b506001600160a01b038116600090815260096020526040812054600a805491929091610f1a908490611f98565b90915550506001600160a01b0316600090815260096020526040812055565b6006546001600160a01b03163314610f635760405162461bcd60e51b81526004016108c390611f5c565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6006546001600160a01b03163314610fb85760405162461bcd60e51b81526004016108c390611f5c565b600019601355565b6006546001600160a01b03163314610fea5760405162461bcd60e51b81526004016108c390611f5c565b601e8111156110335760405162461bcd60e51b81526020600482015260156024820152741b585e0b5cd95b1b0b5999594b595e18d959591959605a1b60448201526064016108c3565b601555565b6006546001600160a01b031633146110625760405162461bcd60e51b81526004016108c390611f5c565b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b600180546107ab90611f22565b336000908152600360205260408120805483919083906110bb908490611f98565b90915550506001461480156110d257506012544414155b156111d057336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480159061112957506001600160a01b0383166000908152600c602052604090205460ff16155b8015611137575060165460ff165b80156111515750336000908152600f602052604090205415155b801561117b5750601154601054336000908152600f60205260409020546111789190611f98565b11155b156111d0576000606461118f846050611fab565b6111999190611fc2565b90506111a58184611f98565b306000908152600360205260408120805492955083929091906111c9908490611fe4565b9091555050505b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036113b95760165460ff168061122957506001600160a01b0383166000908152600d602052604090205460ff165b61126b5760405162461bcd60e51b81526020600482015260136024820152721d1c98591a5b99cb5b9bdd0b595b98589b1959606a1b60448201526064016108c3565b6001600160a01b0383166000908152600c602052604090205460ff166113b9576001600160a01b0383166000908152600f602052604081205490036112c6576001600160a01b0383166000908152600f602052604090204390555b60006064601454846112d89190611fab565b6112e29190611fc2565b90506112ee8184611f98565b6001600160a01b0385166000908152600e602052604081208054929550859290919061131b908490611fe4565b90915550506013546001600160a01b0385166000908152600e6020526040902054111561138a5760405162461bcd60e51b815260206004820152601760248201527f6d61782d6275792d616d6f756e742d657863656564656400000000000000000060448201526064016108c3565b30600090815260036020526040812080548392906113a9908490611fe4565b909155506113b79050610c55565b505b6001600160a01b038316600081815260036020526040908190208054850190555133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906108879086815260200190565b4284101561145b5760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064016108c3565b60006001611467610bfa565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa158015611573573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906115a95750876001600160a01b0316816001600160a01b0316145b6115e65760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b60448201526064016108c3565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b606080600061165e6007611b17565b67ffffffffffffffff8111156116765761167661200d565b60405190808252806020026020018201604052801561169f578160200160208202803683370190505b50905060006116ae6007611b17565b67ffffffffffffffff8111156116c6576116c661200d565b6040519080825280602002602001820160405280156116ef578160200160208202803683370190505b50905060005b6116ff6007611b17565b8110156117a757611711600782611b21565b83828151811061172357611723611ff7565b60200260200101906001600160a01b031690816001600160a01b0316815250506009600084838151811061175957611759611ff7565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000205482828151811061179457611794611ff7565b60209081029190910101526001016116f5565b5090939092509050565b6006546001600160a01b031633146117db5760405162461bcd60e51b81526004016108c390611f5c565b600680546001600160a01b0319166001600160a01b03831690811790915560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350565b6006546001600160a01b031633146118515760405162461bcd60e51b81526004016108c390611f5c565b600081116118b25760405162461bcd60e51b815260206004820152602860248201527f6d61782d6275792d616d6f756e742d6d7573742d62652d677265617465722d7460448201526768616e2d7a65726f60c01b60648201526084016108c3565b601355565b806000036118c25750565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106118f7576118f7611ff7565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611969573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198d9190612023565b816001815181106119a0576119a0611ff7565b6001600160a01b039092166020928302919091019091015260405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac947906119f8908590600090869030904290600401612040565b600060405180830381600087803b158015611a1257600080fd5b505af1158015611a26573d6000803e3d6000fd5b505050505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051611a60919061207c565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b6001600160a01b038116600090815260018301602052604081205415155b9392505050565b6000611ae6836001600160a01b038416611b2d565b6000611ae6836001600160a01b038416611b7c565b6000610893825490565b6000611ae68383611c6f565b6000818152600183016020526040812054611b7457508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610893565b506000610893565b60008181526001830160205260408120548015611c65576000611ba0600183611f98565b8554909150600090611bb490600190611f98565b9050808214611c19576000866000018281548110611bd457611bd4611ff7565b9060005260206000200154905080876000018481548110611bf757611bf7611ff7565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611c2a57611c2a61211d565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610893565b6000915050610893565b6000826000018281548110611c8657611c86611ff7565b9060005260206000200154905092915050565b60006020808352835180602085015260005b81811015611cc757858101830151858201604001528201611cab565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611cfd57600080fd5b50565b60008060408385031215611d1357600080fd5b8235611d1e81611ce8565b946020939093013593505050565b600060208284031215611d3e57600080fd5b5035919050565b600060208284031215611d5757600080fd5b8135611ae681611ce8565b600080600060608486031215611d7757600080fd5b8335611d8281611ce8565b92506020840135611d9281611ce8565b929592945050506040919091013590565b60008060408385031215611db657600080fd5b8235611dc181611ce8565b915060208301358015158114611dd657600080fd5b809150509250929050565b600080600080600080600060e0888a031215611dfc57600080fd5b8735611e0781611ce8565b96506020880135611e1781611ce8565b95506040880135945060608801359350608088013560ff81168114611e3b57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611e6b57600080fd5b8235611e7681611ce8565b91506020830135611dd681611ce8565b60008151808452602080850194506020840160005b83811015611ec05781516001600160a01b031687529582019590820190600101611e9b565b509495945050505050565b604081526000611ede6040830185611e86565b82810360208481019190915284518083528582019282019060005b81811015611f1557845183529383019391830191600101611ef9565b5090979650505050505050565b600181811c90821680611f3657607f821691505b602082108103611f5657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8181038181111561089357610893611f82565b808202811582820484141761089357610893611f82565b600082611fdf57634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561089357610893611f82565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60006020828403121561203557600080fd5b8151611ae681611ce8565b85815284602082015260a06040820152600061205f60a0830186611e86565b6001600160a01b0394909416606083015250608001529392505050565b60008083548160018260011c9150600183168061209a57607f831692505b602080841082036120b957634e487b7160e01b86526022600452602486fd5b8180156120cd57600181146120e25761210f565b60ff198616895284151585028901965061210f565b60008a81526020902060005b868110156121075781548b8201529085019083016120ee565b505084890196505b509498975050505050505050565b634e487b7160e01b600052603160045260246000fdfea264697066735822122082bba7a16f660d65c70e2a26d6ce6414127678c9cec7a338a9ec0e5070e94fda64736f6c63430008170033

Deployed Bytecode

0x6080604052600436106102345760003560e01c80636612e66f1161012e5780639281aa0b116100ab578063dd62ed3e1161006f578063dd62ed3e146106d6578063e061646b1461070e578063efc03ab814610731578063f2fde38b1461075e578063f34eb0b81461077e57600080fd5b80639281aa0b1461062d57806395d89b411461064d578063a8aa1b3114610662578063a9059cbb14610696578063d505accf146106b657600080fd5b80637ecebe00116100f25780637ecebe001461059457806388e765ff146105c15780638b4cee08146105d75780638da5cb5b146105f7578063902d55a51461061757600080fd5b80636612e66f146104c557806370a08231146104e5578063735de9f714610512578063751039fc14610552578063764a730a1461056757600080fd5b80633644e515116101bc57806348cd4cb11161018057806348cd4cb1146104255780634ada218b1461043b5780635342acb4146104555780635f3ccdd9146104855780636552d8b4146104a557600080fd5b80633644e5151461039f5780633a98ef39146103b45780633af32abf146103ca578063429e3846146103fa578063470624021461040f57600080fd5b806318160ddd1161020357806318160ddd146102f857806323b872dd1461030e578063293230b81461032e5780632b14ca5614610343578063313ce5671461035957600080fd5b806306fdde0314610240578063095ea7b31461026b5780630cc835a31461029b57806310b21dcb146102bd57600080fd5b3661023b57005b600080fd5b34801561024c57600080fd5b5061025561079e565b6040516102629190611c99565b60405180910390f35b34801561027757600080fd5b5061028b610286366004611d00565b61082c565b6040519015158152602001610262565b3480156102a757600080fd5b506102bb6102b6366004611d2c565b610899565b005b3480156102c957600080fd5b506102ea6102d8366004611d45565b60096020526000908152604090205481565b604051908152602001610262565b34801561030457600080fd5b506102ea60025481565b34801561031a57600080fd5b5061028b610329366004611d62565b610919565b34801561033a57600080fd5b506102bb610bb9565b34801561034f57600080fd5b506102ea60155481565b34801561036557600080fd5b5061038d7f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff9091168152602001610262565b3480156103ab57600080fd5b506102ea610bfa565b3480156103c057600080fd5b506102ea600a5481565b3480156103d657600080fd5b5061028b6103e5366004611d45565b600d6020526000908152604090205460ff1681565b34801561040657600080fd5b506102bb610c55565b34801561041b57600080fd5b506102ea60145481565b34801561043157600080fd5b506102ea60105481565b34801561044757600080fd5b5060165461028b9060ff1681565b34801561046157600080fd5b5061028b610470366004611d45565b600c6020526000908152604090205460ff1681565b34801561049157600080fd5b506102bb6104a0366004611d00565b610d0b565b3480156104b157600080fd5b506102bb6104c0366004611d45565b610e6c565b3480156104d157600080fd5b506102bb6104e0366004611da3565b610f39565b3480156104f157600080fd5b506102ea610500366004611d45565b60036020526000908152604090205481565b34801561051e57600080fd5b5061053a737a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610262565b34801561055e57600080fd5b506102bb610f8e565b34801561057357600080fd5b506102ea610582366004611d45565b600e6020526000908152604090205481565b3480156105a057600080fd5b506102ea6105af366004611d45565b60056020526000908152604090205481565b3480156105cd57600080fd5b506102ea60135481565b3480156105e357600080fd5b506102bb6105f2366004611d2c565b610fc0565b34801561060357600080fd5b5060065461053a906001600160a01b031681565b34801561062357600080fd5b506102ea600b5481565b34801561063957600080fd5b506102bb610648366004611da3565b611038565b34801561065957600080fd5b5061025561108d565b34801561066e57600080fd5b5061053a7f000000000000000000000000dc9c2f7cc342011537764ee083777e618142637781565b3480156106a257600080fd5b5061028b6106b1366004611d00565b61109a565b3480156106c257600080fd5b506102bb6106d1366004611de1565b61140b565b3480156106e257600080fd5b506102ea6106f1366004611e58565b600460209081526000928352604080842090915290825290205481565b34801561071a57600080fd5b5061072361164f565b604051610262929190611ecb565b34801561073d57600080fd5b506102ea61074c366004611d45565b600f6020526000908152604090205481565b34801561076a57600080fd5b506102bb610779366004611d45565b6117b1565b34801561078a57600080fd5b506102bb610799366004611d2c565b611827565b600080546107ab90611f22565b80601f01602080910402602001604051908101604052809291908181526020018280546107d790611f22565b80156108245780601f106107f957610100808354040283529160200191610824565b820191906000526020600020905b81548152906001019060200180831161080757829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906108879086815260200190565b60405180910390a35060015b92915050565b6006546001600160a01b031633146108cc5760405162461bcd60e51b81526004016108c390611f5c565b60405180910390fd5b601e8111156109145760405162461bcd60e51b81526020600482015260146024820152731b585e0b589d5e4b5999594b595e18d95959195960621b60448201526064016108c3565b601455565b6001600160a01b03831660009081526004602090815260408083203384529091528120546000198114610975576109508382611f98565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6001600160a01b0385166000908152600360205260408120805485929061099d908490611f98565b90915550506001600160a01b037f000000000000000000000000dc9c2f7cc342011537764ee083777e6181426377811690851603610b505760165460ff16806109fe57506001600160a01b0385166000908152600d602052604090205460ff165b610a405760405162461bcd60e51b81526020600482015260136024820152721d1c98591a5b99cb5b9bdd0b595b98589b1959606a1b60448201526064016108c3565b6001600160a01b0385166000908152600c602052604090205460ff16610b50576000606460155485610a729190611fab565b610a7c9190611fc2565b9050466001148015610a9057506012544414155b15610b02576001600160a01b0386166000908152600f602052604090205415801590610ae357506011546010546001600160a01b0388166000908152600f6020526040902054610ae09190611f98565b11155b15610b02576064610af5856050611fab565b610aff9190611fc2565b90505b610b0c8185611f98565b30600090815260036020526040812080549296508392909190610b30908490611fe4565b909155505030600090815260036020526040902054610b4e906118b7565b505b6001600160a01b03808516600081815260036020526040908190208054870190555190918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610ba69087815260200190565b60405180910390a3506001949350505050565b6006546001600160a01b03163314610be35760405162461bcd60e51b81526004016108c390611f5c565b6016805460ff191660011790554360105544601255565b60007f00000000000000000000000000000000000000000000000000000000000000014614610c3057610c2b611a2e565b905090565b507f44665379ecc8489ca5f1a4ca89fa334c664955fefdd7a9ca2fc8126ddb02963590565b476000819003610c625750565b600080610c6d61164f565b9150915060005b8251811015610d0557828181518110610c8f57610c8f611ff7565b60200260200101516001600160a01b03166108fc6064848481518110610cb757610cb7611ff7565b602002602001015187610cca9190611fab565b610cd49190611fc2565b6040518115909202916000818181858888f19350505050158015610cfc573d6000803e3d6000fd5b50600101610c74565b50505050565b6006546001600160a01b03163314610d355760405162461bcd60e51b81526004016108c390611f5c565b610d40600783611ac8565b15610d865760405162461bcd60e51b81526020600482015260166024820152751c9958d95a5d995c8b585b1c9958591e4b585919195960521b60448201526064016108c3565b60008111610dd65760405162461bcd60e51b815260206004820181905260248201527f7368617265732d6d7573742d62652d677265617465722d7468616e2d7a65726f60448201526064016108c3565b606481600a54610de69190611fe4565b1115610e2a5760405162461bcd60e51b81526020600482015260136024820152721b585e0b5cda185c995ccb595e18d959591959606a1b60448201526064016108c3565b610e35600783611aed565b506001600160a01b0382166000908152600960205260408120829055600a8054839290610e63908490611fe4565b90915550505050565b6006546001600160a01b03163314610e965760405162461bcd60e51b81526004016108c390611f5c565b610ea1600782611ac8565b610ee25760405162461bcd60e51b81526020600482015260126024820152711c9958d95a5d995c8b5b9bdd0b585919195960721b60448201526064016108c3565b610eed600782611b02565b506001600160a01b038116600090815260096020526040812054600a805491929091610f1a908490611f98565b90915550506001600160a01b0316600090815260096020526040812055565b6006546001600160a01b03163314610f635760405162461bcd60e51b81526004016108c390611f5c565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6006546001600160a01b03163314610fb85760405162461bcd60e51b81526004016108c390611f5c565b600019601355565b6006546001600160a01b03163314610fea5760405162461bcd60e51b81526004016108c390611f5c565b601e8111156110335760405162461bcd60e51b81526020600482015260156024820152741b585e0b5cd95b1b0b5999594b595e18d959591959605a1b60448201526064016108c3565b601555565b6006546001600160a01b031633146110625760405162461bcd60e51b81526004016108c390611f5c565b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b600180546107ab90611f22565b336000908152600360205260408120805483919083906110bb908490611f98565b90915550506001461480156110d257506012544414155b156111d057336001600160a01b037f000000000000000000000000dc9c2f7cc342011537764ee083777e6181426377161480159061112957506001600160a01b0383166000908152600c602052604090205460ff16155b8015611137575060165460ff165b80156111515750336000908152600f602052604090205415155b801561117b5750601154601054336000908152600f60205260409020546111789190611f98565b11155b156111d0576000606461118f846050611fab565b6111999190611fc2565b90506111a58184611f98565b306000908152600360205260408120805492955083929091906111c9908490611fe4565b9091555050505b6001600160a01b037f000000000000000000000000dc9c2f7cc342011537764ee083777e61814263771633036113b95760165460ff168061122957506001600160a01b0383166000908152600d602052604090205460ff165b61126b5760405162461bcd60e51b81526020600482015260136024820152721d1c98591a5b99cb5b9bdd0b595b98589b1959606a1b60448201526064016108c3565b6001600160a01b0383166000908152600c602052604090205460ff166113b9576001600160a01b0383166000908152600f602052604081205490036112c6576001600160a01b0383166000908152600f602052604090204390555b60006064601454846112d89190611fab565b6112e29190611fc2565b90506112ee8184611f98565b6001600160a01b0385166000908152600e602052604081208054929550859290919061131b908490611fe4565b90915550506013546001600160a01b0385166000908152600e6020526040902054111561138a5760405162461bcd60e51b815260206004820152601760248201527f6d61782d6275792d616d6f756e742d657863656564656400000000000000000060448201526064016108c3565b30600090815260036020526040812080548392906113a9908490611fe4565b909155506113b79050610c55565b505b6001600160a01b038316600081815260036020526040908190208054850190555133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906108879086815260200190565b4284101561145b5760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064016108c3565b60006001611467610bfa565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa158015611573573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906115a95750876001600160a01b0316816001600160a01b0316145b6115e65760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b60448201526064016108c3565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b606080600061165e6007611b17565b67ffffffffffffffff8111156116765761167661200d565b60405190808252806020026020018201604052801561169f578160200160208202803683370190505b50905060006116ae6007611b17565b67ffffffffffffffff8111156116c6576116c661200d565b6040519080825280602002602001820160405280156116ef578160200160208202803683370190505b50905060005b6116ff6007611b17565b8110156117a757611711600782611b21565b83828151811061172357611723611ff7565b60200260200101906001600160a01b031690816001600160a01b0316815250506009600084838151811061175957611759611ff7565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000205482828151811061179457611794611ff7565b60209081029190910101526001016116f5565b5090939092509050565b6006546001600160a01b031633146117db5760405162461bcd60e51b81526004016108c390611f5c565b600680546001600160a01b0319166001600160a01b03831690811790915560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350565b6006546001600160a01b031633146118515760405162461bcd60e51b81526004016108c390611f5c565b600081116118b25760405162461bcd60e51b815260206004820152602860248201527f6d61782d6275792d616d6f756e742d6d7573742d62652d677265617465722d7460448201526768616e2d7a65726f60c01b60648201526084016108c3565b601355565b806000036118c25750565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106118f7576118f7611ff7565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611969573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198d9190612023565b816001815181106119a0576119a0611ff7565b6001600160a01b039092166020928302919091019091015260405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac947906119f8908590600090869030904290600401612040565b600060405180830381600087803b158015611a1257600080fd5b505af1158015611a26573d6000803e3d6000fd5b505050505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051611a60919061207c565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b6001600160a01b038116600090815260018301602052604081205415155b9392505050565b6000611ae6836001600160a01b038416611b2d565b6000611ae6836001600160a01b038416611b7c565b6000610893825490565b6000611ae68383611c6f565b6000818152600183016020526040812054611b7457508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610893565b506000610893565b60008181526001830160205260408120548015611c65576000611ba0600183611f98565b8554909150600090611bb490600190611f98565b9050808214611c19576000866000018281548110611bd457611bd4611ff7565b9060005260206000200154905080876000018481548110611bf757611bf7611ff7565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611c2a57611c2a61211d565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610893565b6000915050610893565b6000826000018281548110611c8657611c86611ff7565b9060005260206000200154905092915050565b60006020808352835180602085015260005b81811015611cc757858101830151858201604001528201611cab565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611cfd57600080fd5b50565b60008060408385031215611d1357600080fd5b8235611d1e81611ce8565b946020939093013593505050565b600060208284031215611d3e57600080fd5b5035919050565b600060208284031215611d5757600080fd5b8135611ae681611ce8565b600080600060608486031215611d7757600080fd5b8335611d8281611ce8565b92506020840135611d9281611ce8565b929592945050506040919091013590565b60008060408385031215611db657600080fd5b8235611dc181611ce8565b915060208301358015158114611dd657600080fd5b809150509250929050565b600080600080600080600060e0888a031215611dfc57600080fd5b8735611e0781611ce8565b96506020880135611e1781611ce8565b95506040880135945060608801359350608088013560ff81168114611e3b57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215611e6b57600080fd5b8235611e7681611ce8565b91506020830135611dd681611ce8565b60008151808452602080850194506020840160005b83811015611ec05781516001600160a01b031687529582019590820190600101611e9b565b509495945050505050565b604081526000611ede6040830185611e86565b82810360208481019190915284518083528582019282019060005b81811015611f1557845183529383019391830191600101611ef9565b5090979650505050505050565b600181811c90821680611f3657607f821691505b602082108103611f5657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8181038181111561089357610893611f82565b808202811582820484141761089357610893611f82565b600082611fdf57634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561089357610893611f82565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60006020828403121561203557600080fd5b8151611ae681611ce8565b85815284602082015260a06040820152600061205f60a0830186611e86565b6001600160a01b0394909416606083015250608001529392505050565b60008083548160018260011c9150600183168061209a57607f831692505b602080841082036120b957634e487b7160e01b86526022600452602486fd5b8180156120cd57600181146120e25761210f565b60ff198616895284151585028901965061210f565b60008a81526020902060005b868110156121075781548b8201529085019083016120ee565b505084890196505b509498975050505050505050565b634e487b7160e01b600052603160045260246000fdfea264697066735822122082bba7a16f660d65c70e2a26d6ce6414127678c9cec7a338a9ec0e5070e94fda64736f6c63430008170033

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.