ETH Price: $3,283.75 (-1.98%)

Token

Armed Crypto Squad (ACS)
 

Overview

Max Total Supply

606 ACS

Holders

183

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 ACS
0x3921e8134cddc1ceda07a654bded846260bc5d27
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:
ArmedCryptoSquad

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 20 runs

Other Settings:
byzantium EvmVersion
File 1 of 11 : ArmedCryptoSquad.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;

import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract ArmedCryptoSquad is
ERC721,
Ownable
{
    uint256 private  _maxTotal;
    uint256 private  _batchSize;
    string private constant _uriExtension = "json";

    uint256 private _maxAmountPerMint = 10;
    uint256 private _maxAmountPerMintPresale = 4;
    uint256 private _reservedMints = 100;
    uint256 private _currentBatchID = 0;

    uint256 private _cost = 0.07 ether;
    uint256 private _presaleCost = 0.05 ether;

    bool private _isPaused = true;

    mapping(uint256 => string) private _batchCIDs;

    mapping(address => bool) private _whitelist;

    mapping(uint256 => mapping(address => bool)) private _presaleMinted;

    bool private _isPresale = true;
    address[] private _whitelistArray;
    string private _baseTokenURI;

    uint256 _tokenCounter = 0;

    event Mint(address indexed sender, uint totalSupply);

    constructor(
        string memory name,
        string memory symbol,
        string memory baseTokenURI,
        string memory CIDPath,
        uint256 maxTotal,
        uint256 batchSize,
        uint256 reservedMints
    ) ERC721(name, symbol) {
        _baseTokenURI = baseTokenURI;
        _maxTotal = maxTotal;
        _batchSize = batchSize;
        _reservedMints = reservedMints;
        _batchCIDs[_currentBatchID] = CIDPath;
    }

    // Metadata

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

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        return string(abi.encodePacked(_baseURI(), _tokenURIforBatch(tokenId), "/", Strings.toString(tokenId), ".", _uriExtension));
    }

    function _tokenURIforBatch(uint256 tokenId) internal view returns (string memory) {
        require(tokenId <= _maxTotal, "Invalid tokenId");
        require(tokenId > 0, "tokenId can't be 0");
        require(tokenId <= _tokenCounter, "token is not minted yet"); // issues to test
        uint256 batchNumber = tokenId / _batchSize;
        require(bytes(_batchCIDs[batchNumber]).length != 0, "Invalid tokenId");
        return _batchCIDs[batchNumber];
    }

    //Transactions

    function mint(uint256 amount) public payable {
        require(!_isPaused, "mint is currently paused");
        require(!_isPresale, "its currently only for Whitelisted users");
        require(msg.value >= (_cost * amount), "insufficient funds");
        require(amount <= _maxAmountPerMint, "max amount per mint is exceeded");
        require((_tokenCounter + amount) <= ((_currentBatchID + 1) * _batchSize - _reservedMints), "current batch supply is exceeded");

        for (uint256 i = 0; i < amount; i++) {
            _safeMint(msg.sender, _tokenCounter + 1);
            emit Mint(msg.sender, _tokenCounter + 1);
            _tokenCounter++;
        }
    }

    function mintPresale(uint256 amount) public payable {
        require(!_isPaused, "mint is currently paused");
        require(_isPresale, "currently only for Whitelisted users");
        require(msg.value >= (_presaleCost * amount), "insufficient funds");
        require(amount <= _maxAmountPerMintPresale, "max amount per mint is exceeded");
        require(isWhitelisted(msg.sender), "mint is currently on Presale, but address is not whitelisted");
        require(!(_presaleMinted[_currentBatchID][msg.sender]), "User already minted in Presale");
        require((_tokenCounter + amount) <= ((_currentBatchID + 1) * _batchSize - _reservedMints), "current batch supply is exceeded");

        for (uint256 i = 0; i < amount; i++) {
            _safeMint(msg.sender, _tokenCounter + 1);
            emit Mint(msg.sender, _tokenCounter + 1);
            _tokenCounter++;
        }
        _presaleMinted[_currentBatchID][msg.sender] = true;
    }

    function mintReserved(address to, uint256 amount) public onlyOwner {
        require((_tokenCounter + amount) <= ((_currentBatchID + 1) * _batchSize), "current batch supply is exceeded");
        require(_reservedMints > 0, "no reserved mints available");
        for (uint256 i = 0; i < amount; i++) {
            _safeMint(to, _tokenCounter + 1);
            emit Mint(msg.sender, _tokenCounter + 1);
            _tokenCounter++;
        }
        _reservedMints--;
    }

    function airDrop(address[] memory addresses) public onlyOwner {
        require(_reservedMints > 0, "no reserved mints available");
        require(_tokenCounter + addresses.length <= ((_currentBatchID+1)*_batchSize), "current batch supply is exceeded");

    for (uint256 i = 0; i < addresses.length; i++) {
            _safeMint(addresses[i], _tokenCounter + 1);
            emit Mint(msg.sender, _tokenCounter + 1);
            _tokenCounter++;
            _reservedMints--;
        }
    }

    function withdraw(address payable to, uint256 amount) public onlyOwner {
        to.transfer(amount);
    }

    // Getters 

    function totalSupply() public view returns (uint256) {
        return _tokenCounter;
    }

    function isWhitelisted(address account) public view returns (bool) {
        return _whitelist[account];
    }

    function didMintInCurrentPresale(address account) public view returns (bool) {
        return _presaleMinted[_currentBatchID][account];
    }

    function getPresaleCost() public view returns (uint256) {
        return _presaleCost;
    }

    function getCost() public view returns (uint256) {
        if (_isPresale) {
            return _presaleCost;
        } else {
            return _cost;
        }

    }

    function getMaxAmountPerMint() public view returns (uint256) {
        if (_isPresale) {
            return _maxAmountPerMintPresale;
        } else {
            return _maxAmountPerMint;
        }
    }

    function getReservedMints() public view returns (uint256) {
        return _reservedMints;
    }

    function isPresale() public view returns (bool) {
        return _isPresale;
    }

    function isPaused() public view returns (bool) {
        return _isPaused;
    }

    // Setters (onlyOwner)

    function registerNewBatch(string memory CIDPath, uint256 reservedMints) public onlyOwner {
        _currentBatchID++;
        _batchCIDs[_currentBatchID] = CIDPath;
        _reservedMints = reservedMints;
    }

    function revealBatch(uint256 barchNr, string memory CIDPath) public onlyOwner {
        _batchCIDs[barchNr] = CIDPath;
    }

    //  Add addressed to whitelist in current batch
    function addAddressesToWhitelist(address[] memory addresses) public onlyOwner {
        for (uint256 i = 0; i < _whitelistArray.length; i++) {
            _whitelist[_whitelistArray[i]] = false;
            _presaleMinted[_currentBatchID][_whitelistArray[i]] = false;
        }
        for (uint256 i = 0; i < addresses.length; i++) {
            _whitelist[addresses[i]] = true;
        }
        _whitelistArray = addresses;
    }

    function setBaseTokeURI(string memory uri) public onlyOwner {
        _baseTokenURI = uri;
    }

    function setPresale(bool enable) public onlyOwner {
        _isPresale = enable;
    }

    function setCost(uint256 newCost) public onlyOwner {
        _cost = newCost;
    }

    function setPresaleCost(uint256 newCost) public onlyOwner {
        _presaleCost = newCost;
    }

    function setMaxAmountPerMint(uint256 amount) public onlyOwner {
        _maxAmountPerMint = amount;
    }

    function maxAmountPerMintPresale(uint256 amount) public onlyOwner {
        _maxAmountPerMintPresale = amount;
    }

    function setPaused(bool value) public onlyOwner {
        _isPaused = value;
    }

    function setReservedMints(uint256 count) public onlyOwner {
        _reservedMints = count;
    }
}

File 2 of 11 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 3 of 11 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 4 of 11 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 11 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 6 of 11 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 11 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

File 8 of 11 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 9 of 11 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 10 of 11 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"string","name":"CIDPath","type":"string"},{"internalType":"uint256","name":"maxTotal","type":"uint256"},{"internalType":"uint256","name":"batchSize","type":"uint256"},{"internalType":"uint256","name":"reservedMints","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"Mint","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":"addresses","type":"address[]"}],"name":"addAddressesToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"airDrop","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":"address","name":"account","type":"address"}],"name":"didMintInCurrentPresale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxAmountPerMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPresaleCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReservedMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"maxAmountPerMintPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"CIDPath","type":"string"},{"internalType":"uint256","name":"reservedMints","type":"uint256"}],"name":"registerNewBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"barchNr","type":"uint256"},{"internalType":"string","name":"CIDPath","type":"string"}],"name":"revealBatch","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":"setBaseTokeURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxAmountPerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enable","type":"bool"}],"name":"setPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCost","type":"uint256"}],"name":"setPresaleCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"setReservedMints","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":[{"internalType":"address payable","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600a6009819055600490556064600b556000600c81905566f8b0a10e470000600d5566b1a2bc2ec50000600e55600f8054600160ff1991821681179092556013805490911690911790556016553480156200005e57600080fd5b50604051620030b3380380620030b3833981016040819052620000819162000318565b8651879087906200009a9060009060208501906200018c565b508051620000b09060019060208401906200018c565b505050620000df620000d062000136640100000000026401000000009004565b6401000000006200013a810204565b8451620000f49060159060208801906200018c565b5060078390556008829055600b819055600c546000908152601060209081526040909120855162000128928701906200018c565b505050505050505062000444565b3390565b60068054600160a060020a03838116600160a060020a0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200019a90620003ee565b90600052602060002090601f016020900481019282620001be576000855562000209565b82601f10620001d957805160ff191683800117855562000209565b8280016001018555821562000209579182015b8281111562000209578251825591602001919060010190620001ec565b50620002179291506200021b565b5090565b5b808211156200021757600081556001016200021c565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f8301126200027357600080fd5b81516001604060020a038082111562000290576200029062000232565b604051601f8301601f19908116603f01168101908282118183101715620002bb57620002bb62000232565b81604052838152602092508683858801011115620002d857600080fd5b600091505b83821015620002fc5785820183015181830184015290820190620002dd565b838211156200030e5760008385830101525b9695505050505050565b600080600080600080600060e0888a0312156200033457600080fd5b87516001604060020a03808211156200034c57600080fd5b6200035a8b838c0162000261565b985060208a01519150808211156200037157600080fd5b6200037f8b838c0162000261565b975060408a01519150808211156200039657600080fd5b620003a48b838c0162000261565b965060608a0151915080821115620003bb57600080fd5b50620003ca8a828b0162000261565b9450506080880151925060a0880151915060c0880151905092959891949750929550565b6002810460018216806200040357607f821691505b602082108114156200043e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b612c5f80620004546000396000f3fe6080604052600436106101e95760003560e060020a900480637de55fe11161010d5780637de55fe1146104a45780638da5cb5b146104c45780638fdcf942146104d957806395364a84146104f957806395d89b4114610511578063a0712d6814610526578063a22cb46514610539578063ad8e75aa14610559578063b187bd2614610579578063b88d4fde14610591578063bd3e19d4146105b1578063c1e7ba3d146105c6578063c54e73e3146105e6578063c87b56dd14610606578063deca33b814610626578063e2ec6ec314610646578063e8be0efd14610666578063e985e9c51461067b578063f2fde38b1461069b578063f3fef3a3146106bb578063f759867a146106db57600080fd5b8062b6849f146101ee57806301ffc9a71461021057806306fdde0314610245578063081812fc14610267578063095ea7b31461029f57806316c38b3c146102bf57806318160ddd146102df57806323b872dd146102fe5780633af32abf1461031e57806342842e0e1461033e57806344a0d68a1461035e57806350033dc21461037e57806350b337391461039e57806355ce586f146103e55780635b22acc2146104055780636352211e1461042557806363ecc99f1461044557806367b006fe1461045a57806370a082311461046f578063715018a61461048f575b600080fd5b3480156101fa57600080fd5b5061020e610209366004612394565b6106ee565b005b34801561021c57600080fd5b5061023061022b36600461245a565b610848565b60405190151581526020015b60405180910390f35b34801561025157600080fd5b5061025a6108a3565b60405161023c91906124d6565b34801561027357600080fd5b506102876102823660046124e9565b610935565b604051600160a060020a03909116815260200161023c565b3480156102ab57600080fd5b5061020e6102ba366004612502565b6109c3565b3480156102cb57600080fd5b5061020e6102da366004612543565b610ae2565b3480156102eb57600080fd5b506016545b60405190815260200161023c565b34801561030a57600080fd5b5061020e61031936600461255e565b610b27565b34801561032a57600080fd5b5061023061033936600461259f565b610b5b565b34801561034a57600080fd5b5061020e61035936600461255e565b610b79565b34801561036a57600080fd5b5061020e6103793660046124e9565b610b94565b34801561038a57600080fd5b5061020e6103993660046124e9565b610bcb565b3480156103aa57600080fd5b506102306103b936600461259f565b600c546000908152601260209081526040808320600160a060020a039094168352929052205460ff1690565b3480156103f157600080fd5b5061020e610400366004612633565b610c02565b34801561041157600080fd5b5061020e610420366004612667565b610c47565b34801561043157600080fd5b506102876104403660046124e9565b610c98565b34801561045157600080fd5b50600e546102f0565b34801561046657600080fd5b506102f0610d15565b34801561047b57600080fd5b506102f061048a36600461259f565b610d31565b34801561049b57600080fd5b5061020e610dbe565b3480156104b057600080fd5b5061020e6104bf366004612502565b610dfc565b3480156104d057600080fd5b50610287610f2e565b3480156104e557600080fd5b5061020e6104f43660046124e9565b610f3d565b34801561050557600080fd5b5060135460ff16610230565b34801561051d57600080fd5b5061025a610f74565b61020e6105343660046124e9565b610f83565b34801561054557600080fd5b5061020e6105543660046126ad565b611136565b34801561056557600080fd5b5061020e6105743660046124e9565b6111fe565b34801561058557600080fd5b50600f5460ff16610230565b34801561059d57600080fd5b5061020e6105ac3660046126e2565b611235565b3480156105bd57600080fd5b506102f0611270565b3480156105d257600080fd5b5061020e6105e1366004612761565b61128c565b3480156105f257600080fd5b5061020e610601366004612543565b6112fc565b34801561061257600080fd5b5061025a6106213660046124e9565b611341565b34801561063257600080fd5b5061020e6106413660046124e9565b6113a6565b34801561065257600080fd5b5061020e610661366004612394565b6113dd565b34801561067257600080fd5b50600b546102f0565b34801561068757600080fd5b506102306106963660046127a5565b611553565b3480156106a757600080fd5b5061020e6106b636600461259f565b611581565b3480156106c757600080fd5b5061020e6106d6366004612502565b61162a565b61020e6106e93660046124e9565b611692565b336106f7610f2e565b600160a060020a0316146107295760405160e560020a62461bcd028152600401610720906127de565b60405180910390fd5b6000600b541161074e5760405160e560020a62461bcd02815260040161072090612813565b600854600c5461075f906001612864565b610769919061287c565b81516016546107789190612864565b11156107995760405160e560020a62461bcd0281526004016107209061289b565b60005b8151811015610844576107d68282815181106107ba576107ba6128d0565b602002602001015160165460016107d19190612864565b611958565b6016543390600080516020612c0a833981519152906107f6906001612864565b60405190815260200160405180910390a260168054906000610817836128ea565b9091555050600b805490600061082c83612905565b9190505550808061083c906128ea565b91505061079c565b5050565b6000600160e060020a0319821660e060020a6380ac58cd02148061087f5750600160e060020a0319821660e060020a635b5e139f02145b8061089d575060e060020a6301ffc9a702600160e060020a03198316145b92915050565b6060600080546108b29061291c565b80601f01602080910402602001604051908101604052809291908181526020018280546108de9061291c565b801561092b5780601f106109005761010080835404028352916020019161092b565b820191906000526020600020905b81548152906001019060200180831161090e57829003601f168201915b5050505050905090565b600061094082611972565b6109a75760405160e560020a62461bcd02815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e6578604482015260a160020a6b34b9ba32b73a103a37b5b2b7026064820152608401610720565b50600090815260046020526040902054600160a060020a031690565b60006109ce82610c98565b905080600160a060020a031683600160a060020a03161415610a425760405160e560020a62461bcd02815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e65604482015260f960020a6039026064820152608401610720565b33600160a060020a0382161480610a5e5750610a5e8133611553565b610ad35760405160e560020a62461bcd02815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610720565b610add838361198f565b505050565b33610aeb610f2e565b600160a060020a031614610b145760405160e560020a62461bcd028152600401610720906127de565b600f805460ff1916911515919091179055565b610b3133826119fd565b610b505760405160e560020a62461bcd0281526004016107209061295b565b610add838383611acd565b600160a060020a031660009081526011602052604090205460ff1690565b610add83838360405180602001604052806000815250611235565b33610b9d610f2e565b600160a060020a031614610bc65760405160e560020a62461bcd028152600401610720906127de565b600d55565b33610bd4610f2e565b600160a060020a031614610bfd5760405160e560020a62461bcd028152600401610720906127de565b600b55565b33610c0b610f2e565b600160a060020a031614610c345760405160e560020a62461bcd028152600401610720906127de565b8051610844906015906020840190612247565b33610c50610f2e565b600160a060020a031614610c795760405160e560020a62461bcd028152600401610720906127de565b60008281526010602090815260409091208251610add92840190612247565b600081815260026020526040812054600160a060020a03168061089d5760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e6578697374604482015260b960020a6832b73a103a37b5b2b7026064820152608401610720565b60135460009060ff1615610d2a5750600a5490565b5060095490565b6000600160a060020a038216610da25760405160e560020a62461bcd02815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015260b060020a69726f2061646472657373026064820152608401610720565b50600160a060020a031660009081526003602052604090205490565b33610dc7610f2e565b600160a060020a031614610df05760405160e560020a62461bcd028152600401610720906127de565b610dfa6000611c79565b565b33610e05610f2e565b600160a060020a031614610e2e5760405160e560020a62461bcd028152600401610720906127de565b600854600c54610e3f906001612864565b610e49919061287c565b81601654610e579190612864565b1115610e785760405160e560020a62461bcd0281526004016107209061289b565b6000600b5411610e9d5760405160e560020a62461bcd02815260040161072090612813565b60005b81811015610f1457610ebb8360165460016107d19190612864565b6016543390600080516020612c0a83398151915290610edb906001612864565b60405190815260200160405180910390a260168054906000610efc836128ea565b91905055508080610f0c906128ea565b915050610ea0565b50600b8054906000610f2583612905565b91905055505050565b600654600160a060020a031690565b33610f46610f2e565b600160a060020a031614610f6f5760405160e560020a62461bcd028152600401610720906127de565b600e55565b6060600180546108b29061291c565b600f5460ff1615610fa95760405160e560020a62461bcd028152600401610720906129af565b60135460ff16156110135760405160e560020a62461bcd02815260206004820152602860248201527f6974732063757272656e746c79206f6e6c7920666f722057686974656c697374604482015260c060020a676564207573657273026064820152608401610720565b80600d54611021919061287c565b3410156110435760405160e560020a62461bcd028152600401610720906129e6565b6009548111156110685760405160e560020a62461bcd02815260040161072090612a1d565b600b54600854600c5461107c906001612864565b611086919061287c565b6110909190612a54565b8160165461109e9190612864565b11156110bf5760405160e560020a62461bcd0281526004016107209061289b565b60005b81811015610844576110dd3360165460016107d19190612864565b6016543390600080516020612c0a833981519152906110fd906001612864565b60405190815260200160405180910390a26016805490600061111e836128ea565b9190505550808061112e906128ea565b9150506110c2565b600160a060020a0382163314156111925760405160e560020a62461bcd02815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610720565b336000818152600560209081526040808320600160a060020a03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b33611207610f2e565b600160a060020a0316146112305760405160e560020a62461bcd028152600401610720906127de565b600955565b61123f33836119fd565b61125e5760405160e560020a62461bcd0281526004016107209061295b565b61126a84848484611ccb565b50505050565b60135460009060ff16156112855750600e5490565b50600d5490565b33611295610f2e565b600160a060020a0316146112be5760405160e560020a62461bcd028152600401610720906127de565b600c80549060006112ce836128ea565b9091555050600c54600090815260106020908152604090912083516112f592850190612247565b50600b5550565b33611305610f2e565b600160a060020a03161461132e5760405160e560020a62461bcd028152600401610720906127de565b6013805460ff1916911515919091179055565b606061134b611d01565b61135483611d10565b61135d84611ece565b60405180604001604052806004815260200160e160020a633539b7b7028152506040516020016113909493929190612a6b565b6040516020818303038152906040529050919050565b336113af610f2e565b600160a060020a0316146113d85760405160e560020a62461bcd028152600401610720906127de565b600a55565b336113e6610f2e565b600160a060020a03161461140f5760405160e560020a62461bcd028152600401610720906127de565b60005b6014548110156114d65760006011600060148481548110611435576114356128d0565b600091825260208083209190910154600160a060020a031683528281019390935260409182018120805460ff191694151594909417909355600c548352601290915281206014805483919085908110611490576114906128d0565b600091825260208083209190910154600160a060020a031683528201929092526040019020805460ff1916911515919091179055806114ce816128ea565b915050611412565b5060005b815181101561153f576001601160008484815181106114fb576114fb6128d0565b602090810291909101810151600160a060020a03168252810191909152604001600020805460ff191691151591909117905580611537816128ea565b9150506114da565b5080516108449060149060208401906122cb565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3361158a610f2e565b600160a060020a0316146115b35760405160e560020a62461bcd028152600401610720906127de565b600160a060020a03811661161e5760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061604482015260d060020a65646472657373026064820152608401610720565b61162781611c79565b50565b33611633610f2e565b600160a060020a03161461165c5760405160e560020a62461bcd028152600401610720906127de565b604051600160a060020a0383169082156108fc029083906000818181858888f19350505050158015610add573d6000803e3d6000fd5b600f5460ff16156116b85760405160e560020a62461bcd028152600401610720906129af565b60135460ff1661171c5760405160e560020a62461bcd028152602060048201526024808201527f63757272656e746c79206f6e6c7920666f722057686974656c69737465642075604482015260e060020a6373657273026064820152608401610720565b80600e5461172a919061287c565b34101561174c5760405160e560020a62461bcd028152600401610720906129e6565b600a548111156117715760405160e560020a62461bcd02815260040161072090612a1d565b61177a33610b5b565b6117ef5760405160e560020a62461bcd02815260206004820152603c60248201527f6d696e742069732063757272656e746c79206f6e2050726573616c652c20627560448201527f742061646472657373206973206e6f742077686974656c6973746564000000006064820152608401610720565b600c54600090815260126020908152604080832033845290915290205460ff161561185f5760405160e560020a62461bcd02815260206004820152601e60248201527f5573657220616c7265616479206d696e74656420696e2050726573616c6500006044820152606401610720565b600b54600854600c54611873906001612864565b61187d919061287c565b6118879190612a54565b816016546118959190612864565b11156118b65760405160e560020a62461bcd0281526004016107209061289b565b60005b8181101561192d576118d43360165460016107d19190612864565b6016543390600080516020612c0a833981519152906118f4906001612864565b60405190815260200160405180910390a260168054906000611915836128ea565b91905055508080611925906128ea565b9150506118b9565b5050600c5460009081526012602090815260408083203384529091529020805460ff19166001179055565b610844828260405180602001604052806000815250611fd1565b600090815260026020526040902054600160a060020a0316151590565b60008181526004602052604090208054600160a060020a031916600160a060020a03841690811790915581906119c482610c98565b600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a0882611972565b611a6f5760405160e560020a62461bcd02815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578604482015260a160020a6b34b9ba32b73a103a37b5b2b7026064820152608401610720565b6000611a7a83610c98565b905080600160a060020a031684600160a060020a03161480611ab5575083600160a060020a0316611aaa84610935565b600160a060020a0316145b80611ac55750611ac58185611553565b949350505050565b82600160a060020a0316611ae082610c98565b600160a060020a031614611b4e5760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e20746861742069604482015260b960020a6839903737ba1037bbb7026064820152608401610720565b600160a060020a038216611bb65760405160e560020a62461bcd028152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f20616464604482015260e060020a6372657373026064820152608401610720565b611bc160008261198f565b600160a060020a0383166000908152600360205260408120805460019290611bea908490612a54565b9091555050600160a060020a0382166000908152600360205260408120805460019290611c18908490612864565b90915550506000818152600260205260408082208054600160a060020a031916600160a060020a0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60068054600160a060020a03838116600160a060020a0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611cd6848484611acd565b611ce284848484612007565b61126a5760405160e560020a62461bcd02815260040161072090612ae4565b6060601580546108b29061291c565b6060600754821115611d375760405160e560020a62461bcd02815260040161072090612b41565b60008211611d8a5760405160e560020a62461bcd02815260206004820152601260248201527f746f6b656e49642063616e2774206265203000000000000000000000000000006044820152606401610720565b601654821115611ddf5760405160e560020a62461bcd02815260206004820152601760248201527f746f6b656e206973206e6f74206d696e746564207965740000000000000000006044820152606401610720565b600060085483611def9190612b87565b6000818152601060205260409020805491925090611e0c9061291c565b15159050611e2f5760405160e560020a62461bcd02815260040161072090612b41565b60008181526010602052604090208054611e489061291c565b80601f0160208091040260200160405190810160405280929190818152602001828054611e749061291c565b8015611ec15780601f10611e9657610100808354040283529160200191611ec1565b820191906000526020600020905b815481529060010190602001808311611ea457829003601f168201915b5050505050915050919050565b606081611ef5575050604080518082019091526001815260fc60020a600302602082015290565b8160005b8115611f1f5780611f09816128ea565b9150611f189050600a83612b87565b9150611ef9565b6000816001604060020a03811115611f3957611f39612335565b6040519080825280601f01601f191660200182016040528015611f63576020820181803683370190505b5090505b8415611ac557611f78600183612a54565b9150611f85600a86612b9b565b611f90906030612864565b60f860020a02818381518110611fa857611fa86128d0565b6020010190600160f860020a031916908160001a905350611fca600a86612b87565b9450611f67565b611fdb838361210e565b611fe86000848484612007565b610add5760405160e560020a62461bcd02815260040161072090612ae4565b6000600160a060020a0384163b156121035760405160e160020a630a85bd01028152600160a060020a0385169063150b7a029061204e903390899088908890600401612baf565b6020604051808303816000875af1925050508015612089575060408051601f3d908101601f1916820190925261208691810190612bec565b60015b6120e6573d8080156120b7576040519150601f19603f3d011682016040523d82523d6000602084013e6120bc565b606091505b5080516120de5760405160e560020a62461bcd02815260040161072090612ae4565b805181602001fd5b600160e060020a03191660e160020a630a85bd0102149050611ac5565b506001949350505050565b600160a060020a0382166121675760405160e560020a62461bcd02815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610720565b61217081611972565b156121c05760405160e560020a62461bcd02815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610720565b600160a060020a03821660009081526003602052604081208054600192906121e9908490612864565b90915550506000818152600260205260408082208054600160a060020a031916600160a060020a03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546122539061291c565b90600052602060002090601f01602090048101928261227557600085556122bb565b82601f1061228e57805160ff19168380011785556122bb565b828001600101855582156122bb579182015b828111156122bb5782518255916020019190600101906122a0565b506122c7929150612320565b5090565b8280548282559060005260206000209081019282156122bb579160200282015b828111156122bb5782518254600160a060020a031916600160a060020a039091161782556020909201916001909101906122eb565b5b808211156122c75760008155600101612321565b60e060020a634e487b710260009081526041600452602490fd5b604051601f8201601f191681016001604060020a038111828210171561237757612377612335565b604052919050565b600160a060020a038116811461162757600080fd5b600060208083850312156123a757600080fd5b82356001604060020a03808211156123be57600080fd5b818501915085601f8301126123d257600080fd5b8135818111156123e4576123e4612335565b83810291506123f484830161234f565b818152918301840191848101908884111561240e57600080fd5b938501935b8385101561243857843592506124288361237f565b8282529385019390850190612413565b98975050505050505050565b600160e060020a03198116811461162757600080fd5b60006020828403121561246c57600080fd5b813561247781612444565b9392505050565b60005b83811015612499578181015183820152602001612481565b8381111561126a5750506000910152565b600081518084526124c281602086016020860161247e565b601f01601f19169290920160200192915050565b60208152600061247760208301846124aa565b6000602082840312156124fb57600080fd5b5035919050565b6000806040838503121561251557600080fd5b82356125208161237f565b946020939093013593505050565b8035801515811461253e57600080fd5b919050565b60006020828403121561255557600080fd5b6124778261252e565b60008060006060848603121561257357600080fd5b833561257e8161237f565b9250602084013561258e8161237f565b929592945050506040919091013590565b6000602082840312156125b157600080fd5b81356124778161237f565b60006001604060020a038311156125d5576125d5612335565b6125e8601f8401601f191660200161234f565b90508281528383830111156125fc57600080fd5b828260208301376000602084830101529392505050565b600082601f83011261262457600080fd5b612477838335602085016125bc565b60006020828403121561264557600080fd5b81356001604060020a0381111561265b57600080fd5b611ac584828501612613565b6000806040838503121561267a57600080fd5b8235915060208301356001604060020a0381111561269757600080fd5b6126a385828601612613565b9150509250929050565b600080604083850312156126c057600080fd5b82356126cb8161237f565b91506126d96020840161252e565b90509250929050565b600080600080608085870312156126f857600080fd5b84356127038161237f565b935060208501356127138161237f565b92506040850135915060608501356001604060020a0381111561273557600080fd5b8501601f8101871361274657600080fd5b612755878235602084016125bc565b91505092959194509250565b6000806040838503121561277457600080fd5b82356001604060020a0381111561278a57600080fd5b61279685828601612613565b95602094909401359450505050565b600080604083850312156127b857600080fd5b82356127c38161237f565b915060208301356127d38161237f565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601b908201527f6e6f207265736572766564206d696e747320617661696c61626c650000000000604082015260600190565b60e060020a634e487b710260009081526011600452602490fd5b600082198211156128775761287761284a565b500190565b60008160001904831182151516156128965761289661284a565b500290565b6020808252818101527f63757272656e7420626174636820737570706c79206973206578636565646564604082015260600190565b60e060020a634e487b710260009081526032600452602490fd5b60006000198214156128fe576128fe61284a565b5060010190565b6000816129145761291461284a565b506000190190565b60028104600182168061293057607f821691505b602082108114156129555760e060020a634e487b710260009081526022600452602490fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152607a60020a701ddb995c881b9bdc88185c1c1c9bdd995902606082015260800190565b60208082526018908201527f6d696e742069732063757272656e746c79207061757365640000000000000000604082015260600190565b60208082526012908201527f696e73756666696369656e742066756e64730000000000000000000000000000604082015260600190565b6020808252601f908201527f6d617820616d6f756e7420706572206d696e7420697320657863656564656400604082015260600190565b600082821015612a6657612a6661284a565b500390565b60008551612a7d818460208a0161247e565b855190830190612a91818360208a0161247e565b60f860020a602f0291019081528451612ab181600184016020890161247e565b60f960020a601702600192909101918201528351612ad681600284016020880161247e565b016002019695505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b6020808252600f90820152608a60020a6e125b9d985b1a59081d1bdad95b925902604082015260600190565b60e060020a634e487b710260009081526012600452602490fd5b600082612b9657612b96612b6d565b500490565b600082612baa57612baa612b6d565b500690565b600160a060020a0385811682528416602082015260408101839052608060608201819052600090612be2908301846124aa565b9695505050505050565b600060208284031215612bfe57600080fd5b81516124778161244456fe0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885a264697066735822122086fd225e06038a678e7e6c4e60e7fe3f5ec5f7a7302a2ec985f1c5432898382b64736f6c634300080a003300000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000007d00000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000001241726d65642043727970746f205371756164000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034143530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002268747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e516d6444426f70666654704d4b664a4e33646b766268644a654a3854636f587859436e374d44544e7a3352616667000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101e95760003560e060020a900480637de55fe11161010d5780637de55fe1146104a45780638da5cb5b146104c45780638fdcf942146104d957806395364a84146104f957806395d89b4114610511578063a0712d6814610526578063a22cb46514610539578063ad8e75aa14610559578063b187bd2614610579578063b88d4fde14610591578063bd3e19d4146105b1578063c1e7ba3d146105c6578063c54e73e3146105e6578063c87b56dd14610606578063deca33b814610626578063e2ec6ec314610646578063e8be0efd14610666578063e985e9c51461067b578063f2fde38b1461069b578063f3fef3a3146106bb578063f759867a146106db57600080fd5b8062b6849f146101ee57806301ffc9a71461021057806306fdde0314610245578063081812fc14610267578063095ea7b31461029f57806316c38b3c146102bf57806318160ddd146102df57806323b872dd146102fe5780633af32abf1461031e57806342842e0e1461033e57806344a0d68a1461035e57806350033dc21461037e57806350b337391461039e57806355ce586f146103e55780635b22acc2146104055780636352211e1461042557806363ecc99f1461044557806367b006fe1461045a57806370a082311461046f578063715018a61461048f575b600080fd5b3480156101fa57600080fd5b5061020e610209366004612394565b6106ee565b005b34801561021c57600080fd5b5061023061022b36600461245a565b610848565b60405190151581526020015b60405180910390f35b34801561025157600080fd5b5061025a6108a3565b60405161023c91906124d6565b34801561027357600080fd5b506102876102823660046124e9565b610935565b604051600160a060020a03909116815260200161023c565b3480156102ab57600080fd5b5061020e6102ba366004612502565b6109c3565b3480156102cb57600080fd5b5061020e6102da366004612543565b610ae2565b3480156102eb57600080fd5b506016545b60405190815260200161023c565b34801561030a57600080fd5b5061020e61031936600461255e565b610b27565b34801561032a57600080fd5b5061023061033936600461259f565b610b5b565b34801561034a57600080fd5b5061020e61035936600461255e565b610b79565b34801561036a57600080fd5b5061020e6103793660046124e9565b610b94565b34801561038a57600080fd5b5061020e6103993660046124e9565b610bcb565b3480156103aa57600080fd5b506102306103b936600461259f565b600c546000908152601260209081526040808320600160a060020a039094168352929052205460ff1690565b3480156103f157600080fd5b5061020e610400366004612633565b610c02565b34801561041157600080fd5b5061020e610420366004612667565b610c47565b34801561043157600080fd5b506102876104403660046124e9565b610c98565b34801561045157600080fd5b50600e546102f0565b34801561046657600080fd5b506102f0610d15565b34801561047b57600080fd5b506102f061048a36600461259f565b610d31565b34801561049b57600080fd5b5061020e610dbe565b3480156104b057600080fd5b5061020e6104bf366004612502565b610dfc565b3480156104d057600080fd5b50610287610f2e565b3480156104e557600080fd5b5061020e6104f43660046124e9565b610f3d565b34801561050557600080fd5b5060135460ff16610230565b34801561051d57600080fd5b5061025a610f74565b61020e6105343660046124e9565b610f83565b34801561054557600080fd5b5061020e6105543660046126ad565b611136565b34801561056557600080fd5b5061020e6105743660046124e9565b6111fe565b34801561058557600080fd5b50600f5460ff16610230565b34801561059d57600080fd5b5061020e6105ac3660046126e2565b611235565b3480156105bd57600080fd5b506102f0611270565b3480156105d257600080fd5b5061020e6105e1366004612761565b61128c565b3480156105f257600080fd5b5061020e610601366004612543565b6112fc565b34801561061257600080fd5b5061025a6106213660046124e9565b611341565b34801561063257600080fd5b5061020e6106413660046124e9565b6113a6565b34801561065257600080fd5b5061020e610661366004612394565b6113dd565b34801561067257600080fd5b50600b546102f0565b34801561068757600080fd5b506102306106963660046127a5565b611553565b3480156106a757600080fd5b5061020e6106b636600461259f565b611581565b3480156106c757600080fd5b5061020e6106d6366004612502565b61162a565b61020e6106e93660046124e9565b611692565b336106f7610f2e565b600160a060020a0316146107295760405160e560020a62461bcd028152600401610720906127de565b60405180910390fd5b6000600b541161074e5760405160e560020a62461bcd02815260040161072090612813565b600854600c5461075f906001612864565b610769919061287c565b81516016546107789190612864565b11156107995760405160e560020a62461bcd0281526004016107209061289b565b60005b8151811015610844576107d68282815181106107ba576107ba6128d0565b602002602001015160165460016107d19190612864565b611958565b6016543390600080516020612c0a833981519152906107f6906001612864565b60405190815260200160405180910390a260168054906000610817836128ea565b9091555050600b805490600061082c83612905565b9190505550808061083c906128ea565b91505061079c565b5050565b6000600160e060020a0319821660e060020a6380ac58cd02148061087f5750600160e060020a0319821660e060020a635b5e139f02145b8061089d575060e060020a6301ffc9a702600160e060020a03198316145b92915050565b6060600080546108b29061291c565b80601f01602080910402602001604051908101604052809291908181526020018280546108de9061291c565b801561092b5780601f106109005761010080835404028352916020019161092b565b820191906000526020600020905b81548152906001019060200180831161090e57829003601f168201915b5050505050905090565b600061094082611972565b6109a75760405160e560020a62461bcd02815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e6578604482015260a160020a6b34b9ba32b73a103a37b5b2b7026064820152608401610720565b50600090815260046020526040902054600160a060020a031690565b60006109ce82610c98565b905080600160a060020a031683600160a060020a03161415610a425760405160e560020a62461bcd02815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e65604482015260f960020a6039026064820152608401610720565b33600160a060020a0382161480610a5e5750610a5e8133611553565b610ad35760405160e560020a62461bcd02815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610720565b610add838361198f565b505050565b33610aeb610f2e565b600160a060020a031614610b145760405160e560020a62461bcd028152600401610720906127de565b600f805460ff1916911515919091179055565b610b3133826119fd565b610b505760405160e560020a62461bcd0281526004016107209061295b565b610add838383611acd565b600160a060020a031660009081526011602052604090205460ff1690565b610add83838360405180602001604052806000815250611235565b33610b9d610f2e565b600160a060020a031614610bc65760405160e560020a62461bcd028152600401610720906127de565b600d55565b33610bd4610f2e565b600160a060020a031614610bfd5760405160e560020a62461bcd028152600401610720906127de565b600b55565b33610c0b610f2e565b600160a060020a031614610c345760405160e560020a62461bcd028152600401610720906127de565b8051610844906015906020840190612247565b33610c50610f2e565b600160a060020a031614610c795760405160e560020a62461bcd028152600401610720906127de565b60008281526010602090815260409091208251610add92840190612247565b600081815260026020526040812054600160a060020a03168061089d5760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e6578697374604482015260b960020a6832b73a103a37b5b2b7026064820152608401610720565b60135460009060ff1615610d2a5750600a5490565b5060095490565b6000600160a060020a038216610da25760405160e560020a62461bcd02815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015260b060020a69726f2061646472657373026064820152608401610720565b50600160a060020a031660009081526003602052604090205490565b33610dc7610f2e565b600160a060020a031614610df05760405160e560020a62461bcd028152600401610720906127de565b610dfa6000611c79565b565b33610e05610f2e565b600160a060020a031614610e2e5760405160e560020a62461bcd028152600401610720906127de565b600854600c54610e3f906001612864565b610e49919061287c565b81601654610e579190612864565b1115610e785760405160e560020a62461bcd0281526004016107209061289b565b6000600b5411610e9d5760405160e560020a62461bcd02815260040161072090612813565b60005b81811015610f1457610ebb8360165460016107d19190612864565b6016543390600080516020612c0a83398151915290610edb906001612864565b60405190815260200160405180910390a260168054906000610efc836128ea565b91905055508080610f0c906128ea565b915050610ea0565b50600b8054906000610f2583612905565b91905055505050565b600654600160a060020a031690565b33610f46610f2e565b600160a060020a031614610f6f5760405160e560020a62461bcd028152600401610720906127de565b600e55565b6060600180546108b29061291c565b600f5460ff1615610fa95760405160e560020a62461bcd028152600401610720906129af565b60135460ff16156110135760405160e560020a62461bcd02815260206004820152602860248201527f6974732063757272656e746c79206f6e6c7920666f722057686974656c697374604482015260c060020a676564207573657273026064820152608401610720565b80600d54611021919061287c565b3410156110435760405160e560020a62461bcd028152600401610720906129e6565b6009548111156110685760405160e560020a62461bcd02815260040161072090612a1d565b600b54600854600c5461107c906001612864565b611086919061287c565b6110909190612a54565b8160165461109e9190612864565b11156110bf5760405160e560020a62461bcd0281526004016107209061289b565b60005b81811015610844576110dd3360165460016107d19190612864565b6016543390600080516020612c0a833981519152906110fd906001612864565b60405190815260200160405180910390a26016805490600061111e836128ea565b9190505550808061112e906128ea565b9150506110c2565b600160a060020a0382163314156111925760405160e560020a62461bcd02815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610720565b336000818152600560209081526040808320600160a060020a03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b33611207610f2e565b600160a060020a0316146112305760405160e560020a62461bcd028152600401610720906127de565b600955565b61123f33836119fd565b61125e5760405160e560020a62461bcd0281526004016107209061295b565b61126a84848484611ccb565b50505050565b60135460009060ff16156112855750600e5490565b50600d5490565b33611295610f2e565b600160a060020a0316146112be5760405160e560020a62461bcd028152600401610720906127de565b600c80549060006112ce836128ea565b9091555050600c54600090815260106020908152604090912083516112f592850190612247565b50600b5550565b33611305610f2e565b600160a060020a03161461132e5760405160e560020a62461bcd028152600401610720906127de565b6013805460ff1916911515919091179055565b606061134b611d01565b61135483611d10565b61135d84611ece565b60405180604001604052806004815260200160e160020a633539b7b7028152506040516020016113909493929190612a6b565b6040516020818303038152906040529050919050565b336113af610f2e565b600160a060020a0316146113d85760405160e560020a62461bcd028152600401610720906127de565b600a55565b336113e6610f2e565b600160a060020a03161461140f5760405160e560020a62461bcd028152600401610720906127de565b60005b6014548110156114d65760006011600060148481548110611435576114356128d0565b600091825260208083209190910154600160a060020a031683528281019390935260409182018120805460ff191694151594909417909355600c548352601290915281206014805483919085908110611490576114906128d0565b600091825260208083209190910154600160a060020a031683528201929092526040019020805460ff1916911515919091179055806114ce816128ea565b915050611412565b5060005b815181101561153f576001601160008484815181106114fb576114fb6128d0565b602090810291909101810151600160a060020a03168252810191909152604001600020805460ff191691151591909117905580611537816128ea565b9150506114da565b5080516108449060149060208401906122cb565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3361158a610f2e565b600160a060020a0316146115b35760405160e560020a62461bcd028152600401610720906127de565b600160a060020a03811661161e5760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061604482015260d060020a65646472657373026064820152608401610720565b61162781611c79565b50565b33611633610f2e565b600160a060020a03161461165c5760405160e560020a62461bcd028152600401610720906127de565b604051600160a060020a0383169082156108fc029083906000818181858888f19350505050158015610add573d6000803e3d6000fd5b600f5460ff16156116b85760405160e560020a62461bcd028152600401610720906129af565b60135460ff1661171c5760405160e560020a62461bcd028152602060048201526024808201527f63757272656e746c79206f6e6c7920666f722057686974656c69737465642075604482015260e060020a6373657273026064820152608401610720565b80600e5461172a919061287c565b34101561174c5760405160e560020a62461bcd028152600401610720906129e6565b600a548111156117715760405160e560020a62461bcd02815260040161072090612a1d565b61177a33610b5b565b6117ef5760405160e560020a62461bcd02815260206004820152603c60248201527f6d696e742069732063757272656e746c79206f6e2050726573616c652c20627560448201527f742061646472657373206973206e6f742077686974656c6973746564000000006064820152608401610720565b600c54600090815260126020908152604080832033845290915290205460ff161561185f5760405160e560020a62461bcd02815260206004820152601e60248201527f5573657220616c7265616479206d696e74656420696e2050726573616c6500006044820152606401610720565b600b54600854600c54611873906001612864565b61187d919061287c565b6118879190612a54565b816016546118959190612864565b11156118b65760405160e560020a62461bcd0281526004016107209061289b565b60005b8181101561192d576118d43360165460016107d19190612864565b6016543390600080516020612c0a833981519152906118f4906001612864565b60405190815260200160405180910390a260168054906000611915836128ea565b91905055508080611925906128ea565b9150506118b9565b5050600c5460009081526012602090815260408083203384529091529020805460ff19166001179055565b610844828260405180602001604052806000815250611fd1565b600090815260026020526040902054600160a060020a0316151590565b60008181526004602052604090208054600160a060020a031916600160a060020a03841690811790915581906119c482610c98565b600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a0882611972565b611a6f5760405160e560020a62461bcd02815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578604482015260a160020a6b34b9ba32b73a103a37b5b2b7026064820152608401610720565b6000611a7a83610c98565b905080600160a060020a031684600160a060020a03161480611ab5575083600160a060020a0316611aaa84610935565b600160a060020a0316145b80611ac55750611ac58185611553565b949350505050565b82600160a060020a0316611ae082610c98565b600160a060020a031614611b4e5760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e20746861742069604482015260b960020a6839903737ba1037bbb7026064820152608401610720565b600160a060020a038216611bb65760405160e560020a62461bcd028152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f20616464604482015260e060020a6372657373026064820152608401610720565b611bc160008261198f565b600160a060020a0383166000908152600360205260408120805460019290611bea908490612a54565b9091555050600160a060020a0382166000908152600360205260408120805460019290611c18908490612864565b90915550506000818152600260205260408082208054600160a060020a031916600160a060020a0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60068054600160a060020a03838116600160a060020a0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611cd6848484611acd565b611ce284848484612007565b61126a5760405160e560020a62461bcd02815260040161072090612ae4565b6060601580546108b29061291c565b6060600754821115611d375760405160e560020a62461bcd02815260040161072090612b41565b60008211611d8a5760405160e560020a62461bcd02815260206004820152601260248201527f746f6b656e49642063616e2774206265203000000000000000000000000000006044820152606401610720565b601654821115611ddf5760405160e560020a62461bcd02815260206004820152601760248201527f746f6b656e206973206e6f74206d696e746564207965740000000000000000006044820152606401610720565b600060085483611def9190612b87565b6000818152601060205260409020805491925090611e0c9061291c565b15159050611e2f5760405160e560020a62461bcd02815260040161072090612b41565b60008181526010602052604090208054611e489061291c565b80601f0160208091040260200160405190810160405280929190818152602001828054611e749061291c565b8015611ec15780601f10611e9657610100808354040283529160200191611ec1565b820191906000526020600020905b815481529060010190602001808311611ea457829003601f168201915b5050505050915050919050565b606081611ef5575050604080518082019091526001815260fc60020a600302602082015290565b8160005b8115611f1f5780611f09816128ea565b9150611f189050600a83612b87565b9150611ef9565b6000816001604060020a03811115611f3957611f39612335565b6040519080825280601f01601f191660200182016040528015611f63576020820181803683370190505b5090505b8415611ac557611f78600183612a54565b9150611f85600a86612b9b565b611f90906030612864565b60f860020a02818381518110611fa857611fa86128d0565b6020010190600160f860020a031916908160001a905350611fca600a86612b87565b9450611f67565b611fdb838361210e565b611fe86000848484612007565b610add5760405160e560020a62461bcd02815260040161072090612ae4565b6000600160a060020a0384163b156121035760405160e160020a630a85bd01028152600160a060020a0385169063150b7a029061204e903390899088908890600401612baf565b6020604051808303816000875af1925050508015612089575060408051601f3d908101601f1916820190925261208691810190612bec565b60015b6120e6573d8080156120b7576040519150601f19603f3d011682016040523d82523d6000602084013e6120bc565b606091505b5080516120de5760405160e560020a62461bcd02815260040161072090612ae4565b805181602001fd5b600160e060020a03191660e160020a630a85bd0102149050611ac5565b506001949350505050565b600160a060020a0382166121675760405160e560020a62461bcd02815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610720565b61217081611972565b156121c05760405160e560020a62461bcd02815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610720565b600160a060020a03821660009081526003602052604081208054600192906121e9908490612864565b90915550506000818152600260205260408082208054600160a060020a031916600160a060020a03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546122539061291c565b90600052602060002090601f01602090048101928261227557600085556122bb565b82601f1061228e57805160ff19168380011785556122bb565b828001600101855582156122bb579182015b828111156122bb5782518255916020019190600101906122a0565b506122c7929150612320565b5090565b8280548282559060005260206000209081019282156122bb579160200282015b828111156122bb5782518254600160a060020a031916600160a060020a039091161782556020909201916001909101906122eb565b5b808211156122c75760008155600101612321565b60e060020a634e487b710260009081526041600452602490fd5b604051601f8201601f191681016001604060020a038111828210171561237757612377612335565b604052919050565b600160a060020a038116811461162757600080fd5b600060208083850312156123a757600080fd5b82356001604060020a03808211156123be57600080fd5b818501915085601f8301126123d257600080fd5b8135818111156123e4576123e4612335565b83810291506123f484830161234f565b818152918301840191848101908884111561240e57600080fd5b938501935b8385101561243857843592506124288361237f565b8282529385019390850190612413565b98975050505050505050565b600160e060020a03198116811461162757600080fd5b60006020828403121561246c57600080fd5b813561247781612444565b9392505050565b60005b83811015612499578181015183820152602001612481565b8381111561126a5750506000910152565b600081518084526124c281602086016020860161247e565b601f01601f19169290920160200192915050565b60208152600061247760208301846124aa565b6000602082840312156124fb57600080fd5b5035919050565b6000806040838503121561251557600080fd5b82356125208161237f565b946020939093013593505050565b8035801515811461253e57600080fd5b919050565b60006020828403121561255557600080fd5b6124778261252e565b60008060006060848603121561257357600080fd5b833561257e8161237f565b9250602084013561258e8161237f565b929592945050506040919091013590565b6000602082840312156125b157600080fd5b81356124778161237f565b60006001604060020a038311156125d5576125d5612335565b6125e8601f8401601f191660200161234f565b90508281528383830111156125fc57600080fd5b828260208301376000602084830101529392505050565b600082601f83011261262457600080fd5b612477838335602085016125bc565b60006020828403121561264557600080fd5b81356001604060020a0381111561265b57600080fd5b611ac584828501612613565b6000806040838503121561267a57600080fd5b8235915060208301356001604060020a0381111561269757600080fd5b6126a385828601612613565b9150509250929050565b600080604083850312156126c057600080fd5b82356126cb8161237f565b91506126d96020840161252e565b90509250929050565b600080600080608085870312156126f857600080fd5b84356127038161237f565b935060208501356127138161237f565b92506040850135915060608501356001604060020a0381111561273557600080fd5b8501601f8101871361274657600080fd5b612755878235602084016125bc565b91505092959194509250565b6000806040838503121561277457600080fd5b82356001604060020a0381111561278a57600080fd5b61279685828601612613565b95602094909401359450505050565b600080604083850312156127b857600080fd5b82356127c38161237f565b915060208301356127d38161237f565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601b908201527f6e6f207265736572766564206d696e747320617661696c61626c650000000000604082015260600190565b60e060020a634e487b710260009081526011600452602490fd5b600082198211156128775761287761284a565b500190565b60008160001904831182151516156128965761289661284a565b500290565b6020808252818101527f63757272656e7420626174636820737570706c79206973206578636565646564604082015260600190565b60e060020a634e487b710260009081526032600452602490fd5b60006000198214156128fe576128fe61284a565b5060010190565b6000816129145761291461284a565b506000190190565b60028104600182168061293057607f821691505b602082108114156129555760e060020a634e487b710260009081526022600452602490fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152607a60020a701ddb995c881b9bdc88185c1c1c9bdd995902606082015260800190565b60208082526018908201527f6d696e742069732063757272656e746c79207061757365640000000000000000604082015260600190565b60208082526012908201527f696e73756666696369656e742066756e64730000000000000000000000000000604082015260600190565b6020808252601f908201527f6d617820616d6f756e7420706572206d696e7420697320657863656564656400604082015260600190565b600082821015612a6657612a6661284a565b500390565b60008551612a7d818460208a0161247e565b855190830190612a91818360208a0161247e565b60f860020a602f0291019081528451612ab181600184016020890161247e565b60f960020a601702600192909101918201528351612ad681600284016020880161247e565b016002019695505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b6020808252600f90820152608a60020a6e125b9d985b1a59081d1bdad95b925902604082015260600190565b60e060020a634e487b710260009081526012600452602490fd5b600082612b9657612b96612b6d565b500490565b600082612baa57612baa612b6d565b500690565b600160a060020a0385811682528416602082015260408101839052608060608201819052600090612be2908301846124aa565b9695505050505050565b600060208284031215612bfe57600080fd5b81516124778161244456fe0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885a264697066735822122086fd225e06038a678e7e6c4e60e7fe3f5ec5f7a7302a2ec985f1c5432898382b64736f6c634300080a0033

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

00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000007d00000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000001241726d65642043727970746f205371756164000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034143530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002268747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e516d6444426f70666654704d4b664a4e33646b766268644a654a3854636f587859436e374d44544e7a3352616667000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Armed Crypto Squad
Arg [1] : symbol (string): ACS
Arg [2] : baseTokenURI (string): https://gateway.pinata.cloud/ipfs/
Arg [3] : CIDPath (string): QmdDBopffTpMKfJN3dkvbhdJeJ8TcoXxYCn7MDTNz3Rafg
Arg [4] : maxTotal (uint256): 10000
Arg [5] : batchSize (uint256): 2000
Arg [6] : reservedMints (uint256): 100

-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [5] : 00000000000000000000000000000000000000000000000000000000000007d0
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [8] : 41726d65642043727970746f2053717561640000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [10] : 4143530000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000022
Arg [12] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [13] : 732f000000000000000000000000000000000000000000000000000000000000
Arg [14] : 000000000000000000000000000000000000000000000000000000000000002e
Arg [15] : 516d6444426f70666654704d4b664a4e33646b766268644a654a3854636f5878
Arg [16] : 59436e374d44544e7a3352616667000000000000000000000000000000000000


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.