ETH Price: $3,233.81 (-3.63%)

Token

Hashes (HASH)
 

Overview

Max Total Supply

4,094 HASH

Holders

2,115

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
thruster.eth
Balance
1 HASH
0x6F54d40ccc174F9C7Bd23252E4Db8f1cA4291173
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Hashes are NFT's most basic building block - an origin point of access for users and a source of entropy & versatile distribution. Hashes are governed by the HashesDAO (comprised of only the first 1000 tokens - Token IDs 0-999). There is an unbounded supply to Hashes, so anyo...

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Hashes

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion, MIT license
File 1 of 26 : Hashes.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.6;

import { IHashes } from "./IHashes.sol";
import { LibDeactivateToken } from "./LibDeactivateToken.sol";
import { LibEIP712 } from "./LibEIP712.sol";
import { LibSignature } from "./LibSignature.sol";
import { SafeMath } from "@openzeppelin/contracts/utils/math/SafeMath.sol";
import { ERC721 } from "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import { ERC721Enumerable } from "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import { ReentrancyGuard } from "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";

/**
 * @title Hashes
 * @author DEX Labs
 * @notice This contract handles the Hashes ERC-721 token.
 */
contract Hashes is IHashes, ERC721Enumerable, ReentrancyGuard, Ownable {
    using SafeMath for uint256;

    /// @notice version for this Hashes contract
    string public constant version = "1"; // solhint-disable-line const-name-snakecase

    /// @notice activationFee The fee to activate (and the payment to deactivate)
    ///         a governance class hash that wasn't reserved. This is the initial
    ///         minting fee.
    uint256 public immutable override activationFee;

    /// @notice locked The lock status of the contract. Once locked, the contract
    ///         will never be unlocked. Locking prevents the transfer of ownership.
    bool public locked;

    /// @notice mintFee Minting fee.
    uint256 public mintFee;

    /// @notice reservedAmount Number of Hashes reserved.
    uint256 public reservedAmount;

    /// @notice governanceCap Number of Hashes qualifying for governance.
    uint256 public governanceCap;

    /// @notice nonce Monotonically-increasing number (token ID).
    uint256 public nonce;

    /// @notice baseTokenURI The base of the token URI.
    string public baseTokenURI;

    bytes internal constant TABLE = "0123456789abcdef";

    /// @notice A checkpoint for marking vote count from given block.
    struct Checkpoint {
        uint32 id;
        uint256 votes;
    }

    /// @notice deactivated A record of tokens that have been deactivated by token ID.
    mapping(uint256 => bool) public deactivated;

    /// @notice lastProposalIds A record of the last recorded proposal IDs by an address.
    mapping(address => uint256) public lastProposalIds;

    /// @notice checkpoints A record of votes checkpoints for each account, by index.
    mapping(address => mapping(uint256 => Checkpoint)) public checkpoints;

    /// @notice numCheckpoints The number of checkpoints for each account.
    mapping(address => uint256) public numCheckpoints;

    mapping(uint256 => bytes32) nonceToHash;

    mapping(uint256 => bool) redeemed;

    /// @notice Emitted when governance class tokens are activated.
    event Activated(address indexed owner, uint256 indexed tokenId);

    /// @notice Emitted when governance class tokens are deactivated.
    event Deactivated(address indexed owner, uint256 indexed tokenId, uint256 proposalId);

    /// @notice Emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice Emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance);

    /// @notice Emitted when a Hash was generated/minted
    event Generated(address artist, uint256 tokenId, string phrase);

    /// @notice Emitted when a reserved Hash was redemed
    event Redeemed(address artist, uint256 tokenId, string phrase);

    // @notice Emitted when the base token URI is updated
    event BaseTokenURISet(string baseTokenURI);

    // @notice Emitted when the mint fee is updated
    event MintFeeSet(uint256 indexed fee);

    /**
     * @notice Constructor for the Hashes token. Initializes the state.
     * @param _mintFee Minting fee
     * @param _reservedAmount Reserved number of Hashes
     * @param _governanceCap Number of hashes qualifying for governance
     * @param _baseTokenURI The initial base token URI.
     */
    constructor(uint256 _mintFee, uint256 _reservedAmount, uint256 _governanceCap, string memory _baseTokenURI) ERC721("Hashes", "HASH") Ownable() {
        reservedAmount = _reservedAmount;
        activationFee = _mintFee;
        mintFee = _mintFee;
        governanceCap = _governanceCap;
        for (uint i = 0; i < reservedAmount; i++) {
            // Compute and save the hash (temporary till redemption)
            nonceToHash[nonce] = keccak256(abi.encodePacked(nonce, _msgSender()));
            // Mint the token
            _safeMint(_msgSender(), nonce++);
        }
        baseTokenURI = _baseTokenURI;
    }

    /**
     * @notice Allows the owner to lock ownership. This prevents ownership from
     *         ever being transferred in the future.
     */
    function lock() external onlyOwner {
        require(!locked, "Hashes: can't lock twice.");
        locked = true;
    }

    /**
     * @dev An overridden version of `transferOwnership` that checks to see if
     *      ownership is locked.
     */
    function transferOwnership(address _newOwner) public override onlyOwner {
        require(!locked, "Hashes: can't transfer ownership when locked.");
        super.transferOwnership(_newOwner);
    }

    /**
     * @notice Allows governance to update the base token URI.
     * @param _baseTokenURI The new base token URI.
     */
    function setBaseTokenURI(string memory _baseTokenURI) external onlyOwner {
        baseTokenURI = _baseTokenURI;
        emit BaseTokenURISet(_baseTokenURI);
    }

    /**
     * @notice Allows governance to update the fee to mint a hash.
     * @param _mintFee The fee to mint a hash.
     */
    function setMintFee(uint256 _mintFee) external onlyOwner {
        mintFee = _mintFee;
        emit MintFeeSet(_mintFee);
    }

    /**
     * @notice Allows a token ID owner to activate their governance class token.
     * @return activationCount The amount of tokens that were activated.
     */
    function activateTokens() external payable nonReentrant returns (uint256 activationCount) {
        // Activate as many tokens as possible.
        for (uint256 i = 0; i < balanceOf(msg.sender); i++) {
            uint256 tokenId = tokenOfOwnerByIndex(msg.sender, i);
            if (tokenId >= reservedAmount && tokenId < governanceCap && deactivated[tokenId]) {
                deactivated[tokenId] = false;
                activationCount++;

                // Emit an activation event.
                emit Activated(msg.sender, tokenId);
            }
        }

        // Increase the sender's governance power.
        _moveDelegates(address(0), msg.sender, activationCount);

        // Ensure that sufficient ether was provided to pay the activation fee.
        // If a sufficient amount was provided, send it to the owner. Refund the
        // sender with the remaining amount of ether.
        bool sent;
        uint256 requiredFee = activationFee.mul(activationCount);
        require(msg.value >= requiredFee, "Hashes: must pay adequate fee to activate hash.");
        (sent,) = owner().call{value: requiredFee}("");
        require(sent, "Hashes: couldn't pay owner the activation fee.");
        if (msg.value > requiredFee) {
            (sent,) = msg.sender.call{value: msg.value - requiredFee}("");
            require(sent, "Hashes: couldn't refund sender with the remaining ether.");
        }

        return activationCount;
    }

    /**
     * @notice Allows the owner to process a series of deactivations from governance
     *         class tokens owned by a single holder. The owner is responsible for
     *         handling payment once deactivations have been finalized.
     * @param _tokenOwner The owner of the hashes to deactivate.
     * @param _proposalId The proposal ID that this deactivation is related to.
     * @param _signature The signature to prove the owner wants to deactivate
     *        their holdings.
     * @return deactivationCount The amount of tokens that were deactivated.
     */
    function deactivateTokens(address _tokenOwner, uint256 _proposalId, bytes memory _signature) external override nonReentrant onlyOwner returns (uint256 deactivationCount) {
        // Ensure that the token owner has approved the deactivation.
        require(lastProposalIds[_tokenOwner] < _proposalId, "Hashes: can't re-use an old proposal ID.");
        lastProposalIds[_tokenOwner] = _proposalId;
        bytes32 eip712DomainHash = LibEIP712.hashEIP712Domain(name(), version, getChainId(), address(this));
        bytes32 deactivateHash =
            LibDeactivateToken.getDeactivateTokenHash(
                LibDeactivateToken.DeactivateToken({ proposalId: _proposalId }),
                eip712DomainHash
            );
        require(LibSignature.getSignerOfHash(deactivateHash, _signature) == _tokenOwner, "Hashes: The token owner must approve the deactivation.");

        // Deactivate as many tokens as possible.
        for (uint256 i = 0; i < balanceOf(_tokenOwner); i++) {
            uint256 tokenId = tokenOfOwnerByIndex(_tokenOwner, i);
            if (tokenId >= reservedAmount && tokenId < governanceCap && !deactivated[tokenId]) {
                deactivated[tokenId] = true;
                deactivationCount++;

                // Emit a deactivation event.
                emit Deactivated(_tokenOwner, tokenId, _proposalId);
            }
        }

        // Decrease the voter's governance power.
        _moveDelegates(_tokenOwner, address(0), deactivationCount);

        return deactivationCount;
    }

    /**
     * @notice Generate a new Hashes token provided a phrase. This
     *         function generates/saves a hash, mints the token, and
     *         transfers the minting fee to the HashesDAO when
     *         applicable.
     * @param _phrase Phrase used as part of hashing inputs.
     */
    function generate(string memory _phrase) external nonReentrant payable {
        // Ensure that the hash can be generated.
        require(bytes(_phrase).length > 0, "Hashes: Can't generate hash with the empty string.");

        // Ensure token minter is passing in a sufficient minting fee.
        require(msg.value >= mintFee, "Hashes: Must pass sufficient mint fee.");

        // Compute and save the hash
        nonceToHash[nonce] = keccak256(abi.encodePacked(nonce, _msgSender(), _phrase));

        // Mint the token
        _safeMint(_msgSender(), nonce++);

        uint256 mintFeePaid;
        if (mintFee > 0) {
            // If the minting fee is non-zero

            // Send the fee to HashesDAO.
            (bool sent,) = owner().call{value: mintFee}("");
            require(sent, "Hashes: failed to send ETH to HashesDAO");

            // Set the mintFeePaid to the current minting fee
            mintFeePaid = mintFee;
        }

        if (msg.value > mintFeePaid) {
            // If minter passed ETH value greater than the minting
            // fee paid/computed above

            // Refund the remaining ether balance to the sender. Since there are no
            // other payable functions, this remainder will always be the senders.
            (bool sent,) = _msgSender().call{value: msg.value - mintFeePaid}("");
            require(sent, "Hashes: failed to refund ETH.");
        }

        if (nonce == governanceCap) {
            // Set mint fee to 0 now that governance cap has been hit.
            // The minting fee can only be increased from here via
            // governance.
            mintFee = 0;
        }

        emit Generated(_msgSender(), nonce - 1, _phrase);
    }

    /**
     * @notice Redeem a reserved Hashes token. Any may redeem a
     *         reserved Hashes token so long as they hold the token
     *         and this particular token hasn't been redeemed yet.
     *         Redemption lets an owner of a reserved token to
     *         modify the phrase as they choose.
     * @param _tokenId Token ID.
     * @param _phrase Phrase used as part of hashing inputs.
     */
    function redeem(uint256 _tokenId, string memory _phrase) external nonReentrant {
        // Ensure redeemer is the token owner.
        require(_msgSender() == ownerOf(_tokenId), "Hashes: must be owner.");

        // Ensure that redeemed token is a reserved token.
        require(_tokenId < reservedAmount, "Hashes: must be a reserved token.");

        // Ensure the token hasn't been redeemed before.
        require(!redeemed[_tokenId], "Hashes: already redeemed.");

        // Mark the token as redeemed.
        redeemed[_tokenId] = true;

        // Update the hash.
        nonceToHash[_tokenId] = keccak256(abi.encodePacked(_tokenId, _msgSender(), _phrase));

        emit Redeemed(_msgSender(), _tokenId, _phrase);
    }

    /**
     * @notice Verify the validity of a Hash token given its inputs.
     * @param _tokenId Token ID for Hash token.
     * @param _minter Minter's (or redeemer's) Ethereum address.
     * @param _phrase Phrase used at time of generation/redemption.
     * @return Whether the Hash token's hash saved given this token ID
     *         matches the inputs provided.
     */
    function verify(uint256 _tokenId, address _minter, string memory _phrase) external override view returns (bool) {
        // Enforce the normal hashes regularity conditions before verifying.
        if (_tokenId >= nonce || _minter == address(0) || bytes(_phrase).length == 0) {
            return false;
        }

        // Verify the provided phrase.
        return nonceToHash[_tokenId] == keccak256(abi.encodePacked(_tokenId, _minter, _phrase));
    }

    /**
     * @notice Retrieve token URI given a token ID.
     * @param _tokenId Token ID.
     * @return Token URI string.
     */
    function tokenURI(uint256 _tokenId) public view override returns (string memory) {
        // Ensure that the token ID is valid and that the hash isn't empty.
        require(_tokenId < nonce, "Hashes: Can't provide a token URI for a non-existent hash.");

        // Return the base token URI concatenated with the token ID.
        return string(abi.encodePacked(baseTokenURI, _toDecimalString(_tokenId)));
    }

    /**
     * @notice Retrieve hash given a token ID.
     * @param _tokenId Token ID.
     * @return Hash associated with this token ID.
     */
    function getHash(uint256 _tokenId) external override view returns (bytes32) {
        return nonceToHash[_tokenId];
    }

    /**
     * @notice Gets the current votes balance.
     * @param _account The address to get votes balance.
     * @return The number of current votes.
     */
    function getCurrentVotes(address _account) external view returns (uint256) {
        uint256 numCheckpointsAccount = numCheckpoints[_account];
        return numCheckpointsAccount > 0 ? checkpoints[_account][numCheckpointsAccount - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param _account The address of the account to check
     * @param _blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address _account, uint256 _blockNumber) external override view returns (uint256) {
        require(_blockNumber < block.number, "Hashes: block not yet determined.");

        uint256 numCheckpointsAccount = numCheckpoints[_account];
        if (numCheckpointsAccount == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[_account][numCheckpointsAccount - 1].id <= _blockNumber) {
            return checkpoints[_account][numCheckpointsAccount - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[_account][0].id > _blockNumber) {
            return 0;
        }

        // Perform binary search to find the most recent token holdings
        // leading to a measure of voting power
        uint256 lower = 0;
        uint256 upper = numCheckpointsAccount - 1;
        while (upper > lower) {
            // ceil, avoiding overflow
            uint256 center = upper - (upper - lower) / 2;
            Checkpoint memory cp = checkpoints[_account][center];
            if (cp.id == _blockNumber) {
                return cp.votes;
            } else if (cp.id < _blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[_account][lower].votes;
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (tokenId < governanceCap && !deactivated[tokenId]) {
            // If Hashes token is in the governance class, transfer voting rights
            // from `from` address to `to` address.
            _moveDelegates(from, to, 1);
        }
    }

    function _moveDelegates(
        address _initDel,
        address _finDel,
        uint256 _amount
    ) internal {
        if (_initDel != _finDel && _amount > 0) {
            // Initial delegated address is different than final
            // delegated address and nonzero number of votes moved
            if (_initDel != address(0)) {
                // If we are not minting a new token

                uint256 initDelNum = numCheckpoints[_initDel];

                // Retrieve and compute the old and new initial delegate
                // address' votes
                uint256 initDelOld = initDelNum > 0 ? checkpoints[_initDel][initDelNum - 1].votes : 0;
                uint256 initDelNew = initDelOld.sub(_amount);
                _writeCheckpoint(_initDel, initDelOld, initDelNew);
            }

            if (_finDel != address(0)) {
                // If we are not burning a token
                uint256 finDelNum = numCheckpoints[_finDel];

                // Retrieve and compute the old and new final delegate
                // address' votes
                uint256 finDelOld = finDelNum > 0 ? checkpoints[_finDel][finDelNum - 1].votes : 0;
                uint256 finDelNew = finDelOld.add(_amount);
                _writeCheckpoint(_finDel, finDelOld, finDelNew);
            }
        }
    }

    function _writeCheckpoint(
        address _delegatee,
        uint256 _oldVotes,
        uint256 _newVotes
    ) internal {
        uint32 blockNumber = safe32(block.number, "Hashes: exceeds 32 bits.");
        uint256 delNum = numCheckpoints[_delegatee];
        if (delNum > 0 && checkpoints[_delegatee][delNum - 1].id == blockNumber) {
            // If latest checkpoint is current block, edit in place
            checkpoints[_delegatee][delNum - 1].votes = _newVotes;
        } else {
            // Create a new id, vote pair
            checkpoints[_delegatee][delNum] = Checkpoint({ id: blockNumber, votes: _newVotes });
            numCheckpoints[_delegatee] = delNum.add(1);
        }

        emit DelegateVotesChanged(_delegatee, _oldVotes, _newVotes);
    }

    function getChainId() internal view returns (uint256) {
        uint256 chainId;
        assembly {
            chainId := chainid()
        }
        return chainId;
    }

    function _toDecimalString(uint256 _value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT license
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (_value == 0) {
            return "0";
        }
        uint256 temp = _value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (_value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(_value % 10)));
            _value /= 10;
        }
        return string(buffer);
    }

    function _toHexString(uint256 _value) internal pure returns (string memory) {
        bytes memory buffer = new bytes(66);
        buffer[0] = bytes1("0");
        buffer[1] = bytes1("x");
        for (uint256 i = 0; i < 64; i++) {
            buffer[65 - i] = bytes1(TABLE[_value % 16]);
            _value /= 16;
        }
        return string(buffer);
    }

    function safe32(uint256 n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }
}

/// [MIT License]
/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <[email protected]>
library Base64 {
    bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /// @notice Encodes some bytes to the base64 representation
    function encode(bytes memory data) internal pure returns (string memory) {
        uint256 len = data.length;
        if (len == 0) return "";

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((len + 2) / 3);

        // Add some extra buffer at the end
        bytes memory result = new bytes(encodedLen + 32);

        bytes memory table = TABLE;

        assembly {
            let tablePtr := add(table, 1)
            let resultPtr := add(result, 32)

            for {
                let i := 0
            } lt(i, len) {

            } {
                i := add(i, 3)
                let input := and(mload(add(data, i)), 0xffffff)

                let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF))
                out := shl(224, out)

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

            switch mod(len, 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

File 2 of 26 : IHashes.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.6;

import { IERC721Enumerable } from "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

interface IHashes is IERC721Enumerable {
    function deactivateTokens(address _owner, uint256 _proposalId, bytes memory _signature) external returns (uint256);
    function activationFee() external view returns (uint256);
    function verify(uint256 _tokenId, address _minter, string memory _phrase) external view returns (bool);
    function getHash(uint256 _tokenId) external view returns (bytes32);
    function getPriorVotes(address account, uint256 blockNumber) external view returns (uint256);
}

File 3 of 26 : LibDeactivateToken.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.6;

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

library LibDeactivateToken {
    struct DeactivateToken {
        uint256 proposalId;
    }

    // Hash for the EIP712 Schema
    //    bytes32 constant internal EIP712_DEACTIVATE_TOKEN_HASH = keccak256(abi.encodePacked(
    //        "DeactivateToken(",
    //        "uint256 proposalId",
    //        ")"
    //    ));
    bytes32 internal constant EIP712_DEACTIVATE_TOKEN_SCHEMA_HASH =
        0xe6c775d77ef8ec84277aad8c3f9e3fa051e3ca07ea28a40e99a1fdf5b8cc0709;

    /// @dev Calculates Keccak-256 hash of the deactivation.
    /// @param _deactivate The deactivate structure.
    /// @param _eip712DomainHash The hash of the EIP712 domain.
    /// @return deactivateHash Keccak-256 EIP712 hash of the deactivation.
    function getDeactivateTokenHash(DeactivateToken memory _deactivate, bytes32 _eip712DomainHash)
        internal
        pure
        returns (bytes32 deactivateHash)
    {
        deactivateHash = LibEIP712.hashEIP712Message(_eip712DomainHash, hashDeactivateToken(_deactivate));
        return deactivateHash;
    }

    /// @dev Calculates EIP712 hash of the deactivation.
    /// @param _deactivate The deactivate structure.
    /// @return result EIP712 hash of the deactivate.
    function hashDeactivateToken(DeactivateToken memory _deactivate) internal pure returns (bytes32 result) {
        // Assembly for more efficiently computing:
        bytes32 schemaHash = EIP712_DEACTIVATE_TOKEN_SCHEMA_HASH;

        assembly {
            // Assert deactivate offset (this is an internal error that should never be triggered)
            if lt(_deactivate, 32) {
                invalid()
            }

            // Calculate memory addresses that will be swapped out before hashing
            let pos1 := sub(_deactivate, 32)

            // Backup
            let temp1 := mload(pos1)

            // Hash in place
            mstore(pos1, schemaHash)
            result := keccak256(pos1, 64)

            // Restore
            mstore(pos1, temp1)
        }
        return result;
    }
}

File 4 of 26 : LibEIP712.sol
// SPDX-License-Identifier: MIT
/*

  Copyright 2019 ZeroEx Intl.

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

*/

pragma solidity 0.8.6;

library LibEIP712 {
    // Hash of the EIP712 Domain Separator Schema
    // keccak256(abi.encodePacked(
    //     "EIP712Domain(",
    //     "string name,",
    //     "string version,",
    //     "uint256 chainId,",
    //     "address verifyingContract",
    //     ")"
    // ))
    bytes32 internal constant _EIP712_DOMAIN_SEPARATOR_SCHEMA_HASH =
        0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f;

    /// @dev Calculates a EIP712 domain separator.
    /// @param name The EIP712 domain name.
    /// @param version The EIP712 domain version.
    /// @param verifyingContract The EIP712 verifying contract.
    /// @return result EIP712 domain separator.
    function hashEIP712Domain(
        string memory name,
        string memory version,
        uint256 chainId,
        address verifyingContract
    ) internal pure returns (bytes32 result) {
        bytes32 schemaHash = _EIP712_DOMAIN_SEPARATOR_SCHEMA_HASH;

        // Assembly for more efficient computing:
        // keccak256(abi.encodePacked(
        //     _EIP712_DOMAIN_SEPARATOR_SCHEMA_HASH,
        //     keccak256(bytes(name)),
        //     keccak256(bytes(version)),
        //     chainId,
        //     uint256(verifyingContract)
        // ))

        assembly {
            // Calculate hashes of dynamic data
            let nameHash := keccak256(add(name, 32), mload(name))
            let versionHash := keccak256(add(version, 32), mload(version))

            // Load free memory pointer
            let memPtr := mload(64)

            // Store params in memory
            mstore(memPtr, schemaHash)
            mstore(add(memPtr, 32), nameHash)
            mstore(add(memPtr, 64), versionHash)
            mstore(add(memPtr, 96), chainId)
            mstore(add(memPtr, 128), verifyingContract)

            // Compute hash
            result := keccak256(memPtr, 160)
        }
        return result;
    }

    /// @dev Calculates EIP712 encoding for a hash struct with a given domain hash.
    /// @param eip712DomainHash Hash of the domain domain separator data, computed
    ///                         with getDomainHash().
    /// @param hashStruct The EIP712 hash struct.
    /// @return result EIP712 hash applied to the given EIP712 Domain.
    function hashEIP712Message(bytes32 eip712DomainHash, bytes32 hashStruct) internal pure returns (bytes32 result) {
        // Assembly for more efficient computing:
        // keccak256(abi.encodePacked(
        //     EIP191_HEADER,
        //     EIP712_DOMAIN_HASH,
        //     hashStruct
        // ));

        assembly {
            // Load free memory pointer
            let memPtr := mload(64)

            mstore(memPtr, 0x1901000000000000000000000000000000000000000000000000000000000000) // EIP191 header
            mstore(add(memPtr, 2), eip712DomainHash) // EIP712 domain hash
            mstore(add(memPtr, 34), hashStruct) // Hash of struct

            // Compute hash
            result := keccak256(memPtr, 66)
        }
        return result;
    }
}

File 5 of 26 : LibSignature.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.6;

// solhint-disable max-line-length
/**
 * @notice A library for validating signatures.
 * @dev Much of this file was taken from the LibSignature implementation found at:
 *      https://github.com/0xProject/protocol/blob/development/contracts/zero-ex/contracts/src/features/libs/LibSignature.sol
 */
// solhint-enable max-line-length
library LibSignature {
    // Exclusive upper limit on ECDSA signatures 'R' values. The valid range is
    // given by fig (282) of the yellow paper.
    uint256 private constant ECDSA_SIGNATURE_R_LIMIT =
        uint256(0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141);

    // Exclusive upper limit on ECDSA signatures 'S' values. The valid range is
    // given by fig (283) of the yellow paper.
    uint256 private constant ECDSA_SIGNATURE_S_LIMIT = ECDSA_SIGNATURE_R_LIMIT / 2 + 1;

    /**
     * @dev Retrieve the signer of a signature. Throws if the signature can't be
     *      validated.
     * @param _hash The hash that was signed.
     * @param _signature The signature.
     * @return The recovered signer address.
     */
    function getSignerOfHash(bytes32 _hash, bytes memory _signature) internal pure returns (address) {
        require(_signature.length == 65, "LibSignature: Signature length must be 65 bytes.");

        // Get the v, r, and s values from the signature.
        uint8 v = uint8(_signature[0]);
        bytes32 r;
        bytes32 s;
        assembly {
            r := mload(add(_signature, 0x21))
            s := mload(add(_signature, 0x41))
        }

        // Enforce the signature malleability restrictions.
        validateSignatureMalleabilityLimits(v, r, s);

        // Recover the signature without pre-hashing.
        address recovered = ecrecover(_hash, v, r, s);

        // `recovered` can be null if the signature values are out of range.
        require(recovered != address(0), "LibSignature: Bad signature data.");
        return recovered;
    }

    /**
     * @notice Validates the malleability limits of an ECDSA signature.
     *
     *         Context:
     *
     *         EIP-2 still allows signature malleability for ecrecover(). Remove
     *         this possibility and make the signature unique. Appendix F in the
     *         Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf),
     *         defines the valid range for r in (282): 0 < r < secp256k1n, the
     *         valid range for s in (283): 0 < s < secp256k1n ÷ 2 + 1, and for v
     *         in (284): v ∈ {27, 28}. Most signatures from current libraries
     *         generate a unique signature with an s-value in the lower half order.
     *
     *         If your library generates malleable signatures, such as s-values
     *         in the upper range, calculate a new s-value with
     *         0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1
     *         and flip v from 27 to 28 or vice versa. If your library also
     *         generates signatures with 0/1 for v instead 27/28, add 27 to v to
     *         accept these malleable signatures as well.
     *
     * @param _v The v value of the signature.
     * @param _r The r value of the signature.
     * @param _s The s value of the signature.
     */
    function validateSignatureMalleabilityLimits(
        uint8 _v,
        bytes32 _r,
        bytes32 _s
    ) private pure {
        // Ensure the r, s, and v are within malleability limits. Appendix F of
        // the Yellow Paper stipulates that all three values should be checked.
        require(uint256(_r) < ECDSA_SIGNATURE_R_LIMIT, "LibSignature: r parameter of signature is invalid.");
        require(uint256(_s) < ECDSA_SIGNATURE_S_LIMIT, "LibSignature: s parameter of signature is invalid.");
        require(_v == 27 || _v == 28, "LibSignature: v parameter of signature is invalid.");
    }
}

File 6 of 26 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 7 of 26 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @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, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @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 (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

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

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

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 8 of 26 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

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

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

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 9 of 26 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

File 10 of 26 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_msgSender());
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 11 of 26 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 12 of 26 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @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
    ) external;

    /**
     * @dev Transfers `tokenId` token 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;

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

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

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

    /**
     * @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 calldata data
    ) external;
}

File 13 of 26 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 14 of 26 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 15 of 26 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @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);
}

File 16 of 26 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 17 of 26 : Context.sol
// SPDX-License-Identifier: MIT

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 18 of 26 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 19 of 26 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 20 of 26 : TestHashes.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.6;

import { ERC721 } from "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import { Hashes } from "./Hashes.sol";

contract TestHashes is Hashes(1000000000000000000, 100, 1000, "https://example.com/") {
    function setNonce(uint256 _nonce) public nonReentrant {
        nonce = _nonce;
    }
}

File 21 of 26 : HashesDAO.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.6;

import { IHashes } from "./IHashes.sol";
import { LibBytes } from "./LibBytes.sol";
import { LibDeactivateAuthority } from "./LibDeactivateAuthority.sol";
import { LibEIP712 } from "./LibEIP712.sol";
import { LibSignature } from "./LibSignature.sol";
import { LibVeto } from "./LibVeto.sol";
import { LibVoteCast } from "./LibVoteCast.sol";
import { MathHelpers } from "./MathHelpers.sol";
import { SafeMath } from "@openzeppelin/contracts/utils/math/SafeMath.sol";
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import "./MathHelpers.sol";

/**
 * @title HashesDAO
 * @author DEX Labs
 * @notice This contract handles governance for the HashesDAO and the
 *         Hashes ERC-721 token ecosystem.
 */
contract HashesDAO is Ownable {
    using SafeMath for uint256;
    using MathHelpers for uint256;
    using LibBytes for bytes;

    /// @notice name for this Governance apparatus
    string public constant name = "HashesDAO"; // solhint-disable-line const-name-snakecase

    /// @notice version for this Governance apparatus
    string public constant version = "1"; // solhint-disable-line const-name-snakecase

    // Hashes ERC721 token
    IHashes hashesToken;

    // A boolean reflecting whether or not the authority system is still active.
    bool public authoritiesActive;
    // The minimum number of votes required for any authority actions.
    uint256 public quorumAuthorities;
    // Authority status by address.
    mapping(address => bool) authorities;
    // Proposal struct by ID
    mapping(uint256 => Proposal) proposals;
    // Latest proposal IDs by proposer address
    mapping(address => uint128) latestProposalIds;
    // Whether transaction hash is currently queued
    mapping(bytes32 => bool) queuedTransactions;
    // Max number of operations/actions a proposal can have
    uint32 public immutable proposalMaxOperations;
    // Number of blocks after a proposal is made that voting begins
    // (e.g. 1 block)
    uint32 public immutable votingDelay;
    // Number of blocks voting will be held
    // (e.g. 17280 blocks ~ 3 days of blocks)
    uint32 public immutable votingPeriod;
    // Time window (s) a successful proposal must be executed,
    // otherwise will be expired, measured in seconds
    // (e.g. 1209600 seconds)
    uint32 public immutable gracePeriod;
    // Minimum number of for votes required, even if there's a
    // majority in favor
    // (e.g. 100 votes)
    uint32 public immutable quorumVotes;
    // Minimum Hashes token holdings required to create a proposal
    // (e.g. 2 votes)
    uint32 public immutable proposalThreshold;
    // Time (s) proposals must be queued before executing
    uint32 public immutable timelockDelay;
    // Total number of proposals
    uint128 proposalCount;

    struct Proposal {
        bool canceled;
        bool executed;
        address proposer;
        uint32 delay;
        uint128 id;
        uint256 eta;
        uint256 forVotes;
        uint256 againstVotes;
        address[] targets;
        string[] signatures;
        bytes[] calldatas;
        uint256[] values;
        uint256 startBlock;
        uint256 endBlock;
        mapping(address => Receipt) receipts;
    }

    struct Receipt {
        bool hasVoted;
        bool support;
        uint256 votes;
    }

    enum ProposalState { Pending, Active, Canceled, Defeated, Succeeded, Queued, Expired, Executed }

    /// @notice Emitted when a new proposal is created
    event ProposalCreated(
        uint128 indexed id,
        address indexed proposer,
        address[] targets,
        uint256[] values,
        string[] signatures,
        bytes[] calldatas,
        uint256 startBlock,
        uint256 endBlock,
        string description
    );

    /// @notice Emitted when a vote has been cast on a proposal
    event VoteCast(address indexed voter, uint128 indexed proposalId, bool support, uint256 votes);

    /// @notice Emitted when the authority system is deactivated.
    event AuthoritiesDeactivated();

    /// @notice Emitted when a proposal has been canceled
    event ProposalCanceled(uint128 indexed id);

    /// @notice Emitted when a proposal has been executed
    event ProposalExecuted(uint128 indexed id);

    /// @notice Emitted when a proposal has been queued
    event ProposalQueued(uint128 indexed id, uint256 eta);

    /// @notice Emitted when a proposal has been vetoed
    event ProposalVetoed(uint128 indexed id, uint256 quorum);

    /// @notice Emitted when a proposal action has been canceled
    event CancelTransaction(
        bytes32 indexed txHash,
        address indexed target,
        uint256 value,
        string signature,
        bytes data,
        uint256 eta
    );

    /// @notice Emitted when a proposal action has been executed
    event ExecuteTransaction(
        bytes32 indexed txHash,
        address indexed target,
        uint256 value,
        string signature,
        bytes data,
        uint256 eta
    );

    /// @notice Emitted when a proposal action has been queued
    event QueueTransaction(
        bytes32 indexed txHash,
        address indexed target,
        uint256 value,
        string signature,
        bytes data,
        uint256 eta
    );

    /**
     * @dev Makes functions only accessible when the authority system is still
     *      active.
     */
    modifier onlyAuthoritiesActive() {
        require(authoritiesActive, "HashesDAO: authorities must be active.");
        _;
    }

    /**
     * @notice Constructor for the HashesDAO. Initializes the state.
     * @param _hashesToken The hashes token address. This is the contract that
     *        will be called to check for governance membership.
     * @param _authorities A list of authorities that are able to veto
     *        governance proposals. Authorities can revoke their status, but
     *        new authorities can never be added.
     * @param _proposalMaxOperations Max number of operations/actions a
     *        proposal can have
     * @param _votingDelay Number of blocks after a proposal is made
     *        that voting begins.
     * @param _votingPeriod Number of blocks voting will be held.
     * @param _gracePeriod Period in which a successful proposal must be
     *        executed, otherwise will be expired.
     * @param _timelockDelay Time (s) in which a successful proposal
     *        must be in the queue before it can be executed.
     * @param _quorumVotes Minimum number of for votes required, even
     *        if there's a majority in favor.
     * @param _proposalThreshold Minimum Hashes token holdings required
     *        to create a proposal
     */
    constructor(
        IHashes _hashesToken,
        address[] memory _authorities,
        uint32 _proposalMaxOperations,
        uint32 _votingDelay,
        uint32 _votingPeriod,
        uint32 _gracePeriod,
        uint32 _timelockDelay,
        uint32 _quorumVotes,
        uint32 _proposalThreshold
    )
    Ownable()
    {
        hashesToken = _hashesToken;

        // Set initial variable values
        authoritiesActive = true;
        quorumAuthorities = _authorities.length / 2 + 1;
        address lastAuthority;
        for (uint256 i = 0; i < _authorities.length; i++) {
            require(lastAuthority < _authorities[i], "HashesDAO: authority addresses should monotonically increase.");
            lastAuthority = _authorities[i];
            authorities[_authorities[i]] = true;
        }
        proposalMaxOperations = _proposalMaxOperations;
        votingDelay = _votingDelay;
        votingPeriod = _votingPeriod;
        gracePeriod = _gracePeriod;
        timelockDelay = _timelockDelay;
        quorumVotes = _quorumVotes;
        proposalThreshold = _proposalThreshold;
    }

    /* solhint-disable ordering */
    receive() external payable {

    }

    /**
     * @notice This function allows participants who have sufficient
     *         Hashes holdings to create new proposals up for vote. The
     *         proposals contain the ordered lists of on-chain
     *         executable calldata.
     * @param _targets Addresses of contracts involved.
     * @param _values Values to be passed along with the calls.
     * @param _signatures Function signatures.
     * @param _calldatas Calldata passed to the function.
     * @param _description Text description of proposal.
     */
    function propose(
        address[] memory _targets,
        uint256[] memory _values,
        string[] memory _signatures,
        bytes[] memory _calldatas,
        string memory _description
    ) external returns (uint128) {
        // Ensure proposer has sufficient token holdings to propose
        require(
            hashesToken.getPriorVotes(msg.sender, block.number.sub(1)) >= proposalThreshold,
            "HashesDAO: proposer votes below proposal threshold."
        );
        require(
            _targets.length == _values.length &&
            _targets.length == _signatures.length &&
            _targets.length == _calldatas.length,
            "HashesDAO: proposal function information parity mismatch."
        );
        require(_targets.length != 0, "HashesDAO: must provide actions.");
        require(_targets.length <= proposalMaxOperations, "HashesDAO: too many actions.");

        if (latestProposalIds[msg.sender] != 0) {
            // Ensure proposer doesn't already have one active/pending
            ProposalState proposersLatestProposalState =
                state(latestProposalIds[msg.sender]);
            require(
                proposersLatestProposalState != ProposalState.Active,
                "HashesDAO: one live proposal per proposer, found an already active proposal."
            );
            require(
                proposersLatestProposalState != ProposalState.Pending,
                "HashesDAO: one live proposal per proposer, found an already pending proposal."
            );
        }

        // Proposal voting starts votingDelay after proposal is made
        uint256 startBlock = block.number.add(votingDelay);

        // Increment count of proposals
        proposalCount++;

        Proposal storage newProposal = proposals[proposalCount];
        newProposal.id = proposalCount;
        newProposal.proposer = msg.sender;
        newProposal.delay = timelockDelay;
        newProposal.targets = _targets;
        newProposal.values = _values;
        newProposal.signatures = _signatures;
        newProposal.calldatas = _calldatas;
        newProposal.startBlock = startBlock;
        newProposal.endBlock = startBlock.add(votingPeriod);

        // Update proposer's latest proposal
        latestProposalIds[newProposal.proposer] = newProposal.id;

        emit ProposalCreated(
            newProposal.id,
            msg.sender,
            _targets,
            _values,
            _signatures,
            _calldatas,
            startBlock,
            startBlock.add(votingPeriod),
            _description
        );
        return newProposal.id;
    }

    /**
     * @notice This function allows any participant to queue a
     *         successful proposal for execution. Proposals are deemed
     *         successful if there is a simple majority (and more for
     *         votes than the minimum quorum) at the end of voting.
     * @param _proposalId Proposal id.
     */
    function queue(uint128 _proposalId) external {
        // Ensure proposal has succeeded (i.e. the voting period has
        // ended and there is a simple majority in favor and also above
        // the quorum
        require(
            state(_proposalId) == ProposalState.Succeeded,
            "HashesDAO: proposal can only be queued if it is succeeded."
        );
        Proposal storage proposal = proposals[_proposalId];

        // Establish eta of execution, which is a number of seconds
        // after queuing at which point proposal can actually execute
        uint256 eta = block.timestamp.add(proposal.delay);
        for (uint256 i = 0; i < proposal.targets.length; i++) {
            // Ensure proposal action is not already in the queue
            bytes32 txHash =
            keccak256(
                abi.encode(
                    proposal.targets[i],
                    proposal.values[i],
                    proposal.signatures[i],
                    proposal.calldatas[i],
                    eta
                )
            );
            require(!queuedTransactions[txHash], "HashesDAO: proposal action already queued at eta.");
            queuedTransactions[txHash] = true;
            emit QueueTransaction(
                txHash,
                proposal.targets[i],
                proposal.values[i],
                proposal.signatures[i],
                proposal.calldatas[i],
                eta
            );
        }
        // Set proposal eta timestamp after which it can be executed
        proposal.eta = eta;
        emit ProposalQueued(_proposalId, eta);
    }

    /**
     * @notice This function allows any participant to execute a
     *         queued proposal. A proposal in the queue must be in the
     *         queue for the delay period it was proposed with prior to
     *         executing, allowing the community to position itself
     *         accordingly.
     * @param _proposalId Proposal id.
     */
    function execute(uint128 _proposalId) external payable {
        // Ensure proposal is queued
        require(
            state(_proposalId) == ProposalState.Queued,
            "HashesDAO: proposal can only be executed if it is queued."
        );
        Proposal storage proposal = proposals[_proposalId];
        // Ensure proposal has been in the queue long enough
        require(block.timestamp >= proposal.eta, "HashesDAO: proposal hasn't finished queue time length.");

        // Ensure proposal hasn't been in the queue for too long
        require(block.timestamp <= proposal.eta.add(gracePeriod), "HashesDAO: transaction is stale.");

        proposal.executed = true;

        // Loop through each of the actions in the proposal
        for (uint256 i = 0; i < proposal.targets.length; i++) {
            bytes32 txHash =
            keccak256(
                abi.encode(
                    proposal.targets[i],
                    proposal.values[i],
                    proposal.signatures[i],
                    proposal.calldatas[i],
                    proposal.eta
                )
            );
            require(queuedTransactions[txHash], "HashesDAO: transaction hasn't been queued.");

            queuedTransactions[txHash] = false;

            // Execute action
            bytes memory callData;
            require(bytes(proposal.signatures[i]).length != 0, "HashesDAO: Invalid function signature.");
            callData = abi.encodePacked(bytes4(keccak256(bytes(proposal.signatures[i]))), proposal.calldatas[i]);
            // solium-disable-next-line security/no-call-value
            (bool success, ) = proposal.targets[i].call{ value: proposal.values[i] }(callData);

            require(success, "HashesDAO: transaction execution reverted.");

            emit ExecuteTransaction(
                txHash,
                proposal.targets[i],
                proposal.values[i],
                proposal.signatures[i],
                proposal.calldatas[i],
                proposal.eta
            );
        }
        emit ProposalExecuted(_proposalId);
    }

    /**
     * @notice This function allows any participant to cancel any non-
     *         executed proposal. It can be canceled if the proposer's
     *         token holdings has dipped below the proposal threshold
     *         at the time of cancellation.
     * @param _proposalId Proposal id.
     */
    function cancel(uint128 _proposalId) external {
        ProposalState proposalState = state(_proposalId);

        // Ensure proposal hasn't executed
        require(proposalState != ProposalState.Executed, "HashesDAO: cannot cancel executed proposal.");

        Proposal storage proposal = proposals[_proposalId];

        // Ensure proposer's token holdings has dipped below the
        // proposer threshold, leaving their proposal subject to
        // cancellation
        require(
            hashesToken.getPriorVotes(proposal.proposer, block.number.sub(1)) < proposalThreshold,
            "HashesDAO: proposer above threshold."
        );

        proposal.canceled = true;

        // Loop through each of the proposal's actions
        for (uint256 i = 0; i < proposal.targets.length; i++) {
            bytes32 txHash =
            keccak256(
                abi.encode(
                    proposal.targets[i],
                    proposal.values[i],
                    proposal.signatures[i],
                    proposal.calldatas[i],
                    proposal.eta
                )
            );
            queuedTransactions[txHash] = false;
            emit CancelTransaction(
                txHash,
                proposal.targets[i],
                proposal.values[i],
                proposal.signatures[i],
                proposal.calldatas[i],
                proposal.eta
            );
        }

        emit ProposalCanceled(_proposalId);
    }

    /**
     * @notice This function allows participants to cast either in
     *         favor or against a particular proposal.
     * @param _proposalId Proposal id.
     * @param _support In favor (true) or against (false).
     * @param _deactivate Deactivate tokens (true) or don't (false).
     * @param _deactivateSignature The signature to use when deactivating tokens.
     */
    function castVote(uint128 _proposalId, bool _support, bool _deactivate, bytes memory _deactivateSignature) external {
        return _castVote(msg.sender, _proposalId, _support, _deactivate, _deactivateSignature);
    }

    /**
     * @notice This function allows participants to cast votes with
     *         offline signatures in favor or against a particular
     *         proposal.
     * @param _proposalId Proposal id.
     * @param _support In favor (true) or against (false).
     * @param _deactivate Deactivate tokens (true) or don't (false).
     * @param _deactivateSignature The signature to use when deactivating tokens.
     * @param _signature Signature
     */
    function castVoteBySig(
        uint128 _proposalId,
        bool _support,
        bool _deactivate,
        bytes memory _deactivateSignature,
        bytes memory _signature
    ) external {
        // EIP712 hashing logic
        bytes32 eip712DomainHash = LibEIP712.hashEIP712Domain(name, version, getChainId(), address(this));
        bytes32 voteCastHash =
        LibVoteCast.getVoteCastHash(
            LibVoteCast.VoteCast({ proposalId: _proposalId, support: _support, deactivate: _deactivate }),
            eip712DomainHash
        );

        // Recover the signature and EIP712 hash
        address recovered = LibSignature.getSignerOfHash(voteCastHash, _signature);

        // Cast the vote and return the result
        return _castVote(recovered, _proposalId, _support, _deactivate, _deactivateSignature);
    }

    /**
     * @notice Allows the authorities to veto a proposal.
     * @param _proposalId The ID of the proposal to veto.
     * @param _signatures The signatures of the authorities.
     */
    function veto(uint128 _proposalId, bytes[] memory _signatures) external onlyAuthoritiesActive {
        ProposalState proposalState = state(_proposalId);

        // Ensure proposal hasn't executed
        require(proposalState != ProposalState.Executed, "HashesDAO: cannot cancel executed proposal.");

        Proposal storage proposal = proposals[_proposalId];

        // Ensure that a sufficient amount of authorities have signed to veto
        // this proposal.
        bytes32 eip712DomainHash = LibEIP712.hashEIP712Domain(name, version, getChainId(), address(this));
        bytes32 vetoHash =
            LibVeto.getVetoHash(
                LibVeto.Veto({ proposalId: _proposalId }),
                eip712DomainHash
            );
        _verifyAuthorityAction(vetoHash, _signatures);

        // Cancel the proposal.
        proposal.canceled = true;

        // Loop through each of the proposal's actions
        for (uint256 i = 0; i < proposal.targets.length; i++) {
            bytes32 txHash =
            keccak256(
                abi.encode(
                    proposal.targets[i],
                    proposal.values[i],
                    proposal.signatures[i],
                    proposal.calldatas[i],
                    proposal.eta
                )
            );
            queuedTransactions[txHash] = false;
            emit CancelTransaction(
                txHash,
                proposal.targets[i],
                proposal.values[i],
                proposal.signatures[i],
                proposal.calldatas[i],
                proposal.eta
            );
        }

        emit ProposalVetoed(_proposalId, _signatures.length);
    }

    /**
     * @notice Allows a quorum of authorities to deactivate the authority
     *         system. This operation can only be performed once and will
     *         prevent all future actions undertaken by the authorities.
     * @param _signatures The authority signatures to use to deactivate.
     * @param _authorities A list of authorities to delete. This isn't
     *        security-critical, but it allows the state to be cleaned up.
     */
    function deactivateAuthorities(bytes[] memory _signatures, address[] memory _authorities) external onlyAuthoritiesActive {
        // Ensure that a sufficient amount of authorities have signed to
        // deactivate the authority system.
        bytes32 eip712DomainHash = LibEIP712.hashEIP712Domain(name, version, getChainId(), address(this));
        bytes32 deactivateHash =
            LibDeactivateAuthority.getDeactivateAuthorityHash(
                LibDeactivateAuthority.DeactivateAuthority({ support: true }),
                eip712DomainHash
            );
        _verifyAuthorityAction(deactivateHash, _signatures);

        // Deactivate the authority system.
        authoritiesActive = false;
        quorumAuthorities = 0;
        for (uint256 i = 0; i < _authorities.length; i++) {
            authorities[_authorities[i]] = false;
        }

        emit AuthoritiesDeactivated();
    }

    /**
     * @notice This function allows any participant to retrieve
     *         the actions involved in a given proposal.
     * @param _proposalId Proposal id.
     * @return targets Addresses of contracts involved.
     * @return values Values to be passed along with the calls.
     * @return signatures Function signatures.
     * @return calldatas Calldata passed to the function.
     */
    function getActions(uint128 _proposalId)
    external
    view
    returns (
        address[] memory targets,
        uint256[] memory values,
        string[] memory signatures,
        bytes[] memory calldatas
    )
    {
        Proposal storage p = proposals[_proposalId];
        return (p.targets, p.values, p.signatures, p.calldatas);
    }

    /**
     * @notice This function allows any participant to retrieve the authority
     *         status of an arbitrary address.
     * @param _authority The address to check.
     * @return The authority status of the address.
     */
    function getAuthorityStatus(address _authority) external view returns (bool) {
        return authorities[_authority];
    }

    /**
     * @notice This function allows any participant to retrieve
     *         the receipt for a given proposal and voter.
     * @param _proposalId Proposal id.
     * @param _voter Voter address.
     * @return Voter receipt.
     */
    function getReceipt(uint128 _proposalId, address _voter) external view returns (Receipt memory) {
        return proposals[_proposalId].receipts[_voter];
    }

    /**
     * @notice This function gets a proposal from an ID.
     * @param _proposalId Proposal id.
     * @return Proposal attributes.
     */
    function getProposal(uint128 _proposalId)
    external
    view
    returns (
        bool,
        bool,
        address,
        uint32,
        uint128,
        uint256,
        uint256,
        uint256,
        uint256,
        uint256
    )
    {
        Proposal storage proposal = proposals[_proposalId];
        return (
            proposal.canceled,
            proposal.executed,
            proposal.proposer,
            proposal.delay,
            proposal.id,
            proposal.forVotes,
            proposal.againstVotes,
            proposal.eta,
            proposal.startBlock,
            proposal.endBlock
        );
    }

    /**
     * @notice This function gets whether a proposal action transaction
     *         hash is queued or not.
     * @param _txHash Proposal action tx hash.
     * @return Is proposal action transaction hash queued or not.
     */
    function getIsQueuedTransaction(bytes32 _txHash) external view returns (bool) {
        return queuedTransactions[_txHash];
    }

    /**
     * @notice This function gets the proposal count.
     * @return Proposal count.
     */
    function getProposalCount() external view returns (uint128) {
        return proposalCount;
    }

    /**
     * @notice This function gets the latest proposal ID for a user.
     * @param _proposer Proposer's address.
     * @return Proposal ID.
     */
    function getLatestProposalId(address _proposer) external view returns (uint128) {
        return latestProposalIds[_proposer];
    }

    /**
     * @notice This function retrieves the status for any given
     *         proposal.
     * @param _proposalId Proposal id.
     * @return Status of proposal.
     */
    function state(uint128 _proposalId) public view returns (ProposalState) {
        require(proposalCount >= _proposalId && _proposalId > 0, "HashesDAO: invalid proposal id.");
        Proposal storage proposal = proposals[_proposalId];

        // Note the 3rd conditional where we can escape out of the vote
        // phase if the for or against votes exceeds the skip remaining
        // voting threshold
        if (proposal.canceled) {
            return ProposalState.Canceled;
        } else if (block.number <= proposal.startBlock) {
            return ProposalState.Pending;
        } else if (block.number <= proposal.endBlock) {
            return ProposalState.Active;
        } else if (proposal.forVotes <= proposal.againstVotes || proposal.forVotes < quorumVotes) {
            return ProposalState.Defeated;
        } else if (proposal.eta == 0) {
            return ProposalState.Succeeded;
        } else if (proposal.executed) {
            return ProposalState.Executed;
        } else if (block.timestamp >= proposal.eta.add(gracePeriod)) {
            return ProposalState.Expired;
        } else {
            return ProposalState.Queued;
        }
    }

    function _castVote(
        address _voter,
        uint128 _proposalId,
        bool _support,
        bool _deactivate,
        bytes memory _deactivateSignature
    ) internal {
        // Sanity check the input.
        require(!(_support && _deactivate), "HashesDAO: can't support and deactivate simultaneously.");

        require(state(_proposalId) == ProposalState.Active, "HashesDAO: voting is closed.");
        Proposal storage proposal = proposals[_proposalId];
        Receipt storage receipt = proposal.receipts[_voter];

        // Ensure voter has not already voted
        require(!receipt.hasVoted, "HashesDAO: voter already voted.");

        // Obtain the token holdings (voting power) for participant at
        // the time voting started. They may have gained or lost tokens
        // since then, doesn't matter.
        uint256 votes = hashesToken.getPriorVotes(_voter, proposal.startBlock);

        // Ensure voter has nonzero voting power
        require(votes > 0, "HashesDAO: voter has no voting power.");
        if (_support) {
            // Increment the for votes in favor
            proposal.forVotes = proposal.forVotes.add(votes);
        } else {
            // Increment the against votes
            proposal.againstVotes = proposal.againstVotes.add(votes);
        }

        // Set receipt attributes based on cast vote parameters
        receipt.hasVoted = true;
        receipt.support = _support;
        receipt.votes = votes;

        // If necessary, deactivate the voter's hashes tokens.
        if (_deactivate) {
            uint256 deactivationCount = hashesToken.deactivateTokens(_voter, _proposalId, _deactivateSignature);
            if (deactivationCount > 0) {
                // Transfer the voter the activation fee for each of the deactivated tokens.
                (bool sent,) = _voter.call{value: hashesToken.activationFee().mul(deactivationCount)}("");
                require(sent, "Hashes: couldn't re-pay the token owner after deactivating hashes.");
            }
        }

        emit VoteCast(_voter, _proposalId, _support, votes);
    }

    /**
     * @dev Verifies a submission from authorities. In particular, this
     *      validates signatures, authorization status, and quorum.
     * @param _hash The message hash to use during recovery.
     * @param _signatures The authority signatures to verify.
     */
    function _verifyAuthorityAction(bytes32 _hash, bytes[] memory _signatures) internal view {
        address lastAddress;
        for (uint256 i = 0; i < _signatures.length; i++) {
            address recovered = LibSignature.getSignerOfHash(_hash, _signatures[i]);
            require(lastAddress < recovered, "HashesDAO: recovered addresses should monotonically increase.");
            require(authorities[recovered], "HashesDAO: recovered addresses should be authorities.");
            lastAddress = recovered;
        }
        require(_signatures.length >= quorumAuthorities / 2 + 1, "HashesDAO: veto quorum was not reached.");
    }

    function getChainId() internal view returns (uint256) {
        uint256 chainId;
        assembly {
            chainId := chainid()
        }
        return chainId;
    }
}

File 22 of 26 : LibBytes.sol
// SPDX-License-Identifier: MIT
/*

  Copyright 2018 ZeroEx Intl.

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

*/

pragma solidity 0.8.6;

library LibBytes {
    using LibBytes for bytes;

    /// @dev Gets the memory address for a byte array.
    /// @param input Byte array to lookup.
    /// @return memoryAddress Memory address of byte array. This
    ///         points to the header of the byte array which contains
    ///         the length.
    function rawAddress(bytes memory input) internal pure returns (uint256 memoryAddress) {
        assembly {
            memoryAddress := input
        }
        return memoryAddress;
    }

    /// @dev Gets the memory address for the contents of a byte array.
    /// @param input Byte array to lookup.
    /// @return memoryAddress Memory address of the contents of the byte array.
    function contentAddress(bytes memory input) internal pure returns (uint256 memoryAddress) {
        assembly {
            memoryAddress := add(input, 32)
        }
        return memoryAddress;
    }

    /// @dev Copies `length` bytes from memory location `source` to `dest`.
    /// @param dest memory address to copy bytes to.
    /// @param source memory address to copy bytes from.
    /// @param length number of bytes to copy.
    function memCopy(
        uint256 dest,
        uint256 source,
        uint256 length
    ) internal pure {
        if (length < 32) {
            // Handle a partial word by reading destination and masking
            // off the bits we are interested in.
            // This correctly handles overlap, zero lengths and source == dest
            assembly {
                let mask := sub(exp(256, sub(32, length)), 1)
                let s := and(mload(source), not(mask))
                let d := and(mload(dest), mask)
                mstore(dest, or(s, d))
            }
        } else {
            // Skip the O(length) loop when source == dest.
            if (source == dest) {
                return;
            }

            // For large copies we copy whole words at a time. The final
            // word is aligned to the end of the range (instead of after the
            // previous) to handle partial words. So a copy will look like this:
            //
            //  ####
            //      ####
            //          ####
            //            ####
            //
            // We handle overlap in the source and destination range by
            // changing the copying direction. This prevents us from
            // overwriting parts of source that we still need to copy.
            //
            // This correctly handles source == dest
            //
            if (source > dest) {
                assembly {
                    // We subtract 32 from `sEnd` and `dEnd` because it
                    // is easier to compare with in the loop, and these
                    // are also the addresses we need for copying the
                    // last bytes.
                    length := sub(length, 32)
                    let sEnd := add(source, length)
                    let dEnd := add(dest, length)

                    // Remember the last 32 bytes of source
                    // This needs to be done here and not after the loop
                    // because we may have overwritten the last bytes in
                    // source already due to overlap.
                    let last := mload(sEnd)

                    // Copy whole words front to back
                    // Note: the first check is always true,
                    // this could have been a do-while loop.
                    // solhint-disable-next-line no-empty-blocks
                    for {

                    } lt(source, sEnd) {

                    } {
                        mstore(dest, mload(source))
                        source := add(source, 32)
                        dest := add(dest, 32)
                    }

                    // Write the last 32 bytes
                    mstore(dEnd, last)
                }
            } else {
                assembly {
                    // We subtract 32 from `sEnd` and `dEnd` because those
                    // are the starting points when copying a word at the end.
                    length := sub(length, 32)
                    let sEnd := add(source, length)
                    let dEnd := add(dest, length)

                    // Remember the first 32 bytes of source
                    // This needs to be done here and not after the loop
                    // because we may have overwritten the first bytes in
                    // source already due to overlap.
                    let first := mload(source)

                    // Copy whole words back to front
                    // We use a signed comparisson here to allow dEnd to become
                    // negative (happens when source and dest < 32). Valid
                    // addresses in local memory will never be larger than
                    // 2**255, so they can be safely re-interpreted as signed.
                    // Note: the first check is always true,
                    // this could have been a do-while loop.
                    // solhint-disable-next-line no-empty-blocks
                    for {

                    } slt(dest, dEnd) {

                    } {
                        mstore(dEnd, mload(sEnd))
                        sEnd := sub(sEnd, 32)
                        dEnd := sub(dEnd, 32)
                    }

                    // Write the first 32 bytes
                    mstore(dest, first)
                }
            }
        }
    }

    /// @dev Returns a slices from a byte array.
    /// @param b The byte array to take a slice from.
    /// @param from The starting index for the slice (inclusive).
    /// @param to The final index for the slice (exclusive).
    /// @return result The slice containing bytes at indices [from, to)
    function slice(
        bytes memory b,
        uint256 from,
        uint256 to
    ) internal pure returns (bytes memory result) {
        require(from <= to, "FROM_LESS_THAN_TO_REQUIRED");
        require(to <= b.length, "TO_LESS_THAN_LENGTH_REQUIRED");

        // Create a new bytes structure and copy contents
        result = new bytes(to - from);
        memCopy(result.contentAddress(), b.contentAddress() + from, result.length);
        return result;
    }

    /// @dev Returns a slice from a byte array without preserving the input.
    /// @param b The byte array to take a slice from. Will be destroyed in the process.
    /// @param from The starting index for the slice (inclusive).
    /// @param to The final index for the slice (exclusive).
    /// @return result The slice containing bytes at indices [from, to)
    /// @dev When `from == 0`, the original array will match the slice. In other cases its state will be corrupted.
    function sliceDestructive(
        bytes memory b,
        uint256 from,
        uint256 to
    ) internal pure returns (bytes memory result) {
        require(from <= to, "FROM_LESS_THAN_TO_REQUIRED");
        require(to <= b.length, "TO_LESS_THAN_LENGTH_REQUIRED");

        // Create a new bytes structure around [from, to) in-place.
        assembly {
            result := add(b, from)
            mstore(result, sub(to, from))
        }
        return result;
    }

    /// @dev Pops the last byte off of a byte array by modifying its length.
    /// @param b Byte array that will be modified.
    /// @return result The byte that was popped off.
    function popLastByte(bytes memory b) internal pure returns (bytes1 result) {
        require(b.length > 0, "GREATER_THAN_ZERO_LENGTH_REQUIRED");

        // Store last byte.
        result = b[b.length - 1];

        assembly {
            // Decrement length of byte array.
            let newLen := sub(mload(b), 1)
            mstore(b, newLen)
        }
        return result;
    }

    /// @dev Pops the last 20 bytes off of a byte array by modifying its length.
    /// @param b Byte array that will be modified.
    /// @return result The 20 byte address that was popped off.
    function popLast20Bytes(bytes memory b) internal pure returns (address result) {
        require(b.length >= 20, "GREATER_OR_EQUAL_TO_20_LENGTH_REQUIRED");

        // Store last 20 bytes.
        result = readAddress(b, b.length - 20);

        assembly {
            // Subtract 20 from byte array length.
            let newLen := sub(mload(b), 20)
            mstore(b, newLen)
        }
        return result;
    }

    /// @dev Tests equality of two byte arrays.
    /// @param lhs First byte array to compare.
    /// @param rhs Second byte array to compare.
    /// @return equal True if arrays are the same. False otherwise.
    function equals(bytes memory lhs, bytes memory rhs) internal pure returns (bool equal) {
        // Keccak gas cost is 30 + numWords * 6. This is a cheap way to compare.
        // We early exit on unequal lengths, but keccak would also correctly
        // handle this.
        return lhs.length == rhs.length && keccak256(lhs) == keccak256(rhs);
    }

    /// @dev Reads an address from a position in a byte array.
    /// @param b Byte array containing an address.
    /// @param index Index in byte array of address.
    /// @return result address from byte array.
    function readAddress(bytes memory b, uint256 index) internal pure returns (address result) {
        require(
            b.length >= index + 20, // 20 is length of address
            "GREATER_OR_EQUAL_TO_20_LENGTH_REQUIRED"
        );

        // Add offset to index:
        // 1. Arrays are prefixed by 32-byte length parameter (add 32 to index)
        // 2. Account for size difference between address length and 32-byte storage word (subtract 12 from index)
        index += 20;

        // Read address from array memory
        assembly {
            // 1. Add index to address of bytes array
            // 2. Load 32-byte word from memory
            // 3. Apply 20-byte mask to obtain address
            result := and(mload(add(b, index)), 0xffffffffffffffffffffffffffffffffffffffff)
        }
        return result;
    }

    /// @dev Writes an address into a specific position in a byte array.
    /// @param b Byte array to insert address into.
    /// @param index Index in byte array of address.
    /// @param input Address to put into byte array.
    function writeAddress(
        bytes memory b,
        uint256 index,
        address input
    ) internal pure {
        require(
            b.length >= index + 20, // 20 is length of address
            "GREATER_OR_EQUAL_TO_20_LENGTH_REQUIRED"
        );

        // Add offset to index:
        // 1. Arrays are prefixed by 32-byte length parameter (add 32 to index)
        // 2. Account for size difference between address length and 32-byte storage word (subtract 12 from index)
        index += 20;

        // Store address into array memory
        assembly {
            // The address occupies 20 bytes and mstore stores 32 bytes.
            // First fetch the 32-byte word where we'll be storing the address, then
            // apply a mask so we have only the bytes in the word that the address will not occupy.
            // Then combine these bytes with the address and store the 32 bytes back to memory with mstore.

            // 1. Add index to address of bytes array
            // 2. Load 32-byte word from memory
            // 3. Apply 12-byte mask to obtain extra bytes occupying word of memory where we'll store the address
            let neighbors := and(
                mload(add(b, index)),
                0xffffffffffffffffffffffff0000000000000000000000000000000000000000
            )

            // Make sure input address is clean.
            // (Solidity does not guarantee this)
            input := and(input, 0xffffffffffffffffffffffffffffffffffffffff)

            // Store the neighbors and address into memory
            mstore(add(b, index), xor(input, neighbors))
        }
    }

    /// @dev Reads a bytes32 value from a position in a byte array.
    /// @param b Byte array containing a bytes32 value.
    /// @param index Index in byte array of bytes32 value.
    /// @return result bytes32 value from byte array.
    function readBytes32(bytes memory b, uint256 index) internal pure returns (bytes32 result) {
        require(b.length >= index + 32, "GREATER_OR_EQUAL_TO_32_LENGTH_REQUIRED");

        // Arrays are prefixed by a 256 bit length parameter
        index += 32;

        // Read the bytes32 from array memory
        assembly {
            result := mload(add(b, index))
        }
        return result;
    }

    /// @dev Writes a bytes32 into a specific position in a byte array.
    /// @param b Byte array to insert <input> into.
    /// @param index Index in byte array of <input>.
    /// @param input bytes32 to put into byte array.
    function writeBytes32(
        bytes memory b,
        uint256 index,
        bytes32 input
    ) internal pure {
        require(b.length >= index + 32, "GREATER_OR_EQUAL_TO_32_LENGTH_REQUIRED");

        // Arrays are prefixed by a 256 bit length parameter
        index += 32;

        // Read the bytes32 from array memory
        assembly {
            mstore(add(b, index), input)
        }
    }

    /// @dev Reads a uint256 value from a position in a byte array.
    /// @param b Byte array containing a uint256 value.
    /// @param index Index in byte array of uint256 value.
    /// @return result uint256 value from byte array.
    function readUint256(bytes memory b, uint256 index) internal pure returns (uint256 result) {
        result = uint256(readBytes32(b, index));
        return result;
    }

    /// @dev Writes a uint256 into a specific position in a byte array.
    /// @param b Byte array to insert <input> into.
    /// @param index Index in byte array of <input>.
    /// @param input uint256 to put into byte array.
    function writeUint256(
        bytes memory b,
        uint256 index,
        uint256 input
    ) internal pure {
        writeBytes32(b, index, bytes32(input));
    }

    /// @dev Reads an unpadded bytes4 value from a position in a byte array.
    /// @param b Byte array containing a bytes4 value.
    /// @param index Index in byte array of bytes4 value.
    /// @return result bytes4 value from byte array.
    function readBytes4(bytes memory b, uint256 index) internal pure returns (bytes4 result) {
        require(b.length >= index + 4, "GREATER_OR_EQUAL_TO_4_LENGTH_REQUIRED");

        // Arrays are prefixed by a 32 byte length field
        index += 32;

        // Read the bytes4 from array memory
        assembly {
            result := mload(add(b, index))
            // Solidity does not require us to clean the trailing bytes.
            // We do it anyway
            result := and(result, 0xFFFFFFFF00000000000000000000000000000000000000000000000000000000)
        }
        return result;
    }

    /// @dev Reads an unpadded bytes2 value from a position in a byte array.
    /// @param b Byte array containing a bytes2 value.
    /// @param index Index in byte array of bytes2 value.
    /// @return result bytes2 value from byte array.
    function readBytes2(bytes memory b, uint256 index) internal pure returns (bytes2 result) {
        require(b.length >= index + 2, "GREATER_OR_EQUAL_TO_2_LENGTH_REQUIRED");

        // Arrays are prefixed by a 32 byte length field
        index += 32;

        // Read the bytes2 from array memory
        assembly {
            result := mload(add(b, index))
            // Solidity does not require us to clean the trailing bytes.
            // We do it anyway
            result := and(result, 0xFFFF000000000000000000000000000000000000000000000000000000000000)
        }
        return result;
    }

    /// @dev Reads nested bytes from a specific position.
    /// @dev NOTE: the returned value overlaps with the input value.
    ///            Both should be treated as immutable.
    /// @param b Byte array containing nested bytes.
    /// @param index Index of nested bytes.
    /// @return result Nested bytes.
    function readBytesWithLength(bytes memory b, uint256 index) internal pure returns (bytes memory result) {
        // Read length of nested bytes
        uint256 nestedBytesLength = readUint256(b, index);
        index += 32;

        // Assert length of <b> is valid, given
        // length of nested bytes
        require(b.length >= index + nestedBytesLength, "GREATER_OR_EQUAL_TO_NESTED_BYTES_LENGTH_REQUIRED");

        // Return a pointer to the byte array as it exists inside `b`
        assembly {
            result := add(b, index)
        }
        return result;
    }

    /// @dev Inserts bytes at a specific position in a byte array.
    /// @param b Byte array to insert <input> into.
    /// @param index Index in byte array of <input>.
    /// @param input bytes to insert.
    function writeBytesWithLength(
        bytes memory b,
        uint256 index,
        bytes memory input
    ) internal pure {
        // Assert length of <b> is valid, given
        // length of input
        require(
            b.length >= index + 32 + input.length, // 32 bytes to store length
            "GREATER_OR_EQUAL_TO_NESTED_BYTES_LENGTH_REQUIRED"
        );

        // Copy <input> into <b>
        memCopy(
            b.contentAddress() + index,
            input.rawAddress(), // includes length of <input>
            input.length + 32 // +32 bytes to store <input> length
        );
    }

    /// @dev Performs a deep copy of a byte array onto another byte array of greater than or equal length.
    /// @param dest Byte array that will be overwritten with source bytes.
    /// @param source Byte array to copy onto dest bytes.
    function deepCopyBytes(bytes memory dest, bytes memory source) internal pure {
        uint256 sourceLen = source.length;
        // Dest length must be >= source length, or some bytes would not be copied.
        require(dest.length >= sourceLen, "GREATER_OR_EQUAL_TO_SOURCE_BYTES_LENGTH_REQUIRED");
        memCopy(dest.contentAddress(), source.contentAddress(), sourceLen);
    }
}

File 23 of 26 : LibDeactivateAuthority.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.6;

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

library LibDeactivateAuthority {
    struct DeactivateAuthority {
        bool support;
    }

    // Hash for the EIP712 Schema
    //    bytes32 constant internal EIP712_DEACTIVATE_AUTHORITY_HASH = keccak256(abi.encodePacked(
    //        "DeactivateAuthority(",
    //        "bool support",
    //        ")"
    //    ));
    bytes32 internal constant EIP712_DEACTIVATE_AUTHORITY_SCHEMA_HASH =
        0x17dec47eaa269b80dfd59f06648e0096c5e96c83185c6a1be1c71cf853a79a40;

    /// @dev Calculates Keccak-256 hash of the deactivation.
    /// @param _deactivate The deactivate structure.
    /// @param _eip712DomainHash The hash of the EIP712 domain.
    /// @return deactivateHash Keccak-256 EIP712 hash of the deactivation.
    function getDeactivateAuthorityHash(DeactivateAuthority memory _deactivate, bytes32 _eip712DomainHash)
        internal
        pure
        returns (bytes32 deactivateHash)
    {
        deactivateHash = LibEIP712.hashEIP712Message(_eip712DomainHash, hashDeactivateAuthority(_deactivate));
        return deactivateHash;
    }

    /// @dev Calculates EIP712 hash of the deactivation.
    /// @param _deactivate The deactivate structure.
    /// @return result EIP712 hash of the deactivate.
    function hashDeactivateAuthority(DeactivateAuthority memory _deactivate) internal pure returns (bytes32 result) {
        // Assembly for more efficiently computing:
        bytes32 schemaHash = EIP712_DEACTIVATE_AUTHORITY_SCHEMA_HASH;

        assembly {
            // Assert deactivate offset (this is an internal error that should never be triggered)
            if lt(_deactivate, 32) {
                invalid()
            }

            // Calculate memory addresses that will be swapped out before hashing
            let pos1 := sub(_deactivate, 32)

            // Backup
            let temp1 := mload(pos1)

            // Hash in place
            mstore(pos1, schemaHash)
            result := keccak256(pos1, 64)

            // Restore
            mstore(pos1, temp1)
        }
        return result;
    }
}

File 24 of 26 : LibVeto.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.6;

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

library LibVeto {
    struct Veto {
        uint128 proposalId; // Proposal ID
    }

    // Hash for the EIP712 Schema
    //    bytes32 constant internal EIP712_VETO_SCHEMA_HASH = keccak256(abi.encodePacked(
    //        "Veto(",
    //        "uint128 proposalId",
    //        ")"
    //    ));
    bytes32 internal constant EIP712_VETO_SCHEMA_HASH =
        0x634b7f2828b36c241805efe02eca7354b65d9dd7345300a9c3fca91c0b028ad7;

    /// @dev Calculates Keccak-256 hash of the veto.
    /// @param _veto The veto structure.
    /// @param _eip712DomainHash The hash of the EIP712 domain.
    /// @return vetoHash Keccak-256 EIP712 hash of the veto.
    function getVetoHash(Veto memory _veto, bytes32 _eip712DomainHash)
        internal
        pure
        returns (bytes32 vetoHash)
    {
        vetoHash = LibEIP712.hashEIP712Message(_eip712DomainHash, hashVeto(_veto));
        return vetoHash;
    }

    /// @dev Calculates EIP712 hash of the veto.
    /// @param _veto The veto structure.
    /// @return result EIP712 hash of the veto.
    function hashVeto(Veto memory _veto) internal pure returns (bytes32 result) {
        // Assembly for more efficiently computing:
        bytes32 schemaHash = EIP712_VETO_SCHEMA_HASH;

        assembly {
            // Assert veto offset (this is an internal error that should never be triggered)
            if lt(_veto, 32) {
                invalid()
            }

            // Calculate memory addresses that will be swapped out before hashing
            let pos1 := sub(_veto, 32)

            // Backup
            let temp1 := mload(pos1)

            // Hash in place
            mstore(pos1, schemaHash)
            result := keccak256(pos1, 64)

            // Restore
            mstore(pos1, temp1)
        }
        return result;
    }
}

File 25 of 26 : LibVoteCast.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.6;

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

library LibVoteCast {
    struct VoteCast {
        uint128 proposalId; // Proposal ID
        bool support; // Support
        bool deactivate; // Deactivation preference
    }

    // Hash for the EIP712 Schema
    //    bytes32 constant internal EIP712_VOTE_CAST_SCHEMA_HASH = keccak256(abi.encodePacked(
    //        "VoteCast(",
    //        "uint128 proposalId,",
    //        "bool support,",
    //        "bool deactivate",
    //        ")"
    //    ));
    bytes32 internal constant EIP712_VOTE_CAST_SCHEMA_HASH =
        0xe2e736baec1b33e622ec76a499ffd32b809860cc499f4d543162d229e795be74;

    /// @dev Calculates Keccak-256 hash of the vote cast.
    /// @param _voteCast The vote cast structure.
    /// @param _eip712DomainHash The hash of the EIP712 domain.
    /// @return voteCastHash Keccak-256 EIP712 hash of the vote cast.
    function getVoteCastHash(VoteCast memory _voteCast, bytes32 _eip712DomainHash)
        internal
        pure
        returns (bytes32 voteCastHash)
    {
        voteCastHash = LibEIP712.hashEIP712Message(_eip712DomainHash, hashVoteCast(_voteCast));
        return voteCastHash;
    }

    /// @dev Calculates EIP712 hash of the vote cast.
    /// @param _voteCast The vote cast structure.
    /// @return result EIP712 hash of the vote cast.
    function hashVoteCast(VoteCast memory _voteCast) internal pure returns (bytes32 result) {
        // Assembly for more efficiently computing:
        bytes32 schemaHash = EIP712_VOTE_CAST_SCHEMA_HASH;

        assembly {
            // Assert vote cast offset (this is an internal error that should never be triggered)
            if lt(_voteCast, 32) {
                invalid()
            }

            // Calculate memory addresses that will be swapped out before hashing
            let pos1 := sub(_voteCast, 32)

            // Backup
            let temp1 := mload(pos1)

            // Hash in place
            mstore(pos1, schemaHash)
            result := keccak256(pos1, 128)

            // Restore
            mstore(pos1, temp1)
        }
        return result;
    }
}

File 26 of 26 : MathHelpers.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.6;

import { SafeMath } from "@openzeppelin/contracts/utils/math/SafeMath.sol";

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library MathHelpers {
    using SafeMath for uint256;

    function proportion256(
        uint256 a,
        uint256 b,
        uint256 c
    ) internal pure returns (uint256) {
        return uint256(a).mul(b).div(c);
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1000000,
    "details": {
      "yul": false,
      "deduplicate": true,
      "cse": true,
      "constantOptimizer": true
    }
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_mintFee","type":"uint256"},{"internalType":"uint256","name":"_reservedAmount","type":"uint256"},{"internalType":"uint256","name":"_governanceCap","type":"uint256"},{"internalType":"string","name":"_baseTokenURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Activated","type":"event"},{"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":false,"internalType":"string","name":"baseTokenURI","type":"string"}],"name":"BaseTokenURISet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"proposalId","type":"uint256"}],"name":"Deactivated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"artist","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"phrase","type":"string"}],"name":"Generated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"MintFeeSet","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":false,"internalType":"address","name":"artist","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"phrase","type":"string"}],"name":"Redeemed","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":[],"name":"activateTokens","outputs":[{"internalType":"uint256","name":"activationCount","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"activationFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"id","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenOwner","type":"address"},{"internalType":"uint256","name":"_proposalId","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"deactivateTokens","outputs":[{"internalType":"uint256","name":"deactivationCount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"deactivated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_phrase","type":"string"}],"name":"generate","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governanceCap","outputs":[{"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":[{"internalType":"address","name":"","type":"address"}],"name":"lastProposalIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"locked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintFee","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":"nonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_phrase","type":"string"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedAmount","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintFee","type":"uint256"}],"name":"setMintFee","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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_minter","type":"address"},{"internalType":"string","name":"_phrase","type":"string"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60a06040523480156200001157600080fd5b50604051620060cb380380620060cb833981016040819052620000349162000c63565b604080518082018252600681526548617368657360d01b60208083019182528351808501909452600484526309082a6960e31b9084015281519192916200007e9160009162000b0d565b5080516200009490600190602084019062000b0d565b50506001600a5550620000a7336200015f565b600d8390556080849052600c849055600e82905560005b600d548110156200013e57600f5433604051602001620000e092919062000e53565b60408051808303601f190181529181528151602092830120600f54600090815260159093529120556200012933600f80549060006200011f8362001070565b90915550620001b1565b80620001358162001070565b915050620000be565b5080516200015490601090602084019062000b0d565b505050505062001132565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001d3828260405180602001604052806000815250620001d760201b60201c565b5050565b620001e383836200021f565b620001f2600084848462000317565b6200021a5760405162461bcd60e51b8152600401620002119062000edc565b60405180910390fd5b505050565b6001600160a01b038216620002485760405162461bcd60e51b8152600401620002119062000f12565b6000818152600260205260409020546001600160a01b031615620002805760405162461bcd60e51b8152600401620002119062000eee565b6200028e6000838362000447565b6001600160a01b0382166000908152600360205260408120805460019290620002b990849062000f96565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600062000338846001600160a01b03166200049460201b620021121760201c565b156200043b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906200037290339089908890889060040162000e7d565b602060405180830381600087803b1580156200038d57600080fd5b505af1925050508015620003c0575060408051601f3d908101601f19168201909252620003bd9181019062000c3e565b60015b62000420573d808015620003f1576040519150601f19603f3d011682016040523d82523d6000602084013e620003f6565b606091505b508051620004185760405162461bcd60e51b8152600401620002119062000edc565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506200043f565b5060015b949350505050565b6200045f8383836200049a60201b620021181760201c565b600e548110801562000480575060008181526011602052604090205460ff16155b156200021a576200021a8383600162000576565b3b151590565b620004b28383836200021a60201b62000b1a1760201c565b6001600160a01b03831662000510576200050a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b62000536565b816001600160a01b0316836001600160a01b0316146200053657620005368382620006e7565b6001600160a01b03821662000550576200021a8162000794565b826001600160a01b0316826001600160a01b0316146200021a576200021a82826200084e565b816001600160a01b0316836001600160a01b031614158015620005995750600081115b156200021a576001600160a01b0383161562000641576001600160a01b0383166000908152601460205260408120549081620005d757600062000610565b6001600160a01b038516600090815260136020526040812090620005fd60018562000fb1565b8152602001908152602001600020600101545b905060006200062e84836200089f60201b6200221e1790919060201c565b90506200063d868383620008b6565b5050505b6001600160a01b038216156200021a576001600160a01b038216600090815260146020526040812054908162000679576000620006b2565b6001600160a01b0384166000908152601360205260408120906200069f60018562000fb1565b8152602001908152602001600020600101545b90506000620006d0848362000a8560201b6200222a1790919060201c565b9050620006df858383620008b6565b505050505050565b60006001620007018462000a9360201b620016041760201c565b6200070d919062000fb1565b60008381526007602052604090205490915080821462000761576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090620007a89060019062000fb1565b60008381526009602052604081205460088054939450909284908110620007d357620007d3620010e4565b906000526020600020015490508060088381548110620007f757620007f7620010e4565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480620008325762000832620010ce565b6001900381819060005260206000200160009055905550505050565b6000620008668362000a9360201b620016041760201c565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6000620008ad828462000fb1565b90505b92915050565b6000620008ff436040518060400160405280601881526020017f4861736865733a206578636565647320333220626974732e000000000000000081525062000ada60201b60201c565b6001600160a01b03851660009081526014602052604090205490915080158015906200096c57506001600160a01b038516600090815260136020526040812063ffffffff8416916200095360018562000fb1565b815260208101919091526040016000205463ffffffff16145b15620009b3576001600160a01b038516600090815260136020526040812084916200099960018562000fb1565b815260208101919091526040016000206001015562000a39565b60408051808201825263ffffffff848116825260208083018781526001600160a01b038a166000908152601383528581208782528352949094209251835463ffffffff19169216919091178255915160019182015562000a1f9183919062000a85811b6200222a17901c565b6001600160a01b0386166000908152601460205260409020555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724858560405162000a7692919062000f24565b60405180910390a25050505050565b6000620008ad828462000f96565b60006001600160a01b03821662000abe5760405162461bcd60e51b8152600401620002119062000f00565b506001600160a01b031660009081526003602052604090205490565b600081640100000000841062000b055760405162461bcd60e51b815260040162000211919062000ec9565b509192915050565b82805462000b1b9062001010565b90600052602060002090601f01602090048101928262000b3f576000855562000b8a565b82601f1062000b5a57805160ff191683800117855562000b8a565b8280016001018555821562000b8a579182015b8281111562000b8a57825182559160200191906001019062000b6d565b5062000b9892915062000b9c565b5090565b5b8082111562000b98576000815560010162000b9d565b600062000bca62000bc48462000f69565b62000f4a565b90508281526020810184848401111562000be75762000be7600080fd5b62000bf484828562000fdd565b509392505050565b8051620008b08162001110565b600082601f83011262000c1f5762000c1f600080fd5b81516200043f84826020860162000bb3565b8051620008b0816200112b565b60006020828403121562000c555762000c55600080fd5b60006200043f848462000bfc565b6000806000806080858703121562000c7e5762000c7e600080fd5b600062000c8c878762000c31565b945050602062000c9f8782880162000c31565b935050604062000cb28782880162000c31565b92505060608501516001600160401b0381111562000cd35762000cd3600080fd5b62000ce18782880162000c09565b91505092959194509250565b62000cf88162000fcb565b82525050565b62000cf862000d0d8262000fcb565b6200108e565b600062000d1e825190565b80845260208401935062000d3781856020860162000fdd565b601f01601f19169290920192915050565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b602082015291505b5060400190565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000815291505b5060200190565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b6020820152915062000d93565b60208082527f4552433732313a206d696e7420746f20746865207a65726f20616464726573739101908152600062000dca565b8062000cf8565b600062000e61828562000e4c565b60208201915062000e73828462000cfe565b5060140192915050565b6080810162000e8d828762000ced565b62000e9c602083018662000ced565b62000eab604083018562000e4c565b818103606083015262000ebf818462000d13565b9695505050505050565b60208082528101620008ad818462000d13565b60208082528101620008b08162000d48565b60208082528101620008b08162000d9a565b60208082528101620008b08162000dd1565b60208082528101620008b08162000e19565b6040810162000f34828562000e4c565b62000f43602083018462000e4c565b9392505050565b600062000f5660405190565b905062000f64828262001041565b919050565b60006001600160401b0382111562000f855762000f85620010fa565b601f19601f83011660200192915050565b6000821982111562000fac5762000fac620010a2565b500190565b60008282101562000fc65762000fc6620010a2565b500390565b60006001600160a01b038216620008b0565b60005b8381101562000ffa57818101518382015260200162000fe0565b838111156200100a576000848401525b50505050565b6002810460018216806200102557607f821691505b602082108114156200103b576200103b620010b8565b50919050565b601f19601f83011681018181106001600160401b0382111715620010695762001069620010fa565b6040525050565b6000600019821415620010875762001087620010a2565b5060010190565b6000620008b0826000620008b08260601b90565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981165b81146200112857600080fd5b50565b806200111c565b608051614f76620011556000396000818161064a01526113430152614f766000f3fe6080604052600436106102d15760003560e01c806370a0823111610179578063b4b5ea57116100d6578063d547cfb71161008a578063f2fde38b11610064578063f2fde38b14610878578063f83d08ba14610898578063f92c45b7146108ad57600080fd5b8063d547cfb7146107ed578063e985e9c514610802578063eddd0d9c1461085857600080fd5b8063c3d670fe116100bb578063c3d670fe14610788578063c87b56dd1461079b578063cf309012146107bb57600080fd5b8063b4b5ea5714610748578063b88d4fde1461076857600080fd5b806395d89b411161012d578063a899b36c11610112578063a899b36c146106ec578063affed0e01461071c578063b233b3891461073257600080fd5b806395d89b41146106b7578063a22cb465146106cc57600080fd5b806377d630ae1161015e57806377d630ae14610638578063782d6fe11461066c5780638da5cb5b1461068c57600080fd5b806370a0823114610603578063715018a61461062357600080fd5b806324b76fd51161023257806354fd4d50116101e65780636352211e116101c05780636352211e146105895780636b2fafa9146105a95780636fcfff45146105d657600080fd5b806354fd4d50146105185780635b6a94b5146105615780636243da3b1461056957600080fd5b806330176e131161021757806330176e13146104b857806342842e0e146104d85780634f6ccce7146104f857600080fd5b806324b76fd5146104785780632f745c591461049857600080fd5b80630cdfebfa1161028957806317225b171161026e57806317225b171461042357806318160ddd1461044357806323b872dd1461045857600080fd5b80630cdfebfa146103b757806313966db51461040d57600080fd5b806306fdde03116102ba57806306fdde0314610346578063081812fc14610368578063095ea7b31461039557600080fd5b806301c22a3d146102d657806301ffc9a714610319575b600080fd5b3480156102e257600080fd5b506103036102f136600461374d565b60126020526000908152604090205481565b60405161031091906148dd565b60405180910390f35b34801561032557600080fd5b50610339610334366004613941565b6108c3565b60405161031091906148cf565b34801561035257600080fd5b5061035b61091f565b6040516103109190614920565b34801561037457600080fd5b506103886103833660046139be565b6109b1565b604051610310919061485a565b3480156103a157600080fd5b506103b56103b03660046138ad565b610a3e565b005b3480156103c357600080fd5b506103ff6103d23660046138ad565b60136020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b604051610310929190614bbc565b34801561041957600080fd5b50610303600c5481565b34801561042f57600080fd5b5061030361043e3660046138e0565b610b1f565b34801561044f57600080fd5b50600854610303565b34801561046457600080fd5b506103b56104733660046137ab565b610e22565b34801561048457600080fd5b506103b5610493366004613a14565b610e6d565b3480156104a457600080fd5b506103036104b33660046138ad565b611079565b3480156104c457600080fd5b506103b56104d3366004613983565b6110f2565b3480156104e457600080fd5b506103b56104f33660046137ab565b611191565b34801561050457600080fd5b506103036105133660046139be565b6111ac565b34801561052457600080fd5b5061035b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b610303611214565b34801561057557600080fd5b506103396105843660046139df565b611507565b34801561059557600080fd5b506103886105a43660046139be565b6115a8565b3480156105b557600080fd5b506103036105c43660046139be565b60009081526015602052604090205490565b3480156105e257600080fd5b506103036105f136600461374d565b60146020526000908152604090205481565b34801561060f57600080fd5b5061030361061e36600461374d565b611604565b34801561062f57600080fd5b506103b561167c565b34801561064457600080fd5b506103037f000000000000000000000000000000000000000000000000000000000000000081565b34801561067857600080fd5b506103036106873660046138ad565b6116d9565b34801561069857600080fd5b50600b5473ffffffffffffffffffffffffffffffffffffffff16610388565b3480156106c357600080fd5b5061035b61193a565b3480156106d857600080fd5b506103b56106e736600461387a565b611949565b3480156106f857600080fd5b506103396107073660046139be565b60116020526000908152604090205460ff1681565b34801561072857600080fd5b50610303600f5481565b34801561073e57600080fd5b50610303600e5481565b34801561075457600080fd5b5061030361076336600461374d565b611a33565b34801561077457600080fd5b506103b56107833660046137fb565b611aaf565b6103b5610796366004613983565b611b01565b3480156107a757600080fd5b5061035b6107b63660046139be565b611df8565b3480156107c757600080fd5b50600b546103399074010000000000000000000000000000000000000000900460ff1681565b3480156107f957600080fd5b5061035b611e67565b34801561080e57600080fd5b5061033961081d36600461376e565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561086457600080fd5b506103b56108733660046139be565b611ef5565b34801561088457600080fd5b506103b561089336600461374d565b611f79565b3480156108a457600080fd5b506103b561202b565b3480156108b957600080fd5b50610303600d5481565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610919575061091982612236565b92915050565b60606000805461092e90614d05565b80601f016020809104026020016040519081016040528092919081815260200182805461095a90614d05565b80156109a75780601f1061097c576101008083540402835291602001916109a7565b820191906000526020600020905b81548152906001019060200180831161098a57829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16610a15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a51565b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610a49826115a8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614ad1565b3373ffffffffffffffffffffffffffffffffffffffff82161480610ada5750610ada813361081d565b610b10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a01565b610b1a8383612319565b505050565b60006002600a541415610b5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b61565b6002600a55600b5473ffffffffffffffffffffffffffffffffffffffff163314610bb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a81565b73ffffffffffffffffffffffffffffffffffffffff84166000908152601260205260409020548311610c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b71565b73ffffffffffffffffffffffffffffffffffffffff84166000908152601260205260408120849055610c80610c4561091f565b60408051808201909152600181527f3100000000000000000000000000000000000000000000000000000000000000602082015246306123b9565b90506000610c9c60405180602001604052808781525083612417565b90508573ffffffffffffffffffffffffffffffffffffffff16610cbf8286612460565b73ffffffffffffffffffffffffffffffffffffffff1614610d0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614aa1565b60005b610d1887611604565b811015610e07576000610d2b8883611079565b9050600d548110158015610d405750600e5481105b8015610d5b575060008181526011602052604090205460ff16155b15610df457600081815260116020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905584610da181614d7d565b955050808873ffffffffffffffffffffffffffffffffffffffff167f53fa1cfa66e5081df8b64f227c916332fd30af547156907cbf24a45dd23b116889604051610deb91906148dd565b60405180910390a35b5080610dff81614d7d565b915050610d0f565b50610e148660008561259e565b50506001600a559392505050565b610e2c3382612747565b610e62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b01565b610b1a83838361285d565b6002600a541415610eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b61565b6002600a55610eb8826115a8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c906149e1565b600d548210610f57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614af1565b60008281526016602052604090205460ff1615610fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b91565b600082815260166020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905581610fdf3390565b82604051602001610ff293929190614825565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00181529181528151602092830120600085815260159093529120557f784e131f41825c0f4dedaf1b303cfd417f3603b2e95ed4a0c0bdc2176dbbc3ee338383604051611068939291906148a2565b60405180910390a150506001600a55565b600061108483611604565b82106110bc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614951565b5073ffffffffffffffffffffffffffffffffffffffff919091166000908152600660209081526040808320938352929052205490565b600b5473ffffffffffffffffffffffffffffffffffffffff163314611143576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a81565b8051611156906010906020840190613618565b507f2e9b34e5ec7377754a85ec13c1e9a442a00db0c46dbdefbb143dd0371fd20c1c816040516111869190614920565b60405180910390a150565b610b1a83838360405180602001604052806000815250611aaf565b60006111b760085490565b82106111ef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b21565b6008828154811061120257611202614e98565b90600052602060002001549050919050565b60006002600a541415611253576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b61565b6002600a5560005b61126433611604565b81101561132e5760006112773383611079565b9050600d54811015801561128c5750600e5481105b80156112a6575060008181526011602052604090205460ff165b1561131b57600081815260116020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055826112e981614d7d565b60405190945082915033907fcffdf6de62e8d9ae544ba4c36565fe4bcef3c1a96f174abbe6c56e25e2b220ed90600090a35b508061132681614d7d565b91505061125b565b5061133b6000338361259e565b6000806113687f000000000000000000000000000000000000000000000000000000000000000084612a24565b9050803410156113a4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b81565b600b5473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16816040516113e09061481d565b60006040518083038185875af1925050503d806000811461141d576040519150601f19603f3d011682016040523d82523d6000602084013e611422565b606091505b5050809250508161145f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a61565b803411156114fd57336114728234614c98565b60405161147e9061481d565b60006040518083038185875af1925050503d80600081146114bb576040519150601f19603f3d011682016040523d82523d6000602084013e6114c0565b606091505b505080925050816114fd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614ab1565b50506001600a5590565b6000600f548410158061152e575073ffffffffffffffffffffffffffffffffffffffff8316155b8061153857508151155b15611545575060006115a1565b83838360405160200161155a93929190614825565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181528151602092830120600087815260159093529120541490505b9392505050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1680610919576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a21565b600073ffffffffffffffffffffffffffffffffffffffff8216611653576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a11565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b600b5473ffffffffffffffffffffffffffffffffffffffff1633146116cd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a81565b6116d76000612a30565b565b6000438210611714576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b41565b73ffffffffffffffffffffffffffffffffffffffff831660009081526014602052604090205480611749576000915050610919565b73ffffffffffffffffffffffffffffffffffffffff84166000908152601360205260408120849161177b600185614c98565b815260208101919091526040016000205463ffffffff16116117e25773ffffffffffffffffffffffffffffffffffffffff84166000908152601360205260408120906117c8600184614c98565b815260200190815260200160002060010154915050610919565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260136020908152604080832083805290915290205463ffffffff1683101561182a576000915050610919565b600080611838600184614c98565b90505b818111156118fd57600060026118518484614c98565b61185b9190614c47565b6118659083614c98565b73ffffffffffffffffffffffffffffffffffffffff881660009081526013602090815260408083208484528252918290208251808401909352805463ffffffff1680845260019091015491830191909152919250908714156118d1576020015194506109199350505050565b805163ffffffff168711156118e8578193506118f6565b6118f3600183614c98565b92505b505061183b565b5073ffffffffffffffffffffffffffffffffffffffff85166000908152601360209081526040808320938352929052206001015491505092915050565b60606001805461092e90614d05565b73ffffffffffffffffffffffffffffffffffffffff8216331415611999576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c906149a1565b33600081815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff871680855292529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190611a279085906148cf565b60405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526014602052604081205480611a655760006115a1565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260136020526040812090611a96600184614c98565b8152602001908152602001600020600101549392505050565b611ab93383612747565b611aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b01565b611afb84848484612aa7565b50505050565b6002600a541415611b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b61565b6002600a558051611b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614ae1565b600c54341015611bb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614941565b600f543382604051602001611bce93929190614825565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00181529181528151602092830120600f5460009081526015909352912055611c3133600f8054906000611c2883614d7d565b91905055612af4565b600c5460009015611d05576000611c5d600b5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16600c54604051611c829061481d565b60006040518083038185875af1925050503d8060008114611cbf576040519150601f19603f3d011682016040523d82523d6000602084013e611cc4565b606091505b5050905080611cff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c906149f1565b5050600c545b80341115611da557600033611d1a8334614c98565b604051611d269061481d565b60006040518083038185875af1925050503d8060008114611d63576040519150601f19603f3d011682016040523d82523d6000602084013e611d68565b606091505b5050905080611da3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b11565b505b600e54600f541415611db7576000600c555b7f9eef06a261086c807283d12a8c4898b6ad08bd5dea8459d2169c8ecb3723f269336001600f54611de89190614c98565b84604051611068939291906148a2565b6060600f548210611e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a71565b6010611e4083612b12565b604051602001611e51929190614805565b6040516020818303038152906040529050919050565b60108054611e7490614d05565b80601f0160208091040260200160405190810160405280929190818152602001828054611ea090614d05565b8015611eed5780601f10611ec257610100808354040283529160200191611eed565b820191906000526020600020905b815481529060010190602001808311611ed057829003601f168201915b505050505081565b600b5473ffffffffffffffffffffffffffffffffffffffff163314611f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a81565b600c81905560405181907f97aee230ba41961438e908e115df76fa8113f85a0586d85b19ba5be50e6a227490600090a250565b600b5473ffffffffffffffffffffffffffffffffffffffff163314611fca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a81565b600b5474010000000000000000000000000000000000000000900460ff161561201f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614ac1565b61202881612c44565b50565b600b5473ffffffffffffffffffffffffffffffffffffffff16331461207c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a81565b600b5474010000000000000000000000000000000000000000900460ff16156120d1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b51565b600b80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b3b151590565b73ffffffffffffffffffffffffffffffffffffffff83166121805761217b81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6121bd565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146121bd576121bd8382612ceb565b73ffffffffffffffffffffffffffffffffffffffff82166121e157610b1a81612da2565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610b1a57610b1a8282612e51565b60006115a18284614c98565b60006115a18284614c2f565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806122c957507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061091957507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610919565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84169081179091558190612373826115a8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8351602080860191909120845185830120604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81529384019290925290820152606081018390526080810182905260a090205b949350505050565b60006115a18261242685612ea2565b6040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b6000815160411461249d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b31565b6000826000815181106124b2576124b2614e98565b01602001516021840151604185015160f89290921c9250906124d5838383612f04565b6000600187858585604051600081526020016040526040516124fa94939291906148eb565b6020604051602081039080840390855afa15801561251c573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116612594576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c906149c1565b9695505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156125da5750600081115b15610b1a5773ffffffffffffffffffffffffffffffffffffffff8316156126915773ffffffffffffffffffffffffffffffffffffffff8316600090815260146020526040812054908161262e576000612672565b73ffffffffffffffffffffffffffffffffffffffff851660009081526013602052604081209061265f600185614c98565b8152602001908152602001600020600101545b90506000612680828561221e565b905061268d868383613016565b5050505b73ffffffffffffffffffffffffffffffffffffffff821615610b1a5773ffffffffffffffffffffffffffffffffffffffff821660009081526014602052604081205490816126e0576000612724565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260136020526040812090612711600185614c98565b8152602001908152602001600020600101545b90506000612732828561222a565b905061273f858383613016565b505050505050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166127a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c906149d1565b60006127ad836115a8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061281c57508373ffffffffffffffffffffffffffffffffffffffff16612804846109b1565b73ffffffffffffffffffffffffffffffffffffffff16145b8061240f575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff1661240f565b8273ffffffffffffffffffffffffffffffffffffffff1661287d826115a8565b73ffffffffffffffffffffffffffffffffffffffff16146128ca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a91565b73ffffffffffffffffffffffffffffffffffffffff8216612917576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614991565b612922838383613231565b61292d600082612319565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120805460019290612963908490614c98565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040812080546001929061299e908490614c2f565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006115a18284614c5b565b600b805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612ab284848461285d565b612abe8484848461326d565b611afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614961565b612b0e828260405180602001604052806000815250613413565b5050565b606081612b5257505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612b7c5780612b6681614d7d565b9150612b759050600a83614c47565b9150612b56565b60008167ffffffffffffffff811115612b9757612b97614ec7565b6040519080825280601f01601f191660200182016040528015612bc1576020820181803683370190505b5090505b841561240f57612bd6600183614c98565b9150612be3600a86614dc8565b612bee906030614c2f565b60f81b818381518110612c0357612c03614e98565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612c3d600a86614c47565b9450612bc5565b600b5473ffffffffffffffffffffffffffffffffffffffff163314612c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a81565b73ffffffffffffffffffffffffffffffffffffffff8116612ce2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614971565b61202881612a30565b60006001612cf884611604565b612d029190614c98565b600083815260076020526040902054909150808214612d625773ffffffffffffffffffffffffffffffffffffffff841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b50600091825260076020908152604080842084905573ffffffffffffffffffffffffffffffffffffffff9094168352600681528383209183525290812055565b600854600090612db490600190614c98565b60008381526009602052604081205460088054939450909284908110612ddc57612ddc614e98565b906000526020600020015490508060088381548110612dfd57612dfd614e98565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612e3557612e35614e69565b6001900381819060005260206000200160009055905550505050565b6000612e5c83611604565b73ffffffffffffffffffffffffffffffffffffffff9093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60007fe6c775d77ef8ec84277aad8c3f9e3fa051e3ca07ea28a40e99a1fdf5b8cc07096020831015612ed057fe5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092018051928152604081209290525090565b7ffffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641418210612f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614931565b612f8860027ffffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141614c47565b612f93906001614c2f565b8110612fcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a41565b8260ff16601b1480612fe057508260ff16601c145b610b1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c906149b1565b6000613057436040518060400160405280601881526020017f4861736865733a206578636565647320333220626974732e0000000000000000815250613460565b73ffffffffffffffffffffffffffffffffffffffff851660009081526014602052604090205490915080158015906130db575073ffffffffffffffffffffffffffffffffffffffff8516600090815260136020526040812063ffffffff8416916130c2600185614c98565b815260208101919091526040016000205463ffffffff16145b1561312b5773ffffffffffffffffffffffffffffffffffffffff851660009081526013602052604081208491613112600185614c98565b81526020810191909152604001600020600101556131da565b60408051808201825263ffffffff8481168252602080830187815273ffffffffffffffffffffffffffffffffffffffff8a16600090815260138352858120878252909252939020915182547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001690821617825591516001918201556131b39183919061222a16565b73ffffffffffffffffffffffffffffffffffffffff86166000908152601460205260409020555b8473ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248585604051613222929190614ba1565b60405180910390a25050505050565b61323c838383612118565b600e548110801561325c575060008181526011602052604090205460ff16155b15610b1a57610b1a8383600161259e565b600073ffffffffffffffffffffffffffffffffffffffff84163b1561340b576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a02906132e4903390899088908890600401614868565b602060405180830381600087803b1580156132fe57600080fd5b505af192505050801561334c575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261334991810190613962565b60015b6133c0573d80801561337a576040519150601f19603f3d011682016040523d82523d6000602084013e61337f565b606091505b5080516133b8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614961565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014905061240f565b50600161240f565b61341d83836134aa565b61342a600084848461326d565b610b1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614961565b60008164010000000084106134a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c9190614920565b509192915050565b73ffffffffffffffffffffffffffffffffffffffff82166134f7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a31565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615613553576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614981565b61355f60008383613231565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290613595908490614c2f565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461362490614d05565b90600052602060002090601f016020900481019282613646576000855561368c565b82601f1061365f57805160ff191683800117855561368c565b8280016001018555821561368c579182015b8281111561368c578251825591602001919060010190613671565b5061369892915061369c565b5090565b5b80821115613698576000815560010161369d565b60006136c46136bf84614be6565b614bca565b9050828152602081018484840111156136df576136df600080fd5b6136ea848285614ccd565b509392505050565b803561091981614ef6565b803561091981614f0a565b803561091981614f12565b805161091981614f12565b600082601f83011261373257613732600080fd5b813561240f8482602086016136b1565b803561091981614f3a565b60006020828403121561376257613762600080fd5b600061240f84846136f2565b6000806040838503121561378457613784600080fd5b600061379085856136f2565b92505060206137a1858286016136f2565b9150509250929050565b6000806000606084860312156137c3576137c3600080fd5b60006137cf86866136f2565b93505060206137e0868287016136f2565b92505060406137f186828701613742565b9150509250925092565b6000806000806080858703121561381457613814600080fd5b600061382087876136f2565b9450506020613831878288016136f2565b935050604061384287828801613742565b925050606085013567ffffffffffffffff81111561386257613862600080fd5b61386e8782880161371e565b91505092959194509250565b6000806040838503121561389057613890600080fd5b600061389c85856136f2565b92505060206137a1858286016136fd565b600080604083850312156138c3576138c3600080fd5b60006138cf85856136f2565b92505060206137a185828601613742565b6000806000606084860312156138f8576138f8600080fd5b600061390486866136f2565b935050602061391586828701613742565b925050604084013567ffffffffffffffff81111561393557613935600080fd5b6137f18682870161371e565b60006020828403121561395657613956600080fd5b600061240f8484613708565b60006020828403121561397757613977600080fd5b600061240f8484613713565b60006020828403121561399857613998600080fd5b813567ffffffffffffffff8111156139b2576139b2600080fd5b61240f8482850161371e565b6000602082840312156139d3576139d3600080fd5b600061240f8484613742565b6000806000606084860312156139f7576139f7600080fd5b6000613a038686613742565b9350506020613915868287016136f2565b60008060408385031215613a2a57613a2a600080fd5b6000613a368585613742565b925050602083013567ffffffffffffffff811115613a5657613a56600080fd5b6137a18582860161371e565b613a6b81614caf565b82525050565b613a6b613a7d82614caf565b614db6565b801515613a6b565b80613a6b565b6000613a9a825190565b808452602084019350613ab1818560208601614cd9565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920192915050565b6000613aea825190565b613af8818560208601614cd9565b9290920192915050565b60008154613b0f81614d05565b600182168015613b265760018114613b5557613b85565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00831686528186019350613b85565b60008581526020902060005b83811015613b7d57815488820152600190910190602001613b61565b838801955050505b50505092915050565b603281526000602082017f4c69625369676e61747572653a207220706172616d65746572206f662073696781527f6e617475726520697320696e76616c69642e0000000000000000000000000000602082015291505b5060400190565b602681526000602082017f4861736865733a204d75737420706173732073756666696369656e74206d696e81527f74206665652e000000000000000000000000000000000000000000000000000060208201529150613be4565b602b81526000602082017f455243373231456e756d657261626c653a206f776e657220696e646578206f7581527f74206f6620626f756e647300000000000000000000000000000000000000000060208201529150613be4565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527f63656976657220696d706c656d656e746572000000000000000000000000000060208201529150613be4565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181527f646472657373000000000000000000000000000000000000000000000000000060208201529150613be4565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000815291505b5060200190565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f2061646481527f726573730000000000000000000000000000000000000000000000000000000060208201529150613be4565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c65720000000000000081529150613d83565b603281526000602082017f4c69625369676e61747572653a207620706172616d65746572206f662073696781527f6e617475726520697320696e76616c69642e000000000000000000000000000060208201529150613be4565b602181526000602082017f4c69625369676e61747572653a20426164207369676e6174757265206461746181527f2e0000000000000000000000000000000000000000000000000000000000000060208201529150613be4565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881527f697374656e7420746f6b656e000000000000000000000000000000000000000060208201529150613be4565b601681526000602082017f4861736865733a206d757374206265206f776e65722e0000000000000000000081529150613d83565b602781526000602082017f4861736865733a206661696c656420746f2073656e642045544820746f20486181527f7368657344414f0000000000000000000000000000000000000000000000000060208201529150613be4565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060208201529150613be4565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a6581527f726f20616464726573730000000000000000000000000000000000000000000060208201529150613be4565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481527f656e7420746f6b656e000000000000000000000000000000000000000000000060208201529150613be4565b60208082527f4552433732313a206d696e7420746f20746865207a65726f206164647265737391019081526000613d83565b603281526000602082017f4c69625369676e61747572653a207320706172616d65746572206f662073696781527f6e617475726520697320696e76616c69642e000000000000000000000000000060208201529150613be4565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881527f697374656e7420746f6b656e000000000000000000000000000000000000000060208201529150613be4565b602e81526000602082017f4861736865733a20636f756c646e277420706179206f776e657220746865206181527f637469766174696f6e206665652e00000000000000000000000000000000000060208201529150613be4565b603a81526000602082017f4861736865733a2043616e27742070726f76696465206120746f6b656e20555281527f4920666f722061206e6f6e2d6578697374656e7420686173682e00000000000060208201529150613be4565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657291019081526000613d83565b602981526000602082017f4552433732313a207472616e73666572206f6620746f6b656e2074686174206981527f73206e6f74206f776e000000000000000000000000000000000000000000000060208201529150613be4565b603681526000602082017f4861736865733a2054686520746f6b656e206f776e6572206d7573742061707081527f726f76652074686520646561637469766174696f6e2e0000000000000000000060208201529150613be4565b603881526000602082017f4861736865733a20636f756c646e277420726566756e642073656e646572207781527f697468207468652072656d61696e696e672065746865722e000000000000000060208201529150613be4565b602d81526000602082017f4861736865733a2063616e2774207472616e73666572206f776e65727368697081527f207768656e206c6f636b65642e0000000000000000000000000000000000000060208201529150613be4565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6581527f720000000000000000000000000000000000000000000000000000000000000060208201529150613be4565b603281526000602082017f4861736865733a2043616e27742067656e65726174652068617368207769746881527f2074686520656d70747920737472696e672e000000000000000000000000000060208201529150613be4565b602181526000602082017f4861736865733a206d757374206265206120726573657276656420746f6b656e81527f2e0000000000000000000000000000000000000000000000000000000000000060208201529150613be4565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f81527f776e6572206e6f7220617070726f76656400000000000000000000000000000060208201529150613be4565b601d81526000602082017f4861736865733a206661696c656420746f20726566756e64204554482e00000081529150613d83565b602c81526000602082017f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f81527f7574206f6620626f756e6473000000000000000000000000000000000000000060208201529150613be4565b603081526000602082017f4c69625369676e61747572653a205369676e6174757265206c656e677468206d81527f7573742062652036352062797465732e0000000000000000000000000000000060208201529150613be4565b602181526000602082017f4861736865733a20626c6f636b206e6f74207965742064657465726d696e656481527f2e0000000000000000000000000000000000000000000000000000000000000060208201529150613be4565b601981526000602082017f4861736865733a2063616e2774206c6f636b2074776963652e0000000000000081529150613d83565b601f81526000602082017f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081529150613d83565b602881526000602082017f4861736865733a2063616e27742072652d75736520616e206f6c642070726f7081527f6f73616c2049442e00000000000000000000000000000000000000000000000060208201529150613be4565b602f81526000602082017f4861736865733a206d757374207061792061646571756174652066656520746f81527f20616374697661746520686173682e000000000000000000000000000000000060208201529150613be4565b601981526000602082017f4861736865733a20616c72656164792072656465656d65642e0000000000000081529150613d83565b63ffffffff8116613a6b565b60ff8116613a6b565b60006148118285613b02565b915061240f8284613ae0565b600081610919565b60006148318286613a8a565b6020820191506148418285613a71565b6014820191506148518284613ae0565b95945050505050565b602081016109198284613a62565b608081016148768287613a62565b6148836020830186613a62565b6148906040830185613a8a565b81810360608301526125948184613a90565b606081016148b08286613a62565b6148bd6020830185613a8a565b81810360408301526148518184613a90565b602081016109198284613a82565b602081016109198284613a8a565b608081016148f98287613a8a565b61490660208301866147fc565b6149136040830185613a8a565b6148516060830184613a8a565b602080825281016115a18184613a90565b6020808252810161091981613b8e565b6020808252810161091981613beb565b6020808252810161091981613c45565b6020808252810161091981613c9f565b6020808252810161091981613cf9565b6020808252810161091981613d53565b6020808252810161091981613d8a565b6020808252810161091981613de4565b6020808252810161091981613e18565b6020808252810161091981613e72565b6020808252810161091981613ecc565b6020808252810161091981613f26565b6020808252810161091981613f5a565b6020808252810161091981613fb4565b602080825281016109198161400e565b6020808252810161091981614068565b60208082528101610919816140c2565b60208082528101610919816140f4565b602080825281016109198161414e565b60208082528101610919816141a8565b6020808252810161091981614202565b602080825281016109198161425c565b602080825281016109198161428e565b60208082528101610919816142e8565b6020808252810161091981614342565b602080825281016109198161439c565b60208082528101610919816143f6565b6020808252810161091981614450565b60208082528101610919816144aa565b6020808252810161091981614504565b602080825281016109198161455e565b6020808252810161091981614592565b60208082528101610919816145ec565b6020808252810161091981614646565b60208082528101610919816146a0565b60208082528101610919816146d4565b6020808252810161091981614708565b6020808252810161091981614762565b60208082528101610919816147bc565b60408101614baf8285613a8a565b6115a16020830184613a8a565b60408101614baf82856147f0565b6000614bd560405190565b9050614be18282614d32565b919050565b600067ffffffffffffffff821115614c0057614c00614ec7565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011660200192915050565b60008219821115614c4257614c42614ddc565b500190565b600082614c5657614c56614e0b565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614c9357614c93614ddc565b500290565b600082821015614caa57614caa614ddc565b500390565b600073ffffffffffffffffffffffffffffffffffffffff8216610919565b82818337506000910152565b60005b83811015614cf4578181015183820152602001614cdc565b83811115611afb5750506000910152565b600281046001821680614d1957607f821691505b60208210811415614d2c57614d2c614e3a565b50919050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116810181811067ffffffffffffffff82111715614d7657614d76614ec7565b6040525050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614daf57614daf614ddc565b5060010190565b60006109198260006109198260601b90565b600082614dd757614dd7614e0b565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614eff81614caf565b811461202857600080fd5b801515614eff565b7fffffffff000000000000000000000000000000000000000000000000000000008116614eff565b80614eff56fea2646970667358221220640615f8313a5b246f8760641be5eae8a1568a3e256d90a13c86d53eb71a036964736f6c634300080600330000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f7777772e7468656861736865732e78797a2f6170692f746f6b656e2f00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102d15760003560e01c806370a0823111610179578063b4b5ea57116100d6578063d547cfb71161008a578063f2fde38b11610064578063f2fde38b14610878578063f83d08ba14610898578063f92c45b7146108ad57600080fd5b8063d547cfb7146107ed578063e985e9c514610802578063eddd0d9c1461085857600080fd5b8063c3d670fe116100bb578063c3d670fe14610788578063c87b56dd1461079b578063cf309012146107bb57600080fd5b8063b4b5ea5714610748578063b88d4fde1461076857600080fd5b806395d89b411161012d578063a899b36c11610112578063a899b36c146106ec578063affed0e01461071c578063b233b3891461073257600080fd5b806395d89b41146106b7578063a22cb465146106cc57600080fd5b806377d630ae1161015e57806377d630ae14610638578063782d6fe11461066c5780638da5cb5b1461068c57600080fd5b806370a0823114610603578063715018a61461062357600080fd5b806324b76fd51161023257806354fd4d50116101e65780636352211e116101c05780636352211e146105895780636b2fafa9146105a95780636fcfff45146105d657600080fd5b806354fd4d50146105185780635b6a94b5146105615780636243da3b1461056957600080fd5b806330176e131161021757806330176e13146104b857806342842e0e146104d85780634f6ccce7146104f857600080fd5b806324b76fd5146104785780632f745c591461049857600080fd5b80630cdfebfa1161028957806317225b171161026e57806317225b171461042357806318160ddd1461044357806323b872dd1461045857600080fd5b80630cdfebfa146103b757806313966db51461040d57600080fd5b806306fdde03116102ba57806306fdde0314610346578063081812fc14610368578063095ea7b31461039557600080fd5b806301c22a3d146102d657806301ffc9a714610319575b600080fd5b3480156102e257600080fd5b506103036102f136600461374d565b60126020526000908152604090205481565b60405161031091906148dd565b60405180910390f35b34801561032557600080fd5b50610339610334366004613941565b6108c3565b60405161031091906148cf565b34801561035257600080fd5b5061035b61091f565b6040516103109190614920565b34801561037457600080fd5b506103886103833660046139be565b6109b1565b604051610310919061485a565b3480156103a157600080fd5b506103b56103b03660046138ad565b610a3e565b005b3480156103c357600080fd5b506103ff6103d23660046138ad565b60136020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b604051610310929190614bbc565b34801561041957600080fd5b50610303600c5481565b34801561042f57600080fd5b5061030361043e3660046138e0565b610b1f565b34801561044f57600080fd5b50600854610303565b34801561046457600080fd5b506103b56104733660046137ab565b610e22565b34801561048457600080fd5b506103b5610493366004613a14565b610e6d565b3480156104a457600080fd5b506103036104b33660046138ad565b611079565b3480156104c457600080fd5b506103b56104d3366004613983565b6110f2565b3480156104e457600080fd5b506103b56104f33660046137ab565b611191565b34801561050457600080fd5b506103036105133660046139be565b6111ac565b34801561052457600080fd5b5061035b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b610303611214565b34801561057557600080fd5b506103396105843660046139df565b611507565b34801561059557600080fd5b506103886105a43660046139be565b6115a8565b3480156105b557600080fd5b506103036105c43660046139be565b60009081526015602052604090205490565b3480156105e257600080fd5b506103036105f136600461374d565b60146020526000908152604090205481565b34801561060f57600080fd5b5061030361061e36600461374d565b611604565b34801561062f57600080fd5b506103b561167c565b34801561064457600080fd5b506103037f0000000000000000000000000000000000000000000000000de0b6b3a764000081565b34801561067857600080fd5b506103036106873660046138ad565b6116d9565b34801561069857600080fd5b50600b5473ffffffffffffffffffffffffffffffffffffffff16610388565b3480156106c357600080fd5b5061035b61193a565b3480156106d857600080fd5b506103b56106e736600461387a565b611949565b3480156106f857600080fd5b506103396107073660046139be565b60116020526000908152604090205460ff1681565b34801561072857600080fd5b50610303600f5481565b34801561073e57600080fd5b50610303600e5481565b34801561075457600080fd5b5061030361076336600461374d565b611a33565b34801561077457600080fd5b506103b56107833660046137fb565b611aaf565b6103b5610796366004613983565b611b01565b3480156107a757600080fd5b5061035b6107b63660046139be565b611df8565b3480156107c757600080fd5b50600b546103399074010000000000000000000000000000000000000000900460ff1681565b3480156107f957600080fd5b5061035b611e67565b34801561080e57600080fd5b5061033961081d36600461376e565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561086457600080fd5b506103b56108733660046139be565b611ef5565b34801561088457600080fd5b506103b561089336600461374d565b611f79565b3480156108a457600080fd5b506103b561202b565b3480156108b957600080fd5b50610303600d5481565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610919575061091982612236565b92915050565b60606000805461092e90614d05565b80601f016020809104026020016040519081016040528092919081815260200182805461095a90614d05565b80156109a75780601f1061097c576101008083540402835291602001916109a7565b820191906000526020600020905b81548152906001019060200180831161098a57829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16610a15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a51565b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610a49826115a8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614ad1565b3373ffffffffffffffffffffffffffffffffffffffff82161480610ada5750610ada813361081d565b610b10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a01565b610b1a8383612319565b505050565b60006002600a541415610b5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b61565b6002600a55600b5473ffffffffffffffffffffffffffffffffffffffff163314610bb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a81565b73ffffffffffffffffffffffffffffffffffffffff84166000908152601260205260409020548311610c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b71565b73ffffffffffffffffffffffffffffffffffffffff84166000908152601260205260408120849055610c80610c4561091f565b60408051808201909152600181527f3100000000000000000000000000000000000000000000000000000000000000602082015246306123b9565b90506000610c9c60405180602001604052808781525083612417565b90508573ffffffffffffffffffffffffffffffffffffffff16610cbf8286612460565b73ffffffffffffffffffffffffffffffffffffffff1614610d0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614aa1565b60005b610d1887611604565b811015610e07576000610d2b8883611079565b9050600d548110158015610d405750600e5481105b8015610d5b575060008181526011602052604090205460ff16155b15610df457600081815260116020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905584610da181614d7d565b955050808873ffffffffffffffffffffffffffffffffffffffff167f53fa1cfa66e5081df8b64f227c916332fd30af547156907cbf24a45dd23b116889604051610deb91906148dd565b60405180910390a35b5080610dff81614d7d565b915050610d0f565b50610e148660008561259e565b50506001600a559392505050565b610e2c3382612747565b610e62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b01565b610b1a83838361285d565b6002600a541415610eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b61565b6002600a55610eb8826115a8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c906149e1565b600d548210610f57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614af1565b60008281526016602052604090205460ff1615610fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b91565b600082815260166020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905581610fdf3390565b82604051602001610ff293929190614825565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00181529181528151602092830120600085815260159093529120557f784e131f41825c0f4dedaf1b303cfd417f3603b2e95ed4a0c0bdc2176dbbc3ee338383604051611068939291906148a2565b60405180910390a150506001600a55565b600061108483611604565b82106110bc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614951565b5073ffffffffffffffffffffffffffffffffffffffff919091166000908152600660209081526040808320938352929052205490565b600b5473ffffffffffffffffffffffffffffffffffffffff163314611143576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a81565b8051611156906010906020840190613618565b507f2e9b34e5ec7377754a85ec13c1e9a442a00db0c46dbdefbb143dd0371fd20c1c816040516111869190614920565b60405180910390a150565b610b1a83838360405180602001604052806000815250611aaf565b60006111b760085490565b82106111ef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b21565b6008828154811061120257611202614e98565b90600052602060002001549050919050565b60006002600a541415611253576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b61565b6002600a5560005b61126433611604565b81101561132e5760006112773383611079565b9050600d54811015801561128c5750600e5481105b80156112a6575060008181526011602052604090205460ff165b1561131b57600081815260116020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055826112e981614d7d565b60405190945082915033907fcffdf6de62e8d9ae544ba4c36565fe4bcef3c1a96f174abbe6c56e25e2b220ed90600090a35b508061132681614d7d565b91505061125b565b5061133b6000338361259e565b6000806113687f0000000000000000000000000000000000000000000000000de0b6b3a764000084612a24565b9050803410156113a4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b81565b600b5473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16816040516113e09061481d565b60006040518083038185875af1925050503d806000811461141d576040519150601f19603f3d011682016040523d82523d6000602084013e611422565b606091505b5050809250508161145f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a61565b803411156114fd57336114728234614c98565b60405161147e9061481d565b60006040518083038185875af1925050503d80600081146114bb576040519150601f19603f3d011682016040523d82523d6000602084013e6114c0565b606091505b505080925050816114fd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614ab1565b50506001600a5590565b6000600f548410158061152e575073ffffffffffffffffffffffffffffffffffffffff8316155b8061153857508151155b15611545575060006115a1565b83838360405160200161155a93929190614825565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181528151602092830120600087815260159093529120541490505b9392505050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1680610919576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a21565b600073ffffffffffffffffffffffffffffffffffffffff8216611653576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a11565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b600b5473ffffffffffffffffffffffffffffffffffffffff1633146116cd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a81565b6116d76000612a30565b565b6000438210611714576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b41565b73ffffffffffffffffffffffffffffffffffffffff831660009081526014602052604090205480611749576000915050610919565b73ffffffffffffffffffffffffffffffffffffffff84166000908152601360205260408120849161177b600185614c98565b815260208101919091526040016000205463ffffffff16116117e25773ffffffffffffffffffffffffffffffffffffffff84166000908152601360205260408120906117c8600184614c98565b815260200190815260200160002060010154915050610919565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260136020908152604080832083805290915290205463ffffffff1683101561182a576000915050610919565b600080611838600184614c98565b90505b818111156118fd57600060026118518484614c98565b61185b9190614c47565b6118659083614c98565b73ffffffffffffffffffffffffffffffffffffffff881660009081526013602090815260408083208484528252918290208251808401909352805463ffffffff1680845260019091015491830191909152919250908714156118d1576020015194506109199350505050565b805163ffffffff168711156118e8578193506118f6565b6118f3600183614c98565b92505b505061183b565b5073ffffffffffffffffffffffffffffffffffffffff85166000908152601360209081526040808320938352929052206001015491505092915050565b60606001805461092e90614d05565b73ffffffffffffffffffffffffffffffffffffffff8216331415611999576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c906149a1565b33600081815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff871680855292529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190611a279085906148cf565b60405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526014602052604081205480611a655760006115a1565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260136020526040812090611a96600184614c98565b8152602001908152602001600020600101549392505050565b611ab93383612747565b611aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b01565b611afb84848484612aa7565b50505050565b6002600a541415611b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b61565b6002600a558051611b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614ae1565b600c54341015611bb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614941565b600f543382604051602001611bce93929190614825565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00181529181528151602092830120600f5460009081526015909352912055611c3133600f8054906000611c2883614d7d565b91905055612af4565b600c5460009015611d05576000611c5d600b5473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16600c54604051611c829061481d565b60006040518083038185875af1925050503d8060008114611cbf576040519150601f19603f3d011682016040523d82523d6000602084013e611cc4565b606091505b5050905080611cff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c906149f1565b5050600c545b80341115611da557600033611d1a8334614c98565b604051611d269061481d565b60006040518083038185875af1925050503d8060008114611d63576040519150601f19603f3d011682016040523d82523d6000602084013e611d68565b606091505b5050905080611da3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b11565b505b600e54600f541415611db7576000600c555b7f9eef06a261086c807283d12a8c4898b6ad08bd5dea8459d2169c8ecb3723f269336001600f54611de89190614c98565b84604051611068939291906148a2565b6060600f548210611e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a71565b6010611e4083612b12565b604051602001611e51929190614805565b6040516020818303038152906040529050919050565b60108054611e7490614d05565b80601f0160208091040260200160405190810160405280929190818152602001828054611ea090614d05565b8015611eed5780601f10611ec257610100808354040283529160200191611eed565b820191906000526020600020905b815481529060010190602001808311611ed057829003601f168201915b505050505081565b600b5473ffffffffffffffffffffffffffffffffffffffff163314611f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a81565b600c81905560405181907f97aee230ba41961438e908e115df76fa8113f85a0586d85b19ba5be50e6a227490600090a250565b600b5473ffffffffffffffffffffffffffffffffffffffff163314611fca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a81565b600b5474010000000000000000000000000000000000000000900460ff161561201f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614ac1565b61202881612c44565b50565b600b5473ffffffffffffffffffffffffffffffffffffffff16331461207c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a81565b600b5474010000000000000000000000000000000000000000900460ff16156120d1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b51565b600b80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b3b151590565b73ffffffffffffffffffffffffffffffffffffffff83166121805761217b81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6121bd565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146121bd576121bd8382612ceb565b73ffffffffffffffffffffffffffffffffffffffff82166121e157610b1a81612da2565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610b1a57610b1a8282612e51565b60006115a18284614c98565b60006115a18284614c2f565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806122c957507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061091957507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610919565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84169081179091558190612373826115a8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8351602080860191909120845185830120604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81529384019290925290820152606081018390526080810182905260a090205b949350505050565b60006115a18261242685612ea2565b6040517f19010000000000000000000000000000000000000000000000000000000000008152600281019290925260228201526042902090565b6000815160411461249d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614b31565b6000826000815181106124b2576124b2614e98565b01602001516021840151604185015160f89290921c9250906124d5838383612f04565b6000600187858585604051600081526020016040526040516124fa94939291906148eb565b6020604051602081039080840390855afa15801561251c573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff8116612594576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c906149c1565b9695505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156125da5750600081115b15610b1a5773ffffffffffffffffffffffffffffffffffffffff8316156126915773ffffffffffffffffffffffffffffffffffffffff8316600090815260146020526040812054908161262e576000612672565b73ffffffffffffffffffffffffffffffffffffffff851660009081526013602052604081209061265f600185614c98565b8152602001908152602001600020600101545b90506000612680828561221e565b905061268d868383613016565b5050505b73ffffffffffffffffffffffffffffffffffffffff821615610b1a5773ffffffffffffffffffffffffffffffffffffffff821660009081526014602052604081205490816126e0576000612724565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260136020526040812090612711600185614c98565b8152602001908152602001600020600101545b90506000612732828561222a565b905061273f858383613016565b505050505050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166127a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c906149d1565b60006127ad836115a8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061281c57508373ffffffffffffffffffffffffffffffffffffffff16612804846109b1565b73ffffffffffffffffffffffffffffffffffffffff16145b8061240f575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff1661240f565b8273ffffffffffffffffffffffffffffffffffffffff1661287d826115a8565b73ffffffffffffffffffffffffffffffffffffffff16146128ca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a91565b73ffffffffffffffffffffffffffffffffffffffff8216612917576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614991565b612922838383613231565b61292d600082612319565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120805460019290612963908490614c98565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040812080546001929061299e908490614c2f565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006115a18284614c5b565b600b805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612ab284848461285d565b612abe8484848461326d565b611afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614961565b612b0e828260405180602001604052806000815250613413565b5050565b606081612b5257505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612b7c5780612b6681614d7d565b9150612b759050600a83614c47565b9150612b56565b60008167ffffffffffffffff811115612b9757612b97614ec7565b6040519080825280601f01601f191660200182016040528015612bc1576020820181803683370190505b5090505b841561240f57612bd6600183614c98565b9150612be3600a86614dc8565b612bee906030614c2f565b60f81b818381518110612c0357612c03614e98565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612c3d600a86614c47565b9450612bc5565b600b5473ffffffffffffffffffffffffffffffffffffffff163314612c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a81565b73ffffffffffffffffffffffffffffffffffffffff8116612ce2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614971565b61202881612a30565b60006001612cf884611604565b612d029190614c98565b600083815260076020526040902054909150808214612d625773ffffffffffffffffffffffffffffffffffffffff841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b50600091825260076020908152604080842084905573ffffffffffffffffffffffffffffffffffffffff9094168352600681528383209183525290812055565b600854600090612db490600190614c98565b60008381526009602052604081205460088054939450909284908110612ddc57612ddc614e98565b906000526020600020015490508060088381548110612dfd57612dfd614e98565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612e3557612e35614e69565b6001900381819060005260206000200160009055905550505050565b6000612e5c83611604565b73ffffffffffffffffffffffffffffffffffffffff9093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60007fe6c775d77ef8ec84277aad8c3f9e3fa051e3ca07ea28a40e99a1fdf5b8cc07096020831015612ed057fe5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092018051928152604081209290525090565b7ffffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641418210612f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614931565b612f8860027ffffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141614c47565b612f93906001614c2f565b8110612fcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a41565b8260ff16601b1480612fe057508260ff16601c145b610b1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c906149b1565b6000613057436040518060400160405280601881526020017f4861736865733a206578636565647320333220626974732e0000000000000000815250613460565b73ffffffffffffffffffffffffffffffffffffffff851660009081526014602052604090205490915080158015906130db575073ffffffffffffffffffffffffffffffffffffffff8516600090815260136020526040812063ffffffff8416916130c2600185614c98565b815260208101919091526040016000205463ffffffff16145b1561312b5773ffffffffffffffffffffffffffffffffffffffff851660009081526013602052604081208491613112600185614c98565b81526020810191909152604001600020600101556131da565b60408051808201825263ffffffff8481168252602080830187815273ffffffffffffffffffffffffffffffffffffffff8a16600090815260138352858120878252909252939020915182547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001690821617825591516001918201556131b39183919061222a16565b73ffffffffffffffffffffffffffffffffffffffff86166000908152601460205260409020555b8473ffffffffffffffffffffffffffffffffffffffff167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248585604051613222929190614ba1565b60405180910390a25050505050565b61323c838383612118565b600e548110801561325c575060008181526011602052604090205460ff16155b15610b1a57610b1a8383600161259e565b600073ffffffffffffffffffffffffffffffffffffffff84163b1561340b576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a02906132e4903390899088908890600401614868565b602060405180830381600087803b1580156132fe57600080fd5b505af192505050801561334c575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261334991810190613962565b60015b6133c0573d80801561337a576040519150601f19603f3d011682016040523d82523d6000602084013e61337f565b606091505b5080516133b8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614961565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014905061240f565b50600161240f565b61341d83836134aa565b61342a600084848461326d565b610b1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614961565b60008164010000000084106134a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c9190614920565b509192915050565b73ffffffffffffffffffffffffffffffffffffffff82166134f7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614a31565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615613553576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0c90614981565b61355f60008383613231565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290613595908490614c2f565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461362490614d05565b90600052602060002090601f016020900481019282613646576000855561368c565b82601f1061365f57805160ff191683800117855561368c565b8280016001018555821561368c579182015b8281111561368c578251825591602001919060010190613671565b5061369892915061369c565b5090565b5b80821115613698576000815560010161369d565b60006136c46136bf84614be6565b614bca565b9050828152602081018484840111156136df576136df600080fd5b6136ea848285614ccd565b509392505050565b803561091981614ef6565b803561091981614f0a565b803561091981614f12565b805161091981614f12565b600082601f83011261373257613732600080fd5b813561240f8482602086016136b1565b803561091981614f3a565b60006020828403121561376257613762600080fd5b600061240f84846136f2565b6000806040838503121561378457613784600080fd5b600061379085856136f2565b92505060206137a1858286016136f2565b9150509250929050565b6000806000606084860312156137c3576137c3600080fd5b60006137cf86866136f2565b93505060206137e0868287016136f2565b92505060406137f186828701613742565b9150509250925092565b6000806000806080858703121561381457613814600080fd5b600061382087876136f2565b9450506020613831878288016136f2565b935050604061384287828801613742565b925050606085013567ffffffffffffffff81111561386257613862600080fd5b61386e8782880161371e565b91505092959194509250565b6000806040838503121561389057613890600080fd5b600061389c85856136f2565b92505060206137a1858286016136fd565b600080604083850312156138c3576138c3600080fd5b60006138cf85856136f2565b92505060206137a185828601613742565b6000806000606084860312156138f8576138f8600080fd5b600061390486866136f2565b935050602061391586828701613742565b925050604084013567ffffffffffffffff81111561393557613935600080fd5b6137f18682870161371e565b60006020828403121561395657613956600080fd5b600061240f8484613708565b60006020828403121561397757613977600080fd5b600061240f8484613713565b60006020828403121561399857613998600080fd5b813567ffffffffffffffff8111156139b2576139b2600080fd5b61240f8482850161371e565b6000602082840312156139d3576139d3600080fd5b600061240f8484613742565b6000806000606084860312156139f7576139f7600080fd5b6000613a038686613742565b9350506020613915868287016136f2565b60008060408385031215613a2a57613a2a600080fd5b6000613a368585613742565b925050602083013567ffffffffffffffff811115613a5657613a56600080fd5b6137a18582860161371e565b613a6b81614caf565b82525050565b613a6b613a7d82614caf565b614db6565b801515613a6b565b80613a6b565b6000613a9a825190565b808452602084019350613ab1818560208601614cd9565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920192915050565b6000613aea825190565b613af8818560208601614cd9565b9290920192915050565b60008154613b0f81614d05565b600182168015613b265760018114613b5557613b85565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00831686528186019350613b85565b60008581526020902060005b83811015613b7d57815488820152600190910190602001613b61565b838801955050505b50505092915050565b603281526000602082017f4c69625369676e61747572653a207220706172616d65746572206f662073696781527f6e617475726520697320696e76616c69642e0000000000000000000000000000602082015291505b5060400190565b602681526000602082017f4861736865733a204d75737420706173732073756666696369656e74206d696e81527f74206665652e000000000000000000000000000000000000000000000000000060208201529150613be4565b602b81526000602082017f455243373231456e756d657261626c653a206f776e657220696e646578206f7581527f74206f6620626f756e647300000000000000000000000000000000000000000060208201529150613be4565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527f63656976657220696d706c656d656e746572000000000000000000000000000060208201529150613be4565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181527f646472657373000000000000000000000000000000000000000000000000000060208201529150613be4565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000815291505b5060200190565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f2061646481527f726573730000000000000000000000000000000000000000000000000000000060208201529150613be4565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c65720000000000000081529150613d83565b603281526000602082017f4c69625369676e61747572653a207620706172616d65746572206f662073696781527f6e617475726520697320696e76616c69642e000000000000000000000000000060208201529150613be4565b602181526000602082017f4c69625369676e61747572653a20426164207369676e6174757265206461746181527f2e0000000000000000000000000000000000000000000000000000000000000060208201529150613be4565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881527f697374656e7420746f6b656e000000000000000000000000000000000000000060208201529150613be4565b601681526000602082017f4861736865733a206d757374206265206f776e65722e0000000000000000000081529150613d83565b602781526000602082017f4861736865733a206661696c656420746f2073656e642045544820746f20486181527f7368657344414f0000000000000000000000000000000000000000000000000060208201529150613be4565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060208201529150613be4565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a6581527f726f20616464726573730000000000000000000000000000000000000000000060208201529150613be4565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481527f656e7420746f6b656e000000000000000000000000000000000000000000000060208201529150613be4565b60208082527f4552433732313a206d696e7420746f20746865207a65726f206164647265737391019081526000613d83565b603281526000602082017f4c69625369676e61747572653a207320706172616d65746572206f662073696781527f6e617475726520697320696e76616c69642e000000000000000000000000000060208201529150613be4565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881527f697374656e7420746f6b656e000000000000000000000000000000000000000060208201529150613be4565b602e81526000602082017f4861736865733a20636f756c646e277420706179206f776e657220746865206181527f637469766174696f6e206665652e00000000000000000000000000000000000060208201529150613be4565b603a81526000602082017f4861736865733a2043616e27742070726f76696465206120746f6b656e20555281527f4920666f722061206e6f6e2d6578697374656e7420686173682e00000000000060208201529150613be4565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657291019081526000613d83565b602981526000602082017f4552433732313a207472616e73666572206f6620746f6b656e2074686174206981527f73206e6f74206f776e000000000000000000000000000000000000000000000060208201529150613be4565b603681526000602082017f4861736865733a2054686520746f6b656e206f776e6572206d7573742061707081527f726f76652074686520646561637469766174696f6e2e0000000000000000000060208201529150613be4565b603881526000602082017f4861736865733a20636f756c646e277420726566756e642073656e646572207781527f697468207468652072656d61696e696e672065746865722e000000000000000060208201529150613be4565b602d81526000602082017f4861736865733a2063616e2774207472616e73666572206f776e65727368697081527f207768656e206c6f636b65642e0000000000000000000000000000000000000060208201529150613be4565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6581527f720000000000000000000000000000000000000000000000000000000000000060208201529150613be4565b603281526000602082017f4861736865733a2043616e27742067656e65726174652068617368207769746881527f2074686520656d70747920737472696e672e000000000000000000000000000060208201529150613be4565b602181526000602082017f4861736865733a206d757374206265206120726573657276656420746f6b656e81527f2e0000000000000000000000000000000000000000000000000000000000000060208201529150613be4565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f81527f776e6572206e6f7220617070726f76656400000000000000000000000000000060208201529150613be4565b601d81526000602082017f4861736865733a206661696c656420746f20726566756e64204554482e00000081529150613d83565b602c81526000602082017f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f81527f7574206f6620626f756e6473000000000000000000000000000000000000000060208201529150613be4565b603081526000602082017f4c69625369676e61747572653a205369676e6174757265206c656e677468206d81527f7573742062652036352062797465732e0000000000000000000000000000000060208201529150613be4565b602181526000602082017f4861736865733a20626c6f636b206e6f74207965742064657465726d696e656481527f2e0000000000000000000000000000000000000000000000000000000000000060208201529150613be4565b601981526000602082017f4861736865733a2063616e2774206c6f636b2074776963652e0000000000000081529150613d83565b601f81526000602082017f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081529150613d83565b602881526000602082017f4861736865733a2063616e27742072652d75736520616e206f6c642070726f7081527f6f73616c2049442e00000000000000000000000000000000000000000000000060208201529150613be4565b602f81526000602082017f4861736865733a206d757374207061792061646571756174652066656520746f81527f20616374697661746520686173682e000000000000000000000000000000000060208201529150613be4565b601981526000602082017f4861736865733a20616c72656164792072656465656d65642e0000000000000081529150613d83565b63ffffffff8116613a6b565b60ff8116613a6b565b60006148118285613b02565b915061240f8284613ae0565b600081610919565b60006148318286613a8a565b6020820191506148418285613a71565b6014820191506148518284613ae0565b95945050505050565b602081016109198284613a62565b608081016148768287613a62565b6148836020830186613a62565b6148906040830185613a8a565b81810360608301526125948184613a90565b606081016148b08286613a62565b6148bd6020830185613a8a565b81810360408301526148518184613a90565b602081016109198284613a82565b602081016109198284613a8a565b608081016148f98287613a8a565b61490660208301866147fc565b6149136040830185613a8a565b6148516060830184613a8a565b602080825281016115a18184613a90565b6020808252810161091981613b8e565b6020808252810161091981613beb565b6020808252810161091981613c45565b6020808252810161091981613c9f565b6020808252810161091981613cf9565b6020808252810161091981613d53565b6020808252810161091981613d8a565b6020808252810161091981613de4565b6020808252810161091981613e18565b6020808252810161091981613e72565b6020808252810161091981613ecc565b6020808252810161091981613f26565b6020808252810161091981613f5a565b6020808252810161091981613fb4565b602080825281016109198161400e565b6020808252810161091981614068565b60208082528101610919816140c2565b60208082528101610919816140f4565b602080825281016109198161414e565b60208082528101610919816141a8565b6020808252810161091981614202565b602080825281016109198161425c565b602080825281016109198161428e565b60208082528101610919816142e8565b6020808252810161091981614342565b602080825281016109198161439c565b60208082528101610919816143f6565b6020808252810161091981614450565b60208082528101610919816144aa565b6020808252810161091981614504565b602080825281016109198161455e565b6020808252810161091981614592565b60208082528101610919816145ec565b6020808252810161091981614646565b60208082528101610919816146a0565b60208082528101610919816146d4565b6020808252810161091981614708565b6020808252810161091981614762565b60208082528101610919816147bc565b60408101614baf8285613a8a565b6115a16020830184613a8a565b60408101614baf82856147f0565b6000614bd560405190565b9050614be18282614d32565b919050565b600067ffffffffffffffff821115614c0057614c00614ec7565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011660200192915050565b60008219821115614c4257614c42614ddc565b500190565b600082614c5657614c56614e0b565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614c9357614c93614ddc565b500290565b600082821015614caa57614caa614ddc565b500390565b600073ffffffffffffffffffffffffffffffffffffffff8216610919565b82818337506000910152565b60005b83811015614cf4578181015183820152602001614cdc565b83811115611afb5750506000910152565b600281046001821680614d1957607f821691505b60208210811415614d2c57614d2c614e3a565b50919050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116810181811067ffffffffffffffff82111715614d7657614d76614ec7565b6040525050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614daf57614daf614ddc565b5060010190565b60006109198260006109198260601b90565b600082614dd757614dd7614e0b565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614eff81614caf565b811461202857600080fd5b801515614eff565b7fffffffff000000000000000000000000000000000000000000000000000000008116614eff565b80614eff56fea2646970667358221220640615f8313a5b246f8760641be5eae8a1568a3e256d90a13c86d53eb71a036964736f6c63430008060033

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

0000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f7777772e7468656861736865732e78797a2f6170692f746f6b656e2f00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _mintFee (uint256): 1000000000000000000
Arg [1] : _reservedAmount (uint256): 100
Arg [2] : _governanceCap (uint256): 1000
Arg [3] : _baseTokenURI (string): https://www.thehashes.xyz/api/token/

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [2] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000024
Arg [5] : 68747470733a2f2f7777772e7468656861736865732e78797a2f6170692f746f
Arg [6] : 6b656e2f00000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

774:20612:14:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2337:50;;;;;;;;;;-1:-1:-1;2337:50:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;910:222:5;;;;;;;;;;-1:-1:-1;910:222:5;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2414:98:2:-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;3925:217::-;;;;;;;;;;-1:-1:-1;3925:217:2;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;3463:401::-;;;;;;;;;;-1:-1:-1;3463:401:2;;;;;:::i;:::-;;:::i;:::-;;2480:69:14;;;;;;;;;;-1:-1:-1;2480:69:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;1496:22::-;;;;;;;;;;;;;;;;8203:1532;;;;;;;;;;-1:-1:-1;8203:1532:14;;;;;:::i;:::-;;:::i;1535:111:5:-;;;;;;;;;;-1:-1:-1;1622:10:5;:17;1535:111;;4789:330:2;;;;;;;;;;-1:-1:-1;4789:330:2;;;;;:::i;:::-;;:::i;12194:732:14:-;;;;;;;;;;-1:-1:-1;12194:732:14;;;;;:::i;:::-;;:::i;1211:253:5:-;;;;;;;;;;-1:-1:-1;1211:253:5;;;;;:::i;:::-;;:::i;5551:163:14:-;;;;;;;;;;-1:-1:-1;5551:163:14;;;;;:::i;:::-;;:::i;5185:179:2:-;;;;;;;;;;-1:-1:-1;5185:179:2;;;;;:::i;:::-;;:::i;1718:230:5:-;;;;;;;;;;-1:-1:-1;1718:230:5;;;;;:::i;:::-;;:::i;933:36:14:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6153:1458;;;:::i;13313:457::-;;;;;;;;;;-1:-1:-1;13313:457:14;;;;;:::i;:::-;;:::i;2117:235:2:-;;;;;;;;;;-1:-1:-1;2117:235:2;;;;;:::i;:::-;;:::i;14477:121:14:-;;;;;;;;;;-1:-1:-1;14477:121:14;;;;;:::i;:::-;14544:7;14570:21;;;:11;:21;;;;;;;14477:121;2631:49;;;;;;;;;;-1:-1:-1;2631:49:14;;;;;:::i;:::-;;;;;;;;;;;;;;1855:205:2;;;;;;;;;;-1:-1:-1;1855:205:2;;;;;:::i;:::-;;:::i;1605:92:0:-;;;;;;;;;;;;;:::i;1214:47:14:-;;;;;;;;;;;;;;;15443:1361;;;;;;;;;;-1:-1:-1;15443:1361:14;;;;;:::i;:::-;;:::i;973:85:0:-;;;;;;;;;;-1:-1:-1;1045:6:0;;;;973:85;;2576:102:2;;;;;;;;;;;;;:::i;4209:290::-;;;;;;;;;;-1:-1:-1;4209:290:2;;;;;:::i;:::-;;:::i;2197:43:14:-;;;;;;;;;;-1:-1:-1;2197:43:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;1794:20;;;;;;;;;;;;;;;;1693:28;;;;;;;;;;;;;;;;14768:251;;;;;;;;;;-1:-1:-1;14768:251:14;;;;;:::i;:::-;;:::i;5430:320:2:-;;;;;;;;;;-1:-1:-1;5430:320:2;;;;;:::i;:::-;;:::i;10044:1723:14:-;;;;;;:::i;:::-;;:::i;13910:414::-;;;;;;;;;;-1:-1:-1;13910:414:14;;;;;:::i;:::-;;:::i;1434:18::-;;;;;;;;;;-1:-1:-1;1434:18:14;;;;;;;;;;;1877:26;;;;;;;;;;;;;:::i;4565:162:2:-;;;;;;;;;;-1:-1:-1;4565:162:2;;;;;:::i;:::-;4685:25;;;;4662:4;4685:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4565:162;5850:127:14;;;;;;;;;;-1:-1:-1;5850:127:14;;;;;:::i;:::-;;:::i;5216:198::-;;;;;;;;;;-1:-1:-1;5216:198:14;;;;;:::i;:::-;;:::i;4962:120::-;;;;;;;;;;;;;:::i;1583:29::-;;;;;;;;;;;;;;;;910:222:5;1012:4;1035:50;;;1050:35;1035:50;;:90;;;1089:36;1113:11;1089:23;:36::i;:::-;1028:97;910:222;-1:-1:-1;;910:222:5:o;2414:98:2:-;2468:13;2500:5;2493:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2414:98;:::o;3925:217::-;4001:7;7310:16;;;:7;:16;;;;;;:30;:16;4020:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;4111:24:2;;;;:15;:24;;;;;;;;;3925:217::o;3463:401::-;3543:13;3559:23;3574:7;3559:14;:23::i;:::-;3543:39;;3606:5;3600:11;;:2;:11;;;;3592:57;;;;;;;;;;;;:::i;:::-;666:10:9;3681:21:2;;;;;:62;;-1:-1:-1;3706:37:2;3723:5;666:10:9;4565:162:2;:::i;3706:37::-;3660:165;;;;;;;;;;;;:::i;:::-;3836:21;3845:2;3849:7;3836:8;:21::i;:::-;3533:331;3463:401;;:::o;8203:1532:14:-;8346:25;1680:1:1;2259:7;;:19;;2251:63;;;;;;;;;;;;:::i;:::-;1680:1;2389:7;:18;1045:6:0;;1185:23:::1;1045:6:::0;666:10:9;1185:23:0::1;1177:68;;;;;;;;;;;;:::i;:::-;8461:28:14::2;::::0;::::2;;::::0;;;:15:::2;:28;::::0;;;;;:42;-1:-1:-1;8453:95:14::2;;;;;;;;;;;;:::i;:::-;8558:28;::::0;::::2;;::::0;;;:15:::2;:28;::::0;;;;:42;;;8637:72:::2;8664:6;:4;:6::i;:::-;8672:7;::::0;;;;::::2;::::0;;;::::2;::::0;;::::2;;::::0;::::2;::::0;20078:9;8703:4:::2;8637:26;:72::i;:::-;8610:99;;8719:22;8756:170;8815:63;;;;;;;;8864:11;8815:63;;::::0;8896:16:::2;8756:41;:170::i;:::-;8719:207;;9004:11;8944:71;;:56;8973:14;8989:10;8944:28;:56::i;:::-;:71;;;8936:138;;;;;;;;;;;;:::i;:::-;9140:9;9135:440;9159:22;9169:11;9159:9;:22::i;:::-;9155:1;:26;9135:440;;;9202:15;9220:35;9240:11;9253:1;9220:19;:35::i;:::-;9202:53;;9284:14;;9273:7;:25;;:52;;;;;9312:13;;9302:7;:23;9273:52;:77;;;;-1:-1:-1::0;9330:20:14::2;::::0;;;:11:::2;:20;::::0;;;;;::::2;;9329:21;9273:77;9269:296;;;9370:20;::::0;;;:11:::2;:20;::::0;;;;:27;;;::::2;9393:4;9370:27;::::0;;9415:19;::::2;::::0;::::2;:::i;:::-;;;;9529:7;9516:11;9504:46;;;9538:11;9504:46;;;;;;:::i;:::-;;;;;;;;9269:296;-1:-1:-1::0;9183:3:14;::::2;::::0;::::2;:::i;:::-;;;;9135:440;;;;9635:58;9650:11;9671:1;9675:17;9635:14;:58::i;:::-;9704:24;;1637:1:1::0;2562:7;:22;8203:1532:14;;-1:-1:-1;;;8203:1532:14:o;4789:330:2:-;4978:41;666:10:9;5011:7:2;4978:18;:41::i;:::-;4970:103;;;;;;;;;;;;:::i;:::-;5084:28;5094:4;5100:2;5104:7;5084:9;:28::i;12194:732:14:-;1680:1:1;2259:7;;:19;;2251:63;;;;;;;;;;;;:::i;:::-;1680:1;2389:7;:18;12354:17:14::1;12362:8:::0;12354:7:::1;:17::i;:::-;12338:33;;666:10:9::0;12338:33:14::1;;;12330:68;;;;;;;;;;;;:::i;:::-;12487:14;;12476:8;:25;12468:71;;;;;;;;;;;;:::i;:::-;12616:18;::::0;;;:8:::1;:18;::::0;;;;;::::1;;12615:19;12607:57;;;;;;;;;;;;:::i;:::-;12714:18;::::0;;;:8:::1;:18;::::0;;;;:25;;;::::1;12735:4;12714:25;::::0;;12723:8;12839:12:::1;666:10:9::0;;587:96;12839:12:14::1;12853:7;12812:49;;;;;;;;;;:::i;:::-;;::::0;;;;::::1;::::0;;;;;;;12802:60;;12812:49:::1;12802:60:::0;;::::1;::::0;12778:21:::1;::::0;;;:11:::1;:21:::0;;;;;:84;12878:41:::1;666:10:9::0;12901:8:14::1;12911:7;12878:41;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;;1637:1:1;2562:7;:22;12194:732:14:o;1211:253:5:-;1308:7;1343:23;1360:5;1343:16;:23::i;:::-;1335:5;:31;1327:87;;;;;;;;;;;;:::i;:::-;-1:-1:-1;1431:19:5;;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1211:253::o;5551:163:14:-;1045:6:0;;1185:23;1045:6;666:10:9;1185:23:0;1177:68;;;;;;;;;;;;:::i;:::-;5634:28:14;;::::1;::::0;:12:::1;::::0;:28:::1;::::0;::::1;::::0;::::1;:::i;:::-;;5677:30;5693:13;5677:30;;;;;;:::i;:::-;;;;;;;;5551:163:::0;:::o;5185:179:2:-;5318:39;5335:4;5341:2;5345:7;5318:39;;;;;;;;;;;;:16;:39::i;1718:230:5:-;1793:7;1828:30;1622:10;:17;;1535:111;1828:30;1820:5;:38;1812:95;;;;;;;;;;;;:::i;:::-;1924:10;1935:5;1924:17;;;;;;;;:::i;:::-;;;;;;;;;1917:24;;1718:230;;;:::o;6153:1458:14:-;6218:23;1680:1:1;2259:7;;:19;;2251:63;;;;;;;;;;;;:::i;:::-;1680:1;2389:7;:18;6306:9:14::1;6301:419;6325:21;6335:10;6325:9;:21::i;:::-;6321:1;:25;6301:419;;;6367:15;6385:34;6405:10;6417:1;6385:19;:34::i;:::-;6367:52;;6448:14;;6437:7;:25;;:52;;;;;6476:13;;6466:7;:23;6437:52;:76;;;;-1:-1:-1::0;6493:20:14::1;::::0;;;:11:::1;:20;::::0;;;;;::::1;;6437:76;6433:277;;;6556:5;6533:20:::0;;;:11:::1;:20;::::0;;;;:28;;;::::1;::::0;;6579:17;::::1;::::0;::::1;:::i;:::-;6665:30;::::0;6579:17;;-1:-1:-1;6687:7:14;;-1:-1:-1;6675:10:14::1;::::0;6665:30:::1;::::0;;;::::1;6433:277;-1:-1:-1::0;6348:3:14;::::1;::::0;::::1;:::i;:::-;;;;6301:419;;;;6781:55;6804:1;6808:10;6820:15;6781:14;:55::i;:::-;7062:9;::::0;7103:34:::1;:13;7121:15:::0;7103:17:::1;:34::i;:::-;7081:56;;7168:11;7155:9;:24;;7147:84;;;;;;;;;;;;:::i;:::-;1045:6:0::0;;;;7251:12:14::1;;7271:11;7251:36;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7241:46;;;;;7305:4;7297:63;;;;;;;;;;;;:::i;:::-;7386:11;7374:9;:23;7370:202;;;7423:10;7446:23;7458:11:::0;7446:9:::1;:23;:::i;:::-;7423:51;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7413:61;;;;;7496:4;7488:73;;;;;;;;;;;;:::i;:::-;7582:22;;1637:1:1::0;2562:7;:22;6153:1458:14;:::o;13313:457::-;13419:4;13528:5;;13516:8;:17;;:42;;;-1:-1:-1;13537:21:14;;;;13516:42;:72;;;-1:-1:-1;13562:21:14;;:26;13516:72;13512:115;;;-1:-1:-1;13611:5:14;13604:12;;13512:115;13735:8;13745:7;13754;13718:44;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;13708:55;;13718:44;13708:55;;;;13683:21;;;;:11;:21;;;;;;:80;;-1:-1:-1;13313:457:14;;;;;;:::o;2117:235:2:-;2189:7;2224:16;;;:7;:16;;;;;;;;2258:19;2250:73;;;;;;;;;;;;:::i;1855:205::-;1927:7;1954:19;;;1946:74;;;;;;;;;;;;:::i;:::-;-1:-1:-1;2037:16:2;;;;;;:9;:16;;;;;;;1855:205::o;1605:92:0:-;1045:6;;1185:23;1045:6;666:10:9;1185:23:0;1177:68;;;;;;;;;;;;:::i;:::-;1669:21:::1;1687:1;1669:9;:21::i;:::-;1605:92::o:0;15443:1361:14:-;15538:7;15580:12;15565;:27;15557:73;;;;;;;;;;;;:::i;:::-;15673:24;;;15641:29;15673:24;;;:14;:24;;;;;;15711:26;15707:65;;15760:1;15753:8;;;;;15707:65;15829:21;;;;;;;:11;:21;;;;;15884:12;;15851:25;15875:1;15851:21;:25;:::i;:::-;15829:48;;;;;;;;;;;-1:-1:-1;15829:48:14;:51;;;:67;15825:159;;15919:21;;;;;;;:11;:21;;;;;;15941:25;15965:1;15941:21;:25;:::i;:::-;15919:48;;;;;;;;;;;:54;;;15912:61;;;;;15825:159;16042:21;;;;;;;:11;:21;;;;;;;;:24;;;;;;;;:27;;;:42;-1:-1:-1;16038:81:14;;;16107:1;16100:8;;;;;16038:81;16249:13;;16292:25;16316:1;16292:21;:25;:::i;:::-;16276:41;;16327:420;16342:5;16334;:13;16327:420;;;16402:14;16445:1;16428:13;16436:5;16428;:13;:::i;:::-;16427:19;;;;:::i;:::-;16419:27;;:5;:27;:::i;:::-;16483:21;;;16460:20;16483:21;;;:11;:21;;;;;;;;:29;;;;;;;;;16460:52;;;;;;;;;;;;;;;;;;;;;;;;;;;16402:44;;-1:-1:-1;16460:52:14;16530:21;;16526:211;;;16578:8;;;;-1:-1:-1;16571:15:14;;-1:-1:-1;;;;16571:15:14;16526:211;16611:5;;:20;;;-1:-1:-1;16607:130:14;;;16659:6;16651:14;;16607:130;;;16712:10;16721:1;16712:6;:10;:::i;:::-;16704:18;;16607:130;16349:398;;16327:420;;;-1:-1:-1;16763:21:14;;;;;;;:11;:21;;;;;;;;:28;;;;;;;:34;;;;-1:-1:-1;;15443:1361:14;;;;:::o;2576:102:2:-;2632:13;2664:7;2657:14;;;;;:::i;4209:290::-;4311:24;;;666:10:9;4311:24:2;;4303:62;;;;;;;;;;;;:::i;:::-;666:10:9;4376:32:2;;;;:18;:32;;;;;;;;;:42;;;;;;;;;;;:53;;;;;;;;;;4444:48;;4376:42;;666:10:9;4444:48:2;;;;4376:53;;4444:48;:::i;:::-;;;;;;;;4209:290;;:::o;14768:251:14:-;14885:24;;;14834:7;14885:24;;;:14;:24;;;;;;14926:25;:86;;15011:1;14926:86;;;14954:21;;;;;;;:11;:21;;;;;;14976:25;15000:1;14976:21;:25;:::i;:::-;14954:48;;;;;;;;;;;:54;;;14919:93;14768:251;-1:-1:-1;;;14768:251:14:o;5430:320:2:-;5599:41;666:10:9;5632:7:2;5599:18;:41::i;:::-;5591:103;;;;;;;;;;;;:::i;:::-;5704:39;5718:4;5724:2;5728:7;5737:5;5704:13;:39::i;:::-;5430:320;;;;:::o;10044:1723:14:-;1680:1:1;2259:7;;:19;;2251:63;;;;;;;;;;;;:::i;:::-;1680:1;2389:7;:18;10183:21:14;;10175:88:::1;;;;;;;;;;;;:::i;:::-;10366:7;;10353:9;:20;;10345:71;;;;;;;;;;;;:::i;:::-;10512:5;::::0;666:10:9;10533:7:14::1;10495:46;;;;;;;;;;:::i;:::-;;::::0;;;;::::1;::::0;;;;;;;10485:57;;10495:46:::1;10485:57:::0;;::::1;::::0;10476:5:::1;::::0;10464:18:::1;::::0;;;:11:::1;:18:::0;;;;;:78;10579:32:::1;666:10:9::0;10603:5:14::1;:7:::0;;;:5:::1;:7;::::0;::::1;:::i;:::-;;;;;10579:9;:32::i;:::-;10655:7;::::0;10622:19:::1;::::0;10655:11;10651:346:::1;;10772:9;10786:7;1045:6:0::0;;;;;973:85;10786:7:14::1;:12;;10806:7;;10786:32;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10771:47;;;10840:4;10832:56;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;10979:7:14::1;::::0;10651:346:::1;11023:11;11011:9;:23;11007:456;;;11325:9;666:10:9::0;11364:23:14::1;11376:11:::0;11364:9:::1;:23;:::i;:::-;11339:53;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11324:68;;;11414:4;11406:46;;;;;;;;;;;;:::i;:::-;11036:427;11007:456;11486:13;;11477:5;;:22;11473:229;;;11690:1;11680:7;:11:::0;11473:229:::1;11717:43;666:10:9::0;11749:1:14::1;11741:5;;:9;;;;:::i;:::-;11752:7;11717:43;;;;;;;;:::i;13910:414::-:0;13976:13;14096:5;;14085:8;:16;14077:87;;;;;;;;;;;;:::i;:::-;14275:12;14289:26;14306:8;14289:16;:26::i;:::-;14258:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;14244:73;;13910:414;;;:::o;1877:26::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5850:127::-;1045:6:0;;1185:23;1045:6;666:10:9;1185:23:0;1177:68;;;;;;;;;;;;:::i;:::-;5917:7:14::1;:18:::0;;;5950:20:::1;::::0;5927:8;;5950:20:::1;::::0;;;::::1;5850:127:::0;:::o;5216:198::-;1045:6:0;;1185:23;1045:6;666:10:9;1185:23:0;1177:68;;;;;;;;;;;;:::i;:::-;5307:6:14::1;::::0;;;::::1;;;5306:7;5298:65;;;;;;;;;;;;:::i;:::-;5373:34;5397:9;5373:23;:34::i;:::-;5216:198:::0;:::o;4962:120::-;1045:6:0;;1185:23;1045:6;666:10:9;1185:23:0;1177:68;;;;;;;;;;;;:::i;:::-;5016:6:14::1;::::0;;;::::1;;;5015:7;5007:45;;;;;;;;;;;;:::i;:::-;5062:6;:13:::0;;;::::1;::::0;::::1;::::0;;4962:120::o;718:377:8:-;1034:20;1080:8;;;718:377::o;2544:572:5:-;2743:18;;;2739:183;;2777:40;2809:7;3925:10;:17;;3898:24;;;;:15;:24;;;;;:44;;;3952:24;;;;;;;;;;;;3822:161;2777:40;2739:183;;;2846:2;2838:10;;:4;:10;;;2834:88;;2864:47;2897:4;2903:7;2864:32;:47::i;:::-;2935:16;;;2931:179;;2967:45;3004:7;2967:36;:45::i;2931:179::-;3039:4;3033:10;;:2;:10;;;3029:81;;3059:40;3087:2;3091:7;3059:27;:40::i;3039:96:13:-;3097:7;3123:5;3127:1;3123;:5;:::i;2672:96::-;2730:7;2756:5;2760:1;2756;:5;:::i;1496:300:2:-;1598:4;1633:40;;;1648:25;1633:40;;:104;;-1:-1:-1;1689:48:2;;;1704:33;1689:48;1633:104;:156;;;-1:-1:-1;886:25:11;871:40;;;;1753:36:2;763:155:11;11073:171:2;11147:24;;;;:15;:24;;;;;:29;;;;;;;;;;;;;:24;;11200:23;11147:24;11200:14;:23::i;:::-;11191:46;;;;;;;;;;;;11073:171;;:::o;1329:1235:20:-;2013:11;;2008:2;1998:13;;;1988:37;;;;2085:14;;2067:16;;;2057:43;2174:2;2168:9;;999:66;2229:26;;2275:15;;;2268:33;;;;2321:15;;;2314:36;2382:2;2370:15;;2363:32;;;2427:3;2415:16;;2408:43;;;2521:3;2503:22;;1329:1235;;;;;;;:::o;828:315:19:-;970:22;1025:80;1053:17;1072:32;1092:11;1072:19;:32::i;:::-;3313:2:20;3307:9;3345:66;3330:82;;3461:1;3449:14;;3442:40;;;;3536:2;3524:15;;3517:35;3640:2;3622:21;;;2912:770;1152:864:21;1240:7;1267:10;:17;1288:2;1267:23;1259:84;;;;;;;;;;;;:::i;:::-;1412:7;1428:10;1439:1;1428:13;;;;;;;;:::i;:::-;;;;;1540:4;1524:21;;1518:28;1586:4;1570:21;;1564:28;1428:13;;;;;;-1:-1:-1;1518:28:21;1672:44;1428:13;1518:28;1564;1672:35;:44::i;:::-;1781:17;1801:25;1811:5;1818:1;1821;1824;1801:25;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1801:25:21;;;;;;-1:-1:-1;;1922:23:21;;;1914:69;;;;;;;;;;;;:::i;:::-;2000:9;1152:864;-1:-1:-1;;;;;;1152:864:21:o;17847:1324:14:-;17988:7;17976:19;;:8;:19;;;;:34;;;;;18009:1;17999:7;:11;17976:34;17972:1193;;;18162:22;;;;18158:501;;18279:24;;;18258:18;18279:24;;;:14;:24;;;;;;;18450:14;:64;;18513:1;18450:64;;;18467:21;;;;;;;:11;:21;;;;;;18489:14;18502:1;18489:10;:14;:::i;:::-;18467:37;;;;;;;;;;;:43;;;18450:64;18429:85;-1:-1:-1;18532:18:14;18553:23;18429:85;18568:7;18553:14;:23::i;:::-;18532:44;;18594:50;18611:8;18621:10;18633;18594:16;:50::i;:::-;18186:473;;;18158:501;18677:21;;;;18673:482;;18787:23;;;18767:17;18787:23;;;:14;:23;;;;;;;18954:13;:61;;19014:1;18954:61;;;18970:20;;;;;;;:11;:20;;;;;;18991:13;19003:1;18991:9;:13;:::i;:::-;18970:35;;;;;;;;;;;:41;;;18954:61;18934:81;-1:-1:-1;19033:17:14;19053:22;18934:81;19067:7;19053:13;:22::i;:::-;19033:42;;19093:47;19110:7;19119:9;19130;19093:16;:47::i;:::-;18700:455;;;17847:1324;;;:::o;7505:344:2:-;7598:4;7310:16;;;:7;:16;;;;;;:30;:16;7614:73;;;;;;;;;;;;:::i;:::-;7697:13;7713:23;7728:7;7713:14;:23::i;:::-;7697:39;;7765:5;7754:16;;:7;:16;;;:51;;;;7798:7;7774:31;;:20;7786:7;7774:11;:20::i;:::-;:31;;;7754:51;:87;;;-1:-1:-1;4685:25:2;;;;4662:4;4685:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7809:32;4565:162;10402:560;10556:4;10529:31;;:23;10544:7;10529:14;:23::i;:::-;:31;;;10521:85;;;;;;;;;;;;:::i;:::-;10624:16;;;10616:65;;;;;;;;;;;;:::i;:::-;10692:39;10713:4;10719:2;10723:7;10692:20;:39::i;:::-;10793:29;10810:1;10814:7;10793:8;:29::i;:::-;10833:15;;;;;;;:9;:15;;;;;:20;;10852:1;;10833:15;:20;;10852:1;;10833:20;:::i;:::-;;;;-1:-1:-1;;10863:13:2;;;;;;;:9;:13;;;;;:18;;10880:1;;10863:13;:18;;10880:1;;10863:18;:::i;:::-;;;;-1:-1:-1;;10891:16:2;;;;:7;:16;;;;;;:21;;;;;;;;;;;;;;10928:27;;10891:16;;10928:27;;;;;;;10402:560;;;:::o;3382:96:13:-;3440:7;3466:5;3470:1;3466;:5;:::i;2041:169:0:-;2115:6;;;;2131:17;;;;;;;;;;;2163:40;;2115:6;;;2131:17;2115:6;;2163:40;;2096:16;;2163:40;2086:124;2041:169;:::o;6612:307:2:-;6763:28;6773:4;6779:2;6783:7;6763:9;:28::i;:::-;6809:48;6832:4;6838:2;6842:7;6851:5;6809:22;:48::i;:::-;6801:111;;;;;;;;;;;;:::i;8179:108::-;8254:26;8264:2;8268:7;8254:26;;;;;;;;;;;;:9;:26::i;:::-;8179:108;;:::o;20133:717:14:-;20198:13;20415:11;20411:52;;-1:-1:-1;;20442:10:14;;;;;;;;;;;;;;;;;;20133:717::o;20411:52::-;20487:6;20472:12;20527:75;20534:9;;20527:75;;20559:8;;;;:::i;:::-;;-1:-1:-1;20581:10:14;;-1:-1:-1;20589:2:14;20581:10;;:::i;:::-;;;20527:75;;;20611:19;20643:6;20633:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20633:17:14;;20611:39;;20660:153;20667:11;;20660:153;;20694:11;20704:1;20694:11;;:::i;:::-;;-1:-1:-1;20762:11:14;20771:2;20762:6;:11;:::i;:::-;20749:25;;:2;:25;:::i;:::-;20736:40;;20719:6;20726;20719:14;;;;;;;;:::i;:::-;;;;:57;;;;;;;;;;-1:-1:-1;20790:12:14;20800:2;20790:12;;:::i;:::-;;;20660:153;;1846:189:0;1045:6;;1185:23;1045:6;666:10:9;1185:23:0;1177:68;;;;;;;;;;;;:::i;:::-;1934:22:::1;::::0;::::1;1926:73;;;;;;;;;;;;:::i;:::-;2009:19;2019:8;2009:9;:19::i;4600:970:5:-:0;4862:22;4912:1;4887:22;4904:4;4887:16;:22::i;:::-;:26;;;;:::i;:::-;4923:18;4944:26;;;:17;:26;;;;;;4862:51;;-1:-1:-1;5074:28:5;;;5070:323;;5140:18;;;5118:19;5140:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5189:30;;;;;;:44;;;5305:30;;:17;:30;;;;;:43;;;5070:323;-1:-1:-1;5486:26:5;;;;:17;:26;;;;;;;;5479:33;;;5529:18;;;;;;:12;:18;;;;;:34;;;;;;;5522:41;4600:970::o;5858:1061::-;6132:10;:17;6107:22;;6132:21;;6152:1;;6132:21;:::i;:::-;6163:18;6184:24;;;:15;:24;;;;;;6552:10;:26;;6107:46;;-1:-1:-1;6184:24:5;;6107:46;;6552:26;;;;;;:::i;:::-;;;;;;;;;6530:48;;6614:11;6589:10;6600;6589:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;6693:28;;;:15;:28;;;;;;;:41;;;6862:24;;;;;6855:31;6896:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;5929:990;;;5858:1061;:::o;3410:217::-;3494:14;3511:20;3528:2;3511:16;:20::i;:::-;3541:16;;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3585:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3410:217:5:o;1313:811:19:-;1401:14;502:66;1687:2;1671:19;;1668:2;;;1709:9;1668:2;1840:20;;;;1909:11;;1963:24;;;2026:2;2010:19;;2066;;;-1:-1:-1;2010:19:19;1313:811::o;3325:602:21:-;611:66;3625:37;;3617:100;;;;;;;;;;;;:::i;:::-;863:27;889:1;611:66;863:27;:::i;:::-;:31;;893:1;863:31;:::i;:::-;3735:37;;3727:100;;;;;;;;;;;;:::i;:::-;3845:2;:8;;3851:2;3845:8;:20;;;;3857:2;:8;;3863:2;3857:8;3845:20;3837:83;;;;;;;;;;;;:::i;19177:772:14:-;19310:18;19331:48;19338:12;19331:48;;;;;;;;;;;;;;;;;:6;:48::i;:::-;19406:26;;;19389:14;19406:26;;;:14;:26;;;;;;19310:69;;-1:-1:-1;19446:10:14;;;;;:67;;-1:-1:-1;19460:23:14;;;;;;;:11;:23;;;;;:53;;;;19484:10;19493:1;19484:6;:10;:::i;:::-;19460:35;;;;;;;;;;;-1:-1:-1;19460:35:14;:38;;;:53;19446:67;19442:431;;;19597:23;;;;;;;:11;:23;;;;;19641:9;;19621:10;19630:1;19621:6;:10;:::i;:::-;19597:35;;;;;;;;;;;-1:-1:-1;19597:35:14;:41;;:53;19442:431;;;19757:49;;;;;;;;;;;;;;;;;;;;;19723:23;;;-1:-1:-1;19723:23:14;;;:11;:23;;;;;:31;;;;;;;;;:83;;;;;;;;;;;;;;-1:-1:-1;19723:83:14;;;;19849:13;;19723:31;;-1:-1:-1;19849:10:14;:13;:::i;:::-;19820:26;;;;;;;:14;:26;;;;;:42;19442:431;19909:10;19888:54;;;19921:9;19932;19888:54;;;;;;;:::i;:::-;;;;;;;;19300:649;;19177:772;;;:::o;17400:441::-;17539:45;17566:4;17572:2;17576:7;17539:26;:45::i;:::-;17609:13;;17599:7;:23;:48;;;;-1:-1:-1;17627:20:14;;;;:11;:20;;;;;;;;17626:21;17599:48;17595:240;;;17797:27;17812:4;17818:2;17822:1;17797:14;:27::i;11797:778:2:-;11947:4;11967:13;;;1034:20:8;1080:8;11963:606:2;;12002:72;;;;;:36;;;;;;:72;;666:10:9;;12053:4:2;;12059:7;;12068:5;;12002:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12002:72:2;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;11998:519;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12241:13:2;;12237:266;;12283:60;;;;;;;;;;:::i;12237:266::-;12455:6;12449:13;12440:6;12436:2;12432:15;12425:38;11998:519;12124:51;;12134:41;12124:51;;-1:-1:-1;12117:58:2;;11963:606;-1:-1:-1;12554:4:2;12547:11;;8508:311;8633:18;8639:2;8643:7;8633:5;:18::i;:::-;8682:54;8713:1;8717:2;8721:7;8730:5;8682:22;:54::i;:::-;8661:151;;;;;;;;;;;;:::i;21223:161:14:-;21301:6;21338:12;21331:5;21327:9;;21319:32;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;21375:1:14;;21223:161;-1:-1:-1;;21223:161:14:o;9141:372:2:-;9220:16;;;9212:61;;;;;;;;;;;;:::i;:::-;7287:4;7310:16;;;:7;:16;;;;;;:30;:16;:30;9283:58;;;;;;;;;;;;:::i;:::-;9352:45;9381:1;9385:2;9389:7;9352:20;:45::i;:::-;9408:13;;;;;;;:9;:13;;;;;:18;;9425:1;;9408:13;:18;;9425:1;;9408:18;:::i;:::-;;;;-1:-1:-1;;9436:16:2;;;;:7;:16;;;;;;:21;;;;;;;;;;;;;9473:33;;9436:16;;;9473:33;;9436:16;;9473:33;9141:372;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;7:410:26;84:5;109:65;125:48;166:6;125:48;:::i;:::-;109:65;:::i;:::-;100:74;;197:6;190:5;183:21;235:4;228:5;224:16;273:3;264:6;259:3;255:16;252:25;249:2;;;280:79;774:20612:14;;;280:79:26;370:41;404:6;399:3;394;370:41;:::i;:::-;90:327;;;;;;:::o;841:139::-;912:20;;941:33;912:20;941:33;:::i;986:133::-;1054:20;;1083:30;1054:20;1083:30;:::i;1125:137::-;1195:20;;1224:32;1195:20;1224:32;:::i;1268:141::-;1349:13;;1371:32;1349:13;1371:32;:::i;1428:338::-;1483:5;1532:3;1525:4;1517:6;1513:17;1509:27;1499:2;;1540:79;774:20612:14;;;1540:79:26;1657:6;1644:20;1682:78;1756:3;1748:6;1741:4;1733:6;1729:17;1682:78;:::i;2132:139::-;2203:20;;2232:33;2203:20;2232:33;:::i;2277:329::-;2336:6;2385:2;2373:9;2364:7;2360:23;2356:32;2353:2;;;2391:79;774:20612:14;;;2391:79:26;2511:1;2536:53;2581:7;2561:9;2536:53;:::i;2612:474::-;2680:6;2688;2737:2;2725:9;2716:7;2712:23;2708:32;2705:2;;;2743:79;774:20612:14;;;2743:79:26;2863:1;2888:53;2933:7;2913:9;2888:53;:::i;:::-;2878:63;;2834:117;2990:2;3016:53;3061:7;3052:6;3041:9;3037:22;3016:53;:::i;:::-;3006:63;;2961:118;2695:391;;;;;:::o;3092:619::-;3169:6;3177;3185;3234:2;3222:9;3213:7;3209:23;3205:32;3202:2;;;3240:79;774:20612:14;;;3240:79:26;3360:1;3385:53;3430:7;3410:9;3385:53;:::i;:::-;3375:63;;3331:117;3487:2;3513:53;3558:7;3549:6;3538:9;3534:22;3513:53;:::i;:::-;3503:63;;3458:118;3615:2;3641:53;3686:7;3677:6;3666:9;3662:22;3641:53;:::i;:::-;3631:63;;3586:118;3192:519;;;;;:::o;3717:943::-;3812:6;3820;3828;3836;3885:3;3873:9;3864:7;3860:23;3856:33;3853:2;;;3892:79;774:20612:14;;;3892:79:26;4012:1;4037:53;4082:7;4062:9;4037:53;:::i;:::-;4027:63;;3983:117;4139:2;4165:53;4210:7;4201:6;4190:9;4186:22;4165:53;:::i;:::-;4155:63;;4110:118;4267:2;4293:53;4338:7;4329:6;4318:9;4314:22;4293:53;:::i;:::-;4283:63;;4238:118;4423:2;4412:9;4408:18;4395:32;4454:18;4446:6;4443:30;4440:2;;;4476:79;774:20612:14;;;4476:79:26;4581:62;4635:7;4626:6;4615:9;4611:22;4581:62;:::i;:::-;4571:72;;4366:287;3843:817;;;;;;;:::o;4666:468::-;4731:6;4739;4788:2;4776:9;4767:7;4763:23;4759:32;4756:2;;;4794:79;774:20612:14;;;4794:79:26;4914:1;4939:53;4984:7;4964:9;4939:53;:::i;:::-;4929:63;;4885:117;5041:2;5067:50;5109:7;5100:6;5089:9;5085:22;5067:50;:::i;5140:474::-;5208:6;5216;5265:2;5253:9;5244:7;5240:23;5236:32;5233:2;;;5271:79;774:20612:14;;;5271:79:26;5391:1;5416:53;5461:7;5441:9;5416:53;:::i;:::-;5406:63;;5362:117;5518:2;5544:53;5589:7;5580:6;5569:9;5565:22;5544:53;:::i;5620:797::-;5706:6;5714;5722;5771:2;5759:9;5750:7;5746:23;5742:32;5739:2;;;5777:79;774:20612:14;;;5777:79:26;5897:1;5922:53;5967:7;5947:9;5922:53;:::i;:::-;5912:63;;5868:117;6024:2;6050:53;6095:7;6086:6;6075:9;6071:22;6050:53;:::i;:::-;6040:63;;5995:118;6180:2;6169:9;6165:18;6152:32;6211:18;6203:6;6200:30;6197:2;;;6233:79;774:20612:14;;;6233:79:26;6338:62;6392:7;6383:6;6372:9;6368:22;6338:62;:::i;6423:327::-;6481:6;6530:2;6518:9;6509:7;6505:23;6501:32;6498:2;;;6536:79;774:20612:14;;;6536:79:26;6656:1;6681:52;6725:7;6705:9;6681:52;:::i;6756:349::-;6825:6;6874:2;6862:9;6853:7;6849:23;6845:32;6842:2;;;6880:79;774:20612:14;;;6880:79:26;7000:1;7025:63;7080:7;7060:9;7025:63;:::i;7111:509::-;7180:6;7229:2;7217:9;7208:7;7204:23;7200:32;7197:2;;;7235:79;774:20612:14;;;7235:79:26;7355:31;;7413:18;7402:30;;7399:2;;;7435:79;774:20612:14;;;7435:79:26;7540:63;7595:7;7586:6;7575:9;7571:22;7540:63;:::i;7626:329::-;7685:6;7734:2;7722:9;7713:7;7709:23;7705:32;7702:2;;;7740:79;774:20612:14;;;7740:79:26;7860:1;7885:53;7930:7;7910:9;7885:53;:::i;7961:799::-;8048:6;8056;8064;8113:2;8101:9;8092:7;8088:23;8084:32;8081:2;;;8119:79;774:20612:14;;;8119:79:26;8239:1;8264:53;8309:7;8289:9;8264:53;:::i;:::-;8254:63;;8210:117;8366:2;8392:53;8437:7;8428:6;8417:9;8413:22;8392:53;:::i;8766:654::-;8844:6;8852;8901:2;8889:9;8880:7;8876:23;8872:32;8869:2;;;8907:79;774:20612:14;;;8907:79:26;9027:1;9052:53;9097:7;9077:9;9052:53;:::i;:::-;9042:63;;8998:117;9182:2;9171:9;9167:18;9154:32;9213:18;9205:6;9202:30;9199:2;;;9235:79;774:20612:14;;;9235:79:26;9340:63;9395:7;9386:6;9375:9;9371:22;9340:63;:::i;9426:118::-;9513:24;9531:5;9513:24;:::i;:::-;9508:3;9501:37;9491:53;;:::o;9550:157::-;9655:45;9675:24;9693:5;9675:24;:::i;:::-;9655:45;:::i;9713:109::-;52049:13;;52042:21;9794;52021:48;9828:118;9933:5;9915:24;52120:32;9952:360;10038:3;10066:38;10098:5;50038:12;;50017:40;10066:38;50273:19;;;50325:4;50316:14;;10113:77;;10199:52;10244:6;10239:3;10232:4;10225:5;10221:16;10199:52;:::i;:::-;56217:2;56197:14;56213:7;56193:28;10267:39;;;;;;-1:-1:-1;;10042:270:26:o;10688:377::-;10794:3;10822:39;10855:5;50038:12;;50017:40;10822:39;10975:52;11020:6;11015:3;11008:4;11001:5;10997:16;10975:52;:::i;:::-;11043:16;;;;;10798:267;-1:-1:-1;;10798:267:26:o;11095:845::-;11198:3;11235:5;11229:12;11264:36;11290:9;11264:36;:::i;:::-;11436:1;11421:17;;11447:137;;;;11598:1;11593:341;;;;11414:520;;11447:137;11527:9;11512:25;;11500:38;;11558:16;;;;-1:-1:-1;11447:137:26;;11593:341;49861:4;49897:14;;;49941:4;49928:18;;11720:1;11734:154;11748:6;11745:1;11742:13;11734:154;;;11816:14;;11803:11;;;11796:35;11872:1;11859:15;;;;11770:4;11763:12;11734:154;;;11917:6;11912:3;11908:16;11901:23;;11600:334;;11414:520;;11202:738;;;;;;:::o;11946:366::-;12173:2;50273:19;;12088:3;50325:4;50316:14;;56473:34;56450:58;;56542:20;56537:2;56525:15;;56518:45;12102:74;-1:-1:-1;12185:93:26;-1:-1:-1;12303:2:26;12294:12;;12092:220::o;12318:366::-;12545:2;50273:19;;12460:3;50325:4;50316:14;;56716:34;56693:58;;56785:8;56780:2;56768:15;;56761:33;12474:74;-1:-1:-1;12557:93:26;56682:119;12690:366;12917:2;50273:19;;12832:3;50325:4;50316:14;;56947:34;56924:58;;57016:13;57011:2;56999:15;;56992:38;12846:74;-1:-1:-1;12929:93:26;56913:124;13062:366;13289:2;50273:19;;13204:3;50325:4;50316:14;;57183:34;57160:58;;57252:20;57247:2;57235:15;;57228:45;13218:74;-1:-1:-1;13301:93:26;57149:131;13434:366;13661:2;50273:19;;13576:3;50325:4;50316:14;;57426:34;57403:58;;57495:8;57490:2;57478:15;;57471:33;13590:74;-1:-1:-1;13673:93:26;57392:119;13806:366;14033:2;50273:19;;13948:3;50325:4;50316:14;;57657:30;57634:54;;13962:74;-1:-1:-1;14045:93:26;-1:-1:-1;14163:2:26;14154:12;;13952:220::o;14178:366::-;14405:2;50273:19;;14320:3;50325:4;50316:14;;57841:34;57818:58;;57910:6;57905:2;57893:15;;57886:31;14334:74;-1:-1:-1;14417:93:26;57807:117;14550:366;14777:2;50273:19;;14692:3;50325:4;50316:14;;58070:27;58047:51;;14706:74;-1:-1:-1;14789:93:26;58036:69;14922:366;15149:2;50273:19;;15064:3;50325:4;50316:14;;58251:34;58228:58;;58320:20;58315:2;58303:15;;58296:45;15078:74;-1:-1:-1;15161:93:26;58217:131;15294:366;15521:2;50273:19;;15436:3;50325:4;50316:14;;58494:34;58471:58;;58563:3;58558:2;58546:15;;58539:28;15450:74;-1:-1:-1;15533:93:26;58460:114;15666:366;15893:2;50273:19;;15808:3;50325:4;50316:14;;58720:34;58697:58;;58789:14;58784:2;58772:15;;58765:39;15822:74;-1:-1:-1;15905:93:26;58686:125;16038:366;16265:2;50273:19;;16180:3;50325:4;50316:14;;58957:24;58934:48;;16194:74;-1:-1:-1;16277:93:26;58923:66;16410:366;16637:2;50273:19;;16552:3;50325:4;50316:14;;59135:34;59112:58;;59204:9;59199:2;59187:15;;59180:34;16566:74;-1:-1:-1;16649:93:26;59101:120;16782:366;17009:2;50273:19;;16924:3;50325:4;50316:14;;59367:34;59344:58;;59436:26;59431:2;59419:15;;59412:51;16938:74;-1:-1:-1;17021:93:26;59333:137;17154:366;17381:2;50273:19;;17296:3;50325:4;50316:14;;59616:34;59593:58;;59685:12;59680:2;59668:15;;59661:37;17310:74;-1:-1:-1;17393:93:26;59582:123;17526:366;17753:2;50273:19;;17668:3;50325:4;50316:14;;59851:34;59828:58;;59920:11;59915:2;59903:15;;59896:36;17682:74;-1:-1:-1;17765:93:26;59817:122;17898:366;18125:2;50273:19;;;60085:34;50316:14;;60062:58;;;18040:3;18137:93;60051:76;18270:366;18497:2;50273:19;;18412:3;50325:4;50316:14;;60273:34;60250:58;;60342:20;60337:2;60325:15;;60318:45;18426:74;-1:-1:-1;18509:93:26;60239:131;18642:366;18869:2;50273:19;;18784:3;50325:4;50316:14;;60516:34;60493:58;;60585:14;60580:2;60568:15;;60561:39;18798:74;-1:-1:-1;18881:93:26;60482:125;19014:366;19241:2;50273:19;;19156:3;50325:4;50316:14;;60753:34;60730:58;;60822:16;60817:2;60805:15;;60798:41;19170:74;-1:-1:-1;19253:93:26;60719:127;19386:366;19613:2;50273:19;;19528:3;50325:4;50316:14;;60992:34;60969:58;;61061:28;61056:2;61044:15;;61037:53;19542:74;-1:-1:-1;19625:93:26;60958:139;19758:366;19985:2;50273:19;;;61243:34;50316:14;;61220:58;;;19900:3;19997:93;61209:76;20130:366;20357:2;50273:19;;20272:3;50325:4;50316:14;;61431:34;61408:58;;61500:11;61495:2;61483:15;;61476:36;20286:74;-1:-1:-1;20369:93:26;61397:122;20502:366;20729:2;50273:19;;20644:3;50325:4;50316:14;;61665:34;61642:58;;61734:24;61729:2;61717:15;;61710:49;20658:74;-1:-1:-1;20741:93:26;61631:135;20874:366;21101:2;50273:19;;21016:3;50325:4;50316:14;;61912:34;61889:58;;61981:26;61976:2;61964:15;;61957:51;21030:74;-1:-1:-1;21113:93:26;61878:137;21246:366;21473:2;50273:19;;21388:3;50325:4;50316:14;;62161:34;62138:58;;62230:15;62225:2;62213:15;;62206:40;21402:74;-1:-1:-1;21485:93:26;62127:126;21618:366;21845:2;50273:19;;21760:3;50325:4;50316:14;;62399:34;62376:58;;62468:3;62463:2;62451:15;;62444:28;21774:74;-1:-1:-1;21857:93:26;62365:114;21990:366;22217:2;50273:19;;22132:3;50325:4;50316:14;;62625:34;62602:58;;62694:20;62689:2;62677:15;;62670:45;22146:74;-1:-1:-1;22229:93:26;62591:131;22362:366;22589:2;50273:19;;22504:3;50325:4;50316:14;;62868:34;62845:58;;62937:3;62932:2;62920:15;;62913:28;22518:74;-1:-1:-1;22601:93:26;62834:114;23138:366;23365:2;50273:19;;23280:3;50325:4;50316:14;;63214:34;63191:58;;63283:19;63278:2;63266:15;;63259:44;23294:74;-1:-1:-1;23377:93:26;63180:130;23510:366;23737:2;50273:19;;23652:3;50325:4;50316:14;;63456:31;63433:55;;23666:74;-1:-1:-1;23749:93:26;63422:73;23882:366;24109:2;50273:19;;24024:3;50325:4;50316:14;;63641:34;63618:58;;63710:14;63705:2;63693:15;;63686:39;24038:74;-1:-1:-1;24121:93:26;63607:125;24254:366;24481:2;50273:19;;24396:3;50325:4;50316:14;;63878:34;63855:58;;63947:18;63942:2;63930:15;;63923:43;24410:74;-1:-1:-1;24493:93:26;63844:129;24626:366;24853:2;50273:19;;24768:3;50325:4;50316:14;;64119:34;64096:58;;64188:3;64183:2;64171:15;;64164:28;24782:74;-1:-1:-1;24865:93:26;64085:114;24998:366;25225:2;50273:19;;25140:3;50325:4;50316:14;;64345:27;64322:51;;25154:74;-1:-1:-1;25237:93:26;64311:69;25370:366;25597:2;50273:19;;25512:3;50325:4;50316:14;;64526:33;64503:57;;25526:74;-1:-1:-1;25609:93:26;64492:75;25742:366;25969:2;50273:19;;25884:3;50325:4;50316:14;;64713:34;64690:58;;64782:10;64777:2;64765:15;;64758:35;25898:74;-1:-1:-1;25981:93:26;64679:121;26114:366;26341:2;50273:19;;26256:3;50325:4;50316:14;;64946:34;64923:58;;65015:17;65010:2;64998:15;;64991:42;26270:74;-1:-1:-1;26353:93:26;64912:128;26486:366;26713:2;50273:19;;26628:3;50325:4;50316:14;;65186:27;65163:51;;26642:74;-1:-1:-1;26725:93:26;65152:69;27145:115;52604:10;52593:22;;27230:23;52572:49;27266:112;52702:4;52691:16;;27349:22;52670:43;27384:429;27561:3;27583:92;27671:3;27662:6;27583:92;:::i;:::-;27576:99;;27692:95;27783:3;27774:6;27692:95;:::i;27819:379::-;28003:3;28168;28025:147;22897:235;28204:557;28392:3;28407:75;28478:3;28469:6;28407:75;:::i;:::-;28507:2;28502:3;28498:12;28491:19;;28520:75;28591:3;28582:6;28520:75;:::i;:::-;28620:2;28615:3;28611:12;28604:19;;28640:95;28731:3;28722:6;28640:95;:::i;:::-;28633:102;28396:365;-1:-1:-1;;;;;28396:365:26:o;28767:222::-;28898:2;28883:18;;28911:71;28887:9;28955:6;28911:71;:::i;28995:640::-;29228:3;29213:19;;29242:71;29217:9;29286:6;29242:71;:::i;:::-;29323:72;29391:2;29380:9;29376:18;29367:6;29323:72;:::i;:::-;29405;29473:2;29462:9;29458:18;29449:6;29405:72;:::i;:::-;29524:9;29518:4;29514:20;29509:2;29498:9;29494:18;29487:48;29552:76;29623:4;29614:6;29552:76;:::i;29641:533::-;29848:2;29833:18;;29861:71;29837:9;29905:6;29861:71;:::i;:::-;29942:72;30010:2;29999:9;29995:18;29986:6;29942:72;:::i;:::-;30061:9;30055:4;30051:20;30046:2;30035:9;30031:18;30024:48;30089:78;30162:4;30153:6;30089:78;:::i;30180:210::-;30305:2;30290:18;;30318:65;30294:9;30356:6;30318:65;:::i;30396:222::-;30527:2;30512:18;;30540:71;30516:9;30584:6;30540:71;:::i;30624:545::-;30835:3;30820:19;;30849:71;30824:9;30893:6;30849:71;:::i;:::-;30930:68;30994:2;30983:9;30979:18;30970:6;30930:68;:::i;:::-;31008:72;31076:2;31065:9;31061:18;31052:6;31008:72;:::i;:::-;31090;31158:2;31147:9;31143:18;31134:6;31090:72;:::i;31175:313::-;31326:2;31339:47;;;31311:18;;31403:78;31311:18;31467:6;31403:78;:::i;31494:419::-;31698:2;31711:47;;;31683:18;;31775:131;31683:18;31775:131;:::i;31919:419::-;32123:2;32136:47;;;32108:18;;32200:131;32108:18;32200:131;:::i;32344:419::-;32548:2;32561:47;;;32533:18;;32625:131;32533:18;32625:131;:::i;32769:419::-;32973:2;32986:47;;;32958:18;;33050:131;32958:18;33050:131;:::i;33194:419::-;33398:2;33411:47;;;33383:18;;33475:131;33383:18;33475:131;:::i;33619:419::-;33823:2;33836:47;;;33808:18;;33900:131;33808:18;33900:131;:::i;34044:419::-;34248:2;34261:47;;;34233:18;;34325:131;34233:18;34325:131;:::i;34469:419::-;34673:2;34686:47;;;34658:18;;34750:131;34658:18;34750:131;:::i;34894:419::-;35098:2;35111:47;;;35083:18;;35175:131;35083:18;35175:131;:::i;35319:419::-;35523:2;35536:47;;;35508:18;;35600:131;35508:18;35600:131;:::i;35744:419::-;35948:2;35961:47;;;35933:18;;36025:131;35933:18;36025:131;:::i;36169:419::-;36373:2;36386:47;;;36358:18;;36450:131;36358:18;36450:131;:::i;36594:419::-;36798:2;36811:47;;;36783:18;;36875:131;36783:18;36875:131;:::i;37019:419::-;37223:2;37236:47;;;37208:18;;37300:131;37208:18;37300:131;:::i;37444:419::-;37648:2;37661:47;;;37633:18;;37725:131;37633:18;37725:131;:::i;37869:419::-;38073:2;38086:47;;;38058:18;;38150:131;38058:18;38150:131;:::i;38294:419::-;38498:2;38511:47;;;38483:18;;38575:131;38483:18;38575:131;:::i;38719:419::-;38923:2;38936:47;;;38908:18;;39000:131;38908:18;39000:131;:::i;39144:419::-;39348:2;39361:47;;;39333:18;;39425:131;39333:18;39425:131;:::i;39569:419::-;39773:2;39786:47;;;39758:18;;39850:131;39758:18;39850:131;:::i;39994:419::-;40198:2;40211:47;;;40183:18;;40275:131;40183:18;40275:131;:::i;40419:419::-;40623:2;40636:47;;;40608:18;;40700:131;40608:18;40700:131;:::i;40844:419::-;41048:2;41061:47;;;41033:18;;41125:131;41033:18;41125:131;:::i;41269:419::-;41473:2;41486:47;;;41458:18;;41550:131;41458:18;41550:131;:::i;41694:419::-;41898:2;41911:47;;;41883:18;;41975:131;41883:18;41975:131;:::i;42119:419::-;42323:2;42336:47;;;42308:18;;42400:131;42308:18;42400:131;:::i;42544:419::-;42748:2;42761:47;;;42733:18;;42825:131;42733:18;42825:131;:::i;42969:419::-;43173:2;43186:47;;;43158:18;;43250:131;43158:18;43250:131;:::i;43394:419::-;43598:2;43611:47;;;43583:18;;43675:131;43583:18;43675:131;:::i;43819:419::-;44023:2;44036:47;;;44008:18;;44100:131;44008:18;44100:131;:::i;44244:419::-;44448:2;44461:47;;;44433:18;;44525:131;44433:18;44525:131;:::i;44669:419::-;44873:2;44886:47;;;44858:18;;44950:131;44858:18;44950:131;:::i;45094:419::-;45298:2;45311:47;;;45283:18;;45375:131;45283:18;45375:131;:::i;45519:419::-;45723:2;45736:47;;;45708:18;;45800:131;45708:18;45800:131;:::i;45944:419::-;46148:2;46161:47;;;46133:18;;46225:131;46133:18;46225:131;:::i;46369:419::-;46573:2;46586:47;;;46558:18;;46650:131;46558:18;46650:131;:::i;46794:419::-;46998:2;47011:47;;;46983:18;;47075:131;46983:18;47075:131;:::i;47219:419::-;47423:2;47436:47;;;47408:18;;47500:131;47408:18;47500:131;:::i;47644:419::-;47848:2;47861:47;;;47833:18;;47925:131;47833:18;47925:131;:::i;48297:332::-;48456:2;48441:18;;48469:71;48445:9;48513:6;48469:71;:::i;:::-;48550:72;48618:2;48607:9;48603:18;48594:6;48550:72;:::i;48635:328::-;48792:2;48777:18;;48805:69;48781:9;48847:6;48805:69;:::i;48969:129::-;49003:6;49030:20;49170:2;49164:9;;49144:35;49030:20;49020:30;;49059:33;49087:4;49079:6;49059:33;:::i;:::-;49010:88;;;:::o;49185:307::-;49246:4;49336:18;49328:6;49325:30;49322:2;;;49358:18;;:::i;:::-;56213:7;56217:2;56197:14;;56193:28;49480:4;49470:15;;49251:241;-1:-1:-1;;49251:241:26:o;50824:305::-;50864:3;50999:74;;50993:81;;50990:2;;;51077:18;;:::i;:::-;-1:-1:-1;51114:9:26;;50868:261::o;51135:185::-;51175:1;51265;51255:2;;51270:18;;:::i;:::-;-1:-1:-1;51305:9:26;;51177:143::o;51326:348::-;51366:7;51611:1;51543:66;51539:74;51536:1;51533:81;51528:1;51521:9;51514:17;51510:105;51507:2;;;51618:18;;:::i;:::-;-1:-1:-1;51659:9:26;;51374:300::o;51680:191::-;51720:4;51813:1;51810;51807:8;51804:2;;;51818:18;;:::i;:::-;-1:-1:-1;51856:9:26;;51725:146::o;51877:96::-;51914:7;52390:42;52379:54;;51943:24;52358:81;52719:154;52803:6;52798:3;52793;52780:30;-1:-1:-1;52865:1:26;52847:16;;52840:27;52770:103::o;52879:307::-;52947:1;52957:113;52971:6;52968:1;52965:13;52957:113;;;53047:11;;;53041:18;53028:11;;;53021:39;52993:2;52986:10;52957:113;;;53088:6;53085:1;53082:13;53079:2;;;-1:-1:-1;;53168:1:26;53150:16;;53143:27;52928:258::o;53192:320::-;53273:1;53263:12;;53320:1;53310:12;;;53331:2;;53397:4;53389:6;53385:17;53375:27;;53331:2;53459;53451:6;53448:14;53428:18;53425:38;53422:2;;;53478:18;;:::i;:::-;53243:269;;;;:::o;53518:281::-;56213:7;56217:2;56197:14;;56193:28;53593:6;53589:40;53731:6;53719:10;53716:22;53695:18;53683:10;53680:34;53677:62;53674:2;;;53742:18;;:::i;:::-;53778:2;53771:22;-1:-1:-1;;53561:238:26:o;53805:233::-;53844:3;53913:66;53906:5;53903:77;53900:2;;;53983:18;;:::i;:::-;-1:-1:-1;54030:1:26;54019:13;;53848:190::o;54044:100::-;54083:7;54112:26;54132:5;54189:7;54218:20;54232:5;56310:2;56306:14;;56275:52;54335:176;54367:1;54457;54447:2;;54462:18;;:::i;:::-;-1:-1:-1;54496:9:26;;54369:142::o;54517:180::-;54565:77;54562:1;54555:88;54662:4;54659:1;54652:15;54686:4;54683:1;54676:15;54703:180;54751:77;54748:1;54741:88;54848:4;54845:1;54838:15;54872:4;54869:1;54862:15;54889:180;54937:77;54934:1;54927:88;55034:4;55031:1;55024:15;55058:4;55055:1;55048:15;55075:180;55123:77;55120:1;55113:88;55220:4;55217:1;55210:15;55244:4;55241:1;55234:15;55261:180;55309:77;55306:1;55299:88;55406:4;55403:1;55396:15;55430:4;55427:1;55420:15;55447:180;55495:77;55492:1;55485:88;55592:4;55589:1;55582:15;55616:4;55613:1;55606:15;65227:122;65300:24;65318:5;65300:24;:::i;:::-;65293:5;65290:35;65280:2;;65339:1;65336;65329:12;65355:116;52049:13;;52042:21;65425;52021:48;65477:120;52234:66;52223:78;;65549:23;52202:105;65603:122;65694:5;65676:24;52120:32

Swarm Source

ipfs://640615f8313a5b246f8760641be5eae8a1568a3e256d90a13c86d53eb71a0369
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.