ETH Price: $3,325.16 (-2.63%)

Token

Cool Monkes Boosts (CMBSTS)
 

Overview

Max Total Supply

0 CMBSTS

Holders

517

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
2 CMBSTS
0xd66d1c8fc04e6f25b54f41b3b9ada42b62c50818
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Boosts for your monkes!

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BoostPasses

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 3 of 17: BoostPasses.sol
// SPDX-License-Identifier: MIT 
// @author: @CoolMonkes - Boosts - CMBSTS                                                             
//               (/@@&#%&@@@@((((@@@@@@@,&@@@&%&@                           
//               &@@&(((((((((((((((((((((@@%(((#%&((((@@                          
//                @@((((((((((((((((@@@@@&(((#@@   @@((%@,                         
//              @@#(((((((((((((&@@,      /@@%((@@@@((@@,                          
//             @@((((((((((((%@@,            @@((#@@@@                             
//            @@(((((&@@@@@@/      @@##@*     @@(((*           /@@               
//           (@#((@@&             @@          @@(((@@@@&  .@@@@@###@@@            
//       @@@@@@((@@     @@@@.                (@#(@@%((((&@@&@@@#######@@@         
//    @@%(((&@@((@@   /@        @   *@@@    &@##@&((((((%@@...@@@@#######@@&      
//   @@((@@, #@#(&@.           %@@@@%/&(  #@@@@@@(((&@@(.........@@@%#######@@@   
//   @@((#@@@@@@((#@@         @@@@@@@ .@@@@@/....,/.........,@%....#@@@########@@*
//    %@@&#((%@@@((((@@@*        ,@@@@@/.............@@@/./@&@@@@.....@@@@#######%@
//               (@@((#@&@@@@@@@@@/..............@@..@@@@@@#.@@..%.......@@@######@
//                 @@@((((#@@*.............@,.(@...&@,.....&@..............%@@@@@@@
//                @@((((%@@@@............@@./@@@@@*...@&...............#@@@@@@@####
//           *@@@@@(((&@@............%@@@/.@@.,@&...@%............*@@@@@..../@@##&@
//      (@@@@&......*.......,...,@,.@@.@@..@@@/...............@@@@@*........&@@@   
// @@@@@@###@@&@............@&@@..@@..@(.&@..............&@@@@%.........@@@        
// @@##########@@@&.....@@&@@@@.&@#.,&#............./@@@@@........,@@@@            
// @@#@@@&########@@@&....&@%......@............@@@@@,.......@@@@@@                
//   ###%@@@%########@@@#....@@............&@@@@#........#@@@*                     
//   ######&@@@&#######%@@@/..........(@&@@&........,@@@@                          
//   #########%@@@&#######&@@@...,@@@@@.........@@@@/                              
//      ##########@@@@#######@@@@@#........%@@@                                    
//         ##########@@@##@@@@#@@......@@@                                         
//            ########@@#######@@.&@@/                                             
//               ####&@@#####&@@                                                   
//                 &@@@@@@@@                                                       
                                 
// Features:
// MONKE ARMY SUPER GAS OPTIMIZATIONZ to maximize gas savings!
// Secure permit list minting to allow our users gas war free presale 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!
// Auto approved to staking wallet to save gas
// Can mint & stake to save additional gas

pragma solidity ^0.8.11;

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

interface ICoolMonkeBanana {
    function burnWithTax(address from, uint256 amount) external;
}

interface IMonkestake {
    function stake(address account, uint16[] calldata monkeTokenIds,  uint16[] calldata boostTokenIds, uint amount, uint nounce, bytes memory signature) external;
}

contract BoostPasses is ERC721, ERC721URIStorage, Pausable, Ownable {
   using SafeMath for uint256;
   using ECDSA for bytes32;

    //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/01/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";
    bytes public constant Provenance = "0x098d535091e9aa309e834fa6865bd00b2eef26dcd19184e6598a07bf99f1a91a";
    address public constant enforcerAddress = 0xD8A7fd1887cf690119FFed888924056aF7f299CE;
    
    address public CMBAddress;
    address public StakeAddress;

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

    //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/boost/";

    constructor() ERC721("Cool Monkes Boosts", "CMBSTS") {}

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

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

    function setStakeAddress(address contractAddress) public onlyOwner {
        StakeAddress = contractAddress;
        ERC721.StakeAddressApproval = contractAddress;
    }

    function setCMBAddress(address contractAddress) public onlyOwner {
        CMBAddress = contractAddress;
    }

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

    function multiMint(uint amount, address to) private {
        require(amount > 0, "Invalid amount");
        require(_checkOnERC721Received(address(0), to, _mint(to), ''), "ERC721: transfer to non ERC721Receiver implementer"); //Safe mint 1st and regular mint rest to save gas! 
        for (uint i = 1; i < amount; i++) {
            _mint(to);
        }
    }

    //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, uint _amount, uint _price, uint _nonce) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(_to, _amount, _price, _nonce));
    }

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

    function verify(address _signer, address _to, uint _amount, uint _price, uint _nounce, bytes memory signature) internal pure returns (bool) {
        bytes32 messageHash = getMessageHash(_to, _amount, _price, _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 mint(uint amount, uint price, uint nounce, bytes memory signature, bool stake) public whenNotPaused  {
        require(_owners.length + amount <= maxBoosts, "Boosts are sold out!");
        require(nounceTracker[_msgSender()] < nounce, "Can not repeat a prior transaction!");
        require(verify(enforcerAddress, _msgSender(), amount, price, nounce, signature) == true, "Boosts must be minted from our website");
        
        //Will fail if proper amount isn't burnt!
        if (price > 0) {
            ICoolMonkeBanana(CMBAddress).burnWithTax(_msgSender(), price);  
        }

        nounceTracker[_msgSender()] = nounce;
       
        //Stake in same txn to save gas!
        if (stake) {
            multiMint(amount, StakeAddress);
            uint16[] memory monkes;
            uint16[] memory boosts =  new uint16[](amount);
            
            for (uint i = 0; i < amount; i++) {
                boosts[uint16(i)] = uint16(_owners.length - amount + i);
            }

            IMonkestake(StakeAddress).stake(_msgSender(), monkes, boosts, 0, 0, '');
        } else {
            multiMint(amount, _msgSender());
        }
    }
    
    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) {
        return super.tokenURI(tokenId);
    }

    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 4 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 5 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 6 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 7 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 8 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 9 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 10 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 11 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 12 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 13 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 14 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 15 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 16 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 17 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":"Provenance","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"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":[],"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":"maxBoosts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"nounce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"bool","name":"stake","type":"bool"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"minterCurrentNounce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"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":"address","name":"contractAddress","type":"address"}],"name":"setCMBAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"setStakeAddress","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":"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"}]

60e0604052602d60808181529062002ea560a03980516200002991600b916020909101906200011e565b503480156200003757600080fd5b506040805180820182526012815271436f6f6c204d6f6e6b657320426f6f73747360701b602080830191825283518085019094526006845265434d4253545360d01b90840152815191929162000090916000916200011e565b508051620000a69060019060208401906200011e565b50506007805460ff1916905550620000be33620000c4565b62000201565b600780546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012c90620001c4565b90600052602060002090601f0160209004810192826200015057600085556200019b565b82601f106200016b57805160ff19168380011785556200019b565b828001600101855582156200019b579182015b828111156200019b5782518255916020019190600101906200017e565b50620001a9929150620001ad565b5090565b5b80821115620001a95760008155600101620001ae565b600181811c90821680620001d957607f821691505b60208210811415620001fb57634e487b7160e01b600052602260045260246000fd5b50919050565b612c9480620002116000396000f3fe608060405234801561001057600080fd5b506004361061025c5760003560e01c80638456cb5911610145578063c87b56dd116100bd578063e985e9c51161008c578063f2fde38b11610071578063f2fde38b14610505578063fe78dd0814610518578063ff39e7071461053357600080fd5b8063e985e9c5146104df578063f10af581146104f257600080fd5b8063c87b56dd14610475578063cf21316314610488578063d547cfb7146104c4578063e7c5e46d146104cc57600080fd5b80639c87715211610114578063affe39c1116100f9578063affe39c11461042d578063b88d4fde14610442578063c7c7f9321461045557600080fd5b80639c87715214610407578063a22cb4651461041a57600080fd5b80638456cb59146103d95780638da5cb5b146103e157806391ba317a146103f757806395d89b41146103ff57600080fd5b80634b24d462116101d857806366c66ca5116101a7578063715018a61161018c578063715018a6146103c05780637624cbf5146103c85780637e1c0c09146103d157600080fd5b806366c66ca51461037657806370a08231146103ad57600080fd5b80634b24d4621461033257806355f804b3146103455780635c975abb146103585780636352211e1461036357600080fd5b806323471d181161022f5780633f4ba83a116102145780633f4ba83a1461030457806342842e0e1461030c57806345ce7db91461031f57600080fd5b806323471d18146102de57806323b872dd146102f157600080fd5b806301ffc9a71461026157806306fdde0314610289578063081812fc1461029e578063095ea7b3146102c9575b600080fd5b61027461026f366004612572565b61053b565b60405190151581526020015b60405180910390f35b61029161054c565b6040516102809190612605565b6102b16102ac366004612618565b6105de565b6040516001600160a01b039091168152602001610280565b6102dc6102d736600461264d565b61067c565b005b6102dc6102ec366004612677565b6107ae565b6102dc6102ff366004612692565b610852565b6102dc6108d9565b6102dc61031a366004612692565b610943565b6009546102b1906001600160a01b031681565b6003546102b1906001600160a01b031681565b6102dc610353366004612791565b61095e565b60075460ff16610274565b6102b1610371366004612618565b6109d5565b61039f610384366004612677565b6001600160a01b03166000908152600a602052604090205490565b604051908152602001610280565b61039f6103bb366004612677565b610a83565b6102dc610b5d565b61039f61271081565b60025461039f565b6102dc610bc7565b60075461010090046001600160a01b03166102b1565b61039f610c2f565b610291610c53565b6102dc61041536600461280a565b610c62565b6102dc610428366004612875565b61101d565b610435611028565b60405161028091906128a8565b6102dc6104503660046128f5565b61108e565b61039f610463366004612677565b600a6020526000908152604090205481565b610291610483366004612618565b61111c565b6102916040518060400160405280600f81526020017f4d6f6e6b654c6963656e7365204343000000000000000000000000000000000081525081565b610291611127565b6008546102b1906001600160a01b031681565b6102746104ed36600461295d565b6111b5565b6102dc610500366004612677565b611279565b6102dc610513366004612677565b611313565b6102b173d8a7fd1887cf690119ffed888924056af7f299ce81565b6102916113fb565b600061054682611417565b92915050565b60606000805461055b90612987565b80601f016020809104026020016040519081016040528092919081815260200182805461058790612987565b80156105d45780601f106105a9576101008083540402835291602001916105d4565b820191906000526020600020905b8154815290600101906020018083116105b757829003601f168201915b5050505050905090565b60006105e9826114fa565b6106605760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610687826109d5565b9050806001600160a01b0316836001600160a01b031614156107115760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610657565b336001600160a01b038216148061072d575061072d81336111b5565b61079f5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610657565b6107a98383611544565b505050565b6007546001600160a01b0361010090910416331461080e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610657565b600980546001600160a01b039092167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316811790915560038054909216179055565b61085c33826115ca565b6108ce5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610657565b6107a98383836116a5565b6007546001600160a01b036101009091041633146109395760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610657565b610941611840565b565b6107a98383836040518060200160405280600081525061108e565b6007546001600160a01b036101009091041633146109be5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610657565b80516109d190600b9060208401906124ab565b5050565b60006109e0826114fa565b610a525760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610657565b600060028381548110610a6757610a676129db565b6000918252602090912001546001600160a01b03169392505050565b60006001600160a01b038216610b015760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610657565b60025460005b81811015610b5657836001600160a01b031660028281548110610b2c57610b2c6129db565b6000918252602090912001546001600160a01b03161415610b4e578260010192505b600101610b07565b5050919050565b6007546001600160a01b03610100909104163314610bbd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610657565b61094160006118fa565b6007546001600160a01b03610100909104163314610c275760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610657565b61094161196b565b600254600090610c3f5750600090565b600254610c4e90600190612a39565b905090565b60606001805461055b90612987565b60075460ff1615610cb55760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610657565b60025461271090610cc7908790612a50565b1115610d155760405162461bcd60e51b815260206004820152601460248201527f426f6f7374732061726520736f6c64206f7574210000000000000000000000006044820152606401610657565b336000908152600a60205260409020548311610d995760405162461bcd60e51b815260206004820152602360248201527f43616e206e6f74207265706561742061207072696f72207472616e736163746960448201527f6f6e2100000000000000000000000000000000000000000000000000000000006064820152608401610657565b610dbb73d8a7fd1887cf690119ffed888924056af7f299ce3387878787611a11565b1515600114610e325760405162461bcd60e51b815260206004820152602660248201527f426f6f737473206d757374206265206d696e7465642066726f6d206f7572207760448201527f65627369746500000000000000000000000000000000000000000000000000006064820152608401610657565b8315610ec3576008546001600160a01b031663c5252fdc336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b03909116600482015260248101879052604401600060405180830381600087803b158015610eaa57600080fd5b505af1158015610ebe573d6000803e3d6000fd5b505050505b336000908152600a60205260409020839055801561100c57600954610ef29086906001600160a01b0316611ae5565b606060008667ffffffffffffffff811115610f0f57610f0f6126ce565b604051908082528060200260200182016040528015610f38578160200160208202803683370190505b50905060005b87811015610f9b576002548190610f56908a90612a39565b610f609190612a50565b828261ffff1681518110610f7657610f766129db565b61ffff9092166020928302919091019091015280610f9381612a68565b915050610f3e565b506009546001600160a01b031663a73c51453384846000806040518663ffffffff1660e01b8152600401610fd3959493929190612ae0565b600060405180830381600087803b158015610fed57600080fd5b505af1158015611001573d6000803e3d6000fd5b505050505050611016565b6110168533611ae5565b5050505050565b6109d1338383611bf2565b60606000600280548060200260200160405190810160405280929190818152602001828054801561108257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611064575b50939695505050505050565b61109833836115ca565b61110a5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610657565b61111684848484611cdf565b50505050565b606061054682611d68565b600b805461113490612987565b80601f016020809104026020016040519081016040528092919081815260200182805461116090612987565b80156111ad5780601f10611182576101008083540402835291602001916111ad565b820191906000526020600020905b81548152906001019060200180831161119057829003601f168201915b505050505081565b600073a5409ec958c83c3f309868babaca7c86dcb077c16001600160a01b03831614806111fe575073f42aa99f011a1fa7cda90e5e98b277e306bca83e6001600160a01b038316145b806112255750734fee7b061c97c9c496b01dbce9cdb10c02f0a0be6001600160a01b038316145b8061123d57506003546001600160a01b038381169116145b1561124a57506001610546565b506001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6007546001600160a01b036101009091041633146112d95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610657565b600880547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6007546001600160a01b036101009091041633146113735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610657565b6001600160a01b0381166113ef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610657565b6113f8816118fa565b50565b604051806080016040528060428152602001612c1d6042913981565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806114aa57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061054657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610546565b60025460009082108015610546575060006001600160a01b031660028381548110611527576115276129db565b6000918252602090912001546001600160a01b0316141592915050565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0384169081179091558190611591826109d5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006115d5826114fa565b6116475760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610657565b6000611652836109d5565b9050806001600160a01b0316846001600160a01b0316148061168d5750836001600160a01b0316611682846105de565b6001600160a01b0316145b8061169d575061169d81856111b5565b949350505050565b826001600160a01b03166116b8826109d5565b6001600160a01b0316146117345760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610657565b6001600160a01b0382166117af5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610657565b6117ba600082611544565b81600282815481106117ce576117ce6129db565b6000918252602082200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60075460ff166118925760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610657565b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600780546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60075460ff16156119be5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610657565b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118dd3390565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606088901b1660208083019190915260348201879052605482018690526074808301869052835180840390910181526094830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000060b484015260d08084018290528451808503909101815260f0909301909352815191012060009190886001600160a01b0316611ace8286611ed6565b6001600160a01b0316149998505050505050505050565b60008211611b355760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e740000000000000000000000000000000000006044820152606401610657565b611b59600082611b4484611f73565b60405180602001604052806000815250612064565b611bcb5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610657565b60015b828110156107a957611bdf82611f73565b5080611bea81612a68565b915050611bce565b816001600160a01b0316836001600160a01b03161415611c545760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610657565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611cea8484846116a5565b611cf684848484612064565b6111165760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610657565b6060611d73826114fa565b611de55760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f722060448201527f6e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006064820152608401610657565b60008281526006602052604081208054611dfe90612987565b80601f0160208091040260200160405190810160405280929190818152602001828054611e2a90612987565b8015611e775780601f10611e4c57610100808354040283529160200191611e77565b820191906000526020600020905b815481529060010190602001808311611e5a57829003601f168201915b505050505090506000611e8861221d565b9050805160001415611e9b575092915050565b815115611ecd578082604051602001611eb5929190612b3d565b60405160208183030381529060405292505050919050565b61169d8461222c565b600080600080611ee585612305565b6040805160008152602081018083528b905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa158015611f40573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60006001600160a01b038216611fcb5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610657565b506002546002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4919050565b60006001600160a01b0384163b15612215576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a02906120c1903390899088908890600401612b6c565b6020604051808303816000875af192505050801561211a575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261211791810190612ba8565b60015b6121ca573d808015612148576040519150601f19603f3d011682016040523d82523d6000602084013e61214d565b606091505b5080516121c25760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610657565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014905061169d565b50600161169d565b6060600b805461055b90612987565b6060612237826114fa565b6122a95760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610657565b60006122b361221d565b905060008151116122d357604051806020016040528060008152506122fe565b806122dd84612379565b6040516020016122ee929190612b3d565b6040516020818303038152906040525b9392505050565b6000806000835160411461235b5760405162461bcd60e51b815260206004820152601960248201527f496e76616c6964207369676e6174757265206c656e67746821000000000000006044820152606401610657565b50505060208101516040820151606090920151909260009190911a90565b6060816123b957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156123e357806123cd81612a68565b91506123dc9050600a83612bf4565b91506123bd565b60008167ffffffffffffffff8111156123fe576123fe6126ce565b6040519080825280601f01601f191660200182016040528015612428576020820181803683370190505b5090505b841561169d5761243d600183612a39565b915061244a600a86612c08565b612455906030612a50565b60f81b81838151811061246a5761246a6129db565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506124a4600a86612bf4565b945061242c565b8280546124b790612987565b90600052602060002090601f0160209004810192826124d9576000855561251f565b82601f106124f257805160ff191683800117855561251f565b8280016001018555821561251f579182015b8281111561251f578251825591602001919060010190612504565b5061252b92915061252f565b5090565b5b8082111561252b5760008155600101612530565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146113f857600080fd5b60006020828403121561258457600080fd5b81356122fe81612544565b60005b838110156125aa578181015183820152602001612592565b838111156111165750506000910152565b600081518084526125d381602086016020860161258f565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006122fe60208301846125bb565b60006020828403121561262a57600080fd5b5035919050565b80356001600160a01b038116811461264857600080fd5b919050565b6000806040838503121561266057600080fd5b61266983612631565b946020939093013593505050565b60006020828403121561268957600080fd5b6122fe82612631565b6000806000606084860312156126a757600080fd5b6126b084612631565b92506126be60208501612631565b9150604084013590509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115612718576127186126ce565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561275e5761275e6126ce565b8160405280935085815286868601111561277757600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156127a357600080fd5b813567ffffffffffffffff8111156127ba57600080fd5b8201601f810184136127cb57600080fd5b61169d848235602084016126fd565b600082601f8301126127eb57600080fd5b6122fe838335602085016126fd565b8035801515811461264857600080fd5b600080600080600060a0868803121561282257600080fd5b853594506020860135935060408601359250606086013567ffffffffffffffff81111561284e57600080fd5b61285a888289016127da565b925050612869608087016127fa565b90509295509295909350565b6000806040838503121561288857600080fd5b61289183612631565b915061289f602084016127fa565b90509250929050565b6020808252825182820181905260009190848201906040850190845b818110156128e95783516001600160a01b0316835292840192918401916001016128c4565b50909695505050505050565b6000806000806080858703121561290b57600080fd5b61291485612631565b935061292260208601612631565b925060408501359150606085013567ffffffffffffffff81111561294557600080fd5b612951878288016127da565b91505092959194509250565b6000806040838503121561297057600080fd5b61297983612631565b915061289f60208401612631565b600181811c9082168061299b57607f821691505b602082108114156129d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015612a4b57612a4b612a0a565b500390565b60008219821115612a6357612a63612a0a565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612a9a57612a9a612a0a565b5060010190565b600081518084526020808501945080840160005b83811015612ad557815161ffff1687529582019590820190600101612ab5565b509495945050505050565b6001600160a01b038616815260c060208201526000612b0260c0830187612aa1565b8281036040840152612b148187612aa1565b60608401959095525050608081019190915280820360a090910152600081526020019392505050565b60008351612b4f81846020880161258f565b835190830190612b6381836020880161258f565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612b9e60808301846125bb565b9695505050505050565b600060208284031215612bba57600080fd5b81516122fe81612544565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612c0357612c03612bc5565b500490565b600082612c1757612c17612bc5565b50069056fe307830393864353335303931653961613330396538333466613638363562643030623265656632366463643139313834653635393861303762663939663161393161a2646970667358221220d4e17cd12c809d2fb849685d99d8ec0c763643519991f7889ebc64eff42d150164736f6c634300080b003368747470733a2f2f7777772e636f6f6c6d6f6e6b65732e696f2f6170692f6d657461646174612f626f6f73742f

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061025c5760003560e01c80638456cb5911610145578063c87b56dd116100bd578063e985e9c51161008c578063f2fde38b11610071578063f2fde38b14610505578063fe78dd0814610518578063ff39e7071461053357600080fd5b8063e985e9c5146104df578063f10af581146104f257600080fd5b8063c87b56dd14610475578063cf21316314610488578063d547cfb7146104c4578063e7c5e46d146104cc57600080fd5b80639c87715211610114578063affe39c1116100f9578063affe39c11461042d578063b88d4fde14610442578063c7c7f9321461045557600080fd5b80639c87715214610407578063a22cb4651461041a57600080fd5b80638456cb59146103d95780638da5cb5b146103e157806391ba317a146103f757806395d89b41146103ff57600080fd5b80634b24d462116101d857806366c66ca5116101a7578063715018a61161018c578063715018a6146103c05780637624cbf5146103c85780637e1c0c09146103d157600080fd5b806366c66ca51461037657806370a08231146103ad57600080fd5b80634b24d4621461033257806355f804b3146103455780635c975abb146103585780636352211e1461036357600080fd5b806323471d181161022f5780633f4ba83a116102145780633f4ba83a1461030457806342842e0e1461030c57806345ce7db91461031f57600080fd5b806323471d18146102de57806323b872dd146102f157600080fd5b806301ffc9a71461026157806306fdde0314610289578063081812fc1461029e578063095ea7b3146102c9575b600080fd5b61027461026f366004612572565b61053b565b60405190151581526020015b60405180910390f35b61029161054c565b6040516102809190612605565b6102b16102ac366004612618565b6105de565b6040516001600160a01b039091168152602001610280565b6102dc6102d736600461264d565b61067c565b005b6102dc6102ec366004612677565b6107ae565b6102dc6102ff366004612692565b610852565b6102dc6108d9565b6102dc61031a366004612692565b610943565b6009546102b1906001600160a01b031681565b6003546102b1906001600160a01b031681565b6102dc610353366004612791565b61095e565b60075460ff16610274565b6102b1610371366004612618565b6109d5565b61039f610384366004612677565b6001600160a01b03166000908152600a602052604090205490565b604051908152602001610280565b61039f6103bb366004612677565b610a83565b6102dc610b5d565b61039f61271081565b60025461039f565b6102dc610bc7565b60075461010090046001600160a01b03166102b1565b61039f610c2f565b610291610c53565b6102dc61041536600461280a565b610c62565b6102dc610428366004612875565b61101d565b610435611028565b60405161028091906128a8565b6102dc6104503660046128f5565b61108e565b61039f610463366004612677565b600a6020526000908152604090205481565b610291610483366004612618565b61111c565b6102916040518060400160405280600f81526020017f4d6f6e6b654c6963656e7365204343000000000000000000000000000000000081525081565b610291611127565b6008546102b1906001600160a01b031681565b6102746104ed36600461295d565b6111b5565b6102dc610500366004612677565b611279565b6102dc610513366004612677565b611313565b6102b173d8a7fd1887cf690119ffed888924056af7f299ce81565b6102916113fb565b600061054682611417565b92915050565b60606000805461055b90612987565b80601f016020809104026020016040519081016040528092919081815260200182805461058790612987565b80156105d45780601f106105a9576101008083540402835291602001916105d4565b820191906000526020600020905b8154815290600101906020018083116105b757829003601f168201915b5050505050905090565b60006105e9826114fa565b6106605760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610687826109d5565b9050806001600160a01b0316836001600160a01b031614156107115760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610657565b336001600160a01b038216148061072d575061072d81336111b5565b61079f5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610657565b6107a98383611544565b505050565b6007546001600160a01b0361010090910416331461080e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610657565b600980546001600160a01b039092167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316811790915560038054909216179055565b61085c33826115ca565b6108ce5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610657565b6107a98383836116a5565b6007546001600160a01b036101009091041633146109395760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610657565b610941611840565b565b6107a98383836040518060200160405280600081525061108e565b6007546001600160a01b036101009091041633146109be5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610657565b80516109d190600b9060208401906124ab565b5050565b60006109e0826114fa565b610a525760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610657565b600060028381548110610a6757610a676129db565b6000918252602090912001546001600160a01b03169392505050565b60006001600160a01b038216610b015760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610657565b60025460005b81811015610b5657836001600160a01b031660028281548110610b2c57610b2c6129db565b6000918252602090912001546001600160a01b03161415610b4e578260010192505b600101610b07565b5050919050565b6007546001600160a01b03610100909104163314610bbd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610657565b61094160006118fa565b6007546001600160a01b03610100909104163314610c275760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610657565b61094161196b565b600254600090610c3f5750600090565b600254610c4e90600190612a39565b905090565b60606001805461055b90612987565b60075460ff1615610cb55760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610657565b60025461271090610cc7908790612a50565b1115610d155760405162461bcd60e51b815260206004820152601460248201527f426f6f7374732061726520736f6c64206f7574210000000000000000000000006044820152606401610657565b336000908152600a60205260409020548311610d995760405162461bcd60e51b815260206004820152602360248201527f43616e206e6f74207265706561742061207072696f72207472616e736163746960448201527f6f6e2100000000000000000000000000000000000000000000000000000000006064820152608401610657565b610dbb73d8a7fd1887cf690119ffed888924056af7f299ce3387878787611a11565b1515600114610e325760405162461bcd60e51b815260206004820152602660248201527f426f6f737473206d757374206265206d696e7465642066726f6d206f7572207760448201527f65627369746500000000000000000000000000000000000000000000000000006064820152608401610657565b8315610ec3576008546001600160a01b031663c5252fdc336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b03909116600482015260248101879052604401600060405180830381600087803b158015610eaa57600080fd5b505af1158015610ebe573d6000803e3d6000fd5b505050505b336000908152600a60205260409020839055801561100c57600954610ef29086906001600160a01b0316611ae5565b606060008667ffffffffffffffff811115610f0f57610f0f6126ce565b604051908082528060200260200182016040528015610f38578160200160208202803683370190505b50905060005b87811015610f9b576002548190610f56908a90612a39565b610f609190612a50565b828261ffff1681518110610f7657610f766129db565b61ffff9092166020928302919091019091015280610f9381612a68565b915050610f3e565b506009546001600160a01b031663a73c51453384846000806040518663ffffffff1660e01b8152600401610fd3959493929190612ae0565b600060405180830381600087803b158015610fed57600080fd5b505af1158015611001573d6000803e3d6000fd5b505050505050611016565b6110168533611ae5565b5050505050565b6109d1338383611bf2565b60606000600280548060200260200160405190810160405280929190818152602001828054801561108257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611064575b50939695505050505050565b61109833836115ca565b61110a5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610657565b61111684848484611cdf565b50505050565b606061054682611d68565b600b805461113490612987565b80601f016020809104026020016040519081016040528092919081815260200182805461116090612987565b80156111ad5780601f10611182576101008083540402835291602001916111ad565b820191906000526020600020905b81548152906001019060200180831161119057829003601f168201915b505050505081565b600073a5409ec958c83c3f309868babaca7c86dcb077c16001600160a01b03831614806111fe575073f42aa99f011a1fa7cda90e5e98b277e306bca83e6001600160a01b038316145b806112255750734fee7b061c97c9c496b01dbce9cdb10c02f0a0be6001600160a01b038316145b8061123d57506003546001600160a01b038381169116145b1561124a57506001610546565b506001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6007546001600160a01b036101009091041633146112d95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610657565b600880547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6007546001600160a01b036101009091041633146113735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610657565b6001600160a01b0381166113ef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610657565b6113f8816118fa565b50565b604051806080016040528060428152602001612c1d6042913981565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806114aa57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061054657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610546565b60025460009082108015610546575060006001600160a01b031660028381548110611527576115276129db565b6000918252602090912001546001600160a01b0316141592915050565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0384169081179091558190611591826109d5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006115d5826114fa565b6116475760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610657565b6000611652836109d5565b9050806001600160a01b0316846001600160a01b0316148061168d5750836001600160a01b0316611682846105de565b6001600160a01b0316145b8061169d575061169d81856111b5565b949350505050565b826001600160a01b03166116b8826109d5565b6001600160a01b0316146117345760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610657565b6001600160a01b0382166117af5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610657565b6117ba600082611544565b81600282815481106117ce576117ce6129db565b6000918252602082200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60075460ff166118925760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610657565b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600780546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60075460ff16156119be5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610657565b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118dd3390565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606088901b1660208083019190915260348201879052605482018690526074808301869052835180840390910181526094830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000060b484015260d08084018290528451808503909101815260f0909301909352815191012060009190886001600160a01b0316611ace8286611ed6565b6001600160a01b0316149998505050505050505050565b60008211611b355760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e740000000000000000000000000000000000006044820152606401610657565b611b59600082611b4484611f73565b60405180602001604052806000815250612064565b611bcb5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610657565b60015b828110156107a957611bdf82611f73565b5080611bea81612a68565b915050611bce565b816001600160a01b0316836001600160a01b03161415611c545760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610657565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611cea8484846116a5565b611cf684848484612064565b6111165760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610657565b6060611d73826114fa565b611de55760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f722060448201527f6e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006064820152608401610657565b60008281526006602052604081208054611dfe90612987565b80601f0160208091040260200160405190810160405280929190818152602001828054611e2a90612987565b8015611e775780601f10611e4c57610100808354040283529160200191611e77565b820191906000526020600020905b815481529060010190602001808311611e5a57829003601f168201915b505050505090506000611e8861221d565b9050805160001415611e9b575092915050565b815115611ecd578082604051602001611eb5929190612b3d565b60405160208183030381529060405292505050919050565b61169d8461222c565b600080600080611ee585612305565b6040805160008152602081018083528b905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa158015611f40573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00151979650505050505050565b60006001600160a01b038216611fcb5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610657565b506002546002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4919050565b60006001600160a01b0384163b15612215576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a02906120c1903390899088908890600401612b6c565b6020604051808303816000875af192505050801561211a575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261211791810190612ba8565b60015b6121ca573d808015612148576040519150601f19603f3d011682016040523d82523d6000602084013e61214d565b606091505b5080516121c25760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610657565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014905061169d565b50600161169d565b6060600b805461055b90612987565b6060612237826114fa565b6122a95760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610657565b60006122b361221d565b905060008151116122d357604051806020016040528060008152506122fe565b806122dd84612379565b6040516020016122ee929190612b3d565b6040516020818303038152906040525b9392505050565b6000806000835160411461235b5760405162461bcd60e51b815260206004820152601960248201527f496e76616c6964207369676e6174757265206c656e67746821000000000000006044820152606401610657565b50505060208101516040820151606090920151909260009190911a90565b6060816123b957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156123e357806123cd81612a68565b91506123dc9050600a83612bf4565b91506123bd565b60008167ffffffffffffffff8111156123fe576123fe6126ce565b6040519080825280601f01601f191660200182016040528015612428576020820181803683370190505b5090505b841561169d5761243d600183612a39565b915061244a600a86612c08565b612455906030612a50565b60f81b81838151811061246a5761246a6129db565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506124a4600a86612bf4565b945061242c565b8280546124b790612987565b90600052602060002090601f0160209004810192826124d9576000855561251f565b82601f106124f257805160ff191683800117855561251f565b8280016001018555821561251f579182015b8281111561251f578251825591602001919060010190612504565b5061252b92915061252f565b5090565b5b8082111561252b5760008155600101612530565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146113f857600080fd5b60006020828403121561258457600080fd5b81356122fe81612544565b60005b838110156125aa578181015183820152602001612592565b838111156111165750506000910152565b600081518084526125d381602086016020860161258f565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006122fe60208301846125bb565b60006020828403121561262a57600080fd5b5035919050565b80356001600160a01b038116811461264857600080fd5b919050565b6000806040838503121561266057600080fd5b61266983612631565b946020939093013593505050565b60006020828403121561268957600080fd5b6122fe82612631565b6000806000606084860312156126a757600080fd5b6126b084612631565b92506126be60208501612631565b9150604084013590509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115612718576127186126ce565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561275e5761275e6126ce565b8160405280935085815286868601111561277757600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156127a357600080fd5b813567ffffffffffffffff8111156127ba57600080fd5b8201601f810184136127cb57600080fd5b61169d848235602084016126fd565b600082601f8301126127eb57600080fd5b6122fe838335602085016126fd565b8035801515811461264857600080fd5b600080600080600060a0868803121561282257600080fd5b853594506020860135935060408601359250606086013567ffffffffffffffff81111561284e57600080fd5b61285a888289016127da565b925050612869608087016127fa565b90509295509295909350565b6000806040838503121561288857600080fd5b61289183612631565b915061289f602084016127fa565b90509250929050565b6020808252825182820181905260009190848201906040850190845b818110156128e95783516001600160a01b0316835292840192918401916001016128c4565b50909695505050505050565b6000806000806080858703121561290b57600080fd5b61291485612631565b935061292260208601612631565b925060408501359150606085013567ffffffffffffffff81111561294557600080fd5b612951878288016127da565b91505092959194509250565b6000806040838503121561297057600080fd5b61297983612631565b915061289f60208401612631565b600181811c9082168061299b57607f821691505b602082108114156129d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015612a4b57612a4b612a0a565b500390565b60008219821115612a6357612a63612a0a565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612a9a57612a9a612a0a565b5060010190565b600081518084526020808501945080840160005b83811015612ad557815161ffff1687529582019590820190600101612ab5565b509495945050505050565b6001600160a01b038616815260c060208201526000612b0260c0830187612aa1565b8281036040840152612b148187612aa1565b60608401959095525050608081019190915280820360a090910152600081526020019392505050565b60008351612b4f81846020880161258f565b835190830190612b6381836020880161258f565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612b9e60808301846125bb565b9695505050505050565b600060208284031215612bba57600080fd5b81516122fe81612544565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612c0357612c03612bc5565b500490565b600082612c1757612c17612bc5565b50069056fe307830393864353335303931653961613330396538333466613638363562643030623265656632366463643139313834653635393861303762663939663161393161a2646970667358221220d4e17cd12c809d2fb849685d99d8ec0c763643519991f7889ebc64eff42d150164736f6c634300080b0033

Deployed Bytecode Sourcemap

3470:6057:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9371:153;;;;;;:::i;:::-;;:::i;:::-;;;611:14:17;;604:22;586:41;;574:2;559:18;9371:153:2;;;;;;;;3370:98:6;;;:::i;:::-;;;;;;;:::i;4881:217::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1797:55:17;;;1779:74;;1767:2;1752:18;4881:217:6;1633:226:17;4419:401:6;;;;;;:::i;:::-;;:::i;:::-;;5295:172:2;;;;;;:::i;:::-;;:::i;5941:330:6:-;;;;;;:::i;:::-;;:::i;8964:65:2:-;;;:::i;6337:179:6:-;;;;;;:::i;:::-;;:::i;4477:27:2:-;;;;;-1:-1:-1;;;;;4477:27:2;;;1221:35:6;;;;;-1:-1:-1;;;;;1221:35:6;;;5186:101:2;;;;;;:::i;:::-;;:::i;1091:84:14:-;1161:7;;;;1091:84;;2619:232:6;;;;;;:::i;:::-;;:::i;6188:122:2:-;;;;;;:::i;:::-;-1:-1:-1;;;;;6281:21:2;6254:7;6281:21;;;:13;:21;;;;;;;6188:122;;;;4335:25:17;;;4323:2;4308:18;6188:122:2;4189:177:17;2148:414:6;;;;;;:::i;:::-;;:::i;1661:101:13:-;;;:::i;4556:41:2:-;;4592:5;4556:41;;5595:93;5666:7;:14;5595:93;;8895:61;;;:::i;1029:85:13:-;1101:6;;;;;-1:-1:-1;;;;;1101:6:13;1029:85;;3189:119:6;;;:::i;3532:102::-;;;:::i;7692:1191:2:-;;;;;;:::i;:::-;;:::i;5165:153:6:-;;;;;;:::i;:::-;;:::i;2992:132::-;;;:::i;:::-;;;;;;;:::i;6582:320::-;;;;;;:::i;:::-;;:::i;4700:48:2:-;;;;;;:::i;:::-;;;;;;;;;;;;;;9208:155;;;;;;:::i;:::-;;:::i;4181:50::-;;;;;;;;;;;;;;;;;;;;;4917:76;;;:::i;4445:25::-;;;;;-1:-1:-1;;;;;4445:25:2;;;5384:495:6;;;;;;:::i;:::-;;:::i;5475:112:2:-;;;;;;:::i;:::-;;:::i;1911:198:13:-;;;;;;:::i;:::-;;:::i;4348:84:2:-;;4390:42;4348:84;;4238:103;;;:::i;9371:153::-;9456:4;9480:36;9504:11;9480:23;:36::i;:::-;9473:43;9371:153;-1:-1:-1;;9371:153:2:o;3370:98:6:-;3424:13;3456:5;3449:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3370:98;:::o;4881:217::-;4957:7;4984:16;4992:7;4984;:16::i;:::-;4976:73;;;;-1:-1:-1;;;4976:73:6;;7980:2:17;4976:73:6;;;7962:21:17;8019:2;7999:18;;;7992:30;8058:34;8038:18;;;8031:62;8129:14;8109:18;;;8102:42;8161:19;;4976:73:6;;;;;;;;;-1:-1:-1;5067:24:6;;;;:15;:24;;;;;;-1:-1:-1;;;;;5067:24:6;;4881:217::o;4419:401::-;4499:13;4515:23;4530:7;4515:14;:23::i;:::-;4499:39;;4562:5;-1:-1:-1;;;;;4556:11:6;:2;-1:-1:-1;;;;;4556:11:6;;;4548:57;;;;-1:-1:-1;;;4548:57:6;;8393:2:17;4548:57:6;;;8375:21:17;8432:2;8412:18;;;8405:30;8471:34;8451:18;;;8444:62;8542:3;8522:18;;;8515:31;8563:19;;4548:57:6;8191:397:17;4548:57:6;719:10:3;-1:-1:-1;;;;;4637:21:6;;;;:62;;-1:-1:-1;4662:37:6;4679:5;719:10:3;5384:495:6;:::i;4662:37::-;4616:165;;;;-1:-1:-1;;;4616:165:6;;8795:2:17;4616:165:6;;;8777:21:17;8834:2;8814:18;;;8807:30;8873:34;8853:18;;;8846:62;8944:26;8924:18;;;8917:54;8988:19;;4616:165:6;8593:420:17;4616:165:6;4792:21;4801:2;4805:7;4792:8;:21::i;:::-;4489:331;4419:401;;:::o;5295:172:2:-;1101:6:13;;-1:-1:-1;;;;;1101:6:13;;;;;719:10:3;1241:23:13;1233:68;;;;-1:-1:-1;;;1233:68:13;;9220:2:17;1233:68:13;;;9202:21:17;;;9239:18;;;9232:30;9298:34;9278:18;;;9271:62;9350:18;;1233:68:13;9018:356:17;1233:68:13;5373:12:2::1;:30:::0;;-1:-1:-1;;;;;5373:30:2;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;5414:27:::1;:45:::0;;;;::::1;;::::0;;5295:172::o;5941:330:6:-;6130:41;719:10:3;6163:7:6;6130:18;:41::i;:::-;6122:103;;;;-1:-1:-1;;;6122:103:6;;9581:2:17;6122:103:6;;;9563:21:17;9620:2;9600:18;;;9593:30;9659:34;9639:18;;;9632:62;9730:19;9710:18;;;9703:47;9767:19;;6122:103:6;9379:413:17;6122:103:6;6236:28;6246:4;6252:2;6256:7;6236:9;:28::i;8964:65:2:-;1101:6:13;;-1:-1:-1;;;;;1101:6:13;;;;;719:10:3;1241:23:13;1233:68;;;;-1:-1:-1;;;1233:68:13;;9220:2:17;1233:68:13;;;9202:21:17;;;9239:18;;;9232:30;9298:34;9278:18;;;9271:62;9350:18;;1233:68:13;9018:356:17;1233:68:13;9011:10:2::1;:8;:10::i;:::-;8964:65::o:0;6337:179:6:-;6470:39;6487:4;6493:2;6497:7;6470:39;;;;;;;;;;;;:16;:39::i;5186:101:2:-;1101:6:13;;-1:-1:-1;;;;;1101:6:13;;;;;719:10:3;1241:23:13;1233:68;;;;-1:-1:-1;;;1233:68:13;;9220:2:17;1233:68:13;;;9202:21:17;;;9239:18;;;9232:30;9298:34;9278:18;;;9271:62;9350:18;;1233:68:13;9018:356:17;1233:68:13;5257:22:2;;::::1;::::0;:12:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;5186:101:::0;:::o;2619:232:6:-;2691:7;2718:16;2726:7;2718;:16::i;:::-;2710:70;;;;-1:-1:-1;;;2710:70:6;;9999:2:17;2710:70:6;;;9981:21:17;10038:2;10018:18;;;10011:30;10077:34;10057:18;;;10050:62;10148:11;10128:18;;;10121:39;10177:19;;2710:70:6;9797:405:17;2710:70:6;2790:13;2806:7;2814;2806:16;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;2806:16:6;;2619:232;-1:-1:-1;;;2619:232:6:o;2148:414::-;2220:15;-1:-1:-1;;;;;2255:19:6;;2247:74;;;;-1:-1:-1;;;2247:74:6;;10598:2:17;2247:74:6;;;10580:21:17;10637:2;10617:18;;;10610:30;10676:34;10656:18;;;10649:62;10747:12;10727:18;;;10720:40;10777:19;;2247:74:6;10396:406:17;2247:74:6;2373:7;:14;2356;2401:144;2425:6;2421:1;:10;2401:144;;;2474:5;-1:-1:-1;;;;;2460:19:6;:7;2468:1;2460:10;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;2460:10:6;:19;2456:75;;;2503:9;;;;;2456:75;2433:3;;2401:144;;;;2332:223;2148:414;;;:::o;1661:101:13:-;1101:6;;-1:-1:-1;;;;;1101:6:13;;;;;719:10:3;1241:23:13;1233:68;;;;-1:-1:-1;;;1233:68:13;;9220:2:17;1233:68:13;;;9202:21:17;;;9239:18;;;9232:30;9298:34;9278:18;;;9271:62;9350:18;;1233:68:13;9018:356:17;1233:68:13;1725:30:::1;1752:1;1725:18;:30::i;8895:61:2:-:0;1101:6:13;;-1:-1:-1;;;;;1101:6:13;;;;;719:10:3;1241:23:13;1233:68;;;;-1:-1:-1;;;1233:68:13;;9220:2:17;1233:68:13;;;9202:21:17;;;9239:18;;;9232:30;9298:34;9278:18;;;9271:62;9350:18;;1233:68:13;9018:356:17;1233:68:13;8940:8:2::1;:6;:8::i;3189:119:6:-:0;3258:7;:14;3232:7;;3258:43;;-1:-1:-1;3300:1:6;;3189:119::o;3258:43::-;3279:7;:14;:18;;3296:1;;3279:18;:::i;:::-;3251:50;;3189:119;:::o;3532:102::-;3588:13;3620:7;3613:14;;;;;:::i;7692:1191:2:-;1161:7:14;;;;1404:9;1396:38;;;;-1:-1:-1;;;1396:38:14;;11328:2:17;1396:38:14;;;11310:21:17;11367:2;11347:18;;;11340:30;11406:18;11386;;;11379:46;11442:18;;1396:38:14;11126:340:17;1396:38:14;7821:7:2::1;:14:::0;4592:5:::1;::::0;7821:23:::1;::::0;7838:6;;7821:23:::1;:::i;:::-;:36;;7813:69;;;::::0;-1:-1:-1;;;7813:69:2;;11806:2:17;7813:69:2::1;::::0;::::1;11788:21:17::0;11845:2;11825:18;;;11818:30;11884:22;11864:18;;;11857:50;11924:18;;7813:69:2::1;11604:344:17::0;7813:69:2::1;719:10:3::0;7901:27:2::1;::::0;;;:13:::1;:27;::::0;;;;;:36;-1:-1:-1;7893:84:2::1;;;::::0;-1:-1:-1;;;7893:84:2;;12155:2:17;7893:84:2::1;::::0;::::1;12137:21:17::0;12194:2;12174:18;;;12167:30;12233:34;12213:18;;;12206:62;12304:5;12284:18;;;12277:33;12327:19;;7893:84:2::1;11953:399:17::0;7893:84:2::1;7996:71;4390:42;719:10:3::0;8034:6:2::1;8042:5;8049:6;8057:9;7996:6;:71::i;:::-;:79;;8071:4;7996:79;7988:130;;;::::0;-1:-1:-1;;;7988:130:2;;12559:2:17;7988:130:2::1;::::0;::::1;12541:21:17::0;12598:2;12578:18;;;12571:30;12637:34;12617:18;;;12610:62;12708:8;12688:18;;;12681:36;12734:19;;7988:130:2::1;12357:402:17::0;7988:130:2::1;8194:9:::0;;8190:105:::1;;8237:10;::::0;-1:-1:-1;;;;;8237:10:2::1;8220:40;719:10:3::0;8220:61:2::1;::::0;;::::1;::::0;;;;;;-1:-1:-1;;;;;12956:55:17;;;8220:61:2::1;::::0;::::1;12938:74:17::0;13028:18;;;13021:34;;;12911:18;;8220:61:2::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;8190:105;719:10:3::0;8307:27:2::1;::::0;;;:13:::1;:27;::::0;;;;:36;;;8405:471;::::1;;;8449:12;::::0;8431:31:::1;::::0;8441:6;;-1:-1:-1;;;;;8449:12:2::1;8431:9;:31::i;:::-;8477:22;8514;8553:6;8540:20;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;8540:20:2::1;;8514:46;;8594:6;8589:124;8610:6;8606:1;:10;8589:124;;;8669:7;:14:::0;8695:1;;8669:23:::1;::::0;8686:6;;8669:23:::1;:::i;:::-;:27;;;;:::i;:::-;8642:6;8656:1;8642:17;;;;;;;;;;:::i;:::-;:55;::::0;;::::1;:17;::::0;;::::1;::::0;;;;;;;:55;8618:3;::::1;::::0;::::1;:::i;:::-;;;;8589:124;;;-1:-1:-1::0;8741:12:2::1;::::0;-1:-1:-1;;;;;8741:12:2::1;8729:31;719:10:3::0;8775:6:2::1;8783;8791:1;8794::::0;8729:71:::1;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;8416:396;;8405:471;;;8833:31;8843:6:::0;719:10:3;8833:9:2::1;:31::i;:::-;7692:1191:::0;;;;;:::o;5165:153:6:-;5259:52;719:10:3;5292:8:6;5302;5259:18;:52::i;2992:132::-;3031:16;3059:24;3086:7;3059:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3059:34:6;;;;;;;;;;;;;;;;-1:-1:-1;3059:34:6;;2992:132;-1:-1:-1;;;;;;2992:132:6:o;6582:320::-;6751:41;719:10:3;6784:7:6;6751:18;:41::i;:::-;6743:103;;;;-1:-1:-1;;;6743:103:6;;9581:2:17;6743:103:6;;;9563:21:17;9620:2;9600:18;;;9593:30;9659:34;9639:18;;;9632:62;9730:19;9710:18;;;9703:47;9767:19;;6743:103:6;9379:413:17;6743:103:6;6856:39;6870:4;6876:2;6880:7;6889:5;6856:13;:39::i;:::-;6582:320;;;;:::o;9208:155:2:-;9299:13;9332:23;9347:7;9332:14;:23::i;4917:76::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5384:495:6:-;5481:4;5568:42;-1:-1:-1;;;;;5556:54:6;;;;:112;;-1:-1:-1;5626:42:6;-1:-1:-1;;;;;5614:54:6;;;5556:112;:170;;;-1:-1:-1;5684:42:6;-1:-1:-1;;;;;5672:54:6;;;5556:170;:206;;;-1:-1:-1;5742:20:6;;-1:-1:-1;;;;;5730:32:6;;;5742:20;;5730:32;5556:206;5552:321;;;-1:-1:-1;5785:4:6;5778:11;;5552:321;-1:-1:-1;;;;;;5827:25:6;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;5384:495::o;5475:112:2:-;1101:6:13;;-1:-1:-1;;;;;1101:6:13;;;;;719:10:3;1241:23:13;1233:68;;;;-1:-1:-1;;;1233:68:13;;9220:2:17;1233:68:13;;;9202:21:17;;;9239:18;;;9232:30;9298:34;9278:18;;;9271:62;9350:18;;1233:68:13;9018:356:17;1233:68:13;5551:10:2::1;:28:::0;;;::::1;-1:-1:-1::0;;;;;5551:28:2;;;::::1;::::0;;;::::1;::::0;;5475:112::o;1911:198:13:-;1101:6;;-1:-1:-1;;;;;1101:6:13;;;;;719:10:3;1241:23:13;1233:68;;;;-1:-1:-1;;;1233:68:13;;9220:2:17;1233:68:13;;;9202:21:17;;;9239:18;;;9232:30;9298:34;9278:18;;;9271:62;9350:18;;1233:68:13;9018:356:17;1233:68:13;-1:-1:-1;;;;;1999:22:13;::::1;1991:73;;;::::0;-1:-1:-1;;;1991:73:13;;14889:2:17;1991:73:13::1;::::0;::::1;14871:21:17::0;14928:2;14908:18;;;14901:30;14967:34;14947:18;;;14940:62;15038:8;15018:18;;;15011:36;15064:19;;1991:73:13::1;14687:402:17::0;1991:73:13::1;2074:28;2093:8;2074:18;:28::i;:::-;1911:198:::0;:::o;4238:103:2:-;;;;;;;;;;;;;;;;;;;:::o;1789:300:6:-;1891:4;1926:40;;;1941:25;1926:40;;:104;;-1:-1:-1;1982:48:6;;;1997:33;1982:48;1926:104;:156;;;-1:-1:-1;952:25:5;937:40;;;;2046:36:6;829:155:5;8374:153:6;8472:7;:14;8439:4;;8462:24;;:58;;;;;8518:1;-1:-1:-1;;;;;8490:30:6;:7;8498;8490:16;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;8490:16:6;:30;;8455:65;8374:153;-1:-1:-1;;8374:153:6:o;11585:171::-;11659:24;;;;:15;:24;;;;;:29;;;;-1:-1:-1;;;;;11659:29:6;;;;;;;;:24;;11712:23;11659:24;11712:14;:23::i;:::-;-1:-1:-1;;;;;11703:46:6;;;;;;;;;;;11585:171;;:::o;8685:344::-;8778:4;8802:16;8810:7;8802;:16::i;:::-;8794:73;;;;-1:-1:-1;;;8794:73:6;;15296:2:17;8794:73:6;;;15278:21:17;15335:2;15315:18;;;15308:30;15374:34;15354:18;;;15347:62;15445:14;15425:18;;;15418:42;15477:19;;8794:73:6;15094:408:17;8794:73:6;8877:13;8893:23;8908:7;8893:14;:23::i;:::-;8877:39;;8945:5;-1:-1:-1;;;;;8934:16:6;:7;-1:-1:-1;;;;;8934:16:6;;:51;;;;8978:7;-1:-1:-1;;;;;8954:31:6;:20;8966:7;8954:11;:20::i;:::-;-1:-1:-1;;;;;8954:31:6;;8934:51;:87;;;;8989:32;9006:5;9013:7;8989:16;:32::i;:::-;8926:96;8685:344;-1:-1:-1;;;;8685:344:6:o;10972:502::-;11126:4;-1:-1:-1;;;;;11099:31:6;:23;11114:7;11099:14;:23::i;:::-;-1:-1:-1;;;;;11099:31:6;;11091:85;;;;-1:-1:-1;;;11091:85:6;;15709:2:17;11091:85:6;;;15691:21:17;15748:2;15728:18;;;15721:30;15787:34;15767:18;;;15760:62;15858:11;15838:18;;;15831:39;15887:19;;11091:85:6;15507:405:17;11091:85:6;-1:-1:-1;;;;;11194:16:6;;11186:65;;;;-1:-1:-1;;;11186:65:6;;16119:2:17;11186:65:6;;;16101:21:17;16158:2;16138:18;;;16131:30;16197:34;16177:18;;;16170:62;16268:6;16248:18;;;16241:34;16292:19;;11186:65:6;15917:400:17;11186:65:6;11363:29;11380:1;11384:7;11363:8;:29::i;:::-;11422:2;11403:7;11411;11403:16;;;;;;;;:::i;:::-;;;;;;;;;:21;;;;-1:-1:-1;;;;;11403:21:6;;;;;;11440:27;;11459:7;;11440:27;;;;;;;;;;11403:16;11440:27;10972:502;;;:::o;2103:117:14:-;1161:7;;;;1662:41;;;;-1:-1:-1;;;1662:41:14;;16524:2:17;1662:41:14;;;16506:21:17;16563:2;16543:18;;;16536:30;16602:22;16582:18;;;16575:50;16642:18;;1662:41:14;16322:344:17;1662:41:14;2161:7:::1;:15:::0;;;::::1;::::0;;2191:22:::1;719:10:3::0;2200:12:14::1;2191:22;::::0;-1:-1:-1;;;;;1797:55:17;;;1779:74;;1767:2;1752:18;2191:22:14::1;;;;;;;2103:117::o:0;2263:187:13:-;2355:6;;;-1:-1:-1;;;;;2371:17:13;;;2355:6;2371:17;;;;;;;;;;2403:40;;2355:6;;;;;;;;2403:40;;2336:16;;2403:40;2326:124;2263:187;:::o;1856:115:14:-;1161:7;;;;1404:9;1396:38;;;;-1:-1:-1;;;1396:38:14;;11328:2:17;1396:38:14;;;11310:21:17;11367:2;11347:18;;;11340:30;11406:18;11386;;;11379:46;11442:18;;1396:38:14;11126:340:17;1396:38:14;1915:7:::1;:14:::0;;;::::1;1925:4;1915:14;::::0;;1944:20:::1;1951:12;719:10:3::0;;640:96;6716:379:2;6455:46;;;18926:66:17;18913:2;18909:15;;;18905:88;6455:46:2;;;;18893:101:17;;;;19010:12;;;19003:28;;;19047:12;;;19040:28;;;19084:12;;;;19077:28;;;6455:46:2;;;;;;;;;;19121:13:17;;;6455:46:2;;6445:57;;;;;;19387:66:17;6633::2;;;19375:79:17;19470:12;;;;19463:28;;;6633:66:2;;;;;;;;;;19507:12:17;;;;6633:66:2;;;6623:77;;;;;-1:-1:-1;;6445:57:2;7080:7;-1:-1:-1;;;;;7030:57:2;:46;7044:20;7066:9;7030:13;:46::i;:::-;-1:-1:-1;;;;;7030:57:2;;;6716:379;-1:-1:-1;;;;;;;;;6716:379:2:o;5696:367::-;5776:1;5767:6;:10;5759:37;;;;-1:-1:-1;;;5759:37:2;;16873:2:17;5759:37:2;;;16855:21:17;16912:2;16892:18;;;16885:30;16951:16;16931:18;;;16924:44;16985:18;;5759:37:2;16671:338:17;5759:37:2;5815:53;5846:1;5850:2;5854:9;5860:2;5854:5;:9::i;:::-;5815:53;;;;;;;;;;;;:22;:53::i;:::-;5807:116;;;;-1:-1:-1;;;5807:116:2;;17216:2:17;5807:116:2;;;17198:21:17;17255:2;17235:18;;;17228:30;17294:34;17274:18;;;17267:62;17365:20;17345:18;;;17338:48;17403:19;;5807:116:2;17014:414:17;5807:116:2;6000:1;5986:70;6007:6;6003:1;:10;5986:70;;;6035:9;6041:2;6035:5;:9::i;:::-;-1:-1:-1;6015:3:2;;;;:::i;:::-;;;;5986:70;;11891:307:6;12041:8;-1:-1:-1;;;;;12032:17:6;:5;-1:-1:-1;;;;;12032:17:6;;;12024:55;;;;-1:-1:-1;;;12024:55:6;;17635:2:17;12024:55:6;;;17617:21:17;17674:2;17654:18;;;17647:30;17713:27;17693:18;;;17686:55;17758:18;;12024:55:6;17433:349:17;12024:55:6;-1:-1:-1;;;;;12089:25:6;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;;;;;;;;;;;;12150:41;;586::17;;;12150::6;;559:18:17;12150:41:6;;;;;;;11891:307;;;:::o;7764:::-;7915:28;7925:4;7931:2;7935:7;7915:9;:28::i;:::-;7961:48;7984:4;7990:2;7994:7;8003:5;7961:22;:48::i;:::-;7953:111;;;;-1:-1:-1;;;7953:111:6;;17216:2:17;7953:111:6;;;17198:21:17;17255:2;17235:18;;;17228:30;17294:34;17274:18;;;17267:62;17365:20;17345:18;;;17338:48;17403:19;;7953:111:6;17014:414:17;466:663:7;539:13;572:16;580:7;572;:16::i;:::-;564:78;;;;-1:-1:-1;;;564:78:7;;17989:2:17;564:78:7;;;17971:21:17;18028:2;18008:18;;;18001:30;18067:34;18047:18;;;18040:62;18138:19;18118:18;;;18111:47;18175:19;;564:78:7;17787:413:17;564:78:7;653:23;679:19;;;:10;:19;;;;;653:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;708:18;729:10;:8;:10::i;:::-;708:31;;818:4;812:18;834:1;812:23;808:70;;;-1:-1:-1;858:9:7;466:663;-1:-1:-1;;466:663:7:o;808:70::-;980:23;;:27;976:106;;1054:4;1060:9;1037:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;1023:48;;;;466:663;;;:::o;976:106::-;1099:23;1114:7;1099:14;:23::i;7103:249:2:-;7205:7;7226:9;7237;7248:7;7259:26;7274:10;7259:14;:26::i;:::-;7303:41;;;;;;;;;;;;19757:25:17;;;19830:4;19818:17;;19798:18;;;19791:45;;;;19852:18;;;19845:34;;;19895:18;;;19888:34;;;7225:60:2;;-1:-1:-1;7225:60:2;;-1:-1:-1;7225:60:2;-1:-1:-1;7303:41:2;;19729:19:17;;7303:41:2;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7303:41:2;;;;;;7103:249;-1:-1:-1;;;;;;;7103:249:2:o;10333:314:6:-;10386:15;-1:-1:-1;;;;;10421:16:6;;10413:61;;;;-1:-1:-1;;;10413:61:6;;20135:2:17;10413:61:6;;;20117:21:17;;;20154:18;;;20147:30;20213:34;20193:18;;;20186:62;20265:18;;10413:61:6;19933:356:17;10413:61:6;-1:-1:-1;10494:7:6;:14;10575:7;:16;;;;;;;-1:-1:-1;10575:16:6;;;;;;;;;-1:-1:-1;;;;;10575:16:6;;;;;;;;10607:33;;10632:7;;-1:-1:-1;10607:33:6;;-1:-1:-1;;10607:33:6;10333:314;;;:::o;12751:779::-;12902:4;-1:-1:-1;;;;;12922:13:6;;1087:20:0;1133:8;12918:606:6;;12957:72;;;;;-1:-1:-1;;;;;12957:36:6;;;;;:72;;719:10:3;;13008:4:6;;13014:7;;13023:5;;12957:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12957:72:6;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;12953:519;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13196:13:6;;13192:266;;13238:60;;-1:-1:-1;;;13238:60:6;;17216:2:17;13238:60:6;;;17198:21:17;17255:2;17235:18;;;17228:30;17294:34;17274:18;;;17267:62;17365:20;17345:18;;;17338:48;17403:19;;13238:60:6;17014:414:17;13192:266:6;13410:6;13404:13;13395:6;13391:2;13387:15;13380:38;12953:519;13079:51;;13089:41;13079:51;;-1:-1:-1;13072:58:6;;12918:606;-1:-1:-1;13509:4:6;13502:11;;5065:113:2;5125:13;5158:12;5151:19;;;;;:::i;3700:329:6:-;3773:13;3806:16;3814:7;3806;:16::i;:::-;3798:76;;;;-1:-1:-1;;;3798:76:6;;21267:2:17;3798:76:6;;;21249:21:17;21306:2;21286:18;;;21279:30;21345:34;21325:18;;;21318:62;21416:17;21396:18;;;21389:45;21451:19;;3798:76:6;21065:411:17;3798:76:6;3885:21;3909:10;:8;:10::i;:::-;3885:34;;3960:1;3942:7;3936:21;:25;:86;;;;;;;;;;;;;;;;;3988:7;3997:18;:7;:16;:18::i;:::-;3971:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3936:86;3929:93;3700:329;-1:-1:-1;;;3700:329:6:o;7360:324:2:-;7425:9;7436;7447:7;7476:3;:10;7490:2;7476:16;7468:54;;;;-1:-1:-1;;;7468:54:2;;21683:2:17;7468:54:2;;;21665:21:17;21722:2;21702:18;;;21695:30;21761:27;21741:18;;;21734:55;21806:18;;7468:54:2;21481:349:17;7468:54:2;-1:-1:-1;;;7577:2:2;7568:12;;7562:19;7615:2;7606:12;;7600:19;7661:2;7652:12;;;7646:19;7562;;7643:1;7638:28;;;;;7360:324::o;328:703:16:-;384:13;601:10;597:51;;-1:-1:-1;;627:10:16;;;;;;;;;;;;;;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:16;;-1:-1:-1;773:2:16;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;817:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:16;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:16;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;;;:::i;:::-;;;;:56;;;;;;;;;;-1:-1:-1;972:11:16;981:2;972:11;;:::i;:::-;;;844:150;;-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;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:186::-;2383:6;2436:2;2424:9;2415:7;2411:23;2407:32;2404:52;;;2452:1;2449;2442:12;2404:52;2475:29;2494:9;2475:29;:::i;2515:328::-;2592:6;2600;2608;2661:2;2649:9;2640:7;2636:23;2632:32;2629:52;;;2677:1;2674;2667:12;2629:52;2700:29;2719:9;2700:29;:::i;:::-;2690:39;;2748:38;2782:2;2771:9;2767:18;2748:38;:::i;:::-;2738:48;;2833:2;2822:9;2818:18;2805:32;2795:42;;2515:328;;;;;:::o;2848:184::-;2900:77;2897:1;2890:88;2997:4;2994:1;2987:15;3021:4;3018:1;3011:15;3037:691;3102:5;3132:18;3173:2;3165:6;3162:14;3159:40;;;3179:18;;:::i;:::-;3313:2;3307:9;3379:2;3367:15;;3218:66;3363:24;;;3389:2;3359:33;3355:42;3343:55;;;3413:18;;;3433:22;;;3410:46;3407:72;;;3459:18;;:::i;:::-;3499:10;3495:2;3488:22;3528:6;3519:15;;3558:6;3550;3543:22;3598:3;3589:6;3584:3;3580:16;3577:25;3574:45;;;3615:1;3612;3605:12;3574:45;3665:6;3660:3;3653:4;3645:6;3641:17;3628:44;3720:1;3713:4;3704:6;3696;3692:19;3688:30;3681:41;;;;3037:691;;;;;:::o;3733:451::-;3802:6;3855:2;3843:9;3834:7;3830:23;3826:32;3823:52;;;3871:1;3868;3861:12;3823:52;3911:9;3898:23;3944:18;3936:6;3933:30;3930:50;;;3976:1;3973;3966:12;3930:50;3999:22;;4052:4;4044:13;;4040:27;-1:-1:-1;4030:55:17;;4081:1;4078;4071:12;4030:55;4104:74;4170:7;4165:2;4152:16;4147:2;4143;4139:11;4104:74;:::i;4371:221::-;4413:5;4466:3;4459:4;4451:6;4447:17;4443:27;4433:55;;4484:1;4481;4474:12;4433:55;4506:80;4582:3;4573:6;4560:20;4553:4;4545:6;4541:17;4506:80;:::i;4597:160::-;4662:20;;4718:13;;4711:21;4701:32;;4691:60;;4747:1;4744;4737:12;4762:594;4863:6;4871;4879;4887;4895;4948:3;4936:9;4927:7;4923:23;4919:33;4916:53;;;4965:1;4962;4955:12;4916:53;5001:9;4988:23;4978:33;;5058:2;5047:9;5043:18;5030:32;5020:42;;5109:2;5098:9;5094:18;5081:32;5071:42;;5164:2;5153:9;5149:18;5136:32;5191:18;5183:6;5180:30;5177:50;;;5223:1;5220;5213:12;5177:50;5246:49;5287:7;5278:6;5267:9;5263:22;5246:49;:::i;:::-;5236:59;;;5314:36;5345:3;5334:9;5330:19;5314:36;:::i;:::-;5304:46;;4762:594;;;;;;;;:::o;5361:254::-;5426:6;5434;5487:2;5475:9;5466:7;5462:23;5458:32;5455:52;;;5503:1;5500;5493:12;5455:52;5526:29;5545:9;5526:29;:::i;:::-;5516:39;;5574:35;5605:2;5594:9;5590:18;5574:35;:::i;:::-;5564:45;;5361:254;;;;;:::o;5620:681::-;5791:2;5843:21;;;5913:13;;5816:18;;;5935:22;;;5762:4;;5791:2;6014:15;;;;5988:2;5973:18;;;5762:4;6057:218;6071:6;6068:1;6065:13;6057:218;;;6136:13;;-1:-1:-1;;;;;6132:62:17;6120:75;;6250:15;;;;6215:12;;;;6093:1;6086:9;6057:218;;;-1:-1:-1;6292:3:17;;5620:681;-1:-1:-1;;;;;;5620:681:17:o;6306:537::-;6401:6;6409;6417;6425;6478:3;6466:9;6457:7;6453:23;6449:33;6446:53;;;6495:1;6492;6485:12;6446:53;6518:29;6537:9;6518:29;:::i;:::-;6508:39;;6566:38;6600:2;6589:9;6585:18;6566:38;:::i;:::-;6556:48;;6651:2;6640:9;6636:18;6623:32;6613:42;;6706:2;6695:9;6691:18;6678:32;6733:18;6725:6;6722:30;6719:50;;;6765:1;6762;6755:12;6719:50;6788:49;6829:7;6820:6;6809:9;6805:22;6788:49;:::i;:::-;6778:59;;;6306:537;;;;;;;:::o;6848:260::-;6916:6;6924;6977:2;6965:9;6956:7;6952:23;6948:32;6945:52;;;6993:1;6990;6983:12;6945:52;7016:29;7035:9;7016:29;:::i;:::-;7006:39;;7064:38;7098:2;7087:9;7083:18;7064:38;:::i;7336:437::-;7415:1;7411:12;;;;7458;;;7479:61;;7533:4;7525:6;7521:17;7511:27;;7479:61;7586:2;7578:6;7575:14;7555:18;7552:38;7549:218;;;7623:77;7620:1;7613:88;7724:4;7721:1;7714:15;7752:4;7749:1;7742:15;7549:218;;7336:437;;;:::o;10207:184::-;10259:77;10256:1;10249:88;10356:4;10353:1;10346:15;10380:4;10377:1;10370:15;10807:184;10859:77;10856:1;10849:88;10956:4;10953:1;10946:15;10980:4;10977:1;10970:15;10996:125;11036:4;11064:1;11061;11058:8;11055:34;;;11069:18;;:::i;:::-;-1:-1:-1;11106:9:17;;10996:125::o;11471:128::-;11511:3;11542:1;11538:6;11535:1;11532:13;11529:39;;;11548:18;;:::i;:::-;-1:-1:-1;11584:9:17;;11471:128::o;13066:195::-;13105:3;13136:66;13129:5;13126:77;13123:103;;;13206:18;;:::i;:::-;-1:-1:-1;13253:1:17;13242:13;;13066:195::o;13266:447::-;13318:3;13356:5;13350:12;13383:6;13378:3;13371:19;13409:4;13438:2;13433:3;13429:12;13422:19;;13475:2;13468:5;13464:14;13496:1;13506:182;13520:6;13517:1;13514:13;13506:182;;;13585:13;;13600:6;13581:26;13569:39;;13628:12;;;;13663:15;;;;13542:1;13535:9;13506:182;;;-1:-1:-1;13704:3:17;;13266:447;-1:-1:-1;;;;;13266:447:17:o;13718:964::-;-1:-1:-1;;;;;14175:6:17;14171:55;14160:9;14153:74;14263:3;14258:2;14247:9;14243:18;14236:31;14134:4;14290:56;14341:3;14330:9;14326:19;14318:6;14290:56;:::i;:::-;14394:9;14386:6;14382:22;14377:2;14366:9;14362:18;14355:50;14428:43;14464:6;14456;14428:43;:::i;:::-;14502:2;14487:18;;14480:34;;;;-1:-1:-1;;14545:3:17;14530:19;;14523:35;;;;14595:22;;;14589:3;14574:19;;;14567:51;-1:-1:-1;14627:17:17;;14673:2;14661:15;;13718:964;-1:-1:-1;;;13718:964:17:o;18205:470::-;18384:3;18422:6;18416:13;18438:53;18484:6;18479:3;18472:4;18464:6;18460:17;18438:53;:::i;:::-;18554:13;;18513:16;;;;18576:57;18554:13;18513:16;18610:4;18598:17;;18576:57;:::i;:::-;18649:20;;18205:470;-1:-1:-1;;;;18205:470:17:o;20294:512::-;20488:4;-1:-1:-1;;;;;20598:2:17;20590:6;20586:15;20575:9;20568:34;20650:2;20642:6;20638:15;20633:2;20622:9;20618:18;20611:43;;20690:6;20685:2;20674:9;20670:18;20663:34;20733:3;20728:2;20717:9;20713:18;20706:31;20754:46;20795:3;20784:9;20780:19;20772:6;20754:46;:::i;:::-;20746:54;20294:512;-1:-1:-1;;;;;;20294:512:17:o;20811:249::-;20880:6;20933:2;20921:9;20912:7;20908:23;20904:32;20901:52;;;20949:1;20946;20939:12;20901:52;20981:9;20975:16;21000:30;21024:5;21000:30;:::i;21835:184::-;21887:77;21884:1;21877:88;21984:4;21981:1;21974:15;22008:4;22005:1;21998:15;22024:120;22064:1;22090;22080:35;;22095:18;;:::i;:::-;-1:-1:-1;22129:9:17;;22024:120::o;22149:112::-;22181:1;22207;22197:35;;22212:18;;:::i;:::-;-1:-1:-1;22246:9:17;;22149:112::o

Swarm Source

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