ETH Price: $3,052.45 (+2.42%)
Gas: 1 Gwei

Token

1Shos (1SHOS)
 

Overview

Max Total Supply

1,921 1SHOS

Holders

491

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
aria7.eth
Balance
1 1SHOS
0xda41ea646e032b4e0617e02707f625da018b13d4
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:
OneShos

Compiler Version
v0.8.8+commit.dddeac2f

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 7 : OneShos.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.8;

import "erc721a/contracts/ERC721A.sol";
import "./SalesActivation.sol";
import "./OneShos1155Interface.sol";

// ................................................................................................................................
// ...............,................................................................................................................
// ............:;+++;:,............................................................................................................
// ............,,:;+++++;:,,........................................................,;.............................................
// ................,,:;+++++;::,....................................................:+.............................................
// ....................,,:;++++++;;:,,..............................................:+,............................................
// .........................,:;;++++++;;:,,.........................................++:............................................
// .............................,,:;;+++++++;;::,,.................................;+++,...........................................
// ..................................,,::;+++++++++;;::,,,,......................,;+++++:,.........................................
// ........................................,,::;;+++++++++++;;;;:::::,,,,,,,:::;;+++++++++;:,,.....................................
// ...............................................,,::;;++++++++++++++++++++++++++++++++++++++++;;::::,,,,,........................
// ......................................................,,:::;;++++++++++++++++++++++++++++++++++++++++++++++;;;;;;::,............
// ..............................................................,,,,::;;++++++++++++++++++++++++++;;;;:::::,,,,,,,,,,.............
// .......................................................................,,,:;++++++++++++;::,,,..................................
// .............................................................................,:++++++;,.........................................
// ...............................................................................,;+++:...........................................
// ................................................................................,+++............................................
// .................................................................................;+;............................................
// .................................................................................:+:............................................
// .................................................................................:+,............................................
// .................................................................................:+,............................................
// ..................................................................................,.............................................
// .......................,,,,,,,,,,,,,,,,,,,,,,,,,..........................,,,..........,,,,,,,,,,,,,,,,,,,,,,,,,................
// ..............,*SS+.:?S@@@@@@@@@@@@@@@@@@@@@@@@#S*,.+SS%......,SSS:..:*%S##@##S?;...:?S@@@@@@@@@@@@@@@@@@@@@@@@#S*,.............
// ............:%#@@@*,@@@%++;;;;;;;;;;;;;;;;;;;+*#@@%.*@@#......,@@@;.?@@@@S%%S#@@@S,,@@@%++;;;;;;;;;;;;;;;;;;;+*#@@%.............
// ............;SS@@@*,#@@S?**********************?*+:.*@@#*******@@@:;@@@*,....,;@@@?,@@@S?**********************?*+:.............
// ...............L@@*.:?S#@@@@@@@@@@@@@@@@@@@@@@@@@@%,*@@@@@@@@@@@@@:*@@#........%@@S.:?S#@@@@@@@@@@@@@@@@@@@@@@@@@@%,............
// ...............U@@+:%%%;,,,,,,,,,,,,,,,,,,,,,,,*@@@:+@@#::::::;@@@:;@@@?,....,+@@@?:%%%;,,,,,,,,,,,,,,,,,,,,,,,*@@@;............
// ...............K@@*,S@@@S%%%%%%%%%%%%%%%%%%%%%S#@@S,*@@#......,@@@;.?@@@@#SSS#@@@%,,S@@@S%%%%%%%%%%%%%%%%%%%%%S#@@S,............
// ...............ESS+..;*%SSSSSSSSSSSSSSSSSSSSSSS%?+,.+SS%......,SSS:..:*%S####S%*;....;*%SSSSSSSSSSSSSSSSSSSSSSS%?+,.............
// ..........................................................................,,....................................................

error OneShos__NoBalanceOf1155();
error OneShos__NotEnoughBalance();
error OneShos__1155NotApproved();

contract OneShos is ERC721A, SalesActivation {
    /* State Variable */

    string private s_baseTokenURI;
    uint256 private s_presale_price = 0.05 ether;
    uint256 private s_price = 0.06 ether;
    address private s_oneShos1155ContractAddress;
    uint64 private s_token_id = 0;
    uint256 private s_max_one_shos_total = 6600;
    uint256 private s_max_one_shos = 4423;
    uint256 private s_max_per_wallet = 2;
    uint256 private s_max_per_transaction = 5;
    uint256 private s_presale_period_purchased;
    uint256 private s_presale_period_phase_max;
    uint256 private s_team_allocated;
    uint256 private s_total_purchased;
    mapping(address => bool) private s_presale_list;
    mapping(address => uint256) private s_presale_list_bought;
    // team addresses
    address private s_one_shos_wallet;
    address private immutable i_commission;

    /* Functions */

    constructor(
        uint256 publicSalesStartTime,
        uint256 preSalesStartTime,
        uint256 preSalesEndTime,
        uint256 claimStartTime,
        address oneShos1155ContractAddress,
        uint256 team_allocated,
        uint256 presale_period_phase_max,
        address one_shos_wallet,
        string memory baseTokenURI,
        address commission
    )
        ERC721A("1Shos", "1SHOS")
        SalesActivation(publicSalesStartTime, preSalesStartTime, preSalesEndTime, claimStartTime)
    {
        s_oneShos1155ContractAddress = oneShos1155ContractAddress;
        s_team_allocated = team_allocated;
        s_presale_period_phase_max = presale_period_phase_max;
        s_one_shos_wallet = one_shos_wallet;
        s_baseTokenURI = baseTokenURI;
        i_commission = commission;
    }

    /**
     * @dev claim the erc721 token for user that approved this contract
     */
    function claimFrom1155(uint256 numberToClaim) external isClaimActive {
        OneShos1155Interface oneShos1155contract = OneShos1155Interface(s_oneShos1155ContractAddress);
        // Check if is approved
        if (!oneShos1155contract.isApprovedForAll(msg.sender, address(this))) {
            revert OneShos__1155NotApproved();
        }
        uint256 oneShos1155Balance = oneShos1155contract.balanceOf(msg.sender, s_token_id);
        // Check if has 1155 balance
        if (oneShos1155Balance < 1) {
            revert OneShos__NoBalanceOf1155();
        }
        if (oneShos1155Balance < numberToClaim) {
            revert OneShos__NotEnoughBalance();
        }
        oneShos1155contract.burn(msg.sender, s_token_id, numberToClaim);
        _safeMint(msg.sender, numberToClaim);
    }

    /**
     * @dev Presale
     */
    function presales(uint256 oneshosNumber) external payable isPreSalesActive {
        uint256 supply = totalSupply();
        require(s_presale_list[msg.sender], "You are not on the presale list");
        require(
            s_presale_period_purchased + oneshosNumber <= s_presale_period_phase_max,
            "Purchase exceeds max allowed"
        );
        require(msg.value >= s_presale_price * oneshosNumber, "Ether sent is not correct");
        require(s_presale_list_bought[msg.sender] + oneshosNumber <= s_max_per_wallet, "Purchase exceeds max allowed");
        require(tx.origin == msg.sender, "Contracts not allowed to mint");
        require(supply + oneshosNumber <= s_max_one_shos_total, "Exceeds maximum one shos supply");

        s_presale_list_bought[msg.sender] += oneshosNumber;
        s_presale_period_purchased += oneshosNumber;
        s_total_purchased += oneshosNumber;
        _safeMint(msg.sender, oneshosNumber);
    }

    /**
     * @dev Mint One Shos
     */
    function mint(uint256 oneShosNumber) external payable isPublicSalesActive {
        uint256 supply = totalSupply();
        require(msg.value >= s_price * oneShosNumber, "Ether sent is not correct");
        require(
            s_total_purchased + oneShosNumber <= s_max_one_shos - s_team_allocated,
            "Exceeds public sale one shos supply"
        );
        require(oneShosNumber > 0, "You cannot mint 0 one shos.");
        require(oneShosNumber <= s_max_per_transaction, "You are not allowed to buy this many one shos at once.");
        require(tx.origin == msg.sender, "Contracts not allowed");
        require(supply + oneShosNumber <= s_max_one_shos_total, "Exceeds maximum one shos supply");

        s_total_purchased += oneShosNumber;
        _safeMint(msg.sender, oneShosNumber);
    }

    /**
     * @dev Owner Mint OneShos
     */
    function ownerMint(address _to, uint256 oneShosNumber) external onlyOwner {
        uint256 supply = totalSupply();
        require(supply + oneShosNumber <= s_max_one_shos_total, "Exceeds maximum one shos supply");

        _safeMint(_to, oneShosNumber);
    }

    /**
     * @dev Change the base URI when we move IPFS (Callable by owner only)
     */
    function setBaseURI(string memory _uri) public onlyOwner {
        s_baseTokenURI = _uri;
    }

    /**
     * @dev Change the max team mint
     */
    function setTeamMint(uint256 teamMax) public onlyOwner {
        s_team_allocated = teamMax;
    }

    /**
     * @dev Change the Pre Sales Max
     */
    function setPreSalesMax(uint256 presaleMax) public onlyOwner {
        s_presale_period_phase_max = presaleMax;
    }

    /**
     * @dev Change the presale purchased number
     */
    function setPreSalesPurchased(uint256 presalePurchased) public onlyOwner {
        s_presale_period_purchased = presalePurchased;
    }

    /**
     * @dev Change the total Sales one shos
     */
    function setTotalSalesOneShos(uint256 totalOneShos) public onlyOwner {
        s_max_one_shos = totalOneShos;
    }

    /**
     * @dev Change the total one shos
     */
    function setMaxTotalSalesOneShos(uint256 totalOneShos) public onlyOwner {
        s_max_one_shos_total = totalOneShos;
    }

    /**
     * @dev Change the presale list max number
     */
    function setMaxPerWallet(uint256 _max_per_wallet) public onlyOwner {
        s_max_per_wallet = _max_per_wallet;
    }

    /**
     * @dev Change the public sale max per transaction
     */
    function setMaxPerTransaction(uint256 _max_per_transaction) public onlyOwner {
        s_max_per_transaction = _max_per_transaction;
    }

    /**
     * @dev Add people to Presale List
     */
    function addToPresaleList(address[] calldata _presale_list) public onlyOwner {
        for (uint256 i = 0; i < _presale_list.length; i++) {
            s_presale_list[_presale_list[i]] = true;
            s_presale_list_bought[_presale_list[i]] > 0 ? s_presale_list_bought[_presale_list[i]] : 0;
        }
    }

    /**
     * @dev Remove people from Presale List
     */
    function removeFromPresaleList(address[] calldata removeList) public onlyOwner {
        for (uint256 i = 0; i < removeList.length; i++) {
            s_presale_list[removeList[i]] = false;
            s_presale_list_bought[removeList[i]] = 0;
        }
    }

    /**
     * @dev Set Price of Presale if need (Callable by owner only)
     */
    function setPresalePrice(uint256 _newPrice) public onlyOwner {
        s_presale_price = _newPrice;
    }

    /**
     * @dev Set Price if need (Callable by owner only)
     */
    function setPrice(uint256 _newPrice) public onlyOwner {
        s_price = _newPrice;
    }

    /**
     * @dev Set Team wallet
     */
    function setTeamWallet(address _newWallet) public onlyOwner {
        s_one_shos_wallet = _newWallet;
    }

    /**
     * @dev Set 1155 contract address
     */
    function setOneshos1155ContractAddress(address _newAddress) public onlyOwner {
        s_oneShos1155ContractAddress = _newAddress;
    }

    /**
     * @dev Set Token Id of 1155 Contreact
     */
    function setTokenIdOf1155Contract(uint64 _newTokenId) public onlyOwner {
        s_token_id = _newTokenId;
    }

    /**
     * @dev Withdraw ETH from this contract (Callable by owner only)
     */
    function withdraw() public onlyOwner {
        uint256 _balance = address(this).balance;
        require(payable(i_commission).send((_balance * 5) / 100));
        require(payable(s_one_shos_wallet).send((_balance * 95) / 100));
    }

    /* View / Pure Functions */

    function getOneshos1155ContractAddress() external view returns (address) {
        return s_oneShos1155ContractAddress;
    }

    function getTokenIdOf1155Contract() external view returns (uint64) {
        return s_token_id;
    }

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

    function getPresalePrice() external view returns (uint256) {
        return s_presale_price;
    }

    function getPrice() external view returns (uint256) {
        return s_price;
    }

    function getMaxOneShos() external view returns (uint256) {
        return s_max_one_shos;
    }

    function getMaxTotalOneShos() external view returns (uint256) {
        return s_max_one_shos_total;
    }

    function getMaxPerWallet() external view returns (uint256) {
        return s_max_per_wallet;
    }

    function getMaxPerTransaction() external view returns (uint256) {
        return s_max_per_transaction;
    }

    function getPresalePeriodPurchased() external view returns (uint256) {
        return s_presale_period_purchased;
    }

    function getPresalePeriodPhaseMax() external view returns (uint256) {
        return s_presale_period_phase_max;
    }

    function isAllMinted() external view returns (bool) {
        return (s_max_one_shos - s_total_purchased - s_team_allocated) < 1;
    }

    function getTotalPurchased() external view returns (uint256) {
        return s_total_purchased;
    }

    function isWalletInPresaleList(address wallet) external view returns (bool) {
        return s_presale_list[wallet];
    }

    function presaleBought(address wallet) external view returns (uint256) {
        return s_presale_list_bought[wallet];
    }
}

File 2 of 7 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard,
 * including the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at `_startTokenId()`
 * (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Mask of an entry in packed address data.
    uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

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

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

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

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

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

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

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

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

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

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

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

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

    // The tokenId of the next token to be minted.
    uint256 private _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY;
    }

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

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

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

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

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

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ownerOf(tokenId);

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

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

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), 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-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 {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

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

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

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

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

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

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

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

            uint256 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

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

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

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

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

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

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

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            // Compute the slot.
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalsPtr.slot)
            approvedAddressSlot := keccak256(0x00, 0x40)
            // Load the slot's value from storage.
            approvedAddress := sload(approvedAddressSlot)
        }
    }

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

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

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

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

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

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

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

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

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } {
                // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

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

File 3 of 7 : SalesActivation.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";

error SalesActivation__ClaimNotStarted();
error SalesActivation__PublicSalesNotStarted();
error SalesActivation__PrivateSalesNotStarted();

contract SalesActivation is Ownable {
    /* State Variable */
    // Claim Start time
    uint256 private s_claimStartTime;
    // Public sales start time
    uint256 private s_publicSalesStartTime;
    // presales start time
    uint256 private s_preSalesStartTime;
    // presales end time
    uint256 private s_preSalesEndTime;

    /* Modifier */
    modifier isClaimActive() {
        if (!isClaimActivated()) {
            revert SalesActivation__ClaimNotStarted();
        }
        _;
    }
    modifier isPublicSalesActive() {
        if (!isPublicSalesActivated()) {
            revert SalesActivation__PublicSalesNotStarted();
        }
        _;
    }

    modifier isPreSalesActive() {
        if (!isPreSalesActivated()) {
            revert SalesActivation__PrivateSalesNotStarted();
        }
        _;
    }

    /* Functions */
    constructor(
        uint256 _publicSalesStartTime,
        uint256 _preSalesStartTime,
        uint256 _preSalesEndTime,
        uint256 _claimStartTime
    ) {
        s_claimStartTime = _claimStartTime;
        s_publicSalesStartTime = _publicSalesStartTime;
        s_preSalesStartTime = _preSalesStartTime;
        s_preSalesEndTime = _preSalesEndTime;
    }

    function setPublicSalesTime(uint256 _startTime) external onlyOwner {
        s_publicSalesStartTime = _startTime;
    }

    function setClaimStartTime(uint256 _startTime) external onlyOwner {
        s_claimStartTime = _startTime;
    }

    function setPreSalesTime(uint256 _startTime, uint256 _endTime) external onlyOwner {
        require(_endTime >= _startTime, "PreSalesActivation: End time should be later than start time");
        s_preSalesStartTime = _startTime;
        s_preSalesEndTime = _endTime;
    }

    /* View / Pure Functions */
    function getClaimStartTime() public view returns (uint256) {
        return s_claimStartTime;
    }

    function getPublicSalesStartTime() public view returns (uint256) {
        return s_publicSalesStartTime;
    }

    function getPrivateSalesStartTime() public view returns (uint256) {
        return s_preSalesStartTime;
    }

    function getPreSalesEndTime() public view returns (uint256) {
        return s_preSalesEndTime;
    }

    function isClaimActivated() public view returns (bool) {
        return s_claimStartTime > 0 && block.timestamp >= s_claimStartTime;
    }

    function isPublicSalesActivated() public view returns (bool) {
        return s_publicSalesStartTime > 0 && block.timestamp >= s_publicSalesStartTime;
    }

    function isPreSalesActivated() public view returns (bool) {
        return
            s_preSalesStartTime > 0 &&
            s_preSalesEndTime > 0 &&
            block.timestamp >= s_preSalesStartTime &&
            block.timestamp <= s_preSalesEndTime;
    }
}

File 4 of 7 : OneShos1155Interface.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.8;

interface OneShos1155Interface {
    function burn(
        address account,
        uint256 id,
        uint256 value
    ) external;

    function balanceOf(address account, uint256 id) external view returns (uint256);

    function isApprovedForAll(address account, address operator) external view returns (bool);
}

File 5 of 7 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

    // ==============================
    //            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);

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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 be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`,
     * as defined in the ERC2309 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1000,
    "details": {
      "yul": false
    }
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"publicSalesStartTime","type":"uint256"},{"internalType":"uint256","name":"preSalesStartTime","type":"uint256"},{"internalType":"uint256","name":"preSalesEndTime","type":"uint256"},{"internalType":"uint256","name":"claimStartTime","type":"uint256"},{"internalType":"address","name":"oneShos1155ContractAddress","type":"address"},{"internalType":"uint256","name":"team_allocated","type":"uint256"},{"internalType":"uint256","name":"presale_period_phase_max","type":"uint256"},{"internalType":"address","name":"one_shos_wallet","type":"address"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"address","name":"commission","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OneShos__1155NotApproved","type":"error"},{"inputs":[],"name":"OneShos__NoBalanceOf1155","type":"error"},{"inputs":[],"name":"OneShos__NotEnoughBalance","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SalesActivation__ClaimNotStarted","type":"error"},{"inputs":[],"name":"SalesActivation__PrivateSalesNotStarted","type":"error"},{"inputs":[],"name":"SalesActivation__PublicSalesNotStarted","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"_presale_list","type":"address[]"}],"name":"addToPresaleList","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":[{"internalType":"uint256","name":"numberToClaim","type":"uint256"}],"name":"claimFrom1155","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getClaimStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxOneShos","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxTotalOneShos","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOneshos1155ContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPreSalesEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPresalePeriodPhaseMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPresalePeriodPurchased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPresalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrivateSalesStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPublicSalesStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokenIdOf1155Contract","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalPurchased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAllMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isClaimActivated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPreSalesActivated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSalesActivated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"isWalletInPresaleList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"oneShosNumber","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"oneShosNumber","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","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":"wallet","type":"address"}],"name":"presaleBought","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"oneshosNumber","type":"uint256"}],"name":"presales","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"removeList","type":"address[]"}],"name":"removeFromPresaleList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"}],"name":"setClaimStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max_per_transaction","type":"uint256"}],"name":"setMaxPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max_per_wallet","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"totalOneShos","type":"uint256"}],"name":"setMaxTotalSalesOneShos","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newAddress","type":"address"}],"name":"setOneshos1155ContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"presaleMax","type":"uint256"}],"name":"setPreSalesMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"presalePurchased","type":"uint256"}],"name":"setPreSalesPurchased","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_endTime","type":"uint256"}],"name":"setPreSalesTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPresalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"}],"name":"setPublicSalesTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"teamMax","type":"uint256"}],"name":"setTeamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newWallet","type":"address"}],"name":"setTeamWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_newTokenId","type":"uint64"}],"name":"setTokenIdOf1155Contract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"totalOneShos","type":"uint256"}],"name":"setTotalSalesOneShos","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405266b1a2bc2ec50000600e5566d529ae9e860000600f5560108054600160a01b600160e01b03191690556119c8601155611147601255600260135560056014553480156200005057600080fd5b5060405162003566380380620035668339810160408190526200007391620003f5565b89898989604051806040016040528060058152602001643153686f7360d81b815250604051806040016040528060058152602001643153484f5360d81b8152508160029080519060200190620000cb929190620001c4565b508051620000e1906003906020840190620001c4565b50506000805550620000f33362000172565b600955600a92909255600b55600c55601080546001600160a01b038089166001600160a01b03199283161790925560178790556016869055601b80549286169290911691909117905581516200015190600d906020850190620001c4565b5060601b6001600160601b031916608052506200054a975050505050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001d29062000519565b90600052602060002090601f016020900481019282620001f6576000855562000241565b82601f106200021157805160ff191683800117855562000241565b8280016001018555821562000241579182015b828111156200024157825182559160200191906001019062000224565b506200024f92915062000253565b5090565b5b808211156200024f576000815560010162000254565b805b81146200027857600080fd5b50565b805162000288816200026a565b92915050565b60006001600160a01b03821662000288565b6200026c816200028e565b80516200028881620002a0565b634e487b7160e01b600052604160045260246000fd5b601f19601f83011681018181106001600160401b0382111715620002f657620002f6620002b8565b6040525050565b60006200030960405190565b9050620003178282620002ce565b919050565b60006001600160401b03821115620003385762000338620002b8565b601f19601f83011660200192915050565b60005b83811015620003665781810151838201526020016200034c565b8381111562000376576000848401525b50505050565b6000620003936200038d846200031c565b620002fd565b905082815260208101848484011115620003b057620003b0600080fd5b620003bd84828562000349565b509392505050565b600082601f830112620003db57620003db600080fd5b8151620003ed8482602086016200037c565b949350505050565b6000806000806000806000806000806101408b8d0312156200041a576200041a600080fd5b6000620004288d8d6200027b565b9a505060206200043b8d828e016200027b565b99505060406200044e8d828e016200027b565b9850506060620004618d828e016200027b565b9750506080620004748d828e01620002ab565b96505060a0620004878d828e016200027b565b95505060c06200049a8d828e016200027b565b94505060e0620004ad8d828e01620002ab565b9350506101008b01516001600160401b03811115620004cf57620004cf600080fd5b620004dd8d828e01620003c5565b925050610120620004f18d828e01620002ab565b9150509295989b9194979a5092959850565b634e487b7160e01b600052602260045260246000fd5b6002810460018216806200052e57607f821691505b6020821081141562000544576200054462000503565b50919050565b60805160601c612ffd6200056960003960006110690152612ffd6000f3fe6080604052600436106103a25760003560e01c80638b0d3319116101e7578063b88d4fde1161010d578063e985e9c5116100a0578063f16514cc1161006f578063f16514cc14610a72578063f2fde38b14610a87578063faade52714610aa7578063fb4cd66214610abc57600080fd5b8063e985e9c5146109b3578063e9ff57d7146109fc578063ed39039b14610a32578063edda1b4214610a5257600080fd5b8063ccfdd2f8116100dc578063ccfdd2f814610949578063dd0209cc14610969578063e06673041461097e578063e268e4d31461099357600080fd5b8063b88d4fde146108d4578063bd488fba146108f4578063c7ac7fc114610914578063c87b56dd1461092957600080fd5b8063a0712d6811610185578063b179e06011610154578063b179e06014610875578063b3d0f9dc14610895578063b523f834146108aa578063b7329d2b146108bf57600080fd5b8063a0712d681461080d578063a22cb46514610820578063a9e46b0f14610840578063ae4384f11461086057600080fd5b806391b7f5ed116101c157806391b7f5ed146107a357806395d89b41146107c357806398d5fdca146107d85780639ee3b01a146107ed57600080fd5b80638b0d3319146107505780638d30cc7e146107655780638da5cb5b1461078557600080fd5b8063484b973c116102cc578063715018a61161026a57806377ee4b0f1161023957806377ee4b0f146106cf5780637dbfb36d146106e45780637f9e0d65146106f757806384dcc5691461071757600080fd5b8063715018a6146106705780637204a3c91461068557806372e67df3146106a55780637381ed73146106ba57600080fd5b806360869d9b116102a657806360869d9b146105fb5780636352211e1461061b5780636bbc42911461063b57806370a082311461065057600080fd5b8063484b973c1461059d57806355f804b3146105bd5780635dd17ef0146105dd57600080fd5b806320234ac711610344578063372666dc11610313578063372666dc1461052557806337938720146105535780633ccfd60b1461056857806342842e0e1461057d57600080fd5b806320234ac7146104b057806323b872dd146104c55780632533a5f6146104e55780633549345e1461050557600080fd5b8063095ea7b311610380578063095ea7b31461042c5780631525ff7d1461044e57806315932fdb1461046e57806318160ddd1461048e57600080fd5b806301ffc9a7146103a757806306fdde03146103dd578063081812fc146103ff575b600080fd5b3480156103b357600080fd5b506103c76103c236600461245b565b610adc565b6040516103d49190612486565b60405180910390f35b3480156103e957600080fd5b506103f2610b79565b6040516103d491906124f2565b34801561040b57600080fd5b5061041f61041a366004612514565b610c0b565b6040516103d4919061254f565b34801561043857600080fd5b5061044c610447366004612571565b610c68565b005b34801561045a57600080fd5b5061044c6104693660046125ae565b610d4b565b34801561047a57600080fd5b5061044c610489366004612514565b610dad565b34801561049a57600080fd5b50600154600054035b6040516103d491906125d5565b3480156104bc57600080fd5b506014546104a3565b3480156104d157600080fd5b5061044c6104e03660046125e3565b610ddc565b3480156104f157600080fd5b5061044c610500366004612514565b610fd6565b34801561051157600080fd5b5061044c610520366004612514565b611005565b34801561053157600080fd5b50601054600160a01b900467ffffffffffffffff166040516103d49190612643565b34801561055f57600080fd5b506018546104a3565b34801561057457600080fd5b5061044c611034565b34801561058957600080fd5b5061044c6105983660046125e3565b61110c565b3480156105a957600080fd5b5061044c6105b8366004612571565b61112c565b3480156105c957600080fd5b5061044c6105d836600461274c565b61119d565b3480156105e957600080fd5b506010546001600160a01b031661041f565b34801561060757600080fd5b5061044c610616366004612514565b6111de565b34801561062757600080fd5b5061041f610636366004612514565b61120d565b34801561064757600080fd5b506013546104a3565b34801561065c57600080fd5b506104a361066b3660046125ae565b611218565b34801561067c57600080fd5b5061044c611280565b34801561069157600080fd5b5061044c6106a03660046127d9565b6112b6565b3480156106b157600080fd5b506009546104a3565b3480156106c657600080fd5b506011546104a3565b3480156106db57600080fd5b50600e546104a3565b61044c6106f2366004612514565b6113fa565b34801561070357600080fd5b5061044c610712366004612514565b6115bc565b34801561072357600080fd5b506103c76107323660046125ae565b6001600160a01b031660009081526019602052604090205460ff1690565b34801561075c57600080fd5b506103c76115eb565b34801561077157600080fd5b5061044c610780366004612514565b611605565b34801561079157600080fd5b506008546001600160a01b031661041f565b3480156107af57600080fd5b5061044c6107be366004612514565b611634565b3480156107cf57600080fd5b506103f2611663565b3480156107e457600080fd5b50600f546104a3565b3480156107f957600080fd5b5061044c610808366004612514565b611672565b61044c61081b366004612514565b61193e565b34801561082c57600080fd5b5061044c61083b366004612834565b611a94565b34801561084c57600080fd5b5061044c61085b366004612514565b611b46565b34801561086c57600080fd5b506103c7611b75565b34801561088157600080fd5b5061044c6108903660046127d9565b611b8d565b3480156108a157600080fd5b50600c546104a3565b3480156108b657600080fd5b506015546104a3565b3480156108cb57600080fd5b506103c7611c70565b3480156108e057600080fd5b5061044c6108ef366004612867565b611ca4565b34801561090057600080fd5b5061044c61090f366004612514565b611cee565b34801561092057600080fd5b50600a546104a3565b34801561093557600080fd5b506103f2610944366004612514565b611d1d565b34801561095557600080fd5b5061044c610964366004612514565b611dbb565b34801561097557600080fd5b506103c7611dea565b34801561098a57600080fd5b506012546104a3565b34801561099f57600080fd5b5061044c6109ae366004612514565b611e11565b3480156109bf57600080fd5b506103c76109ce3660046128e6565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610a0857600080fd5b506104a3610a173660046125ae565b6001600160a01b03166000908152601a602052604090205490565b348015610a3e57600080fd5b5061044c610a4d366004612919565b611e40565b348015610a5e57600080fd5b5061044c610a6d366004612956565b611e95565b348015610a7e57600080fd5b506016546104a3565b348015610a9357600080fd5b5061044c610aa23660046125ae565b611f01565b348015610ab357600080fd5b50600b546104a3565b348015610ac857600080fd5b5061044c610ad73660046125ae565b611f5a565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161480610b3f57507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b80610b7357507f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b606060028054610b889061298d565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb49061298d565b8015610c015780601f10610bd657610100808354040283529160200191610c01565b820191906000526020600020905b815481529060010190602001808311610be457829003601f168201915b5050505050905090565b6000610c1682611fb3565b610c4c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610c738261120d565b9050336001600160a01b03821614610ce2576001600160a01b038116600090815260076020908152604080832033845290915290205460ff16610ce2576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b03163314610d7e5760405162461bcd60e51b8152600401610d75906129ef565b60405180910390fd5b601b805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6008546001600160a01b03163314610dd75760405162461bcd60e51b8152600401610d75906129ef565b601755565b6000610de782611fda565b9050836001600160a01b0316816001600160a01b031614610e34576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610eb7576001600160a01b038616600090815260076020908152604080832033845290915290205460ff16610eb7576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516610ef7576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610f0257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610f8d5760018401600081815260046020526040902054610f8b576000548114610f8b5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6008546001600160a01b031633146110005760405162461bcd60e51b8152600401610d75906129ef565b600955565b6008546001600160a01b0316331461102f5760405162461bcd60e51b8152600401610d75906129ef565b600e55565b6008546001600160a01b0316331461105e5760405162461bcd60e51b8152600401610d75906129ef565b476001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166108fc6064611099846005612a15565b6110a39190612a4a565b6040518115909202916000818181858888f193505050506110c357600080fd5b601b546001600160a01b03166108fc60646110df84605f612a15565b6110e99190612a4a565b6040518115909202916000818181858888f1935050505061110957600080fd5b50565b61112783838360405180602001604052806000815250611ca4565b505050565b6008546001600160a01b031633146111565760405162461bcd60e51b8152600401610d75906129ef565b60006111656001546000540390565b6011549091506111758383612a5e565b11156111935760405162461bcd60e51b8152600401610d7590612aaa565b6111278383612054565b6008546001600160a01b031633146111c75760405162461bcd60e51b8152600401610d75906129ef565b80516111da90600d9060208401906123a0565b5050565b6008546001600160a01b031633146112085760405162461bcd60e51b8152600401610d75906129ef565b600a55565b6000610b7382611fda565b60006001600160a01b03821661125a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146112aa5760405162461bcd60e51b8152600401610d75906129ef565b6112b4600061206e565b565b6008546001600160a01b031633146112e05760405162461bcd60e51b8152600401610d75906129ef565b60005b818110156111275760016019600085858581811061130357611303612aba565b905060200201602081019061131891906125ae565b6001600160a01b0316815260208101919091526040016000908120805460ff191692151592909217909155601a8185858581811061135857611358612aba565b905060200201602081019061136d91906125ae565b6001600160a01b03166001600160a01b03168152602001908152602001600020541161139a5760006113e7565b601a60008484848181106113b0576113b0612aba565b90506020020160208101906113c591906125ae565b6001600160a01b03166001600160a01b03168152602001908152602001600020545b50806113f281612ad0565b9150506112e3565b611402611c70565b611438576040517f6bae5e3f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006114476001546000540390565b3360009081526019602052604090205490915060ff166114795760405162461bcd60e51b8152600401610d7590612b1f565b6016548260155461148a9190612a5e565b11156114a85760405162461bcd60e51b8152600401610d7590612b63565b81600e546114b69190612a15565b3410156114d55760405162461bcd60e51b8152600401610d7590612ba7565b601354336000908152601a60205260409020546114f3908490612a5e565b11156115115760405162461bcd60e51b8152600401610d7590612b63565b3233146115305760405162461bcd60e51b8152600401610d7590612beb565b60115461153d8383612a5e565b111561155b5760405162461bcd60e51b8152600401610d7590612aaa565b336000908152601a60205260408120805484929061157a908490612a5e565b9250508190555081601560008282546115939190612a5e565b9250508190555081601860008282546115ac9190612a5e565b909155506111da90503383612054565b6008546001600160a01b031633146115e65760405162461bcd60e51b8152600401610d75906129ef565b601155565b60008060095411801561160057506009544210155b905090565b6008546001600160a01b0316331461162f5760405162461bcd60e51b8152600401610d75906129ef565b601255565b6008546001600160a01b0316331461165e5760405162461bcd60e51b8152600401610d75906129ef565b600f55565b606060038054610b889061298d565b61167a6115eb565b6116b0576040517f0723778600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6010546040517fe985e9c50000000000000000000000000000000000000000000000000000000081526001600160a01b0390911690819063e985e9c5906116fd9033903090600401612bfb565b60206040518083038186803b15801561171557600080fd5b505afa158015611729573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174d9190612c21565b611783576040517f9787f1e800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6010546040517efdd58e0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0384169162fdd58e916117de913391600160a01b900467ffffffffffffffff1690600401612c64565b60206040518083038186803b1580156117f657600080fd5b505afa15801561180a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061182e9190612c8a565b9050600181101561186b576040517fc44b907a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b828110156118a5576040517f90a0003c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6010546040517ff5298aca0000000000000000000000000000000000000000000000000000000081526001600160a01b0384169163f5298aca91611902913391600160a01b90910467ffffffffffffffff16908890600401612cab565b600060405180830381600087803b15801561191c57600080fd5b505af1158015611930573d6000803e3d6000fd5b505050506111273384612054565b611946611b75565b61197c576040517fb039616e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061198b6001546000540390565b905081600f5461199b9190612a15565b3410156119ba5760405162461bcd60e51b8152600401610d7590612ba7565b6017546012546119ca9190612cd3565b826018546119d89190612a5e565b11156119f65760405162461bcd60e51b8152600401610d7590612d47565b60008211611a165760405162461bcd60e51b8152600401610d7590612d8b565b601454821115611a385760405162461bcd60e51b8152600401610d7590612df5565b323314611a575760405162461bcd60e51b8152600401610d7590612e39565b601154611a648383612a5e565b1115611a825760405162461bcd60e51b8152600401610d7590612aaa565b81601860008282546115ac9190612a5e565b6001600160a01b038216331415611ad7576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b038716808552925291829020805460ff191685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190611b3a908590612486565b60405180910390a35050565b6008546001600160a01b03163314611b705760405162461bcd60e51b8152600401610d75906129ef565b601555565b600080600a54118015611600575050600a5442101590565b6008546001600160a01b03163314611bb75760405162461bcd60e51b8152600401610d75906129ef565b60005b8181101561112757600060196000858585818110611bda57611bda612aba565b9050602002016020810190611bef91906125ae565b6001600160a01b0316815260208101919091526040016000908120805460ff191692151592909217909155601a81858585818110611c2f57611c2f612aba565b9050602002016020810190611c4491906125ae565b6001600160a01b0316815260208101919091526040016000205580611c6881612ad0565b915050611bba565b600080600b54118015611c8557506000600c54115b8015611c935750600b544210155b8015611600575050600c5442111590565b611caf848484610ddc565b6001600160a01b0383163b15611ce857611ccb848484846120cd565b611ce8576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b03163314611d185760405162461bcd60e51b8152600401610d75906129ef565b601655565b6060611d2882611fb3565b611d5e576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611d686121c5565b9050805160001415611d895760405180602001604052806000815250611db4565b80611d93846121d4565b604051602001611da4929190612e6b565b6040516020818303038152906040525b9392505050565b6008546001600160a01b03163314611de55760405162461bcd60e51b8152600401610d75906129ef565b601455565b60006001601754601854601254611e019190612cd3565b611e0b9190612cd3565b10905090565b6008546001600160a01b03163314611e3b5760405162461bcd60e51b8152600401610d75906129ef565b601355565b6008546001600160a01b03163314611e6a5760405162461bcd60e51b8152600401610d75906129ef565b81811015611e8a5760405162461bcd60e51b8152600401610d7590612edd565b600b91909155600c55565b6008546001600160a01b03163314611ebf5760405162461bcd60e51b8152600401610d75906129ef565b6010805467ffffffffffffffff909216600160a01b027fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6008546001600160a01b03163314611f2b5760405162461bcd60e51b8152600401610d75906129ef565b6001600160a01b038116611f515760405162461bcd60e51b8152600401610d7590612f47565b6111098161206e565b6008546001600160a01b03163314611f845760405162461bcd60e51b8152600401610d75906129ef565b6010805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000805482108015610b73575050600090815260046020526040902054600160e01b161590565b60008160005481101561202257600081815260046020526040902054600160e01b8116612020575b80611db4575060001901600081815260046020526040902054612002565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111da828260405180602001604052806000815250612223565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612102903390899088908890600401612f57565b602060405180830381600087803b15801561211c57600080fd5b505af192505050801561214c575060408051601f3d908101601f1916820190925261214991810190612fa6565b60015b6121a7573d80801561217a576040519150601f19603f3d011682016040523d82523d6000602084013e61217f565b606091505b50805161219f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600d8054610b889061298d565b604080516080810191829052607f0190826030600a8206018353600a90045b801561221157600183039250600a81066030018353600a90046121f3565b50819003601f19909101908152919050565b61222d8383612290565b6001600160a01b0383163b15611127576000548281035b61225760008683806001019450866120cd565b612274576040516368d2bf6b60e11b815260040160405180910390fd5b81811061224457816000541461228957600080fd5b5050505050565b6000546001600160a01b0383166122d3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8161230a576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106123545760005550505050565b8280546123ac9061298d565b90600052602060002090601f0160209004810192826123ce5760008555612414565b82601f106123e757805160ff1916838001178555612414565b82800160010185558215612414579182015b828111156124145782518255916020019190600101906123f9565b50612420929150612424565b5090565b5b808211156124205760008155600101612425565b6001600160e01b031981165b811461110957600080fd5b8035610b7381612439565b60006020828403121561247057612470600080fd5b60006121bd8484612450565b8015155b82525050565b60208101610b73828461247c565b60005b838110156124af578181015183820152602001612497565b83811115611ce85750506000910152565b60006124ca825190565b8084526020840193506124e1818560208601612494565b601f01601f19169290920192915050565b60208082528101611db481846124c0565b80612445565b8035610b7381612503565b60006020828403121561252957612529600080fd5b60006121bd8484612509565b60006001600160a01b038216610b73565b61248081612535565b60208101610b738284612546565b61244581612535565b8035610b738161255d565b6000806040838503121561258757612587600080fd5b60006125938585612566565b92505060206125a485828601612509565b9150509250929050565b6000602082840312156125c3576125c3600080fd5b60006121bd8484612566565b80612480565b60208101610b7382846125cf565b6000806000606084860312156125fb576125fb600080fd5b60006126078686612566565b935050602061261886828701612566565b925050604061262986828701612509565b9150509250925092565b67ffffffffffffffff8116612480565b60208101610b738284612633565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff8211171561268d5761268d612651565b6040525050565b600061269f60405190565b90506126ab8282612667565b919050565b600067ffffffffffffffff8211156126ca576126ca612651565b601f19601f83011660200192915050565b82818337506000910152565b60006126fa6126f5846126b0565b612694565b90508281526020810184848401111561271557612715600080fd5b6127208482856126db565b509392505050565b600082601f83011261273c5761273c600080fd5b81356121bd8482602086016126e7565b60006020828403121561276157612761600080fd5b813567ffffffffffffffff81111561277b5761277b600080fd5b6121bd84828501612728565b60008083601f84011261279c5761279c600080fd5b50813567ffffffffffffffff8111156127b7576127b7600080fd5b6020830191508360208202830111156127d2576127d2600080fd5b9250929050565b600080602083850312156127ef576127ef600080fd5b823567ffffffffffffffff81111561280957612809600080fd5b61281585828601612787565b92509250509250929050565b801515612445565b8035610b7381612821565b6000806040838503121561284a5761284a600080fd5b60006128568585612566565b92505060206125a485828601612829565b6000806000806080858703121561288057612880600080fd5b600061288c8787612566565b945050602061289d87828801612566565b93505060406128ae87828801612509565b925050606085013567ffffffffffffffff8111156128ce576128ce600080fd5b6128da87828801612728565b91505092959194509250565b600080604083850312156128fc576128fc600080fd5b60006129088585612566565b92505060206125a485828601612566565b6000806040838503121561292f5761292f600080fd5b60006125938585612509565b67ffffffffffffffff8116612445565b8035610b738161293b565b60006020828403121561296b5761296b600080fd5b60006121bd848461294b565b634e487b7160e01b600052602260045260246000fd5b6002810460018216806129a157607f821691505b602082108114156129b4576129b4612977565b50919050565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572910190815260005b5060200190565b60208082528101610b73816129ba565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612a2f57612a2f6129ff565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612a5957612a59612a34565b500490565b60008219821115612a7157612a716129ff565b500190565b601f81526000602082017f45786365656473206d6178696d756d206f6e652073686f7320737570706c7900815291506129e8565b60208082528101610b7381612a76565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612ae457612ae46129ff565b5060010190565b601f81526000602082017f596f7520617265206e6f74206f6e207468652070726573616c65206c69737400815291506129e8565b60208082528101610b7381612aeb565b601c81526000602082017f50757263686173652065786365656473206d617820616c6c6f77656400000000815291506129e8565b60208082528101610b7381612b2f565b601981526000602082017f45746865722073656e74206973206e6f7420636f727265637400000000000000815291506129e8565b60208082528101610b7381612b73565b601d81526000602082017f436f6e747261637473206e6f7420616c6c6f77656420746f206d696e74000000815291506129e8565b60208082528101610b7381612bb7565b60408101612c098285612546565b611db46020830184612546565b8051610b7381612821565b600060208284031215612c3657612c36600080fd5b60006121bd8484612c16565b6000610b73612c5867ffffffffffffffff841681565b90565b61248081612c42565b60408101612c728285612546565b611db46020830184612c5b565b8051610b7381612503565b600060208284031215612c9f57612c9f600080fd5b60006121bd8484612c7f565b60608101612cb98286612546565b612cc66020830185612c5b565b6121bd60408301846125cf565b600082821015612ce557612ce56129ff565b500390565b602381526000602082017f45786365656473207075626c69632073616c65206f6e652073686f732073757081527f706c790000000000000000000000000000000000000000000000000000000000602082015291505b5060400190565b60208082528101610b7381612cea565b601b81526000602082017f596f752063616e6e6f74206d696e742030206f6e652073686f732e0000000000815291506129e8565b60208082528101610b7381612d57565b603681526000602082017f596f7520617265206e6f7420616c6c6f77656420746f2062757920746869732081527f6d616e79206f6e652073686f73206174206f6e63652e0000000000000000000060208201529150612d40565b60208082528101610b7381612d9b565b601581526000602082017f436f6e747261637473206e6f7420616c6c6f7765640000000000000000000000815291506129e8565b60208082528101610b7381612e05565b6000612e53825190565b612e61818560208601612494565b9290920192915050565b6000612e778285612e49565b91506121bd8284612e49565b603c81526000602082017f50726553616c657341637469766174696f6e3a20456e642074696d652073686f81527f756c64206265206c61746572207468616e2073746172742074696d650000000060208201529150612d40565b60208082528101610b7381612e83565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181527f646472657373000000000000000000000000000000000000000000000000000060208201529150612d40565b60208082528101610b7381612eed565b60808101612f658287612546565b612f726020830186612546565b612f7f60408301856125cf565b8181036060830152612f9181846124c0565b9695505050505050565b8051610b7381612439565b600060208284031215612fbb57612fbb600080fd5b60006121bd8484612f9b56fea264697066735822122068ccead38a2a63e74cafefa43e5464edbcce6ea48d48bde9305537a9da3185d364736f6c634300080800330000000000000000000000000000000000000000000000000000000063006a500000000000000000000000000000000000000000000000000000000062ffc1900000000000000000000000000000000000000000000000000000000063006a500000000000000000000000000000000000000000000000000000000062f3e410000000000000000000000000f014c8d2cd5c3bb1c99cb177c52462660569c7fd00000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000007d0000000000000000000000000fbe7845e8560fced01bde34fc07f4261bc535a100000000000000000000000000000000000000000000000000000000000000140000000000000000000000000799cd72d86a6aa46876c2689a13637cbe6ae89da000000000000000000000000000000000000000000000000000000000000001b68747470733a2f2f3173686f732e636f6d2f6d657461646174612f0000000000

Deployed Bytecode

0x6080604052600436106103a25760003560e01c80638b0d3319116101e7578063b88d4fde1161010d578063e985e9c5116100a0578063f16514cc1161006f578063f16514cc14610a72578063f2fde38b14610a87578063faade52714610aa7578063fb4cd66214610abc57600080fd5b8063e985e9c5146109b3578063e9ff57d7146109fc578063ed39039b14610a32578063edda1b4214610a5257600080fd5b8063ccfdd2f8116100dc578063ccfdd2f814610949578063dd0209cc14610969578063e06673041461097e578063e268e4d31461099357600080fd5b8063b88d4fde146108d4578063bd488fba146108f4578063c7ac7fc114610914578063c87b56dd1461092957600080fd5b8063a0712d6811610185578063b179e06011610154578063b179e06014610875578063b3d0f9dc14610895578063b523f834146108aa578063b7329d2b146108bf57600080fd5b8063a0712d681461080d578063a22cb46514610820578063a9e46b0f14610840578063ae4384f11461086057600080fd5b806391b7f5ed116101c157806391b7f5ed146107a357806395d89b41146107c357806398d5fdca146107d85780639ee3b01a146107ed57600080fd5b80638b0d3319146107505780638d30cc7e146107655780638da5cb5b1461078557600080fd5b8063484b973c116102cc578063715018a61161026a57806377ee4b0f1161023957806377ee4b0f146106cf5780637dbfb36d146106e45780637f9e0d65146106f757806384dcc5691461071757600080fd5b8063715018a6146106705780637204a3c91461068557806372e67df3146106a55780637381ed73146106ba57600080fd5b806360869d9b116102a657806360869d9b146105fb5780636352211e1461061b5780636bbc42911461063b57806370a082311461065057600080fd5b8063484b973c1461059d57806355f804b3146105bd5780635dd17ef0146105dd57600080fd5b806320234ac711610344578063372666dc11610313578063372666dc1461052557806337938720146105535780633ccfd60b1461056857806342842e0e1461057d57600080fd5b806320234ac7146104b057806323b872dd146104c55780632533a5f6146104e55780633549345e1461050557600080fd5b8063095ea7b311610380578063095ea7b31461042c5780631525ff7d1461044e57806315932fdb1461046e57806318160ddd1461048e57600080fd5b806301ffc9a7146103a757806306fdde03146103dd578063081812fc146103ff575b600080fd5b3480156103b357600080fd5b506103c76103c236600461245b565b610adc565b6040516103d49190612486565b60405180910390f35b3480156103e957600080fd5b506103f2610b79565b6040516103d491906124f2565b34801561040b57600080fd5b5061041f61041a366004612514565b610c0b565b6040516103d4919061254f565b34801561043857600080fd5b5061044c610447366004612571565b610c68565b005b34801561045a57600080fd5b5061044c6104693660046125ae565b610d4b565b34801561047a57600080fd5b5061044c610489366004612514565b610dad565b34801561049a57600080fd5b50600154600054035b6040516103d491906125d5565b3480156104bc57600080fd5b506014546104a3565b3480156104d157600080fd5b5061044c6104e03660046125e3565b610ddc565b3480156104f157600080fd5b5061044c610500366004612514565b610fd6565b34801561051157600080fd5b5061044c610520366004612514565b611005565b34801561053157600080fd5b50601054600160a01b900467ffffffffffffffff166040516103d49190612643565b34801561055f57600080fd5b506018546104a3565b34801561057457600080fd5b5061044c611034565b34801561058957600080fd5b5061044c6105983660046125e3565b61110c565b3480156105a957600080fd5b5061044c6105b8366004612571565b61112c565b3480156105c957600080fd5b5061044c6105d836600461274c565b61119d565b3480156105e957600080fd5b506010546001600160a01b031661041f565b34801561060757600080fd5b5061044c610616366004612514565b6111de565b34801561062757600080fd5b5061041f610636366004612514565b61120d565b34801561064757600080fd5b506013546104a3565b34801561065c57600080fd5b506104a361066b3660046125ae565b611218565b34801561067c57600080fd5b5061044c611280565b34801561069157600080fd5b5061044c6106a03660046127d9565b6112b6565b3480156106b157600080fd5b506009546104a3565b3480156106c657600080fd5b506011546104a3565b3480156106db57600080fd5b50600e546104a3565b61044c6106f2366004612514565b6113fa565b34801561070357600080fd5b5061044c610712366004612514565b6115bc565b34801561072357600080fd5b506103c76107323660046125ae565b6001600160a01b031660009081526019602052604090205460ff1690565b34801561075c57600080fd5b506103c76115eb565b34801561077157600080fd5b5061044c610780366004612514565b611605565b34801561079157600080fd5b506008546001600160a01b031661041f565b3480156107af57600080fd5b5061044c6107be366004612514565b611634565b3480156107cf57600080fd5b506103f2611663565b3480156107e457600080fd5b50600f546104a3565b3480156107f957600080fd5b5061044c610808366004612514565b611672565b61044c61081b366004612514565b61193e565b34801561082c57600080fd5b5061044c61083b366004612834565b611a94565b34801561084c57600080fd5b5061044c61085b366004612514565b611b46565b34801561086c57600080fd5b506103c7611b75565b34801561088157600080fd5b5061044c6108903660046127d9565b611b8d565b3480156108a157600080fd5b50600c546104a3565b3480156108b657600080fd5b506015546104a3565b3480156108cb57600080fd5b506103c7611c70565b3480156108e057600080fd5b5061044c6108ef366004612867565b611ca4565b34801561090057600080fd5b5061044c61090f366004612514565b611cee565b34801561092057600080fd5b50600a546104a3565b34801561093557600080fd5b506103f2610944366004612514565b611d1d565b34801561095557600080fd5b5061044c610964366004612514565b611dbb565b34801561097557600080fd5b506103c7611dea565b34801561098a57600080fd5b506012546104a3565b34801561099f57600080fd5b5061044c6109ae366004612514565b611e11565b3480156109bf57600080fd5b506103c76109ce3660046128e6565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610a0857600080fd5b506104a3610a173660046125ae565b6001600160a01b03166000908152601a602052604090205490565b348015610a3e57600080fd5b5061044c610a4d366004612919565b611e40565b348015610a5e57600080fd5b5061044c610a6d366004612956565b611e95565b348015610a7e57600080fd5b506016546104a3565b348015610a9357600080fd5b5061044c610aa23660046125ae565b611f01565b348015610ab357600080fd5b50600b546104a3565b348015610ac857600080fd5b5061044c610ad73660046125ae565b611f5a565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161480610b3f57507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b80610b7357507f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b606060028054610b889061298d565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb49061298d565b8015610c015780601f10610bd657610100808354040283529160200191610c01565b820191906000526020600020905b815481529060010190602001808311610be457829003601f168201915b5050505050905090565b6000610c1682611fb3565b610c4c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610c738261120d565b9050336001600160a01b03821614610ce2576001600160a01b038116600090815260076020908152604080832033845290915290205460ff16610ce2576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b03163314610d7e5760405162461bcd60e51b8152600401610d75906129ef565b60405180910390fd5b601b805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6008546001600160a01b03163314610dd75760405162461bcd60e51b8152600401610d75906129ef565b601755565b6000610de782611fda565b9050836001600160a01b0316816001600160a01b031614610e34576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610eb7576001600160a01b038616600090815260076020908152604080832033845290915290205460ff16610eb7576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516610ef7576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610f0257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610f8d5760018401600081815260046020526040902054610f8b576000548114610f8b5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6008546001600160a01b031633146110005760405162461bcd60e51b8152600401610d75906129ef565b600955565b6008546001600160a01b0316331461102f5760405162461bcd60e51b8152600401610d75906129ef565b600e55565b6008546001600160a01b0316331461105e5760405162461bcd60e51b8152600401610d75906129ef565b476001600160a01b037f000000000000000000000000799cd72d86a6aa46876c2689a13637cbe6ae89da166108fc6064611099846005612a15565b6110a39190612a4a565b6040518115909202916000818181858888f193505050506110c357600080fd5b601b546001600160a01b03166108fc60646110df84605f612a15565b6110e99190612a4a565b6040518115909202916000818181858888f1935050505061110957600080fd5b50565b61112783838360405180602001604052806000815250611ca4565b505050565b6008546001600160a01b031633146111565760405162461bcd60e51b8152600401610d75906129ef565b60006111656001546000540390565b6011549091506111758383612a5e565b11156111935760405162461bcd60e51b8152600401610d7590612aaa565b6111278383612054565b6008546001600160a01b031633146111c75760405162461bcd60e51b8152600401610d75906129ef565b80516111da90600d9060208401906123a0565b5050565b6008546001600160a01b031633146112085760405162461bcd60e51b8152600401610d75906129ef565b600a55565b6000610b7382611fda565b60006001600160a01b03821661125a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146112aa5760405162461bcd60e51b8152600401610d75906129ef565b6112b4600061206e565b565b6008546001600160a01b031633146112e05760405162461bcd60e51b8152600401610d75906129ef565b60005b818110156111275760016019600085858581811061130357611303612aba565b905060200201602081019061131891906125ae565b6001600160a01b0316815260208101919091526040016000908120805460ff191692151592909217909155601a8185858581811061135857611358612aba565b905060200201602081019061136d91906125ae565b6001600160a01b03166001600160a01b03168152602001908152602001600020541161139a5760006113e7565b601a60008484848181106113b0576113b0612aba565b90506020020160208101906113c591906125ae565b6001600160a01b03166001600160a01b03168152602001908152602001600020545b50806113f281612ad0565b9150506112e3565b611402611c70565b611438576040517f6bae5e3f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006114476001546000540390565b3360009081526019602052604090205490915060ff166114795760405162461bcd60e51b8152600401610d7590612b1f565b6016548260155461148a9190612a5e565b11156114a85760405162461bcd60e51b8152600401610d7590612b63565b81600e546114b69190612a15565b3410156114d55760405162461bcd60e51b8152600401610d7590612ba7565b601354336000908152601a60205260409020546114f3908490612a5e565b11156115115760405162461bcd60e51b8152600401610d7590612b63565b3233146115305760405162461bcd60e51b8152600401610d7590612beb565b60115461153d8383612a5e565b111561155b5760405162461bcd60e51b8152600401610d7590612aaa565b336000908152601a60205260408120805484929061157a908490612a5e565b9250508190555081601560008282546115939190612a5e565b9250508190555081601860008282546115ac9190612a5e565b909155506111da90503383612054565b6008546001600160a01b031633146115e65760405162461bcd60e51b8152600401610d75906129ef565b601155565b60008060095411801561160057506009544210155b905090565b6008546001600160a01b0316331461162f5760405162461bcd60e51b8152600401610d75906129ef565b601255565b6008546001600160a01b0316331461165e5760405162461bcd60e51b8152600401610d75906129ef565b600f55565b606060038054610b889061298d565b61167a6115eb565b6116b0576040517f0723778600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6010546040517fe985e9c50000000000000000000000000000000000000000000000000000000081526001600160a01b0390911690819063e985e9c5906116fd9033903090600401612bfb565b60206040518083038186803b15801561171557600080fd5b505afa158015611729573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174d9190612c21565b611783576040517f9787f1e800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6010546040517efdd58e0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0384169162fdd58e916117de913391600160a01b900467ffffffffffffffff1690600401612c64565b60206040518083038186803b1580156117f657600080fd5b505afa15801561180a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061182e9190612c8a565b9050600181101561186b576040517fc44b907a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b828110156118a5576040517f90a0003c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6010546040517ff5298aca0000000000000000000000000000000000000000000000000000000081526001600160a01b0384169163f5298aca91611902913391600160a01b90910467ffffffffffffffff16908890600401612cab565b600060405180830381600087803b15801561191c57600080fd5b505af1158015611930573d6000803e3d6000fd5b505050506111273384612054565b611946611b75565b61197c576040517fb039616e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061198b6001546000540390565b905081600f5461199b9190612a15565b3410156119ba5760405162461bcd60e51b8152600401610d7590612ba7565b6017546012546119ca9190612cd3565b826018546119d89190612a5e565b11156119f65760405162461bcd60e51b8152600401610d7590612d47565b60008211611a165760405162461bcd60e51b8152600401610d7590612d8b565b601454821115611a385760405162461bcd60e51b8152600401610d7590612df5565b323314611a575760405162461bcd60e51b8152600401610d7590612e39565b601154611a648383612a5e565b1115611a825760405162461bcd60e51b8152600401610d7590612aaa565b81601860008282546115ac9190612a5e565b6001600160a01b038216331415611ad7576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b038716808552925291829020805460ff191685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190611b3a908590612486565b60405180910390a35050565b6008546001600160a01b03163314611b705760405162461bcd60e51b8152600401610d75906129ef565b601555565b600080600a54118015611600575050600a5442101590565b6008546001600160a01b03163314611bb75760405162461bcd60e51b8152600401610d75906129ef565b60005b8181101561112757600060196000858585818110611bda57611bda612aba565b9050602002016020810190611bef91906125ae565b6001600160a01b0316815260208101919091526040016000908120805460ff191692151592909217909155601a81858585818110611c2f57611c2f612aba565b9050602002016020810190611c4491906125ae565b6001600160a01b0316815260208101919091526040016000205580611c6881612ad0565b915050611bba565b600080600b54118015611c8557506000600c54115b8015611c935750600b544210155b8015611600575050600c5442111590565b611caf848484610ddc565b6001600160a01b0383163b15611ce857611ccb848484846120cd565b611ce8576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b03163314611d185760405162461bcd60e51b8152600401610d75906129ef565b601655565b6060611d2882611fb3565b611d5e576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611d686121c5565b9050805160001415611d895760405180602001604052806000815250611db4565b80611d93846121d4565b604051602001611da4929190612e6b565b6040516020818303038152906040525b9392505050565b6008546001600160a01b03163314611de55760405162461bcd60e51b8152600401610d75906129ef565b601455565b60006001601754601854601254611e019190612cd3565b611e0b9190612cd3565b10905090565b6008546001600160a01b03163314611e3b5760405162461bcd60e51b8152600401610d75906129ef565b601355565b6008546001600160a01b03163314611e6a5760405162461bcd60e51b8152600401610d75906129ef565b81811015611e8a5760405162461bcd60e51b8152600401610d7590612edd565b600b91909155600c55565b6008546001600160a01b03163314611ebf5760405162461bcd60e51b8152600401610d75906129ef565b6010805467ffffffffffffffff909216600160a01b027fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6008546001600160a01b03163314611f2b5760405162461bcd60e51b8152600401610d75906129ef565b6001600160a01b038116611f515760405162461bcd60e51b8152600401610d7590612f47565b6111098161206e565b6008546001600160a01b03163314611f845760405162461bcd60e51b8152600401610d75906129ef565b6010805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000805482108015610b73575050600090815260046020526040902054600160e01b161590565b60008160005481101561202257600081815260046020526040902054600160e01b8116612020575b80611db4575060001901600081815260046020526040902054612002565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111da828260405180602001604052806000815250612223565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612102903390899088908890600401612f57565b602060405180830381600087803b15801561211c57600080fd5b505af192505050801561214c575060408051601f3d908101601f1916820190925261214991810190612fa6565b60015b6121a7573d80801561217a576040519150601f19603f3d011682016040523d82523d6000602084013e61217f565b606091505b50805161219f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600d8054610b889061298d565b604080516080810191829052607f0190826030600a8206018353600a90045b801561221157600183039250600a81066030018353600a90046121f3565b50819003601f19909101908152919050565b61222d8383612290565b6001600160a01b0383163b15611127576000548281035b61225760008683806001019450866120cd565b612274576040516368d2bf6b60e11b815260040160405180910390fd5b81811061224457816000541461228957600080fd5b5050505050565b6000546001600160a01b0383166122d3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8161230a576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106123545760005550505050565b8280546123ac9061298d565b90600052602060002090601f0160209004810192826123ce5760008555612414565b82601f106123e757805160ff1916838001178555612414565b82800160010185558215612414579182015b828111156124145782518255916020019190600101906123f9565b50612420929150612424565b5090565b5b808211156124205760008155600101612425565b6001600160e01b031981165b811461110957600080fd5b8035610b7381612439565b60006020828403121561247057612470600080fd5b60006121bd8484612450565b8015155b82525050565b60208101610b73828461247c565b60005b838110156124af578181015183820152602001612497565b83811115611ce85750506000910152565b60006124ca825190565b8084526020840193506124e1818560208601612494565b601f01601f19169290920192915050565b60208082528101611db481846124c0565b80612445565b8035610b7381612503565b60006020828403121561252957612529600080fd5b60006121bd8484612509565b60006001600160a01b038216610b73565b61248081612535565b60208101610b738284612546565b61244581612535565b8035610b738161255d565b6000806040838503121561258757612587600080fd5b60006125938585612566565b92505060206125a485828601612509565b9150509250929050565b6000602082840312156125c3576125c3600080fd5b60006121bd8484612566565b80612480565b60208101610b7382846125cf565b6000806000606084860312156125fb576125fb600080fd5b60006126078686612566565b935050602061261886828701612566565b925050604061262986828701612509565b9150509250925092565b67ffffffffffffffff8116612480565b60208101610b738284612633565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff8211171561268d5761268d612651565b6040525050565b600061269f60405190565b90506126ab8282612667565b919050565b600067ffffffffffffffff8211156126ca576126ca612651565b601f19601f83011660200192915050565b82818337506000910152565b60006126fa6126f5846126b0565b612694565b90508281526020810184848401111561271557612715600080fd5b6127208482856126db565b509392505050565b600082601f83011261273c5761273c600080fd5b81356121bd8482602086016126e7565b60006020828403121561276157612761600080fd5b813567ffffffffffffffff81111561277b5761277b600080fd5b6121bd84828501612728565b60008083601f84011261279c5761279c600080fd5b50813567ffffffffffffffff8111156127b7576127b7600080fd5b6020830191508360208202830111156127d2576127d2600080fd5b9250929050565b600080602083850312156127ef576127ef600080fd5b823567ffffffffffffffff81111561280957612809600080fd5b61281585828601612787565b92509250509250929050565b801515612445565b8035610b7381612821565b6000806040838503121561284a5761284a600080fd5b60006128568585612566565b92505060206125a485828601612829565b6000806000806080858703121561288057612880600080fd5b600061288c8787612566565b945050602061289d87828801612566565b93505060406128ae87828801612509565b925050606085013567ffffffffffffffff8111156128ce576128ce600080fd5b6128da87828801612728565b91505092959194509250565b600080604083850312156128fc576128fc600080fd5b60006129088585612566565b92505060206125a485828601612566565b6000806040838503121561292f5761292f600080fd5b60006125938585612509565b67ffffffffffffffff8116612445565b8035610b738161293b565b60006020828403121561296b5761296b600080fd5b60006121bd848461294b565b634e487b7160e01b600052602260045260246000fd5b6002810460018216806129a157607f821691505b602082108114156129b4576129b4612977565b50919050565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572910190815260005b5060200190565b60208082528101610b73816129ba565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612a2f57612a2f6129ff565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612a5957612a59612a34565b500490565b60008219821115612a7157612a716129ff565b500190565b601f81526000602082017f45786365656473206d6178696d756d206f6e652073686f7320737570706c7900815291506129e8565b60208082528101610b7381612a76565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612ae457612ae46129ff565b5060010190565b601f81526000602082017f596f7520617265206e6f74206f6e207468652070726573616c65206c69737400815291506129e8565b60208082528101610b7381612aeb565b601c81526000602082017f50757263686173652065786365656473206d617820616c6c6f77656400000000815291506129e8565b60208082528101610b7381612b2f565b601981526000602082017f45746865722073656e74206973206e6f7420636f727265637400000000000000815291506129e8565b60208082528101610b7381612b73565b601d81526000602082017f436f6e747261637473206e6f7420616c6c6f77656420746f206d696e74000000815291506129e8565b60208082528101610b7381612bb7565b60408101612c098285612546565b611db46020830184612546565b8051610b7381612821565b600060208284031215612c3657612c36600080fd5b60006121bd8484612c16565b6000610b73612c5867ffffffffffffffff841681565b90565b61248081612c42565b60408101612c728285612546565b611db46020830184612c5b565b8051610b7381612503565b600060208284031215612c9f57612c9f600080fd5b60006121bd8484612c7f565b60608101612cb98286612546565b612cc66020830185612c5b565b6121bd60408301846125cf565b600082821015612ce557612ce56129ff565b500390565b602381526000602082017f45786365656473207075626c69632073616c65206f6e652073686f732073757081527f706c790000000000000000000000000000000000000000000000000000000000602082015291505b5060400190565b60208082528101610b7381612cea565b601b81526000602082017f596f752063616e6e6f74206d696e742030206f6e652073686f732e0000000000815291506129e8565b60208082528101610b7381612d57565b603681526000602082017f596f7520617265206e6f7420616c6c6f77656420746f2062757920746869732081527f6d616e79206f6e652073686f73206174206f6e63652e0000000000000000000060208201529150612d40565b60208082528101610b7381612d9b565b601581526000602082017f436f6e747261637473206e6f7420616c6c6f7765640000000000000000000000815291506129e8565b60208082528101610b7381612e05565b6000612e53825190565b612e61818560208601612494565b9290920192915050565b6000612e778285612e49565b91506121bd8284612e49565b603c81526000602082017f50726553616c657341637469766174696f6e3a20456e642074696d652073686f81527f756c64206265206c61746572207468616e2073746172742074696d650000000060208201529150612d40565b60208082528101610b7381612e83565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181527f646472657373000000000000000000000000000000000000000000000000000060208201529150612d40565b60208082528101610b7381612eed565b60808101612f658287612546565b612f726020830186612546565b612f7f60408301856125cf565b8181036060830152612f9181846124c0565b9695505050505050565b8051610b7381612439565b600060208284031215612fbb57612fbb600080fd5b60006121bd8484612f9b56fea264697066735822122068ccead38a2a63e74cafefa43e5464edbcce6ea48d48bde9305537a9da3185d364736f6c63430008080033

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

0000000000000000000000000000000000000000000000000000000063006a500000000000000000000000000000000000000000000000000000000062ffc1900000000000000000000000000000000000000000000000000000000063006a500000000000000000000000000000000000000000000000000000000062f3e410000000000000000000000000f014c8d2cd5c3bb1c99cb177c52462660569c7fd00000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000007d0000000000000000000000000fbe7845e8560fced01bde34fc07f4261bc535a100000000000000000000000000000000000000000000000000000000000000140000000000000000000000000799cd72d86a6aa46876c2689a13637cbe6ae89da000000000000000000000000000000000000000000000000000000000000001b68747470733a2f2f3173686f732e636f6d2f6d657461646174612f0000000000

-----Decoded View---------------
Arg [0] : publicSalesStartTime (uint256): 1660971600
Arg [1] : preSalesStartTime (uint256): 1660928400
Arg [2] : preSalesEndTime (uint256): 1660971600
Arg [3] : claimStartTime (uint256): 1660150800
Arg [4] : oneShos1155ContractAddress (address): 0xF014C8D2Cd5C3Bb1C99Cb177c52462660569C7Fd
Arg [5] : team_allocated (uint256): 500
Arg [6] : presale_period_phase_max (uint256): 2000
Arg [7] : one_shos_wallet (address): 0xFbE7845e8560FcED01BDe34fC07F4261bC535a10
Arg [8] : baseTokenURI (string): https://1shos.com/metadata/
Arg [9] : commission (address): 0x799CD72D86A6AA46876C2689A13637Cbe6ae89da

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000063006a50
Arg [1] : 0000000000000000000000000000000000000000000000000000000062ffc190
Arg [2] : 0000000000000000000000000000000000000000000000000000000063006a50
Arg [3] : 0000000000000000000000000000000000000000000000000000000062f3e410
Arg [4] : 000000000000000000000000f014c8d2cd5c3bb1c99cb177c52462660569c7fd
Arg [5] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [6] : 00000000000000000000000000000000000000000000000000000000000007d0
Arg [7] : 000000000000000000000000fbe7845e8560fced01bde34fc07f4261bc535a10
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [9] : 000000000000000000000000799cd72d86a6aa46876c2689a13637cbe6ae89da
Arg [10] : 000000000000000000000000000000000000000000000000000000000000001b
Arg [11] : 68747470733a2f2f3173686f732e636f6d2f6d657461646174612f0000000000


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.