ETH Price: $3,626.10 (-4.41%)
 

Overview

Max Total Supply

210,000,000 FUNGI

Holders

11,620

Total Transfers

-

Market

Price

$0.00 @ 0.000000 ETH

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

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

OVERVIEW

$FUNGI is a unique, fully on-chain art project offering an innovative new ERC-20i format with inscription metadata. Each portion of tokens resembles a seed that generates unique 24x24 dynamic images of Fungi stored on-chain, depending on the wallet's token balance.

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x4A586Ab2...2D4bc8960
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
Fungi

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 200 runs

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

import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "./Erc20.sol";
import "./PoolCreatableErc20i.sol";
import "../Generator.sol";

library ExtraSeedLibrary {
    function extra(address account) internal pure returns (uint256) {
        return uint(keccak256(abi.encode(account)));
    }

    function seed_data(
        address account,
        uint seed
    ) internal pure returns (SeedData memory) {
        return SeedData(seed, extra(account));
    }
}

abstract contract Mushrooms is PoolCreatableErc20i {
    using ExtraSeedLibrary for address;
    mapping(address owner => uint) _counts;
    mapping(address owner => mapping(uint index => SeedData seed_data)) _ownedTokens;
    mapping(address owner => mapping(uint tokenId => uint)) _ownedTokensIndex;
    mapping(address owner => mapping(uint => bool)) _owns;
    mapping(address owner => SeedData seed_data) _spores;
    mapping(uint index => address user) _holderList;
    mapping(address user => uint index) _holderListIndexes;
    uint _mushroomsTotalCount;
    uint _holdersCount;
    uint _sporesTotalCount;

    event OnMushroomTransfer(
        address indexed from,
        address indexed to,
        SeedData seed_data
    );
    event OnSporesGrow(address indexed holder, SeedData seed_data);
    event OnSporesShrink(address indexed holder, SeedData seed_data);

    constructor() PoolCreatableErc20i("Fungi", "FUNGI", msg.sender) {}

    modifier holder_calculate(address acc1, address acc2) {
        bool before1 = _isHolder(acc1);
        bool before2 = _isHolder(acc2);
        _;
        bool after1 = _isHolder(acc1);
        bool after2 = _isHolder(acc2);
        if (!before1 && after1) _addHolder(acc1);
        if (before1 && !after1) _removeHolder(acc1);
        if (!before2 && after2) _addHolder(acc2);
        if (before2 && !after2) _removeHolder(acc2);
    }

    function _isHolder(address account) private view returns (bool) {
        if (
            account == address(this) ||
            account == _pool ||
            account == address(0)
        ) return false;

        return (_spores[account].seed + this.mushroomCount(account)) > 0;
    }

    function trySeedTransfer(
        address from,
        address to,
        uint amount
    ) internal holder_calculate(from, to) {
        if (from == address(this)) return;
        uint seed = amount / (10 ** decimals());

        if (seed > 0 && from != _pool && to != _pool) {
            // transfer growing mushroom
            if (_spores[from].seed == seed) {
                SeedData memory data = _spores[from];
                _removeSeedCount(from, seed);
                _addTokenToOwnerEnumeration(to, data);
                emit OnMushroomTransfer(from, to, data);
                return;
            }

            // transfer collected mushroom
            if (_owns[from][seed] && !_owns[to][seed]) {
                SeedData memory data = _ownedTokens[from][
                    _ownedTokensIndex[from][seed]
                ];
                _removeTokenFromOwnerEnumeration(from, seed);
                _addTokenToOwnerEnumeration(to, data);
                emit OnMushroomTransfer(from, to, data);
                return;
            }
        }

        // transfer spores
        uint lastBalanceFromSeed = _balances[from] / (10 ** decimals());
        uint newBalanceFromSeed = (_balances[from] - amount) /
            (10 ** decimals());
        _removeSeedCount(from, lastBalanceFromSeed - newBalanceFromSeed);
        _addSeedCount(to, seed);
    }

    function _addHolder(address account) private {
        _holderList[_holdersCount] = account;
        _holderListIndexes[account] = _holdersCount;
        ++_holdersCount;
    }

    function _removeHolder(address account) private {
        if (_holdersCount == 0) return;
        --_holdersCount;
        uint removingIndex = _holderListIndexes[account];
        _holderList[removingIndex] = _holderList[_holdersCount];
        delete _holderList[_holdersCount];
        delete _holderListIndexes[account];
    }

    function getHolderByIndex(uint index) public view returns (address) {
        return _holderList[index];
    }

    function getHoldersList(
        uint startIndex,
        uint count
    ) public view returns (address[] memory) {
        address[] memory holders = new address[](count);
        for (uint i = 0; i < count; ++i)
            holders[i] = getHolderByIndex(startIndex + i);
        return holders;
    }

    function _addSeedCount(address account, uint seed) private {
        if (seed == 0) return;
        if (account == _pool) return;
        SeedData memory last = _spores[account];

        _spores[account].seed += seed;
        _spores[account].extra = account.extra();

        if (last.seed == 0 && _spores[account].seed > 0) ++_sporesTotalCount;

        emit OnSporesGrow(account, _spores[account]);
    }

    function _removeSeedCount(address account, uint seed) private {
        if (seed == 0) return;
        if (account == _pool) return;
        SeedData memory lastSpores = _spores[account];
        if (_spores[account].seed >= seed) {
            _spores[account].seed -= seed;
            if (lastSpores.seed > 0 && _spores[account].seed == 0)
                --_sporesTotalCount;
            emit OnSporesShrink(account, _spores[account]);
            return;
        }
        uint seedRemains = seed - _spores[account].seed;
        _spores[account].seed = 0;

        // remove mushrooms
        uint count = _counts[account];
        uint removed;
        for (uint i = 0; i < count && removed < seedRemains; ++i) {
            removed += _removeFirstTokenFromOwner(account);
        }

        if (removed > seedRemains)
            _spores[account].seed += removed - seedRemains;
        if (lastSpores.seed > 0 && _spores[account].seed == 0)
            --_sporesTotalCount;
        emit OnSporesShrink(account, _spores[account]);
    }

    function _addTokenToOwnerEnumeration(
        address to,
        SeedData memory data
    ) private {
        if (to == _pool) return;
        ++_counts[to];
        ++_mushroomsTotalCount;
        uint length = _counts[to] - 1;
        _ownedTokens[to][length] = data;
        _ownedTokensIndex[to][data.seed] = length;
        _owns[to][data.seed] = true;
    }

    function _removeTokenFromOwnerEnumeration(address from, uint seed) private {
        if (from == _pool) return;
        --_counts[from];
        --_mushroomsTotalCount;
        _owns[from][seed] = false;
        uint lastTokenIndex = _counts[from];
        uint tokenIndex = _ownedTokensIndex[from][seed];
        SeedData memory data = _ownedTokens[from][tokenIndex];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            SeedData memory lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[from][lastTokenId.seed] = tokenIndex; // Update the moved token's index
        }

        delete _ownedTokensIndex[from][data.seed];
        delete _ownedTokens[from][lastTokenIndex];
    }

    function _removeFirstTokenFromOwner(address owner) private returns (uint) {
        uint count = _counts[owner];
        if (count == 0) return 0;
        uint seed = _ownedTokens[owner][0].seed;
        _removeTokenFromOwnerEnumeration(owner, seed);
        return seed;
    }

    function isOwnerOf(address owner, uint seed) external view returns (bool) {
        return _owns[owner][seed];
    }

    function sporesDegree(
        address owner
    ) external view returns (SeedData memory data) {
        return _spores[owner];
    }

    function mushroomCount(address owner) external view returns (uint) {
        return _counts[owner];
    }

    function mushroomOfOwnerByIndex(
        address owner,
        uint index
    ) external view returns (SeedData memory data) {
        return _ownedTokens[owner][index];
    }

    function mushroomsTotalCount() external view returns (uint) {
        return _mushroomsTotalCount;
    }

    function holdersCount() external view returns (uint) {
        return _holdersCount;
    }

    function sporesTotalCount() external view returns (uint) {
        return _sporesTotalCount;
    }
}

contract Fungi is Mushrooms, Generator, ReentrancyGuard {
    uint constant _startTotalSupply = 210e6 * (10 ** _decimals);
    uint constant _startMaxBuyCount = (_startTotalSupply * 5) / 10000;
    uint constant _addMaxBuyPercentPerSec = 5; // 100%=_addMaxBuyPrecesion add 0.005%/second
    uint constant _addMaxBuyPrecesion = 100000;

    constructor() {
        _mint(msg.sender, _startTotalSupply);
    }

    modifier maxBuyLimit(uint256 amount) {
        require(amount <= maxBuy(), "max buy limit");
        _;
    }

    function maxBuy() public view returns (uint256) {
        if (!isStarted()) return _startTotalSupply;
        uint256 count = _startMaxBuyCount +
            (_startTotalSupply *
                (block.timestamp - _startTime) *
                _addMaxBuyPercentPerSec) /
            _addMaxBuyPrecesion;
        if (count > _startTotalSupply) count = _startTotalSupply;
        return count;
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        if (isStarted()) {
            trySeedTransfer(from, to, amount);
        } else {
            require(from == _owner || to == _owner, "not started");
        }

        // allow burning
        if (to == address(0)) {
            _burn(from, amount);
            return;
        }

        // system transfers
        if (from == address(this)) {
            super._transfer(from, to, amount);
            return;
        }

        if (_feeLocked) {
            super._transfer(from, to, amount);
            return;
        } else {
            if (from == _pool) {
                buy(to, amount);
                return;
            }
        }

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

    function buy(
        address to,
        uint256 amount
    ) private maxBuyLimit(amount) lockFee {
        super._transfer(_pool, to, amount);
    }

    function burnCount() public view returns (uint256) {
        return _startTotalSupply - totalSupply();
    }
}

File 2 of 9 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 */
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 3 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

File 4 of 9 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 5 of 9 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;

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

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

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = NOT_ENTERED;
    }

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

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

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

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

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

File 6 of 9 : Generator.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import "./lib/Ownable.sol";

uint constant levelsCount = 5;
uint constant bcgroundsCount = 6;
uint constant groundsCount = 2;
uint8 constant pixelsCount = 24;
uint constant seedLevel1 = 21000;
uint constant seedLevel2 = 525000;
uint constant seedLevel3 = 1050000;
uint constant seedLevel4 = 1575000;
uint constant seedLevel5 = 2100000;

struct MushroomData {
    uint lvl;
    string background;
    uint ground;
    string groundColor;
    uint stem;
    string stemColor;
    uint cap;
    string capColor;
    bool hasDots;
    string dotsColor;
}

struct Rect {
    uint8 x;
    uint8 y;
    uint8 width;
    uint8 height;
}

struct FileData {
    uint lvl;
    uint file;
    Rect[] rects;
}

struct ColorsData {
    string[] lvl0;
    string[] lvl1;
    string[] lvl2;
    string[] lvl3;
    string[] lvl4;
}

struct SeedData {
    uint seed;
    uint extra;
}

struct Rand {
    uint seed;
    uint nonce;
    uint extra;
}

library RandLib {
    function next(Rand memory rnd) internal pure returns (uint) {
        return
            uint(
                keccak256(
                    abi.encodePacked(rnd.seed + rnd.nonce++ - 1, rnd.extra)
                )
            );
    }

    function lvl(Rand memory rnd) internal pure returns (uint) {
        if (rnd.seed < seedLevel1) return 0;
        if (rnd.seed < seedLevel2) return 1;
        if (rnd.seed < seedLevel3) return 2;
        if (rnd.seed < seedLevel4) return 3;
        if (rnd.seed < seedLevel5) return 4;
        return 5;
    }

    function random(
        string[] memory data,
        Rand memory rnd
    ) internal pure returns (string memory) {
        return data[randomIndex(data, rnd)];
    }

    function randomIndex(
        string[] memory data,
        Rand memory rnd
    ) internal pure returns (uint) {
        return next(rnd) % data.length;
    }
}

library LayersLib {
    function setLayers(
        mapping(uint => mapping(uint => Rect[])) storage rects,
        FileData[] calldata data
    ) internal {
        for (uint i = 0; i < data.length; ++i) {
            setFile(rects, data[i]);
        }
    }

    function setFile(
        mapping(uint => mapping(uint => Rect[])) storage rects,
        FileData calldata input
    ) internal {
        Rect[] storage storageFile = rects[input.lvl][input.file];
        for (uint i = 0; i < input.rects.length; ++i) {
            storageFile.push(input.rects[i]);
        }
    }

    function getLvl(
        mapping(uint => mapping(uint => Rect[])) storage rects,
        uint lvl
    ) internal view returns (mapping(uint => Rect[]) storage) {
        return rects[lvl];
    }

    function to_lvl_1(uint l) internal pure returns (uint) {
        if (l > 0) --l;
        return l;
    }
}

library Converter {
    function toString(uint value) internal pure returns (string memory) {
        if (value == 0) {
            return "0";
        }
        uint temp = value;
        uint digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }
}

library RectLib {
    using RectLib for Rect;
    using RandLib for Rand;
    using RandLib for string[];
    using Converter for uint8;

    function toSvg(
        Rect memory r,
        string memory color
    ) internal pure returns (string memory) {
        return
            string(
                abi.encodePacked(
                    "<rect x='",
                    r.x.toString(),
                    "' y='",
                    r.y.toString(),
                    "' width='",
                    r.width.toString(),
                    "' height='",
                    r.height.toString(),
                    "' fill='",
                    color,
                    "'/>"
                )
            );
    }

    function toSvg(
        Rect[] storage rects,
        string[] storage colors,
        Rand memory rnd
    ) internal view returns (string memory) {
        string memory res;
        for (uint i = 0; i < rects.length; ++i) {
            res = string(
                abi.encodePacked(res, rects[i].toSvg(colors.random(rnd)))
            );
        }
        return res;
    }

    function toSvg(
        Rect[] storage rects,
        string memory color
    ) internal view returns (string memory) {
        string memory res;
        for (uint i = 0; i < rects.length; ++i) {
            res = string(abi.encodePacked(res, rects[i].toSvg(color)));
        }
        return res;
    }
}

contract Generator is Ownable {
    using LayersLib for mapping(uint => mapping(uint => Rect[]));
    using LayersLib for mapping(uint => string[]);
    using LayersLib for uint;
    using RectLib for Rect;
    using RectLib for Rect[];
    using RandLib for Rand;
    using RandLib for string[];
    using Converter for uint;

    uint8 spores_count = 7;
    uint8[levelsCount] stemLevelCounts = [5, 5, 5, 6, 10];
    uint8[levelsCount] capLevelCounts = [5, 7, 10, 10, 10];
    uint8[levelsCount] dotLevelCounts = [5, 7, 10, 10, 10];

    mapping(uint => Rect[]) spores;
    mapping(uint => mapping(uint => Rect[])) stems;
    mapping(uint => mapping(uint => Rect[])) caps;
    mapping(uint => mapping(uint => Rect[])) dots;
    mapping(uint => Rect[]) grounds;

    string[] private backgroundColors0 = [
        "#000000",
        "#493114",
        "#1d772f",
        "#38166a",
        "#db4161",
        "#7c288a",
        "#4141ff",
        "#ff61b2",
        "#8f3bc2",
        "#a2a2a2",
        "#bfca87",
        "#92dcba",
        "#a2fff3",
        "#fddad5"
    ];

    string[] private backgroundColors1 = [
        "#453879",
        "#184b5b",
        "#447f60",
        "#e35100",
        "#ff7930",
        "#e43b44",
        "#eedc59",
        "#f279ca",
        "#4deae9",
        "#ffdba2",
        "#a2baff",
        "#ca90ff"
    ];

    string[] private backgroundColors2 = [
        "#231b32",
        "#3f1164",
        "#28426a",
        "#9a2079",
        "#d45e4e",
        "#79dfac",
        "#1fabe0",
        "#e8a2bf",
        "#849be4",
        "#e3b2ff"
    ];

    string[] private backgroundColors3 = [
        "#291970",
        "#413c5d",
        "#a44c4c",
        "#f8972a",
        "#a271ff",
        "#4192c3",
        "#5182ff",
        "#ffb2a7"
    ];

    string[] private backgroundColors4 = [
        "#0f0c45",
        "#560e43",
        "#b21030",
        "#ff6e69",
        "#534fed",
        "#7cb8ff"
    ];

    string[] private groundColors0 = [
        "#000000",
        "#1d730e",
        "#525050",
        "#b21030",
        "#ff7930",
        "#925f4f",
        "#db4161",
        "#9aeb00",
        "#d8cc33",
        "#2800ba",
        "#f361ff",
        "#4192c3",
        "#d0c598",
        "#f4c09a",
        "#e3b2ff"
    ];

    string[] private groundColors1 = [
        "#020104",
        "#493114",
        "#74254d",
        "#453879",
        "#306141",
        "#83376e",
        "#e59220",
        "#7377a0",
        "#30b7c0",
        "#86b4bb",
        "#ffa9a9",
        "#f7e2c5"
    ];

    string[] private groundColors2 = [
        "#495900",
        "#395844",
        "#d47642",
        "#719767",
        "#8a8a00",
        "#806a9c",
        "#a2a2a2",
        "#86d48e",
        "#c3e88d",
        "#c3b2ff"
    ];

    string[] private groundColors3 = [
        "#253d2d",
        "#515130",
        "#384f7a",
        "#49a269",
        "#b18b57",
        "#fff392",
        "#b4edcd",
        "#ffffff"
    ];

    string[] private groundColors4 = [
        "#663a13",
        "#137d5a",
        "#974700",
        "#49aa10",
        "#99ba5a",
        "#ade151"
    ];

    string[] private mushroomColors0 = [
        "#000000",
        "#1d730e",
        "#525050",
        "#b21030",
        "#ff7930",
        "#925f4f",
        "#db4161",
        "#9aeb00",
        "#d8cc33",
        "#2800ba",
        "#f361ff",
        "#4192c3",
        "#d0c598",
        "#f4c09a",
        "#e3b2ff"
    ];

    string[] private mushroomColors1 = [
        "#020104",
        "#493114",
        "#74254d",
        "#453879",
        "#306141",
        "#83376e",
        "#e59220",
        "#7377a0",
        "#30b7c0",
        "#86b4bb",
        "#ffa9a9",
        "#f7e2c5"
    ];

    string[] private mushroomColors2 = [
        "#495900",
        "#395844",
        "#d47642",
        "#719767",
        "#8a8a00",
        "#806a9c",
        "#a2a2a2",
        "#86d48e",
        "#c3e88d",
        "#c3b2ff"
    ];

    string[] private mushroomColors3 = [
        "#253d2d",
        "#515130",
        "#384f7a",
        "#49a269",
        "#b18b57",
        "#fff392",
        "#b4edcd",
        "#ffffff"
    ];

    string[] private mushroomColors4 = [
        "#663a13",
        "#137d5a",
        "#974700",
        "#49aa10",
        "#99ba5a",
        "#ade151"
    ];

    constructor() {
        grounds[0].push(Rect(0, 17, 24, 7));
        grounds[1].push(Rect(0, 17, 24, 8));
        grounds[1].push(Rect(0, 17, 24, 1));
        grounds[1].push(Rect(0, 18, 24, 1));
    }

    function backgroundColors(
        uint index
    ) private view returns (string[] storage) {
        if (index == 0) return backgroundColors0;
        if (index == 1) return backgroundColors1;
        if (index == 2) return backgroundColors2;
        if (index == 3) return backgroundColors3;
        if (index == 4) return backgroundColors4;
        return backgroundColors0;
    }

    function groundColors(uint index) private view returns (string[] storage) {
        if (index == 0) return groundColors0;
        if (index == 1) return groundColors1;
        if (index == 2) return groundColors2;
        if (index == 3) return groundColors3;
        if (index == 4) return groundColors4;
        return groundColors0;
    }

    function mushroomColors(
        uint index
    ) private view returns (string[] storage) {
        if (index == 0) return mushroomColors0;
        if (index == 1) return mushroomColors1;
        if (index == 2) return mushroomColors2;
        if (index == 3) return mushroomColors3;
        if (index == 4) return mushroomColors4;
        return mushroomColors0;
    }

    function setSpores(FileData[] calldata data) external onlyOwner {
        for (uint i = 0; i < data.length; ++i) {
            FileData memory file = data[i];
            Rect[] storage storageFile = spores[file.file];
            for (uint j = 0; j < file.rects.length; ++j) {
                storageFile.push(file.rects[j]);
            }
        }
    }

    function setStems(FileData[] calldata data) external onlyOwner {
        stems.setLayers(data);
    }

    function setCaps(FileData[] calldata data) external onlyOwner {
        caps.setLayers(data);
    }

    function setDots(FileData[] calldata data) external onlyOwner {
        dots.setLayers(data);
    }

    function toString(uint value) private pure returns (string memory) {
        if (value == 0) {
            return "0";
        }
        uint temp = value;
        uint digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    function setBcGround(
        MushroomData memory data,
        Rand memory rnd
    ) private view {
        data.background = backgroundColors(rnd.lvl().to_lvl_1()).random(rnd);
    }

    function setGround(MushroomData memory data, Rand memory rnd) private view {
        data.ground = rnd.next() % groundsCount;
        data.groundColor = groundColors(rnd.lvl().to_lvl_1()).random(rnd);
    }

    function setSpores(MushroomData memory data, Rand memory rnd) private view {
        data.stem = rnd.next() % spores_count;
        data.stemColor = mushroomColors(rnd.lvl().to_lvl_1()).random(rnd);
    }

    function setStem(MushroomData memory data, Rand memory rnd) private view {
        data.stem = rnd.next() % stemLevelCounts[rnd.lvl().to_lvl_1()];
        data.stemColor = mushroomColors(rnd.lvl().to_lvl_1()).random(rnd);
    }

    function setCap(MushroomData memory data, Rand memory rnd) private view {
        data.cap = rnd.next() % capLevelCounts[rnd.lvl().to_lvl_1()];
        data.capColor = mushroomColors(rnd.lvl().to_lvl_1()).random(rnd);
        data.hasDots = rnd.next() % 4 == 0;
        if (data.hasDots) {
            data.dotsColor = mushroomColors(rnd.lvl().to_lvl_1()).random(rnd);
        }
    }

    function getMushroom(
        SeedData calldata seed_data
    ) external view returns (MushroomData memory) {
        Rand memory rnd = Rand(seed_data.seed, 0, seed_data.extra);
        MushroomData memory data;
        data.lvl = rnd.lvl();
        setBcGround(data, rnd);
        setGround(data, rnd);
        if (data.lvl == 0) {
            setSpores(data, rnd);
        } else {
            setStem(data, rnd);
            setCap(data, rnd);
        }
        return data;
    }

    function getSvg(
        SeedData calldata seed_data
    ) external view returns (string memory) {
        return toSvg(this.getMushroom(seed_data));
    }

    function getMeta(
        SeedData calldata seed_data
    ) external view returns (string memory) {
        MushroomData memory data = this.getMushroom(seed_data);
        bytes memory lvl = abi.encodePacked('"level":', data.lvl.toString());
        bytes memory background = abi.encodePacked(
            ',"background":"',
            data.background,
            '"'
        );
        bytes memory ground = abi.encodePacked(
            ',"groundColor":"',
            data.groundColor,
            '"'
        );
        bytes memory stem = abi.encodePacked(
            ',"stem":',
            data.stem.toString(),
            ',"stemColor":"',
            data.stemColor,
            '"'
        );
        bytes memory cap = abi.encodePacked(
            ',"cap":',
            data.cap.toString(),
            ',"capColor":"',
            data.capColor,
            '"'
        );
        bytes memory capDots = abi.encodePacked(
            ',"hasDots":',
            data.hasDots ? "true" : "false",
            ',"dotsColor":"',
            data.dotsColor,
            '"'
        );

        return
            string(
                abi.encodePacked(
                    "{",
                    lvl,
                    background,
                    ground,
                    stem,
                    cap,
                    capDots,
                    "}"
                )
            );
    }

    function toSvg(
        MushroomData memory data
    ) private view returns (string memory) {
        bytes memory svgStart = abi.encodePacked(
            "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0",
            " ",
            toString(pixelsCount),
            " ",
            toString(pixelsCount),
            "'>"
        );

        if (data.lvl == 0) {
            return
                string(
                    abi.encodePacked(
                        svgStart,
                        backgroundSvg(data),
                        groundSvg(data),
                        stemSvg(data),
                        "</svg>"
                    )
                );
        } else {
            return
                string(
                    abi.encodePacked(
                        svgStart,
                        backgroundSvg(data),
                        groundSvg(data),
                        stemSvg(data),
                        capSvg(data),
                        "</svg>"
                    )
                );
        }
    }

    function backgroundSvg(
        MushroomData memory data
    ) private pure returns (string memory) {
        Rect memory r = Rect(0, 0, pixelsCount, pixelsCount);
        return r.toSvg(data.background);
    }

    function groundSvg(
        MushroomData memory data
    ) private view returns (string memory) {
        return grounds[data.ground].toSvg(data.groundColor);
    }

    function stemSvg(
        MushroomData memory data
    ) private view returns (string memory) {
        if (data.lvl == 0) return spores[data.stem].toSvg(data.stemColor);
        return stems[data.lvl.to_lvl_1()][data.stem].toSvg(data.stemColor);
    }

    function capSvg(
        MushroomData memory data
    ) private view returns (string memory) {
        string memory cap = caps[data.lvl.to_lvl_1()][data.cap].toSvg(
            data.capColor
        );
        if (data.hasDots) {
            string memory dotsSvg = dots[data.lvl.to_lvl_1()][data.cap].toSvg(
                data.dotsColor
            );
            return string(abi.encodePacked(cap, dotsSvg));
        } else {
            return string(cap);
        }
    }
}

File 7 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

contract Ownable {
    address _owner;

    event RenounceOwnership();

    constructor() {
        _owner = msg.sender;
    }

    modifier onlyOwner() {
        require(_owner == msg.sender, "only owner");
        _;
    }

    function owner() external view virtual returns (address) {
        return _owner;
    }

    function ownerRenounce() public onlyOwner {
        _owner = address(0);
        emit RenounceOwnership();
    }

    function transferOwnership(address newOwner) external onlyOwner {
        _owner = newOwner;
    }
}

File 8 of 9 : Erc20.sol
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import "@openzeppelin/contracts/utils/Context.sol";

contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) internal _balances;

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

    uint256 internal _totalSupply;
    uint8 internal constant _decimals = 9;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

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

        emit Transfer(from, to, amount);
    }

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

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

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

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

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

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

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

File 9 of 9 : PoolCreatableErc20i.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;

import "./Erc20.sol";

abstract contract PoolCreatableErc20i is ERC20 {
    address internal _pool;
    uint256 internal _startTime;
    bool internal _feeLocked;
    address immutable _pairCreator;

    constructor(
        string memory name_,
        string memory symbol_,
        address pairCreator
    ) ERC20(name_, symbol_) {
        _pairCreator = pairCreator;
    }

    modifier lockFee() {
        _feeLocked = true;
        _;
        _feeLocked = false;
    }

    function launch(address poolAddress) external payable {
        require(msg.sender == _pairCreator);
        require(!isStarted());
        _pool = poolAddress;
        _startTime = block.timestamp;
    }

    function isStarted() internal view returns (bool) {
        return _pool != address(0);
    }

    function pool() external view returns (address) {
        return _pool;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"components":[{"internalType":"uint256","name":"seed","type":"uint256"},{"internalType":"uint256","name":"extra","type":"uint256"}],"indexed":false,"internalType":"struct SeedData","name":"seed_data","type":"tuple"}],"name":"OnMushroomTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"holder","type":"address"},{"components":[{"internalType":"uint256","name":"seed","type":"uint256"},{"internalType":"uint256","name":"extra","type":"uint256"}],"indexed":false,"internalType":"struct SeedData","name":"seed_data","type":"tuple"}],"name":"OnSporesGrow","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"holder","type":"address"},{"components":[{"internalType":"uint256","name":"seed","type":"uint256"},{"internalType":"uint256","name":"extra","type":"uint256"}],"indexed":false,"internalType":"struct SeedData","name":"seed_data","type":"tuple"}],"name":"OnSporesShrink","type":"event"},{"anonymous":false,"inputs":[],"name":"RenounceOwnership","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getHolderByIndex","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"startIndex","type":"uint256"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"getHoldersList","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"seed","type":"uint256"},{"internalType":"uint256","name":"extra","type":"uint256"}],"internalType":"struct SeedData","name":"seed_data","type":"tuple"}],"name":"getMeta","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"seed","type":"uint256"},{"internalType":"uint256","name":"extra","type":"uint256"}],"internalType":"struct SeedData","name":"seed_data","type":"tuple"}],"name":"getMushroom","outputs":[{"components":[{"internalType":"uint256","name":"lvl","type":"uint256"},{"internalType":"string","name":"background","type":"string"},{"internalType":"uint256","name":"ground","type":"uint256"},{"internalType":"string","name":"groundColor","type":"string"},{"internalType":"uint256","name":"stem","type":"uint256"},{"internalType":"string","name":"stemColor","type":"string"},{"internalType":"uint256","name":"cap","type":"uint256"},{"internalType":"string","name":"capColor","type":"string"},{"internalType":"bool","name":"hasDots","type":"bool"},{"internalType":"string","name":"dotsColor","type":"string"}],"internalType":"struct MushroomData","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"seed","type":"uint256"},{"internalType":"uint256","name":"extra","type":"uint256"}],"internalType":"struct SeedData","name":"seed_data","type":"tuple"}],"name":"getSvg","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"holdersCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"poolAddress","type":"address"}],"name":"launch","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"maxBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"mushroomCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"mushroomOfOwnerByIndex","outputs":[{"components":[{"internalType":"uint256","name":"seed","type":"uint256"},{"internalType":"uint256","name":"extra","type":"uint256"}],"internalType":"struct SeedData","name":"data","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mushroomsTotalCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerRenounce","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"lvl","type":"uint256"},{"internalType":"uint256","name":"file","type":"uint256"},{"components":[{"internalType":"uint8","name":"x","type":"uint8"},{"internalType":"uint8","name":"y","type":"uint8"},{"internalType":"uint8","name":"width","type":"uint8"},{"internalType":"uint8","name":"height","type":"uint8"}],"internalType":"struct Rect[]","name":"rects","type":"tuple[]"}],"internalType":"struct FileData[]","name":"data","type":"tuple[]"}],"name":"setCaps","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"lvl","type":"uint256"},{"internalType":"uint256","name":"file","type":"uint256"},{"components":[{"internalType":"uint8","name":"x","type":"uint8"},{"internalType":"uint8","name":"y","type":"uint8"},{"internalType":"uint8","name":"width","type":"uint8"},{"internalType":"uint8","name":"height","type":"uint8"}],"internalType":"struct Rect[]","name":"rects","type":"tuple[]"}],"internalType":"struct FileData[]","name":"data","type":"tuple[]"}],"name":"setDots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"lvl","type":"uint256"},{"internalType":"uint256","name":"file","type":"uint256"},{"components":[{"internalType":"uint8","name":"x","type":"uint8"},{"internalType":"uint8","name":"y","type":"uint8"},{"internalType":"uint8","name":"width","type":"uint8"},{"internalType":"uint8","name":"height","type":"uint8"}],"internalType":"struct Rect[]","name":"rects","type":"tuple[]"}],"internalType":"struct FileData[]","name":"data","type":"tuple[]"}],"name":"setSpores","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"lvl","type":"uint256"},{"internalType":"uint256","name":"file","type":"uint256"},{"components":[{"internalType":"uint8","name":"x","type":"uint8"},{"internalType":"uint8","name":"y","type":"uint8"},{"internalType":"uint8","name":"width","type":"uint8"},{"internalType":"uint8","name":"height","type":"uint8"}],"internalType":"struct Rect[]","name":"rects","type":"tuple[]"}],"internalType":"struct FileData[]","name":"data","type":"tuple[]"}],"name":"setStems","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"sporesDegree","outputs":[{"components":[{"internalType":"uint256","name":"seed","type":"uint256"},{"internalType":"uint256","name":"extra","type":"uint256"}],"internalType":"struct SeedData","name":"data","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sporesTotalCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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"}]

6012805460ff60a01b1916600760a01b179055610140604052600560a081815260c082905260e0829052600661010052600a610120526100429160139190611a17565b506040805160a081018252600580825260076020830152600a92820183905260608201839052608082019290925261007d9160149190611a17565b506040805160a081018252600580825260076020830152600a9282018390526060820183905260808201929092526100b89160159190611a17565b50604080516102008101825260076101c08201818152660233030303030360cc1b6101e08401528252825180840184528181526608cd0e4ccc4c4d60ca1b6020828101919091528084019190915283518085018552828152661198b21b9b993360c91b818301528385015283518085018552828152662333383136366160c81b81830152606084015283518085018552828152662364623431363160c81b81830152608084015283518085018552828152662337633238386160c81b8183015260a08401528351808501855282815266119a189a18b33360c91b8183015260c0840152835180850185528281526611b3331b18b11960c91b8183015260e08401528351808501855282815266119c3319b1319960c91b81830152610100840152835180850185528281526611b0993099309960c91b8183015261012084015283518085018552828152662362666361383760c81b8183015261014084015283518085018552828152662339326463626160c81b8183015261016084015283518085018552828152662361326666663360c81b818301526101808401528351808501909452908352662366646461643560c81b908301526101a081019190915261028590601b90600e611aaa565b50604080516101c08101825260076101808201818152662334353338373960c81b6101a08401528252825180840184528181526611989c1a311ab160c91b6020828101919091528084019190915283518085018552828152660233434376636360cc1b818301528385015283518085018552828152660236533353130360cc1b81830152606084015283518085018552828152660236666373933360cc1b818301526080840152835180850185528281526608d94d0cd88d0d60ca1b8183015260a084015283518085018552828152662365656463353960c81b8183015260c084015283518085018552828152662366323739636160c81b8183015260e084015283518085018552828152662334646561653960c81b81830152610100840152835180850185528281526611b3333231309960c91b81830152610120840152835180850185528281526611b0993130b33360c91b8183015261014084015283518085019094529083526611b1b09c98333360c91b9083015261016081019190915261041490601c90600c611afc565b506040805161018081018252600761014082018181526611991998b1199960c91b6101608401528252825180840184528181526608ccd98c4c4d8d60ca1b6020828101919091528084019190915283518085018552828152662332383432366160c81b818301528385015283518085018552828152662339613230373960c81b81830152606084015283518085018552828152662364343565346560c81b81830152608084015283518085018552828152662337396466616360c81b8183015260a084015283518085018552828152660233166616265360cc1b8183015260c0840152835180850185528281526611b29c3099313360c91b8183015260e0840152835180850185528281526608ce0d0e58994d60ca1b8183015261010084015283518085019094529083526611b299b119333360c91b9083015261012081019190915261056590601d90600a611b42565b50604080516101408101825260076101008201818152660233239313937360cc1b6101208401528252825180840184528181526608cd0c4cd8cd5960ca1b6020828101919091528084019190915283518085018552828152662361343463346360c81b818301528385015283518085018552828152662366383937326160c81b818301526060840152835180850185528281526611b0991b98b33360c91b81830152608084015283518085018552828152662334313932633360c81b8183015260a08401528351808501855282815266119a989c19333360c91b8183015260c08401528351808501909452908352662366666232613760c81b9083015260e081019190915261067890601e906008611b88565b506040805161010081018252600760c08201818152662330663063343560c81b60e0840152825282518084018452818152662335363065343360c81b6020828101919091528084019190915283518085018552828152660236232313033360cc1b818301528385015283518085018552828152662366663665363960c81b818301526060840152835180850185528281526608cd4ccd19995960ca1b818301526080840152835180850190945290835266119bb1b11c333360c91b9083015260a081019190915261074d90601f906006611bce565b50604080516102208101825260076101e08201818152660233030303030360cc1b610200840152825282518084018452818152662331643733306560c81b6020828101919091528084019190915283518085018552828152660233532353035360cc1b818301528385015283518085018552828152660236232313033360cc1b81830152606084015283518085018552828152660236666373933360cc1b8183015260808401528351808501855282815266119c991ab31a3360c91b8183015260a084015283518085018552828152662364623431363160c81b8183015260c084015283518085018552828152660233961656230360cc1b8183015260e084015283518085018552828152662364386363333360c81b8183015261010084015283518085018552828152662332383030626160c81b81830152610120840152835180850185528281526611b3199b18b33360c91b8183015261014084015283518085018552828152662334313932633360c81b818301526101608401528351808501855282815266046c860c66a72760cb1b8183015261018084015283518085018552828152662366346330396160c81b818301526101a084015283518085019094529083526611b299b119333360c91b838201526101c08201929092526109379190600f611c14565b50604080516101c081018252600761018082018181526608cc0c8c0c4c0d60ca1b6101a08401528252825180840184528181526608cd0e4ccc4c4d60ca1b60208281019190915280840191909152835180850185528281526608cdcd0c8d4d1960ca1b818301528385015283518085018552828152662334353338373960c81b81830152606084015283518085018552828152662333303631343160c81b81830152608084015283518085018552828152662338333337366560c81b8183015260a084015283518085018552828152660236535393232360cc1b8183015260c084015283518085018552828152660233733373761360cc1b8183015260e084015283518085018552828152660233330623763360cc1b818301526101008401528351808501855282815266119c1b311a313160c91b8183015261012084015283518085018552828152662366666139613960c81b818301526101408401528351808501909452908352662366376532633560c81b90830152610160810191909152610ac690602190600c611afc565b50604080516101808101825260076101408201818152660233439353930360cc1b6101608401528252825180840184528181526608ccce4d4e0d0d60ca1b60208281019190915280840191909152835180850185528281526611b21a1b9b1a1960c91b818301528385015283518085018552828152662337313937363760c81b81830152606084015283518085018552828152660233861386130360cc1b81830152608084015283518085018552828152662338303661396360c81b8183015260a0840152835180850185528281526611b0993099309960c91b8183015260c084015283518085018552828152662338366434386560c81b8183015260e0840152835180850185528281526608d8ccd94e0e1960ca1b8183015261010084015283518085019094529083526611b199b119333360c91b90830152610120810191909152610c1790602290600a611b42565b506040805161014081018252600761010082018181526608cc8d4cd90c9960ca1b610120840152825282518084018452818152660233531353133360cc1b6020828101919091528084019190915283518085018552828152662333383466376160c81b818301528385015283518085018552828152662334396132363960c81b81830152606084015283518085018552828152662362313862353760c81b818301526080840152835180850185528281526611b33333199c9960c91b8183015260a0840152835180850185528281526608d88d195918d960ca1b8183015260c084015283518085019094529083526611b3333333333360c91b9083015260e0810191909152610d2a906023906008611b88565b506040805161010081018252600760c08201818152662336363361313360c81b60e0840152825282518084018452818152662331333764356160c81b6020828101919091528084019190915283518085018552828152660233937343730360cc1b818301528385015283518085018552828152660233439616131360cc1b81830152606084015283518085018552828152662339396261356160c81b8183015260808401528351808501909452908352662361646531353160c81b9083015260a0810191909152610dff906024906006611bce565b50604080516102208101825260076101e08201818152660233030303030360cc1b610200840152825282518084018452818152662331643733306560c81b6020828101919091528084019190915283518085018552828152660233532353035360cc1b818301528385015283518085018552828152660236232313033360cc1b81830152606084015283518085018552828152660236666373933360cc1b8183015260808401528351808501855282815266119c991ab31a3360c91b8183015260a084015283518085018552828152662364623431363160c81b8183015260c084015283518085018552828152660233961656230360cc1b8183015260e084015283518085018552828152662364386363333360c81b8183015261010084015283518085018552828152662332383030626160c81b81830152610120840152835180850185528281526611b3199b18b33360c91b8183015261014084015283518085018552828152662334313932633360c81b818301526101608401528351808501855282815266046c860c66a72760cb1b8183015261018084015283518085018552828152662366346330396160c81b818301526101a084015283518085019094529083526611b299b119333360c91b908301526101c0810191909152610feb90602590600f611c14565b50604080516101c081018252600761018082018181526608cc0c8c0c4c0d60ca1b6101a08401528252825180840184528181526608cd0e4ccc4c4d60ca1b60208281019190915280840191909152835180850185528281526608cdcd0c8d4d1960ca1b818301528385015283518085018552828152662334353338373960c81b81830152606084015283518085018552828152662333303631343160c81b81830152608084015283518085018552828152662338333337366560c81b8183015260a084015283518085018552828152660236535393232360cc1b8183015260c084015283518085018552828152660233733373761360cc1b8183015260e084015283518085018552828152660233330623763360cc1b818301526101008401528351808501855282815266119c1b311a313160c91b8183015261012084015283518085018552828152662366666139613960c81b818301526101408401528351808501909452908352662366376532633560c81b9083015261016081019190915261117a90602690600c611afc565b50604080516101808101825260076101408201818152660233439353930360cc1b6101608401528252825180840184528181526608ccce4d4e0d0d60ca1b60208281019190915280840191909152835180850185528281526611b21a1b9b1a1960c91b818301528385015283518085018552828152662337313937363760c81b81830152606084015283518085018552828152660233861386130360cc1b81830152608084015283518085018552828152662338303661396360c81b8183015260a0840152835180850185528281526611b0993099309960c91b8183015260c084015283518085018552828152662338366434386560c81b8183015260e0840152835180850185528281526608d8ccd94e0e1960ca1b8183015261010084015283518085019094529083526611b199b119333360c91b908301526101208101919091526112cb90602790600a611b42565b506040805161014081018252600761010082018181526608cc8d4cd90c9960ca1b610120840152825282518084018452818152660233531353133360cc1b6020828101919091528084019190915283518085018552828152662333383466376160c81b818301528385015283518085018552828152662334396132363960c81b81830152606084015283518085018552828152662362313862353760c81b818301526080840152835180850185528281526611b33333199c9960c91b8183015260a0840152835180850185528281526608d88d195918d960ca1b8183015260c084015283518085019094529083526611b3333333333360c91b9083015260e08101919091526113de906028906008611b88565b506040805161010081018252600760c08201818152662336363361313360c81b60e0840152825282518084018452818152662331333764356160c81b6020828101919091528084019190915283518085018552828152660233937343730360cc1b818301528385015283518085018552828152660233439616131360cc1b81830152606084015283518085018552828152662339396261356160c81b8183015260808401528351808501909452908352662361646531353160c81b9083015260a08101919091526114b3906029906006611bce565b503480156114c057600080fd5b506040518060400160405280600581526020016446756e676960d81b8152506040518060400160405280600581526020016446554e474960d81b815250338282816003908161150f9190611d6a565b50600461151c8282611d6a565b505050806001600160a01b03166080816001600160a01b03168152505050505033601260006101000a8154816001600160a01b0302191690836001600160a01b03160217905550601a60008081526020019081526020016000206040518060800160405280600060ff168152602001601160ff168152602001601860ff168152602001600760ff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548160ff021916908360ff16021790555060208201518160000160016101000a81548160ff021916908360ff16021790555060408201518160000160026101000a81548160ff021916908360ff16021790555060608201518160000160036101000a81548160ff021916908360ff1602179055505050601a6000600181526020019081526020016000206040518060800160405280600060ff168152602001601160ff168152602001601860ff168152602001600860ff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548160ff021916908360ff16021790555060208201518160000160016101000a81548160ff021916908360ff16021790555060408201518160000160026101000a81548160ff021916908360ff16021790555060608201518160000160036101000a81548160ff021916908360ff1602179055505050601a6000600181526020019081526020016000206040518060800160405280600060ff168152602001601160ff168152602001601860ff168152602001600160ff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548160ff021916908360ff16021790555060208201518160000160016101000a81548160ff021916908360ff16021790555060408201518160000160026101000a81548160ff021916908360ff16021790555060608201518160000160036101000a81548160ff021916908360ff1602179055505050601a6000600181526020019081526020016000206040518060800160405280600060ff168152602001601260ff168152602001601860ff168152602001600160ff168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548160ff021916908360ff16021790555060208201518160000160016101000a81548160ff021916908360ff16021790555060408201518160000160026101000a81548160ff021916908360ff16021790555060608201518160000160036101000a81548160ff021916908360ff16021790555050506001602a8190555061194f336009600a61193c9190611f25565b61194a90630c845880611f3b565b611954565b611f65565b6001600160a01b0382166119ae5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546119c09190611f52565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600183019183908215611a9a5791602002820160005b83821115611a6b57835183826101000a81548160ff021916908360ff1602179055509260200192600101602081600001049283019260010302611a2d565b8015611a985782816101000a81549060ff0219169055600101602081600001049283019260010302611a6b565b505b50611aa6929150611c5a565b5090565b828054828255906000526020600020908101928215611af0579160200282015b82811115611af05782518290611ae09082611d6a565b5091602001919060010190611aca565b50611aa6929150611c6f565b828054828255906000526020600020908101928215611af0579160200282015b82811115611af05782518290611b329082611d6a565b5091602001919060010190611b1c565b828054828255906000526020600020908101928215611af0579160200282015b82811115611af05782518290611b789082611d6a565b5091602001919060010190611b62565b828054828255906000526020600020908101928215611af0579160200282015b82811115611af05782518290611bbe9082611d6a565b5091602001919060010190611ba8565b828054828255906000526020600020908101928215611af0579160200282015b82811115611af05782518290611c049082611d6a565b5091602001919060010190611bee565b828054828255906000526020600020908101928215611af0579160200282015b82811115611af05782518290611c4a9082611d6a565b5091602001919060010190611c34565b5b80821115611aa65760008155600101611c5b565b80821115611aa6576000611c838282611c8c565b50600101611c6f565b508054611c9890611cdf565b6000825580601f10611ca8575050565b601f016020900490600052602060002090810190611cc69190611c5a565b50565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680611cf357607f821691505b602082108103611d1357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115611d65576000816000526020600020601f850160051c81016020861015611d425750805b601f850160051c820191505b81811015611d6157828155600101611d4e565b5050505b505050565b81516001600160401b03811115611d8357611d83611cc9565b611d9781611d918454611cdf565b84611d19565b602080601f831160018114611dcc5760008415611db45750858301515b600019600386901b1c1916600185901b178555611d61565b600085815260208120601f198616915b82811015611dfb57888601518255948401946001909101908401611ddc565b5085821015611e195787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115611e7a578160001904821115611e6057611e60611e29565b80851615611e6d57918102915b93841c9390800290611e44565b509250929050565b600082611e9157506001611f1f565b81611e9e57506000611f1f565b8160018114611eb45760028114611ebe57611eda565b6001915050611f1f565b60ff841115611ecf57611ecf611e29565b50506001821b611f1f565b5060208310610133831016604e8410600b8410161715611efd575081810a611f1f565b611f078383611e3f565b8060001904821115611f1b57611f1b611e29565b0290505b92915050565b6000611f3460ff841683611e82565b9392505050565b8082028115828204841417611f1f57611f1f611e29565b80820180821115611f1f57611f1f611e29565b60805161408b611f8060003960006107e9015261408b6000f3fe6080604052600436106101f95760003560e01c806370db69d61161010d578063a775188a116100a0578063cb8106f41161006f578063cb8106f414610687578063cf8e70ed146106bd578063dd62ed3e146106dd578063eb518bf6146106fd578063f2fde38b1461071257600080fd5b8063a775188a1461059f578063a9059cbb14610601578063c3f4552a14610621578063c5b8f7721461064157600080fd5b80639be6b1a8116100dc5780639be6b1a8146105095780639c21650814610529578063a457c2d71461055f578063a6cbaa1b1461057f57600080fd5b806370db69d6146104a1578063723ffd30146104b65780638da5cb5b146104d657806395d89b41146104f457600080fd5b8063313ce56711610190578063395093511161015f5780633950935114610401578063422b9e2314610421578063524773ce146104415780636b4ed21b1461045657806370a082311461046b57600080fd5b8063313ce56714610376578063333a007214610392578063351e39f6146103a757806335ad0cea146103d457600080fd5b806318160ddd116101cc57806318160ddd1461030d578063208813191461032c578063214013ca1461034157806323b872dd1461035657600080fd5b806306fdde03146101fe578063095ea7b3146102295780630fd9587e1461025957806316f0115b146102db575b600080fd5b34801561020a57600080fd5b50610213610732565b6040516102209190613172565b60405180910390f35b34801561023557600080fd5b5061024961024436600461319c565b6107c4565b6040519015158152602001610220565b34801561026557600080fd5b506102c061027436600461319c565b604080518082018252600080825260209182018190526001600160a01b039490941684526009815281842092845291825291829020825180840190935280548352600101549082015290565b60408051825181526020928301519281019290925201610220565b3480156102e757600080fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610220565b34801561031957600080fd5b506002545b604051908152602001610220565b34801561033857600080fd5b5060115461031e565b61035461034f3660046131c6565b6107de565b005b34801561036257600080fd5b506102496103713660046131e1565b61084f565b34801561038257600080fd5b5060405160098152602001610220565b34801561039e57600080fd5b50610354610873565b3480156103b357600080fd5b506103c76103c236600461321d565b6108e1565b604051610220919061322f565b3480156103e057600080fd5b506103f46103ef36600461330c565b61096b565b604051610220919061332e565b34801561040d57600080fd5b5061024961041c36600461319c565b610a06565b34801561042d57600080fd5b5061021361043c36600461321d565b610a28565b34801561044d57600080fd5b5061031e610aa2565b34801561046257600080fd5b5060105461031e565b34801561047757600080fd5b5061031e6104863660046131c6565b6001600160a01b031660009081526020819052604090205490565b3480156104ad57600080fd5b5061031e610ad6565b3480156104c257600080fd5b506103546104d136600461337b565b610bd9565b3480156104e257600080fd5b506012546001600160a01b03166102f5565b34801561050057600080fd5b50610213610c13565b34801561051557600080fd5b5061035461052436600461337b565b610c22565b34801561053557600080fd5b5061031e6105443660046131c6565b6001600160a01b031660009081526008602052604090205490565b34801561056b57600080fd5b5061024961057a36600461319c565b610d50565b34801561058b57600080fd5b5061035461059a36600461337b565b610dcb565b3480156105ab57600080fd5b506102c06105ba3660046131c6565b6040805180820190915260008082526020820152506001600160a01b03166000908152600c6020908152604091829020825180840190935280548352600101549082015290565b34801561060d57600080fd5b5061024961061c36600461319c565b610e01565b34801561062d57600080fd5b5061021361063c36600461321d565b610e0f565b34801561064d57600080fd5b5061024961065c36600461319c565b6001600160a01b03919091166000908152600b60209081526040808320938352929052205460ff1690565b34801561069357600080fd5b506102f56106a23660046133f0565b6000908152600d60205260409020546001600160a01b031690565b3480156106c957600080fd5b506103546106d836600461337b565b61101e565b3480156106e957600080fd5b5061031e6106f8366004613409565b611054565b34801561070957600080fd5b50600f5461031e565b34801561071e57600080fd5b5061035461072d3660046131c6565b61107f565b6060600380546107419061343c565b80601f016020809104026020016040519081016040528092919081815260200182805461076d9061343c565b80156107ba5780601f1061078f576101008083540402835291602001916107ba565b820191906000526020600020905b81548152906001019060200180831161079d57829003601f168201915b5050505050905090565b6000336107d28185856110cb565b60019150505b92915050565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461081357600080fd5b6005546001600160a01b03161561082957600080fd5b600580546001600160a01b0319166001600160a01b039290921691909117905542600655565b60003361085d8582856111f0565b61086885858561126a565b506001949350505050565b6012546001600160a01b031633146108a65760405162461bcd60e51b815260040161089d90613470565b60405180910390fd5b601280546001600160a01b03191690556040517f6e4ee811a17215345b89e3506064ff2d62f4feedff3566e9d09219cda7e8cadb90600090a1565b6108e96130cd565b600060405180606001604052808460000135815260200160008152602001846020013581525090506109196130cd565b61092282611362565b815261092e81836113d2565b61093881836114d9565b80516000036109505761094b81836115e3565b610964565b61095a81836116f8565b6109648183611823565b9392505050565b606060008267ffffffffffffffff81111561098857610988613494565b6040519080825280602002602001820160405280156109b1578160200160208202803683370190505b50905060005b838110156109fe576109cc6106a282876134c0565b8282815181106109de576109de6134d3565b6001600160a01b03909216602092830291909101909101526001016109b7565b509392505050565b6000336107d2818585610a198383611054565b610a2391906134c0565b6110cb565b604051631a8f1cfb60e11b815281356004820152602082013560248201526060906107d890309063351e39f690604401600060405180830381865afa158015610a75573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a9d91908101906135fe565b611a5f565b6000610aad60025490565b610ab96009600a61381e565b610ac790630c84588061382d565b610ad19190613844565b905090565b6000610aec6005546001600160a01b0316151590565b610b0a57610afc6009600a61381e565b610ad190630c84588061382d565b6000620186a0600560065442610b209190613844565b610b2c6009600a61381e565b610b3a90630c84588061382d565b610b44919061382d565b610b4e919061382d565b610b58919061386d565b612710610b676009600a61381e565b610b7590630c84588061382d565b610b8090600561382d565b610b8a919061386d565b610b9491906134c0565b9050610ba26009600a61381e565b610bb090630c84588061382d565b811115610bd457610bc36009600a61381e565b610bd190630c84588061382d565b90505b919050565b6012546001600160a01b03163314610c035760405162461bcd60e51b815260040161089d90613470565b610c0f60188383611b2a565b5050565b6060600480546107419061343c565b6012546001600160a01b03163314610c4c5760405162461bcd60e51b815260040161089d90613470565b60005b81811015610d4b576000838383818110610c6b57610c6b6134d3565b9050602002810190610c7d9190613881565b610c86906138b3565b60208082015160009081526016909152604081209192505b826040015151811015610d3d578183604001518281518110610cc257610cc26134d3565b60209081029190910181015182546001818101855560009485529383902082519101805493830151604084015160609094015160ff90811663010000000263ff0000001995821662010000029590951663ffff0000199282166101000261ffff19909716919094161794909417939093161717905501610c9e565b505050806001019050610c4f565b505050565b60003381610d5e8286611054565b905083811015610dbe5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161089d565b61086882868684036110cb565b6012546001600160a01b03163314610df55760405162461bcd60e51b815260040161089d90613470565b610c0f60178383611b2a565b6000336107d281858561126a565b604051631a8f1cfb60e11b81528135600482015260208201356024820152606090600090309063351e39f690604401600060405180830381865afa158015610e5b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e8391908101906135fe565b90506000610e948260000151611b6a565b604051602001610ea491906139d5565b604051602081830303815290604052905060008260200151604051602001610ecc9190613a06565b604051602081830303815290604052905060008360600151604051602001610ef49190613a49565b60405160208183030381529060405290506000610f148560800151611b6a565b8560a00151604051602001610f2a929190613a8d565b60405160208183030381529060405290506000610f4a8660c00151611b6a565b8660e00151604051602001610f60929190613af9565b60405160208183030381529060405290506000866101000151610fa0576040518060400160405280600581526020016466616c736560d81b815250610fbe565b604051806040016040528060048152602001637472756560e01b8152505b876101200151604051602001610fd5929190613b63565b604051602081830303815290604052905085858585858560405160200161100196959493929190613bd2565b604051602081830303815290604052975050505050505050919050565b6012546001600160a01b031633146110485760405162461bcd60e51b815260040161089d90613470565b610c0f60198383611b2a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6012546001600160a01b031633146110a95760405162461bcd60e51b815260040161089d90613470565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03831661112d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161089d565b6001600160a01b03821661118e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161089d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60006111fc8484611054565b9050600019811461126457818110156112575760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161089d565b61126484848484036110cb565b50505050565b6005546001600160a01b03161561128b57611286838383611c73565b6112ee565b6012546001600160a01b03848116911614806112b457506012546001600160a01b038381169116145b6112ee5760405162461bcd60e51b815260206004820152600b60248201526a1b9bdd081cdd185c9d195960aa1b604482015260640161089d565b6001600160a01b03821661130657610d4b8382611f76565b306001600160a01b0384160361132157610d4b8383836120a0565b60075460ff161561133757610d4b8383836120a0565b6005546001600160a01b039081169084160361135757610d4b82826121e3565b610d4b8383836120a0565b60006152088260000151101561137a57506000919050565b8151620802c8111561138e57506001919050565b81516210059011156113a257506002919050565b81516218085811156113b657506003919050565b815162200b2011156113ca57506004919050565b506005919050565b6114cd816113ef6113ea6113e585611362565b61225e565b612276565b805480602002602001604051908101604052809291908181526020016000905b828210156114bb57838290600052602060002001805461142e9061343c565b80601f016020809104026020016040519081016040528092919081815260200182805461145a9061343c565b80156114a75780601f1061147c576101008083540402835291602001916114a7565b820191906000526020600020905b81548152906001019060200180831161148a57829003601f168201915b50505050508152602001906001019061140f565b505050506122d090919063ffffffff16565b82602001819052505050565b60026114e4826122fd565b6114ee9190613c73565b60408301526115d78161150b6115066113e583611362565b612361565b805480602002602001604051908101604052809291908181526020016000905b828210156114bb57838290600052602060002001805461154a9061343c565b80601f01602080910402602001604051908101604052809291908181526020018280546115769061343c565b80156115c35780601f10611598576101008083540402835291602001916115c3565b820191906000526020600020905b8154815290600101906020018083116115a657829003601f168201915b50505050508152602001906001019061152b565b82606001819052505050565b601254600160a01b900460ff166115f9826122fd565b6116039190613c73565b60808301526116ec8161162061161b6113e583611362565b6123bb565b805480602002602001604051908101604052809291908181526020016000905b828210156114bb57838290600052602060002001805461165f9061343c565b80601f016020809104026020016040519081016040528092919081815260200182805461168b9061343c565b80156116d85780601f106116ad576101008083540402835291602001916116d8565b820191906000526020600020905b8154815290600101906020018083116116bb57829003601f168201915b505050505081526020019060010190611640565b8260a001819052505050565b60136117066113e583611362565b60058110611716576117166134d3565b602081049091015460ff601f9092166101000a900416611735826122fd565b61173f9190613c73565b60808301526116ec8161175761161b6113e583611362565b805480602002602001604051908101604052809291908181526020016000905b828210156114bb5783829060005260206000200180546117969061343c565b80601f01602080910402602001604051908101604052809291908181526020018280546117c29061343c565b801561180f5780601f106117e45761010080835404028352916020019161180f565b820191906000526020600020905b8154815290600101906020018083116117f257829003601f168201915b505050505081526020019060010190611777565b60146118316113e583611362565b60058110611841576118416134d3565b602081049091015460ff601f9092166101000a900416611860826122fd565b61186a9190613c73565b60c083015261194e8161188261161b6113e583611362565b805480602002602001604051908101604052809291908181526020016000905b828210156114bb5783829060005260206000200180546118c19061343c565b80601f01602080910402602001604051908101604052809291908181526020018280546118ed9061343c565b801561193a5780601f1061190f5761010080835404028352916020019161193a565b820191906000526020600020905b81548152906001019060200180831161191d57829003601f168201915b5050505050815260200190600101906118a2565b60e0830152600461195e826122fd565b6119689190613c73565b15610100830181905215610c0f57611a558161198961161b6113e585611362565b805480602002602001604051908101604052809291908181526020016000905b828210156114bb5783829060005260206000200180546119c89061343c565b80601f01602080910402602001604051908101604052809291908181526020018280546119f49061343c565b8015611a415780601f10611a1657610100808354040283529160200191611a41565b820191906000526020600020905b815481529060010190602001808311611a2457829003601f168201915b5050505050815260200190600101906119a9565b6101208301525050565b60606000611a6d6018612415565b611a776018612415565b604051602001611a88929190613c87565b60405160208183030381529060405290508260000151600003611aeb5780611aaf84612516565b611ab88561254d565b611ac18661256d565b604051602001611ad49493929190613d22565b604051602081830303815290604052915050919050565b80611af584612516565b611afe8561254d565b611b078661256d565b611b10876125e4565b604051602001611ad4959493929190613d8a565b50919050565b60005b8181101561126457611b6284848484818110611b4b57611b4b6134d3565b9050602002810190611b5d9190613881565b6126b9565b600101611b2d565b606081600003611b915750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611bbb5780611ba581613e06565b9150611bb49050600a8361386d565b9150611b95565b60008167ffffffffffffffff811115611bd657611bd6613494565b6040519080825280601f01601f191660200182016040528015611c00576020820181803683370190505b5090505b8415611c6b57611c15600183613844565b9150611c22600a86613c73565b611c2d9060306134c0565b60f81b818381518110611c4257611c426134d3565b60200101906001600160f81b031916908160001a905350611c64600a8661386d565b9450611c04565b949350505050565b82826000611c8083612741565b90506000611c8d83612741565b90506001600160a01b0387163014611eed576000611cad6009600a61381e565b611cb7908761386d565b9050600081118015611cd757506005546001600160a01b03898116911614155b8015611cf157506005546001600160a01b03888116911614155b15611e5b576001600160a01b0388166000908152600c6020526040902054819003611dae576001600160a01b0388166000908152600c60209081526040918290208251808401909352805483526001015490820152611d50898361281b565b611d5a8882612abc565b6040805182518152602080840151908201526001600160a01b03808b1692908c16917f882cd5197c658fe29ff1ed21d4a9c2c50495592e1e9337e75267eff5a3c65302910160405180910390a35050611eed565b6001600160a01b0388166000908152600b6020908152604080832084845290915290205460ff168015611e0557506001600160a01b0387166000908152600b6020908152604080832084845290915290205460ff16155b15611e5b576001600160a01b0388166000908152600960209081526040808320600a835281842085855283528184205484528252918290208251808401909352805483526001015490820152611d508983612ba6565b6000611e696009600a61381e565b6001600160a01b038a16600090815260208190526040902054611e8c919061386d565b90506000611e9c6009600a61381e565b6001600160a01b038b16600090815260208190526040902054611ec0908a90613844565b611eca919061386d565b9050611edf8a611eda8385613844565b61281b565b611ee98984612d2a565b5050505b6000611ef885612741565b90506000611f0585612741565b905083158015611f125750815b15611f2057611f2086612e60565b838015611f2b575081155b15611f3957611f3986612eb0565b82158015611f445750805b15611f5257611f5285612e60565b828015611f5d575080155b15611f6b57611f6b85612eb0565b505050505050505050565b6001600160a01b038216611fd65760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161089d565b6001600160a01b0382166000908152602081905260409020548181101561204a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161089d565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016111e3565b6001600160a01b0383166121045760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161089d565b6001600160a01b0383166000908152602081905260409020548181101561217c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161089d565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b806121ec610ad6565b81111561222b5760405162461bcd60e51b815260206004820152600d60248201526c1b585e08189d5e481b1a5b5a5d609a1b604482015260640161089d565b6007805460ff1916600117905560055461224f906001600160a01b031684846120a0565b50506007805460ff1916905550565b600081156122725761226f82613e1f565b91505b5090565b6000816000036122885750601b919050565b816001036122985750601c919050565b816002036122a85750601d919050565b816003036122b85750601e919050565b816004036122c85750601f919050565b50601b919050565b6060826122dd8484612f31565b815181106122ed576122ed6134d3565b6020026020010151905092915050565b6000600182602001805180919061231390613e06565b9052835161232191906134c0565b61232b9190613844565b60408084015181516020810193909352908201526060015b60408051601f19818403018152919052805160209091012092915050565b60008160000361237357506020919050565b8160010361238357506021919050565b8160020361239357506022919050565b816003036123a357506023919050565b816004036123b357506024919050565b506020919050565b6000816000036123cd57506025919050565b816001036123dd57506026919050565b816002036123ed57506027919050565b816003036123fd57506028919050565b8160040361240d57506029919050565b506025919050565b60608160000361243c5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612466578061245081613e06565b915061245f9050600a8361386d565b9150612440565b60008167ffffffffffffffff81111561248157612481613494565b6040519080825280601f01601f1916602001820160405280156124ab576020820181803683370190505b5090505b8415611c6b576124c0600183613844565b91506124cd600a86613c73565b6124d89060306134c0565b60f81b8183815181106124ed576124ed6134d3565b60200101906001600160f81b031916908160001a90535061250f600a8661386d565b94506124af565b6040805160808101825260008082526020808301919091526018928201839052606082810193909352830151610964908290612f48565b6060818101516040808401516000908152601a602052206107d891612fb6565b805160609060000361259a5760a0820151608083015160009081526016602052604090206107d891612fb6565b6107d88260a00151601760006125b3866000015161225e565b8152602001908152602001600020600085608001518152602001908152602001600020612fb690919063ffffffff16565b606060006126328360e0015160186000612601876000015161225e565b815260200190815260200160002060008660c001518152602001908152602001600020612fb690919063ffffffff16565b9050826101000151156107d857600061268c8461012001516019600061265b886000015161225e565b815260200190815260200160002060008760c001518152602001908152602001600020612fb690919063ffffffff16565b905081816040516020016126a1929190613e36565b60405160208183030381529060405292505050919050565b80356000908152602083815260408083208285013584529091528120905b6126e46040840184613e65565b905081101561126457816126fb6040850185613e65565b8381811061270b5761270b6134d3565b835460018101855560009485526020909420608090910292909201929190910190506127378282613eb6565b50506001016126d7565b60006001600160a01b03821630148061276757506005546001600160a01b038381169116145b8061277957506001600160a01b038216155b1561278657506000919050565b6040516313842ca160e31b81526001600160a01b03831660048201526000903090639c21650890602401602060405180830381865afa1580156127cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127f19190613f50565b6001600160a01b0384166000908152600c602052604090205461281491906134c0565b1192915050565b80600003612827575050565b6005546001600160a01b0390811690831603612841575050565b6001600160a01b0382166000818152600c602081815260408084208151808301909252805480835260019091015482840152949093525290821161294f576001600160a01b0383166000908152600c6020526040812080548492906128a7908490613844565b90915550508051158015906128d257506001600160a01b0383166000908152600c6020526040902054155b156128eb576011600081546128e690613e1f565b909155505b6001600160a01b0383166000818152600c60205260409081902090517faa626bf76e4a6a5b23f2cd43ad5451ce8410ccdca0112dc86a79b5964f177edc916129429181548152600190910154602082015260400190565b60405180910390a2505050565b6001600160a01b0383166000908152600c60205260408120546129729084613844565b6001600160a01b0385166000908152600c602090815260408083208390556008909152812054919250805b82811080156129ab57508382105b156129d5576129b98761305a565b6129c390836134c0565b91506129ce81613e06565b905061299d565b5082811115612a16576129e88382613844565b6001600160a01b0387166000908152600c602052604081208054909190612a109084906134c0565b90915550505b835115801590612a3c57506001600160a01b0386166000908152600c6020526040902054155b15612a5557601160008154612a5090613e1f565b909155505b6001600160a01b0386166000818152600c60205260409081902090517faa626bf76e4a6a5b23f2cd43ad5451ce8410ccdca0112dc86a79b5964f177edc91612aac9181548152600190910154602082015260400190565b60405180910390a2505050505050565b6005546001600160a01b0390811690831603612ad6575050565b6001600160a01b03821660009081526008602052604081208054909190612afc90613e06565b90915550600f8054600090612b1090613e06565b909155506001600160a01b038216600090815260086020526040812054612b3990600190613844565b6001600160a01b03909316600081815260096020908152604080832087845282528083208651815582870151600191820155848452600a835281842087518552835281842097909755928252600b81528282209451825293909352909120805460ff191690921790915550565b6005546001600160a01b0390811690831603612bc0575050565b6001600160a01b03821660009081526008602052604081208054909190612be690613e1f565b90915550600f8054600090612bfa90613e1f565b909155506001600160a01b0382166000818152600b602090815260408083208584528252808320805460ff191690558383526008825280832054600a8352818420868552835281842054948452600983528184208585528352928190208151808301909252805482526001015491810191909152909190818314612ce0576001600160a01b038516600081815260096020908152604080832087845280835281842082518084018452815481526001918201548186019081528987529285528386208151815592519290910191909155938352600a825280832093518352929052208290555b6001600160a01b039094166000818152600a602090815260408083209751835296815286822082905591815260098252858120938152929052509182208281556001019190915550565b80600003612d36575050565b6005546001600160a01b0390811690831603612d50575050565b6001600160a01b0382166000818152600c60208181526040808420815180830190925280548083526001820154838501529585529290915292849290612d979084906134c0565b90915550612daf90506001600160a01b0384166130b1565b6001600160a01b0384166000908152600c60205260409020600101558051158015612df157506001600160a01b0383166000908152600c602052604090205415155b15612e0a57601160008154612e0590613e06565b909155505b6001600160a01b0383166000818152600c60205260409081902090517efb093446d003bea3dc7db8b593d37cc6a34ea254b80cd1aa5d942b828a5d6d916129429181548152600190910154602082015260400190565b601080546000908152600d6020908152604080832080546001600160a01b0319166001600160a01b0387169081179091558454908452600e9092528220819055612ea990613e06565b9091555050565b601054600003612ebd5750565b601060008154612ecc90613e1f565b909155506001600160a01b039081166000818152600e602081815260408084208054601080548752600d8552838720549187528387208054929099166001600160a01b0319928316179098559654855290842080549096169095559282529091529055565b60008251612f3e836122fd565b6109649190613c73565b6060612f5a836000015160ff16611b6a565b612f6a846020015160ff16611b6a565b612f7a856040015160ff16611b6a565b612f8a866060015160ff16611b6a565b85604051602001612f9f959493929190613f69565b604051602081830303815290604052905092915050565b60608060005b84548110156109fe578161302f85878481548110612fdc57612fdc6134d3565b600091825260209182902060408051608081018252929091015460ff8082168452610100820481169484019490945262010000810484169183019190915263010000009004909116606082015290612f48565b604051602001613040929190613e36565b60408051601f198184030181529190529150600101612fbc565b6001600160a01b0381166000908152600860205260408120548082036130835750600092915050565b6001600160a01b03831660009081526009602090815260408083208380529091529020546109648482612ba6565b604080516001600160a01b038316602082015260009101612343565b6040518061014001604052806000815260200160608152602001600081526020016060815260200160008152602001606081526020016000815260200160608152602001600015158152602001606081525090565b60005b8381101561313d578181015183820152602001613125565b50506000910152565b6000815180845261315e816020860160208601613122565b601f01601f19169290920160200192915050565b6020815260006109646020830184613146565b80356001600160a01b0381168114610bd457600080fd5b600080604083850312156131af57600080fd5b6131b883613185565b946020939093013593505050565b6000602082840312156131d857600080fd5b61096482613185565b6000806000606084860312156131f657600080fd5b6131ff84613185565b925061320d60208501613185565b9150604084013590509250925092565b600060408284031215611b2457600080fd5b602081528151602082015260006020830151610140806040850152613258610160850183613146565b9150604085015160608501526060850151601f19808685030160808701526132808483613146565b9350608087015160a087015260a08701519150808685030160c08701526132a78483613146565b935060c087015160e087015260e087015191506101008187860301818801526132d08584613146565b9450808801519250506101206132e98188018415159052565b8701518685039091018387015290506133028382613146565b9695505050505050565b6000806040838503121561331f57600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b8181101561336f5783516001600160a01b03168352928401929184019160010161334a565b50909695505050505050565b6000806020838503121561338e57600080fd5b823567ffffffffffffffff808211156133a657600080fd5b818501915085601f8301126133ba57600080fd5b8135818111156133c957600080fd5b8660208260051b85010111156133de57600080fd5b60209290920196919550909350505050565b60006020828403121561340257600080fd5b5035919050565b6000806040838503121561341c57600080fd5b61342583613185565b915061343360208401613185565b90509250929050565b600181811c9082168061345057607f821691505b602082108103611b2457634e487b7160e01b600052602260045260246000fd5b6020808252600a908201526937b7363c9037bbb732b960b11b604082015260600190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156107d8576107d86134aa565b634e487b7160e01b600052603260045260246000fd5b604051610140810167ffffffffffffffff8111828210171561350d5761350d613494565b60405290565b6040516060810167ffffffffffffffff8111828210171561350d5761350d613494565b6040516080810167ffffffffffffffff8111828210171561350d5761350d613494565b604051601f8201601f1916810167ffffffffffffffff8111828210171561358257613582613494565b604052919050565b600082601f83011261359b57600080fd5b815167ffffffffffffffff8111156135b5576135b5613494565b6135c8601f8201601f1916602001613559565b8181528460208386010111156135dd57600080fd5b611c6b826020830160208701613122565b80518015158114610bd457600080fd5b60006020828403121561361057600080fd5b815167ffffffffffffffff8082111561362857600080fd5b90830190610140828603121561363d57600080fd5b6136456134e9565b8251815260208301518281111561365b57600080fd5b6136678782860161358a565b6020830152506040830151604082015260608301518281111561368957600080fd5b6136958782860161358a565b6060830152506080830151608082015260a0830151828111156136b757600080fd5b6136c38782860161358a565b60a08301525060c083015160c082015260e0830151828111156136e557600080fd5b6136f18782860161358a565b60e0830152506101006137058185016135ee565b90820152610120838101518381111561371d57600080fd5b6137298882870161358a565b918301919091525095945050505050565b600181815b8085111561377557816000190482111561375b5761375b6134aa565b8085161561376857918102915b93841c939080029061373f565b509250929050565b60008261378c575060016107d8565b81613799575060006107d8565b81600181146137af57600281146137b9576137d5565b60019150506107d8565b60ff8411156137ca576137ca6134aa565b50506001821b6107d8565b5060208310610133831016604e8410600b84101617156137f8575081810a6107d8565b613802838361373a565b8060001904821115613816576138166134aa565b029392505050565b600061096460ff84168361377d565b80820281158282048414176107d8576107d86134aa565b818103818111156107d8576107d86134aa565b634e487b7160e01b600052601260045260246000fd5b60008261387c5761387c613857565b500490565b60008235605e1983360301811261389757600080fd5b9190910192915050565b60ff811681146138b057600080fd5b50565b600060608083360312156138c657600080fd5b6138ce613513565b833581526020808501358183015260408086013567ffffffffffffffff808211156138f857600080fd5b9087019036601f83011261390b57600080fd5b81358181111561391d5761391d613494565b61392b858260051b01613559565b818152858101925060079190911b83018501903682111561394b57600080fd5b928501925b818410156139c357608084360312156139695760008081fd5b613971613536565b843561397c816138a1565b81528487013561398b816138a1565b818801528486013561399c816138a1565b81870152848901356139ad816138a1565b818a015283526080939093019291850191613950565b60408701525093979650505050505050565b67113632bb32b6111d60c11b815281516000906139f9816008850160208701613122565b9190910160080192915050565b6e16113130b1b5b3b937bab732111d1160891b81528151600090613a3181600f850160208701613122565b601160f91b600f939091019283015250601001919050565b6f161133b937bab73221b7b637b9111d1160811b81528151600090613a75816010850160208701613122565b601160f91b6010939091019283015250601101919050565b67161139ba32b6911d60c11b81528251600090613ab1816008850160208801613122565b6d161139ba32b6a1b7b637b9111d1160911b6008918401918201528351613adf816016840160208801613122565b601160f91b60169290910191820152601701949350505050565b66161131b0b8111d60c91b81528251600090613b1c816007850160208801613122565b6c161131b0b821b7b637b9111d1160991b6007918401918201528351613b49816014840160208801613122565b601160f91b60149290910191820152601501949350505050565b6a16113430b9a237ba39911d60a91b81528251600090613b8a81600b850160208801613122565b6d16113237ba39a1b7b637b9111d1160911b600b918401918201528351613bb8816019840160208801613122565b601160f91b60199290910191820152601a01949350505050565b607b60f81b81526000600188516020613bf082848701838e01613122565b895191850191613c0581858501848e01613122565b8951920191613c1981858501848d01613122565b8851920191613c2d81858501848c01613122565b8751920191613c4181858501848b01613122565b8651920191613c5581858501848a01613122565b607d60f81b9201928301919091525060020198975050505050505050565b600082613c8257613c82613857565b500690565b7f3c73766720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f3230815273030302f737667272076696577426f783d273020360641b60208201526000600160fd1b8060348401528451613ce7816035860160208901613122565b808401905081603582015284519150613d07826036830160208801613122565b61139f60f11b91016036810191909152603801949350505050565b60008551613d34818460208a01613122565b855190830190613d48818360208a01613122565b8551910190613d5b818360208901613122565b8451910190613d6e818360208801613122565b651e17b9bb339f60d11b91019081526006019695505050505050565b60008651613d9c818460208b01613122565b865190830190613db0818360208b01613122565b8651910190613dc3818360208a01613122565b8551910190613dd6818360208901613122565b8451910190613de9818360208801613122565b651e17b9bb339f60d11b9101908152600601979650505050505050565b600060018201613e1857613e186134aa565b5060010190565b600081613e2e57613e2e6134aa565b506000190190565b60008351613e48818460208801613122565b835190830190613e5c818360208801613122565b01949350505050565b6000808335601e19843603018112613e7c57600080fd5b83018035915067ffffffffffffffff821115613e9757600080fd5b6020019150600781901b3603821315613eaf57600080fd5b9250929050565b8135613ec1816138a1565b60ff8116905081548160ff1982161783556020840135613ee0816138a1565b61ff008160081b169050808361ffff198416171784556040850135613f04816138a1565b62ff00008160101b169050808462ffffff1985161783171785556060860135613f2c816138a1565b63ffffffff1993909316909317179190911760189190911b63ff0000001617905550565b600060208284031215613f6257600080fd5b5051919050565b683c7265637420783d2760b81b815260008651613f8d816009850160208b01613122565b642720793d2760d81b6009918401918201528651613fb281600e840160208b01613122565b68272077696474683d2760b81b600e92909101918201528551613fdc816017840160208a01613122565b6927206865696768743d2760b01b601792909101918201528451614007816021840160208901613122565b67272066696c6c3d2760c01b602192909101918201528351614030816029840160208801613122565b6140486029828401016213979f60e91b815260030190565b999850505050505050505056fea26469706673582212201024f0c7384a508c278ceeadc42aa18c7003ffc96c73d081a262cfe3c3305e4b64736f6c63430008190033

Deployed Bytecode

0x6080604052600436106101f95760003560e01c806370db69d61161010d578063a775188a116100a0578063cb8106f41161006f578063cb8106f414610687578063cf8e70ed146106bd578063dd62ed3e146106dd578063eb518bf6146106fd578063f2fde38b1461071257600080fd5b8063a775188a1461059f578063a9059cbb14610601578063c3f4552a14610621578063c5b8f7721461064157600080fd5b80639be6b1a8116100dc5780639be6b1a8146105095780639c21650814610529578063a457c2d71461055f578063a6cbaa1b1461057f57600080fd5b806370db69d6146104a1578063723ffd30146104b65780638da5cb5b146104d657806395d89b41146104f457600080fd5b8063313ce56711610190578063395093511161015f5780633950935114610401578063422b9e2314610421578063524773ce146104415780636b4ed21b1461045657806370a082311461046b57600080fd5b8063313ce56714610376578063333a007214610392578063351e39f6146103a757806335ad0cea146103d457600080fd5b806318160ddd116101cc57806318160ddd1461030d578063208813191461032c578063214013ca1461034157806323b872dd1461035657600080fd5b806306fdde03146101fe578063095ea7b3146102295780630fd9587e1461025957806316f0115b146102db575b600080fd5b34801561020a57600080fd5b50610213610732565b6040516102209190613172565b60405180910390f35b34801561023557600080fd5b5061024961024436600461319c565b6107c4565b6040519015158152602001610220565b34801561026557600080fd5b506102c061027436600461319c565b604080518082018252600080825260209182018190526001600160a01b039490941684526009815281842092845291825291829020825180840190935280548352600101549082015290565b60408051825181526020928301519281019290925201610220565b3480156102e757600080fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610220565b34801561031957600080fd5b506002545b604051908152602001610220565b34801561033857600080fd5b5060115461031e565b61035461034f3660046131c6565b6107de565b005b34801561036257600080fd5b506102496103713660046131e1565b61084f565b34801561038257600080fd5b5060405160098152602001610220565b34801561039e57600080fd5b50610354610873565b3480156103b357600080fd5b506103c76103c236600461321d565b6108e1565b604051610220919061322f565b3480156103e057600080fd5b506103f46103ef36600461330c565b61096b565b604051610220919061332e565b34801561040d57600080fd5b5061024961041c36600461319c565b610a06565b34801561042d57600080fd5b5061021361043c36600461321d565b610a28565b34801561044d57600080fd5b5061031e610aa2565b34801561046257600080fd5b5060105461031e565b34801561047757600080fd5b5061031e6104863660046131c6565b6001600160a01b031660009081526020819052604090205490565b3480156104ad57600080fd5b5061031e610ad6565b3480156104c257600080fd5b506103546104d136600461337b565b610bd9565b3480156104e257600080fd5b506012546001600160a01b03166102f5565b34801561050057600080fd5b50610213610c13565b34801561051557600080fd5b5061035461052436600461337b565b610c22565b34801561053557600080fd5b5061031e6105443660046131c6565b6001600160a01b031660009081526008602052604090205490565b34801561056b57600080fd5b5061024961057a36600461319c565b610d50565b34801561058b57600080fd5b5061035461059a36600461337b565b610dcb565b3480156105ab57600080fd5b506102c06105ba3660046131c6565b6040805180820190915260008082526020820152506001600160a01b03166000908152600c6020908152604091829020825180840190935280548352600101549082015290565b34801561060d57600080fd5b5061024961061c36600461319c565b610e01565b34801561062d57600080fd5b5061021361063c36600461321d565b610e0f565b34801561064d57600080fd5b5061024961065c36600461319c565b6001600160a01b03919091166000908152600b60209081526040808320938352929052205460ff1690565b34801561069357600080fd5b506102f56106a23660046133f0565b6000908152600d60205260409020546001600160a01b031690565b3480156106c957600080fd5b506103546106d836600461337b565b61101e565b3480156106e957600080fd5b5061031e6106f8366004613409565b611054565b34801561070957600080fd5b50600f5461031e565b34801561071e57600080fd5b5061035461072d3660046131c6565b61107f565b6060600380546107419061343c565b80601f016020809104026020016040519081016040528092919081815260200182805461076d9061343c565b80156107ba5780601f1061078f576101008083540402835291602001916107ba565b820191906000526020600020905b81548152906001019060200180831161079d57829003601f168201915b5050505050905090565b6000336107d28185856110cb565b60019150505b92915050565b336001600160a01b037f00000000000000000000000003f290e2d3db8d6a77d102ec9ada6fc748f9e291161461081357600080fd5b6005546001600160a01b03161561082957600080fd5b600580546001600160a01b0319166001600160a01b039290921691909117905542600655565b60003361085d8582856111f0565b61086885858561126a565b506001949350505050565b6012546001600160a01b031633146108a65760405162461bcd60e51b815260040161089d90613470565b60405180910390fd5b601280546001600160a01b03191690556040517f6e4ee811a17215345b89e3506064ff2d62f4feedff3566e9d09219cda7e8cadb90600090a1565b6108e96130cd565b600060405180606001604052808460000135815260200160008152602001846020013581525090506109196130cd565b61092282611362565b815261092e81836113d2565b61093881836114d9565b80516000036109505761094b81836115e3565b610964565b61095a81836116f8565b6109648183611823565b9392505050565b606060008267ffffffffffffffff81111561098857610988613494565b6040519080825280602002602001820160405280156109b1578160200160208202803683370190505b50905060005b838110156109fe576109cc6106a282876134c0565b8282815181106109de576109de6134d3565b6001600160a01b03909216602092830291909101909101526001016109b7565b509392505050565b6000336107d2818585610a198383611054565b610a2391906134c0565b6110cb565b604051631a8f1cfb60e11b815281356004820152602082013560248201526060906107d890309063351e39f690604401600060405180830381865afa158015610a75573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a9d91908101906135fe565b611a5f565b6000610aad60025490565b610ab96009600a61381e565b610ac790630c84588061382d565b610ad19190613844565b905090565b6000610aec6005546001600160a01b0316151590565b610b0a57610afc6009600a61381e565b610ad190630c84588061382d565b6000620186a0600560065442610b209190613844565b610b2c6009600a61381e565b610b3a90630c84588061382d565b610b44919061382d565b610b4e919061382d565b610b58919061386d565b612710610b676009600a61381e565b610b7590630c84588061382d565b610b8090600561382d565b610b8a919061386d565b610b9491906134c0565b9050610ba26009600a61381e565b610bb090630c84588061382d565b811115610bd457610bc36009600a61381e565b610bd190630c84588061382d565b90505b919050565b6012546001600160a01b03163314610c035760405162461bcd60e51b815260040161089d90613470565b610c0f60188383611b2a565b5050565b6060600480546107419061343c565b6012546001600160a01b03163314610c4c5760405162461bcd60e51b815260040161089d90613470565b60005b81811015610d4b576000838383818110610c6b57610c6b6134d3565b9050602002810190610c7d9190613881565b610c86906138b3565b60208082015160009081526016909152604081209192505b826040015151811015610d3d578183604001518281518110610cc257610cc26134d3565b60209081029190910181015182546001818101855560009485529383902082519101805493830151604084015160609094015160ff90811663010000000263ff0000001995821662010000029590951663ffff0000199282166101000261ffff19909716919094161794909417939093161717905501610c9e565b505050806001019050610c4f565b505050565b60003381610d5e8286611054565b905083811015610dbe5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161089d565b61086882868684036110cb565b6012546001600160a01b03163314610df55760405162461bcd60e51b815260040161089d90613470565b610c0f60178383611b2a565b6000336107d281858561126a565b604051631a8f1cfb60e11b81528135600482015260208201356024820152606090600090309063351e39f690604401600060405180830381865afa158015610e5b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e8391908101906135fe565b90506000610e948260000151611b6a565b604051602001610ea491906139d5565b604051602081830303815290604052905060008260200151604051602001610ecc9190613a06565b604051602081830303815290604052905060008360600151604051602001610ef49190613a49565b60405160208183030381529060405290506000610f148560800151611b6a565b8560a00151604051602001610f2a929190613a8d565b60405160208183030381529060405290506000610f4a8660c00151611b6a565b8660e00151604051602001610f60929190613af9565b60405160208183030381529060405290506000866101000151610fa0576040518060400160405280600581526020016466616c736560d81b815250610fbe565b604051806040016040528060048152602001637472756560e01b8152505b876101200151604051602001610fd5929190613b63565b604051602081830303815290604052905085858585858560405160200161100196959493929190613bd2565b604051602081830303815290604052975050505050505050919050565b6012546001600160a01b031633146110485760405162461bcd60e51b815260040161089d90613470565b610c0f60198383611b2a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6012546001600160a01b031633146110a95760405162461bcd60e51b815260040161089d90613470565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03831661112d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161089d565b6001600160a01b03821661118e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161089d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60006111fc8484611054565b9050600019811461126457818110156112575760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161089d565b61126484848484036110cb565b50505050565b6005546001600160a01b03161561128b57611286838383611c73565b6112ee565b6012546001600160a01b03848116911614806112b457506012546001600160a01b038381169116145b6112ee5760405162461bcd60e51b815260206004820152600b60248201526a1b9bdd081cdd185c9d195960aa1b604482015260640161089d565b6001600160a01b03821661130657610d4b8382611f76565b306001600160a01b0384160361132157610d4b8383836120a0565b60075460ff161561133757610d4b8383836120a0565b6005546001600160a01b039081169084160361135757610d4b82826121e3565b610d4b8383836120a0565b60006152088260000151101561137a57506000919050565b8151620802c8111561138e57506001919050565b81516210059011156113a257506002919050565b81516218085811156113b657506003919050565b815162200b2011156113ca57506004919050565b506005919050565b6114cd816113ef6113ea6113e585611362565b61225e565b612276565b805480602002602001604051908101604052809291908181526020016000905b828210156114bb57838290600052602060002001805461142e9061343c565b80601f016020809104026020016040519081016040528092919081815260200182805461145a9061343c565b80156114a75780601f1061147c576101008083540402835291602001916114a7565b820191906000526020600020905b81548152906001019060200180831161148a57829003601f168201915b50505050508152602001906001019061140f565b505050506122d090919063ffffffff16565b82602001819052505050565b60026114e4826122fd565b6114ee9190613c73565b60408301526115d78161150b6115066113e583611362565b612361565b805480602002602001604051908101604052809291908181526020016000905b828210156114bb57838290600052602060002001805461154a9061343c565b80601f01602080910402602001604051908101604052809291908181526020018280546115769061343c565b80156115c35780601f10611598576101008083540402835291602001916115c3565b820191906000526020600020905b8154815290600101906020018083116115a657829003601f168201915b50505050508152602001906001019061152b565b82606001819052505050565b601254600160a01b900460ff166115f9826122fd565b6116039190613c73565b60808301526116ec8161162061161b6113e583611362565b6123bb565b805480602002602001604051908101604052809291908181526020016000905b828210156114bb57838290600052602060002001805461165f9061343c565b80601f016020809104026020016040519081016040528092919081815260200182805461168b9061343c565b80156116d85780601f106116ad576101008083540402835291602001916116d8565b820191906000526020600020905b8154815290600101906020018083116116bb57829003601f168201915b505050505081526020019060010190611640565b8260a001819052505050565b60136117066113e583611362565b60058110611716576117166134d3565b602081049091015460ff601f9092166101000a900416611735826122fd565b61173f9190613c73565b60808301526116ec8161175761161b6113e583611362565b805480602002602001604051908101604052809291908181526020016000905b828210156114bb5783829060005260206000200180546117969061343c565b80601f01602080910402602001604051908101604052809291908181526020018280546117c29061343c565b801561180f5780601f106117e45761010080835404028352916020019161180f565b820191906000526020600020905b8154815290600101906020018083116117f257829003601f168201915b505050505081526020019060010190611777565b60146118316113e583611362565b60058110611841576118416134d3565b602081049091015460ff601f9092166101000a900416611860826122fd565b61186a9190613c73565b60c083015261194e8161188261161b6113e583611362565b805480602002602001604051908101604052809291908181526020016000905b828210156114bb5783829060005260206000200180546118c19061343c565b80601f01602080910402602001604051908101604052809291908181526020018280546118ed9061343c565b801561193a5780601f1061190f5761010080835404028352916020019161193a565b820191906000526020600020905b81548152906001019060200180831161191d57829003601f168201915b5050505050815260200190600101906118a2565b60e0830152600461195e826122fd565b6119689190613c73565b15610100830181905215610c0f57611a558161198961161b6113e585611362565b805480602002602001604051908101604052809291908181526020016000905b828210156114bb5783829060005260206000200180546119c89061343c565b80601f01602080910402602001604051908101604052809291908181526020018280546119f49061343c565b8015611a415780601f10611a1657610100808354040283529160200191611a41565b820191906000526020600020905b815481529060010190602001808311611a2457829003601f168201915b5050505050815260200190600101906119a9565b6101208301525050565b60606000611a6d6018612415565b611a776018612415565b604051602001611a88929190613c87565b60405160208183030381529060405290508260000151600003611aeb5780611aaf84612516565b611ab88561254d565b611ac18661256d565b604051602001611ad49493929190613d22565b604051602081830303815290604052915050919050565b80611af584612516565b611afe8561254d565b611b078661256d565b611b10876125e4565b604051602001611ad4959493929190613d8a565b50919050565b60005b8181101561126457611b6284848484818110611b4b57611b4b6134d3565b9050602002810190611b5d9190613881565b6126b9565b600101611b2d565b606081600003611b915750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611bbb5780611ba581613e06565b9150611bb49050600a8361386d565b9150611b95565b60008167ffffffffffffffff811115611bd657611bd6613494565b6040519080825280601f01601f191660200182016040528015611c00576020820181803683370190505b5090505b8415611c6b57611c15600183613844565b9150611c22600a86613c73565b611c2d9060306134c0565b60f81b818381518110611c4257611c426134d3565b60200101906001600160f81b031916908160001a905350611c64600a8661386d565b9450611c04565b949350505050565b82826000611c8083612741565b90506000611c8d83612741565b90506001600160a01b0387163014611eed576000611cad6009600a61381e565b611cb7908761386d565b9050600081118015611cd757506005546001600160a01b03898116911614155b8015611cf157506005546001600160a01b03888116911614155b15611e5b576001600160a01b0388166000908152600c6020526040902054819003611dae576001600160a01b0388166000908152600c60209081526040918290208251808401909352805483526001015490820152611d50898361281b565b611d5a8882612abc565b6040805182518152602080840151908201526001600160a01b03808b1692908c16917f882cd5197c658fe29ff1ed21d4a9c2c50495592e1e9337e75267eff5a3c65302910160405180910390a35050611eed565b6001600160a01b0388166000908152600b6020908152604080832084845290915290205460ff168015611e0557506001600160a01b0387166000908152600b6020908152604080832084845290915290205460ff16155b15611e5b576001600160a01b0388166000908152600960209081526040808320600a835281842085855283528184205484528252918290208251808401909352805483526001015490820152611d508983612ba6565b6000611e696009600a61381e565b6001600160a01b038a16600090815260208190526040902054611e8c919061386d565b90506000611e9c6009600a61381e565b6001600160a01b038b16600090815260208190526040902054611ec0908a90613844565b611eca919061386d565b9050611edf8a611eda8385613844565b61281b565b611ee98984612d2a565b5050505b6000611ef885612741565b90506000611f0585612741565b905083158015611f125750815b15611f2057611f2086612e60565b838015611f2b575081155b15611f3957611f3986612eb0565b82158015611f445750805b15611f5257611f5285612e60565b828015611f5d575080155b15611f6b57611f6b85612eb0565b505050505050505050565b6001600160a01b038216611fd65760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161089d565b6001600160a01b0382166000908152602081905260409020548181101561204a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161089d565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016111e3565b6001600160a01b0383166121045760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161089d565b6001600160a01b0383166000908152602081905260409020548181101561217c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161089d565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350505050565b806121ec610ad6565b81111561222b5760405162461bcd60e51b815260206004820152600d60248201526c1b585e08189d5e481b1a5b5a5d609a1b604482015260640161089d565b6007805460ff1916600117905560055461224f906001600160a01b031684846120a0565b50506007805460ff1916905550565b600081156122725761226f82613e1f565b91505b5090565b6000816000036122885750601b919050565b816001036122985750601c919050565b816002036122a85750601d919050565b816003036122b85750601e919050565b816004036122c85750601f919050565b50601b919050565b6060826122dd8484612f31565b815181106122ed576122ed6134d3565b6020026020010151905092915050565b6000600182602001805180919061231390613e06565b9052835161232191906134c0565b61232b9190613844565b60408084015181516020810193909352908201526060015b60408051601f19818403018152919052805160209091012092915050565b60008160000361237357506020919050565b8160010361238357506021919050565b8160020361239357506022919050565b816003036123a357506023919050565b816004036123b357506024919050565b506020919050565b6000816000036123cd57506025919050565b816001036123dd57506026919050565b816002036123ed57506027919050565b816003036123fd57506028919050565b8160040361240d57506029919050565b506025919050565b60608160000361243c5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612466578061245081613e06565b915061245f9050600a8361386d565b9150612440565b60008167ffffffffffffffff81111561248157612481613494565b6040519080825280601f01601f1916602001820160405280156124ab576020820181803683370190505b5090505b8415611c6b576124c0600183613844565b91506124cd600a86613c73565b6124d89060306134c0565b60f81b8183815181106124ed576124ed6134d3565b60200101906001600160f81b031916908160001a90535061250f600a8661386d565b94506124af565b6040805160808101825260008082526020808301919091526018928201839052606082810193909352830151610964908290612f48565b6060818101516040808401516000908152601a602052206107d891612fb6565b805160609060000361259a5760a0820151608083015160009081526016602052604090206107d891612fb6565b6107d88260a00151601760006125b3866000015161225e565b8152602001908152602001600020600085608001518152602001908152602001600020612fb690919063ffffffff16565b606060006126328360e0015160186000612601876000015161225e565b815260200190815260200160002060008660c001518152602001908152602001600020612fb690919063ffffffff16565b9050826101000151156107d857600061268c8461012001516019600061265b886000015161225e565b815260200190815260200160002060008760c001518152602001908152602001600020612fb690919063ffffffff16565b905081816040516020016126a1929190613e36565b60405160208183030381529060405292505050919050565b80356000908152602083815260408083208285013584529091528120905b6126e46040840184613e65565b905081101561126457816126fb6040850185613e65565b8381811061270b5761270b6134d3565b835460018101855560009485526020909420608090910292909201929190910190506127378282613eb6565b50506001016126d7565b60006001600160a01b03821630148061276757506005546001600160a01b038381169116145b8061277957506001600160a01b038216155b1561278657506000919050565b6040516313842ca160e31b81526001600160a01b03831660048201526000903090639c21650890602401602060405180830381865afa1580156127cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127f19190613f50565b6001600160a01b0384166000908152600c602052604090205461281491906134c0565b1192915050565b80600003612827575050565b6005546001600160a01b0390811690831603612841575050565b6001600160a01b0382166000818152600c602081815260408084208151808301909252805480835260019091015482840152949093525290821161294f576001600160a01b0383166000908152600c6020526040812080548492906128a7908490613844565b90915550508051158015906128d257506001600160a01b0383166000908152600c6020526040902054155b156128eb576011600081546128e690613e1f565b909155505b6001600160a01b0383166000818152600c60205260409081902090517faa626bf76e4a6a5b23f2cd43ad5451ce8410ccdca0112dc86a79b5964f177edc916129429181548152600190910154602082015260400190565b60405180910390a2505050565b6001600160a01b0383166000908152600c60205260408120546129729084613844565b6001600160a01b0385166000908152600c602090815260408083208390556008909152812054919250805b82811080156129ab57508382105b156129d5576129b98761305a565b6129c390836134c0565b91506129ce81613e06565b905061299d565b5082811115612a16576129e88382613844565b6001600160a01b0387166000908152600c602052604081208054909190612a109084906134c0565b90915550505b835115801590612a3c57506001600160a01b0386166000908152600c6020526040902054155b15612a5557601160008154612a5090613e1f565b909155505b6001600160a01b0386166000818152600c60205260409081902090517faa626bf76e4a6a5b23f2cd43ad5451ce8410ccdca0112dc86a79b5964f177edc91612aac9181548152600190910154602082015260400190565b60405180910390a2505050505050565b6005546001600160a01b0390811690831603612ad6575050565b6001600160a01b03821660009081526008602052604081208054909190612afc90613e06565b90915550600f8054600090612b1090613e06565b909155506001600160a01b038216600090815260086020526040812054612b3990600190613844565b6001600160a01b03909316600081815260096020908152604080832087845282528083208651815582870151600191820155848452600a835281842087518552835281842097909755928252600b81528282209451825293909352909120805460ff191690921790915550565b6005546001600160a01b0390811690831603612bc0575050565b6001600160a01b03821660009081526008602052604081208054909190612be690613e1f565b90915550600f8054600090612bfa90613e1f565b909155506001600160a01b0382166000818152600b602090815260408083208584528252808320805460ff191690558383526008825280832054600a8352818420868552835281842054948452600983528184208585528352928190208151808301909252805482526001015491810191909152909190818314612ce0576001600160a01b038516600081815260096020908152604080832087845280835281842082518084018452815481526001918201548186019081528987529285528386208151815592519290910191909155938352600a825280832093518352929052208290555b6001600160a01b039094166000818152600a602090815260408083209751835296815286822082905591815260098252858120938152929052509182208281556001019190915550565b80600003612d36575050565b6005546001600160a01b0390811690831603612d50575050565b6001600160a01b0382166000818152600c60208181526040808420815180830190925280548083526001820154838501529585529290915292849290612d979084906134c0565b90915550612daf90506001600160a01b0384166130b1565b6001600160a01b0384166000908152600c60205260409020600101558051158015612df157506001600160a01b0383166000908152600c602052604090205415155b15612e0a57601160008154612e0590613e06565b909155505b6001600160a01b0383166000818152600c60205260409081902090517efb093446d003bea3dc7db8b593d37cc6a34ea254b80cd1aa5d942b828a5d6d916129429181548152600190910154602082015260400190565b601080546000908152600d6020908152604080832080546001600160a01b0319166001600160a01b0387169081179091558454908452600e9092528220819055612ea990613e06565b9091555050565b601054600003612ebd5750565b601060008154612ecc90613e1f565b909155506001600160a01b039081166000818152600e602081815260408084208054601080548752600d8552838720549187528387208054929099166001600160a01b0319928316179098559654855290842080549096169095559282529091529055565b60008251612f3e836122fd565b6109649190613c73565b6060612f5a836000015160ff16611b6a565b612f6a846020015160ff16611b6a565b612f7a856040015160ff16611b6a565b612f8a866060015160ff16611b6a565b85604051602001612f9f959493929190613f69565b604051602081830303815290604052905092915050565b60608060005b84548110156109fe578161302f85878481548110612fdc57612fdc6134d3565b600091825260209182902060408051608081018252929091015460ff8082168452610100820481169484019490945262010000810484169183019190915263010000009004909116606082015290612f48565b604051602001613040929190613e36565b60408051601f198184030181529190529150600101612fbc565b6001600160a01b0381166000908152600860205260408120548082036130835750600092915050565b6001600160a01b03831660009081526009602090815260408083208380529091529020546109648482612ba6565b604080516001600160a01b038316602082015260009101612343565b6040518061014001604052806000815260200160608152602001600081526020016060815260200160008152602001606081526020016000815260200160608152602001600015158152602001606081525090565b60005b8381101561313d578181015183820152602001613125565b50506000910152565b6000815180845261315e816020860160208601613122565b601f01601f19169290920160200192915050565b6020815260006109646020830184613146565b80356001600160a01b0381168114610bd457600080fd5b600080604083850312156131af57600080fd5b6131b883613185565b946020939093013593505050565b6000602082840312156131d857600080fd5b61096482613185565b6000806000606084860312156131f657600080fd5b6131ff84613185565b925061320d60208501613185565b9150604084013590509250925092565b600060408284031215611b2457600080fd5b602081528151602082015260006020830151610140806040850152613258610160850183613146565b9150604085015160608501526060850151601f19808685030160808701526132808483613146565b9350608087015160a087015260a08701519150808685030160c08701526132a78483613146565b935060c087015160e087015260e087015191506101008187860301818801526132d08584613146565b9450808801519250506101206132e98188018415159052565b8701518685039091018387015290506133028382613146565b9695505050505050565b6000806040838503121561331f57600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b8181101561336f5783516001600160a01b03168352928401929184019160010161334a565b50909695505050505050565b6000806020838503121561338e57600080fd5b823567ffffffffffffffff808211156133a657600080fd5b818501915085601f8301126133ba57600080fd5b8135818111156133c957600080fd5b8660208260051b85010111156133de57600080fd5b60209290920196919550909350505050565b60006020828403121561340257600080fd5b5035919050565b6000806040838503121561341c57600080fd5b61342583613185565b915061343360208401613185565b90509250929050565b600181811c9082168061345057607f821691505b602082108103611b2457634e487b7160e01b600052602260045260246000fd5b6020808252600a908201526937b7363c9037bbb732b960b11b604082015260600190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156107d8576107d86134aa565b634e487b7160e01b600052603260045260246000fd5b604051610140810167ffffffffffffffff8111828210171561350d5761350d613494565b60405290565b6040516060810167ffffffffffffffff8111828210171561350d5761350d613494565b6040516080810167ffffffffffffffff8111828210171561350d5761350d613494565b604051601f8201601f1916810167ffffffffffffffff8111828210171561358257613582613494565b604052919050565b600082601f83011261359b57600080fd5b815167ffffffffffffffff8111156135b5576135b5613494565b6135c8601f8201601f1916602001613559565b8181528460208386010111156135dd57600080fd5b611c6b826020830160208701613122565b80518015158114610bd457600080fd5b60006020828403121561361057600080fd5b815167ffffffffffffffff8082111561362857600080fd5b90830190610140828603121561363d57600080fd5b6136456134e9565b8251815260208301518281111561365b57600080fd5b6136678782860161358a565b6020830152506040830151604082015260608301518281111561368957600080fd5b6136958782860161358a565b6060830152506080830151608082015260a0830151828111156136b757600080fd5b6136c38782860161358a565b60a08301525060c083015160c082015260e0830151828111156136e557600080fd5b6136f18782860161358a565b60e0830152506101006137058185016135ee565b90820152610120838101518381111561371d57600080fd5b6137298882870161358a565b918301919091525095945050505050565b600181815b8085111561377557816000190482111561375b5761375b6134aa565b8085161561376857918102915b93841c939080029061373f565b509250929050565b60008261378c575060016107d8565b81613799575060006107d8565b81600181146137af57600281146137b9576137d5565b60019150506107d8565b60ff8411156137ca576137ca6134aa565b50506001821b6107d8565b5060208310610133831016604e8410600b84101617156137f8575081810a6107d8565b613802838361373a565b8060001904821115613816576138166134aa565b029392505050565b600061096460ff84168361377d565b80820281158282048414176107d8576107d86134aa565b818103818111156107d8576107d86134aa565b634e487b7160e01b600052601260045260246000fd5b60008261387c5761387c613857565b500490565b60008235605e1983360301811261389757600080fd5b9190910192915050565b60ff811681146138b057600080fd5b50565b600060608083360312156138c657600080fd5b6138ce613513565b833581526020808501358183015260408086013567ffffffffffffffff808211156138f857600080fd5b9087019036601f83011261390b57600080fd5b81358181111561391d5761391d613494565b61392b858260051b01613559565b818152858101925060079190911b83018501903682111561394b57600080fd5b928501925b818410156139c357608084360312156139695760008081fd5b613971613536565b843561397c816138a1565b81528487013561398b816138a1565b818801528486013561399c816138a1565b81870152848901356139ad816138a1565b818a015283526080939093019291850191613950565b60408701525093979650505050505050565b67113632bb32b6111d60c11b815281516000906139f9816008850160208701613122565b9190910160080192915050565b6e16113130b1b5b3b937bab732111d1160891b81528151600090613a3181600f850160208701613122565b601160f91b600f939091019283015250601001919050565b6f161133b937bab73221b7b637b9111d1160811b81528151600090613a75816010850160208701613122565b601160f91b6010939091019283015250601101919050565b67161139ba32b6911d60c11b81528251600090613ab1816008850160208801613122565b6d161139ba32b6a1b7b637b9111d1160911b6008918401918201528351613adf816016840160208801613122565b601160f91b60169290910191820152601701949350505050565b66161131b0b8111d60c91b81528251600090613b1c816007850160208801613122565b6c161131b0b821b7b637b9111d1160991b6007918401918201528351613b49816014840160208801613122565b601160f91b60149290910191820152601501949350505050565b6a16113430b9a237ba39911d60a91b81528251600090613b8a81600b850160208801613122565b6d16113237ba39a1b7b637b9111d1160911b600b918401918201528351613bb8816019840160208801613122565b601160f91b60199290910191820152601a01949350505050565b607b60f81b81526000600188516020613bf082848701838e01613122565b895191850191613c0581858501848e01613122565b8951920191613c1981858501848d01613122565b8851920191613c2d81858501848c01613122565b8751920191613c4181858501848b01613122565b8651920191613c5581858501848a01613122565b607d60f81b9201928301919091525060020198975050505050505050565b600082613c8257613c82613857565b500690565b7f3c73766720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f3230815273030302f737667272076696577426f783d273020360641b60208201526000600160fd1b8060348401528451613ce7816035860160208901613122565b808401905081603582015284519150613d07826036830160208801613122565b61139f60f11b91016036810191909152603801949350505050565b60008551613d34818460208a01613122565b855190830190613d48818360208a01613122565b8551910190613d5b818360208901613122565b8451910190613d6e818360208801613122565b651e17b9bb339f60d11b91019081526006019695505050505050565b60008651613d9c818460208b01613122565b865190830190613db0818360208b01613122565b8651910190613dc3818360208a01613122565b8551910190613dd6818360208901613122565b8451910190613de9818360208801613122565b651e17b9bb339f60d11b9101908152600601979650505050505050565b600060018201613e1857613e186134aa565b5060010190565b600081613e2e57613e2e6134aa565b506000190190565b60008351613e48818460208801613122565b835190830190613e5c818360208801613122565b01949350505050565b6000808335601e19843603018112613e7c57600080fd5b83018035915067ffffffffffffffff821115613e9757600080fd5b6020019150600781901b3603821315613eaf57600080fd5b9250929050565b8135613ec1816138a1565b60ff8116905081548160ff1982161783556020840135613ee0816138a1565b61ff008160081b169050808361ffff198416171784556040850135613f04816138a1565b62ff00008160101b169050808462ffffff1985161783171785556060860135613f2c816138a1565b63ffffffff1993909316909317179190911760189190911b63ff0000001617905550565b600060208284031215613f6257600080fd5b5051919050565b683c7265637420783d2760b81b815260008651613f8d816009850160208b01613122565b642720793d2760d81b6009918401918201528651613fb281600e840160208b01613122565b68272077696474683d2760b81b600e92909101918201528551613fdc816017840160208a01613122565b6927206865696768743d2760b01b601792909101918201528451614007816021840160208901613122565b67272066696c6c3d2760c01b602192909101918201528351614030816029840160208801613122565b6140486029828401016213979f60e91b815260030190565b999850505050505050505056fea26469706673582212201024f0c7384a508c278ceeadc42aa18c7003ffc96c73d081a262cfe3c3305e4b64736f6c63430008190033

[ 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.