ETH Price: $3,088.79 (-1.04%)

Token

UCHARS (UCHARS)
 

Overview

Max Total Supply

11,697 UCHARS

Holders

1,146

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 UCHARS
0xb17a88b3dc13eaa13b0e0f3e9e2e5544b637eb8e
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Uchar

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 10 : Uchar.sol
/*

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░                                                        ░░
░░    A A A A A    B B B B B    C C C C C    D D D D D    ░░
░░   A .  .  . A  . .  B  . B  C .  .  . .  . .  D  . D   ░░
░░   A  . . .  A  .  . B .  B  C  . . .  .  .  . D .  D   ░░
░░   A   ...   A  .   .B.   B  C   ...   .  .   .D.   D   ░░
░░    A A A A A    . . B B B    . . . . .    . . D . D    ░░
░░   A   ...   A  .   .B.   B  C   ...   .  .   .D.   D   ░░
░░   A  . . .  A  .  . B .  B  C  . . .  .  .  . D .  D   ░░
░░   A .  .  . A  . .  B  . B  C .  .  . .  . ,  D  . D   ░░
░░    . . . . .    B B B B B    C C C C C    D D D D D    ░░
░░                                                        ░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/ISegments.sol";
import "./interfaces/IERC4906.sol";
import "./libraries/Utilities.sol";
import "./libraries/Renderer.sol";

contract Uchar is ERC721A, Ownable, IERC4906 {
    event CountdownExtended(uint256 _finalBlock);
    event ComboDestroyed(address indexed _from, string _word);
    event ComboCreated(address indexed _from, string _word, uint256 _points);

    ISegments private segments;

    uint256 public price = 3000000000000000; //.003 eth
    bool public isCombinable = false;
    uint256 public finalMintingBlock;

    struct Combo {
        string word;
        uint256 points;
        uint256 color;
    }

    mapping(uint256 => Combo) public combos;
    mapping(string => bool) public combinedWords;

    constructor(address _segments) ERC721A("UCHARS", "UCHARS") {
        segments = ISegments(_segments);
    }

    function mint(uint256 quantity) public payable {
        require(msg.value >= quantity * price, "Not enough ETH");
        handleMint(msg.sender, quantity);
    }

    function handleMint(address recipient, uint256 quantity) internal {
        uint256 supply = _totalMinted();
        if (supply >= 1000) {
            require(
                utils.secondsRemaining(finalMintingBlock) > 0,
                "Mint is closed"
            );
            if (supply < 5000 && (supply + quantity) >= 5000) {
                finalMintingBlock = block.timestamp + 24 hours;
                emit CountdownExtended(finalMintingBlock);
            }
        } else if (supply + quantity >= 1000) {
            finalMintingBlock = block.timestamp + 24 hours;
            emit CountdownExtended(finalMintingBlock);
        }
        _mint(recipient, quantity);
    }

    function combine(uint256[] memory tokens) public {
        require(isCombinable, "Combining not active");
        require(tokens.length < 9, "Too many letters");
        uint256 sum;
        string memory word;
        for (uint256 i = 0; i < tokens.length; i++) {
            require(ownerOf(tokens[i]) == msg.sender, "Must own all tokens");
            (string memory t, uint256 v) = getValue(tokens[i]);
            sum = sum + v;
            word = string(abi.encodePacked(word, t));
        }
        uint256 wordLength = bytes(word).length;
        if (wordLength < 4) {
            revert("Word must be greater than 3 letters");
        }
        if (wordLength > 8) {
            revert("Word must be less than 9 letters");
        }
        if (combinedWords[word]) {
            revert("Word already exists");
        }
        for (uint256 i = 1; i < tokens.length; i++) {
            _burn(tokens[i]);
            Combo storage oldCombo = combos[tokens[i]];

            combinedWords[oldCombo.word] = false;
            emit ComboDestroyed(msg.sender, oldCombo.word);

            oldCombo.word = "";
            oldCombo.points = 0;
            oldCombo.color = 0;
            
            emit MetadataUpdate(tokens[i]);
        }

        Combo storage combo = combos[tokens[0]];
        if (bytes(combo.word).length > 0) {
            // Remove Old Combo from Combined Words
            combinedWords[combo.word] = false;
            emit ComboDestroyed(msg.sender, combo.word);   
        }        

        combo.word = word;
        combo.points = sum;
        combo.color = utils.random(tokens[0], 1, 4);
        
        combinedWords[word] = true;
        emit ComboCreated(msg.sender, word, sum);
        emit MetadataUpdate(tokens[0]);
    }

    function getValue(uint256 tokenId)
        public
        view
        returns (string memory, uint256)
    {
        if (!_exists(tokenId)) {
            return ("", 0);
        } else if (bytes(combos[tokenId].word).length > 0) {
            return (combos[tokenId].word, combos[tokenId].points);
        } else {
            return utils.initValue(tokenId);
        }
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override(ERC721A, IERC721A)
        returns (string memory)
    {
        bool burned;
        string memory word;
        uint256 points;
        uint256 color;

        uint256 wordLength = bytes(combos[tokenId].word).length;
        if (wordLength > 0) {
            word = combos[tokenId].word;
            points = combos[tokenId].points;
            color = combos[tokenId].color;
            burned = false;
        } else if (wordLength == 0 && !_exists(tokenId)) {
            word = "";
            burned = true;
        } else {
            (word, points) = utils.initValue(tokenId);
            color = 0;
            burned = false;
        }

        return renderer.getMetadata(segments, tokenId, word, points, color, burned);
    }

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    function getMinutesRemaining() public view returns (uint256) {
        return utils.minutesRemaining(finalMintingBlock);
    }

    function mintCount() public view returns (uint256) {
        return _totalMinted();
    }

    function toggleCombinable() external onlyOwner {
        isCombinable = !isCombinable;
    }

    function updateSegmentsContract(address _address) external onlyOwner {
        segments = ISegments(_address);
    }

    function updatePrice(uint256 _price) external onlyOwner {
        price = _price;
    }

    function withdraw() external onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 *
 * _Available since v4.5._
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        /// @solidity memory-safe-assembly
        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

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

pragma solidity ^0.8.0;

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

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

File 5 of 10 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

    // Mapping from token ID to approved address.
    mapping(uint256 => TokenApprovalRef) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

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

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) public payable virtual override {
        address owner = ownerOf(tokenId);

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token IDs
     * have been transferred. This includes minting.
     * And also called after one token has been burned.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

File 6 of 10 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables
     * (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`,
     * checking first that contract recipients are aware of the ERC721 protocol
     * to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move
     * this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom}
     * whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external payable;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

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

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 7 of 10 : IERC4906.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/CHECKS721.sol)

pragma solidity ^0.8.0;

import "erc721a/contracts/IERC721A.sol";

/// @title EIP-721 Metadata Update Extension
interface IERC4906 is IERC721A {
    /// @dev This event emits when the metadata of a token is changed.
    /// Third-party platforms such as NFT marketplaces can listen to
    /// the event and auto-update the tokens in their apps.
    event MetadataUpdate(uint256 _tokenId);
}

File 8 of 10 : ISegments.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;

interface ISegments {
    function renderSvg(string memory word, uint256[3] memory rgbs) external pure returns (string memory svg);
}

File 9 of 10 : Renderer.sol
/*

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░                                                        ░░
░░    . . 1 . .    . . 1 . .    . . 1 . .    . . 1 . .    ░░
░░   . \  |  / .  . \  |  / .  . \  |  / .  . \  |  / .   ░░
░░   6  9 | 11 2  6  9 | 11 2  6  9 | 11 2  6  9 | 11 2   ░░
░░   .   \|/   .  .   \|/   .  .   \|/   .  .   \|/   .   ░░
░░    .7. 4 .8.    .7. 4 .8.    .7. 4 .8.    .7. 4 .8.    ░░
░░   .   /|\   .  .   /|\   .  .   /|\   .  .   /|\   .   ░░
░░   5 12 | 14 3  5 12 | 14 3  5 12 | 14 3  5 12 | 14 3   ░░
░░   . /  |  \ .  . /  |  \ .  . /  |  \ .  . /  |  \ .   ░░
░░    . . 4 . .    . . 4 . .    . . 4 . .    . . 4 . .    ░░
░░        a            b            c            d        ░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;

import "../interfaces/ISegments.sol";
import "./Utilities.sol";
import "@openzeppelin/contracts/utils/Base64.sol";

library renderer {
    function getBaseColorName(uint index) internal pure returns (string memory) {
        string[4] memory baseColorNames = ["White", "Red", "Green", "Blue"];
        return baseColorNames[index];
    }

    function getMetadata(ISegments segments, uint tokenId, string memory word, uint points, uint baseColor, bool burned) internal pure returns (string memory) {
        uint[3] memory rgbs = utils.getRgbs(tokenId, baseColor);
        string memory json;

        if (burned) {
            json = string(abi.encodePacked(
            '{"name": "UCHARS ',
            utils.uint2str(tokenId),
            ' [BURNED]", "description": "Letters are art, and we are artists.", "attributes":[{"trait_type": "Burned", "value": "Yes"}], "image": "data:image/svg+xml;base64,',
            Base64.encode(bytes(segments.renderSvg(word, rgbs))),
            '"}'
        ));
        } else {
            json = string(abi.encodePacked(
            '{"name": "UCHARS ',
            utils.uint2str(tokenId),
            '", "description": "Letters are art, and we are artists.", "attributes":[{"trait_type": "Points", "value": ', 
            utils.uint2str(points),
            '},{"trait_type": "Char", "value": "',
            word,
            '"},{"trait_type": "Length", "max_value": 8, "value": ',
            utils.uint2str(bytes(word).length),
            '},{"display_type": "number", "trait_type": "Mint Phase", "value": ',
            utils.uint2str(utils.getMintPhase(tokenId)),
            '},{"trait_type": "Burned", "value": "No"},{"trait_type": "Base Color", "value": "',
            getBaseColorName(baseColor),
            '"},{"trait_type": "Color", "value": "RGB(',
            utils.uint2str(rgbs[0]),
            ",",
            utils.uint2str(rgbs[1]),
            ",",
            utils.uint2str(rgbs[2]),
            ')"}], "image": "data:image/svg+xml;base64,',
            Base64.encode(bytes(segments.renderSvg(word, rgbs))),
            '"}'
        ));
        }

        return string(abi.encodePacked(
            "data:application/json;base64,",
            Base64.encode(bytes(json))
        ));
    }
}

File 10 of 10 : Utilities.sol
/*

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░                                                        ░░
░░    . . . . .    . . . . .    . . . . .    . . . . .    ░░
░░   . \  |  / .  . \  |  / .  . \  |  / .  . \  |  / .   ░░
░░   .  \ | /  .  .  \ | /  .  .  \ | /  .  .  \ | /  .   ░░
░░   .   \|/   .  .   \|/   .  .   \|/   .  .   \|/   .   ░░
░░    . . . . .    . . . . .    . . . . .    . . . . .    ░░
░░   .   /|\   .  .   /|\   .  .   /|\   .  .   /|\   .   ░░
░░   .  / | \  .  .  / | \  .  .  / | \  .  .  / | \  .   ░░
░░   . /  |  \ .  . /  |  \ .  . /  |  \ .  . /  |  \ .   ░░
░░    . . . . .    . . . . .    . . . . .    . . . . .    ░░
░░                                                        ░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;

library utils {
    string constant letters = "HTZRDTHSMOCLASVYOFPTIENEFNCHSMOTOASTWESKRENEICUQAILIAAHDTREMNSRADPBEEWIEETDRIGIOUOLYOJRNTUONEHTGXLEA";

    function uint2str(
        uint _i
    ) internal pure returns (string memory _uintAsString) {
        if (_i == 0) {
            return "0";
        }
        uint j = _i;
        uint len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint k = len;
        while (_i != 0) {
            k = k - 1;
            uint8 temp = (48 + uint8(_i - (_i / 10) * 10));
            bytes1 b1 = bytes1(temp);
            bstr[k] = b1;
            _i /= 10;
        }
        return string(bstr);
    }

    function bytesToNum(bytes1 strBytes) internal pure returns (uint8) {
        return uint8(strBytes)-65;
    }

    // Get a pseudo random number
    function random(uint input, uint min, uint max) internal pure returns (uint) {
        uint randRange = max - min;
        return max - (uint(keccak256(abi.encodePacked(input + 6969))) % randRange) - 1;
    }

    function getLetter(uint num) internal pure returns (string memory) {
        bytes memory charByte = new bytes(1);
        charByte[0] = bytes(letters)[num];
        return string(charByte);
    }

    function getPoints(uint num) internal pure returns (uint) {
        uint points = 0;
        if (num == 1 || num == 5 || num == 9 || num == 15 || num == 18 || num == 19 || num == 20) {
            points = 1;
        } else if (num == 4 || num == 12 || num == 14 || num == 21) {
            points = 2;
        } else if (num == 7 || num == 8 || num == 25) {
            points = 3;
        } else if (num == 2 || num == 3 || num == 6 || num == 13 || num == 16 || num == 23) {
            points = 4;
        } else if (num == 11 || num == 22) {
            points = 5;
        } else if (num == 24) {
            points = 8;
        } else if (num == 10 || num == 17 || num == 26) {
            points = 10;
        }
        return points;
    }

    function initValue(uint tokenId) internal pure returns (string memory letter, uint value) {
        value = random(tokenId, 0, 100);
        letter = getLetter(value);
        return (letter, getPoints(bytesToNum(bytes(letter)[0])+1));
    }

    function getRgbs(uint tokenId, uint baseColor) internal pure returns (uint256[3] memory rgbValues) {
        if (baseColor > 0) {
            for (uint i = 0; i < 3; i++) {
                if (baseColor == i + 1) {
                    rgbValues[i] = 255;
                } else {
                    rgbValues[i] = utils.random(tokenId + i, 0, 256);
                }
            }
        } else {
            for (uint i = 0; i < 3; i++) {
                rgbValues[i] = 255;
            }
        }
        return rgbValues;
    }

    function getMintPhase(uint tokenId) internal pure returns (uint mintPhase) {
        if (tokenId <= 1000) {
            mintPhase = 1;
        } else if (tokenId <= 5000) {
            mintPhase = 2;
        } else {
            mintPhase = 3;
        }
    }

    function secondsRemaining(uint end) internal view returns (uint) {
        if (block.timestamp <= end) {
            return end - block.timestamp;
        } else {
            return 0;
        }
    }

    function minutesRemaining(uint end) internal view returns (uint) {
        if (secondsRemaining(end) >= 60) {
            return (end - block.timestamp) / 60;
        } else {
            return 0;
        }
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "paris",
  "viaIR": true,
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_segments","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"string","name":"_word","type":"string"},{"indexed":false,"internalType":"uint256","name":"_points","type":"uint256"}],"name":"ComboCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"string","name":"_word","type":"string"}],"name":"ComboDestroyed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_finalBlock","type":"uint256"}],"name":"CountdownExtended","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"MetadataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokens","type":"uint256[]"}],"name":"combine","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"combinedWords","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"combos","outputs":[{"internalType":"string","name":"word","type":"string"},{"internalType":"uint256","name":"points","type":"uint256"},{"internalType":"uint256","name":"color","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finalMintingBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinutesRemaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getValue","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isCombinable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintCount","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleCombinable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"updateSegmentsContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080346200037657601f19906001600160401b0390601f90620030c33881900383810186168301858111848210176200028c578392829160405283396020928391810103126200037657516001600160a01b0394858216949185900362000376576200006a6200037b565b93620000756200037b565b85518481116200028c576002546001978882811c921680156200036b575b888310146200026b57818584931162000314575b508790858311600114620002ae57600092620002a2575b5050600019600383901b1c191690871b176002555b80519384116200028c576003948554938785811c9516801562000281575b828610146200026b5784848796116200020f575b5081938511600114620001a85750506000926200019c575b505060001982841b1c191690831b1790555b60005560085460018060a01b0319903382821617600855604051933391167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3660aa87bee538000600a5560ff19600b5416600b556009541617600955612d149081620003af8239f35b0151905038806200011d565b879593929193168660005283600020936000905b828210620001f55750508411620001dc575b505050811b0190556200012f565b015160001983861b60f8161c19169055388080620001ce565b8484015186558997909501949384019390810190620001bc565b90919293945086600052826000208580880160051c82019285891062000261575b9188978b9297969594930160051c01915b8281106200025157505062000105565b600081558897508a910162000241565b9250819262000230565b634e487b7160e01b600052602260045260246000fd5b94607f1694620000f1565b634e487b7160e01b600052604160045260246000fd5b015190503880620000be565b90868a9416916002600052896000209260005b8b828210620002fd5750508411620002e3575b505050811b01600255620000d3565b015160001960f88460031b161c19169055388080620002d4565b8385015186558d97909501949384019301620002c1565b9091506002600052876000208580850160051c8201928a861062000361575b918b91869594930160051c01915b82811062000351575050620000a7565b600081558594508b910162000341565b9250819262000333565b91607f169162000093565b600080fd5b60408051919082016001600160401b038111838210176200028c57604052600682526555434841525360d01b602083015256fe6080604052600436101561001257600080fd5b60003560e01c806301ffc9a71461020757806306fdde0314610202578063081812fc146101fd578063095ea7b3146101f85780630ff4c916146101f357806318160ddd146101ee57806321cf7ecf146101e957806323b872dd146101e457806325e514c6146101df57806337c5fa0d146101da5780633ccfd60b146101d557806342842e0e146101d05780636352211e146101cb57806370a08231146101c6578063715018a6146101c157806384f3c233146101bc5780638b3b2df2146101b75780638d6cc56d146101b25780638da5cb5b146101ad57806395d89b41146101a85780639659867e146101a3578063a035b1fe1461019e578063a0712d6814610199578063a22cb46514610194578063a6c56c791461018f578063aefa7c9b1461018a578063b88d4fde14610185578063b8be6e9814610180578063c87b56dd1461017b578063e985e9c5146101765763f2fde38b1461017157600080fd5b610fa7565b610f56565b610e77565b610e46565b610dec565b610d89565b610c76565b610be8565b610ad2565b610ab4565b610a92565b6109eb565b6109c2565b6109a1565b610948565b610876565b610818565b6107bd565b61078e565b61076b565b610730565b61070d565b610687565b6105cb565b610578565b610551565b610525565b610452565b6103d2565b6102ed565b610223565b6001600160e01b031981160361021e57565b600080fd5b3461021e57602036600319011261021e5760206004356102428161020c565b63ffffffff60e01b166301ffc9a760e01b8114908115610280575b811561026f575b506040519015158152f35b635b5e139f60e01b14905038610264565b6380ac58cd60e01b8114915061025d565b60005b8381106102a45750506000910152565b8181015183820152602001610294565b906020916102cd81518092818552858086019101610291565b601f01601f1916010190565b9060206102ea9281815201906102b4565b90565b3461021e576000806003193601126103cf57604051908060025461031081610c9c565b808552916001918083169081156103a5575060011461034a575b6103468561033a81870382610666565b604051918291826102d9565b0390f35b9250600283527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace5b82841061038d57505050810160200161033a8261034661032a565b80546020858701810191909152909301928101610372565b8695506103469693506020925061033a94915060ff191682840152151560051b820101929361032a565b80fd5b3461021e57602036600319011261021e576004356103ef81611156565b15610414576000526006602052602060018060a01b0360406000205416604051908152f35b6040516333d1c03960e21b8152600490fd5b600435906001600160a01b038216820361021e57565b602435906001600160a01b038216820361021e57565b604036600319011261021e57610466610426565b6024356001600160a01b038061047b836110de565b16908133036104d6575b600083815260066020526040812080546001600160a01b0319166001600160a01b0387161790559316907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258480a480f35b600082815260076020908152604080832033845290915290205460ff16610485576040516367d9dca160e11b8152600490fd5b9291906105206020916040865260408601906102b4565b930152565b3461021e57602036600319011261021e57610541600435611e53565b9061034660405192839283610509565b3461021e57600036600319011261021e576000546001546040519103600019018152602090f35b3461021e57600036600319011261021e576020600c54604051908152f35b606090600319011261021e576001600160a01b0390600435828116810361021e5791602435908116810361021e579060443590565b6105dd6105d736610596565b91611191565b005b634e487b7160e01b600052604160045260246000fd5b602081019081106001600160401b0382111761061057604052565b6105df565b606081019081106001600160401b0382111761061057604052565b604081019081106001600160401b0382111761061057604052565b60a081019081106001600160401b0382111761061057604052565b90601f801991011681019081106001600160401b0382111761061057604052565b3461021e5760208060031936011261021e576001600160401b0360043581811161021e573660238201121561021e578060040135918211610610578160051b604051926106d685830185610666565b83526024848401918301019136831161021e57602401905b8282106106fe576105dd84611987565b813581529084019084016106ee565b3461021e57600036600319011261021e57602060ff600b54166040519015158152f35b3461021e576000806003193601126103cf5761074a611070565b8080808047818115610762575b3390f1156103cf5780f35b506108fc610757565b6105dd61077736610596565b9060405192610785846105f5565b60008452611376565b3461021e57602036600319011261021e5760206001600160a01b036107b46004356110de565b16604051908152f35b3461021e57602036600319011261021e576001600160a01b036107de610426565b16801561080657600052600560205260206001600160401b0360406000205416604051908152f35b6040516323d3ad8160e21b8152600490fd5b3461021e576000806003193601126103cf57610832611070565b600880546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b3461021e57602036600319011261021e5761088f610426565b610897611070565b600980546001600160a01b0319166001600160a01b0392909216919091179055005b6001600160401b03811161061057601f01601f191660200190565b9291926108e0826108b9565b916108ee6040519384610666565b82948184528183011161021e578281602093846000960137010152565b9061091e60209282815194859201610291565b0190565b602061093b918160405193828580945193849201610291565b8101600e81520301902090565b3461021e57602036600319011261021e576004356001600160401b03811161021e573660238201121561021e5760ff61099561099060209336906024816004013591016108d4565b610922565b54166040519015158152f35b3461021e57602036600319011261021e576109ba611070565b600435600a55005b3461021e57600036600319011261021e576008546040516001600160a01b039091168152602090f35b3461021e576000806003193601126103cf576040519080600354610a0e81610c9c565b808552916001918083169081156103a55750600114610a37576103468561033a81870382610666565b9250600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b828410610a7a57505050810160200161033a8261034661032a565b80546020858701810191909152909301928101610a5f565b3461021e57600036600319011261021e57602060001960005401604051908152f35b3461021e57600036600319011261021e576020600a54604051908152f35b602036600319011261021e57600435610aed600a5482611517565b3410610bb2576000546105dd9190600019016103e882818310610b97575050610b21610b1a600c54612ca3565b1515611563565b611388828183109283610b82575b505050610b3d575b336115a0565b610b4e610b494261152a565b600c55565b600c546040519081527ff5b316bf09d21e0058eb23be118a6b81bd52674b4cb843e0f446b986ce22433e90602090a1610b37565b610b8d929350611556565b1015388281610b2f565b610ba19192611556565b10610b3757610b4e610b494261152a565b60405162461bcd60e51b815260206004820152600e60248201526d09cdee840cadcdeeaced0408aa8960931b6044820152606490fd5b3461021e57604036600319011261021e57610c01610426565b6024359081151580920361021e573360009081526007602090815260408083206001600160a01b0385168452909152902060ff1981541660ff841617905560405191825260018060a01b0316907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b3461021e57600036600319011261021e576020610c94600c54612cbd565b604051908152f35b90600182811c92168015610ccc575b6020831014610cb657565b634e487b7160e01b600052602260045260246000fd5b91607f1691610cab565b9060009291805491610ce783610c9c565b918282526001938481169081600014610d495750600114610d09575b50505050565b90919394506000526020928360002092846000945b838610610d35575050505001019038808080610d03565b805485870183015294019385908201610d1e565b9294505050602093945060ff191683830152151560051b01019038808080610d03565b90610d87610d809260405193848092610cd6565b0383610666565b565b3461021e57602036600319011261021e57600435600052600d602052610ddd604060002060405190610dbf82610d808184610cd6565b600260018201549101546040519384936060855260608501906102b4565b91602084015260408301520390f35b608036600319011261021e57610e00610426565b610e0861043c565b606435916001600160401b03831161021e573660238401121561021e57610e3c6105dd9336906024816004013591016108d4565b9160443591611376565b3461021e57600036600319011261021e57610e5f611070565b600b5460ff80821615169060ff191617600b55600080f35b3461021e57602036600319011261021e5761034661033a60043560008081838152600d602052610eaa6040822054610c9c565b1580610f165750505050610ed0610ecb82600052600d602052604060002090565b610d6c565b6001610ee683600052600d602052604060002090565b01546002610efe84600052600d602052604060002090565b0154916000935b6009546001600160a01b0316611f82565b80610f46575b15610f325750610f2a611363565b600193610f05565b915050610f3e826128df565b908293610f05565b50610f5084611156565b15610f1c565b3461021e57604036600319011261021e57602060ff610995610f76610426565b610f7e61043c565b6001600160a01b0391821660009081526007865260408082209290931681526020919091522090565b3461021e57602036600319011261021e57610fc0610426565b610fc8611070565b6001600160a01b0390811690811561101c57600854826bffffffffffffffffffffffff60a01b821617600855167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b6008546001600160a01b0316330361108457565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6001600160a01b03906110da906110de565b1690565b60008180600111156110fd575b604051636f96cda160e11b8152600490fd5b81548110156110eb5781526004906020918083526040928383205494600160e01b86161561112d575050506110eb565b93929190935b851561114157505050505090565b60001901808352818552838320549550611133565b80600111159081611185575b8161116b575090565b90506000526004602052600160e01b604060002054161590565b60005481109150611162565b9061119b836110de565b6001600160a01b0383811692828216849003611352576000868152600660205260409020805490926111e06001600160a01b03881633908114908414171590565b1590565b6112f7575b82169586156112e55761123893611216926112db575b506001600160a01b0316600090815260056020526040902090565b80546000190190556001600160a01b0316600090815260056020526040902090565b80546001019055600160e11b804260a01b851717611260866000526004602052604060002090565b55811615611291575b507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4565b600184016112a9816000526004602052604060002090565b54156112b6575b50611269565b60005481146112b0576112d3906000526004602052604060002090565b5538806112b0565b60009055386111fb565b604051633a954ecd60e21b8152600490fd5b61133b6111dc6113343361131d8b60018060a01b03166000526007602052604060002090565b9060018060a01b0316600052602052604060002090565b5460ff1690565b156111e557604051632ce44b5f60e11b8152600490fd5b60405162a1148160e81b8152600490fd5b60405190611370826105f5565b60008252565b929190611384828286611191565b803b6113905750505050565b6113999361143b565b156113a75738808080610d03565b6040516368d2bf6b60e11b8152600490fd5b9081602091031261021e57516102ea8161020c565b6001600160a01b0391821681529116602082015260408101919091526080606082018190526102ea929101906102b4565b6040513d6000823e3d90fd5b3d15611436573d9061141c826108b9565b9161142a6040519384610666565b82523d6000602084013e565b606090565b92602091611464936000604051809681958294630a85bd0160e11b9a8b855233600486016113ce565b03926001600160a01b03165af1600091816114b4575b506114a65761148761140b565b805190816114a1576040516368d2bf6b60e11b8152600490fd5b602001fd5b6001600160e01b0319161490565b6114d691925060203d81116114dd575b6114ce8183610666565b8101906113b9565b903861147a565b503d6114c4565b634e487b7160e01b600052601160045260246000fd5b600281901b91906001600160fe1b0381160361151257565b6114e4565b8181029291811591840414171561151257565b9062015180820180921161151257565b906002820180921161151257565b906001820180921161151257565b9190820180921161151257565b1561156a57565b60405162461bcd60e51b815260206004820152600e60248201526d135a5b9d081a5cc818db1bdcd95960921b6044820152606490fd5b906000908154928115611663576001600160a01b0381166000908152600560205260409020805468010000000000000001840201905560008481526004602052604090206001600160a01b03909116916001914260a01b83831460e11b1784179055840193817fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91808587858180a4015b85810361165457505050156116435755565b604051622e076360e81b8152600490fd5b8083918587858180a401611631565b60405163b562e8dd60e01b8152600490fd5b1561167c57565b60405162461bcd60e51b8152602060048201526014602482015273436f6d62696e696e67206e6f742061637469766560601b6044820152606490fd5b156116bf57565b60405162461bcd60e51b815260206004820152601060248201526f546f6f206d616e79206c65747465727360801b6044820152606490fd5b60001981146115125760010190565b634e487b7160e01b600052603260045260246000fd5b8051156117295760200190565b611706565b80518210156117295760209160051b010190565b1561174957565b60405162461bcd60e51b81526020600482015260136024820152724d757374206f776e20616c6c20746f6b656e7360681b6044820152606490fd5b60405190816000825461179681610c9c565b936001918083169081156117fb57506001146117be575b505060209250600e81520301902090565b90915060005260209081600020906000915b8583106117e75750505050602091810138806117ad565b8054878401528694509183019181016117d0565b92505050602093915060ff1916825280151502810138806117ad565b9060206102ea928181520190610cd6565b818110611833575050565b60008155600101611828565b9190601f811161184e57505050565b610d87926000526020600020906020601f840160051c8301931061187a575b601f0160051c0190611828565b909150819061186d565b6000906118918154610c9c565b601f811161189d575055565b818352602083206118b691601f0160051c810190611828565b55565b91909182516001600160401b038111610610576118e0816118da8454610c9c565b8461183f565b602080601f831160011461191c575081929394600092611911575b50508160011b916000199060031b1c1916179055565b0151905038806118fb565b90601f1983169561193285600052602060002090565b926000905b88821061196f57505083600195969710611956575b505050811b019055565b015160001960f88460031b161c1916905538808061194c565b80600185968294968601518155019501930190611937565b9061199c611997600b5460ff1690565b611675565b6119a960098351106116b8565b600091829060605b8151831015611a4157611a21611a35611a3b926119f0336119ea6119de6119d88a8a61172e565b516110c8565b6001600160a01b031690565b14611742565b611a27611a10611a09611a03898961172e565b51611e53565b909a611556565b98604051948593602085019061090b565b9061090b565b03601f198101835282610666565b926116f7565b916119b1565b909150805160048110611cfc57600810611cb757611a6161133482610922565b611c7c5760019384805b611ba7575b5091611b42917fec70968d148c9a8a0afe01ddf4653ec14be653ec537270de426ec5759922082e611b3a857ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce79798611b5397611adf611ace8861171c565b51600052600d602052604060002090565b91611aea8354610c9c565b611b58575b611af987846118b9565b8201556002611b10611b0a8861171c565b51612855565b910155611b2c611b1f85610922565b805460ff19166001179055565b604051918291339583610509565b0390a261171c565b516040519081529081906020820190565b0390a1565b611b6e611b6484611784565b805460ff19169055565b6040517f26282d986d7daabe2e1fbbb6de4ab3efe1dea5448cc24777f4d719f2334feafa339180611b9f8782611817565b0390a2611aef565b8351811015611c7757611c7181611bc8611bc289948861172e565b51611d4d565b7ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7611c69611bf9611ace848a61172e565b611c05611b6482611784565b6000600260409283517f26282d986d7daabe2e1fbbb6de4ab3efe1dea5448cc24777f4d719f2334feafa339180611c3c8582611817565b0390a2611c4881611884565b82898201550155611c59848a61172e565b5190519081529081906020820190565b0390a16116f7565b90611a6b565b611a70565b60405162461bcd60e51b8152602060048201526013602482015272576f726420616c72656164792065786973747360681b6044820152606490fd5b60405162461bcd60e51b815260206004820181905260248201527f576f7264206d757374206265206c657373207468616e2039206c6574746572736044820152606490fd5b60405162461bcd60e51b815260206004820152602360248201527f576f7264206d7573742062652067726561746572207468616e2033206c65747460448201526265727360e81b6064820152608490fd5b6000611d58826110de565b600083815260066020526040902080546001600160a01b038316929190611e4a575b506001600160a01b038216600090815260056020526040902080546fffffffffffffffffffffffffffffffff01905560008481526004602052604090204260a01b8317600360e01b179055600160e11b811615611e01575b507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8280a46001805401600155565b60018401611e19816000526004602052604060002090565b5415611e26575b50611dd2565b83548114611e2057611e42906000526004602052604060002090565b553880611e20565b83905538611d7a565b611e5c81611156565b611e775750604051611e6d816105f5565b6000815290600090565b80600052600d602052611e8e604060002054610c9c565b15611ec457600052600d602052604060002090611eb9611ec060018401549360405192838092610cd6565b0382610666565b9190565b611ecd906128df565b9091565b9060038110156117295760051b0190565b60208183031261021e578051906001600160401b03821161021e570181601f8201121561021e578051611f14816108b9565b92611f226040519485610666565b8184526020828401011161021e576102ea9160208085019101610291565b929190611f55906080855260808501906102b4565b9260208091016000905b60038210611f6d5750505050565b82806001928651815201940191019092611f5f565b9193909492611f918287612bf0565b93600090156121625750505090600091611fad611fca95612794565b9360405180968194829363b76c174b60e01b845260048401611f40565b03916001600160a01b03165afa90811561215d5761203361210261210792611a276120f46120076102ea97611a279960009161213c575b506125a3565b6040517003d913730b6b2911d10112aa1a420a9299607d1b6020820152958694611a2191906031870183565b7f205b4255524e45445d222c20226465736372697074696f6e223a20224c65747481527f65727320617265206172742c20616e642077652061726520617274697374732e60208201527f222c202261747472696275746573223a5b7b2274726169745f74797065223a2060408201527f224275726e6564222c202276616c7565223a2022596573227d5d2c2022696d6160608201527f6765223a2022646174613a696d6167652f7376672b786d6c3b6261736536342c608082015260a00190565b61227d60f01b815260020190565b6125a3565b6040517f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006020820152928391603d8301611a21565b612157913d8091833e61214f8183610666565b810190611ee2565b38612001565b6113ff565b909493919561217961217382612794565b96612794565b9661219e61219861219361218d8951612794565b94612c82565b612794565b9161268f565b916121a98551612794565b936121e7816121bb6020890151612794565b976121c96040820151612794565b998b60405180958194829363b76c174b60e01b845260048401611f40565b03916001600160a01b03165afa90811561215d578261220d93926124f7575b50506125a3565b6040517003d913730b6b2911d10112aa1a420a9299607d1b6020820152998a9991989160318b0161223d9161090b565b7f222c20226465736372697074696f6e223a20224c65747465727320617265206181527f72742c20616e642077652061726520617274697374732e222c2022617474726960208201527f6275746573223a5b7b2274726169745f74797065223a2022506f696e7473222c604082015269010113b30b63ab2911d160b51b6060820152606a016122cb9161090b565b7f7d2c7b2274726169745f74797065223a202243686172222c202276616c7565228152621d101160e91b60208201526023016123069161090b565b7f227d2c7b2274726169745f74797065223a20224c656e677468222c20226d617881527402fbb30b63ab2911d101c1610113b30b63ab2911d1605d1b60208201526035016123539161090b565b7f7d2c7b22646973706c61795f74797065223a20226e756d626572222c2022747281527f6169745f74797065223a20224d696e74205068617365222c202276616c75652260208201526101d160f51b60408201526042016123b39161090b565b7f7d2c7b2274726169745f74797065223a20224275726e6564222c202276616c7581527f65223a20224e6f227d2c7b2274726169745f74797065223a202242617365204360208201527037b637b9111610113b30b63ab2911d101160791b60408201526051016124229161090b565b7f227d2c7b2274726169745f74797065223a2022436f6c6f72222c202276616c758152680ca44744044a48e84560bb1b60208201526029016124639161090b565b600b60fa1b81526001016124769161090b565b600b60fa1b81526001016124899161090b565b7f29227d5d2c2022696d616765223a2022646174613a696d6167652f7376672b788152691b5b0ed8985cd94d8d0b60b21b6020820152602a016124cb9161090b565b61227d60f01b815260020103601f19810182526124e89082610666565b6102ea612107611a27926125a3565b61250b92503d8091833e61214f8183610666565b3880612206565b6040519061251f82610615565b604082527f6768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f6040837f4142434445464748494a4b4c4d4e4f505152535455565758595a61626364656660208201520152565b9061257b826108b9565b6125886040519182610666565b8281528092612599601f19916108b9565b0190602036910137565b805115612675576125b2612512565b6125d66125d16125cc6125c5855161153a565b6003900490565b6114fa565b612571565b9160208301918182518301915b8282106126235750505060039051068060011461261057600214612605575090565b603d90600019015390565b50603d9081600019820153600119015390565b9091936004906003809401938451600190603f9082828260121c16880101518553828282600c1c16880101518386015382828260061c16880101516002860153168501015190820153019391906125e3565b506102ea611363565b9060048110156117295760051b0190565b604090815160808101928184106001600160401b0385111761061057836127359482526126bb81610630565b6005815264576869746560d81b60a0840152825280516126da81610630565b600381526214995960ea1b6020820152602083015280516126fa81610630565b600581526423b932b2b760d91b6020820152818301525161271a81610630565b6004815263426c756560e01b6020820152606082015261267e565b5190565b6040519061274682610630565b6001825260203681840137565b9190820391821161151257565b60ff166030019060ff821161151257565b60ff60019116019060ff821161151257565b908151811015611729570160200190565b801561283757806000908282935b6128235750806127b184612571565b93915b6127be5750505090565b60001982019182116115125781600a9182810492808402908482041484151715611512576128036127fe6127f86128139361281c95612753565b60ff1690565b612760565b60f81b6001600160f81b03191690565b851a9186612783565b53806127b4565b9261282f600a916116f7565b9304806127a2565b5060405161284481610630565b60018152600360fc1b602082015290565b611b39810180911161151257600390604051602081019182526020815261287b81610630565b51902006600403600481116115125760001981019081116115125790565b611b3981018091116115125760ff9060405160208101918252602081526128bf81610630565b519020166101009081039081116115125760001981019081116115125790565b611b39810180911161151257606490604051602081019182526020815261290581610630565b51902006606403906064821161151257600019820191821161151257612929612739565b916129cc6040519161293a8361064b565b606483527f48545a52445448534d4f434c415356594f46505449454e45464e4348534d4f5460208401527f4f4153545745534b52454e454943555141494c49414148445452454d4e53524160408401527f4450424545574945455444524947494f554f4c594f4a524e54554f4e45485447606084015263584c454160e01b60808401526001600160f81b031992612783565b511660001a8251156117295760208301536102ea612a0d6127f8612a08612a036129f58761171c565b516001600160f81b03191690565b612a12565b612771565b612a24565b60f81c6040190160ff81116115125790565b600090600181148015612bd2575b8015612bc8575b8015612bbe575b8015612bb4575b8015612baa575b8015612ba0575b15612a61575050600190565b600481148015612b96575b8015612b8c575b8015612b82575b15612a86575050600290565b600781148015612b78575b8015612b6e575b15612aa4575050600390565b600281148015612b64575b8015612b5a575b8015612b50575b8015612b46575b8015612b3c575b15612ad7575050600490565b600b81148015612b32575b15612aee575050600590565b60188103612afd575050600890565b600a8114908115612b27575b8115612b1c575b50156102ea5750600a90565b601a91501438612b10565b601181149150612b09565b5060168114612ae2565b5060178114612acb565b5060108114612ac4565b50600d8114612abd565b5060068114612ab6565b5060038114612aaf565b5060198114612a98565b5060088114612a91565b5060158114612a7a565b50600e8114612a73565b50600c8114612a6c565b5060148114612a55565b5060138114612a4e565b5060128114612a47565b50600f8114612a40565b5060098114612a39565b5060058114612a32565b60405190612be982610615565b6060368337565b919091612bfb612bdc565b908315612c5a5760005b60038110612c14575090925050565b80612c21612c3992611548565b8603612c3e5760ff612c338286611ed1565b526116f7565b612c05565b612c50612c4b8285611556565b612899565b612c338286611ed1565b5090915060005b60038110612c6d575090565b8060ff612c33612c7d9385611ed1565b612c61565b6103e88111612c915750600190565b61138810612c9e57600290565b600390565b428110612cb7574281039081116115125790565b50600090565b603c612cc882612ca3565b10612cb75742810390811161151257603c90049056fea26469706673582212203a98e03444d2dd7b15bdb23220eaeb1e62d5abb06097e3183a3d4e489d2b1ae464736f6c63430008120033000000000000000000000000fe63aab372efc0589331d4ac7a0dcbc836c949f8

Deployed Bytecode

0x6080604052600436101561001257600080fd5b60003560e01c806301ffc9a71461020757806306fdde0314610202578063081812fc146101fd578063095ea7b3146101f85780630ff4c916146101f357806318160ddd146101ee57806321cf7ecf146101e957806323b872dd146101e457806325e514c6146101df57806337c5fa0d146101da5780633ccfd60b146101d557806342842e0e146101d05780636352211e146101cb57806370a08231146101c6578063715018a6146101c157806384f3c233146101bc5780638b3b2df2146101b75780638d6cc56d146101b25780638da5cb5b146101ad57806395d89b41146101a85780639659867e146101a3578063a035b1fe1461019e578063a0712d6814610199578063a22cb46514610194578063a6c56c791461018f578063aefa7c9b1461018a578063b88d4fde14610185578063b8be6e9814610180578063c87b56dd1461017b578063e985e9c5146101765763f2fde38b1461017157600080fd5b610fa7565b610f56565b610e77565b610e46565b610dec565b610d89565b610c76565b610be8565b610ad2565b610ab4565b610a92565b6109eb565b6109c2565b6109a1565b610948565b610876565b610818565b6107bd565b61078e565b61076b565b610730565b61070d565b610687565b6105cb565b610578565b610551565b610525565b610452565b6103d2565b6102ed565b610223565b6001600160e01b031981160361021e57565b600080fd5b3461021e57602036600319011261021e5760206004356102428161020c565b63ffffffff60e01b166301ffc9a760e01b8114908115610280575b811561026f575b506040519015158152f35b635b5e139f60e01b14905038610264565b6380ac58cd60e01b8114915061025d565b60005b8381106102a45750506000910152565b8181015183820152602001610294565b906020916102cd81518092818552858086019101610291565b601f01601f1916010190565b9060206102ea9281815201906102b4565b90565b3461021e576000806003193601126103cf57604051908060025461031081610c9c565b808552916001918083169081156103a5575060011461034a575b6103468561033a81870382610666565b604051918291826102d9565b0390f35b9250600283527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace5b82841061038d57505050810160200161033a8261034661032a565b80546020858701810191909152909301928101610372565b8695506103469693506020925061033a94915060ff191682840152151560051b820101929361032a565b80fd5b3461021e57602036600319011261021e576004356103ef81611156565b15610414576000526006602052602060018060a01b0360406000205416604051908152f35b6040516333d1c03960e21b8152600490fd5b600435906001600160a01b038216820361021e57565b602435906001600160a01b038216820361021e57565b604036600319011261021e57610466610426565b6024356001600160a01b038061047b836110de565b16908133036104d6575b600083815260066020526040812080546001600160a01b0319166001600160a01b0387161790559316907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258480a480f35b600082815260076020908152604080832033845290915290205460ff16610485576040516367d9dca160e11b8152600490fd5b9291906105206020916040865260408601906102b4565b930152565b3461021e57602036600319011261021e57610541600435611e53565b9061034660405192839283610509565b3461021e57600036600319011261021e576000546001546040519103600019018152602090f35b3461021e57600036600319011261021e576020600c54604051908152f35b606090600319011261021e576001600160a01b0390600435828116810361021e5791602435908116810361021e579060443590565b6105dd6105d736610596565b91611191565b005b634e487b7160e01b600052604160045260246000fd5b602081019081106001600160401b0382111761061057604052565b6105df565b606081019081106001600160401b0382111761061057604052565b604081019081106001600160401b0382111761061057604052565b60a081019081106001600160401b0382111761061057604052565b90601f801991011681019081106001600160401b0382111761061057604052565b3461021e5760208060031936011261021e576001600160401b0360043581811161021e573660238201121561021e578060040135918211610610578160051b604051926106d685830185610666565b83526024848401918301019136831161021e57602401905b8282106106fe576105dd84611987565b813581529084019084016106ee565b3461021e57600036600319011261021e57602060ff600b54166040519015158152f35b3461021e576000806003193601126103cf5761074a611070565b8080808047818115610762575b3390f1156103cf5780f35b506108fc610757565b6105dd61077736610596565b9060405192610785846105f5565b60008452611376565b3461021e57602036600319011261021e5760206001600160a01b036107b46004356110de565b16604051908152f35b3461021e57602036600319011261021e576001600160a01b036107de610426565b16801561080657600052600560205260206001600160401b0360406000205416604051908152f35b6040516323d3ad8160e21b8152600490fd5b3461021e576000806003193601126103cf57610832611070565b600880546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b3461021e57602036600319011261021e5761088f610426565b610897611070565b600980546001600160a01b0319166001600160a01b0392909216919091179055005b6001600160401b03811161061057601f01601f191660200190565b9291926108e0826108b9565b916108ee6040519384610666565b82948184528183011161021e578281602093846000960137010152565b9061091e60209282815194859201610291565b0190565b602061093b918160405193828580945193849201610291565b8101600e81520301902090565b3461021e57602036600319011261021e576004356001600160401b03811161021e573660238201121561021e5760ff61099561099060209336906024816004013591016108d4565b610922565b54166040519015158152f35b3461021e57602036600319011261021e576109ba611070565b600435600a55005b3461021e57600036600319011261021e576008546040516001600160a01b039091168152602090f35b3461021e576000806003193601126103cf576040519080600354610a0e81610c9c565b808552916001918083169081156103a55750600114610a37576103468561033a81870382610666565b9250600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b828410610a7a57505050810160200161033a8261034661032a565b80546020858701810191909152909301928101610a5f565b3461021e57600036600319011261021e57602060001960005401604051908152f35b3461021e57600036600319011261021e576020600a54604051908152f35b602036600319011261021e57600435610aed600a5482611517565b3410610bb2576000546105dd9190600019016103e882818310610b97575050610b21610b1a600c54612ca3565b1515611563565b611388828183109283610b82575b505050610b3d575b336115a0565b610b4e610b494261152a565b600c55565b600c546040519081527ff5b316bf09d21e0058eb23be118a6b81bd52674b4cb843e0f446b986ce22433e90602090a1610b37565b610b8d929350611556565b1015388281610b2f565b610ba19192611556565b10610b3757610b4e610b494261152a565b60405162461bcd60e51b815260206004820152600e60248201526d09cdee840cadcdeeaced0408aa8960931b6044820152606490fd5b3461021e57604036600319011261021e57610c01610426565b6024359081151580920361021e573360009081526007602090815260408083206001600160a01b0385168452909152902060ff1981541660ff841617905560405191825260018060a01b0316907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b3461021e57600036600319011261021e576020610c94600c54612cbd565b604051908152f35b90600182811c92168015610ccc575b6020831014610cb657565b634e487b7160e01b600052602260045260246000fd5b91607f1691610cab565b9060009291805491610ce783610c9c565b918282526001938481169081600014610d495750600114610d09575b50505050565b90919394506000526020928360002092846000945b838610610d35575050505001019038808080610d03565b805485870183015294019385908201610d1e565b9294505050602093945060ff191683830152151560051b01019038808080610d03565b90610d87610d809260405193848092610cd6565b0383610666565b565b3461021e57602036600319011261021e57600435600052600d602052610ddd604060002060405190610dbf82610d808184610cd6565b600260018201549101546040519384936060855260608501906102b4565b91602084015260408301520390f35b608036600319011261021e57610e00610426565b610e0861043c565b606435916001600160401b03831161021e573660238401121561021e57610e3c6105dd9336906024816004013591016108d4565b9160443591611376565b3461021e57600036600319011261021e57610e5f611070565b600b5460ff80821615169060ff191617600b55600080f35b3461021e57602036600319011261021e5761034661033a60043560008081838152600d602052610eaa6040822054610c9c565b1580610f165750505050610ed0610ecb82600052600d602052604060002090565b610d6c565b6001610ee683600052600d602052604060002090565b01546002610efe84600052600d602052604060002090565b0154916000935b6009546001600160a01b0316611f82565b80610f46575b15610f325750610f2a611363565b600193610f05565b915050610f3e826128df565b908293610f05565b50610f5084611156565b15610f1c565b3461021e57604036600319011261021e57602060ff610995610f76610426565b610f7e61043c565b6001600160a01b0391821660009081526007865260408082209290931681526020919091522090565b3461021e57602036600319011261021e57610fc0610426565b610fc8611070565b6001600160a01b0390811690811561101c57600854826bffffffffffffffffffffffff60a01b821617600855167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b6008546001600160a01b0316330361108457565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6001600160a01b03906110da906110de565b1690565b60008180600111156110fd575b604051636f96cda160e11b8152600490fd5b81548110156110eb5781526004906020918083526040928383205494600160e01b86161561112d575050506110eb565b93929190935b851561114157505050505090565b60001901808352818552838320549550611133565b80600111159081611185575b8161116b575090565b90506000526004602052600160e01b604060002054161590565b60005481109150611162565b9061119b836110de565b6001600160a01b0383811692828216849003611352576000868152600660205260409020805490926111e06001600160a01b03881633908114908414171590565b1590565b6112f7575b82169586156112e55761123893611216926112db575b506001600160a01b0316600090815260056020526040902090565b80546000190190556001600160a01b0316600090815260056020526040902090565b80546001019055600160e11b804260a01b851717611260866000526004602052604060002090565b55811615611291575b507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4565b600184016112a9816000526004602052604060002090565b54156112b6575b50611269565b60005481146112b0576112d3906000526004602052604060002090565b5538806112b0565b60009055386111fb565b604051633a954ecd60e21b8152600490fd5b61133b6111dc6113343361131d8b60018060a01b03166000526007602052604060002090565b9060018060a01b0316600052602052604060002090565b5460ff1690565b156111e557604051632ce44b5f60e11b8152600490fd5b60405162a1148160e81b8152600490fd5b60405190611370826105f5565b60008252565b929190611384828286611191565b803b6113905750505050565b6113999361143b565b156113a75738808080610d03565b6040516368d2bf6b60e11b8152600490fd5b9081602091031261021e57516102ea8161020c565b6001600160a01b0391821681529116602082015260408101919091526080606082018190526102ea929101906102b4565b6040513d6000823e3d90fd5b3d15611436573d9061141c826108b9565b9161142a6040519384610666565b82523d6000602084013e565b606090565b92602091611464936000604051809681958294630a85bd0160e11b9a8b855233600486016113ce565b03926001600160a01b03165af1600091816114b4575b506114a65761148761140b565b805190816114a1576040516368d2bf6b60e11b8152600490fd5b602001fd5b6001600160e01b0319161490565b6114d691925060203d81116114dd575b6114ce8183610666565b8101906113b9565b903861147a565b503d6114c4565b634e487b7160e01b600052601160045260246000fd5b600281901b91906001600160fe1b0381160361151257565b6114e4565b8181029291811591840414171561151257565b9062015180820180921161151257565b906002820180921161151257565b906001820180921161151257565b9190820180921161151257565b1561156a57565b60405162461bcd60e51b815260206004820152600e60248201526d135a5b9d081a5cc818db1bdcd95960921b6044820152606490fd5b906000908154928115611663576001600160a01b0381166000908152600560205260409020805468010000000000000001840201905560008481526004602052604090206001600160a01b03909116916001914260a01b83831460e11b1784179055840193817fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91808587858180a4015b85810361165457505050156116435755565b604051622e076360e81b8152600490fd5b8083918587858180a401611631565b60405163b562e8dd60e01b8152600490fd5b1561167c57565b60405162461bcd60e51b8152602060048201526014602482015273436f6d62696e696e67206e6f742061637469766560601b6044820152606490fd5b156116bf57565b60405162461bcd60e51b815260206004820152601060248201526f546f6f206d616e79206c65747465727360801b6044820152606490fd5b60001981146115125760010190565b634e487b7160e01b600052603260045260246000fd5b8051156117295760200190565b611706565b80518210156117295760209160051b010190565b1561174957565b60405162461bcd60e51b81526020600482015260136024820152724d757374206f776e20616c6c20746f6b656e7360681b6044820152606490fd5b60405190816000825461179681610c9c565b936001918083169081156117fb57506001146117be575b505060209250600e81520301902090565b90915060005260209081600020906000915b8583106117e75750505050602091810138806117ad565b8054878401528694509183019181016117d0565b92505050602093915060ff1916825280151502810138806117ad565b9060206102ea928181520190610cd6565b818110611833575050565b60008155600101611828565b9190601f811161184e57505050565b610d87926000526020600020906020601f840160051c8301931061187a575b601f0160051c0190611828565b909150819061186d565b6000906118918154610c9c565b601f811161189d575055565b818352602083206118b691601f0160051c810190611828565b55565b91909182516001600160401b038111610610576118e0816118da8454610c9c565b8461183f565b602080601f831160011461191c575081929394600092611911575b50508160011b916000199060031b1c1916179055565b0151905038806118fb565b90601f1983169561193285600052602060002090565b926000905b88821061196f57505083600195969710611956575b505050811b019055565b015160001960f88460031b161c1916905538808061194c565b80600185968294968601518155019501930190611937565b9061199c611997600b5460ff1690565b611675565b6119a960098351106116b8565b600091829060605b8151831015611a4157611a21611a35611a3b926119f0336119ea6119de6119d88a8a61172e565b516110c8565b6001600160a01b031690565b14611742565b611a27611a10611a09611a03898961172e565b51611e53565b909a611556565b98604051948593602085019061090b565b9061090b565b03601f198101835282610666565b926116f7565b916119b1565b909150805160048110611cfc57600810611cb757611a6161133482610922565b611c7c5760019384805b611ba7575b5091611b42917fec70968d148c9a8a0afe01ddf4653ec14be653ec537270de426ec5759922082e611b3a857ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce79798611b5397611adf611ace8861171c565b51600052600d602052604060002090565b91611aea8354610c9c565b611b58575b611af987846118b9565b8201556002611b10611b0a8861171c565b51612855565b910155611b2c611b1f85610922565b805460ff19166001179055565b604051918291339583610509565b0390a261171c565b516040519081529081906020820190565b0390a1565b611b6e611b6484611784565b805460ff19169055565b6040517f26282d986d7daabe2e1fbbb6de4ab3efe1dea5448cc24777f4d719f2334feafa339180611b9f8782611817565b0390a2611aef565b8351811015611c7757611c7181611bc8611bc289948861172e565b51611d4d565b7ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7611c69611bf9611ace848a61172e565b611c05611b6482611784565b6000600260409283517f26282d986d7daabe2e1fbbb6de4ab3efe1dea5448cc24777f4d719f2334feafa339180611c3c8582611817565b0390a2611c4881611884565b82898201550155611c59848a61172e565b5190519081529081906020820190565b0390a16116f7565b90611a6b565b611a70565b60405162461bcd60e51b8152602060048201526013602482015272576f726420616c72656164792065786973747360681b6044820152606490fd5b60405162461bcd60e51b815260206004820181905260248201527f576f7264206d757374206265206c657373207468616e2039206c6574746572736044820152606490fd5b60405162461bcd60e51b815260206004820152602360248201527f576f7264206d7573742062652067726561746572207468616e2033206c65747460448201526265727360e81b6064820152608490fd5b6000611d58826110de565b600083815260066020526040902080546001600160a01b038316929190611e4a575b506001600160a01b038216600090815260056020526040902080546fffffffffffffffffffffffffffffffff01905560008481526004602052604090204260a01b8317600360e01b179055600160e11b811615611e01575b507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8280a46001805401600155565b60018401611e19816000526004602052604060002090565b5415611e26575b50611dd2565b83548114611e2057611e42906000526004602052604060002090565b553880611e20565b83905538611d7a565b611e5c81611156565b611e775750604051611e6d816105f5565b6000815290600090565b80600052600d602052611e8e604060002054610c9c565b15611ec457600052600d602052604060002090611eb9611ec060018401549360405192838092610cd6565b0382610666565b9190565b611ecd906128df565b9091565b9060038110156117295760051b0190565b60208183031261021e578051906001600160401b03821161021e570181601f8201121561021e578051611f14816108b9565b92611f226040519485610666565b8184526020828401011161021e576102ea9160208085019101610291565b929190611f55906080855260808501906102b4565b9260208091016000905b60038210611f6d5750505050565b82806001928651815201940191019092611f5f565b9193909492611f918287612bf0565b93600090156121625750505090600091611fad611fca95612794565b9360405180968194829363b76c174b60e01b845260048401611f40565b03916001600160a01b03165afa90811561215d5761203361210261210792611a276120f46120076102ea97611a279960009161213c575b506125a3565b6040517003d913730b6b2911d10112aa1a420a9299607d1b6020820152958694611a2191906031870183565b7f205b4255524e45445d222c20226465736372697074696f6e223a20224c65747481527f65727320617265206172742c20616e642077652061726520617274697374732e60208201527f222c202261747472696275746573223a5b7b2274726169745f74797065223a2060408201527f224275726e6564222c202276616c7565223a2022596573227d5d2c2022696d6160608201527f6765223a2022646174613a696d6167652f7376672b786d6c3b6261736536342c608082015260a00190565b61227d60f01b815260020190565b6125a3565b6040517f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006020820152928391603d8301611a21565b612157913d8091833e61214f8183610666565b810190611ee2565b38612001565b6113ff565b909493919561217961217382612794565b96612794565b9661219e61219861219361218d8951612794565b94612c82565b612794565b9161268f565b916121a98551612794565b936121e7816121bb6020890151612794565b976121c96040820151612794565b998b60405180958194829363b76c174b60e01b845260048401611f40565b03916001600160a01b03165afa90811561215d578261220d93926124f7575b50506125a3565b6040517003d913730b6b2911d10112aa1a420a9299607d1b6020820152998a9991989160318b0161223d9161090b565b7f222c20226465736372697074696f6e223a20224c65747465727320617265206181527f72742c20616e642077652061726520617274697374732e222c2022617474726960208201527f6275746573223a5b7b2274726169745f74797065223a2022506f696e7473222c604082015269010113b30b63ab2911d160b51b6060820152606a016122cb9161090b565b7f7d2c7b2274726169745f74797065223a202243686172222c202276616c7565228152621d101160e91b60208201526023016123069161090b565b7f227d2c7b2274726169745f74797065223a20224c656e677468222c20226d617881527402fbb30b63ab2911d101c1610113b30b63ab2911d1605d1b60208201526035016123539161090b565b7f7d2c7b22646973706c61795f74797065223a20226e756d626572222c2022747281527f6169745f74797065223a20224d696e74205068617365222c202276616c75652260208201526101d160f51b60408201526042016123b39161090b565b7f7d2c7b2274726169745f74797065223a20224275726e6564222c202276616c7581527f65223a20224e6f227d2c7b2274726169745f74797065223a202242617365204360208201527037b637b9111610113b30b63ab2911d101160791b60408201526051016124229161090b565b7f227d2c7b2274726169745f74797065223a2022436f6c6f72222c202276616c758152680ca44744044a48e84560bb1b60208201526029016124639161090b565b600b60fa1b81526001016124769161090b565b600b60fa1b81526001016124899161090b565b7f29227d5d2c2022696d616765223a2022646174613a696d6167652f7376672b788152691b5b0ed8985cd94d8d0b60b21b6020820152602a016124cb9161090b565b61227d60f01b815260020103601f19810182526124e89082610666565b6102ea612107611a27926125a3565b61250b92503d8091833e61214f8183610666565b3880612206565b6040519061251f82610615565b604082527f6768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f6040837f4142434445464748494a4b4c4d4e4f505152535455565758595a61626364656660208201520152565b9061257b826108b9565b6125886040519182610666565b8281528092612599601f19916108b9565b0190602036910137565b805115612675576125b2612512565b6125d66125d16125cc6125c5855161153a565b6003900490565b6114fa565b612571565b9160208301918182518301915b8282106126235750505060039051068060011461261057600214612605575090565b603d90600019015390565b50603d9081600019820153600119015390565b9091936004906003809401938451600190603f9082828260121c16880101518553828282600c1c16880101518386015382828260061c16880101516002860153168501015190820153019391906125e3565b506102ea611363565b9060048110156117295760051b0190565b604090815160808101928184106001600160401b0385111761061057836127359482526126bb81610630565b6005815264576869746560d81b60a0840152825280516126da81610630565b600381526214995960ea1b6020820152602083015280516126fa81610630565b600581526423b932b2b760d91b6020820152818301525161271a81610630565b6004815263426c756560e01b6020820152606082015261267e565b5190565b6040519061274682610630565b6001825260203681840137565b9190820391821161151257565b60ff166030019060ff821161151257565b60ff60019116019060ff821161151257565b908151811015611729570160200190565b801561283757806000908282935b6128235750806127b184612571565b93915b6127be5750505090565b60001982019182116115125781600a9182810492808402908482041484151715611512576128036127fe6127f86128139361281c95612753565b60ff1690565b612760565b60f81b6001600160f81b03191690565b851a9186612783565b53806127b4565b9261282f600a916116f7565b9304806127a2565b5060405161284481610630565b60018152600360fc1b602082015290565b611b39810180911161151257600390604051602081019182526020815261287b81610630565b51902006600403600481116115125760001981019081116115125790565b611b3981018091116115125760ff9060405160208101918252602081526128bf81610630565b519020166101009081039081116115125760001981019081116115125790565b611b39810180911161151257606490604051602081019182526020815261290581610630565b51902006606403906064821161151257600019820191821161151257612929612739565b916129cc6040519161293a8361064b565b606483527f48545a52445448534d4f434c415356594f46505449454e45464e4348534d4f5460208401527f4f4153545745534b52454e454943555141494c49414148445452454d4e53524160408401527f4450424545574945455444524947494f554f4c594f4a524e54554f4e45485447606084015263584c454160e01b60808401526001600160f81b031992612783565b511660001a8251156117295760208301536102ea612a0d6127f8612a08612a036129f58761171c565b516001600160f81b03191690565b612a12565b612771565b612a24565b60f81c6040190160ff81116115125790565b600090600181148015612bd2575b8015612bc8575b8015612bbe575b8015612bb4575b8015612baa575b8015612ba0575b15612a61575050600190565b600481148015612b96575b8015612b8c575b8015612b82575b15612a86575050600290565b600781148015612b78575b8015612b6e575b15612aa4575050600390565b600281148015612b64575b8015612b5a575b8015612b50575b8015612b46575b8015612b3c575b15612ad7575050600490565b600b81148015612b32575b15612aee575050600590565b60188103612afd575050600890565b600a8114908115612b27575b8115612b1c575b50156102ea5750600a90565b601a91501438612b10565b601181149150612b09565b5060168114612ae2565b5060178114612acb565b5060108114612ac4565b50600d8114612abd565b5060068114612ab6565b5060038114612aaf565b5060198114612a98565b5060088114612a91565b5060158114612a7a565b50600e8114612a73565b50600c8114612a6c565b5060148114612a55565b5060138114612a4e565b5060128114612a47565b50600f8114612a40565b5060098114612a39565b5060058114612a32565b60405190612be982610615565b6060368337565b919091612bfb612bdc565b908315612c5a5760005b60038110612c14575090925050565b80612c21612c3992611548565b8603612c3e5760ff612c338286611ed1565b526116f7565b612c05565b612c50612c4b8285611556565b612899565b612c338286611ed1565b5090915060005b60038110612c6d575090565b8060ff612c33612c7d9385611ed1565b612c61565b6103e88111612c915750600190565b61138810612c9e57600290565b600390565b428110612cb7574281039081116115125790565b50600090565b603c612cc882612ca3565b10612cb75742810390811161151257603c90049056fea26469706673582212203a98e03444d2dd7b15bdb23220eaeb1e62d5abb06097e3183a3d4e489d2b1ae464736f6c63430008120033

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

000000000000000000000000fe63aab372efc0589331d4ac7a0dcbc836c949f8

-----Decoded View---------------
Arg [0] : _segments (address): 0xFe63Aab372EFc0589331D4Ac7a0DCbc836C949F8

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000fe63aab372efc0589331d4ac7a0dcbc836c949f8


Deployed Bytecode Sourcemap

1426:5326:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;-1:-1:-1;;;;;;1426:5326:5;;;;;:::o;:::-;;;;;;;;;;-1:-1:-1;;1426:5326:5;;;;;;;;;;:::i;:::-;;;;;;;;9558:25:3;;:101;;;;;1426:5326:5;9558:177:3;;;;1426:5326:5;;;;;;;;;;9558:177:3;-1:-1:-1;;;9710:25:3;;-1:-1:-1;9558:177:3;;;:101;-1:-1:-1;;;9634:25:3;;;-1:-1:-1;9558:101:3;;1426:5326:5;;;;;;;;-1:-1:-1;;1426:5326:5;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;1426:5326:5;;;;:::o;:::-;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;10125:5:3;1426:5326:5;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;10125:5:3;1426:5326:5;;;;;;;;;-1:-1:-1;;;1426:5326:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1426:5326:5;;;;;;16460:16:3;;;:::i;:::-;16459:17;16455:64;;-1:-1:-1;1426:5326:5;16537:15:3;1426:5326:5;;;;;;;;;-1:-1:-1;1426:5326:5;;;;;;;;;16455:64:3;1426:5326:5;;-1:-1:-1;;;16485:34:3;;1426:5326:5;;16485:34:3;1426:5326:5;;;;-1:-1:-1;;;;;1426:5326:5;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1426:5326:5;;;;;;:::o;:::-;;;-1:-1:-1;;1426:5326:5;;;;;;:::i;:::-;;;-1:-1:-1;;;;;1426:5326:5;11505:27:3;1426:5326:5;11505:27:3;:::i;:::-;1426:5326:5;719:10:2;;;15947:28:3;15943:172;;1426:5326:5;-1:-1:-1;1426:5326:5;;;16125:15:3;1426:5326:5;;;;;;;-1:-1:-1;;;;;;1426:5326:5;-1:-1:-1;;;;;1426:5326:5;;;;;-1:-1:-1;1426:5326:5;16175:28:3;;;;;1426:5326:5;;15943:172:3;-1:-1:-1;1426:5326:5;;;17402:18:3;1426:5326:5;;;;;;;;719:10:2;1426:5326:5;;;;;;;;;;15943:172:3;15989:126;1426:5326:5;;-1:-1:-1;;;16065:35:3;;1426:5326:5;;16065:35:3;1426:5326:5;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;-1:-1:-1;;1426:5326:5;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;1426:5326:5;;;;;;6164:12:3;1426:5326:5;;;;;-1:-1:-1;;1426:5326:5;;;;;;;;;;;;-1:-1:-1;;1426:5326:5;;;;;1796:32;1426:5326;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1426:5326:5;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1426:5326:5;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;-1:-1:-1;;;;;1426:5326:5;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;1426:5326:5;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;1426:5326:5;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;1426:5326:5;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;1426:5326:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1426:5326:5;;;;;;1758:32;1426:5326;;;;;;;;;;;;;;;;;;;;;;;1063:62:0;;:::i;:::-;6720:21:5;;;;;6695:47;;;;;1426:5326;6703:10;6695:47;;1426:5326;;;;;6695:47;;;;;1426:5326;22899:39:3;1426:5326:5;;;:::i;:::-;;;;;;;;:::i;:::-;;;;22899:39:3;:::i;1426:5326:5:-;;;;;;-1:-1:-1;;1426:5326:5;;;;;-1:-1:-1;;;;;11505:27:3;1426:5326:5;;11505:27:3;:::i;:::-;1426:5326:5;;;;;;;;;;;;;-1:-1:-1;;1426:5326:5;;;;-1:-1:-1;;;;;1426:5326:5;;:::i;:::-;;7140:19:3;;7136:60;;-1:-1:-1;1426:5326:5;7213:18:3;1426:5326:5;;;-1:-1:-1;;;;;1426:5326:5;-1:-1:-1;1426:5326:5;;7213:55:3;1426:5326:5;;;;;;7136:60:3;1426:5326:5;;-1:-1:-1;;;7168:28:3;;1426:5326:5;;7168:28:3;1426:5326:5;;;;;;;;;;;;;1063:62:0;;:::i;:::-;2525:6;1426:5326:5;;-1:-1:-1;;;;;;1426:5326:5;;;;;;;-1:-1:-1;;;;;1426:5326:5;2573:40:0;1426:5326:5;;2573:40:0;1426:5326:5;;;;;;;;-1:-1:-1;;1426:5326:5;;;;;;:::i;:::-;1063:62:0;;:::i;:::-;6502:30:5;1426:5326;;-1:-1:-1;;;;;;1426:5326:5;-1:-1:-1;;;;;1426:5326:5;;;;;;;;;;;;-1:-1:-1;;;;;1426:5326:5;;;;;;-1:-1:-1;;1426:5326:5;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;1426:5326:5;;;;;;:::o;:::-;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;1974:44;1426:5326;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;1426:5326:5;;;;;;-1:-1:-1;;;;;1426:5326:5;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;;1426:5326:5;;;;1063:62:0;;:::i;:::-;1426:5326:5;;6611:14;1426:5326;;;;;;;;-1:-1:-1;;1426:5326:5;;;;1273:6:0;1426:5326:5;;;-1:-1:-1;;;;;1426:5326:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;1426:5326:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1426:5326:5;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1426:5326:5;;;;;1702:39;1426:5326;;;;;;;;;;-1:-1:-1;;1426:5326:5;;;;;;2216:16;2227:5;1426:5326;2216:16;;:::i;:::-;2203:9;:29;1426:5326;;;;2976:8;;1426:5326;-1:-1:-1;;1426:5326:5;2437:4;1426:5326;2427:14;;;2437:4;;1426:5326;;2457:118;2482:41;2505:17;1426:5326;2482:41;:::i;:::-;:45;;2457:118;:::i;:::-;2602:4;2593:13;;;;:44;;;;2423:527;2589:188;;;;;2423:527;2272:10;2976:8;:::i;2589:188::-;2657:46;2677:26;:15;:26;:::i;:::-;2838:46;1426:5326;;2657:46;2505:17;1426:5326;;;;;;2726:36;;1426:5326;;2726:36;2589:188;;2593:44;2611:17;;;;;:::i;:::-;2610:27;;2593:44;;;;;2423:527;2797:17;;;;:::i;:::-;:25;2423:527;2793:157;2838:46;2858:26;:15;:26;:::i;1426:5326::-;;;-1:-1:-1;;;1426:5326:5;;;;;;;;;;;;-1:-1:-1;;;1426:5326:5;;;;;;;;;;;;;-1:-1:-1;;1426:5326:5;;;;;;:::i;:::-;;;;;;;;;;;;719:10:2;-1:-1:-1;1426:5326:5;;;16995:18:3;1426:5326:5;;;;;;;;-1:-1:-1;;;;;1426:5326:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;719:10:2;17070:55:3;1426:5326:5;719:10:2;17070:55:3;;1426:5326:5;;;;;;;-1:-1:-1;;1426:5326:5;;;;;6176:41;6199:17;1426:5326;6176:41;:::i;:::-;1426:5326;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;1426:5326:5;;;;-1:-1:-1;1426:5326:5;;;-1:-1:-1;1426:5326:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;:::o;:::-;;;;;;-1:-1:-1;;1426:5326:5;;;;;;-1:-1:-1;1426:5326:5;1929:39;1426:5326;;;;-1:-1:-1;1426:5326:5;;;;;;;;;;:::i;:::-;1929:39;;;;1426:5326;1929:39;;1426:5326;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;1426:5326:5;;;;;;:::i;:::-;;;:::i;:::-;;;;-1:-1:-1;;;;;1426:5326:5;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;-1:-1:-1;;1426:5326:5;;;;1063:62:0;;:::i;:::-;6398:12:5;1426:5326;;;;;6397:13;1426:5326;;;;;;6398:12;1426:5326;;;;;;;;;;-1:-1:-1;;1426:5326:5;;;;;5912:68;1426:5326;;-1:-1:-1;5362:14:5;5386:13;1426:5326;;;5437:6;1426:5326;;;;;;;;:::i;:::-;5479:14;;;;5516:15;;;;1426:5326;5516:15;;1426:5326;;5437:6;1426:5326;;;;;;;5516:15;1426:5326;:::i;:::-;5559:22;:15;;1426:5326;;5437:6;1426:5326;;;;;;;5559:15;:22;1426:5326;5603:21;:15;;1426:5326;;5437:6;1426:5326;;;;;;;5603:15;:21;1426:5326;5638:14;-1:-1:-1;5475:420:5;;5933:8;1426:5326;-1:-1:-1;;;;;1426:5326:5;5912:68;:::i;5475:420::-;5673:36;;;5475:420;5669:226;;;1426:5326;;;:::i;:::-;5757:4;5669:226;5475:420;;5669:226;5809:24;;;;;;:::i;:::-;5792:41;5847:9;5669:226;5475:420;;5673:36;5693:16;;;;:::i;:::-;5692:17;5673:36;;1426:5326;;;;;;-1:-1:-1;;1426:5326:5;;;;;;17402:35:3;1426:5326:5;;:::i;:::-;;;:::i;:::-;-1:-1:-1;;;;;1426:5326:5;;;-1:-1:-1;1426:5326:5;;;17402:18:3;1426:5326:5;;;;;;;;;;;;-1:-1:-1;1426:5326:5;;;;;;;;;;;;;-1:-1:-1;;1426:5326:5;;;;;;:::i;:::-;1063:62:0;;:::i;:::-;-1:-1:-1;;;;;1426:5326:5;;;;2169:22:0;;1426:5326:5;;2525:6:0;1426:5326:5;;;;;;;;2525:6:0;1426:5326:5;;2573:40:0;-1:-1:-1;2573:40:0;;1426:5326:5;;;;-1:-1:-1;;;1426:5326:5;;;;;;;;;;;;;;;;;-1:-1:-1;;;1426:5326:5;;;;;;;1359:130:0;1273:6;1426:5326:5;-1:-1:-1;;;;;1426:5326:5;719:10:2;1422:23:0;1426:5326:5;;1359:130:0:o;1426:5326:5:-;;;;;;;;;;;;;;;;;;;;;;;;;11391:150:3;-1:-1:-1;;;;;1426:5326:5;11505:27:3;;;:::i;:::-;1426:5326:5;11391:150:3;:::o;12515:1249::-;1426:5326:5;12601:22:3;12662:23;6084:1:5;12662:23:3;;12658:1042;;12515:1249;1426:5326:5;;-1:-1:-1;;;13726:31:3;;;;;12658:1042;1426:5326:5;;12707:20:3;;12703:997;12658:1042;12703:997;1426:5326:5;;12768:17:3;1426:5326:5;;;;;;;;;;;;2118:8:3;1426:5326:5;2118:8:3;;12855:24;;:29;12851:831;;12703:997;;;12658:1042;;12851:831;13510:111;;;;;13517:11;;;;;13646:13;;;;;;:::o;13510:111::-;-1:-1:-1;;2118:8:3;1426:5326:5;;;;;;;;;;;-1:-1:-1;13510:111:3;;17693:277;17793:26;6084:1:5;17793:26:3;;:65;;;;17693:277;17793:151;;;17774:170;17693:277;:::o;17793:151::-;1426:5326:5;;-1:-1:-1;1426:5326:5;17895:17:3;1426:5326:5;;;2118:8:3;;1426:5326:5;-1:-1:-1;1426:5326:5;;17895:44:3;:49;17693:277;:::o;17793:65::-;-1:-1:-1;1426:5326:5;17835:23:3;;;-1:-1:-1;17793:65:3;;19903:2764;;20070:27;;;:::i;:::-;-1:-1:-1;;;;;1426:5326:5;;;;;;;20112:45:3;;;20108:86;;-1:-1:-1;1426:5326:5;;;19036:15:3;1426:5326:5;;;;;19164:132:3;;719:10:2;;20393:69:3;-1:-1:-1;;;;;18242:472:3;;719:10:2;18242:472:3;;;;;;;20393:69;;1426:5326:5;20394:68:3;20393:69;;1426:5326:5;20393:69:3;20389:179;;19903:2764;1426:5326:5;;20583:16:3;;;20579:52;;21368:22;20748:190;21300:24;20748:190;;;19903:2764;-1:-1:-1;;;;;;1426:5326:5;;;;;21300:18:3;1426:5326:5;;;;;;;21300:24:3;1426:5326:5;;-1:-1:-1;;2118:8:3;1426:5326:5;;-1:-1:-1;;;;;1426:5326:5;;;;;21300:18:3;1426:5326:5;;;;;;;21368:22:3;1426:5326:5;;;;;;;2392:8:3;;14403:331;;;;;;;21654:26;;1426:5326:5;;21654:17:3;1426:5326:5;;;;;;;21654:26:3;1426:5326:5;21943:47:3;;:52;21939:617;;19903:2764;22581:27;;-1:-1:-1;22581:27:3;;19903:2764::o;21939:617::-;1426:5326:5;2392:8:3;;22168:30;;1426:5326:5;;21654:17:3;1426:5326:5;;;;;;;22168:30:3;1426:5326:5;22168:35:3;22164:378;;21939:617;;;;22164:378;-1:-1:-1;1426:5326:5;22285:239:3;;22164:378;22285:239;22449:30;;1426:5326:5;;21654:17:3;1426:5326:5;;;;;;;22449:30:3;1426:5326:5;22285:239:3;;22164:378;;20748:190;20597:1;20748:190;;;;;20579:52;1426:5326:5;;-1:-1:-1;;;20608:23:3;;;;;20389:179;20480:44;17402:35;;719:10:2;17402:25:3;;1426:5326:5;;;;;;;;17402:18:3;1426:5326:5;;;;;;;17402:25:3;1426:5326:5;;;;;;;;;;;;;;;;17402:35:3;1426:5326:5;;;;;20480:44:3;20476:92;20389:179;20476:92;1426:5326:5;;-1:-1:-1;;;20533:35:3;;;;;20108:86;1426:5326:5;;-1:-1:-1;;;20166:28:3;;;;;1426:5326:5;;;;;;;:::i;:::-;-1:-1:-1;1426:5326:5;;:::o;23526:396:3:-;;;;23718:7;;;;;:::i;:::-;23740:14;;23736:180;;23526:396;;;;:::o;23736:180::-;23778:56;;;:::i;:::-;23777:57;23773:143;;23736:180;;;;;;23773:143;1426:5326:5;;-1:-1:-1;;;23861:40:3;;;;;1426:5326:5;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1426:5326:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;1426:5326:5;;;;:::o;:::-;;;:::o;25948:697:3:-;;26126:88;25948:697;26126:88;25948:697;1426:5326:5;;;;;;;;;;;;26126:88:3;;;;719:10:2;26126:88:3;;;;:::i;:::-;;;-1:-1:-1;;;;;1426:5326:5;26126:88:3;;1426:5326:5;;26126:88:3;;;25948:697;-1:-1:-1;26122:517:3;;26358:281;;:::i;:::-;1426:5326:5;;;26404:18:3;;;1426:5326:5;;-1:-1:-1;;;26449:40:3;;26126:88;;26449:40;26400:229;26126:88;26528:87;;26122:517;-1:-1:-1;;;;;;1426:5326:5;26282:64:3;;26275:71::o;26126:88::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;1426:5326:5;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1426:5326:5;;;;;:::o;:::-;;:::i;:::-;;;;;;;;;;;;;;;;:::o;:::-;;2876:8;1426:5326;;;;;;;:::o;:::-;;1357:1:1;1426:5326:5;;;;;;;:::o;:::-;;3695:1:9;1426:5326:5;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;1426:5326:5;;;;;;;;;;;;-1:-1:-1;;;1426:5326:5;;;;;;;27091:2902:3;;27186:13;1426:5326:5;;;27213:13:3;;;27209:44;;-1:-1:-1;;;;;1426:5326:5;;;;;;21300:18:3;1426:5326:5;;;;;;;27766:32:3;1495:2;;2392:8;1426:5326:5;;-1:-1:-1;1426:5326:5;;;21654:17:3;1426:5326:5;;;;;-1:-1:-1;;;;;14403:331:3;;;;-1:-1:-1;;14403:331:3;1426:5326:5;14403:331:3;14998:151;;;;;14403:331;;;;1426:5326:5;2392:8:3;;28648:1166;;;;;;;;;;;;;;;;;;29831:13;;;;29827:45;;1426:5326:5;27091:2902:3:o;29827:45::-;1495:2;1426:5326:5;-1:-1:-1;;;29853:19:3;;28035:17;;29853:19;28648:1166;;;;;;;;;;;;;27209:44;1426:5326:5;;-1:-1:-1;;;27235:18:3;;;;;1426:5326:5;;;;:::o;:::-;;;-1:-1:-1;;;1426:5326:5;;;;;;;;;;;;-1:-1:-1;;;1426:5326:5;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;1426:5326:5;;;;;;;;;;;;-1:-1:-1;;;1426:5326:5;;;;;;;;-1:-1:-1;;1426:5326:5;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;1426:5326:5;;;;;;;;;;;;-1:-1:-1;;;1426:5326:5;;;;;;;;;;;;-1:-1:-1;1426:5326:5;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;3752:13;1426:5326;;;;;;;:::o;:::-;;;;-1:-1:-1;1426:5326:5;;;;-1:-1:-1;1426:5326:5;;-1:-1:-1;1426:5326:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1426:5326:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;1426:5326:5;;-1:-1:-1;1426:5326:5;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;1426:5326:5;;;;;;;;;;;:::i;:::-;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;-1:-1:-1;;;;;1426:5326:5;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;1426:5326:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2998:1766;;3057:45;1426:5326;3065:12;1426:5326;;;;;;3057:45;:::i;:::-;3112:46;3136:1;1426:5326;;3120:17;3112:46;:::i;:::-;-1:-1:-1;;;;1426:5326:5;3256:3;1426:5326;;3237:17;;;;;1426:5326;3458:25;3256:3;3305:10;3275:64;3305:10;3283:32;:18;3291:9;;;;:::i;:::-;1426:5326;3283:18;:::i;:::-;-1:-1:-1;;;;;1426:5326:5;;;3283:32;;3275:64;:::i;:::-;1426:5326;3423:7;3384:19;3393:9;;;;:::i;:::-;1426:5326;3384:19;:::i;:::-;3423:7;;;:::i;:::-;1426:5326;;;3458:25;;;;;;1426:5326;;:::i;:::-;;;:::i;:::-;3458:25;1426:5326;;3458:25;;;;;;:::i;:::-;3256:3;;:::i;:::-;3222:13;;;3237:17;;;;1426:5326;;3570:1;3557:14;;3553:90;;3669:1;-1:-1:-1;3652:87:5;;3752:19;1426:5326;;;:::i;3752:19::-;3748:79;;3853:1;3841:13;;;3853:1;;;3836:407;4282:9;;4747;4282;4682:35;;4282:9;4207:25;4282:9;;4732:25;4282:9;4275:17;4282:9;;;:::i;:::-;1426:5326;;;5437:6;1426:5326;;;;;;;4275:17;1426:5326;;;;;:::i;:::-;4302:204;;3836:407;1426:5326;;;;:::i;:::-;4551:12;;1426:5326;4157:14;4593:29;4606:9;;;:::i;:::-;1426:5326;4593:29;:::i;:::-;4579:11;;1426:5326;4641:26;1426:5326;;;:::i;:::-;;;-1:-1:-1;;1426:5326:5;3853:1;1426:5326;;;;4641:26;1426:5326;;3305:10;;;;4682:35;;;:::i;:::-;;;;4747:9;:::i;:::-;1426:5326;;;;;;;;;;;;;;4732:25;;;;2998:1766::o;4302:204::-;4402:33;1426:5326;;;:::i;:::-;;;-1:-1:-1;;1426:5326:5;;;;4402:33;1426:5326;;4036:41;3305:10;4454:38;;;;;;:::i;:::-;;;;4302:204;;3875:3;1426:5326;;3856:17;;;;;3875:3;3900:9;33865:5:3;3900:9:5;;;;;:::i;:::-;1426:5326;33865:5:3;:::i;:::-;4207:25:5;;3949:17;3956:9;;;;:::i;3949:17::-;3981:36;1426:5326;;;:::i;3981:36::-;-1:-1:-1;4157:14:5;1426:5326;;;;4036:41;3305:10;4036:41;;;;;;:::i;:::-;;;;1426:5326;;;:::i;:::-;4124:15;;;;1426:5326;4157:14;1426:5326;4222:9;;;;:::i;:::-;1426:5326;;;;;;;;;;;;;;4207:25;;;;3875:3;:::i;:::-;3841:13;;;3856:17;;;3748:79;1426:5326;;-1:-1:-1;;;3787:29:5;;1426:5326;3570:1;3787:29;;1426:5326;;;;;;-1:-1:-1;;;1426:5326:5;;;;;;3787:29;3652:87;1426:5326;;-1:-1:-1;;;3686:42:5;;1426:5326;3570:1;3686:42;;1426:5326;;;;;;;;;;;;;;3787:29;3553:90;1426:5326;;-1:-1:-1;;;3587:45:5;;1426:5326;3570:1;3587:45;;1426:5326;;;;;;;;;;;-1:-1:-1;;;1426:5326:5;;;;;;3787:29;34095:3015:3;-1:-1:-1;34204:27:3;;;:::i;:::-;-1:-1:-1;1426:5326:5;;;19036:15:3;1426:5326:5;;;;;19164:132:3;;-1:-1:-1;;;;;1426:5326:5;;;;;34844:190:3;;34095:3015;-1:-1:-1;;;;;;1426:5326:5;;;;;;21300:18:3;1426:5326:5;;;;;;;;2392:8:3;1426:5326:5;;-1:-1:-1;1426:5326:5;;;21654:17:3;1426:5326:5;;;;;14403:331:3;1426:5326:5;14403:331:3;;;-1:-1:-1;;;14403:331:3;;1426:5326:5;-1:-1:-1;;;36223:47:3;;:52;36219:617;;34095:3015;36861:35;;;;;1426:5326:5;;;;;;34095:3015:3:o;36219:617::-;1426:5326:5;2392:8:3;;36448:30;;1426:5326:5;;21654:17:3;1426:5326:5;;;;;;;36448:30:3;1426:5326:5;36448:35:3;36444:378;;36219:617;;;;36444:378;1426:5326:5;;36565:239:3;;36444:378;36565:239;36729:30;;1426:5326:5;;21654:17:3;1426:5326:5;;;;;;;36729:30:3;1426:5326:5;36565:239:3;;36444:378;;34844:190;;;;;;;4770:376:5;4893:16;;;:::i;:::-;;;1426:5326;;;;;;:::i;:::-;-1:-1:-1;1426:5326:5;;4925:14;-1:-1:-1;4925:14:5;:::o;4888:252::-;1426:5326;-1:-1:-1;1426:5326:5;4966:6;1426:5326;;;;-1:-1:-1;1426:5326:5;;;:::i;:::-;4960:38;1426:5326;;-1:-1:-1;1426:5326:5;4966:6;1426:5326;;;-1:-1:-1;1426:5326:5;5044:22;1426:5326;;5044:22;;;1426:5326;;;;;;;;;:::i;:::-;;;;:::i;:::-;5014:53;;:::o;4956:184::-;5105:24;;;:::i;:::-;5098:31;;:::o;1426:5326::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;;;;;1426:5326:5;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;1562:1960:8;;;;;;1750:33;;;;:::i;:::-;1794:18;-1:-1:-1;;1825:1548:8;;;1931:23;;;;-1:-1:-1;1931:23:8;;2166:30;1931:23;;:::i;:::-;1426:5326:5;;;;;;;;;;;;2166:30:8;;;;;;:::i;:::-;;;-1:-1:-1;;;;;1426:5326:5;2166:30:8;;;;;;;1426:5326:5;1866:362:8;3476:26;2166:30;1426:5326:5;;2146:52:8;3399:114;2166:30;1426:5326:5;2166:30:8;-1:-1:-1;2166:30:8;;;1825:1548;2146:52;;:::i;:::-;1426:5326:5;;-1:-1:-1;;;1866:362:8;;;1426:5326:5;;;;;;1866:362:8;1426:5326:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1426:5326:5;;;;;;1866:362:8;3476:26;:::i;:::-;1426:5326:5;;;3399:114:8;;;1426:5326:5;;;;;;;;;2166:30:8;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;:::i;1825:1548::-;2341:23;;;;;2503:22;2341:23;;;:::i;:::-;2503:22;;:::i;:::-;1426:5326:5;2969:27:8;2813:43;2828:27;2681:34;1426:5326:5;;2681:34:8;:::i;:::-;2828:27;;:::i;:::-;2813:43;:::i;:::-;2969:27;;:::i;:::-;1426:5326:5;3069:23:8;1426:5326:5;;3069:23:8;:::i;:::-;1426:5326:5;3298:30:8;1426:5326:5;3125:23:8;1426:5326:5;;;;3125:23:8;:::i;:::-;1426:5326:5;3181:23:8;1426:5326:5;;;;3181:23:8;:::i;:::-;1426:5326:5;;;;;;;;;;;;;3298:30:8;;;;;;:::i;:::-;;;-1:-1:-1;;;;;1426:5326:5;3298:30:8;;;;;;;;3278:52;3298:30;;;;1825:1548;3278:52;;;:::i;:::-;1426:5326:5;;-1:-1:-1;;;1426:5326:5;2276:1084:8;;1426:5326:5;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;1426:5326:5;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;1426:5326:5;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;1426:5326:5;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;1426:5326:5;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;1426:5326:5;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;1426:5326:5;;;;;;;;;:::i;:::-;-1:-1:-1;;;1426:5326:5;;;;;;;:::i;:::-;-1:-1:-1;;;1426:5326:5;;;;;;;:::i;:::-;;;;-1:-1:-1;;;1426:5326:5;;;;;;;;;:::i;:::-;-1:-1:-1;;;1426:5326:5;;;;2276:1084:8;1426:5326:5;;2276:1084:8;;;;;;;;:::i;:::-;3399:114;3476:26;1426:5326:5;1825:1548:8;3476:26;:::i;3298:30::-;;;;;;;;;;;;;:::i;:::-;;;;;1426:5326:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::o;345:66:1:-;;1426:5326:5;;;:::i;:::-;;;;;;;:::i;:::-;;;;345:66:1;1426:5326:5;345:66:1;1426:5326:5;;345:66:1;;:::i;:::-;;;;;;;;:::o;505:3026::-;1426:5326:5;;795:16:1;791:31;;1426:5326:5;;:::i;:::-;1326:39:1;1337:27;1342:21;1343:15;1426:5326:5;;1343:15:1;:::i;:::-;1362:1;345:66;;;;1342:21;1337:27;:::i;:::-;1326:39;:::i;:::-;1419:2082;;;;;;;;;;;;;;;;;;;;1362:1;1419:2082;;;1362:1;1419:2082;1362:1;;;1419:2082;;;;3511:13;505:3026;:::o;1419:2082::-;;;-1:-1:-1;;1419:2082:1;;505:3026;:::o;1419:2082::-;-1:-1:-1;1419:2082:1;;;-1:-1:-1;;1419:2082:1;;;-1:-1:-1;;1419:2082:1;;505:3026;:::o;1419:2082::-;1362:1;;;1337;1362;;1419:2082;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1357:1;1419:2082;;;;;;;;;;;;;;;;;;791:31;1426:5326:5;;;:::i;:::-;;;;;;;;;;;;:::o;1353:201:8:-;1426:5326:5;;;;;;;;;;;-1:-1:-1;;;;;1426:5326:5;;;;;;1525:21:8;1426:5326:5;;;;;;:::i;:::-;;;;-1:-1:-1;;;1426:5326:5;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;1426:5326:5;;;;;1474:33:8;;1426:5326:5;;;;;;:::i;:::-;;;;-1:-1:-1;;;1426:5326:5;;;;1474:33:8;;;1426:5326:5;;;;;:::i;:::-;;;;-1:-1:-1;;;1426:5326:5;;;;1474:33:8;;;1426:5326:5;1525:21:8;:::i;:::-;;1353:201;:::o;1426:5326:5:-;;;;;;;:::i;:::-;2394:1:9;1426:5326:5;;;345:66:1;1426:5326:5;;;345:66:1;1426:5326:5:o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;:::o;1343:571:9:-;1450:7;;1446:48;;1503:11;1456:1;1524:8;;;1542:66;1549:6;;;1637:14;;;;;:::i;:::-;1661:12;1683:196;1690:7;;;1888:19;;;1343:571;:::o;1683:196::-;-1:-1:-1;;1426:5326:5;;;;;;;1713:9:9;1595:2;345:66:1;;;;1426:5326:5;;;;;;;;;;;;;;;1750:31:9;1755:26;1761:19;1808:12;1761:19;1834:12;1761:19;;:::i;:::-;1426:5326:5;;;;1755:26:9;1750:31;:::i;:::-;1426:5326:5;;-1:-1:-1;;;;;;1426:5326:5;;;1808:12:9;1834;;;;;:::i;:::-;;1683:196;;;1542:66;1571:5;;1595:2;1571:5;;:::i;:::-;345:66:1;;1542::9;;;1446:48;1426:5326:5;;;;;;:::i;:::-;;;;-1:-1:-1;;;1426:5326:5;;;;1473:10:9;:::o;2069:208::-;2246:4;1426:5326:5;;;;;;;;;;;2221:30:9;;;1426:5326:5;;;2221:30:9;;;;;;:::i;:::-;1426:5326:5;2211:41:9;;1426:5326:5;3570:1;1426:5326;3570:1;1426:5326;;;;-1:-1:-1;;1426:5326:5;;;;;;;2069:208:9;:::o;:::-;2246:4;1426:5326:5;;;;;;;;;;;2221:30:9;;;1426:5326:5;;;2221:30:9;;;;;;:::i;:::-;1426:5326:5;2211:41:9;;1426:5326:5;3829:3:9;1426:5326:5;;;;;;;;-1:-1:-1;;1426:5326:5;;;;;;;2069:208:9;:::o;3238:241::-;2246:4;1426:5326:5;;;;;;;3365:3:9;1426:5326:5;;;2221:30:9;;;1426:5326:5;;;2221:30:9;;;;;;:::i;:::-;1426:5326:5;2211:41:9;;1426:5326:5;3365:3:9;1426:5326:5;;3365:3:9;1426:5326:5;;;;-1:-1:-1;;1426:5326:5;;;;;;;2384:12:9;;:::i;:::-;1426:5326:5;2420:19:9;1426:5326:5;;;;;;:::i;:::-;3365:3:9;1426:5326:5;;;2221:30:9;1426:5326:5;;;;;;;;;;;;;-1:-1:-1;;;1426:5326:5;;;;-1:-1:-1;;;;;;1426:5326:5;2420:19:9;:::i;:::-;1426:5326:5;;;2406:33:9;1426:5326:5;;;;;2221:30:9;1426:5326:5;;2406:33:9;3430:41;;3440:30;:28;3451:16;;;;:::i;:::-;1426:5326:5;-1:-1:-1;;;;;;1426:5326:5;;;3451:16:9;3440:28;:::i;:::-;:30;:::i;3430:41::-;;:::i;1920:109::-;1426:5326:5;;-1:-1:-1;;1426:5326:5;;;;;;1920:109:9;:::o;2485:747::-;2567:1;2582:8;2589:1;2582:8;;:20;;;;2485:747;2582:32;;;;2485:747;2582:45;;;;2485:747;2582:58;;;;2485:747;2582:71;;;;2485:747;2582:84;;;;2485:747;2578:625;;;2682:10;;2589:1;2485:747;:::o;2578:625::-;2720:1;2713:8;;:21;;;;2578:625;2713:34;;;;2578:625;2713:47;;;;2578:625;2709:494;;;2776:10;;2785:1;2485:747;:::o;2709:494::-;2814:1;2807:8;;:20;;;;2709:494;2807:33;;;;2709:494;2803:400;;;2856:10;;2865:1;1426:5326:5;:::o;2803:400:9:-;2894:1;2887:8;;:20;;;;2803:400;2887:32;;;;2803:400;2887:45;;;;2803:400;2887:58;;;;2803:400;2887:71;;;;2803:400;2883:320;;;2974:10;;2720:1;1426:5326:5;:::o;2883:320:9:-;3012:2;3005:9;;:22;;;;2883:320;3001:202;;;3043:10;;3052:1;1426:5326:5;:::o;3001:202:9:-;3081:2;3074:9;;3081:2;;3099:10;;3108:1;1426:5326:5;:::o;3070:133:9:-;3137:2;3130:9;;:22;;;;;3070:133;3130:35;;;;3070:133;3126:77;;3001:202;3126:77;3181:11;3137:2;1426:5326:5;:::o;3130:35:9:-;3163:2;3156:9;;;3130:35;;;:22;3150:2;3143:9;;;-1:-1:-1;3130:22:9;;3005;3018:9;3025:2;3018:9;;3005:22;;2887:71;2949:9;2956:2;2949:9;;2887:71;;:58;2936:9;2943:2;2936:9;;2887:58;;:45;2923:9;2930:2;2923:9;;2887:45;;:32;2911:8;2918:1;2911:8;;2887:32;;:20;2899:8;2906:1;2899:8;;2887:20;;2807:33;2831:9;2838:2;2831:9;;2807:33;;:20;2819:8;2826:1;2819:8;;2807:20;;2713:47;2751:9;2758:2;2751:9;;2713:47;;:34;2738:9;2745:2;2738:9;;2713:34;;:21;2725:9;2732:2;2725:9;;2713:21;;2582:84;2657:9;2664:2;2657:9;;2582:84;;:71;2644:9;2651:2;2644:9;;2582:71;;:58;2631:9;2638:2;2631:9;;2582:58;;:45;2618:9;2625:2;2618:9;;2582:45;;:32;2606:8;2613:1;2606:8;;2582:32;;:20;2594:8;2601:1;2594:8;;2582:20;;1426:5326:5;;;;;;;:::i;:::-;;345:66:1;1426:5326:5;345:66:1;1426:5326:5:o;3485:533:9:-;;;;1426:5326:5;;:::i;:::-;3598:13:9;;;;;3610:1;3644:5;1426:5326:5;3644:5:9;;;;-1:-1:-1;3594:392:9;;-1:-1:-1;;3485:533:9:o;3651:3::-;3691:5;;3651:3;3691:5;;:::i;:::-;3678:18;;3691:5;;3735:3;3720:18;;;;:::i;:::-;1426:5326:5;3651:3:9;:::i;:::-;3632:10;;3674:178;3800:33;3813:11;;;;:::i;:::-;3800:33;:::i;:::-;3785:48;;;;:::i;3594:392::-;3901:10;;;;3610:1;3913:5;1426:5326:5;3913:5:9;;;;3594:392;3485:533;:::o;3920:3::-;3943:18;3958:3;3943:18;3920:3;3943:18;;;:::i;3920:3::-;3901:10;;4024:259;4124:4;4113:15;;4124:4;;4144:13;4156:1;4109:168;4024:259::o;4109:168::-;4189:4;-1:-1:-1;4189:4:9;;4221:1;4174:103;4024:259::o;4174:103::-;4265:1;4174:103;1426:5326:5:o;4289:201:9:-;4368:15;:22;-1:-1:-1;4368:22:9;;:15;1426:5326:5;;;;;;;4406:28:9;:::o;4364:120::-;4465:8;4472:1;4465:8;:::o;4496:213::-;4600:2;4575:21;;;:::i;:::-;:27;4600:2;;4632:15;1426:5326:5;;;;;;;4600:2:9;345:66:1;;4618:35:9;:::o

Swarm Source

ipfs://3a98e03444d2dd7b15bdb23220eaeb1e62d5abb06097e3183a3d4e489d2b1ae4
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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