ETH Price: $3,346.38 (-1.26%)

Token

SAN Origin (SAN)
 

Overview

Max Total Supply

10,000 SAN

Holders

1,608

Market

Volume (24H)

0.0159 ETH

Min Price (24H)

$53.21 @ 0.015900 ETH

Max Price (24H)

$53.21 @ 0.015900 ETH
Balance
1 SAN
0xf317a240b7abf06ccc0d0f7176566007c319fb9c
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
SANOrigin

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 33333 runs

Other Settings:
default evmVersion
File 1 of 23 : SANOrigin.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;

import "./SAN721.sol";
import "./SANSoulbindable.sol";

/**                       ███████╗ █████╗ ███╗   ██╗
 *                        ██╔════╝██╔══██╗████╗  ██║
 *                        ███████╗███████║██╔██╗ ██║
 *                        ╚════██║██╔══██║██║╚██╗██║
 *                        ███████║██║  ██║██║ ╚████║
 *                        ╚══════╝╚═╝  ╚═╝╚═╝  ╚═══╝
 *                                                     
 *                              █████████████╗
 *                              ╚════════════╝
 *                               ███████████╗
 *                               ╚══════════╝
 *                            █████████████████╗
 *                            ╚════════════════╝
 *                                                     
 *                 ██████╗ ██████╗ ██╗ ██████╗ ██╗███╗   ██╗
 *                ██╔═══██╗██╔══██╗██║██╔════╝ ██║████╗  ██║
 *                ██║   ██║██████╔╝██║██║  ███╗██║██╔██╗ ██║
 *                ██║   ██║██╔══██╗██║██║   ██║██║██║╚██╗██║
 *                ╚██████╔╝██║  ██║██║╚██████╔╝██║██║ ╚████║
 *                 ╚═════╝ ╚═╝  ╚═╝╚═╝ ╚═════╝ ╚═╝╚═╝  ╚═══╝
 *                                                     
 * @title SAN Origin | 三 | Soulbindable NFT
 * @author Aaron Hanson <[email protected]> @CoffeeConverter
 * @notice https://sansound.io/
 */
contract SANOrigin is SAN721, SANSoulbindable {

    bytes32 public constant     ___SUNCORE___    =  "Suncore Light Industries";
    bytes32 public constant      ___SANJI___     =  "The Perfect Creation";
    bytes32 public constant       ___SAN___      =  "The Sound of Web3";
    bytes32 public constant        __XIN__       =  keccak256(abi.encodePacked(
    /*                              \???/
                                     \?/
                                      '
    */
                                ___SUNCORE___,
                                 ___SANJI___,
                                  ___SAN___
    ));/*                          __XIN__
                                    \333/
                                     \3/
                                      '
    */
    uint256 public constant       _S_O_R_A_      =  ((((((((0x000e77154)
                                                    << 33 | 0x0de317498)
                                                    << 33 | 0x1d07b6070)
                                                    << 33 | 0x1f061e54f)
                                                    << 33 | 0x14bf0daef)
                                                    << 33 | 0x16635c817)
                                                    << 33 | 0x0ad6c9a0b)
                                                    << 33 | 0x199a0adf2);
    uint256 public constant MAX_LEVEL_FOUR_SOULBINDS =
        uint256(__XIN__) ^ _S_O_R_A_;
    uint256 public levelFourSoulbindsLeft = MAX_LEVEL_FOUR_SOULBINDS;
    bool public soulbindingEnabled;
    mapping(uint256 => SoulboundLevel) public tokenLevel;
    mapping(SoulboundLevel => uint256) public levelPrice;
    mapping(address => uint256) public userSoulbindCredits;

    constructor(
        string memory _name,
        string memory _symbol,
        uint256 _startingTokenID,
        address _couponSigner,
        string memory _contractURI,
        string memory _baseURI,
        uint256[] memory _levelPrices
    )
        SAN721(
            _name,
            _symbol,
            _startingTokenID,
            _couponSigner,
            _contractURI,
            _baseURI
        )
    {
        levelPrice[SoulboundLevel.One]   = _levelPrices[0];
        levelPrice[SoulboundLevel.Two]   = _levelPrices[1];
        levelPrice[SoulboundLevel.Three] = _levelPrices[2];
        levelPrice[SoulboundLevel.Four]  = _levelPrices[3];
    }

    function soulbind(
        uint256 _tokenID,
        SoulboundLevel _newLevel
    )
        external
        payable
    {
        SoulboundLevel curLevel = tokenLevel[_tokenID];

        if (ownerOf(_tokenID) != _msgSender()) revert TokenNotOwned();
        if (!soulbindingEnabled) revert SoulbindingDisabled();
        if (curLevel >= _newLevel) revert LevelAlreadyReached();

        unchecked {
            uint256 price = levelPrice[_newLevel] - levelPrice[curLevel];
            uint256 credits = userSoulbindCredits[_msgSender()];
            if (credits == 0) {
                if (msg.value != price) revert IncorrectPaymentAmount();
            }
            else if (price <= credits) {
                if (msg.value > 0) revert IncorrectPaymentAmount();
                userSoulbindCredits[_msgSender()] -= price;
            }
            else {
                if (msg.value != price - credits)
                    revert IncorrectPaymentAmount();
                userSoulbindCredits[_msgSender()] = 0;
            }
        }

        if (_newLevel == SoulboundLevel.Four) {
            if (levelFourSoulbindsLeft == 0) revert LevelFourFull();
            unchecked {
                levelFourSoulbindsLeft--;
            }
        }

        tokenLevel[_tokenID] = _newLevel;
        _approve(address(0), _tokenID);

        emit SoulBound(
            _msgSender(),
            _tokenID,
            _newLevel,
            curLevel
        );
    }

    function _The_static_percolates_our_unlit_sky___()
        external pure returns (bytes32 n) {n = hex"734a4e6b3179";}

    function __Still_tension_is_exhausted_by_our_pain___()
        external pure returns (bytes32 m) {m = hex"7068617634696e";}

    function setSoulbindingEnabled(
        bool _isEnabled
    )
        external
        onlyOwner
    {
        soulbindingEnabled = _isEnabled;
        emit SoulbindingEnabled(_isEnabled);
    }

    function ___As_a_warm_purr_prepares_to_amplify___()
        external pure returns (bytes32 l) {l = hex"614a6d31706c6956664479";}

    function ____Our_apprehensions_cross_a_sonic_plane___()
        external pure returns (bytes32 k) {k = hex"706e6c61666e7265";}

    function addUserSoulbindCredits(
        address[] calldata _accounts,
        uint256[] calldata _credits
    )
        external
        onlyOwner
    {
        unchecked {
            uint256 maxCredit = levelPrice[SoulboundLevel.Three];
            for (uint i; i < _accounts.length; i++) {
                if (_credits[i] > maxCredit) revert InvalidSoulbindCredit();
                userSoulbindCredits[_accounts[i]] += _credits[i];
            }
        }
    }

    function _____Initiating_first_transmissions_now___()
        external pure returns (bytes32 j) {j = hex"6e46466f5777";}

    function ______At_last_our_pitch_black_planet_twinkles_to___()
        external pure returns (bytes32 i) {i = hex"744a4c6f6f";}

    function setLevelPrices(
        uint256[] calldata _newPrices
    )
        external
        onlyOwner
    {
        if (_newPrices.length != 4) revert InvalidNumberOfLevelPrices();

        unchecked {
            uint256 previousPrice;
            for (uint i; i < 4; i++) {
                if (_newPrices[i] <= previousPrice)
                    revert LevelPricesNotIncreasing();
                levelPrice[SoulboundLevel(i + 1)] = _newPrices[i];
                previousPrice = _newPrices[i];
            }
        }
    }

    function _______We_waited_for_permission_to_avow___()
        external pure returns (bytes32 h) {h = hex"6132766f4c3577";}

    function ________That_seizing_silence_take_an_altered_hue___()
        external pure returns (bytes32 g) {g = hex"686145756e65";}

    function userMaxSoulboundLevel(
        address _owner
    )
        external
        view
        returns (SoulboundLevel)
    {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) return SoulboundLevel.Unbound;

        SoulboundLevel userMaxLevel;
        unchecked {
            for (uint i; i < tokenCount; i++) {
                SoulboundLevel level =
                    tokenLevel[tokenOfOwnerByIndex(_owner, i)];
                if (level > userMaxLevel) userMaxLevel = level;
            }
        }
        return userMaxLevel;
    }

    function _________Baptized_to_the_tune_of_our_refound_rite___()
        external pure returns (bytes32 f) {f = hex"72694a74345665";}

    function __________Though_mute_shade_has_reborn_our_infancy___()
        external pure returns (bytes32 e) {e = hex"696e516678616e63546779";}

    function tokenURI(
        uint256 _tokenID
    )
        public
        view
        override
        returns (string memory)
    {
        if (!_exists(_tokenID)) revert TokenDoesNotExist();
        if (!isRevealed) return baseURI;
        return string(
            abi.encodePacked(
                baseURI,
                Strings.toString(uint256(tokenLevel[_tokenID])),
                "/",
                Strings.toString(_tokenID),
                ".json"
            )
        );
    }

    function ___________We_rise_from_ruins_of_eternal_night___()
        external pure returns (bytes32 d) {d = hex"6e4869674c683174";}

    function ____________Saved_solely_by_Suncore_Light_Industry___()
        external pure returns (bytes32 c) {c = hex"496e4d7364754c7374727779";}

    function approve(
        address to,
        uint256 tokenId
    )
        public
        override(IERC721, ERC721)
    {
        if (tokenLevel[tokenId] > SoulboundLevel.Unbound)
            revert CannotApproveSoulboundToken();
        super.approve(to, tokenId);
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    )
        internal
        override
    {
        if (tokenLevel[tokenId] > SoulboundLevel.Unbound)
            revert CannotTransferSoulboundToken();
        super._beforeTokenTransfer(from, to, tokenId);
    }

/*33333333333333333333333333333333333333333333333333333333333333333333333333333
3333333333333333333333333333333333333333333333333333333333333333333333333333333
33333333333333333333333333333333333KAKUBERRY33333333333333333333333333333333333
3333333333333333333333333333333333333333333333333333333333333333333333333333333
3333333333333333333333333333333333333333333333333333333333333333333333333333333
33333333333333333333333333333333333CROMAGNUS33333333333333333333333333333333333
3333333333333333333333333333333333333333333333333333333333333333333333333333333
3333333333333333333333333333333333333333333333333333333333333333333333333333333
333333333333333333333333333333333333IMCMPLX333333333333333333333333333333333333
3333333333333333333333333333333333333333333333333333333333333333333333333333333
3333333333333333333333333333333333333333333333333333333333333333333333333333333
3333333333333333333333333333xc,''''''''''''''''''''';d3333333333333333333333333
33333333333333333333333333xc.                      .:x3333333333333333333333333
333333333333333333333333x:.                      .:x333333333333333333333333333
3333333333333333333333xc.                      .:x33333333333333333333333333333
333333333333333333333l.                      .:x3333333333333333333333333333333
333333333333333333333;                     .:x33xccx333333333333333333333333333
333333333333333333333;                   .:x33d;.  .:x3333333333333333333333333
333333333333333333333;                .':x33d;.      .:x33333333333333333333333
333333333333333333333:              .:x333d;.          .:x333333333333333333333
333333333333333333333x;.          .:x333x;.              c333333333333333333333
33333333333333333333333d;.      .:x33d;'.                :333333333333333333333
3333333333333333333333333d;.  .:x33x;.                   :333333333333333333333
333333333333333333333333333dccx33x;.                     :333333333333333333333
3333333333333333333333333333333x;.                      .3333333333333333333333
33333333333333333333333333333d;.                      .ck3333333333333333333333
333333333333333333333333333x:.                      .ck333333333333333333333333
3333333333333333333333333x:.                      .cx33333333333333333333333333
3333333333333333333333333l,,,,,,,,,,,,,,,,,,,,,,,cx3333333333333333333333333333
3333333333333333333333333333333333333333333333333333333333333333333333333333333
33333333333333333333333333333333333333THE33333333333333333333333333333333333333
3333333333333333333333333333333333333333333333333333333333333333333333333333333
3333333333333333333333333333333333333SOUND3333333333333333333333333333333333333
3333333333333333333333333333333333333333333333333333333333333333333333333333333
33333333333333333333333333333333333333OF333333333333333333333333333333333333333
3333333333333333333333333333333333333333333333333333333333333333333333333333333
33333333333333333333333333333333333333WEB33333333333333333333333333333333333333
3333333333333333333333333333333333333333333333333333333333333333333333333333333
3333333333333333333333333333333333333THREE3333333333333333333333333333333333333
33333333333333333333333333333333333333333333333333333333333333333333333333333*/

    function _____________FOR_YEARS_OUR_SENSES_WERE_UNDER_ATTACK___()
        external pure returns (bytes32 DIC) {DIC = hex"4150545054704143514b";}

    function ______________UNTIL_NEW_SENSORS_WERE_TRANSPORTED_BACK___()
        external pure returns (bytes32 sfpi) {sfpi = hex"4250416d43514b";}

}//                             三

File 2 of 23 : SAN721.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;

import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./ISAN721.sol";
import "./utils/Ownable.sol";
import "./token/ERC721Enumerable.sol";
import "./token/ERC2981ContractWideRoyalties.sol";
import "./token/TokenRescuer.sol";

/**
 * @title SAN721
 * @author Aaron Hanson <[email protected]> @CoffeeConverter
 */
abstract contract SAN721 is
    ISAN721,
    Ownable,
    ERC721Enumerable,
    ERC2981ContractWideRoyalties,
    TokenRescuer
{
    /// The maximum token supply.
    uint256 public constant MAX_SUPPLY = 10000;

    /// The maximum number of mints per address
    uint256 public constant MAX_MINT_PER_ADDRESS = 3;

    /// The maximum ERC-2981 royalties percentage (two decimals).
    uint256 public constant MAX_ROYALTIES_PCT = 930; // 9.3%

    /// The base URI for token metadata.
    string public baseURI;

    /// The contract URI for contract-level metadata.
    string public contractURI;

    /// Whether the tokenURI() method returns fully revealed tokenURIs
    bool public isRevealed = true;

    /// The token sale state (0=Paused, 1=Whitelist, 2=Public).
    SaleState public saleState;

    /// The address which signs the mint coupons.
    address public couponSigner;

    /**
     * @notice The total tokens minted by an address.
     */
    mapping(address => uint256) public userMinted;

    /**
     * @notice Reverts if the current sale state is not `_saleState`.
     * @param _saleState The allowed sale state.
     */
    modifier onlyInSaleState(SaleState _saleState) {
        if (saleState != _saleState) revert SaleStateNotActive();
        _;
    }

    constructor(
        string memory _name,
        string memory _symbol,
        uint256 _startingTokenID,
        address _couponSigner,
        string memory _contractURI,
        string memory _baseURI
    )
        ERC721(_name, _symbol, _startingTokenID)
    {
        couponSigner = _couponSigner;
        contractURI = _contractURI;
        baseURI = _baseURI;
    }

    /**
     * @notice Mints `_mintAmount` tokens if the signature is valid.
     * @param _mintAmount The number of tokens to mint.
     * @param _userMaxWhitelist The max tokens this user can mint in whitelist.
     * @param _signature The signature to be validated.
     */
    function mintWhitelist(
        uint256 _mintAmount,
        uint256 _userMaxWhitelist,
        bytes calldata _signature
    )
        external
        onlyInSaleState(SaleState.Whitelist)
    {
        if (!isValidSignature(
            _signature,
            _msgSender(),
            block.chainid,
            address(this),
            _userMaxWhitelist
        )) revert InvalidSignature();

        _mint(_mintAmount);

        if (userMinted[_msgSender()] > _userMaxWhitelist)
            revert ExceedsMintAllocation();
    }

    /**
     * @notice Mints `_mintAmount` tokens if the signature is valid.
     * @param _mintAmount The number of tokens to mint.
     */
    function mintPublic(
        uint256 _mintAmount
    )
        external
        onlyInSaleState(SaleState.Public)
    {
        _cappedMint(_mintAmount);
    }

    /**
     * @notice (only owner) Mints `_mintAmount` tokens to the caller.
     * @param _mintAmount The number of tokens to mint.
     */
    function mintPromo(
        uint256 _mintAmount
    )
        external
        onlyOwner
    {
        _mint(_mintAmount);
    }

    /**
     * @notice (only owner) Sets the saleState to `_newSaleState`.
     * @param _newSaleState The new sale state
     * (0=Paused, 1=Whitelist, 2=Public).
     */
    function setSaleState(
        SaleState _newSaleState
    )
        external
        onlyOwner
    {
        saleState = _newSaleState;
        emit SaleStateChanged(_newSaleState);
    }

    /**
     * @notice (only owner) Sets the coupon signer address.
     * @param _newCouponSigner The new coupon signer address.
     */
    function setCouponSigner(
        address _newCouponSigner
    )
        external
        onlyOwner
    {
        couponSigner = _newCouponSigner;
    }

    /**
     * @notice (only owner) Sets the contract URI for contract metadata.
     * @param _newContractURI The new contract URI.
     */
    function setContractURI(
        string calldata _newContractURI
    )
        external
        onlyOwner
    {
        contractURI = _newContractURI;
    }

    /**
     * @notice (only owner) Sets the base URI for token metadata.
     * @param _newBaseURI The new base URI.
     * @param _doReveal If true, this reveals the full tokenURIs.
     */
    function setBaseURI(
        string calldata _newBaseURI,
        bool _doReveal
    )
        external
        onlyOwner
    {
        baseURI = _newBaseURI;
        isRevealed = _doReveal;
    }

    /**
     * @notice (only owner) Withdraws all ether to the caller.
     */
    function withdrawAll()
        external
        onlyOwner
    {
        withdraw(address(this).balance);
    }

    /**
     * @notice (only owner) Withdraws `_weiAmount` wei to the caller.
     * @param _weiAmount The amount of ether (in wei) to withdraw.
     */
    function withdraw(
        uint256 _weiAmount
    )
        public
        onlyOwner
    {
        (bool success, ) = payable(_msgSender()).call{value: _weiAmount}("");
        if (!success) revert FailedToWithdraw();
    }

    /**
     * @notice (only owner) Sets ERC-2981 royalties recipient and percentage.
     * @param _recipient The address to which to send royalties.
     * @param _value The royalties percentage (two decimals, e.g. 1000 = 10%).
     */
    function setRoyalties(
        address _recipient,
        uint256 _value
    )
        external
        onlyOwner
    {
        if (_value > MAX_ROYALTIES_PCT) revert ExceedsMaxRoyaltiesPercentage();

        _setRoyalties(
            _recipient,
            _value
        );
    }

    /**
     * @notice Transfers multiple tokens from `_from` to `_to`.
     * @param _from The address from which to transfer tokens.
     * @param _to The address to which to transfer tokens.
     * @param _tokenIDs An array of token IDs to transfer.
     */
    function batchTransferFrom(
        address _from,
        address _to,
        uint256[] calldata _tokenIDs
    )
        external
    {
        unchecked {
            for (uint256 i = 0; i < _tokenIDs.length; i++) {
                transferFrom(_from, _to, _tokenIDs[i]);
            }
        }
    }

    /**
     * @notice Safely transfers multiple tokens from `_from` to `_to`.
     * @param _from The address from which to transfer tokens.
     * @param _to The address to which to transfer tokens.
     * @param _tokenIDs An array of token IDs to transfer.
     */
    function batchSafeTransferFrom(
        address _from,
        address _to,
        uint256[] calldata _tokenIDs,
        bytes calldata _data
    )
        external
    {
        unchecked {
            for (uint256 i = 0; i < _tokenIDs.length; i++) {
                safeTransferFrom(_from, _to, _tokenIDs[i], _data);
            }
        }
    }

    /**
     * @notice Determines whether `_account` owns all token IDs `_tokenIDs`.
     * @param _account The account to be checked for token ownership.
     * @param _tokenIDs An array of token IDs to be checked for ownership.
     * @return True if `_account` owns all token IDs `_tokenIDs`, else false.
     */
    function isOwnerOf(
        address _account,
        uint256[] calldata _tokenIDs
    )
        external
        view
        returns (bool)
    {
        unchecked {
            for (uint256 i; i < _tokenIDs.length; ++i) {
                if (ownerOf(_tokenIDs[i]) != _account)
                    return false;
            }
        }

        return true;
    }

    /**
     * @notice Returns an array of all token IDs owned by `_owner`.
     * @param _owner The address for which to return all owned token IDs.
     * @return An array of all token IDs owned by `_owner`.
     */
    function walletOfOwner(
        address _owner
    )
        public
        view
        returns (uint256[] memory)
    {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) return new uint256[](0);

        uint256[] memory tokenIDs = new uint256[](tokenCount);
        unchecked {
            for (uint256 i; i < tokenCount; i++) {
                tokenIDs[i] = tokenOfOwnerByIndex(_owner, i);
            }
        }
        return tokenIDs;
    }

    /**
     * @notice Checks validity of the signature, sender, and mintAmount.
     * @param _signature The signature to be validated.
     * @param _sender The address part of the signed message.
     * @param _chainId The chain ID part of the signed message.
     * @param _contract The contract address part of the signed message.
     * @param _userMaxWhitelist The user max whitelist part of the signed message.
     */
    function isValidSignature(
        bytes calldata _signature,
        address _sender,
        uint256 _chainId,
        address _contract,
        uint256 _userMaxWhitelist
    )
        public
        view
        returns (bool)
    {
        bytes32 hash = ECDSA.toEthSignedMessageHash(
            keccak256(
                abi.encodePacked(
                    _sender,
                    _chainId,
                    _contract,
                    _userMaxWhitelist
                )
            )
        );
        return couponSigner == ECDSA.recover(hash, _signature);
    }

    /**
     * @inheritdoc ERC165
     */
    function supportsInterface(
        bytes4 _interfaceId
    )
        public
        view
        override (ERC721Enumerable, ERC2981Base)
        returns (bool)
    {
        return super.supportsInterface(_interfaceId);
    }

    function _cappedMint(
        uint256 _mintAmount
    )
        private
    {
        _mint(_mintAmount);

        if (userMinted[_msgSender()] > MAX_MINT_PER_ADDRESS)
            revert ExceedsMaxMintPerAddress();
    }

    /**
     * @notice Mints `_mintAmount` tokens to caller, emits actual token IDs.
     */
    function _mint(
        uint256 _mintAmount
    )
        private
    {
        uint256 totalSupply = _owners.length;
        unchecked {
            if (totalSupply + _mintAmount > MAX_SUPPLY)
                revert ExceedsMaxSupply();
            userMinted[_msgSender()] += _mintAmount;
            for (uint256 i; i < _mintAmount; i++) {
                _owners.push(_msgSender());
                emit Transfer(
                    address(0),
                    _msgSender(),
                    _startingTokenID + totalSupply + i
                );
            }
        }
    }
}

File 3 of 23 : SANSoulbindable.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;

/**
 * @title SANSoulbindable
 * @author Aaron Hanson <[email protected]> @CoffeeConverter
 */
interface SANSoulbindable {
    enum SoulboundLevel { Unbound, One, Two, Three, Four }

    event SoulBound(
        address indexed soulAccount,
        uint256 indexed tokenID,
        SoulboundLevel indexed newLevel,
        SoulboundLevel previousLevel
    );

    event SoulbindingEnabled(
        bool isEnabled
    );

    error CannotApproveSoulboundToken();
    error CannotTransferSoulboundToken();
    error InvalidNumberOfLevelPrices();
    error InvalidSoulbindCredit();
    error SoulbindingDisabled();
    error LevelAlreadyReached();
    error LevelFourFull();
    error LevelPricesNotIncreasing();
}

File 4 of 23 : ISAN721.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;

interface ISAN721 {
    enum SaleState {
        Paused,    // 0
        Whitelist, // 1
        Public     // 2
    }

    event SaleStateChanged(
        SaleState newSaleState
    );

    error ExceedsMaxMintPerAddress();
    error ExceedsMaxRoyaltiesPercentage();
    error ExceedsMaxSupply();
    error ExceedsMintAllocation();
    error FailedToWithdraw();
    error IncorrectPaymentAmount();
    error InvalidSignature();
    error SaleStateNotActive();
    error TokenDoesNotExist();
    error TokenNotOwned();
}

File 5 of 23 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;

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

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

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(
        uint256 index
    )
        public
        view
        virtual
        override
        returns (uint256)
    {
        require(
            index < _owners.length,
            "ERC721Enumerable: global index out of bounds"
        );
        unchecked {
            return index + _startingTokenID;
        }
    }

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

        uint count;
        unchecked {
            for (uint i; i < _owners.length; i++) {
                if (owner == _owners[i]) {
                    if (count == index) return _startingTokenID + i;
                    else count++;
                }
            }
        }

        revert("ERC721Enumerable: owner index out of bounds");
    }
}

File 6 of 23 : ERC2981ContractWideRoyalties.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

import "./ERC2981Base.sol";

/// @dev This is a contract used to add ERC2981 support to ERC721 and 1155
/// @dev This implementation has the same royalties for each and every tokens
abstract contract ERC2981ContractWideRoyalties is ERC2981Base {
	RoyaltyInfo private _royalties;

	/// @dev Sets token royalties
	/// @param _recipient recipient of the royalties
	/// @param _value percentage (using 2 decimals - 10000 = 100, 0 = 0)
	function _setRoyalties(
		address _recipient,
		uint256 _value
	)
		internal
	{
		// unneeded since the derived contract has a lower _value limit
		// require(_value <= 10000, "ERC2981Royalties: Too high");
		_royalties = RoyaltyInfo(_recipient, uint24(_value));
	}

	/// @inheritdoc	IERC2981Royalties
	function royaltyInfo(
		uint256,
		uint256 _value
	)
		external
		view
		override
		returns (address receiver, uint256 royaltyAmount)
	{
		RoyaltyInfo memory royalties = _royalties;
		receiver = royalties.recipient;
		royaltyAmount = (_value * royalties.amount) / 10000;
	}
}

File 7 of 23 : Ownable.sol
// SPDX-License-Identifier: MIT
// Based on OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
// With renounceOwnership() removed

pragma solidity ^0.8.12;

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 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 8 of 23 : TokenRescuer.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;

import "./IStuckTokens.sol";
import "./SafeERC20.sol";
import "../utils/Ownable.sol";

error ArrayLengthMismatch();

contract TokenRescuer is Ownable {
    using SafeERC20 for IStuckERC20;

    function rescueBatchERC20(
        address _token,
        address[] calldata _receivers,
        uint256[] calldata _amounts
    )
        external
        onlyOwner
    {
        if (_receivers.length != _amounts.length) revert ArrayLengthMismatch();
        unchecked {
            for (uint i; i < _receivers.length; i += 1) {
                _rescueERC20(_token, _receivers[i], _amounts[i]);
            }
        }
    }

    function rescueERC20(
        address _token,
        address _receiver,
        uint256 _amount
    )
        external
        onlyOwner
    {
        _rescueERC20(_token, _receiver, _amount);
    }

    function rescueBatchERC721(
        address _token,
        address[] calldata _receivers,
        uint256[][] calldata _tokenIDs
    )
        external
        onlyOwner
    {
        if (_receivers.length != _tokenIDs.length) revert ArrayLengthMismatch();
        unchecked {
            for (uint i; i < _receivers.length; i += 1) {
                uint256[] memory tokenIDs = _tokenIDs[i];
                for (uint j; j < tokenIDs.length; j += 1) {
                    _rescueERC721(_token, _receivers[i], tokenIDs[j]);
                }
            }
        }
    }

    function rescueERC721(
        address _token,
        address _receiver,
        uint256 _tokenID
    )
        external
        onlyOwner
    {
        _rescueERC721(_token, _receiver, _tokenID);
    }

    function _rescueERC20(
        address _token,
        address _receiver,
        uint256 _amount
    )
        private
    {
        IStuckERC20(_token).safeTransfer(_receiver, _amount);
    }

    function _rescueERC721(
        address _token,
        address _receiver,
        uint256 _tokenID
    )
        private
    {
        IStuckERC721(_token).safeTransferFrom(
            address(this),
            _receiver,
            _tokenID
        );
    }
}

File 9 of 23 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.3) (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) {
        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.
            /// @solidity memory-safe-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 {
            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 = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 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 10 of 23 : ERC721.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "../utils/Context.sol";
import "../utils/Address.sol";

abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    string private _name;
    string private _symbol;
    uint256 internal immutable _startingTokenID;

    // Mapping from token ID to owner address
    address[] internal _owners;

    mapping(uint256 => address) private _tokenApprovals;
    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_,
        uint256 startingTokenID_
    ) {
        _name = name_;
        _symbol = symbol_;
        _startingTokenID = startingTokenID_;
    }

    function _internalTokenID(
        uint256 externalTokenID_
    )
        private
        view
        returns (uint256)
    {
        require(
            externalTokenID_ >= _startingTokenID,
            "ERC721: owner query for nonexistent token"
        );

        unchecked {
            return externalTokenID_ - _startingTokenID;
        }
    }

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

        uint count;
        for (uint i; i < _owners.length; ++i) {
            if (owner == _owners[i]) ++count;
        }
        return count;
    }

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        if (tokenId < _startingTokenID) return false;

        uint256 internalID = _internalTokenID(tokenId);
        return internalID < _owners.length && _owners[internalID] != address(0);
    }

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

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

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

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

        _beforeTokenTransfer(address(0), to, tokenId);
        _owners.push(to);

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

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

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

        // Clear approvals
        _approve(address(0), tokenId);
        _owners[_internalTokenID(tokenId)] = address(0);

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

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

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);
        _owners[_internalTokenID(tokenId)] = to;

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 11 of 23 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 12 of 23 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.1;

library Address {
    function isContract(address account) internal view returns (bool) {
        return account.code.length > 0;
    }

    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

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

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

    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 13 of 23 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }
}

File 14 of 23 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 15 of 23 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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;

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

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

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

File 16 of 23 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 17 of 23 : 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 18 of 23 : 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 19 of 23 : 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 20 of 23 : ERC2981Base.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "./IERC2981Royalties.sol";

/// @dev This is a contract used to add ERC2981 support to ERC721 and 1155
abstract contract ERC2981Base is ERC165, IERC2981Royalties {
	struct RoyaltyInfo {
		address recipient;
		uint24 amount;
	}

	/// @inheritdoc	ERC165
	function supportsInterface(bytes4 interfaceId)
		public
		view
		virtual
		override
		returns (bool)
	{
		return
			interfaceId == type(IERC2981Royalties).interfaceId ||
			super.supportsInterface(interfaceId);
	}
}

File 21 of 23 : IERC2981Royalties.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

/// @title IERC2981Royalties
/// @dev Interface for the ERC2981 - Token Royalty standard
interface IERC2981Royalties {
	/// @notice Called with the sale price to determine how much royalty
	///         is owed and to whom.
	/// @param _tokenId - the NFT asset queried for royalty information
	/// @param _value - the sale price of the NFT asset specified by _tokenId
	/// @return _receiver - address of who should be sent the royalty payment
	/// @return _royaltyAmount - the royalty payment amount for value sale price
	function royaltyInfo(uint256 _tokenId, uint256 _value)
		external
		view
		returns (address _receiver, uint256 _royaltyAmount);
}

File 22 of 23 : IStuckTokens.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;

interface IStuckERC20 {
    function transfer(
        address to,
        uint256 amount
    ) external returns (bool);
}

interface IStuckERC721 {
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;
}

File 23 of 23 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "./IStuckTokens.sol";
import "./../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IStuckERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IStuckERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_startingTokenID","type":"uint256"},{"internalType":"address","name":"_couponSigner","type":"address"},{"internalType":"string","name":"_contractURI","type":"string"},{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"uint256[]","name":"_levelPrices","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ArrayLengthMismatch","type":"error"},{"inputs":[],"name":"CannotApproveSoulboundToken","type":"error"},{"inputs":[],"name":"CannotTransferSoulboundToken","type":"error"},{"inputs":[],"name":"ExceedsMaxMintPerAddress","type":"error"},{"inputs":[],"name":"ExceedsMaxRoyaltiesPercentage","type":"error"},{"inputs":[],"name":"ExceedsMaxSupply","type":"error"},{"inputs":[],"name":"ExceedsMintAllocation","type":"error"},{"inputs":[],"name":"FailedToWithdraw","type":"error"},{"inputs":[],"name":"IncorrectPaymentAmount","type":"error"},{"inputs":[],"name":"InvalidNumberOfLevelPrices","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"InvalidSoulbindCredit","type":"error"},{"inputs":[],"name":"LevelAlreadyReached","type":"error"},{"inputs":[],"name":"LevelFourFull","type":"error"},{"inputs":[],"name":"LevelPricesNotIncreasing","type":"error"},{"inputs":[],"name":"SaleStateNotActive","type":"error"},{"inputs":[],"name":"SoulbindingDisabled","type":"error"},{"inputs":[],"name":"TokenDoesNotExist","type":"error"},{"inputs":[],"name":"TokenNotOwned","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum ISAN721.SaleState","name":"newSaleState","type":"uint8"}],"name":"SaleStateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"soulAccount","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenID","type":"uint256"},{"indexed":true,"internalType":"enum SANSoulbindable.SoulboundLevel","name":"newLevel","type":"uint8"},{"indexed":false,"internalType":"enum SANSoulbindable.SoulboundLevel","name":"previousLevel","type":"uint8"}],"name":"SoulBound","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isEnabled","type":"bool"}],"name":"SoulbindingEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_LEVEL_FOUR_SOULBINDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PER_ADDRESS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_ROYALTIES_PCT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_S_O_R_A_","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_The_static_percolates_our_unlit_sky___","outputs":[{"internalType":"bytes32","name":"n","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"__Still_tension_is_exhausted_by_our_pain___","outputs":[{"internalType":"bytes32","name":"m","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"__XIN__","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"___As_a_warm_purr_prepares_to_amplify___","outputs":[{"internalType":"bytes32","name":"l","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"___SANJI___","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"___SAN___","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"___SUNCORE___","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"____Our_apprehensions_cross_a_sonic_plane___","outputs":[{"internalType":"bytes32","name":"k","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"_____Initiating_first_transmissions_now___","outputs":[{"internalType":"bytes32","name":"j","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"______At_last_our_pitch_black_planet_twinkles_to___","outputs":[{"internalType":"bytes32","name":"i","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"_______We_waited_for_permission_to_avow___","outputs":[{"internalType":"bytes32","name":"h","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"________That_seizing_silence_take_an_altered_hue___","outputs":[{"internalType":"bytes32","name":"g","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"_________Baptized_to_the_tune_of_our_refound_rite___","outputs":[{"internalType":"bytes32","name":"f","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"__________Though_mute_shade_has_reborn_our_infancy___","outputs":[{"internalType":"bytes32","name":"e","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"___________We_rise_from_ruins_of_eternal_night___","outputs":[{"internalType":"bytes32","name":"d","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"____________Saved_solely_by_Suncore_Light_Industry___","outputs":[{"internalType":"bytes32","name":"c","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"_____________FOR_YEARS_OUR_SENSES_WERE_UNDER_ATTACK___","outputs":[{"internalType":"bytes32","name":"DIC","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"______________UNTIL_NEW_SENSORS_WERE_TRANSPORTED_BACK___","outputs":[{"internalType":"bytes32","name":"sfpi","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address[]","name":"_accounts","type":"address[]"},{"internalType":"uint256[]","name":"_credits","type":"uint256[]"}],"name":"addUserSoulbindCredits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIDs","type":"uint256[]"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"batchSafeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIDs","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"couponSigner","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":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256[]","name":"_tokenIDs","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_signature","type":"bytes"},{"internalType":"address","name":"_sender","type":"address"},{"internalType":"uint256","name":"_chainId","type":"uint256"},{"internalType":"address","name":"_contract","type":"address"},{"internalType":"uint256","name":"_userMaxWhitelist","type":"uint256"}],"name":"isValidSignature","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"levelFourSoulbindsLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum SANSoulbindable.SoulboundLevel","name":"","type":"uint8"}],"name":"levelPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintPromo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"uint256","name":"_userMaxWhitelist","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"mintWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address[]","name":"_receivers","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"rescueBatchERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address[]","name":"_receivers","type":"address[]"},{"internalType":"uint256[][]","name":"_tokenIDs","type":"uint256[][]"}],"name":"rescueBatchERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"rescueERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_tokenID","type":"uint256"}],"name":"rescueERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"enum ISAN721.SaleState","name":"","type":"uint8"}],"stateMutability":"view","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":"_newBaseURI","type":"string"},{"internalType":"bool","name":"_doReveal","type":"bool"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newCouponSigner","type":"address"}],"name":"setCouponSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_newPrices","type":"uint256[]"}],"name":"setLevelPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum ISAN721.SaleState","name":"_newSaleState","type":"uint8"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isEnabled","type":"bool"}],"name":"setSoulbindingEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenID","type":"uint256"},{"internalType":"enum SANSoulbindable.SoulboundLevel","name":"_newLevel","type":"uint8"}],"name":"soulbind","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"soulbindingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenLevel","outputs":[{"internalType":"enum SANSoulbindable.SoulboundLevel","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenID","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"userMaxSoulboundLevel","outputs":[{"internalType":"enum SANSoulbindable.SoulboundLevel","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userSoulbindCredits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_weiAmount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6009805460ff191660011790557f53756e636f7265204c6967687420496e6475737472696573000000000000000060c0527f5468652050657266656374204372656174696f6e00000000000000000000000060e0527054686520536f756e64206f66205765623360781b61010052606060a0526101206040526021600b553480156200008a57600080fd5b5060405162005c5338038062005c53833981016040819052620000ad916200047c565b8686868686868585856000620000c4848262000608565b506001620000d3838262000608565b5060805250620000e5905033620002af565b6009805462010000600160b01b031916620100006001600160a01b03861602179055600862000115838262000608565b50600762000124828262000608565b5050505050505080600081518110620001415762000141620006d4565b6020026020010151600e600060016004811115620001635762000163620006ea565b6004811115620001775762000177620006ea565b815260200190815260200160002081905550806001815181106200019f576200019f620006d4565b6020026020010151600e600060026004811115620001c157620001c1620006ea565b6004811115620001d557620001d5620006ea565b81526020019081526020016000208190555080600281518110620001fd57620001fd620006d4565b6020026020010151600e6000600360048111156200021f576200021f620006ea565b6004811115620002335762000233620006ea565b815260200190815260200160002081905550806003815181106200025b576200025b620006d4565b6020026020010151600e60006004808111156200027c576200027c620006ea565b6004811115620002905762000290620006ea565b8152602001908152602001600020819055505050505050505062000700565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000342576200034262000301565b604052919050565b600082601f8301126200035c57600080fd5b81516001600160401b0381111562000378576200037862000301565b60206200038e601f8301601f1916820162000317565b8281528582848701011115620003a357600080fd5b60005b83811015620003c3578581018301518282018401528201620003a6565b506000928101909101919091529392505050565b80516001600160a01b0381168114620003ef57600080fd5b919050565b600082601f8301126200040657600080fd5b815160206001600160401b0382111562000424576200042462000301565b8160051b6200043582820162000317565b92835284810182019282810190878511156200045057600080fd5b83870192505b84831015620004715782518252918301919083019062000456565b979650505050505050565b600080600080600080600060e0888a0312156200049857600080fd5b87516001600160401b0380821115620004b057600080fd5b620004be8b838c016200034a565b985060208a0151915080821115620004d557600080fd5b620004e38b838c016200034a565b975060408a01519650620004fa60608b01620003d7565b955060808a01519150808211156200051157600080fd5b6200051f8b838c016200034a565b945060a08a01519150808211156200053657600080fd5b620005448b838c016200034a565b935060c08a01519150808211156200055b57600080fd5b506200056a8a828b01620003f4565b91505092959891949750929550565b600181811c908216806200058e57607f821691505b602082108103620005af57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200060357600081815260208120601f850160051c81016020861015620005de5750805b601f850160051c820191505b81811015620005ff57828155600101620005ea565b5050505b505050565b81516001600160401b0381111562000624576200062462000301565b6200063c8162000635845462000579565b84620005b5565b602080601f8311600181146200067457600084156200065b5750858301515b600019600386901b1c1916600185901b178555620005ff565b600085815260208120601f198616915b82811015620006a55788860151825594840194600190910190840162000684565b5085821015620006c45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b6080516155146200073f60003960008181611ae601528181611f11015281816132d6015281816139450152818161399b0152613a3201526155146000f3fe6080604052600436106105225760003560e01c806370a08231116102af578063b64b21ca11610179578063e79433f5116100d6578063efd0cbf91161008a578063f2fde38b1161006f578063f2fde38b14611188578063f3993d11146111a8578063faa982c3146111c857600080fd5b8063efd0cbf914611148578063f02678e91461116857600080fd5b8063e985e9c5116100bb578063e985e9c5146110af578063ecabdf7914611105578063ede9dddd1461113257600080fd5b8063e79433f51461107a578063e8a3d4851461109a57600080fd5b8063c49d29ae1161012d578063d028dbe711610112578063d028dbe714610fe6578063d750771d1461101a578063e39bf9501461104d57600080fd5b8063c49d29ae14610f93578063c87b56dd14610fc657600080fd5b8063b88d4fde1161015e578063b88d4fde14610f20578063b94562df14610f40578063bc0f391114610f6057600080fd5b8063b64b21ca14610e36578063b7c0791c14610e5657600080fd5b8063938e3d7b11610227578063a0bb807e116101db578063ab8ece8b116101c0578063ab8ece8b14610dc6578063b19f6b9814610df6578063b2118a8d14610e1657600080fd5b8063a0bb807e14610d73578063a22cb46514610da657600080fd5b8063999fc6441161020c578063999fc64414610d0a5780639b1a517314610d205780639bf0ba5614610d4057600080fd5b8063938e3d7b14610cd557806395d89b4114610cf557600080fd5b8063853828b61161027e5780638da5cb5b116102635780638da5cb5b14610c575780638e75c4af14610c825780639373b53814610cb557600080fd5b8063853828b614610c225780638c7ea24b14610c3757600080fd5b806370a0823114610b8f5780637312808b14610baf5780637df325e114610bcf578063824c685e14610bef57600080fd5b80632f745c59116103f05780634f6ccce7116103685780635da8f6391161031c5780636352211e116103015780636352211e14610b275780636c0360eb14610b475780636d8090b914610b5c57600080fd5b80635da8f63914610ae1578063603f4d5214610afb57600080fd5b80635a4fee301161034d5780635a4fee3014610a6e5780635a67de0714610a8e5780635a8966e914610aae57600080fd5b80634f6ccce714610a3457806354214f6914610a5457600080fd5b806343774ebd116103bf57806345285ceb116103a457806345285ceb146109c157806346eeae31146109f45780634d44660c14610a1457600080fd5b806343774ebd14610974578063438b63001461099457600080fd5b80632f745c591461090957806332cb6b0c146109295780633acd6cb21461093f57806342842e0e1461095457600080fd5b806318160ddd1161049e57806329e9b32b116104525780632abe976f116104375780632abe976f146108825780632b8dc0d5146108b55780632e1a7d4d146108e957600080fd5b806329e9b32b146108095780632a55205a1461083657600080fd5b80631aa5e872116104835780631aa5e872146107895780631ea11179146107b657806323b872dd146107e957600080fd5b806318160ddd1461074157806318d49c6e1461075657600080fd5b8063081812fc116104f5578063095ea7b3116104da578063095ea7b3146106b957806309b76f13146106d95780630a080a651461070d57600080fd5b8063081812fc1461065f578063092af891146106a457600080fd5b806301ffc9a714610527578063056ddf731461055c57806306790be91461059957806306fdde031461063d575b600080fd5b34801561053357600080fd5b50610547610542366004614736565b6111fb565b60405190151581526020015b60405180910390f35b34801561056857600080fd5b507f6e46466f577700000000000000000000000000000000000000000000000000005b604051908152602001610553565b3480156105a557600080fd5b5061058b604080517f53756e636f7265204c6967687420496e6475737472696573000000000000000060208201527f5468652050657266656374204372656174696f6e000000000000000000000000918101919091527f54686520536f756e64206f66205765623300000000000000000000000000000060608201526080016040516020818303038152906040528051906020012081565b34801561064957600080fd5b5061065261120c565b60405161055391906147c1565b34801561066b57600080fd5b5061067f61067a3660046147d4565b61129e565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610553565b6106b76106b2366004614801565b611349565b005b3480156106c557600080fd5b506106b76106d4366004614851565b611730565b3480156106e557600080fd5b5061058b7f5468652050657266656374204372656174696f6e00000000000000000000000081565b34801561071957600080fd5b5061058b7f73b8aa378c5d263a0f6c0e1f061e54fa5f86d77d98d7205d5ad9341799a0adf281565b34801561074d57600080fd5b5060025461058b565b34801561076257600080fd5b507f6132766f4c35770000000000000000000000000000000000000000000000000061058b565b34801561079557600080fd5b5061058b6107a436600461487b565b600a6020526000908152604090205481565b3480156107c257600080fd5b5060095461067f9062010000900473ffffffffffffffffffffffffffffffffffffffff1681565b3480156107f557600080fd5b506106b7610804366004614896565b611799565b34801561081557600080fd5b5061082961082436600461487b565b611825565b6040516105539190614901565b34801561084257600080fd5b5061085661085136600461491b565b6118b5565b6040805173ffffffffffffffffffffffffffffffffffffffff9093168352602083019190915201610553565b34801561088e57600080fd5b507f734a4e6b3179000000000000000000000000000000000000000000000000000061058b565b3480156108c157600080fd5b5061058b7f53756e636f7265204c6967687420496e6475737472696573000000000000000081565b3480156108f557600080fd5b506106b76109043660046147d4565b611928565b34801561091557600080fd5b5061058b610924366004614851565b611a11565b34801561093557600080fd5b5061058b61271081565b34801561094b57600080fd5b5061058b600381565b34801561096057600080fd5b506106b761096f366004614896565b611b8d565b34801561098057600080fd5b506106b761098f36600461497f565b611ba8565b3480156109a057600080fd5b506109b46109af36600461487b565b611c9b565b60405161055391906149d2565b3480156109cd57600080fd5b507f7068617634696e0000000000000000000000000000000000000000000000000061058b565b348015610a0057600080fd5b506106b7610a0f366004614a24565b611d49565b348015610a2057600080fd5b50610547610a2f366004614a86565b611e16565b348015610a4057600080fd5b5061058b610a4f3660046147d4565b611e94565b348015610a6057600080fd5b506009546105479060ff1681565b348015610a7a57600080fd5b506106b7610a89366004614ad9565b611f34565b348015610a9a57600080fd5b506106b7610aa9366004614b6a565b611faa565b348015610aba57600080fd5b507f614a6d31706c695666447900000000000000000000000000000000000000000061058b565b348015610aed57600080fd5b50600c546105479060ff1681565b348015610b0757600080fd5b50600954610b1a90610100900460ff1681565b6040516105539190614b8b565b348015610b3357600080fd5b5061067f610b423660046147d4565b612083565b348015610b5357600080fd5b50610652612138565b348015610b6857600080fd5b507f496e4d7364754c7374727779000000000000000000000000000000000000000061058b565b348015610b9b57600080fd5b5061058b610baa36600461487b565b6121c6565b348015610bbb57600080fd5b506106b7610bca366004614b9f565b6122c1565b348015610bdb57600080fd5b506106b7610bea366004614896565b6123c5565b348015610bfb57600080fd5b507f744a4c6f6f00000000000000000000000000000000000000000000000000000061058b565b348015610c2e57600080fd5b506106b7612437565b348015610c4357600080fd5b506106b7610c52366004614851565b6124a9565b348015610c6357600080fd5b5060055473ffffffffffffffffffffffffffffffffffffffff1661067f565b348015610c8e57600080fd5b507f686145756e65000000000000000000000000000000000000000000000000000061058b565b348015610cc157600080fd5b506106b7610cd0366004614c20565b6125ca565b348015610ce157600080fd5b506106b7610cf0366004614c62565b612759565b348015610d0157600080fd5b506106526127cd565b348015610d1657600080fd5b5061058b600b5481565b348015610d2c57600080fd5b506106b7610d3b36600461487b565b6127dc565b348015610d4c57600080fd5b507f4250416d43514b0000000000000000000000000000000000000000000000000061058b565b348015610d7f57600080fd5b507f6e4869674c68317400000000000000000000000000000000000000000000000061058b565b348015610db257600080fd5b506106b7610dc1366004614c98565b612890565b348015610dd257600080fd5b50610829610de13660046147d4565b600d6020526000908152604090205460ff1681565b348015610e0257600080fd5b50610547610e11366004614ccf565b61298c565b348015610e2257600080fd5b506106b7610e31366004614896565b612abb565b348015610e4257600080fd5b506106b7610e51366004614d46565b612b2d565b348015610e6257600080fd5b5061058b604080517f53756e636f7265204c6967687420496e6475737472696573000000000000000060208201527f5468652050657266656374204372656174696f6e000000000000000000000000918101919091527f54686520536f756e64206f66205765623300000000000000000000000000000060608201527f73b8aa378c5d263a0f6c0e1f061e54fa5f86d77d98d7205d5ad9341799a0adf2906080016040516020818303038152906040528051906020012060001c1881565b348015610f2c57600080fd5b506106b7610f3b366004614dcc565b612bd5565b348015610f4c57600080fd5b506106b7610f5b366004614ec6565b612c5d565b348015610f6c57600080fd5b507f696e516678616e6354677900000000000000000000000000000000000000000061058b565b348015610f9f57600080fd5b507f72694a743456650000000000000000000000000000000000000000000000000061058b565b348015610fd257600080fd5b50610652610fe13660046147d4565b612dc7565b348015610ff257600080fd5b5061058b7f54686520536f756e64206f66205765623300000000000000000000000000000081565b34801561102657600080fd5b507f4150545054704143514b0000000000000000000000000000000000000000000061058b565b34801561105957600080fd5b5061058b61106836600461487b565b600f6020526000908152604090205481565b34801561108657600080fd5b506106b76110953660046147d4565b612f04565b3480156110a657600080fd5b50610652612f77565b3480156110bb57600080fd5b506105476110ca366004614f26565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561111157600080fd5b5061058b611120366004614f50565b600e6020526000908152604090205481565b34801561113e57600080fd5b5061058b6103a281565b34801561115457600080fd5b506106b76111633660046147d4565b612f84565b34801561117457600080fd5b506106b7611183366004614b9f565b612fe3565b34801561119457600080fd5b506106b76111a336600461487b565b61314d565b3480156111b457600080fd5b506106b76111c3366004614f6b565b613246565b3480156111d457600080fd5b507f706e6c61666e726500000000000000000000000000000000000000000000000061058b565b60006112068261327c565b92915050565b60606000805461121b90614fc0565b80601f016020809104026020016040519081016040528092919081815260200182805461124790614fc0565b80156112945780601f1061126957610100808354040283529160200191611294565b820191906000526020600020905b81548152906001019060200180831161127757829003601f168201915b5050505050905090565b60006112a9826132d2565b6113205760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526003602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000828152600d602052604090205460ff163361136584612083565b73ffffffffffffffffffffffffffffffffffffffff16146113b2576040517f7acc946300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c5460ff166113ee576040517f6c27b80f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816004811115611400576114006148d2565b816004811115611412576114126148d2565b10611449576040517ff68026f500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600e6000836004811115611461576114616148d2565b6004811115611472576114726148d2565b815260200190815260200160002054600e6000856004811115611497576114976148d2565b60048111156114a8576114a86148d2565b8152602001908152602001600020540390506000600f60006114c73390565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508060000361154a57813414611545576040517f6992e1ff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6115f0565b8082116115a4573415611589576040517f6992e1ff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600f60205260409020805483900390556115f0565b80820334146115df576040517f6992e1ff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600f60205260408120555b5060049050826004811115611607576116076148d2565b0361167157600b54600003611648576040517f193a4eb000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190555b6000838152600d6020526040902080548391907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660018360048111156116ba576116ba6148d2565b02179055506116ca600084613374565b8160048111156116dc576116dc6148d2565b833373ffffffffffffffffffffffffffffffffffffffff167f8cfc560ab2e5f8c0b7183db7288868ad5accba79aff30e5e2d7e7dd5a1da54f3846040516117239190614901565b60405180910390a4505050565b6000818152600d602052604081205460ff166004811115611753576117536148d2565b111561178b576040517fe7732f4b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117958282613414565b5050565b6117a33382613567565b6118155760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401611317565b6118208383836136a3565b505050565b600080611831836121c6565b9050806000036118445750600092915050565b6000805b828110156118ad576000600d60006118608885611a11565b815260208101919091526040016000205460ff169050826004811115611888576118886148d2565b81600481111561189a5761189a6148d2565b11156118a4578092505b50600101611848565b509392505050565b6040805180820190915260065473ffffffffffffffffffffffffffffffffffffffff81168083527401000000000000000000000000000000000000000090910462ffffff16602083018190529091600091612710906119149086615042565b61191e91906150ae565b9150509250929050565b60055473ffffffffffffffffffffffffffffffffffffffff16331461198f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b604051600090339083908381818185875af1925050503d80600081146119d1576040519150601f19603f3d011682016040523d82523d6000602084013e6119d6565b606091505b5050905080611795576040517f2684a07900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611a1c836121c6565b8210611a905760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401611317565b6000805b600254811015611b1e5760028181548110611ab157611ab16150c2565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff90811690861603611b1657838203611b0f577f00000000000000000000000000000000000000000000000000000000000000000191506112069050565b6001909101905b600101611a94565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401611317565b61182083838360405180602001604052806000815250612bd5565b600180600954610100900460ff166002811115611bc757611bc76148d2565b14611bfe576040517fd2ab239f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c0c83833346308961298c565b611c42576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c4b85613885565b336000908152600a6020526040902054841015611c94576040517f76d750a000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b60606000611ca8836121c6565b905080600003611cc85760408051600080825260208201909252906118ad565b60008167ffffffffffffffff811115611ce357611ce3614d9d565b604051908082528060200260200182016040528015611d0c578160200160208202803683370190505b50905060005b828110156118ad57611d248582611a11565b828281518110611d3657611d366150c2565b6020908102919091010152600101611d12565b60055473ffffffffffffffffffffffffffffffffffffffff163314611db05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b600c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168215159081179091556040519081527f21f31d3fbc798e0b19a95dda9c658f1f7b6e985e826ac0b81b509dbc4deb569c906020015b60405180910390a150565b6000805b82811015611e87578473ffffffffffffffffffffffffffffffffffffffff16611e5a858584818110611e4e57611e4e6150c2565b90506020020135612083565b73ffffffffffffffffffffffffffffffffffffffff1614611e7f576000915050611e8d565b600101611e1a565b50600190505b9392505050565b6002546000908210611f0e5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401611317565b507f00000000000000000000000000000000000000000000000000000000000000000190565b60005b83811015611fa157611f998787878785818110611f5657611f566150c2565b9050602002013586868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612bd592505050565b600101611f37565b50505050505050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146120115760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b600980548291907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1661010083600281111561204f5761204f6148d2565b02179055507f92a17b827ee9d42ea9454bb4ca941a1800870e6d01c0842d09ba23ccc0190ee181604051611e0b9190614b8b565b600080600261209184613997565b815481106120a1576120a16150c2565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff169050806112065760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401611317565b6007805461214590614fc0565b80601f016020809104026020016040519081016040528092919081815260200182805461217190614fc0565b80156121be5780601f10612193576101008083540402835291602001916121be565b820191906000526020600020905b8154815290600101906020018083116121a157829003601f168201915b505050505081565b600073ffffffffffffffffffffffffffffffffffffffff82166122515760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401611317565b6000805b6002548110156122ba5760028181548110612272576122726150c2565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff908116908516036122aa576122a7826150f1565b91505b6122b3816150f1565b9050612255565b5092915050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146123285760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b828114612361576040517fa24a13a600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b838110156123bd576123b586868684818110612382576123826150c2565b9050602002016020810190612397919061487b565b8585858181106123a9576123a96150c2565b90506020020135613a56565b600101612364565b505050505050565b60055473ffffffffffffffffffffffffffffffffffffffff16331461242c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b611820838383613a77565b60055473ffffffffffffffffffffffffffffffffffffffff16331461249e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b6124a747611928565b565b60055473ffffffffffffffffffffffffffffffffffffffff1633146125105760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b6103a281111561254c576040517f03e231b900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805180820190915273ffffffffffffffffffffffffffffffffffffffff831680825262ffffff83166020909201829052600680547fffffffffffffffffff000000000000000000000000000000000000000000000016909117740100000000000000000000000000000000000000009092029190911790555050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146126315760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b6004811461266b576040517f680fe91f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000805b6004811015612753578184848381811061268b5761268b6150c2565b90506020020135116126c9576040517f330d2f3700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8383828181106126db576126db6150c2565b90506020020135600e60008360010160048111156126fb576126fb6148d2565b600481111561270c5761270c6148d2565b600481111561271d5761271d6148d2565b8152602081019190915260400160002055838382818110612740576127406150c2565b602002919091013592505060010161266f565b50505050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146127c05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b600861182082848361516f565b60606001805461121b90614fc0565b60055473ffffffffffffffffffffffffffffffffffffffff1633146128435760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b6009805473ffffffffffffffffffffffffffffffffffffffff90921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b3373ffffffffffffffffffffffffffffffffffffffff8316036128f55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401611317565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606086811b821660208401526034830186905284901b166054820152606881018290526000908190612a4890608801604051602081830303815290604052805190602001206040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b9050612a8a8189898080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250613b0192505050565b60095462010000900473ffffffffffffffffffffffffffffffffffffffff9081169116149150509695505050505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314612b225760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b611820838383613a56565b60055473ffffffffffffffffffffffffffffffffffffffff163314612b945760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b6007612ba183858361516f565b50600980547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169115159190911790555050565b612bdf3383613567565b612c515760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401611317565b61275384848484613b1d565b60055473ffffffffffffffffffffffffffffffffffffffff163314612cc45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b60036000908152600e6020527fe0283e559c29e31ee7f56467acc9dd307779c843a883aeeb3bf5c6128c90814454905b848110156123bd5781848483818110612d0f57612d0f6150c2565b905060200201351115612d4e576040517f1ba2406200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b838382818110612d6057612d606150c2565b90506020020135600f6000888885818110612d7d57612d7d6150c2565b9050602002016020810190612d92919061487b565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002080549091019055600101612cf4565b6060612dd2826132d2565b612e08576040517fceea21b600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60095460ff16612ea45760078054612e1f90614fc0565b80601f0160208091040260200160405190810160405280929190818152602001828054612e4b90614fc0565b8015612e985780601f10612e6d57610100808354040283529160200191612e98565b820191906000526020600020905b815481529060010190602001808311612e7b57829003601f168201915b50505050509050919050565b6000828152600d6020526040902054600790612ed39060ff166004811115612ece57612ece6148d2565b613ba6565b612edc84613ba6565b604051602001612eee93929190615289565b6040516020818303038152906040529050919050565b60055473ffffffffffffffffffffffffffffffffffffffff163314612f6b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b612f7481613885565b50565b6008805461214590614fc0565b600280600954610100900460ff166002811115612fa357612fa36148d2565b14612fda576040517fd2ab239f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61179582613cdb565b60055473ffffffffffffffffffffffffffffffffffffffff16331461304a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b828114613083576040517fa24a13a600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b838110156123bd5760008383838181106130a2576130a26150c2565b90506020028101906130b4919061539d565b8080602002602001604051908101604052809392919081815260200183836020028082843760009201829052509394505050505b81518110156131435761313b88888886818110613107576131076150c2565b905060200201602081019061311c919061487b565b84848151811061312e5761312e6150c2565b6020026020010151613a77565b6001016130e8565b5050600101613086565b60055473ffffffffffffffffffffffffffffffffffffffff1633146131b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b73ffffffffffffffffffffffffffffffffffffffff811661323d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401611317565b612f7481613d2e565b60005b81811015611c94576132748585858585818110613268576132686150c2565b90506020020135611799565b600101613249565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a000000000000000000000000000000000000000000000000000000001480611206575061120682613da5565b60007f000000000000000000000000000000000000000000000000000000000000000082101561330457506000919050565b600061330f83613997565b60025490915081108015611e8d5750600073ffffffffffffffffffffffffffffffffffffffff1660028281548110613349576133496150c2565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1614159392505050565b600081815260036020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906133ce82612083565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061341f82612083565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036134c25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401611317565b3373ffffffffffffffffffffffffffffffffffffffff821614806134eb57506134eb81336110ca565b61355d5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401611317565b6118208383613374565b6000613572826132d2565b6135e45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401611317565b60006135ef83612083565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061365e57508373ffffffffffffffffffffffffffffffffffffffff166136468461129e565b73ffffffffffffffffffffffffffffffffffffffff16145b8061369b575073ffffffffffffffffffffffffffffffffffffffff80821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff166136c382612083565b73ffffffffffffffffffffffffffffffffffffffff161461374c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401611317565b73ffffffffffffffffffffffffffffffffffffffff82166137d45760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401611317565b6137df838383613dfb565b6137ea600082613374565b8160026137f683613997565b81548110613806576138066150c2565b6000918252602082200180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60025461271082820111156138c6576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600a602052604081208054840190555b82811015611820576002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff000000000000000000000000000000000000000016339081179091556040517f00000000000000000000000000000000000000000000000000000000000000008501840192907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46001016138dc565b60007f0000000000000000000000000000000000000000000000000000000000000000821015613a2f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401611317565b507f0000000000000000000000000000000000000000000000000000000000000000900390565b61182073ffffffffffffffffffffffffffffffffffffffff84168383613e56565b6040517f42842e0e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8381166024830152604482018390528416906342842e0e90606401600060405180830381600087803b158015613aed57600080fd5b505af1158015611fa1573d6000803e3d6000fd5b6000806000613b108585613ee3565b915091506118ad81613f28565b613b288484846136a3565b613b3484848484614114565b6127535760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401611317565b606081600003613be957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115613c135780613bfd816150f1565b9150613c0c9050600a836150ae565b9150613bed565b60008167ffffffffffffffff811115613c2e57613c2e614d9d565b6040519080825280601f01601f191660200182016040528015613c58576020820181803683370190505b5090505b841561369b57613c6d600183615405565b9150613c7a600a86615418565b613c8590603061542c565b60f81b818381518110613c9a57613c9a6150c2565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613cd4600a866150ae565b9450613c5c565b613ce481613885565b336000908152600a602052604090205460031015612f74576040517f5d3cd26500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d630000000000000000000000000000000000000000000000000000000014806112065750611206826142ed565b6000818152600d602052604081205460ff166004811115613e1e57613e1e6148d2565b1115611820576040517f1b67d22100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526118209084906143d0565b6000808251604103613f195760208301516040840151606085015160001a613f0d878285856144c2565b94509450505050613f21565b506000905060025b9250929050565b6000816004811115613f3c57613f3c6148d2565b03613f445750565b6001816004811115613f5857613f586148d2565b03613fa55760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401611317565b6002816004811115613fb957613fb96148d2565b036140065760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401611317565b600381600481111561401a5761401a6148d2565b0361408d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401611317565b60048160048111156140a1576140a16148d2565b03612f745760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401611317565b600073ffffffffffffffffffffffffffffffffffffffff84163b156142e2576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a029061418b90339089908890889060040161543f565b6020604051808303816000875af19250505080156141e4575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526141e191810190615488565b60015b614297573d808015614212576040519150601f19603f3d011682016040523d82523d6000602084013e614217565b606091505b50805160000361428f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401611317565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014905061369b565b506001949350505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061438057507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061120657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614611206565b6000614432826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166145da9092919063ffffffff16565b805190915015611820578080602001905181019061445091906154a5565b6118205760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401611317565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156144f957506000905060036145d1565b8460ff16601b1415801561451157508460ff16601c14155b1561452257506000905060046145d1565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015614576573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81166145ca576000600192509250506145d1565b9150600090505b94509492505050565b606061369b84846000858573ffffffffffffffffffffffffffffffffffffffff85163b6146495760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401611317565b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161467291906154c2565b60006040518083038185875af1925050503d80600081146146af576040519150601f19603f3d011682016040523d82523d6000602084013e6146b4565b606091505b50915091506146c48282866146cf565b979650505050505050565b606083156146de575081611e8d565b8251156146ee5782518084602001fd5b8160405162461bcd60e51b815260040161131791906147c1565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114612f7457600080fd5b60006020828403121561474857600080fd5b8135611e8d81614708565b60005b8381101561476e578181015183820152602001614756565b50506000910152565b6000815180845261478f816020860160208601614753565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611e8d6020830184614777565b6000602082840312156147e657600080fd5b5035919050565b8035600581106147fc57600080fd5b919050565b6000806040838503121561481457600080fd5b82359150614824602084016147ed565b90509250929050565b803573ffffffffffffffffffffffffffffffffffffffff811681146147fc57600080fd5b6000806040838503121561486457600080fd5b61486d8361482d565b946020939093013593505050565b60006020828403121561488d57600080fd5b611e8d8261482d565b6000806000606084860312156148ab57600080fd5b6148b48461482d565b92506148c26020850161482d565b9150604084013590509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020810160058310614915576149156148d2565b91905290565b6000806040838503121561492e57600080fd5b50508035926020909101359150565b60008083601f84011261494f57600080fd5b50813567ffffffffffffffff81111561496757600080fd5b602083019150836020828501011115613f2157600080fd5b6000806000806060858703121561499557600080fd5b8435935060208501359250604085013567ffffffffffffffff8111156149ba57600080fd5b6149c68782880161493d565b95989497509550505050565b6020808252825182820181905260009190848201906040850190845b81811015614a0a578351835292840192918401916001016149ee565b50909695505050505050565b8015158114612f7457600080fd5b600060208284031215614a3657600080fd5b8135611e8d81614a16565b60008083601f840112614a5357600080fd5b50813567ffffffffffffffff811115614a6b57600080fd5b6020830191508360208260051b8501011115613f2157600080fd5b600080600060408486031215614a9b57600080fd5b614aa48461482d565b9250602084013567ffffffffffffffff811115614ac057600080fd5b614acc86828701614a41565b9497909650939450505050565b60008060008060008060808789031215614af257600080fd5b614afb8761482d565b9550614b096020880161482d565b9450604087013567ffffffffffffffff80821115614b2657600080fd5b614b328a838b01614a41565b90965094506060890135915080821115614b4b57600080fd5b50614b5889828a0161493d565b979a9699509497509295939492505050565b600060208284031215614b7c57600080fd5b813560038110611e8d57600080fd5b6020810160038310614915576149156148d2565b600080600080600060608688031215614bb757600080fd5b614bc08661482d565b9450602086013567ffffffffffffffff80821115614bdd57600080fd5b614be989838a01614a41565b90965094506040880135915080821115614c0257600080fd5b50614c0f88828901614a41565b969995985093965092949392505050565b60008060208385031215614c3357600080fd5b823567ffffffffffffffff811115614c4a57600080fd5b614c5685828601614a41565b90969095509350505050565b60008060208385031215614c7557600080fd5b823567ffffffffffffffff811115614c8c57600080fd5b614c568582860161493d565b60008060408385031215614cab57600080fd5b614cb48361482d565b91506020830135614cc481614a16565b809150509250929050565b60008060008060008060a08789031215614ce857600080fd5b863567ffffffffffffffff811115614cff57600080fd5b614d0b89828a0161493d565b9097509550614d1e90506020880161482d565b935060408701359250614d336060880161482d565b9150608087013590509295509295509295565b600080600060408486031215614d5b57600080fd5b833567ffffffffffffffff811115614d7257600080fd5b614d7e8682870161493d565b9094509250506020840135614d9281614a16565b809150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060008060808587031215614de257600080fd5b614deb8561482d565b9350614df96020860161482d565b925060408501359150606085013567ffffffffffffffff80821115614e1d57600080fd5b818701915087601f830112614e3157600080fd5b813581811115614e4357614e43614d9d565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715614e8957614e89614d9d565b816040528281528a6020848701011115614ea257600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060008060408587031215614edc57600080fd5b843567ffffffffffffffff80821115614ef457600080fd5b614f0088838901614a41565b90965094506020870135915080821115614f1957600080fd5b506149c687828801614a41565b60008060408385031215614f3957600080fd5b614f428361482d565b91506148246020840161482d565b600060208284031215614f6257600080fd5b611e8d826147ed565b60008060008060608587031215614f8157600080fd5b614f8a8561482d565b9350614f986020860161482d565b9250604085013567ffffffffffffffff811115614fb457600080fd5b6149c687828801614a41565b600181811c90821680614fd457607f821691505b60208210810361500d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561507a5761507a615013565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826150bd576150bd61507f565b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361512257615122615013565b5060010190565b601f82111561182057600081815260208120601f850160051c810160208610156151505750805b601f850160051c820191505b818110156123bd5782815560010161515c565b67ffffffffffffffff83111561518757615187614d9d565b61519b836151958354614fc0565b83615129565b6000601f8411600181146151ed57600085156151b75750838201355b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b1c1916600186901b178355611c94565b6000838152602090207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0861690835b8281101561523c578685013582556020948501946001909201910161521c565b5086821015615277577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88860031b161c19848701351681555b505060018560011b0183555050505050565b600080855461529781614fc0565b600182811680156152af57600181146152e257615311565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0084168752821515830287019450615311565b8960005260208060002060005b858110156153085781548a8201529084019082016152ef565b50505082870194505b5087519250615324838560208b01614753565b7f2f000000000000000000000000000000000000000000000000000000000000009390920192835285519161535f8382860160208a01614753565b61539081848601017f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b9998505050505050505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126153d257600080fd5b83018035915067ffffffffffffffff8211156153ed57600080fd5b6020019150600581901b3603821315613f2157600080fd5b8181038181111561120657611206615013565b6000826154275761542761507f565b500690565b8082018082111561120657611206615013565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261547e6080830184614777565b9695505050505050565b60006020828403121561549a57600080fd5b8151611e8d81614708565b6000602082840312156154b757600080fd5b8151611e8d81614a16565b600082516154d4818460208701614753565b919091019291505056fea26469706673582212204f903976c97e84008b6b9285eaec94f9cf356141d6300768f55902383182732364736f6c6343000810003300000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002cbd7081a0f1d609de519eab525d3b86764642a6000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000000a53414e204f726967696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000353414e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d68747470733a2f2f697066732e66696c65626173652e696f2f697066732f516d5562784b553359646d6e66447745626e613750774663704e564376636754707737314366713572514433446d2f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d68747470733a2f2f697066732e66696c65626173652e696f2f697066732f516d5157774365576d4e7443716167354b6a61586f344b6a7a31483343584762346448383376775a446f567442762f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000009b6e64a8ec600000000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000120a871cc00200000000000000000000000000000000000000000000000000004563918244f40000

Deployed Bytecode

0x6080604052600436106105225760003560e01c806370a08231116102af578063b64b21ca11610179578063e79433f5116100d6578063efd0cbf91161008a578063f2fde38b1161006f578063f2fde38b14611188578063f3993d11146111a8578063faa982c3146111c857600080fd5b8063efd0cbf914611148578063f02678e91461116857600080fd5b8063e985e9c5116100bb578063e985e9c5146110af578063ecabdf7914611105578063ede9dddd1461113257600080fd5b8063e79433f51461107a578063e8a3d4851461109a57600080fd5b8063c49d29ae1161012d578063d028dbe711610112578063d028dbe714610fe6578063d750771d1461101a578063e39bf9501461104d57600080fd5b8063c49d29ae14610f93578063c87b56dd14610fc657600080fd5b8063b88d4fde1161015e578063b88d4fde14610f20578063b94562df14610f40578063bc0f391114610f6057600080fd5b8063b64b21ca14610e36578063b7c0791c14610e5657600080fd5b8063938e3d7b11610227578063a0bb807e116101db578063ab8ece8b116101c0578063ab8ece8b14610dc6578063b19f6b9814610df6578063b2118a8d14610e1657600080fd5b8063a0bb807e14610d73578063a22cb46514610da657600080fd5b8063999fc6441161020c578063999fc64414610d0a5780639b1a517314610d205780639bf0ba5614610d4057600080fd5b8063938e3d7b14610cd557806395d89b4114610cf557600080fd5b8063853828b61161027e5780638da5cb5b116102635780638da5cb5b14610c575780638e75c4af14610c825780639373b53814610cb557600080fd5b8063853828b614610c225780638c7ea24b14610c3757600080fd5b806370a0823114610b8f5780637312808b14610baf5780637df325e114610bcf578063824c685e14610bef57600080fd5b80632f745c59116103f05780634f6ccce7116103685780635da8f6391161031c5780636352211e116103015780636352211e14610b275780636c0360eb14610b475780636d8090b914610b5c57600080fd5b80635da8f63914610ae1578063603f4d5214610afb57600080fd5b80635a4fee301161034d5780635a4fee3014610a6e5780635a67de0714610a8e5780635a8966e914610aae57600080fd5b80634f6ccce714610a3457806354214f6914610a5457600080fd5b806343774ebd116103bf57806345285ceb116103a457806345285ceb146109c157806346eeae31146109f45780634d44660c14610a1457600080fd5b806343774ebd14610974578063438b63001461099457600080fd5b80632f745c591461090957806332cb6b0c146109295780633acd6cb21461093f57806342842e0e1461095457600080fd5b806318160ddd1161049e57806329e9b32b116104525780632abe976f116104375780632abe976f146108825780632b8dc0d5146108b55780632e1a7d4d146108e957600080fd5b806329e9b32b146108095780632a55205a1461083657600080fd5b80631aa5e872116104835780631aa5e872146107895780631ea11179146107b657806323b872dd146107e957600080fd5b806318160ddd1461074157806318d49c6e1461075657600080fd5b8063081812fc116104f5578063095ea7b3116104da578063095ea7b3146106b957806309b76f13146106d95780630a080a651461070d57600080fd5b8063081812fc1461065f578063092af891146106a457600080fd5b806301ffc9a714610527578063056ddf731461055c57806306790be91461059957806306fdde031461063d575b600080fd5b34801561053357600080fd5b50610547610542366004614736565b6111fb565b60405190151581526020015b60405180910390f35b34801561056857600080fd5b507f6e46466f577700000000000000000000000000000000000000000000000000005b604051908152602001610553565b3480156105a557600080fd5b5061058b604080517f53756e636f7265204c6967687420496e6475737472696573000000000000000060208201527f5468652050657266656374204372656174696f6e000000000000000000000000918101919091527f54686520536f756e64206f66205765623300000000000000000000000000000060608201526080016040516020818303038152906040528051906020012081565b34801561064957600080fd5b5061065261120c565b60405161055391906147c1565b34801561066b57600080fd5b5061067f61067a3660046147d4565b61129e565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610553565b6106b76106b2366004614801565b611349565b005b3480156106c557600080fd5b506106b76106d4366004614851565b611730565b3480156106e557600080fd5b5061058b7f5468652050657266656374204372656174696f6e00000000000000000000000081565b34801561071957600080fd5b5061058b7f73b8aa378c5d263a0f6c0e1f061e54fa5f86d77d98d7205d5ad9341799a0adf281565b34801561074d57600080fd5b5060025461058b565b34801561076257600080fd5b507f6132766f4c35770000000000000000000000000000000000000000000000000061058b565b34801561079557600080fd5b5061058b6107a436600461487b565b600a6020526000908152604090205481565b3480156107c257600080fd5b5060095461067f9062010000900473ffffffffffffffffffffffffffffffffffffffff1681565b3480156107f557600080fd5b506106b7610804366004614896565b611799565b34801561081557600080fd5b5061082961082436600461487b565b611825565b6040516105539190614901565b34801561084257600080fd5b5061085661085136600461491b565b6118b5565b6040805173ffffffffffffffffffffffffffffffffffffffff9093168352602083019190915201610553565b34801561088e57600080fd5b507f734a4e6b3179000000000000000000000000000000000000000000000000000061058b565b3480156108c157600080fd5b5061058b7f53756e636f7265204c6967687420496e6475737472696573000000000000000081565b3480156108f557600080fd5b506106b76109043660046147d4565b611928565b34801561091557600080fd5b5061058b610924366004614851565b611a11565b34801561093557600080fd5b5061058b61271081565b34801561094b57600080fd5b5061058b600381565b34801561096057600080fd5b506106b761096f366004614896565b611b8d565b34801561098057600080fd5b506106b761098f36600461497f565b611ba8565b3480156109a057600080fd5b506109b46109af36600461487b565b611c9b565b60405161055391906149d2565b3480156109cd57600080fd5b507f7068617634696e0000000000000000000000000000000000000000000000000061058b565b348015610a0057600080fd5b506106b7610a0f366004614a24565b611d49565b348015610a2057600080fd5b50610547610a2f366004614a86565b611e16565b348015610a4057600080fd5b5061058b610a4f3660046147d4565b611e94565b348015610a6057600080fd5b506009546105479060ff1681565b348015610a7a57600080fd5b506106b7610a89366004614ad9565b611f34565b348015610a9a57600080fd5b506106b7610aa9366004614b6a565b611faa565b348015610aba57600080fd5b507f614a6d31706c695666447900000000000000000000000000000000000000000061058b565b348015610aed57600080fd5b50600c546105479060ff1681565b348015610b0757600080fd5b50600954610b1a90610100900460ff1681565b6040516105539190614b8b565b348015610b3357600080fd5b5061067f610b423660046147d4565b612083565b348015610b5357600080fd5b50610652612138565b348015610b6857600080fd5b507f496e4d7364754c7374727779000000000000000000000000000000000000000061058b565b348015610b9b57600080fd5b5061058b610baa36600461487b565b6121c6565b348015610bbb57600080fd5b506106b7610bca366004614b9f565b6122c1565b348015610bdb57600080fd5b506106b7610bea366004614896565b6123c5565b348015610bfb57600080fd5b507f744a4c6f6f00000000000000000000000000000000000000000000000000000061058b565b348015610c2e57600080fd5b506106b7612437565b348015610c4357600080fd5b506106b7610c52366004614851565b6124a9565b348015610c6357600080fd5b5060055473ffffffffffffffffffffffffffffffffffffffff1661067f565b348015610c8e57600080fd5b507f686145756e65000000000000000000000000000000000000000000000000000061058b565b348015610cc157600080fd5b506106b7610cd0366004614c20565b6125ca565b348015610ce157600080fd5b506106b7610cf0366004614c62565b612759565b348015610d0157600080fd5b506106526127cd565b348015610d1657600080fd5b5061058b600b5481565b348015610d2c57600080fd5b506106b7610d3b36600461487b565b6127dc565b348015610d4c57600080fd5b507f4250416d43514b0000000000000000000000000000000000000000000000000061058b565b348015610d7f57600080fd5b507f6e4869674c68317400000000000000000000000000000000000000000000000061058b565b348015610db257600080fd5b506106b7610dc1366004614c98565b612890565b348015610dd257600080fd5b50610829610de13660046147d4565b600d6020526000908152604090205460ff1681565b348015610e0257600080fd5b50610547610e11366004614ccf565b61298c565b348015610e2257600080fd5b506106b7610e31366004614896565b612abb565b348015610e4257600080fd5b506106b7610e51366004614d46565b612b2d565b348015610e6257600080fd5b5061058b604080517f53756e636f7265204c6967687420496e6475737472696573000000000000000060208201527f5468652050657266656374204372656174696f6e000000000000000000000000918101919091527f54686520536f756e64206f66205765623300000000000000000000000000000060608201527f73b8aa378c5d263a0f6c0e1f061e54fa5f86d77d98d7205d5ad9341799a0adf2906080016040516020818303038152906040528051906020012060001c1881565b348015610f2c57600080fd5b506106b7610f3b366004614dcc565b612bd5565b348015610f4c57600080fd5b506106b7610f5b366004614ec6565b612c5d565b348015610f6c57600080fd5b507f696e516678616e6354677900000000000000000000000000000000000000000061058b565b348015610f9f57600080fd5b507f72694a743456650000000000000000000000000000000000000000000000000061058b565b348015610fd257600080fd5b50610652610fe13660046147d4565b612dc7565b348015610ff257600080fd5b5061058b7f54686520536f756e64206f66205765623300000000000000000000000000000081565b34801561102657600080fd5b507f4150545054704143514b0000000000000000000000000000000000000000000061058b565b34801561105957600080fd5b5061058b61106836600461487b565b600f6020526000908152604090205481565b34801561108657600080fd5b506106b76110953660046147d4565b612f04565b3480156110a657600080fd5b50610652612f77565b3480156110bb57600080fd5b506105476110ca366004614f26565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561111157600080fd5b5061058b611120366004614f50565b600e6020526000908152604090205481565b34801561113e57600080fd5b5061058b6103a281565b34801561115457600080fd5b506106b76111633660046147d4565b612f84565b34801561117457600080fd5b506106b7611183366004614b9f565b612fe3565b34801561119457600080fd5b506106b76111a336600461487b565b61314d565b3480156111b457600080fd5b506106b76111c3366004614f6b565b613246565b3480156111d457600080fd5b507f706e6c61666e726500000000000000000000000000000000000000000000000061058b565b60006112068261327c565b92915050565b60606000805461121b90614fc0565b80601f016020809104026020016040519081016040528092919081815260200182805461124790614fc0565b80156112945780601f1061126957610100808354040283529160200191611294565b820191906000526020600020905b81548152906001019060200180831161127757829003601f168201915b5050505050905090565b60006112a9826132d2565b6113205760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526003602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000828152600d602052604090205460ff163361136584612083565b73ffffffffffffffffffffffffffffffffffffffff16146113b2576040517f7acc946300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c5460ff166113ee576040517f6c27b80f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816004811115611400576114006148d2565b816004811115611412576114126148d2565b10611449576040517ff68026f500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600e6000836004811115611461576114616148d2565b6004811115611472576114726148d2565b815260200190815260200160002054600e6000856004811115611497576114976148d2565b60048111156114a8576114a86148d2565b8152602001908152602001600020540390506000600f60006114c73390565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508060000361154a57813414611545576040517f6992e1ff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6115f0565b8082116115a4573415611589576040517f6992e1ff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600f60205260409020805483900390556115f0565b80820334146115df576040517f6992e1ff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600f60205260408120555b5060049050826004811115611607576116076148d2565b0361167157600b54600003611648576040517f193a4eb000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190555b6000838152600d6020526040902080548391907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660018360048111156116ba576116ba6148d2565b02179055506116ca600084613374565b8160048111156116dc576116dc6148d2565b833373ffffffffffffffffffffffffffffffffffffffff167f8cfc560ab2e5f8c0b7183db7288868ad5accba79aff30e5e2d7e7dd5a1da54f3846040516117239190614901565b60405180910390a4505050565b6000818152600d602052604081205460ff166004811115611753576117536148d2565b111561178b576040517fe7732f4b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117958282613414565b5050565b6117a33382613567565b6118155760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401611317565b6118208383836136a3565b505050565b600080611831836121c6565b9050806000036118445750600092915050565b6000805b828110156118ad576000600d60006118608885611a11565b815260208101919091526040016000205460ff169050826004811115611888576118886148d2565b81600481111561189a5761189a6148d2565b11156118a4578092505b50600101611848565b509392505050565b6040805180820190915260065473ffffffffffffffffffffffffffffffffffffffff81168083527401000000000000000000000000000000000000000090910462ffffff16602083018190529091600091612710906119149086615042565b61191e91906150ae565b9150509250929050565b60055473ffffffffffffffffffffffffffffffffffffffff16331461198f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b604051600090339083908381818185875af1925050503d80600081146119d1576040519150601f19603f3d011682016040523d82523d6000602084013e6119d6565b606091505b5050905080611795576040517f2684a07900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611a1c836121c6565b8210611a905760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401611317565b6000805b600254811015611b1e5760028181548110611ab157611ab16150c2565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff90811690861603611b1657838203611b0f577f00000000000000000000000000000000000000000000000000000000000000010191506112069050565b6001909101905b600101611a94565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401611317565b61182083838360405180602001604052806000815250612bd5565b600180600954610100900460ff166002811115611bc757611bc76148d2565b14611bfe576040517fd2ab239f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c0c83833346308961298c565b611c42576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c4b85613885565b336000908152600a6020526040902054841015611c94576040517f76d750a000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b60606000611ca8836121c6565b905080600003611cc85760408051600080825260208201909252906118ad565b60008167ffffffffffffffff811115611ce357611ce3614d9d565b604051908082528060200260200182016040528015611d0c578160200160208202803683370190505b50905060005b828110156118ad57611d248582611a11565b828281518110611d3657611d366150c2565b6020908102919091010152600101611d12565b60055473ffffffffffffffffffffffffffffffffffffffff163314611db05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b600c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168215159081179091556040519081527f21f31d3fbc798e0b19a95dda9c658f1f7b6e985e826ac0b81b509dbc4deb569c906020015b60405180910390a150565b6000805b82811015611e87578473ffffffffffffffffffffffffffffffffffffffff16611e5a858584818110611e4e57611e4e6150c2565b90506020020135612083565b73ffffffffffffffffffffffffffffffffffffffff1614611e7f576000915050611e8d565b600101611e1a565b50600190505b9392505050565b6002546000908210611f0e5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401611317565b507f00000000000000000000000000000000000000000000000000000000000000010190565b60005b83811015611fa157611f998787878785818110611f5657611f566150c2565b9050602002013586868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612bd592505050565b600101611f37565b50505050505050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146120115760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b600980548291907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1661010083600281111561204f5761204f6148d2565b02179055507f92a17b827ee9d42ea9454bb4ca941a1800870e6d01c0842d09ba23ccc0190ee181604051611e0b9190614b8b565b600080600261209184613997565b815481106120a1576120a16150c2565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff169050806112065760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401611317565b6007805461214590614fc0565b80601f016020809104026020016040519081016040528092919081815260200182805461217190614fc0565b80156121be5780601f10612193576101008083540402835291602001916121be565b820191906000526020600020905b8154815290600101906020018083116121a157829003601f168201915b505050505081565b600073ffffffffffffffffffffffffffffffffffffffff82166122515760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401611317565b6000805b6002548110156122ba5760028181548110612272576122726150c2565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff908116908516036122aa576122a7826150f1565b91505b6122b3816150f1565b9050612255565b5092915050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146123285760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b828114612361576040517fa24a13a600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b838110156123bd576123b586868684818110612382576123826150c2565b9050602002016020810190612397919061487b565b8585858181106123a9576123a96150c2565b90506020020135613a56565b600101612364565b505050505050565b60055473ffffffffffffffffffffffffffffffffffffffff16331461242c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b611820838383613a77565b60055473ffffffffffffffffffffffffffffffffffffffff16331461249e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b6124a747611928565b565b60055473ffffffffffffffffffffffffffffffffffffffff1633146125105760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b6103a281111561254c576040517f03e231b900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805180820190915273ffffffffffffffffffffffffffffffffffffffff831680825262ffffff83166020909201829052600680547fffffffffffffffffff000000000000000000000000000000000000000000000016909117740100000000000000000000000000000000000000009092029190911790555050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146126315760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b6004811461266b576040517f680fe91f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000805b6004811015612753578184848381811061268b5761268b6150c2565b90506020020135116126c9576040517f330d2f3700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8383828181106126db576126db6150c2565b90506020020135600e60008360010160048111156126fb576126fb6148d2565b600481111561270c5761270c6148d2565b600481111561271d5761271d6148d2565b8152602081019190915260400160002055838382818110612740576127406150c2565b602002919091013592505060010161266f565b50505050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146127c05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b600861182082848361516f565b60606001805461121b90614fc0565b60055473ffffffffffffffffffffffffffffffffffffffff1633146128435760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b6009805473ffffffffffffffffffffffffffffffffffffffff90921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b3373ffffffffffffffffffffffffffffffffffffffff8316036128f55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401611317565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606086811b821660208401526034830186905284901b166054820152606881018290526000908190612a4890608801604051602081830303815290604052805190602001206040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b9050612a8a8189898080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250613b0192505050565b60095462010000900473ffffffffffffffffffffffffffffffffffffffff9081169116149150509695505050505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314612b225760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b611820838383613a56565b60055473ffffffffffffffffffffffffffffffffffffffff163314612b945760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b6007612ba183858361516f565b50600980547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169115159190911790555050565b612bdf3383613567565b612c515760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401611317565b61275384848484613b1d565b60055473ffffffffffffffffffffffffffffffffffffffff163314612cc45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b60036000908152600e6020527fe0283e559c29e31ee7f56467acc9dd307779c843a883aeeb3bf5c6128c90814454905b848110156123bd5781848483818110612d0f57612d0f6150c2565b905060200201351115612d4e576040517f1ba2406200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b838382818110612d6057612d606150c2565b90506020020135600f6000888885818110612d7d57612d7d6150c2565b9050602002016020810190612d92919061487b565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002080549091019055600101612cf4565b6060612dd2826132d2565b612e08576040517fceea21b600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60095460ff16612ea45760078054612e1f90614fc0565b80601f0160208091040260200160405190810160405280929190818152602001828054612e4b90614fc0565b8015612e985780601f10612e6d57610100808354040283529160200191612e98565b820191906000526020600020905b815481529060010190602001808311612e7b57829003601f168201915b50505050509050919050565b6000828152600d6020526040902054600790612ed39060ff166004811115612ece57612ece6148d2565b613ba6565b612edc84613ba6565b604051602001612eee93929190615289565b6040516020818303038152906040529050919050565b60055473ffffffffffffffffffffffffffffffffffffffff163314612f6b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b612f7481613885565b50565b6008805461214590614fc0565b600280600954610100900460ff166002811115612fa357612fa36148d2565b14612fda576040517fd2ab239f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61179582613cdb565b60055473ffffffffffffffffffffffffffffffffffffffff16331461304a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b828114613083576040517fa24a13a600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b838110156123bd5760008383838181106130a2576130a26150c2565b90506020028101906130b4919061539d565b8080602002602001604051908101604052809392919081815260200183836020028082843760009201829052509394505050505b81518110156131435761313b88888886818110613107576131076150c2565b905060200201602081019061311c919061487b565b84848151811061312e5761312e6150c2565b6020026020010151613a77565b6001016130e8565b5050600101613086565b60055473ffffffffffffffffffffffffffffffffffffffff1633146131b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611317565b73ffffffffffffffffffffffffffffffffffffffff811661323d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401611317565b612f7481613d2e565b60005b81811015611c94576132748585858585818110613268576132686150c2565b90506020020135611799565b600101613249565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a000000000000000000000000000000000000000000000000000000001480611206575061120682613da5565b60007f000000000000000000000000000000000000000000000000000000000000000182101561330457506000919050565b600061330f83613997565b60025490915081108015611e8d5750600073ffffffffffffffffffffffffffffffffffffffff1660028281548110613349576133496150c2565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1614159392505050565b600081815260036020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906133ce82612083565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061341f82612083565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036134c25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401611317565b3373ffffffffffffffffffffffffffffffffffffffff821614806134eb57506134eb81336110ca565b61355d5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401611317565b6118208383613374565b6000613572826132d2565b6135e45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401611317565b60006135ef83612083565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061365e57508373ffffffffffffffffffffffffffffffffffffffff166136468461129e565b73ffffffffffffffffffffffffffffffffffffffff16145b8061369b575073ffffffffffffffffffffffffffffffffffffffff80821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff166136c382612083565b73ffffffffffffffffffffffffffffffffffffffff161461374c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401611317565b73ffffffffffffffffffffffffffffffffffffffff82166137d45760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401611317565b6137df838383613dfb565b6137ea600082613374565b8160026137f683613997565b81548110613806576138066150c2565b6000918252602082200180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60025461271082820111156138c6576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000908152600a602052604081208054840190555b82811015611820576002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff000000000000000000000000000000000000000016339081179091556040517f00000000000000000000000000000000000000000000000000000000000000018501840192907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46001016138dc565b60007f0000000000000000000000000000000000000000000000000000000000000001821015613a2f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401611317565b507f0000000000000000000000000000000000000000000000000000000000000001900390565b61182073ffffffffffffffffffffffffffffffffffffffff84168383613e56565b6040517f42842e0e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8381166024830152604482018390528416906342842e0e90606401600060405180830381600087803b158015613aed57600080fd5b505af1158015611fa1573d6000803e3d6000fd5b6000806000613b108585613ee3565b915091506118ad81613f28565b613b288484846136a3565b613b3484848484614114565b6127535760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401611317565b606081600003613be957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115613c135780613bfd816150f1565b9150613c0c9050600a836150ae565b9150613bed565b60008167ffffffffffffffff811115613c2e57613c2e614d9d565b6040519080825280601f01601f191660200182016040528015613c58576020820181803683370190505b5090505b841561369b57613c6d600183615405565b9150613c7a600a86615418565b613c8590603061542c565b60f81b818381518110613c9a57613c9a6150c2565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613cd4600a866150ae565b9450613c5c565b613ce481613885565b336000908152600a602052604090205460031015612f74576040517f5d3cd26500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d630000000000000000000000000000000000000000000000000000000014806112065750611206826142ed565b6000818152600d602052604081205460ff166004811115613e1e57613e1e6148d2565b1115611820576040517f1b67d22100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526118209084906143d0565b6000808251604103613f195760208301516040840151606085015160001a613f0d878285856144c2565b94509450505050613f21565b506000905060025b9250929050565b6000816004811115613f3c57613f3c6148d2565b03613f445750565b6001816004811115613f5857613f586148d2565b03613fa55760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401611317565b6002816004811115613fb957613fb96148d2565b036140065760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401611317565b600381600481111561401a5761401a6148d2565b0361408d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401611317565b60048160048111156140a1576140a16148d2565b03612f745760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401611317565b600073ffffffffffffffffffffffffffffffffffffffff84163b156142e2576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a029061418b90339089908890889060040161543f565b6020604051808303816000875af19250505080156141e4575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526141e191810190615488565b60015b614297573d808015614212576040519150601f19603f3d011682016040523d82523d6000602084013e614217565b606091505b50805160000361428f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401611317565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014905061369b565b506001949350505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061438057507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061120657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614611206565b6000614432826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166145da9092919063ffffffff16565b805190915015611820578080602001905181019061445091906154a5565b6118205760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401611317565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156144f957506000905060036145d1565b8460ff16601b1415801561451157508460ff16601c14155b1561452257506000905060046145d1565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015614576573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff81166145ca576000600192509250506145d1565b9150600090505b94509492505050565b606061369b84846000858573ffffffffffffffffffffffffffffffffffffffff85163b6146495760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401611317565b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161467291906154c2565b60006040518083038185875af1925050503d80600081146146af576040519150601f19603f3d011682016040523d82523d6000602084013e6146b4565b606091505b50915091506146c48282866146cf565b979650505050505050565b606083156146de575081611e8d565b8251156146ee5782518084602001fd5b8160405162461bcd60e51b815260040161131791906147c1565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114612f7457600080fd5b60006020828403121561474857600080fd5b8135611e8d81614708565b60005b8381101561476e578181015183820152602001614756565b50506000910152565b6000815180845261478f816020860160208601614753565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611e8d6020830184614777565b6000602082840312156147e657600080fd5b5035919050565b8035600581106147fc57600080fd5b919050565b6000806040838503121561481457600080fd5b82359150614824602084016147ed565b90509250929050565b803573ffffffffffffffffffffffffffffffffffffffff811681146147fc57600080fd5b6000806040838503121561486457600080fd5b61486d8361482d565b946020939093013593505050565b60006020828403121561488d57600080fd5b611e8d8261482d565b6000806000606084860312156148ab57600080fd5b6148b48461482d565b92506148c26020850161482d565b9150604084013590509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020810160058310614915576149156148d2565b91905290565b6000806040838503121561492e57600080fd5b50508035926020909101359150565b60008083601f84011261494f57600080fd5b50813567ffffffffffffffff81111561496757600080fd5b602083019150836020828501011115613f2157600080fd5b6000806000806060858703121561499557600080fd5b8435935060208501359250604085013567ffffffffffffffff8111156149ba57600080fd5b6149c68782880161493d565b95989497509550505050565b6020808252825182820181905260009190848201906040850190845b81811015614a0a578351835292840192918401916001016149ee565b50909695505050505050565b8015158114612f7457600080fd5b600060208284031215614a3657600080fd5b8135611e8d81614a16565b60008083601f840112614a5357600080fd5b50813567ffffffffffffffff811115614a6b57600080fd5b6020830191508360208260051b8501011115613f2157600080fd5b600080600060408486031215614a9b57600080fd5b614aa48461482d565b9250602084013567ffffffffffffffff811115614ac057600080fd5b614acc86828701614a41565b9497909650939450505050565b60008060008060008060808789031215614af257600080fd5b614afb8761482d565b9550614b096020880161482d565b9450604087013567ffffffffffffffff80821115614b2657600080fd5b614b328a838b01614a41565b90965094506060890135915080821115614b4b57600080fd5b50614b5889828a0161493d565b979a9699509497509295939492505050565b600060208284031215614b7c57600080fd5b813560038110611e8d57600080fd5b6020810160038310614915576149156148d2565b600080600080600060608688031215614bb757600080fd5b614bc08661482d565b9450602086013567ffffffffffffffff80821115614bdd57600080fd5b614be989838a01614a41565b90965094506040880135915080821115614c0257600080fd5b50614c0f88828901614a41565b969995985093965092949392505050565b60008060208385031215614c3357600080fd5b823567ffffffffffffffff811115614c4a57600080fd5b614c5685828601614a41565b90969095509350505050565b60008060208385031215614c7557600080fd5b823567ffffffffffffffff811115614c8c57600080fd5b614c568582860161493d565b60008060408385031215614cab57600080fd5b614cb48361482d565b91506020830135614cc481614a16565b809150509250929050565b60008060008060008060a08789031215614ce857600080fd5b863567ffffffffffffffff811115614cff57600080fd5b614d0b89828a0161493d565b9097509550614d1e90506020880161482d565b935060408701359250614d336060880161482d565b9150608087013590509295509295509295565b600080600060408486031215614d5b57600080fd5b833567ffffffffffffffff811115614d7257600080fd5b614d7e8682870161493d565b9094509250506020840135614d9281614a16565b809150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060008060808587031215614de257600080fd5b614deb8561482d565b9350614df96020860161482d565b925060408501359150606085013567ffffffffffffffff80821115614e1d57600080fd5b818701915087601f830112614e3157600080fd5b813581811115614e4357614e43614d9d565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715614e8957614e89614d9d565b816040528281528a6020848701011115614ea257600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060008060408587031215614edc57600080fd5b843567ffffffffffffffff80821115614ef457600080fd5b614f0088838901614a41565b90965094506020870135915080821115614f1957600080fd5b506149c687828801614a41565b60008060408385031215614f3957600080fd5b614f428361482d565b91506148246020840161482d565b600060208284031215614f6257600080fd5b611e8d826147ed565b60008060008060608587031215614f8157600080fd5b614f8a8561482d565b9350614f986020860161482d565b9250604085013567ffffffffffffffff811115614fb457600080fd5b6149c687828801614a41565b600181811c90821680614fd457607f821691505b60208210810361500d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561507a5761507a615013565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826150bd576150bd61507f565b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361512257615122615013565b5060010190565b601f82111561182057600081815260208120601f850160051c810160208610156151505750805b601f850160051c820191505b818110156123bd5782815560010161515c565b67ffffffffffffffff83111561518757615187614d9d565b61519b836151958354614fc0565b83615129565b6000601f8411600181146151ed57600085156151b75750838201355b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600387901b1c1916600186901b178355611c94565b6000838152602090207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0861690835b8281101561523c578685013582556020948501946001909201910161521c565b5086821015615277577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88860031b161c19848701351681555b505060018560011b0183555050505050565b600080855461529781614fc0565b600182811680156152af57600181146152e257615311565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0084168752821515830287019450615311565b8960005260208060002060005b858110156153085781548a8201529084019082016152ef565b50505082870194505b5087519250615324838560208b01614753565b7f2f000000000000000000000000000000000000000000000000000000000000009390920192835285519161535f8382860160208a01614753565b61539081848601017f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b9998505050505050505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126153d257600080fd5b83018035915067ffffffffffffffff8211156153ed57600080fd5b6020019150600581901b3603821315613f2157600080fd5b8181038181111561120657611206615013565b6000826154275761542761507f565b500690565b8082018082111561120657611206615013565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261547e6080830184614777565b9695505050505050565b60006020828403121561549a57600080fd5b8151611e8d81614708565b6000602082840312156154b757600080fd5b8151611e8d81614a16565b600082516154d4818460208701614753565b919091019291505056fea26469706673582212204f903976c97e84008b6b9285eaec94f9cf356141d6300768f55902383182732364736f6c63430008100033

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

00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000010000000000000000000000002cbd7081a0f1d609de519eab525d3b86764642a6000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000000a53414e204f726967696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000353414e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d68747470733a2f2f697066732e66696c65626173652e696f2f697066732f516d5562784b553359646d6e66447745626e613750774663704e564376636754707737314366713572514433446d2f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d68747470733a2f2f697066732e66696c65626173652e696f2f697066732f516d5157774365576d4e7443716167354b6a61586f344b6a7a31483343584762346448383376775a446f567442762f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000009b6e64a8ec600000000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000120a871cc00200000000000000000000000000000000000000000000000000004563918244f40000

-----Decoded View---------------
Arg [0] : _name (string): SAN Origin
Arg [1] : _symbol (string): SAN
Arg [2] : _startingTokenID (uint256): 1
Arg [3] : _couponSigner (address): 0x2Cbd7081a0F1d609de519EAb525d3B86764642A6
Arg [4] : _contractURI (string): https://ipfs.filebase.io/ipfs/QmUbxKU3YdmnfDwEbna7PwFcpNVCvcgTpw71Cfq5rQD3Dm/
Arg [5] : _baseURI (string): https://ipfs.filebase.io/ipfs/QmQWwCeWmNtCqag5KjaXo4Kjz1H3CXGb4dH83vwZDoVtBv/
Arg [6] : _levelPrices (uint256[]): 700000000000000000,1000000000000000000,1300000000000000000,5000000000000000000

-----Encoded View---------------
24 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [3] : 0000000000000000000000002cbd7081a0f1d609de519eab525d3b86764642a6
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [5] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [8] : 53414e204f726967696e00000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [10] : 53414e0000000000000000000000000000000000000000000000000000000000
Arg [11] : 000000000000000000000000000000000000000000000000000000000000004d
Arg [12] : 68747470733a2f2f697066732e66696c65626173652e696f2f697066732f516d
Arg [13] : 5562784b553359646d6e66447745626e613750774663704e5643766367547077
Arg [14] : 37314366713572514433446d2f00000000000000000000000000000000000000
Arg [15] : 000000000000000000000000000000000000000000000000000000000000004d
Arg [16] : 68747470733a2f2f697066732e66696c65626173652e696f2f697066732f516d
Arg [17] : 5157774365576d4e7443716167354b6a61586f344b6a7a314833435847623464
Arg [18] : 48383376775a446f567442762f00000000000000000000000000000000000000
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [20] : 00000000000000000000000000000000000000000000000009b6e64a8ec60000
Arg [21] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [22] : 000000000000000000000000000000000000000000000000120a871cc0020000
Arg [23] : 0000000000000000000000000000000000000000000000004563918244f40000


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.