ETH Price: $3,281.73 (-3.77%)
Gas: 17 Gwei

Token

Blockmagazin (BCM)
 

Overview

Max Total Supply

60 BCM

Holders

54

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x8b104344f397afc33ee55c743a0fbd7d956201cd
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:
Blockmagazin

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : ERC1155.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

/// https://blockmagazin.de/
contract Blockmagazin is ERC1155, Ownable, Pausable {

    // Edition struct
    struct Edition {
        uint256 tokenId;
        string name;
        uint256 maxSupply;
        uint256 count;
        address[] partnerAddresses;
        uint256 price;
        bool mintEnabled;
    }

    // Mapping from token ID to edition
    mapping(uint256 => Edition) public editions;

    // Token name
    string public name;

    // Token symbol
    string public symbol;

    // Token uri
    string private baseUri;

    constructor(string memory _name, string memory _symbol) ERC1155("") {
        name = _name;
        symbol = _symbol;
    }

    /**
    * @dev withdraw eth from contract
    *
    * - `_recipient` recipient address.
    */
    function withdraw(address payable _recipient) public onlyOwner {
        _recipient.transfer(address(this).balance);
    }

    /**
    * @dev return token uri
    *
    * - `_tokenId` edition tokeId.
    */
    function uri(uint256 _tokenId) override public view returns (string memory) {
        return string(abi.encodePacked(
                baseUri,
                Strings.toString(_tokenId),
                ".json"));
    }

    /**
    * @dev add new edition
    *
    * - `_tokenId` edition tokeId.
    * - `_editionName` edition name.
    * - `_maxSupply` max token supply.
    * - `_partnerAddresses` partnerAddresses.
    * - `_price` edition price.
    * - `_mintEnabled` mint enabled.
    */
    function addEdition(uint256 _tokenId, string memory _editionName, uint256 _maxSupply, address[] memory _partnerAddresses, uint256 _price, bool _mintEnabled) public onlyOwner {
        require(_tokenId > 0, "Invalid token id provided.");
        require(editions[_tokenId].tokenId == 0, "Edition with tokenId already created.");
        editions[_tokenId] = Edition(_tokenId, _editionName, _maxSupply, 0, _partnerAddresses, _price, _mintEnabled);
    }

    /**
     * @dev change edition price
     *
     * - `_tokenId` edition tokeId.
     * - `_price` new edition price.
     */
    function setEditionPrice(uint256 _tokenId, uint256 _price) public onlyOwner {
        require(editions[_tokenId].tokenId != 0, "Edition not found.");
        editions[_tokenId].price = _price;
    }

    /**
     * @dev change edition mintable
    *
    * - `_tokenId` edition tokeId.
    * - `_mintEnabled` new flag.
    */
    function setEditionMintEnabled(uint256 _tokenId, bool _mintEnabled) public onlyOwner {
        require(editions[_tokenId].tokenId != 0, "Edition not found.");
        editions[_tokenId].mintEnabled = _mintEnabled;
    }

    /**
     * @dev add address to edition partnerAddresses
     *
     * - `_tokenId` edition tokeId.
     * - `_addresses` addresses to add.
     */
    function addToEditionPartnerAddresses(uint256 _tokenId, address[] calldata _addresses) public onlyOwner {
        require(editions[_tokenId].tokenId != 0, "Edition not found.");
        for (uint256 i = 0; i < _addresses.length; i++) {
            editions[_tokenId].partnerAddresses.push(_addresses[i]);
        }
    }

    /**
     * @dev See {ERC1155._setURI}
     *
     * - `_uri` new token uri.
     */
    function updatedUri(string memory _uri) public onlyOwner {
        _setURI(_uri);
        baseUri = _uri;
    }

    /**
     * @dev mint token
     *
     * - `_tokenId` edition tokeId.
     */
    function mint(uint256 _tokenId) public payable {
        require(editions[_tokenId].tokenId != 0, "Edition not found.");
        require(editions[_tokenId].count < editions[_tokenId].maxSupply, "Max token supply reached.");
        require(editions[_tokenId].mintEnabled, "Token mint is not enabled.");
        require(editions[_tokenId].price <= msg.value, "The sent value is not enough.");

        editions[_tokenId].count++;
        _mint(msg.sender, editions[_tokenId].tokenId, 1, "");
    }

    /**
    * @dev mint token for partner addresses
    *
    * - `_tokenId` edition tokeId.
    */
    function mintForPartnerAddress(uint256 _tokenId) public {
        require(editions[_tokenId].tokenId != 0, "Edition not found.");
        require(editions[_tokenId].count < editions[_tokenId].maxSupply, "Max token supply reached.");
        require(editions[_tokenId].mintEnabled, "Token mint is not enabled.");
        require(checkPartnerAddress(editions[_tokenId].tokenId, msg.sender), "Sender is not a listed partner.");
        editions[_tokenId].count++;
        _mint(msg.sender, editions[_tokenId].tokenId, 1, "");
    }

    /**
     * @dev check if edition partnerAddresses contains address
     * remove address from edition partnerAddresses
     *
     * - `_tokenId` edition tokeId.
     * - `_sender` msg.sender`.
     */
    function checkPartnerAddress(uint256 _tokenId, address _sender) internal returns (bool) {
        bool listed = false;
        for (uint256 i = 0; i < editions[_tokenId].partnerAddresses.length; i++) {
            if (_sender == editions[_tokenId].partnerAddresses[i]) {
                listed = true;
                for (uint256 j = i; j < editions[_tokenId].partnerAddresses.length - 1; j++) {
                    editions[_tokenId].partnerAddresses[j] = editions[_tokenId].partnerAddresses[j + 1];
                }
                editions[_tokenId].partnerAddresses.pop();
            }
        }
        return listed;
    }

    /**
    *
    * @dev
    * get edition struct by tokenId
    * - `_tokenId` edition tokeId.
    */
    function getEditionByTokenId(uint256 _tokenId) public view returns (Edition memory _edition) {
        return editions[_tokenId];
    }
}

File 2 of 12 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

File 5 of 12 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 12 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 7 of 12 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 8 of 12 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 9 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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 10 of 12 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_editionName","type":"string"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"address[]","name":"_partnerAddresses","type":"address[]"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"bool","name":"_mintEnabled","type":"bool"}],"name":"addEdition","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addToEditionPartnerAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"editions","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bool","name":"mintEnabled","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getEditionByTokenId","outputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"address[]","name":"partnerAddresses","type":"address[]"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bool","name":"mintEnabled","type":"bool"}],"internalType":"struct Blockmagazin.Edition","name":"_edition","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"mintForPartnerAddress","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":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","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":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bool","name":"_mintEnabled","type":"bool"}],"name":"setEditionMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setEditionPrice","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":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"updatedUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_recipient","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200523538038062005235833981810160405281019062000037919062000405565b604051806020016040528060008152506200005881620000ce60201b60201c565b50620000796200006d620000ea60201b60201c565b620000f260201b60201c565b6000600360146101000a81548160ff0219169083151502179055508160059080519060200190620000ac929190620001b8565b508060069080519060200190620000c5929190620001b8565b505050620004ee565b8060029080519060200190620000e6929190620001b8565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001c690620004b9565b90600052602060002090601f016020900481019282620001ea576000855562000236565b82601f106200020557805160ff191683800117855562000236565b8280016001018555821562000236579182015b828111156200023557825182559160200191906001019062000218565b5b50905062000245919062000249565b5090565b5b80821115620002645760008160009055506001016200024a565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620002d18262000286565b810181811067ffffffffffffffff82111715620002f357620002f262000297565b5b80604052505050565b60006200030862000268565b9050620003168282620002c6565b919050565b600067ffffffffffffffff82111562000339576200033862000297565b5b620003448262000286565b9050602081019050919050565b60005b838110156200037157808201518184015260208101905062000354565b8381111562000381576000848401525b50505050565b60006200039e62000398846200031b565b620002fc565b905082815260208101848484011115620003bd57620003bc62000281565b5b620003ca84828562000351565b509392505050565b600082601f830112620003ea57620003e96200027c565b5b8151620003fc84826020860162000387565b91505092915050565b600080604083850312156200041f576200041e62000272565b5b600083015167ffffffffffffffff81111562000440576200043f62000277565b5b6200044e85828601620003d2565b925050602083015167ffffffffffffffff81111562000472576200047162000277565b5b6200048085828601620003d2565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004d257607f821691505b602082108103620004e857620004e76200048a565b5b50919050565b614d3780620004fe6000396000f3fe60806040526004361061014a5760003560e01c8063665e582b116100b6578063a0712d681161006f578063a0712d68146104a4578063a22cb465146104c0578063b593d44b146104e9578063e985e9c514610512578063f242432a1461054f578063f2fde38b146105785761014a565b8063665e582b146103a8578063715018a6146103d15780637fe9a428146103e85780638da5cb5b14610411578063948630331461043c57806395d89b41146104795761014a565b80632a337e2f116101085780632a337e2f1461029c5780632eb2c2d6146102c55780634e1273f4146102ee57806351cff8d91461032b5780635c975abb1461035457806362d25d791461037f5761014a565b8062fdd58e1461014f57806301ffc9a71461018c57806306fdde03146101c95780630e89341c146101f45780631979001b14610231578063279c806e1461025a575b600080fd5b34801561015b57600080fd5b5061017660048036038101906101719190612e69565b6105a1565b6040516101839190612eb8565b60405180910390f35b34801561019857600080fd5b506101b360048036038101906101ae9190612f2b565b610669565b6040516101c09190612f73565b60405180910390f35b3480156101d557600080fd5b506101de61074b565b6040516101eb9190613027565b60405180910390f35b34801561020057600080fd5b5061021b60048036038101906102169190613049565b6107d9565b6040516102289190613027565b60405180910390f35b34801561023d57600080fd5b5061025860048036038101906102539190613049565b61080d565b005b34801561026657600080fd5b50610281600480360381019061027c9190613049565b6109f7565b60405161029396959493929190613076565b60405180910390f35b3480156102a857600080fd5b506102c360048036038101906102be9190613213565b610ac8565b005b3480156102d157600080fd5b506102ec60048036038101906102e791906133c5565b610b67565b005b3480156102fa57600080fd5b5061031560048036038101906103109190613557565b610c08565b604051610322919061368d565b60405180910390f35b34801561033757600080fd5b50610352600480360381019061034d91906136ed565b610d21565b005b34801561036057600080fd5b50610369610de7565b6040516103769190612f73565b60405180910390f35b34801561038b57600080fd5b506103a660048036038101906103a19190613775565b610dfe565b005b3480156103b457600080fd5b506103cf60048036038101906103ca9190613801565b610f98565b005b3480156103dd57600080fd5b506103e6611186565b005b3480156103f457600080fd5b5061040f600480360381019061040a91906138c6565b61120e565b005b34801561041d57600080fd5b50610426611302565b6040516104339190613915565b60405180910390f35b34801561044857600080fd5b50610463600480360381019061045e9190613049565b61132c565b6040516104709190613aea565b60405180910390f35b34801561048557600080fd5b5061048e6114bc565b60405161049b9190613027565b60405180910390f35b6104be60048036038101906104b99190613049565b61154a565b005b3480156104cc57600080fd5b506104e760048036038101906104e29190613b0c565b61172e565b005b3480156104f557600080fd5b50610510600480360381019061050b9190613b4c565b611744565b005b34801561051e57600080fd5b5061053960048036038101906105349190613b8c565b61184b565b6040516105469190612f73565b60405180910390f35b34801561055b57600080fd5b5061057660048036038101906105719190613bcc565b6118df565b005b34801561058457600080fd5b5061059f600480360381019061059a9190613c63565b611980565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610611576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060890613d02565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061073457507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610744575061074382611a77565b5b9050919050565b6005805461075890613d51565b80601f016020809104026020016040519081016040528092919081815260200182805461078490613d51565b80156107d15780601f106107a6576101008083540402835291602001916107d1565b820191906000526020600020905b8154815290600101906020018083116107b457829003601f168201915b505050505081565b606060076107e683611ae1565b6040516020016107f7929190613e9e565b6040516020818303038152906040529050919050565b6000600460008381526020019081526020016000206000015403610866576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085d90613f19565b60405180910390fd5b60046000828152602001908152602001600020600201546004600083815260200190815260200160002060030154106108d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108cb90613f85565b60405180910390fd5b6004600082815260200190815260200160002060060160009054906101000a900460ff16610937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092e90613ff1565b60405180910390fd5b610957600460008381526020019081526020016000206000015433611c41565b610996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098d9061405d565b60405180910390fd5b6004600082815260200190815260200160002060030160008154809291906109bd906140ac565b91905055506109f4336004600084815260200190815260200160002060000154600160405180602001604052806000815250611e85565b50565b6004602052806000526040600020600091509050806000015490806001018054610a2090613d51565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4c90613d51565b8015610a995780601f10610a6e57610100808354040283529160200191610a99565b820191906000526020600020905b815481529060010190602001808311610a7c57829003601f168201915b5050505050908060020154908060030154908060050154908060060160009054906101000a900460ff16905086565b610ad061201a565b73ffffffffffffffffffffffffffffffffffffffff16610aee611302565b73ffffffffffffffffffffffffffffffffffffffff1614610b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3b90614140565b60405180910390fd5b610b4d81612022565b8060079080519060200190610b63929190612c55565b5050565b610b6f61201a565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610bb55750610bb485610baf61201a565b61184b565b5b610bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610beb906141d2565b60405180910390fd5b610c01858585858561203c565b5050505050565b60608151835114610c4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4590614264565b60405180910390fd5b6000835167ffffffffffffffff811115610c6b57610c6a6130e8565b5b604051908082528060200260200182016040528015610c995781602001602082028036833780820191505090505b50905060005b8451811015610d1657610ce6858281518110610cbe57610cbd614284565b5b6020026020010151858381518110610cd957610cd8614284565b5b60200260200101516105a1565b828281518110610cf957610cf8614284565b5b60200260200101818152505080610d0f906140ac565b9050610c9f565b508091505092915050565b610d2961201a565b73ffffffffffffffffffffffffffffffffffffffff16610d47611302565b73ffffffffffffffffffffffffffffffffffffffff1614610d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9490614140565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610de3573d6000803e3d6000fd5b5050565b6000600360149054906101000a900460ff16905090565b610e0661201a565b73ffffffffffffffffffffffffffffffffffffffff16610e24611302565b73ffffffffffffffffffffffffffffffffffffffff1614610e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7190614140565b60405180910390fd5b6000600460008581526020019081526020016000206000015403610ed3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eca90613f19565b60405180910390fd5b60005b82829050811015610f925760046000858152602001908152602001600020600401838383818110610f0a57610f09614284565b5b9050602002016020810190610f1f9190613c63565b9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080610f8a906140ac565b915050610ed6565b50505050565b610fa061201a565b73ffffffffffffffffffffffffffffffffffffffff16610fbe611302565b73ffffffffffffffffffffffffffffffffffffffff1614611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100b90614140565b60405180910390fd5b60008611611057576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104e906142ff565b60405180910390fd5b60006004600088815260200190815260200160002060000154146110b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a790614391565b60405180910390fd5b6040518060e00160405280878152602001868152602001858152602001600081526020018481526020018381526020018215158152506004600088815260200190815260200160002060008201518160000155602082015181600101908051906020019061111f929190612c55565b5060408201518160020155606082015181600301556080820151816004019080519060200190611150929190612cdb565b5060a0820151816005015560c08201518160060160006101000a81548160ff021916908315150217905550905050505050505050565b61118e61201a565b73ffffffffffffffffffffffffffffffffffffffff166111ac611302565b73ffffffffffffffffffffffffffffffffffffffff1614611202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f990614140565b60405180910390fd5b61120c600061234f565b565b61121661201a565b73ffffffffffffffffffffffffffffffffffffffff16611234611302565b73ffffffffffffffffffffffffffffffffffffffff161461128a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128190614140565b60405180910390fd5b60006004600084815260200190815260200160002060000154036112e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112da90613f19565b60405180910390fd5b8060046000848152602001908152602001600020600501819055505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611334612d65565b600460008381526020019081526020016000206040518060e00160405290816000820154815260200160018201805461136c90613d51565b80601f016020809104026020016040519081016040528092919081815260200182805461139890613d51565b80156113e55780601f106113ba576101008083540402835291602001916113e5565b820191906000526020600020905b8154815290600101906020018083116113c857829003601f168201915b5050505050815260200160028201548152602001600382015481526020016004820180548060200260200160405190810160405280929190818152602001828054801561148757602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161143d575b50505050508152602001600582015481526020016006820160009054906101000a900460ff1615151515815250509050919050565b600680546114c990613d51565b80601f01602080910402602001604051908101604052809291908181526020018280546114f590613d51565b80156115425780601f1061151757610100808354040283529160200191611542565b820191906000526020600020905b81548152906001019060200180831161152557829003601f168201915b505050505081565b60006004600083815260200190815260200160002060000154036115a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159a90613f19565b60405180910390fd5b6004600082815260200190815260200160002060020154600460008381526020019081526020016000206003015410611611576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160890613f85565b60405180910390fd5b6004600082815260200190815260200160002060060160009054906101000a900460ff16611674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166b90613ff1565b60405180910390fd5b34600460008381526020019081526020016000206005015411156116cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c4906143fd565b60405180910390fd5b6004600082815260200190815260200160002060030160008154809291906116f4906140ac565b919050555061172b336004600084815260200190815260200160002060000154600160405180602001604052806000815250611e85565b50565b61174061173961201a565b8383612415565b5050565b61174c61201a565b73ffffffffffffffffffffffffffffffffffffffff1661176a611302565b73ffffffffffffffffffffffffffffffffffffffff16146117c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b790614140565b60405180910390fd5b6000600460008481526020019081526020016000206000015403611819576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181090613f19565b60405180910390fd5b806004600084815260200190815260200160002060060160006101000a81548160ff0219169083151502179055505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118e761201a565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061192d575061192c8561192761201a565b61184b565b5b61196c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119639061448f565b60405180910390fd5b6119798585858585612581565b5050505050565b61198861201a565b73ffffffffffffffffffffffffffffffffffffffff166119a6611302565b73ffffffffffffffffffffffffffffffffffffffff16146119fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f390614140565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6290614521565b60405180910390fd5b611a748161234f565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b606060008203611b28576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611c3c565b600082905060005b60008214611b5a578080611b43906140ac565b915050600a82611b539190614570565b9150611b30565b60008167ffffffffffffffff811115611b7657611b756130e8565b5b6040519080825280601f01601f191660200182016040528015611ba85781602001600182028036833780820191505090505b5090505b60008514611c3557600182611bc191906145a1565b9150600a85611bd091906145d5565b6030611bdc9190614606565b60f81b818381518110611bf257611bf1614284565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611c2e9190614570565b9450611bac565b8093505050505b919050565b6000806000905060005b6004600086815260200190815260200160002060040180549050811015611e7a57600460008681526020019081526020016000206004018181548110611c9457611c93614284565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611e67576001915060008190505b60016004600088815260200190815260200160002060040180549050611d2191906145a1565b811015611e0a5760046000878152602001908152602001600020600401600182611d4b9190614606565b81548110611d5c57611d5b614284565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600460008881526020019081526020016000206004018281548110611daf57611dae614284565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080611e02906140ac565b915050611cfb565b5060046000868152602001908152602001600020600401805480611e3157611e3061465c565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905590555b8080611e72906140ac565b915050611c4b565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eeb906146fd565b60405180910390fd5b6000611efe61201a565b9050611f1f81600087611f1088612802565b611f1988612802565b8761287c565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f7e9190614606565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611ffc92919061471d565b60405180910390a461201381600087878787612884565b5050505050565b600033905090565b8060029080519060200190612038929190612c55565b5050565b8151835114612080576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612077906147b8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036120ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e69061484a565b60405180910390fd5b60006120f961201a565b905061210981878787878761287c565b60005b84518110156122ba57600085828151811061212a57612129614284565b5b60200260200101519050600085838151811061214957612148614284565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156121ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e1906148dc565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461229f9190614606565b92505081905550505050806122b3906140ac565b905061210c565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516123319291906148fc565b60405180910390a4612347818787878787612a5b565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247a906149a5565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125749190612f73565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036125f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e79061484a565b60405180910390fd5b60006125fa61201a565b905061261a81878761260b88612802565b61261488612802565b8761287c565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156126b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a8906148dc565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127669190614606565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516127e392919061471d565b60405180910390a46127f9828888888888612884565b50505050505050565b60606000600167ffffffffffffffff811115612821576128206130e8565b5b60405190808252806020026020018201604052801561284f5781602001602082028036833780820191505090505b509050828160008151811061286757612866614284565b5b60200260200101818152505080915050919050565b505050505050565b6128a38473ffffffffffffffffffffffffffffffffffffffff16612c32565b15612a53578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016128e9959493929190614a1a565b6020604051808303816000875af192505050801561292557506040513d601f19601f820116820180604052508101906129229190614a89565b60015b6129ca57612931614ac3565b806308c379a00361298d5750612945614ae5565b80612950575061298f565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129849190613027565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c190614be7565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4890614c79565b60405180910390fd5b505b505050505050565b612a7a8473ffffffffffffffffffffffffffffffffffffffff16612c32565b15612c2a578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612ac0959493929190614c99565b6020604051808303816000875af1925050508015612afc57506040513d601f19601f82011682018060405250810190612af99190614a89565b60015b612ba157612b08614ac3565b806308c379a003612b645750612b1c614ae5565b80612b275750612b66565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5b9190613027565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9890614be7565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612c28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1f90614c79565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054612c6190613d51565b90600052602060002090601f016020900481019282612c835760008555612cca565b82601f10612c9c57805160ff1916838001178555612cca565b82800160010185558215612cca579182015b82811115612cc9578251825591602001919060010190612cae565b5b509050612cd79190612da4565b5090565b828054828255906000526020600020908101928215612d54579160200282015b82811115612d535782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190612cfb565b5b509050612d619190612da4565b5090565b6040518060e001604052806000815260200160608152602001600081526020016000815260200160608152602001600081526020016000151581525090565b5b80821115612dbd576000816000905550600101612da5565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e0082612dd5565b9050919050565b612e1081612df5565b8114612e1b57600080fd5b50565b600081359050612e2d81612e07565b92915050565b6000819050919050565b612e4681612e33565b8114612e5157600080fd5b50565b600081359050612e6381612e3d565b92915050565b60008060408385031215612e8057612e7f612dcb565b5b6000612e8e85828601612e1e565b9250506020612e9f85828601612e54565b9150509250929050565b612eb281612e33565b82525050565b6000602082019050612ecd6000830184612ea9565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f0881612ed3565b8114612f1357600080fd5b50565b600081359050612f2581612eff565b92915050565b600060208284031215612f4157612f40612dcb565b5b6000612f4f84828501612f16565b91505092915050565b60008115159050919050565b612f6d81612f58565b82525050565b6000602082019050612f886000830184612f64565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612fc8578082015181840152602081019050612fad565b83811115612fd7576000848401525b50505050565b6000601f19601f8301169050919050565b6000612ff982612f8e565b6130038185612f99565b9350613013818560208601612faa565b61301c81612fdd565b840191505092915050565b600060208201905081810360008301526130418184612fee565b905092915050565b60006020828403121561305f5761305e612dcb565b5b600061306d84828501612e54565b91505092915050565b600060c08201905061308b6000830189612ea9565b818103602083015261309d8188612fee565b90506130ac6040830187612ea9565b6130b96060830186612ea9565b6130c66080830185612ea9565b6130d360a0830184612f64565b979650505050505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61312082612fdd565b810181811067ffffffffffffffff8211171561313f5761313e6130e8565b5b80604052505050565b6000613152612dc1565b905061315e8282613117565b919050565b600067ffffffffffffffff82111561317e5761317d6130e8565b5b61318782612fdd565b9050602081019050919050565b82818337600083830152505050565b60006131b66131b184613163565b613148565b9050828152602081018484840111156131d2576131d16130e3565b5b6131dd848285613194565b509392505050565b600082601f8301126131fa576131f96130de565b5b813561320a8482602086016131a3565b91505092915050565b60006020828403121561322957613228612dcb565b5b600082013567ffffffffffffffff81111561324757613246612dd0565b5b613253848285016131e5565b91505092915050565b600067ffffffffffffffff821115613277576132766130e8565b5b602082029050602081019050919050565b600080fd5b60006132a061329b8461325c565b613148565b905080838252602082019050602084028301858111156132c3576132c2613288565b5b835b818110156132ec57806132d88882612e54565b8452602084019350506020810190506132c5565b5050509392505050565b600082601f83011261330b5761330a6130de565b5b813561331b84826020860161328d565b91505092915050565b600067ffffffffffffffff82111561333f5761333e6130e8565b5b61334882612fdd565b9050602081019050919050565b600061336861336384613324565b613148565b905082815260208101848484011115613384576133836130e3565b5b61338f848285613194565b509392505050565b600082601f8301126133ac576133ab6130de565b5b81356133bc848260208601613355565b91505092915050565b600080600080600060a086880312156133e1576133e0612dcb565b5b60006133ef88828901612e1e565b955050602061340088828901612e1e565b945050604086013567ffffffffffffffff81111561342157613420612dd0565b5b61342d888289016132f6565b935050606086013567ffffffffffffffff81111561344e5761344d612dd0565b5b61345a888289016132f6565b925050608086013567ffffffffffffffff81111561347b5761347a612dd0565b5b61348788828901613397565b9150509295509295909350565b600067ffffffffffffffff8211156134af576134ae6130e8565b5b602082029050602081019050919050565b60006134d36134ce84613494565b613148565b905080838252602082019050602084028301858111156134f6576134f5613288565b5b835b8181101561351f578061350b8882612e1e565b8452602084019350506020810190506134f8565b5050509392505050565b600082601f83011261353e5761353d6130de565b5b813561354e8482602086016134c0565b91505092915050565b6000806040838503121561356e5761356d612dcb565b5b600083013567ffffffffffffffff81111561358c5761358b612dd0565b5b61359885828601613529565b925050602083013567ffffffffffffffff8111156135b9576135b8612dd0565b5b6135c5858286016132f6565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61360481612e33565b82525050565b600061361683836135fb565b60208301905092915050565b6000602082019050919050565b600061363a826135cf565b61364481856135da565b935061364f836135eb565b8060005b83811015613680578151613667888261360a565b975061367283613622565b925050600181019050613653565b5085935050505092915050565b600060208201905081810360008301526136a7818461362f565b905092915050565b60006136ba82612dd5565b9050919050565b6136ca816136af565b81146136d557600080fd5b50565b6000813590506136e7816136c1565b92915050565b60006020828403121561370357613702612dcb565b5b6000613711848285016136d8565b91505092915050565b600080fd5b60008083601f840112613735576137346130de565b5b8235905067ffffffffffffffff8111156137525761375161371a565b5b60208301915083602082028301111561376e5761376d613288565b5b9250929050565b60008060006040848603121561378e5761378d612dcb565b5b600061379c86828701612e54565b935050602084013567ffffffffffffffff8111156137bd576137bc612dd0565b5b6137c98682870161371f565b92509250509250925092565b6137de81612f58565b81146137e957600080fd5b50565b6000813590506137fb816137d5565b92915050565b60008060008060008060c0878903121561381e5761381d612dcb565b5b600061382c89828a01612e54565b965050602087013567ffffffffffffffff81111561384d5761384c612dd0565b5b61385989828a016131e5565b955050604061386a89828a01612e54565b945050606087013567ffffffffffffffff81111561388b5761388a612dd0565b5b61389789828a01613529565b93505060806138a889828a01612e54565b92505060a06138b989828a016137ec565b9150509295509295509295565b600080604083850312156138dd576138dc612dcb565b5b60006138eb85828601612e54565b92505060206138fc85828601612e54565b9150509250929050565b61390f81612df5565b82525050565b600060208201905061392a6000830184613906565b92915050565b600082825260208201905092915050565b600061394c82612f8e565b6139568185613930565b9350613966818560208601612faa565b61396f81612fdd565b840191505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6139af81612df5565b82525050565b60006139c183836139a6565b60208301905092915050565b6000602082019050919050565b60006139e58261397a565b6139ef8185613985565b93506139fa83613996565b8060005b83811015613a2b578151613a1288826139b5565b9750613a1d836139cd565b9250506001810190506139fe565b5085935050505092915050565b613a4181612f58565b82525050565b600060e083016000830151613a5f60008601826135fb565b5060208301518482036020860152613a778282613941565b9150506040830151613a8c60408601826135fb565b506060830151613a9f60608601826135fb565b5060808301518482036080860152613ab782826139da565b91505060a0830151613acc60a08601826135fb565b5060c0830151613adf60c0860182613a38565b508091505092915050565b60006020820190508181036000830152613b048184613a47565b905092915050565b60008060408385031215613b2357613b22612dcb565b5b6000613b3185828601612e1e565b9250506020613b42858286016137ec565b9150509250929050565b60008060408385031215613b6357613b62612dcb565b5b6000613b7185828601612e54565b9250506020613b82858286016137ec565b9150509250929050565b60008060408385031215613ba357613ba2612dcb565b5b6000613bb185828601612e1e565b9250506020613bc285828601612e1e565b9150509250929050565b600080600080600060a08688031215613be857613be7612dcb565b5b6000613bf688828901612e1e565b9550506020613c0788828901612e1e565b9450506040613c1888828901612e54565b9350506060613c2988828901612e54565b925050608086013567ffffffffffffffff811115613c4a57613c49612dd0565b5b613c5688828901613397565b9150509295509295909350565b600060208284031215613c7957613c78612dcb565b5b6000613c8784828501612e1e565b91505092915050565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613cec602b83612f99565b9150613cf782613c90565b604082019050919050565b60006020820190508181036000830152613d1b81613cdf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d6957607f821691505b602082108103613d7c57613d7b613d22565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613daf81613d51565b613db98186613d82565b94506001821660008114613dd45760018114613de557613e18565b60ff19831686528186019350613e18565b613dee85613d8d565b60005b83811015613e1057815481890152600182019150602081019050613df1565b838801955050505b50505092915050565b6000613e2c82612f8e565b613e368185613d82565b9350613e46818560208601612faa565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613e88600583613d82565b9150613e9382613e52565b600582019050919050565b6000613eaa8285613da2565b9150613eb68284613e21565b9150613ec182613e7b565b91508190509392505050565b7f45646974696f6e206e6f7420666f756e642e0000000000000000000000000000600082015250565b6000613f03601283612f99565b9150613f0e82613ecd565b602082019050919050565b60006020820190508181036000830152613f3281613ef6565b9050919050565b7f4d617820746f6b656e20737570706c7920726561636865642e00000000000000600082015250565b6000613f6f601983612f99565b9150613f7a82613f39565b602082019050919050565b60006020820190508181036000830152613f9e81613f62565b9050919050565b7f546f6b656e206d696e74206973206e6f7420656e61626c65642e000000000000600082015250565b6000613fdb601a83612f99565b9150613fe682613fa5565b602082019050919050565b6000602082019050818103600083015261400a81613fce565b9050919050565b7f53656e646572206973206e6f742061206c697374656420706172746e65722e00600082015250565b6000614047601f83612f99565b915061405282614011565b602082019050919050565b600060208201905081810360008301526140768161403a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006140b782612e33565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036140e9576140e861407d565b5b600182019050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061412a602083612f99565b9150614135826140f4565b602082019050919050565b600060208201905081810360008301526141598161411d565b9050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006141bc603283612f99565b91506141c782614160565b604082019050919050565b600060208201905081810360008301526141eb816141af565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061424e602983612f99565b9150614259826141f2565b604082019050919050565b6000602082019050818103600083015261427d81614241565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f496e76616c696420746f6b656e2069642070726f76696465642e000000000000600082015250565b60006142e9601a83612f99565b91506142f4826142b3565b602082019050919050565b60006020820190508181036000830152614318816142dc565b9050919050565b7f45646974696f6e207769746820746f6b656e496420616c72656164792063726560008201527f617465642e000000000000000000000000000000000000000000000000000000602082015250565b600061437b602583612f99565b91506143868261431f565b604082019050919050565b600060208201905081810360008301526143aa8161436e565b9050919050565b7f5468652073656e742076616c7565206973206e6f7420656e6f7567682e000000600082015250565b60006143e7601d83612f99565b91506143f2826143b1565b602082019050919050565b60006020820190508181036000830152614416816143da565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000614479602983612f99565b91506144848261441d565b604082019050919050565b600060208201905081810360008301526144a88161446c565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061450b602683612f99565b9150614516826144af565b604082019050919050565b6000602082019050818103600083015261453a816144fe565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061457b82612e33565b915061458683612e33565b92508261459657614595614541565b5b828204905092915050565b60006145ac82612e33565b91506145b783612e33565b9250828210156145ca576145c961407d565b5b828203905092915050565b60006145e082612e33565b91506145eb83612e33565b9250826145fb576145fa614541565b5b828206905092915050565b600061461182612e33565b915061461c83612e33565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146515761465061407d565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006146e7602183612f99565b91506146f28261468b565b604082019050919050565b60006020820190508181036000830152614716816146da565b9050919050565b60006040820190506147326000830185612ea9565b61473f6020830184612ea9565b9392505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006147a2602883612f99565b91506147ad82614746565b604082019050919050565b600060208201905081810360008301526147d181614795565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614834602583612f99565b915061483f826147d8565b604082019050919050565b6000602082019050818103600083015261486381614827565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006148c6602a83612f99565b91506148d18261486a565b604082019050919050565b600060208201905081810360008301526148f5816148b9565b9050919050565b60006040820190508181036000830152614916818561362f565b9050818103602083015261492a818461362f565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b600061498f602983612f99565b915061499a82614933565b604082019050919050565b600060208201905081810360008301526149be81614982565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006149ec826149c5565b6149f681856149d0565b9350614a06818560208601612faa565b614a0f81612fdd565b840191505092915050565b600060a082019050614a2f6000830188613906565b614a3c6020830187613906565b614a496040830186612ea9565b614a566060830185612ea9565b8181036080830152614a6881846149e1565b90509695505050505050565b600081519050614a8381612eff565b92915050565b600060208284031215614a9f57614a9e612dcb565b5b6000614aad84828501614a74565b91505092915050565b60008160e01c9050919050565b600060033d1115614ae25760046000803e614adf600051614ab6565b90505b90565b600060443d10614b7257614af7612dc1565b60043d036004823e80513d602482011167ffffffffffffffff82111715614b1f575050614b72565b808201805167ffffffffffffffff811115614b3d5750505050614b72565b80602083010160043d038501811115614b5a575050505050614b72565b614b6982602001850186613117565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614bd1603483612f99565b9150614bdc82614b75565b604082019050919050565b60006020820190508181036000830152614c0081614bc4565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614c63602883612f99565b9150614c6e82614c07565b604082019050919050565b60006020820190508181036000830152614c9281614c56565b9050919050565b600060a082019050614cae6000830188613906565b614cbb6020830187613906565b8181036040830152614ccd818661362f565b90508181036060830152614ce1818561362f565b90508181036080830152614cf581846149e1565b9050969550505050505056fea2646970667358221220fd0ff2d61870309577ca150b4fc694647eca51615e48e860934fff8d8c92317364736f6c634300080d003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000c426c6f636b6d6167617a696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000342434d0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061014a5760003560e01c8063665e582b116100b6578063a0712d681161006f578063a0712d68146104a4578063a22cb465146104c0578063b593d44b146104e9578063e985e9c514610512578063f242432a1461054f578063f2fde38b146105785761014a565b8063665e582b146103a8578063715018a6146103d15780637fe9a428146103e85780638da5cb5b14610411578063948630331461043c57806395d89b41146104795761014a565b80632a337e2f116101085780632a337e2f1461029c5780632eb2c2d6146102c55780634e1273f4146102ee57806351cff8d91461032b5780635c975abb1461035457806362d25d791461037f5761014a565b8062fdd58e1461014f57806301ffc9a71461018c57806306fdde03146101c95780630e89341c146101f45780631979001b14610231578063279c806e1461025a575b600080fd5b34801561015b57600080fd5b5061017660048036038101906101719190612e69565b6105a1565b6040516101839190612eb8565b60405180910390f35b34801561019857600080fd5b506101b360048036038101906101ae9190612f2b565b610669565b6040516101c09190612f73565b60405180910390f35b3480156101d557600080fd5b506101de61074b565b6040516101eb9190613027565b60405180910390f35b34801561020057600080fd5b5061021b60048036038101906102169190613049565b6107d9565b6040516102289190613027565b60405180910390f35b34801561023d57600080fd5b5061025860048036038101906102539190613049565b61080d565b005b34801561026657600080fd5b50610281600480360381019061027c9190613049565b6109f7565b60405161029396959493929190613076565b60405180910390f35b3480156102a857600080fd5b506102c360048036038101906102be9190613213565b610ac8565b005b3480156102d157600080fd5b506102ec60048036038101906102e791906133c5565b610b67565b005b3480156102fa57600080fd5b5061031560048036038101906103109190613557565b610c08565b604051610322919061368d565b60405180910390f35b34801561033757600080fd5b50610352600480360381019061034d91906136ed565b610d21565b005b34801561036057600080fd5b50610369610de7565b6040516103769190612f73565b60405180910390f35b34801561038b57600080fd5b506103a660048036038101906103a19190613775565b610dfe565b005b3480156103b457600080fd5b506103cf60048036038101906103ca9190613801565b610f98565b005b3480156103dd57600080fd5b506103e6611186565b005b3480156103f457600080fd5b5061040f600480360381019061040a91906138c6565b61120e565b005b34801561041d57600080fd5b50610426611302565b6040516104339190613915565b60405180910390f35b34801561044857600080fd5b50610463600480360381019061045e9190613049565b61132c565b6040516104709190613aea565b60405180910390f35b34801561048557600080fd5b5061048e6114bc565b60405161049b9190613027565b60405180910390f35b6104be60048036038101906104b99190613049565b61154a565b005b3480156104cc57600080fd5b506104e760048036038101906104e29190613b0c565b61172e565b005b3480156104f557600080fd5b50610510600480360381019061050b9190613b4c565b611744565b005b34801561051e57600080fd5b5061053960048036038101906105349190613b8c565b61184b565b6040516105469190612f73565b60405180910390f35b34801561055b57600080fd5b5061057660048036038101906105719190613bcc565b6118df565b005b34801561058457600080fd5b5061059f600480360381019061059a9190613c63565b611980565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610611576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060890613d02565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061073457507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610744575061074382611a77565b5b9050919050565b6005805461075890613d51565b80601f016020809104026020016040519081016040528092919081815260200182805461078490613d51565b80156107d15780601f106107a6576101008083540402835291602001916107d1565b820191906000526020600020905b8154815290600101906020018083116107b457829003601f168201915b505050505081565b606060076107e683611ae1565b6040516020016107f7929190613e9e565b6040516020818303038152906040529050919050565b6000600460008381526020019081526020016000206000015403610866576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085d90613f19565b60405180910390fd5b60046000828152602001908152602001600020600201546004600083815260200190815260200160002060030154106108d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108cb90613f85565b60405180910390fd5b6004600082815260200190815260200160002060060160009054906101000a900460ff16610937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092e90613ff1565b60405180910390fd5b610957600460008381526020019081526020016000206000015433611c41565b610996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098d9061405d565b60405180910390fd5b6004600082815260200190815260200160002060030160008154809291906109bd906140ac565b91905055506109f4336004600084815260200190815260200160002060000154600160405180602001604052806000815250611e85565b50565b6004602052806000526040600020600091509050806000015490806001018054610a2090613d51565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4c90613d51565b8015610a995780601f10610a6e57610100808354040283529160200191610a99565b820191906000526020600020905b815481529060010190602001808311610a7c57829003601f168201915b5050505050908060020154908060030154908060050154908060060160009054906101000a900460ff16905086565b610ad061201a565b73ffffffffffffffffffffffffffffffffffffffff16610aee611302565b73ffffffffffffffffffffffffffffffffffffffff1614610b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3b90614140565b60405180910390fd5b610b4d81612022565b8060079080519060200190610b63929190612c55565b5050565b610b6f61201a565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610bb55750610bb485610baf61201a565b61184b565b5b610bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610beb906141d2565b60405180910390fd5b610c01858585858561203c565b5050505050565b60608151835114610c4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4590614264565b60405180910390fd5b6000835167ffffffffffffffff811115610c6b57610c6a6130e8565b5b604051908082528060200260200182016040528015610c995781602001602082028036833780820191505090505b50905060005b8451811015610d1657610ce6858281518110610cbe57610cbd614284565b5b6020026020010151858381518110610cd957610cd8614284565b5b60200260200101516105a1565b828281518110610cf957610cf8614284565b5b60200260200101818152505080610d0f906140ac565b9050610c9f565b508091505092915050565b610d2961201a565b73ffffffffffffffffffffffffffffffffffffffff16610d47611302565b73ffffffffffffffffffffffffffffffffffffffff1614610d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9490614140565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610de3573d6000803e3d6000fd5b5050565b6000600360149054906101000a900460ff16905090565b610e0661201a565b73ffffffffffffffffffffffffffffffffffffffff16610e24611302565b73ffffffffffffffffffffffffffffffffffffffff1614610e7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7190614140565b60405180910390fd5b6000600460008581526020019081526020016000206000015403610ed3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eca90613f19565b60405180910390fd5b60005b82829050811015610f925760046000858152602001908152602001600020600401838383818110610f0a57610f09614284565b5b9050602002016020810190610f1f9190613c63565b9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080610f8a906140ac565b915050610ed6565b50505050565b610fa061201a565b73ffffffffffffffffffffffffffffffffffffffff16610fbe611302565b73ffffffffffffffffffffffffffffffffffffffff1614611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100b90614140565b60405180910390fd5b60008611611057576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104e906142ff565b60405180910390fd5b60006004600088815260200190815260200160002060000154146110b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a790614391565b60405180910390fd5b6040518060e00160405280878152602001868152602001858152602001600081526020018481526020018381526020018215158152506004600088815260200190815260200160002060008201518160000155602082015181600101908051906020019061111f929190612c55565b5060408201518160020155606082015181600301556080820151816004019080519060200190611150929190612cdb565b5060a0820151816005015560c08201518160060160006101000a81548160ff021916908315150217905550905050505050505050565b61118e61201a565b73ffffffffffffffffffffffffffffffffffffffff166111ac611302565b73ffffffffffffffffffffffffffffffffffffffff1614611202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f990614140565b60405180910390fd5b61120c600061234f565b565b61121661201a565b73ffffffffffffffffffffffffffffffffffffffff16611234611302565b73ffffffffffffffffffffffffffffffffffffffff161461128a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128190614140565b60405180910390fd5b60006004600084815260200190815260200160002060000154036112e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112da90613f19565b60405180910390fd5b8060046000848152602001908152602001600020600501819055505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611334612d65565b600460008381526020019081526020016000206040518060e00160405290816000820154815260200160018201805461136c90613d51565b80601f016020809104026020016040519081016040528092919081815260200182805461139890613d51565b80156113e55780601f106113ba576101008083540402835291602001916113e5565b820191906000526020600020905b8154815290600101906020018083116113c857829003601f168201915b5050505050815260200160028201548152602001600382015481526020016004820180548060200260200160405190810160405280929190818152602001828054801561148757602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161143d575b50505050508152602001600582015481526020016006820160009054906101000a900460ff1615151515815250509050919050565b600680546114c990613d51565b80601f01602080910402602001604051908101604052809291908181526020018280546114f590613d51565b80156115425780601f1061151757610100808354040283529160200191611542565b820191906000526020600020905b81548152906001019060200180831161152557829003601f168201915b505050505081565b60006004600083815260200190815260200160002060000154036115a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159a90613f19565b60405180910390fd5b6004600082815260200190815260200160002060020154600460008381526020019081526020016000206003015410611611576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160890613f85565b60405180910390fd5b6004600082815260200190815260200160002060060160009054906101000a900460ff16611674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166b90613ff1565b60405180910390fd5b34600460008381526020019081526020016000206005015411156116cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c4906143fd565b60405180910390fd5b6004600082815260200190815260200160002060030160008154809291906116f4906140ac565b919050555061172b336004600084815260200190815260200160002060000154600160405180602001604052806000815250611e85565b50565b61174061173961201a565b8383612415565b5050565b61174c61201a565b73ffffffffffffffffffffffffffffffffffffffff1661176a611302565b73ffffffffffffffffffffffffffffffffffffffff16146117c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b790614140565b60405180910390fd5b6000600460008481526020019081526020016000206000015403611819576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181090613f19565b60405180910390fd5b806004600084815260200190815260200160002060060160006101000a81548160ff0219169083151502179055505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118e761201a565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061192d575061192c8561192761201a565b61184b565b5b61196c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119639061448f565b60405180910390fd5b6119798585858585612581565b5050505050565b61198861201a565b73ffffffffffffffffffffffffffffffffffffffff166119a6611302565b73ffffffffffffffffffffffffffffffffffffffff16146119fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f390614140565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6290614521565b60405180910390fd5b611a748161234f565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b606060008203611b28576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611c3c565b600082905060005b60008214611b5a578080611b43906140ac565b915050600a82611b539190614570565b9150611b30565b60008167ffffffffffffffff811115611b7657611b756130e8565b5b6040519080825280601f01601f191660200182016040528015611ba85781602001600182028036833780820191505090505b5090505b60008514611c3557600182611bc191906145a1565b9150600a85611bd091906145d5565b6030611bdc9190614606565b60f81b818381518110611bf257611bf1614284565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611c2e9190614570565b9450611bac565b8093505050505b919050565b6000806000905060005b6004600086815260200190815260200160002060040180549050811015611e7a57600460008681526020019081526020016000206004018181548110611c9457611c93614284565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611e67576001915060008190505b60016004600088815260200190815260200160002060040180549050611d2191906145a1565b811015611e0a5760046000878152602001908152602001600020600401600182611d4b9190614606565b81548110611d5c57611d5b614284565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600460008881526020019081526020016000206004018281548110611daf57611dae614284565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080611e02906140ac565b915050611cfb565b5060046000868152602001908152602001600020600401805480611e3157611e3061465c565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905590555b8080611e72906140ac565b915050611c4b565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eeb906146fd565b60405180910390fd5b6000611efe61201a565b9050611f1f81600087611f1088612802565b611f1988612802565b8761287c565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f7e9190614606565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611ffc92919061471d565b60405180910390a461201381600087878787612884565b5050505050565b600033905090565b8060029080519060200190612038929190612c55565b5050565b8151835114612080576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612077906147b8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036120ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e69061484a565b60405180910390fd5b60006120f961201a565b905061210981878787878761287c565b60005b84518110156122ba57600085828151811061212a57612129614284565b5b60200260200101519050600085838151811061214957612148614284565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156121ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e1906148dc565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461229f9190614606565b92505081905550505050806122b3906140ac565b905061210c565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516123319291906148fc565b60405180910390a4612347818787878787612a5b565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247a906149a5565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125749190612f73565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036125f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e79061484a565b60405180910390fd5b60006125fa61201a565b905061261a81878761260b88612802565b61261488612802565b8761287c565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156126b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a8906148dc565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127669190614606565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516127e392919061471d565b60405180910390a46127f9828888888888612884565b50505050505050565b60606000600167ffffffffffffffff811115612821576128206130e8565b5b60405190808252806020026020018201604052801561284f5781602001602082028036833780820191505090505b509050828160008151811061286757612866614284565b5b60200260200101818152505080915050919050565b505050505050565b6128a38473ffffffffffffffffffffffffffffffffffffffff16612c32565b15612a53578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016128e9959493929190614a1a565b6020604051808303816000875af192505050801561292557506040513d601f19601f820116820180604052508101906129229190614a89565b60015b6129ca57612931614ac3565b806308c379a00361298d5750612945614ae5565b80612950575061298f565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129849190613027565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c190614be7565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4890614c79565b60405180910390fd5b505b505050505050565b612a7a8473ffffffffffffffffffffffffffffffffffffffff16612c32565b15612c2a578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612ac0959493929190614c99565b6020604051808303816000875af1925050508015612afc57506040513d601f19601f82011682018060405250810190612af99190614a89565b60015b612ba157612b08614ac3565b806308c379a003612b645750612b1c614ae5565b80612b275750612b66565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5b9190613027565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9890614be7565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612c28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1f90614c79565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054612c6190613d51565b90600052602060002090601f016020900481019282612c835760008555612cca565b82601f10612c9c57805160ff1916838001178555612cca565b82800160010185558215612cca579182015b82811115612cc9578251825591602001919060010190612cae565b5b509050612cd79190612da4565b5090565b828054828255906000526020600020908101928215612d54579160200282015b82811115612d535782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190612cfb565b5b509050612d619190612da4565b5090565b6040518060e001604052806000815260200160608152602001600081526020016000815260200160608152602001600081526020016000151581525090565b5b80821115612dbd576000816000905550600101612da5565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e0082612dd5565b9050919050565b612e1081612df5565b8114612e1b57600080fd5b50565b600081359050612e2d81612e07565b92915050565b6000819050919050565b612e4681612e33565b8114612e5157600080fd5b50565b600081359050612e6381612e3d565b92915050565b60008060408385031215612e8057612e7f612dcb565b5b6000612e8e85828601612e1e565b9250506020612e9f85828601612e54565b9150509250929050565b612eb281612e33565b82525050565b6000602082019050612ecd6000830184612ea9565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f0881612ed3565b8114612f1357600080fd5b50565b600081359050612f2581612eff565b92915050565b600060208284031215612f4157612f40612dcb565b5b6000612f4f84828501612f16565b91505092915050565b60008115159050919050565b612f6d81612f58565b82525050565b6000602082019050612f886000830184612f64565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612fc8578082015181840152602081019050612fad565b83811115612fd7576000848401525b50505050565b6000601f19601f8301169050919050565b6000612ff982612f8e565b6130038185612f99565b9350613013818560208601612faa565b61301c81612fdd565b840191505092915050565b600060208201905081810360008301526130418184612fee565b905092915050565b60006020828403121561305f5761305e612dcb565b5b600061306d84828501612e54565b91505092915050565b600060c08201905061308b6000830189612ea9565b818103602083015261309d8188612fee565b90506130ac6040830187612ea9565b6130b96060830186612ea9565b6130c66080830185612ea9565b6130d360a0830184612f64565b979650505050505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61312082612fdd565b810181811067ffffffffffffffff8211171561313f5761313e6130e8565b5b80604052505050565b6000613152612dc1565b905061315e8282613117565b919050565b600067ffffffffffffffff82111561317e5761317d6130e8565b5b61318782612fdd565b9050602081019050919050565b82818337600083830152505050565b60006131b66131b184613163565b613148565b9050828152602081018484840111156131d2576131d16130e3565b5b6131dd848285613194565b509392505050565b600082601f8301126131fa576131f96130de565b5b813561320a8482602086016131a3565b91505092915050565b60006020828403121561322957613228612dcb565b5b600082013567ffffffffffffffff81111561324757613246612dd0565b5b613253848285016131e5565b91505092915050565b600067ffffffffffffffff821115613277576132766130e8565b5b602082029050602081019050919050565b600080fd5b60006132a061329b8461325c565b613148565b905080838252602082019050602084028301858111156132c3576132c2613288565b5b835b818110156132ec57806132d88882612e54565b8452602084019350506020810190506132c5565b5050509392505050565b600082601f83011261330b5761330a6130de565b5b813561331b84826020860161328d565b91505092915050565b600067ffffffffffffffff82111561333f5761333e6130e8565b5b61334882612fdd565b9050602081019050919050565b600061336861336384613324565b613148565b905082815260208101848484011115613384576133836130e3565b5b61338f848285613194565b509392505050565b600082601f8301126133ac576133ab6130de565b5b81356133bc848260208601613355565b91505092915050565b600080600080600060a086880312156133e1576133e0612dcb565b5b60006133ef88828901612e1e565b955050602061340088828901612e1e565b945050604086013567ffffffffffffffff81111561342157613420612dd0565b5b61342d888289016132f6565b935050606086013567ffffffffffffffff81111561344e5761344d612dd0565b5b61345a888289016132f6565b925050608086013567ffffffffffffffff81111561347b5761347a612dd0565b5b61348788828901613397565b9150509295509295909350565b600067ffffffffffffffff8211156134af576134ae6130e8565b5b602082029050602081019050919050565b60006134d36134ce84613494565b613148565b905080838252602082019050602084028301858111156134f6576134f5613288565b5b835b8181101561351f578061350b8882612e1e565b8452602084019350506020810190506134f8565b5050509392505050565b600082601f83011261353e5761353d6130de565b5b813561354e8482602086016134c0565b91505092915050565b6000806040838503121561356e5761356d612dcb565b5b600083013567ffffffffffffffff81111561358c5761358b612dd0565b5b61359885828601613529565b925050602083013567ffffffffffffffff8111156135b9576135b8612dd0565b5b6135c5858286016132f6565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61360481612e33565b82525050565b600061361683836135fb565b60208301905092915050565b6000602082019050919050565b600061363a826135cf565b61364481856135da565b935061364f836135eb565b8060005b83811015613680578151613667888261360a565b975061367283613622565b925050600181019050613653565b5085935050505092915050565b600060208201905081810360008301526136a7818461362f565b905092915050565b60006136ba82612dd5565b9050919050565b6136ca816136af565b81146136d557600080fd5b50565b6000813590506136e7816136c1565b92915050565b60006020828403121561370357613702612dcb565b5b6000613711848285016136d8565b91505092915050565b600080fd5b60008083601f840112613735576137346130de565b5b8235905067ffffffffffffffff8111156137525761375161371a565b5b60208301915083602082028301111561376e5761376d613288565b5b9250929050565b60008060006040848603121561378e5761378d612dcb565b5b600061379c86828701612e54565b935050602084013567ffffffffffffffff8111156137bd576137bc612dd0565b5b6137c98682870161371f565b92509250509250925092565b6137de81612f58565b81146137e957600080fd5b50565b6000813590506137fb816137d5565b92915050565b60008060008060008060c0878903121561381e5761381d612dcb565b5b600061382c89828a01612e54565b965050602087013567ffffffffffffffff81111561384d5761384c612dd0565b5b61385989828a016131e5565b955050604061386a89828a01612e54565b945050606087013567ffffffffffffffff81111561388b5761388a612dd0565b5b61389789828a01613529565b93505060806138a889828a01612e54565b92505060a06138b989828a016137ec565b9150509295509295509295565b600080604083850312156138dd576138dc612dcb565b5b60006138eb85828601612e54565b92505060206138fc85828601612e54565b9150509250929050565b61390f81612df5565b82525050565b600060208201905061392a6000830184613906565b92915050565b600082825260208201905092915050565b600061394c82612f8e565b6139568185613930565b9350613966818560208601612faa565b61396f81612fdd565b840191505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6139af81612df5565b82525050565b60006139c183836139a6565b60208301905092915050565b6000602082019050919050565b60006139e58261397a565b6139ef8185613985565b93506139fa83613996565b8060005b83811015613a2b578151613a1288826139b5565b9750613a1d836139cd565b9250506001810190506139fe565b5085935050505092915050565b613a4181612f58565b82525050565b600060e083016000830151613a5f60008601826135fb565b5060208301518482036020860152613a778282613941565b9150506040830151613a8c60408601826135fb565b506060830151613a9f60608601826135fb565b5060808301518482036080860152613ab782826139da565b91505060a0830151613acc60a08601826135fb565b5060c0830151613adf60c0860182613a38565b508091505092915050565b60006020820190508181036000830152613b048184613a47565b905092915050565b60008060408385031215613b2357613b22612dcb565b5b6000613b3185828601612e1e565b9250506020613b42858286016137ec565b9150509250929050565b60008060408385031215613b6357613b62612dcb565b5b6000613b7185828601612e54565b9250506020613b82858286016137ec565b9150509250929050565b60008060408385031215613ba357613ba2612dcb565b5b6000613bb185828601612e1e565b9250506020613bc285828601612e1e565b9150509250929050565b600080600080600060a08688031215613be857613be7612dcb565b5b6000613bf688828901612e1e565b9550506020613c0788828901612e1e565b9450506040613c1888828901612e54565b9350506060613c2988828901612e54565b925050608086013567ffffffffffffffff811115613c4a57613c49612dd0565b5b613c5688828901613397565b9150509295509295909350565b600060208284031215613c7957613c78612dcb565b5b6000613c8784828501612e1e565b91505092915050565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613cec602b83612f99565b9150613cf782613c90565b604082019050919050565b60006020820190508181036000830152613d1b81613cdf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d6957607f821691505b602082108103613d7c57613d7b613d22565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613daf81613d51565b613db98186613d82565b94506001821660008114613dd45760018114613de557613e18565b60ff19831686528186019350613e18565b613dee85613d8d565b60005b83811015613e1057815481890152600182019150602081019050613df1565b838801955050505b50505092915050565b6000613e2c82612f8e565b613e368185613d82565b9350613e46818560208601612faa565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613e88600583613d82565b9150613e9382613e52565b600582019050919050565b6000613eaa8285613da2565b9150613eb68284613e21565b9150613ec182613e7b565b91508190509392505050565b7f45646974696f6e206e6f7420666f756e642e0000000000000000000000000000600082015250565b6000613f03601283612f99565b9150613f0e82613ecd565b602082019050919050565b60006020820190508181036000830152613f3281613ef6565b9050919050565b7f4d617820746f6b656e20737570706c7920726561636865642e00000000000000600082015250565b6000613f6f601983612f99565b9150613f7a82613f39565b602082019050919050565b60006020820190508181036000830152613f9e81613f62565b9050919050565b7f546f6b656e206d696e74206973206e6f7420656e61626c65642e000000000000600082015250565b6000613fdb601a83612f99565b9150613fe682613fa5565b602082019050919050565b6000602082019050818103600083015261400a81613fce565b9050919050565b7f53656e646572206973206e6f742061206c697374656420706172746e65722e00600082015250565b6000614047601f83612f99565b915061405282614011565b602082019050919050565b600060208201905081810360008301526140768161403a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006140b782612e33565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036140e9576140e861407d565b5b600182019050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061412a602083612f99565b9150614135826140f4565b602082019050919050565b600060208201905081810360008301526141598161411d565b9050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006141bc603283612f99565b91506141c782614160565b604082019050919050565b600060208201905081810360008301526141eb816141af565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061424e602983612f99565b9150614259826141f2565b604082019050919050565b6000602082019050818103600083015261427d81614241565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f496e76616c696420746f6b656e2069642070726f76696465642e000000000000600082015250565b60006142e9601a83612f99565b91506142f4826142b3565b602082019050919050565b60006020820190508181036000830152614318816142dc565b9050919050565b7f45646974696f6e207769746820746f6b656e496420616c72656164792063726560008201527f617465642e000000000000000000000000000000000000000000000000000000602082015250565b600061437b602583612f99565b91506143868261431f565b604082019050919050565b600060208201905081810360008301526143aa8161436e565b9050919050565b7f5468652073656e742076616c7565206973206e6f7420656e6f7567682e000000600082015250565b60006143e7601d83612f99565b91506143f2826143b1565b602082019050919050565b60006020820190508181036000830152614416816143da565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000614479602983612f99565b91506144848261441d565b604082019050919050565b600060208201905081810360008301526144a88161446c565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061450b602683612f99565b9150614516826144af565b604082019050919050565b6000602082019050818103600083015261453a816144fe565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061457b82612e33565b915061458683612e33565b92508261459657614595614541565b5b828204905092915050565b60006145ac82612e33565b91506145b783612e33565b9250828210156145ca576145c961407d565b5b828203905092915050565b60006145e082612e33565b91506145eb83612e33565b9250826145fb576145fa614541565b5b828206905092915050565b600061461182612e33565b915061461c83612e33565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146515761465061407d565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006146e7602183612f99565b91506146f28261468b565b604082019050919050565b60006020820190508181036000830152614716816146da565b9050919050565b60006040820190506147326000830185612ea9565b61473f6020830184612ea9565b9392505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006147a2602883612f99565b91506147ad82614746565b604082019050919050565b600060208201905081810360008301526147d181614795565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614834602583612f99565b915061483f826147d8565b604082019050919050565b6000602082019050818103600083015261486381614827565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006148c6602a83612f99565b91506148d18261486a565b604082019050919050565b600060208201905081810360008301526148f5816148b9565b9050919050565b60006040820190508181036000830152614916818561362f565b9050818103602083015261492a818461362f565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b600061498f602983612f99565b915061499a82614933565b604082019050919050565b600060208201905081810360008301526149be81614982565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006149ec826149c5565b6149f681856149d0565b9350614a06818560208601612faa565b614a0f81612fdd565b840191505092915050565b600060a082019050614a2f6000830188613906565b614a3c6020830187613906565b614a496040830186612ea9565b614a566060830185612ea9565b8181036080830152614a6881846149e1565b90509695505050505050565b600081519050614a8381612eff565b92915050565b600060208284031215614a9f57614a9e612dcb565b5b6000614aad84828501614a74565b91505092915050565b60008160e01c9050919050565b600060033d1115614ae25760046000803e614adf600051614ab6565b90505b90565b600060443d10614b7257614af7612dc1565b60043d036004823e80513d602482011167ffffffffffffffff82111715614b1f575050614b72565b808201805167ffffffffffffffff811115614b3d5750505050614b72565b80602083010160043d038501811115614b5a575050505050614b72565b614b6982602001850186613117565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614bd1603483612f99565b9150614bdc82614b75565b604082019050919050565b60006020820190508181036000830152614c0081614bc4565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614c63602883612f99565b9150614c6e82614c07565b604082019050919050565b60006020820190508181036000830152614c9281614c56565b9050919050565b600060a082019050614cae6000830188613906565b614cbb6020830187613906565b8181036040830152614ccd818661362f565b90508181036060830152614ce1818561362f565b90508181036080830152614cf581846149e1565b9050969550505050505056fea2646970667358221220fd0ff2d61870309577ca150b4fc694647eca51615e48e860934fff8d8c92317364736f6c634300080d0033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000c426c6f636b6d6167617a696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000342434d0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Blockmagazin
Arg [1] : _symbol (string): BCM

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [3] : 426c6f636b6d6167617a696e0000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 42434d0000000000000000000000000000000000000000000000000000000000


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.