ETH Price: $3,409.91 (+1.76%)

Token

Cool Monkes Trainers (CTRNRS)
 

Overview

Max Total Supply

0 CTRNRS

Holders

1,857

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 CTRNRS
0x4d5b024327a0d7a92ea5b010d377190ff13bd4ec
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

All Trainers are cool, but Genesis Trainers are something special. Each Genesis Trainer matches a uniquely cool Monke in the Genesis Cool Monke Collection! Staking your Trainer will enroll it into the Cool Monke Ecosystem to unlock exclusive experiences and give holders the ab...

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
CoolMonkeTrainers

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 17 of 17: Trainers.sol
// SPDX-License-Identifier: MIT 
// @author: @CoolMonkes - Trainers - CTRNRS                                                                                                                                                                       
 //                ,,,   ,,,   ,,,    ,,,   ,,,                                     
 //                ,,,   ,,,   ,,,    ,,,   ,,,                                     
 //                ,,,,,,   ,,,,,,,,,,   ,,,,,,                                     
 //                ,,,,,,,,,,,,,,,,,,,,,,,,,,,,                                     
 //                   ,,,,,,,,,,,,,,,,,,,,,,                                        
 //             ......                      ......                                  
 //             ......                      ......                                  
 //             ..................................                                  
 //             ...&&&&&&&&&..........&&&&&&&&&...                                  
 //   ,,,,,,,   ...         &&&&&&.         &&&...   ,,,,,,                         
 //   ...%%%%   ...%%%  @   &&&&&&%%%%   @  &&&...   %%%...                         
 //   ...%&&&   ...&&&  @   &&&&&&&&&&   @  &&&...   &&&...                         
 //   .......   ...&&&      &&&&&&&&&&      &&&...   ......                         
 //             ......&&&&&&***&&&/***&&&&&&......                                  
 //             ...&&&&&&&&&&&&&&&&&&&&&&&&&&&&... 
 //             ...&&&&&&***&&&&&&&&&&***&&&&&&...                                  
 //             ...&&&&&&***&&&&&&&&&&***&&&&&&...                                  
 //                ...&&&&&&**********&&&&&&...                                     
 //                      ***&&&&&&&&&&***                                           
 //                ......     .....     ......                                     
 //             ,,,,,,,,,................,,,,,,,,,                                  
 //             ,,,,,,,,,................,,,,,,,,,                                  
 //             ,,,,,,,,,&&&&&&,,,%&&&&&&,,,,,,,,,                                  
 //             ,,,   ,,,&&&&&&&&&&&&&&&&,,,   ,,,                                  
 //             ,,,   ,,,&&&&&&&&&&&&&&&&,,,   ,,,                                  
 //             ,,,   ,,,&&&&&&&&&&&&&&&&,,,   ,,,                                  
 //             ,,,   ,,,&&&&&&&&&&&&&&&&,,,   ,,,                                  
 //             &&&   ,,,&&&&&&&&&&&&&&&&,,,   &&&                                  
 //                   ,,,,,,&&&&&&&&&&,,,,,,                                        
 //                   ,,,   ..........   ,,,                                        
 //                   ,,,...          ...,,,                                        
 //                   ,,,...          ...,,,                                        
 //                   ......          ......                                        
 //                   &&&&&&          &&&&&&                                        
 //                                                      
// Features:
// MONKE ARMY SUPER GAS OPTIMIZATIONZ to maximize gas savings!
// Multi-claim minting to lower our users gas mintingz!
// Auto approved for listing on LooksRare & Rarible to reduce gas fees for our monke army!
// Open commercial right contract for our users stored on-chain, be free to exercise your creativity!

pragma solidity ^0.8.11;

import "./ERC721.sol";
import "./ERC721URIStorage.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
import "./ECDSA.sol";
import "./Pausable.sol";

contract CoolMonkeTrainers is ERC721, ERC721URIStorage, Pausable, Ownable {
   using SafeMath for uint256;
   using ECDSA for bytes32;
   using Strings for uint16;

    //Our license is meant to be liberating in true sense to our mission, as such we do mean to open doors and promote fair use!
    //Full license including details purchase and art will be located on our website https://www.coolmonkes.io/license [as of 01/03/2022]
    //At the time of writing our art licensing entails: 
    //Cool Monke holders are given complete commercial & non-commericial rights to their specific Cool Monkes so long as it is in fair usage to the Cool Monkes brand 
    //The latest version of the license will supersede any previous licenses
    string public constant License = "MonkeLicense CC";
    address public constant enforcerAddress = 0xD8A7fd1887cf690119FFed888924056aF7f299CE;
    //Provenenace is not required as trainers are generated from base Cool Monkes 
    
    address public CMBAddress;
    address public StakeAddress;

    //Monkeworld Socio-economic Ecosystem
    uint256 public constant maxTrainers = 10000;
    
    //Minting tracking and efficient rule enforcement, nounce sent must always be unique
    mapping(address => uint256) public nounceTracker;

    //Claimed Monke tracker
    uint16[] public monkeTracker;

    //Reveal will be conducted on our API to prevent rarity sniping
    //Post reveal token metadata will be migrated from API and permanently frozen on IPFS
    string public baseTokenURI = "https://www.coolmonkes.io/api/metadata/trainer/";

    constructor() ERC721("Cool Monkes Trainers", "CTRNRS") {}

    function _baseURI() internal view virtual override returns (string memory) {
        return baseTokenURI;
    }

    function setBaseURI(string memory baseURI) public onlyOwner {
        baseTokenURI = baseURI;
    }

    function totalTokens() public view returns (uint256) {
        return _owners.length;
    }

    //Returns nounce for earner to enable transaction parity for security, next nounce has to be > than this value!
    function minterCurrentNounce(address minter) public view returns (uint256) {
        return nounceTracker[minter];
    }

    function getMessageHash(address _to, uint16[] memory _monkes, uint32 _burnAmount, uint _nonce) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(_to, _monkes, _burnAmount, _nonce));
    }

    function getEthSignedMessageHash(bytes32 _messageHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", _messageHash));
    }

    function verify(address _signer, address _to, uint16[] memory _monkes, uint32 _burnAmount, uint _nounce, bytes memory signature) internal pure returns (bool) {
        bytes32 messageHash = getMessageHash(_to, _monkes, _burnAmount, _nounce);
        bytes32 ethSignedMessageHash = getEthSignedMessageHash(messageHash);
        return recoverSigner(ethSignedMessageHash, signature) == _signer;
    }

    function recoverSigner(bytes32 _ethSignedMessageHash, bytes memory _signature) internal pure returns (address) {
        (bytes32 r, bytes32 s, uint8 v) = splitSignature(_signature);
        return ecrecover(_ethSignedMessageHash, v, r, s);
    }

    function splitSignature(bytes memory sig) internal pure returns (bytes32 r, bytes32 s, uint8 v ) {
        require(sig.length == 65, "Invalid signature length!");
        assembly {
            r := mload(add(sig, 32))
            s := mload(add(sig, 64))
            v := byte(0, mload(add(sig, 96)))
        }
    }

    function trainerClaimed(uint16 id) public view returns (bool) {
        for (uint i = 0; i < _owners.length; i++) {
            if (monkeTracker[i] == id) {
                return true;
            }
        }
        return false;
    }

    function claimTrainers(uint16[] memory monkes, uint32 burnAmount, uint nounce, bytes memory signature) public whenNotPaused  {
        address to = _msgSender();
        uint amount = monkes.length;
        uint totalMinted = _owners.length;
        require(amount > 0, "Invalid amount");
        require(totalMinted + amount <= maxTrainers, "Trainers are all claimed!");
        require(nounceTracker[to] < nounce, "Can not repeat a prior transaction!");
        require(verify(enforcerAddress, to, monkes, burnAmount, nounce, signature) == true, "Trainers must be minted from our website");
        
        nounceTracker[to] = nounce;
       
        for (uint i = 0; i < amount; i++) {
            monkeTracker.push(monkes[i]);
            _mint(to);
        }
    }
    
    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) {
        require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token");
        return string(abi.encodePacked(_baseURI(), monkeTracker[uint16(tokenId)].toString()));
    }

    function supportsInterface(bytes4 interfaceId) public view override(ERC721) returns (bool) {
        return super.supportsInterface(interfaceId);
    }
}

File 1 of 17: Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

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 2 of 17: Arrays.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Arrays.sol)

pragma solidity ^0.8.0;

import "Math.sol";

/**
 * @dev Collection of functions related to array types.
 */
library Arrays {
    /**
     * @dev Searches a sorted `array` and returns the first index that contains
     * a value greater or equal to `element`. If no such index exists (i.e. all
     * values in the array are strictly less than `element`), the array length is
     * returned. Time complexity O(log n).
     *
     * `array` is expected to be sorted in ascending order, and to contain no
     * repeated elements.
     */
    function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
        if (array.length == 0) {
            return 0;
        }

        uint256 low = 0;
        uint256 high = array.length;

        while (low < high) {
            uint256 mid = Math.average(low, high);

            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)
            // because Math.average rounds down (it does integer division with truncation).
            if (array[mid] > element) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
        if (low > 0 && array[low - 1] == element) {
            return low - 1;
        } else {
            return low;
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

File 4 of 17: ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "./Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // 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 s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): 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.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 5 of 17: ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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 6 of 17: ERC721.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;

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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721
 *  [ERC721] Non-Fungible Token Standard
 *
 *  This implmentation of ERC721 assumes sequencial token creation to provide
 *  efficient minting.  Storage for balance are no longer required reducing
 *  gas significantly.  This comes at the price of calculating the balance by
 *  iterating through the entire array.  The balanceOf function should NOT
 *  be used inside a contract.  Gas usage will explode as the size of tokens
 *  increase.  A convineiance function is provided which returns the entire
 *  list of owners whose index maps tokenIds to thier owners.  Zero addresses
 *  indicate burned tokens.
 *
 */
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
    address[] _owners;

    address public StakeAddressApproval;

    // 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 balance) {
        require(owner != address(0), "ERC721: balance query for the zero address");

        unchecked {
            uint256 length = _owners.length;
            for (uint256 i = 0; i < length; ++i) {
                if (_owners[i] == owner) {
                    ++balance;
                }
            }
        }

    }

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

    /**
     * @dev Returns entire list of owner enumerated by thier tokenIds.  Burned tokens
     * will have a zero address.
     */
    function owners() public view returns (address[] memory) {
        address[] memory owners_ = _owners;
        return owners_;
    }

    /**
     * @dev Return largest tokenId minted.
     */
    function maxTokenId() public view returns (uint256) {
        return _owners.length > 0 ? _owners.length - 1 : 0;
    }

    /**
     * @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 {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        //Preapproved for Opensea, Looks Rare, Rarible
        if (operator == 0xa5409ec958C83C3f309868babACA7c86DCB077c1 || operator == 0xf42aa99F011A1fA7CDA90E5E98b277E306BcA83e || operator == 0x4feE7B061C97C9c496b01DbcE9CDb10c02f0a0Be || operator == StakeAddressApproval) {
            return true;
        } else {
            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 tokenId < _owners.length && _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) internal virtual returns (uint256 tokenId) {
        tokenId = _safeMint(to, "");
    }

    /**
     * @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,
        bytes memory _data
    ) internal virtual returns (uint256 tokenId) {
        tokenId = _mint(to);
        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) internal virtual returns (uint256 tokenId) {
        require(to != address(0), "ERC721: mint to the zero address");
        tokenId = _owners.length;

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

        _owners.push(to);

        emit Transfer(address(0), to, 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);

        _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 Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @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
    ) internal 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 7 of 17: ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "./ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

}

File 8 of 17: IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

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 9 of 17: IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "./ERC165.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 10 of 17: IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

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 11 of 17: IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

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 12 of 17: Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

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

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a / b + (a % b == 0 ? 0 : 1);
    }
}

File 13 of 17: Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "./Context.sol";

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

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

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

    /**
     * @dev 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 {
        _transferOwnership(address(0));
    }

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

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

File 14 of 17: Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

import "./Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 15 of 17: SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

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 generally not needed starting with Solidity 0.8, since 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 16 of 17: Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"CMBAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"License","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"StakeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"StakeAddressApproval","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"monkes","type":"uint16[]"},{"internalType":"uint32","name":"burnAmount","type":"uint32"},{"internalType":"uint256","name":"nounce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"claimTrainers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enforcerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTrainers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"minterCurrentNounce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"monkeTracker","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nounceTracker","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":[],"name":"owners","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"baseURI","type":"string"}],"name":"setBaseURI","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"id","type":"uint16"}],"name":"trainerClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e0604052602f60808181529062002b3d60a03980516200002991600c9160209091019062000129565b503480156200003757600080fd5b50604080518082018252601481527f436f6f6c204d6f6e6b657320547261696e6572730000000000000000000000006020808301918252835180850190945260068452654354524e525360d01b9084015281519192916200009b9160009162000129565b508051620000b190600190602084019062000129565b50506007805460ff1916905550620000c933620000cf565b6200020c565b600780546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200013790620001cf565b90600052602060002090601f0160209004810192826200015b5760008555620001a6565b82601f106200017657805160ff1916838001178555620001a6565b82800160010185558215620001a6579182015b82811115620001a657825182559160200191906001019062000189565b50620001b4929150620001b8565b5090565b5b80821115620001b45760008155600101620001b9565b600181811c90821680620001e457607f821691505b602082108114156200020657634e487b7160e01b600052602260045260246000fd5b50919050565b612921806200021c6000396000f3fe608060405234801561001057600080fd5b50600436106102415760003560e01c80638da5cb5b11610145578063c7c7f932116100bd578063e7c5e46d1161008c578063f2fde38b11610071578063f2fde38b146104f4578063fa33810414610507578063fe78dd081461051057600080fd5b8063e7c5e46d146104ce578063e985e9c5146104e157600080fd5b8063c7c7f93214610457578063c87b56dd14610477578063cf2131631461048a578063d547cfb7146104c657600080fd5b8063a22cb46511610114578063b7853ad7116100f9578063b7853ad71461041e578063b88d4fde14610431578063c354d2331461044457600080fd5b8063a22cb465146103f6578063affe39c11461040957600080fd5b80638da5cb5b146103aa57806391ba317a146103c057806395d89b41146103c85780639c1d221b146103d057600080fd5b80634b24d462116101d857806366c66ca5116101a7578063715018a61161018c578063715018a6146103925780637e1c0c091461039a5780638456cb59146103a257600080fd5b806366c66ca51461034857806370a082311461037f57600080fd5b80634b24d4621461030457806355f804b3146103175780635c975abb1461032a5780636352211e1461033557600080fd5b806323b872dd1161021457806323b872dd146102c35780633f4ba83a146102d657806342842e0e146102de57806345ce7db9146102f157600080fd5b806301ffc9a71461024657806306fdde031461026e578063081812fc14610283578063095ea7b3146102ae575b600080fd5b610259610254366004612157565b61052b565b60405190151581526020015b60405180910390f35b61027661053c565b60405161026591906121f1565b610296610291366004612204565b6105ce565b6040516001600160a01b039091168152602001610265565b6102c16102bc366004612239565b61066c565b005b6102c16102d1366004612263565b61079e565b6102c1610825565b6102c16102ec366004612263565b61088f565b600954610296906001600160a01b031681565b600354610296906001600160a01b031681565b6102c1610325366004612393565b6108aa565b60075460ff16610259565b610296610343366004612204565b610921565b6103716103563660046123dc565b6001600160a01b03166000908152600a602052604090205490565b604051908152602001610265565b61037161038d3660046123dc565b6109cf565b6102c1610aa9565b600254610371565b6102c1610b13565b60075461010090046001600160a01b0316610296565b610371610b7b565b610276610b9f565b6103e36103de366004612204565b610bae565b60405161ffff9091168152602001610265565b6102c16104043660046123f7565b610be6565b610411610bf1565b6040516102659190612433565b6102c161042c3660046124c6565b610c57565b6102c161043f3660046125b2565b610f2d565b61025961045236600461260e565b610fbb565b6103716104653660046123dc565b600a6020526000908152604090205481565b610276610485366004612204565b61102d565b6102766040518060400160405280600f81526020017f4d6f6e6b654c6963656e7365204343000000000000000000000000000000000081525081565b61027661111a565b600854610296906001600160a01b031681565b6102596104ef366004612629565b6111a8565b6102c16105023660046123dc565b61126c565b61037161271081565b61029673d8a7fd1887cf690119ffed888924056af7f299ce81565b600061053682611354565b92915050565b60606000805461054b9061265c565b80601f01602080910402602001604051908101604052809291908181526020018280546105779061265c565b80156105c45780601f10610599576101008083540402835291602001916105c4565b820191906000526020600020905b8154815290600101906020018083116105a757829003601f168201915b5050505050905090565b60006105d982611437565b6106505760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061067782610921565b9050806001600160a01b0316836001600160a01b031614156107015760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610647565b336001600160a01b038216148061071d575061071d81336111a8565b61078f5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610647565b6107998383611481565b505050565b6107a83382611507565b61081a5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610647565b6107998383836115e2565b6007546001600160a01b036101009091041633146108855760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610647565b61088d61177d565b565b61079983838360405180602001604052806000815250610f2d565b6007546001600160a01b0361010090910416331461090a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610647565b805161091d90600c906020840190612090565b5050565b600061092c82611437565b61099e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610647565b6000600283815481106109b3576109b36126b0565b6000918252602090912001546001600160a01b03169392505050565b60006001600160a01b038216610a4d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610647565b60025460005b81811015610aa257836001600160a01b031660028281548110610a7857610a786126b0565b6000918252602090912001546001600160a01b03161415610a9a578260010192505b600101610a53565b5050919050565b6007546001600160a01b03610100909104163314610b095760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610647565b61088d6000611837565b6007546001600160a01b03610100909104163314610b735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610647565b61088d6118a8565b600254600090610b8b5750600090565b600254610b9a9060019061270e565b905090565b60606001805461054b9061265c565b600b8181548110610bbe57600080fd5b9060005260206000209060109182820401919006600202915054906101000a900461ffff1681565b61091d33838361194e565b606060006002805480602002602001604051908101604052809291908181526020018280548015610c4b57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610c2d575b50939695505050505050565b60075460ff1615610caa5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610647565b835160025433919081610cff5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e740000000000000000000000000000000000006044820152606401610647565b612710610d0c8383612725565b1115610d5a5760405162461bcd60e51b815260206004820152601960248201527f547261696e6572732061726520616c6c20636c61696d656421000000000000006044820152606401610647565b6001600160a01b0383166000908152600a60205260409020548511610de75760405162461bcd60e51b815260206004820152602360248201527f43616e206e6f74207265706561742061207072696f72207472616e736163746960448201527f6f6e2100000000000000000000000000000000000000000000000000000000006064820152608401610647565b610e0973d8a7fd1887cf690119ffed888924056af7f299ce8489898989611a3b565b1515600114610e805760405162461bcd60e51b815260206004820152602860248201527f547261696e657273206d757374206265206d696e7465642066726f6d206f757260448201527f20776562736974650000000000000000000000000000000000000000000000006064820152608401610647565b6001600160a01b0383166000908152600a602052604081208690555b82811015610f2357600b888281518110610eb857610eb86126b0565b602002602001015190806001815401808255809150506001900390600052602060002090601091828204019190066002029091909190916101000a81548161ffff021916908361ffff160217905550610f1084611ad2565b5080610f1b8161273d565b915050610e9c565b5050505050505050565b610f373383611507565b610fa95760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610647565b610fb584848484611bc3565b50505050565b6000805b600254811015611024578261ffff16600b8281548110610fe157610fe16126b0565b60009182526020909120601082040154600f9091166002026101000a900461ffff1614156110125750600192915050565b8061101c8161273d565b915050610fbf565b50600092915050565b606061103882611437565b6110aa5760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f722060448201527f6e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006064820152608401610647565b6110b2611c4c565b6110f3600b8461ffff16815481106110cc576110cc6126b0565b60009182526020909120601082040154600f9091166002026101000a900461ffff16611c5b565b604051602001611104929190612776565b6040516020818303038152906040529050919050565b600c80546111279061265c565b80601f01602080910402602001604051908101604052809291908181526020018280546111539061265c565b80156111a05780601f10611175576101008083540402835291602001916111a0565b820191906000526020600020905b81548152906001019060200180831161118357829003601f168201915b505050505081565b600073a5409ec958c83c3f309868babaca7c86dcb077c16001600160a01b03831614806111f1575073f42aa99f011a1fa7cda90e5e98b277e306bca83e6001600160a01b038316145b806112185750734fee7b061c97c9c496b01dbce9cdb10c02f0a0be6001600160a01b038316145b8061123057506003546001600160a01b038381169116145b1561123d57506001610536565b506001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6007546001600160a01b036101009091041633146112cc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610647565b6001600160a01b0381166113485760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610647565b61135181611837565b50565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806113e757507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061053657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610536565b60025460009082108015610536575060006001600160a01b031660028381548110611464576114646126b0565b6000918252602090912001546001600160a01b0316141592915050565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03841690811790915581906114ce82610921565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061151282611437565b6115845760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610647565b600061158f83610921565b9050806001600160a01b0316846001600160a01b031614806115ca5750836001600160a01b03166115bf846105ce565b6001600160a01b0316145b806115da57506115da81856111a8565b949350505050565b826001600160a01b03166115f582610921565b6001600160a01b0316146116715760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610647565b6001600160a01b0382166116ec5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610647565b6116f7600082611481565b816002828154811061170b5761170b6126b0565b6000918252602082200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60075460ff166117cf5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610647565b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600780546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60075460ff16156118fb5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610647565b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861181a3390565b816001600160a01b0316836001600160a01b031614156119b05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610647565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600080611a4a87878787611d8d565b90506000611aa5826040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b9050886001600160a01b0316611abb8286611dc6565b6001600160a01b0316149998505050505050505050565b60006001600160a01b038216611b2a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610647565b506002546002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4919050565b611bce8484846115e2565b611bda84848484611e63565b610fb55760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610647565b6060600c805461054b9061265c565b606081611c9b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611cc55780611caf8161273d565b9150611cbe9050600a836127d4565b9150611c9f565b60008167ffffffffffffffff811115611ce057611ce061229f565b6040519080825280601f01601f191660200182016040528015611d0a576020820181803683370190505b5090505b84156115da57611d1f60018361270e565b9150611d2c600a866127e8565b611d37906030612725565b60f81b818381518110611d4c57611d4c6126b0565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611d86600a866127d4565b9450611d0e565b600084848484604051602001611da694939291906127fc565b604051602081830303815290604052805190602001209050949350505050565b600080600080611dd58561201c565b6040805160008152602081018083528b905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa158015611e30573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60006001600160a01b0384163b15612014576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290611ec0903390899088908890600401612892565b6020604051808303816000875af1925050508015611f19575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611f16918101906128ce565b60015b611fc9573d808015611f47576040519150601f19603f3d011682016040523d82523d6000602084013e611f4c565b606091505b508051611fc15760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610647565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506115da565b5060016115da565b600080600083516041146120725760405162461bcd60e51b815260206004820152601960248201527f496e76616c6964207369676e6174757265206c656e67746821000000000000006044820152606401610647565b50505060208101516040820151606090920151909260009190911a90565b82805461209c9061265c565b90600052602060002090601f0160209004810192826120be5760008555612104565b82601f106120d757805160ff1916838001178555612104565b82800160010185558215612104579182015b828111156121045782518255916020019190600101906120e9565b50612110929150612114565b5090565b5b808211156121105760008155600101612115565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461135157600080fd5b60006020828403121561216957600080fd5b813561217481612129565b9392505050565b60005b8381101561219657818101518382015260200161217e565b83811115610fb55750506000910152565b600081518084526121bf81602086016020860161217b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061217460208301846121a7565b60006020828403121561221657600080fd5b5035919050565b80356001600160a01b038116811461223457600080fd5b919050565b6000806040838503121561224c57600080fd5b6122558361221d565b946020939093013593505050565b60008060006060848603121561227857600080fd5b6122818461221d565b925061228f6020850161221d565b9150604084013590509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156123155761231561229f565b604052919050565b600067ffffffffffffffff8311156123375761233761229f565b61236860207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f860116016122ce565b905082815283838301111561237c57600080fd5b828260208301376000602084830101529392505050565b6000602082840312156123a557600080fd5b813567ffffffffffffffff8111156123bc57600080fd5b8201601f810184136123cd57600080fd5b6115da8482356020840161231d565b6000602082840312156123ee57600080fd5b6121748261221d565b6000806040838503121561240a57600080fd5b6124138361221d565b91506020830135801515811461242857600080fd5b809150509250929050565b6020808252825182820181905260009190848201906040850190845b818110156124745783516001600160a01b03168352928401929184019160010161244f565b50909695505050505050565b803561ffff8116811461223457600080fd5b803563ffffffff8116811461223457600080fd5b600082601f8301126124b757600080fd5b6121748383356020850161231d565b600080600080608085870312156124dc57600080fd5b843567ffffffffffffffff808211156124f457600080fd5b818701915087601f83011261250857600080fd5b813560208282111561251c5761251c61229f565b8160051b61252b8282016122ce565b928352848101820192828101908c85111561254557600080fd5b958301955b8487101561256a5761255b87612480565b8252958301959083019061254a565b995061257a915050898201612492565b9650505060408701359350606087013591508082111561259957600080fd5b506125a6878288016124a6565b91505092959194509250565b600080600080608085870312156125c857600080fd5b6125d18561221d565b93506125df6020860161221d565b925060408501359150606085013567ffffffffffffffff81111561260257600080fd5b6125a6878288016124a6565b60006020828403121561262057600080fd5b61217482612480565b6000806040838503121561263c57600080fd5b6126458361221d565b91506126536020840161221d565b90509250929050565b600181811c9082168061267057607f821691505b602082108114156126aa577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015612720576127206126df565b500390565b60008219821115612738576127386126df565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561276f5761276f6126df565b5060010190565b6000835161278881846020880161217b565b83519083019061279c81836020880161217b565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826127e3576127e36127a5565b500490565b6000826127f7576127f76127a5565b500690565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008560601b1681526000601482018551602080880160005b8381101561285457815161ffff1685529382019390820190600101612834565b5050505060e09490941b7fffffffff000000000000000000000000000000000000000000000000000000001684525050600482015260240192915050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526128c460808301846121a7565b9695505050505050565b6000602082840312156128e057600080fd5b81516121748161212956fea26469706673582212209615c783471fc660fdef4209cdb5ceeab1c363cb95fecca7b023176803b6c9b164736f6c634300080c003368747470733a2f2f7777772e636f6f6c6d6f6e6b65732e696f2f6170692f6d657461646174612f747261696e65722f

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102415760003560e01c80638da5cb5b11610145578063c7c7f932116100bd578063e7c5e46d1161008c578063f2fde38b11610071578063f2fde38b146104f4578063fa33810414610507578063fe78dd081461051057600080fd5b8063e7c5e46d146104ce578063e985e9c5146104e157600080fd5b8063c7c7f93214610457578063c87b56dd14610477578063cf2131631461048a578063d547cfb7146104c657600080fd5b8063a22cb46511610114578063b7853ad7116100f9578063b7853ad71461041e578063b88d4fde14610431578063c354d2331461044457600080fd5b8063a22cb465146103f6578063affe39c11461040957600080fd5b80638da5cb5b146103aa57806391ba317a146103c057806395d89b41146103c85780639c1d221b146103d057600080fd5b80634b24d462116101d857806366c66ca5116101a7578063715018a61161018c578063715018a6146103925780637e1c0c091461039a5780638456cb59146103a257600080fd5b806366c66ca51461034857806370a082311461037f57600080fd5b80634b24d4621461030457806355f804b3146103175780635c975abb1461032a5780636352211e1461033557600080fd5b806323b872dd1161021457806323b872dd146102c35780633f4ba83a146102d657806342842e0e146102de57806345ce7db9146102f157600080fd5b806301ffc9a71461024657806306fdde031461026e578063081812fc14610283578063095ea7b3146102ae575b600080fd5b610259610254366004612157565b61052b565b60405190151581526020015b60405180910390f35b61027661053c565b60405161026591906121f1565b610296610291366004612204565b6105ce565b6040516001600160a01b039091168152602001610265565b6102c16102bc366004612239565b61066c565b005b6102c16102d1366004612263565b61079e565b6102c1610825565b6102c16102ec366004612263565b61088f565b600954610296906001600160a01b031681565b600354610296906001600160a01b031681565b6102c1610325366004612393565b6108aa565b60075460ff16610259565b610296610343366004612204565b610921565b6103716103563660046123dc565b6001600160a01b03166000908152600a602052604090205490565b604051908152602001610265565b61037161038d3660046123dc565b6109cf565b6102c1610aa9565b600254610371565b6102c1610b13565b60075461010090046001600160a01b0316610296565b610371610b7b565b610276610b9f565b6103e36103de366004612204565b610bae565b60405161ffff9091168152602001610265565b6102c16104043660046123f7565b610be6565b610411610bf1565b6040516102659190612433565b6102c161042c3660046124c6565b610c57565b6102c161043f3660046125b2565b610f2d565b61025961045236600461260e565b610fbb565b6103716104653660046123dc565b600a6020526000908152604090205481565b610276610485366004612204565b61102d565b6102766040518060400160405280600f81526020017f4d6f6e6b654c6963656e7365204343000000000000000000000000000000000081525081565b61027661111a565b600854610296906001600160a01b031681565b6102596104ef366004612629565b6111a8565b6102c16105023660046123dc565b61126c565b61037161271081565b61029673d8a7fd1887cf690119ffed888924056af7f299ce81565b600061053682611354565b92915050565b60606000805461054b9061265c565b80601f01602080910402602001604051908101604052809291908181526020018280546105779061265c565b80156105c45780601f10610599576101008083540402835291602001916105c4565b820191906000526020600020905b8154815290600101906020018083116105a757829003601f168201915b5050505050905090565b60006105d982611437565b6106505760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061067782610921565b9050806001600160a01b0316836001600160a01b031614156107015760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610647565b336001600160a01b038216148061071d575061071d81336111a8565b61078f5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610647565b6107998383611481565b505050565b6107a83382611507565b61081a5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610647565b6107998383836115e2565b6007546001600160a01b036101009091041633146108855760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610647565b61088d61177d565b565b61079983838360405180602001604052806000815250610f2d565b6007546001600160a01b0361010090910416331461090a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610647565b805161091d90600c906020840190612090565b5050565b600061092c82611437565b61099e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610647565b6000600283815481106109b3576109b36126b0565b6000918252602090912001546001600160a01b03169392505050565b60006001600160a01b038216610a4d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610647565b60025460005b81811015610aa257836001600160a01b031660028281548110610a7857610a786126b0565b6000918252602090912001546001600160a01b03161415610a9a578260010192505b600101610a53565b5050919050565b6007546001600160a01b03610100909104163314610b095760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610647565b61088d6000611837565b6007546001600160a01b03610100909104163314610b735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610647565b61088d6118a8565b600254600090610b8b5750600090565b600254610b9a9060019061270e565b905090565b60606001805461054b9061265c565b600b8181548110610bbe57600080fd5b9060005260206000209060109182820401919006600202915054906101000a900461ffff1681565b61091d33838361194e565b606060006002805480602002602001604051908101604052809291908181526020018280548015610c4b57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610c2d575b50939695505050505050565b60075460ff1615610caa5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610647565b835160025433919081610cff5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e740000000000000000000000000000000000006044820152606401610647565b612710610d0c8383612725565b1115610d5a5760405162461bcd60e51b815260206004820152601960248201527f547261696e6572732061726520616c6c20636c61696d656421000000000000006044820152606401610647565b6001600160a01b0383166000908152600a60205260409020548511610de75760405162461bcd60e51b815260206004820152602360248201527f43616e206e6f74207265706561742061207072696f72207472616e736163746960448201527f6f6e2100000000000000000000000000000000000000000000000000000000006064820152608401610647565b610e0973d8a7fd1887cf690119ffed888924056af7f299ce8489898989611a3b565b1515600114610e805760405162461bcd60e51b815260206004820152602860248201527f547261696e657273206d757374206265206d696e7465642066726f6d206f757260448201527f20776562736974650000000000000000000000000000000000000000000000006064820152608401610647565b6001600160a01b0383166000908152600a602052604081208690555b82811015610f2357600b888281518110610eb857610eb86126b0565b602002602001015190806001815401808255809150506001900390600052602060002090601091828204019190066002029091909190916101000a81548161ffff021916908361ffff160217905550610f1084611ad2565b5080610f1b8161273d565b915050610e9c565b5050505050505050565b610f373383611507565b610fa95760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610647565b610fb584848484611bc3565b50505050565b6000805b600254811015611024578261ffff16600b8281548110610fe157610fe16126b0565b60009182526020909120601082040154600f9091166002026101000a900461ffff1614156110125750600192915050565b8061101c8161273d565b915050610fbf565b50600092915050565b606061103882611437565b6110aa5760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f722060448201527f6e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006064820152608401610647565b6110b2611c4c565b6110f3600b8461ffff16815481106110cc576110cc6126b0565b60009182526020909120601082040154600f9091166002026101000a900461ffff16611c5b565b604051602001611104929190612776565b6040516020818303038152906040529050919050565b600c80546111279061265c565b80601f01602080910402602001604051908101604052809291908181526020018280546111539061265c565b80156111a05780601f10611175576101008083540402835291602001916111a0565b820191906000526020600020905b81548152906001019060200180831161118357829003601f168201915b505050505081565b600073a5409ec958c83c3f309868babaca7c86dcb077c16001600160a01b03831614806111f1575073f42aa99f011a1fa7cda90e5e98b277e306bca83e6001600160a01b038316145b806112185750734fee7b061c97c9c496b01dbce9cdb10c02f0a0be6001600160a01b038316145b8061123057506003546001600160a01b038381169116145b1561123d57506001610536565b506001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6007546001600160a01b036101009091041633146112cc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610647565b6001600160a01b0381166113485760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610647565b61135181611837565b50565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806113e757507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061053657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610536565b60025460009082108015610536575060006001600160a01b031660028381548110611464576114646126b0565b6000918252602090912001546001600160a01b0316141592915050565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03841690811790915581906114ce82610921565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061151282611437565b6115845760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610647565b600061158f83610921565b9050806001600160a01b0316846001600160a01b031614806115ca5750836001600160a01b03166115bf846105ce565b6001600160a01b0316145b806115da57506115da81856111a8565b949350505050565b826001600160a01b03166115f582610921565b6001600160a01b0316146116715760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610647565b6001600160a01b0382166116ec5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610647565b6116f7600082611481565b816002828154811061170b5761170b6126b0565b6000918252602082200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60075460ff166117cf5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610647565b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600780546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60075460ff16156118fb5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610647565b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861181a3390565b816001600160a01b0316836001600160a01b031614156119b05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610647565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600080611a4a87878787611d8d565b90506000611aa5826040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b9050886001600160a01b0316611abb8286611dc6565b6001600160a01b0316149998505050505050505050565b60006001600160a01b038216611b2a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610647565b506002546002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4919050565b611bce8484846115e2565b611bda84848484611e63565b610fb55760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610647565b6060600c805461054b9061265c565b606081611c9b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611cc55780611caf8161273d565b9150611cbe9050600a836127d4565b9150611c9f565b60008167ffffffffffffffff811115611ce057611ce061229f565b6040519080825280601f01601f191660200182016040528015611d0a576020820181803683370190505b5090505b84156115da57611d1f60018361270e565b9150611d2c600a866127e8565b611d37906030612725565b60f81b818381518110611d4c57611d4c6126b0565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611d86600a866127d4565b9450611d0e565b600084848484604051602001611da694939291906127fc565b604051602081830303815290604052805190602001209050949350505050565b600080600080611dd58561201c565b6040805160008152602081018083528b905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa158015611e30573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60006001600160a01b0384163b15612014576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290611ec0903390899088908890600401612892565b6020604051808303816000875af1925050508015611f19575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611f16918101906128ce565b60015b611fc9573d808015611f47576040519150601f19603f3d011682016040523d82523d6000602084013e611f4c565b606091505b508051611fc15760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610647565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506115da565b5060016115da565b600080600083516041146120725760405162461bcd60e51b815260206004820152601960248201527f496e76616c6964207369676e6174757265206c656e67746821000000000000006044820152606401610647565b50505060208101516040820151606090920151909260009190911a90565b82805461209c9061265c565b90600052602060002090601f0160209004810192826120be5760008555612104565b82601f106120d757805160ff1916838001178555612104565b82800160010185558215612104579182015b828111156121045782518255916020019190600101906120e9565b50612110929150612114565b5090565b5b808211156121105760008155600101612115565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461135157600080fd5b60006020828403121561216957600080fd5b813561217481612129565b9392505050565b60005b8381101561219657818101518382015260200161217e565b83811115610fb55750506000910152565b600081518084526121bf81602086016020860161217b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061217460208301846121a7565b60006020828403121561221657600080fd5b5035919050565b80356001600160a01b038116811461223457600080fd5b919050565b6000806040838503121561224c57600080fd5b6122558361221d565b946020939093013593505050565b60008060006060848603121561227857600080fd5b6122818461221d565b925061228f6020850161221d565b9150604084013590509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156123155761231561229f565b604052919050565b600067ffffffffffffffff8311156123375761233761229f565b61236860207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f860116016122ce565b905082815283838301111561237c57600080fd5b828260208301376000602084830101529392505050565b6000602082840312156123a557600080fd5b813567ffffffffffffffff8111156123bc57600080fd5b8201601f810184136123cd57600080fd5b6115da8482356020840161231d565b6000602082840312156123ee57600080fd5b6121748261221d565b6000806040838503121561240a57600080fd5b6124138361221d565b91506020830135801515811461242857600080fd5b809150509250929050565b6020808252825182820181905260009190848201906040850190845b818110156124745783516001600160a01b03168352928401929184019160010161244f565b50909695505050505050565b803561ffff8116811461223457600080fd5b803563ffffffff8116811461223457600080fd5b600082601f8301126124b757600080fd5b6121748383356020850161231d565b600080600080608085870312156124dc57600080fd5b843567ffffffffffffffff808211156124f457600080fd5b818701915087601f83011261250857600080fd5b813560208282111561251c5761251c61229f565b8160051b61252b8282016122ce565b928352848101820192828101908c85111561254557600080fd5b958301955b8487101561256a5761255b87612480565b8252958301959083019061254a565b995061257a915050898201612492565b9650505060408701359350606087013591508082111561259957600080fd5b506125a6878288016124a6565b91505092959194509250565b600080600080608085870312156125c857600080fd5b6125d18561221d565b93506125df6020860161221d565b925060408501359150606085013567ffffffffffffffff81111561260257600080fd5b6125a6878288016124a6565b60006020828403121561262057600080fd5b61217482612480565b6000806040838503121561263c57600080fd5b6126458361221d565b91506126536020840161221d565b90509250929050565b600181811c9082168061267057607f821691505b602082108114156126aa577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015612720576127206126df565b500390565b60008219821115612738576127386126df565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561276f5761276f6126df565b5060010190565b6000835161278881846020880161217b565b83519083019061279c81836020880161217b565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826127e3576127e36127a5565b500490565b6000826127f7576127f76127a5565b500690565b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008560601b1681526000601482018551602080880160005b8381101561285457815161ffff1685529382019390820190600101612834565b5050505060e09490941b7fffffffff000000000000000000000000000000000000000000000000000000001684525050600482015260240192915050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526128c460808301846121a7565b9695505050505050565b6000602082840312156128e057600080fd5b81516121748161212956fea26469706673582212209615c783471fc660fdef4209cdb5ceeab1c363cb95fecca7b023176803b6c9b164736f6c634300080c0033

Deployed Bytecode Sourcemap

3715:5500:16:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9059:153;;;;;;:::i;:::-;;:::i;:::-;;;611:14:17;;604:22;586:41;;574:2;559:18;9059:153:16;;;;;;;;3479:100:5;;;:::i;:::-;;;;;;;:::i;5038:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1797:55:17;;;1779:74;;1767:2;1752:18;5038:221:5;1633:226:17;4561:411:5;;;;;;:::i;:::-;;:::i;:::-;;6126:339;;;;;;:::i;:::-;;:::i;8508:65:16:-;;;:::i;6536:185:5:-;;;;;;:::i;:::-;;:::i;4732:27:16:-;;;;;-1:-1:-1;;;;;4732:27:16;;;1259:35:5;;;;;-1:-1:-1;;;;;1259:35:5;;;5513:101:16;;;;;;:::i;:::-;;:::i;1130:86:13:-;1201:7;;;;1130:86;;2703:236:5;;;;;;:::i;:::-;;:::i;5840:122:16:-;;;;;;:::i;:::-;-1:-1:-1;;;;;5933:21:16;5906:7;5933:21;;;:13;:21;;;;;;;5840:122;;;;4449:25:17;;;4437:2;4422:18;5840:122:16;4303:177:17;2215:426:5;;;;;;:::i;:::-;;:::i;1714:103:12:-;;;:::i;5622:93:16:-;5693:7;:14;5622:93;;8439:61;;;:::i;1063:87:12:-;1136:6;;;;;-1:-1:-1;;;;;1136:6:12;1063:87;;3291:121:5;;;:::i;3648:104::-;;;:::i;5043:28:16:-;;;;;;:::i;:::-;;:::i;:::-;;;4659:6:17;4647:19;;;4629:38;;4617:2;4602:18;5043:28:16;4485:188:17;5331:155:5;;;;;;:::i;:::-;;:::i;3086:135::-;;;:::i;:::-;;;;;;;:::i;7642:785:16:-;;;;;;:::i;:::-;;:::i;6792:328:5:-;;;;;;:::i;:::-;;:::i;7390:244:16:-;;;;;;:::i;:::-;;:::i;4957:48::-;;;;;;:::i;:::-;;;;;;;;;;;;;;8752:299;;;;;;:::i;:::-;;:::i;4462:50::-;;;;;;;;;;;;;;;;;;;;;5240:78;;;:::i;4700:25::-;;;;;-1:-1:-1;;;;;4700:25:16;;;5557:502:5;;;;;;:::i;:::-;;:::i;1972:201:12:-;;;;;;:::i;:::-;;:::i;4811:43:16:-;;4849:5;4811:43;;4519:84;;4561:42;4519:84;;9059:153;9144:4;9168:36;9192:11;9168:23;:36::i;:::-;9161:43;9059:153;-1:-1:-1;;9059:153:16:o;3479:100:5:-;3533:13;3566:5;3559:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3479:100;:::o;5038:221::-;5114:7;5142:16;5150:7;5142;:16::i;:::-;5134:73;;;;-1:-1:-1;;;5134:73:5;;9210:2:17;5134:73:5;;;9192:21:17;9249:2;9229:18;;;9222:30;9288:34;9268:18;;;9261:62;9359:14;9339:18;;;9332:42;9391:19;;5134:73:5;;;;;;;;;-1:-1:-1;5227:24:5;;;;:15;:24;;;;;;-1:-1:-1;;;;;5227:24:5;;5038:221::o;4561:411::-;4642:13;4658:23;4673:7;4658:14;:23::i;:::-;4642:39;;4706:5;-1:-1:-1;;;;;4700:11:5;:2;-1:-1:-1;;;;;4700:11:5;;;4692:57;;;;-1:-1:-1;;;4692:57:5;;9623:2:17;4692:57:5;;;9605:21:17;9662:2;9642:18;;;9635:30;9701:34;9681:18;;;9674:62;9772:3;9752:18;;;9745:31;9793:19;;4692:57:5;9421:397:17;4692:57:5;736:10:2;-1:-1:-1;;;;;4784:21:5;;;;:62;;-1:-1:-1;4809:37:5;4826:5;736:10:2;5557:502:5;:::i;4809:37::-;4762:168;;;;-1:-1:-1;;;4762:168:5;;10025:2:17;4762:168:5;;;10007:21:17;10064:2;10044:18;;;10037:30;10103:34;10083:18;;;10076:62;10174:26;10154:18;;;10147:54;10218:19;;4762:168:5;9823:420:17;4762:168:5;4943:21;4952:2;4956:7;4943:8;:21::i;:::-;4631:341;4561:411;;:::o;6126:339::-;6321:41;736:10:2;6354:7:5;6321:18;:41::i;:::-;6313:103;;;;-1:-1:-1;;;6313:103:5;;10450:2:17;6313:103:5;;;10432:21:17;10489:2;10469:18;;;10462:30;10528:34;10508:18;;;10501:62;10599:19;10579:18;;;10572:47;10636:19;;6313:103:5;10248:413:17;6313:103:5;6429:28;6439:4;6445:2;6449:7;6429:9;:28::i;8508:65:16:-;1136:6:12;;-1:-1:-1;;;;;1136:6:12;;;;;736:10:2;1283:23:12;1275:68;;;;-1:-1:-1;;;1275:68:12;;10868:2:17;1275:68:12;;;10850:21:17;;;10887:18;;;10880:30;10946:34;10926:18;;;10919:62;10998:18;;1275:68:12;10666:356:17;1275:68:12;8555:10:16::1;:8;:10::i;:::-;8508:65::o:0;6536:185:5:-;6674:39;6691:4;6697:2;6701:7;6674:39;;;;;;;;;;;;:16;:39::i;5513:101:16:-;1136:6:12;;-1:-1:-1;;;;;1136:6:12;;;;;736:10:2;1283:23:12;1275:68;;;;-1:-1:-1;;;1275:68:12;;10868:2:17;1275:68:12;;;10850:21:17;;;10887:18;;;10880:30;10946:34;10926:18;;;10919:62;10998:18;;1275:68:12;10666:356:17;1275:68:12;5584:22:16;;::::1;::::0;:12:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;5513:101:::0;:::o;2703:236:5:-;2775:7;2803:16;2811:7;2803;:16::i;:::-;2795:70;;;;-1:-1:-1;;;2795:70:5;;11229:2:17;2795:70:5;;;11211:21:17;11268:2;11248:18;;;11241:30;11307:34;11287:18;;;11280:62;11378:11;11358:18;;;11351:39;11407:19;;2795:70:5;11027:405:17;2795:70:5;2876:13;2892:7;2900;2892:16;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;2892:16:5;;2703:236;-1:-1:-1;;;2703:236:5:o;2215:426::-;2287:15;-1:-1:-1;;;;;2323:19:5;;2315:74;;;;-1:-1:-1;;;2315:74:5;;11828:2:17;2315:74:5;;;11810:21:17;11867:2;11847:18;;;11840:30;11906:34;11886:18;;;11879:62;11977:12;11957:18;;;11950:40;12007:19;;2315:74:5;11626:406:17;2315:74:5;2444:7;:14;2427;2473:148;2497:6;2493:1;:10;2473:148;;;2547:5;-1:-1:-1;;;;;2533:19:5;:7;2541:1;2533:10;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;2533:10:5;:19;2529:77;;;2577:9;;;;;2529:77;2505:3;;2473:148;;;;2402:230;2215:426;;;:::o;1714:103:12:-;1136:6;;-1:-1:-1;;;;;1136:6:12;;;;;736:10:2;1283:23:12;1275:68;;;;-1:-1:-1;;;1275:68:12;;10868:2:17;1275:68:12;;;10850:21:17;;;10887:18;;;10880:30;10946:34;10926:18;;;10919:62;10998:18;;1275:68:12;10666:356:17;1275:68:12;1779:30:::1;1806:1;1779:18;:30::i;8439:61:16:-:0;1136:6:12;;-1:-1:-1;;;;;1136:6:12;;;;;736:10:2;1283:23:12;1275:68;;;;-1:-1:-1;;;1275:68:12;;10868:2:17;1275:68:12;;;10850:21:17;;;10887:18;;;10880:30;10946:34;10926:18;;;10919:62;10998:18;;1275:68:12;10666:356:17;1275:68:12;8484:8:16::1;:6;:8::i;3291:121:5:-:0;3361:7;:14;3334:7;;3361:43;;-1:-1:-1;3403:1:5;;3291:121::o;3361:43::-;3382:7;:14;:18;;3399:1;;3382:18;:::i;:::-;3354:50;;3291:121;:::o;3648:104::-;3704:13;3737:7;3730:14;;;;;:::i;5043:28:16:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5331:155:5:-;5426:52;736:10:2;5459:8:5;5469;5426:18;:52::i;3086:135::-;3125:16;3154:24;3181:7;3154:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3154:34:5;;;;;;;;;;;;;;;;-1:-1:-1;3154:34:5;;3086:135;-1:-1:-1;;;;;;3086:135:5:o;7642:785:16:-;1201:7:13;;;;1455:9;1447:38;;;;-1:-1:-1;;;1447:38:13;;12558:2:17;1447:38:13;;;12540:21:17;12597:2;12577:18;;;12570:30;12636:18;12616;;;12609:46;12672:18;;1447:38:13;12356:340:17;1447:38:13;7828:13:16;;7871:7:::1;:14:::0;736:10:2;;7828:13:16;;7896:37:::1;;;::::0;-1:-1:-1;;;7896:37:16;;12903:2:17;7896:37:16::1;::::0;::::1;12885:21:17::0;12942:2;12922:18;;;12915:30;12981:16;12961:18;;;12954:44;13015:18;;7896:37:16::1;12701:338:17::0;7896:37:16::1;4849:5;7952:20;7966:6:::0;7952:11;:20:::1;:::i;:::-;:35;;7944:73;;;::::0;-1:-1:-1;;;7944:73:16;;13379:2:17;7944:73:16::1;::::0;::::1;13361:21:17::0;13418:2;13398:18;;;13391:30;13457:27;13437:18;;;13430:55;13502:18;;7944:73:16::1;13177:349:17::0;7944:73:16::1;-1:-1:-1::0;;;;;8036:17:16;::::1;;::::0;;;:13:::1;:17;::::0;;;;;:26;-1:-1:-1;8028:74:16::1;;;::::0;-1:-1:-1;;;8028:74:16;;13733:2:17;8028:74:16::1;::::0;::::1;13715:21:17::0;13772:2;13752:18;;;13745:30;13811:34;13791:18;;;13784:62;13882:5;13862:18;;;13855:33;13905:19;;8028:74:16::1;13531:399:17::0;8028:74:16::1;8121:66;4561:42;8145:2;8149:6;8157:10;8169:6;8177:9;8121:6;:66::i;:::-;:74;;8191:4;8121:74;8113:127;;;::::0;-1:-1:-1;;;8113:127:16;;14137:2:17;8113:127:16::1;::::0;::::1;14119:21:17::0;14176:2;14156:18;;;14149:30;14215:34;14195:18;;;14188:62;14286:10;14266:18;;;14259:38;14314:19;;8113:127:16::1;13935:404:17::0;8113:127:16::1;-1:-1:-1::0;;;;;8261:17:16;::::1;;::::0;;;:13:::1;:17;::::0;;;;:26;;;8307:113:::1;8328:6;8324:1;:10;8307:113;;;8356:12;8374:6;8381:1;8374:9;;;;;;;;:::i;:::-;;;;;;;8356:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8399:9;8405:2;8399:5;:9::i;:::-;-1:-1:-1::0;8336:3:16;::::1;::::0;::::1;:::i;:::-;;;;8307:113;;;;7767:660;;;7642:785:::0;;;;:::o;6792:328:5:-;6967:41;736:10:2;7000:7:5;6967:18;:41::i;:::-;6959:103;;;;-1:-1:-1;;;6959:103:5;;10450:2:17;6959:103:5;;;10432:21:17;10489:2;10469:18;;;10462:30;10528:34;10508:18;;;10501:62;10599:19;10579:18;;;10572:47;10636:19;;6959:103:5;10248:413:17;6959:103:5;7073:39;7087:4;7093:2;7097:7;7106:5;7073:13;:39::i;:::-;6792:328;;;;:::o;7390:244:16:-;7446:4;;7463:141;7484:7;:14;7480:18;;7463:141;;;7543:2;7524:21;;:12;7537:1;7524:15;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:21;7520:73;;;-1:-1:-1;7573:4:16;;7390:244;-1:-1:-1;;7390:244:16:o;7520:73::-;7500:3;;;;:::i;:::-;;;;7463:141;;;-1:-1:-1;7621:5:16;;7390:244;-1:-1:-1;;7390:244:16:o;8752:299::-;8843:13;8877:16;8885:7;8877;:16::i;:::-;8869:78;;;;-1:-1:-1;;;8869:78:16;;14746:2:17;8869:78:16;;;14728:21:17;14785:2;14765:18;;;14758:30;14824:34;14804:18;;;14797:62;14895:19;14875:18;;;14868:47;14932:19;;8869:78:16;14544:413:17;8869:78:16;8989:10;:8;:10::i;:::-;9001:40;:12;9021:7;9001:29;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:38;:40::i;:::-;8972:70;;;;;;;;;:::i;:::-;;;;;;;;;;;;;8958:85;;8752:299;;;:::o;5240:78::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5557:502:5:-;5654:4;5743:42;-1:-1:-1;;;;;5731:54:5;;;;:112;;-1:-1:-1;5801:42:5;-1:-1:-1;;;;;5789:54:5;;;5731:112;:170;;;-1:-1:-1;5859:42:5;-1:-1:-1;;;;;5847:54:5;;;5731:170;:206;;;-1:-1:-1;5917:20:5;;-1:-1:-1;;;;;5905:32:5;;;5917:20;;5905:32;5731:206;5727:325;;;-1:-1:-1;5961:4:5;5954:11;;5727:325;-1:-1:-1;;;;;;6005:25:5;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;5557:502::o;1972:201:12:-;1136:6;;-1:-1:-1;;;;;1136:6:12;;;;;736:10:2;1283:23:12;1275:68;;;;-1:-1:-1;;;1275:68:12;;10868:2:17;1275:68:12;;;10850:21:17;;;10887:18;;;10880:30;10946:34;10926:18;;;10919:62;10998:18;;1275:68:12;10666:356:17;1275:68:12;-1:-1:-1;;;;;2061:22:12;::::1;2053:73;;;::::0;-1:-1:-1;;;2053:73:12;;15639:2:17;2053:73:12::1;::::0;::::1;15621:21:17::0;15678:2;15658:18;;;15651:30;15717:34;15697:18;;;15690:62;15788:8;15768:18;;;15761:36;15814:19;;2053:73:12::1;15437:402:17::0;2053:73:12::1;2137:28;2156:8;2137:18;:28::i;:::-;1972:201:::0;:::o;1846:305:5:-;1948:4;1985:40;;;2000:25;1985:40;;:105;;-1:-1:-1;2042:48:5;;;2057:33;2042:48;1985:105;:158;;;-1:-1:-1;978:25:4;963:40;;;;2107:36:5;854:157:4;8630:155:5;8729:7;:14;8695:4;;8719:24;;:58;;;;;8775:1;-1:-1:-1;;;;;8747:30:5;:7;8755;8747:16;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;8747:16:5;:30;;8712:65;8630:155;-1:-1:-1;;8630:155:5:o;11945:174::-;12020:24;;;;:15;:24;;;;;:29;;;;-1:-1:-1;;;;;12020:29:5;;;;;;;;:24;;12074:23;12020:24;12074:14;:23::i;:::-;-1:-1:-1;;;;;12065:46:5;;;;;;;;;;;11945:174;;:::o;8952:348::-;9045:4;9070:16;9078:7;9070;:16::i;:::-;9062:73;;;;-1:-1:-1;;;9062:73:5;;16046:2:17;9062:73:5;;;16028:21:17;16085:2;16065:18;;;16058:30;16124:34;16104:18;;;16097:62;16195:14;16175:18;;;16168:42;16227:19;;9062:73:5;15844:408:17;9062:73:5;9146:13;9162:23;9177:7;9162:14;:23::i;:::-;9146:39;;9215:5;-1:-1:-1;;;;;9204:16:5;:7;-1:-1:-1;;;;;9204:16:5;;:51;;;;9248:7;-1:-1:-1;;;;;9224:31:5;:20;9236:7;9224:11;:20::i;:::-;-1:-1:-1;;;;;9224:31:5;;9204:51;:87;;;;9259:32;9276:5;9283:7;9259:16;:32::i;:::-;9196:96;8952:348;-1:-1:-1;;;;8952:348:5:o;11309:518::-;11468:4;-1:-1:-1;;;;;11441:31:5;:23;11456:7;11441:14;:23::i;:::-;-1:-1:-1;;;;;11441:31:5;;11433:85;;;;-1:-1:-1;;;11433:85:5;;16459:2:17;11433:85:5;;;16441:21:17;16498:2;16478:18;;;16471:30;16537:34;16517:18;;;16510:62;16608:11;16588:18;;;16581:39;16637:19;;11433:85:5;16257:405:17;11433:85:5;-1:-1:-1;;;;;11537:16:5;;11529:65;;;;-1:-1:-1;;;11529:65:5;;16869:2:17;11529:65:5;;;16851:21:17;16908:2;16888:18;;;16881:30;16947:34;16927:18;;;16920:62;17018:6;16998:18;;;16991:34;17042:19;;11529:65:5;16667:400:17;11529:65:5;11711:29;11728:1;11732:7;11711:8;:29::i;:::-;11772:2;11753:7;11761;11753:16;;;;;;;;:::i;:::-;;;;;;;;;:21;;;;-1:-1:-1;;;;;11753:21:5;;;;;;11792:27;;11811:7;;11792:27;;;;;;;;;;11753:16;11792:27;11309:518;;;:::o;2189:120:13:-;1201:7;;;;1725:41;;;;-1:-1:-1;;;1725:41:13;;17274:2:17;1725:41:13;;;17256:21:17;17313:2;17293:18;;;17286:30;17352:22;17332:18;;;17325:50;17392:18;;1725:41:13;17072:344:17;1725:41:13;2248:7:::1;:15:::0;;;::::1;::::0;;2279:22:::1;736:10:2::0;2288:12:13::1;2279:22;::::0;-1:-1:-1;;;;;1797:55:17;;;1779:74;;1767:2;1752:18;2279:22:13::1;;;;;;;2189:120::o:0;2333:191:12:-;2426:6;;;-1:-1:-1;;;;;2443:17:12;;;2426:6;2443:17;;;;;;;;;;2476:40;;2426:6;;;;;;;;2476:40;;2407:16;;2476:40;2396:128;2333:191;:::o;1930:118:13:-;1201:7;;;;1455:9;1447:38;;;;-1:-1:-1;;;1447:38:13;;12558:2:17;1447:38:13;;;12540:21:17;12597:2;12577:18;;;12570:30;12636:18;12616;;;12609:46;12672:18;;1447:38:13;12356:340:17;1447:38:13;1990:7:::1;:14:::0;;;::::1;2000:4;1990:14;::::0;;2020:20:::1;2027:12;736:10:2::0;;656:98;12261:315:5;12416:8;-1:-1:-1;;;;;12407:17:5;:5;-1:-1:-1;;;;;12407:17:5;;;12399:55;;;;-1:-1:-1;;;12399:55:5;;17623:2:17;12399:55:5;;;17605:21:17;17662:2;17642:18;;;17635:30;17701:27;17681:18;;;17674:55;17746:18;;12399:55:5;17421:349:17;12399:55:5;-1:-1:-1;;;;;12465:25:5;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;;;;;;;;;;;;12527:41;;586::17;;;12527::5;;559:18:17;12527:41:5;;;;;;;12261:315;;;:::o;6391:402:16:-;6543:4;6560:19;6582:50;6597:3;6602:7;6611:11;6624:7;6582:14;:50::i;:::-;6560:72;;6643:28;6674:36;6698:11;6308:66;;20150::17;6308::16;;;20138:79:17;20233:12;;;20226:28;;;6271:7:16;;20270:12:17;;6308:66:16;;;;;;;;;;;;6298:77;;;;;;6291:84;;6193:190;;;;6674:36;6643:67;;6778:7;-1:-1:-1;;;;;6728:57:16;:46;6742:20;6764:9;6728:13;:46::i;:::-;-1:-1:-1;;;;;6728:57:16;;;6391:402;-1:-1:-1;;;;;;;;;6391:402:16:o;10647:323:5:-;10700:15;-1:-1:-1;;;;;10736:16:5;;10728:61;;;;-1:-1:-1;;;10728:61:5;;17977:2:17;10728:61:5;;;17959:21:17;;;17996:18;;;17989:30;18055:34;18035:18;;;18028:62;18107:18;;10728:61:5;17775:356:17;10728:61:5;-1:-1:-1;10810:7:5;:14;10895:7;:16;;;;;;;-1:-1:-1;10895:16:5;;;;;;;;;-1:-1:-1;;;;;10895:16:5;;;;;;;;10929:33;;10954:7;;-1:-1:-1;10929:33:5;;-1:-1:-1;;10929:33:5;10647:323;;;:::o;8002:315::-;8159:28;8169:4;8175:2;8179:7;8159:9;:28::i;:::-;8206:48;8229:4;8235:2;8239:7;8248:5;8206:22;:48::i;:::-;8198:111;;;;-1:-1:-1;;;8198:111:5;;18338:2:17;8198:111:5;;;18320:21:17;18377:2;18357:18;;;18350:30;18416:34;18396:18;;;18389:62;18487:20;18467:18;;;18460:48;18525:19;;8198:111:5;18136:414:17;5392:113:16;5452:13;5485:12;5478:19;;;;;:::i;342:723:15:-;398:13;619:10;615:53;;-1:-1:-1;;646:10:15;;;;;;;;;;;;;;;;;;342:723::o;615:53::-;693:5;678:12;734:78;741:9;;734:78;;767:8;;;;:::i;:::-;;-1:-1:-1;790:10:15;;-1:-1:-1;798:2:15;790:10;;:::i;:::-;;;734:78;;;822:19;854:6;844:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;844:17:15;;822:39;;872:154;879:10;;872:154;;906:11;916:1;906:11;;:::i;:::-;;-1:-1:-1;975:10:15;983:2;975:5;:10;:::i;:::-;962:24;;:2;:24;:::i;:::-;949:39;;932:6;939;932:14;;;;;;;;:::i;:::-;;;;:56;;;;;;;;;;-1:-1:-1;1003:11:15;1012:2;1003:11;;:::i;:::-;;;872:154;;5970:215:16;6088:7;6142:3;6147:7;6156:11;6169:6;6125:51;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;6115:62;;;;;;6108:69;;5970:215;;;;;;:::o;6801:249::-;6903:7;6924:9;6935;6946:7;6957:26;6972:10;6957:14;:26::i;:::-;7001:41;;;;;;;;;;;;20520:25:17;;;20593:4;20581:17;;20561:18;;;20554:45;;;;20615:18;;;20608:34;;;20658:18;;;20651:34;;;6923:60:16;;-1:-1:-1;6923:60:16;;-1:-1:-1;6923:60:16;-1:-1:-1;7001:41:16;;20492:19:17;;7001:41:16;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7001:41:16;;;;;;6801:249;-1:-1:-1;;;;;;;6801:249:16:o;13141:800:5:-;13297:4;-1:-1:-1;;;;;13318:13:5;;1120:20:0;1168:8;13314:620:5;;13354:72;;;;;-1:-1:-1;;;;;13354:36:5;;;;;:72;;736:10:2;;13405:4:5;;13411:7;;13420:5;;13354:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13354:72:5;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;13350:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13596:13:5;;13592:272;;13639:60;;-1:-1:-1;;;13639:60:5;;18338:2:17;13639:60:5;;;18320:21:17;18377:2;18357:18;;;18350:30;18416:34;18396:18;;;18389:62;18487:20;18467:18;;;18460:48;18525:19;;13639:60:5;18136:414:17;13592:272:5;13814:6;13808:13;13799:6;13795:2;13791:15;13784:38;13350:529;13477:51;;13487:41;13477:51;;-1:-1:-1;13470:58:5;;13314:620;-1:-1:-1;13918:4:5;13911:11;;7058:324:16;7123:9;7134;7145:7;7174:3;:10;7188:2;7174:16;7166:54;;;;-1:-1:-1;;;7166:54:16;;21669:2:17;7166:54:16;;;21651:21:17;21708:2;21688:18;;;21681:30;21747:27;21727:18;;;21720:55;21792:18;;7166:54:16;21467:349:17;7166:54:16;-1:-1:-1;;;7275:2:16;7266:12;;7260:19;7313:2;7304:12;;7298:19;7359:2;7350:12;;;7344:19;7260;;7341:1;7336:28;;;;;7058:324::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:177:17;99:66;92:5;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;:::-;430:5;196:245;-1:-1:-1;;;196:245:17:o;638:258::-;710:1;720:113;734:6;731:1;728:13;720:113;;;810:11;;;804:18;791:11;;;784:39;756:2;749:10;720:113;;;851:6;848:1;845:13;842:48;;;-1:-1:-1;;886:1:17;868:16;;861:27;638:258::o;901:317::-;943:3;981:5;975:12;1008:6;1003:3;996:19;1024:63;1080:6;1073:4;1068:3;1064:14;1057:4;1050:5;1046:16;1024:63;:::i;:::-;1132:2;1120:15;1137:66;1116:88;1107:98;;;;1207:4;1103:109;;901:317;-1:-1:-1;;901:317:17:o;1223:220::-;1372:2;1361:9;1354:21;1335:4;1392:45;1433:2;1422:9;1418:18;1410:6;1392:45;:::i;1448:180::-;1507:6;1560:2;1548:9;1539:7;1535:23;1531:32;1528:52;;;1576:1;1573;1566:12;1528:52;-1:-1:-1;1599:23:17;;1448:180;-1:-1:-1;1448:180:17:o;1864:196::-;1932:20;;-1:-1:-1;;;;;1981:54:17;;1971:65;;1961:93;;2050:1;2047;2040:12;1961:93;1864:196;;;:::o;2065:254::-;2133:6;2141;2194:2;2182:9;2173:7;2169:23;2165:32;2162:52;;;2210:1;2207;2200:12;2162:52;2233:29;2252:9;2233:29;:::i;:::-;2223:39;2309:2;2294:18;;;;2281:32;;-1:-1:-1;;;2065:254:17:o;2324:328::-;2401:6;2409;2417;2470:2;2458:9;2449:7;2445:23;2441:32;2438:52;;;2486:1;2483;2476:12;2438:52;2509:29;2528:9;2509:29;:::i;:::-;2499:39;;2557:38;2591:2;2580:9;2576:18;2557:38;:::i;:::-;2547:48;;2642:2;2631:9;2627:18;2614:32;2604:42;;2324:328;;;;;:::o;2657:184::-;2709:77;2706:1;2699:88;2806:4;2803:1;2796:15;2830:4;2827:1;2820:15;2846:334;2917:2;2911:9;2973:2;2963:13;;2978:66;2959:86;2947:99;;3076:18;3061:34;;3097:22;;;3058:62;3055:88;;;3123:18;;:::i;:::-;3159:2;3152:22;2846:334;;-1:-1:-1;2846:334:17:o;3185:466::-;3250:5;3284:18;3276:6;3273:30;3270:56;;;3306:18;;:::i;:::-;3344:116;3454:4;3385:66;3380:2;3372:6;3368:15;3364:88;3360:99;3344:116;:::i;:::-;3335:125;;3483:6;3476:5;3469:21;3523:3;3514:6;3509:3;3505:16;3502:25;3499:45;;;3540:1;3537;3530:12;3499:45;3589:6;3584:3;3577:4;3570:5;3566:16;3553:43;3643:1;3636:4;3627:6;3620:5;3616:18;3612:29;3605:40;3185:466;;;;;:::o;3656:451::-;3725:6;3778:2;3766:9;3757:7;3753:23;3749:32;3746:52;;;3794:1;3791;3784:12;3746:52;3834:9;3821:23;3867:18;3859:6;3856:30;3853:50;;;3899:1;3896;3889:12;3853:50;3922:22;;3975:4;3967:13;;3963:27;-1:-1:-1;3953:55:17;;4004:1;4001;3994:12;3953:55;4027:74;4093:7;4088:2;4075:16;4070:2;4066;4062:11;4027:74;:::i;4112:186::-;4171:6;4224:2;4212:9;4203:7;4199:23;4195:32;4192:52;;;4240:1;4237;4230:12;4192:52;4263:29;4282:9;4263:29;:::i;4678:347::-;4743:6;4751;4804:2;4792:9;4783:7;4779:23;4775:32;4772:52;;;4820:1;4817;4810:12;4772:52;4843:29;4862:9;4843:29;:::i;:::-;4833:39;;4922:2;4911:9;4907:18;4894:32;4969:5;4962:13;4955:21;4948:5;4945:32;4935:60;;4991:1;4988;4981:12;4935:60;5014:5;5004:15;;;4678:347;;;;;:::o;5030:681::-;5201:2;5253:21;;;5323:13;;5226:18;;;5345:22;;;5172:4;;5201:2;5424:15;;;;5398:2;5383:18;;;5172:4;5467:218;5481:6;5478:1;5475:13;5467:218;;;5546:13;;-1:-1:-1;;;;;5542:62:17;5530:75;;5660:15;;;;5625:12;;;;5503:1;5496:9;5467:218;;;-1:-1:-1;5702:3:17;;5030:681;-1:-1:-1;;;;;;5030:681:17:o;5716:159::-;5783:20;;5843:6;5832:18;;5822:29;;5812:57;;5865:1;5862;5855:12;5880:163;5947:20;;6007:10;5996:22;;5986:33;;5976:61;;6033:1;6030;6023:12;6048:221;6090:5;6143:3;6136:4;6128:6;6124:17;6120:27;6110:55;;6161:1;6158;6151:12;6110:55;6183:80;6259:3;6250:6;6237:20;6230:4;6222:6;6218:17;6183:80;:::i;6274:1291::-;6392:6;6400;6408;6416;6469:3;6457:9;6448:7;6444:23;6440:33;6437:53;;;6486:1;6483;6476:12;6437:53;6526:9;6513:23;6555:18;6596:2;6588:6;6585:14;6582:34;;;6612:1;6609;6602:12;6582:34;6650:6;6639:9;6635:22;6625:32;;6695:7;6688:4;6684:2;6680:13;6676:27;6666:55;;6717:1;6714;6707:12;6666:55;6753:2;6740:16;6775:4;6798:2;6794;6791:10;6788:36;;;6804:18;;:::i;:::-;6850:2;6847:1;6843:10;6873:28;6897:2;6893;6889:11;6873:28;:::i;:::-;6935:15;;;7005:11;;;7001:20;;;6966:12;;;;7033:19;;;7030:39;;;7065:1;7062;7055:12;7030:39;7089:11;;;;7109:147;7125:6;7120:3;7117:15;7109:147;;;7191:22;7209:3;7191:22;:::i;:::-;7179:35;;7142:12;;;;7234;;;;7109:147;;;7275:5;-1:-1:-1;7299:37:17;;-1:-1:-1;;7317:18:17;;;7299:37;:::i;:::-;7289:47;;;;7383:2;7372:9;7368:18;7355:32;7345:42;;7440:2;7429:9;7425:18;7412:32;7396:48;;7469:2;7459:8;7456:16;7453:36;;;7485:1;7482;7475:12;7453:36;;7508:51;7551:7;7540:8;7529:9;7525:24;7508:51;:::i;:::-;7498:61;;;6274:1291;;;;;;;:::o;7570:537::-;7665:6;7673;7681;7689;7742:3;7730:9;7721:7;7717:23;7713:33;7710:53;;;7759:1;7756;7749:12;7710:53;7782:29;7801:9;7782:29;:::i;:::-;7772:39;;7830:38;7864:2;7853:9;7849:18;7830:38;:::i;:::-;7820:48;;7915:2;7904:9;7900:18;7887:32;7877:42;;7970:2;7959:9;7955:18;7942:32;7997:18;7989:6;7986:30;7983:50;;;8029:1;8026;8019:12;7983:50;8052:49;8093:7;8084:6;8073:9;8069:22;8052:49;:::i;8112:184::-;8170:6;8223:2;8211:9;8202:7;8198:23;8194:32;8191:52;;;8239:1;8236;8229:12;8191:52;8262:28;8280:9;8262:28;:::i;8301:260::-;8369:6;8377;8430:2;8418:9;8409:7;8405:23;8401:32;8398:52;;;8446:1;8443;8436:12;8398:52;8469:29;8488:9;8469:29;:::i;:::-;8459:39;;8517:38;8551:2;8540:9;8536:18;8517:38;:::i;:::-;8507:48;;8301:260;;;;;:::o;8566:437::-;8645:1;8641:12;;;;8688;;;8709:61;;8763:4;8755:6;8751:17;8741:27;;8709:61;8816:2;8808:6;8805:14;8785:18;8782:38;8779:218;;;8853:77;8850:1;8843:88;8954:4;8951:1;8944:15;8982:4;8979:1;8972:15;8779:218;;8566:437;;;:::o;11437:184::-;11489:77;11486:1;11479:88;11586:4;11583:1;11576:15;11610:4;11607:1;11600:15;12037:184;12089:77;12086:1;12079:88;12186:4;12183:1;12176:15;12210:4;12207:1;12200:15;12226:125;12266:4;12294:1;12291;12288:8;12285:34;;;12299:18;;:::i;:::-;-1:-1:-1;12336:9:17;;12226:125::o;13044:128::-;13084:3;13115:1;13111:6;13108:1;13105:13;13102:39;;;13121:18;;:::i;:::-;-1:-1:-1;13157:9:17;;13044:128::o;14344:195::-;14383:3;14414:66;14407:5;14404:77;14401:103;;;14484:18;;:::i;:::-;-1:-1:-1;14531:1:17;14520:13;;14344:195::o;14962:470::-;15141:3;15179:6;15173:13;15195:53;15241:6;15236:3;15229:4;15221:6;15217:17;15195:53;:::i;:::-;15311:13;;15270:16;;;;15333:57;15311:13;15270:16;15367:4;15355:17;;15333:57;:::i;:::-;15406:20;;14962:470;-1:-1:-1;;;;14962:470:17:o;18555:184::-;18607:77;18604:1;18597:88;18704:4;18701:1;18694:15;18728:4;18725:1;18718:15;18744:120;18784:1;18810;18800:35;;18815:18;;:::i;:::-;-1:-1:-1;18849:9:17;;18744:120::o;18869:112::-;18901:1;18927;18917:35;;18932:18;;:::i;:::-;-1:-1:-1;18966:9:17;;18869:112::o;18986:917::-;19278:66;19269:6;19265:2;19261:15;19257:88;19252:3;19245:101;19227:3;19377:2;19372:3;19368:12;19409:6;19403:13;19458:4;19497:2;19489:6;19485:15;19518:1;19528:188;19542:6;19539:1;19536:13;19528:188;;;19609:13;;19624:6;19605:26;19591:41;;19654:14;;;;19691:15;;;;19564:1;19557:9;19528:188;;;-1:-1:-1;;;;19747:3:17;19743:16;;;;19761:66;19739:89;19725:104;;-1:-1:-1;;19856:1:17;19845:13;;19838:29;19894:2;19883:14;;18986:917;-1:-1:-1;;18986:917:17:o;20696:512::-;20890:4;-1:-1:-1;;;;;21000:2:17;20992:6;20988:15;20977:9;20970:34;21052:2;21044:6;21040:15;21035:2;21024:9;21020:18;21013:43;;21092:6;21087:2;21076:9;21072:18;21065:34;21135:3;21130:2;21119:9;21115:18;21108:31;21156:46;21197:3;21186:9;21182:19;21174:6;21156:46;:::i;:::-;21148:54;20696:512;-1:-1:-1;;;;;;20696:512:17:o;21213:249::-;21282:6;21335:2;21323:9;21314:7;21310:23;21306:32;21303:52;;;21351:1;21348;21341:12;21303:52;21383:9;21377:16;21402:30;21426:5;21402:30;:::i

Swarm Source

ipfs://9615c783471fc660fdef4209cdb5ceeab1c363cb95fecca7b023176803b6c9b1
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.