ETH Price: $3,384.73 (-8.31%)
Gas: 9.31 Gwei

Token

RaBits (RBT)
 

Overview

Max Total Supply

2,500 RBT

Holders

528

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
jagline.eth
Balance
1 RBT
0xd7ba705f230dca4b970c438c99afe55a37b1b433
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:
RaBits

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : RaBits.sol
// SPDX-License-Identifier: MIT

/*********************************
*                                *
*            (\_/)               *
*                                *
 *********************************/

// rabits.xyz
// twitter.com/rabitsxyz
// Descriptor can be updated to fix any attribute community is unhappy with. Descriptor will be locked after community feedback.

pragma solidity ^0.8.13;

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

contract RaBits is ERC721Enumerable, Ownable {
    event SeedUpdated(uint256 indexed tokenId, uint256 seed);

    mapping(uint256 => uint256) internal seeds;
    IRaBitDescriptor public descriptor;
    uint256 public maxSupply = 1112;
    bool public minting = false;
    bool public canUpdateSeed = true;
    bool public locked = false;
    address public creator;

    constructor(IRaBitDescriptor newDescriptor) ERC721("RaBits", "RBT") {
        descriptor = newDescriptor;
        creator = msg.sender;
    }

    function mint(uint32 count) external {
        require(minting || msg.sender == creator, "Minting needs to be enabled to start minting");
        require(count < 11 || msg.sender == creator, "Exceeds max per transaction.");
        uint256 nextTokenId = _owners.length;
        unchecked {
            require(nextTokenId + count < maxSupply, "Exceeds max supply.");
        }

        for (uint32 i; i < count;) {
            seeds[nextTokenId] = generateSeed(nextTokenId);
            _mint(_msgSender(), nextTokenId);
            unchecked { ++nextTokenId; ++i; }
        }
    }

    function setMinting(bool value) external onlyOwner {
        minting = value;
    }

    function setDescriptor(IRaBitDescriptor newDescriptor) external onlyOwner {
        descriptor = newDescriptor;
    }

    function withdraw() external payable onlyOwner {
        (bool os,)= payable(owner()).call{value: address(this).balance}("");
        require(os);
    }

    function updateSeed(uint256 tokenId, uint256 seed) external onlyOwner {
        require(canUpdateSeed, "Cannot set the seed");
        seeds[tokenId] = seed;
        emit SeedUpdated(tokenId, seed);
    }

    function disableSeedUpdate() external onlyOwner {
        canUpdateSeed = false;
    }

    function burn(uint256 tokenId) public {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "Not approved to burn.");
        delete seeds[tokenId];
        _burn(tokenId);
    }

    function getSeed(uint256 tokenId) public view returns (uint256) {
        require(_exists(tokenId), "Rabit does not exist.");
        return seeds[tokenId];
    }

    function tokenURI(uint256 tokenId) public view returns (string memory) {
        require(_exists(tokenId), "Rabit does not exist.");
        uint256 seed = seeds[tokenId];
        return descriptor.tokenURI(tokenId, seed);
    }

    function generateSeed(uint256 tokenId) private view returns (uint256) {
        uint256 r = random(tokenId);
        uint256 headSeed = 100 * (r % 7 + 10) + ((r >> 48) % 20 + 10);
        uint256 faceSeed = 100 * ((r >> 96) % 6 + 10) + ((r >> 96) % 20 + 10);
        uint256 bodySeed = 100 * ((r >> 144) % 7 + 10) + ((r >> 144) % 20 + 10);
        uint256 legsSeed = 100 * ((r >> 192) % 6 + 10) + ((r >> 192) % 20 + 10);
        return 10000 * (10000 * (10000 * headSeed + faceSeed) + bodySeed) + legsSeed;
    }

    function random(uint256 tokenId) private view returns (uint256 pseudoRandomness) {
        pseudoRandomness = uint256(
            keccak256(abi.encodePacked(blockhash(block.number - 1), tokenId))
        );
        return pseudoRandomness;
    }

    function setMaxSupply(uint256 _supply) external onlyOwner {
        require(locked == false);
        maxSupply = _supply;
    }

    function lockMaxSupply() external onlyOwner {
        locked = true;
    }

}

File 2 of 15 : IRaBitDescriptor.sol
// SPDX-License-Identifier: MIT

/*********************************
*                                *
*            (\_/)               *
*                                *
 *********************************/

pragma solidity ^0.8.13;

interface IRaBitDescriptor {
    function tokenURI(uint256 tokenId, uint256 seed) external view returns (string memory);
}

File 3 of 15 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

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

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

    function totalSupply() public view virtual override returns (uint256) {
        uint256 count;
        for (uint256 i; i < _owners.length;) {
            if (_owners[i] != address(0)) {
                unchecked {
                    ++count;
                }
            }

            unchecked {
                ++i;
            }
        }

        return count;
    }

    function tokenByIndex(uint256 index) public view virtual override returns (uint256 tokenId) {
        require(index < _owners.length, "ERC721Enumerable: global index out of bounds");
        return index;
    }

    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256 tokenId) {
        require(index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds");

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

            unchecked {
                ++i;
            }
        }

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

File 4 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 5 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 6 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.13;

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

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

    string private _name;
    string private _symbol;

    address[] internal _owners;

    mapping(uint256 => address) private _tokenApprovals;
    mapping(address => mapping(address => bool)) private _operatorApprovals;

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

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

    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");

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

    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: invalid token ID");

        return _tokenApprovals[tokenId];
    }

    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC721: approve to caller");
        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    function transferFrom(address from, address to, uint256 tokenId) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");
        _transfer(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");
        _safeTransfer(from, to, tokenId, data);
    }

    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return tokenId < _owners.length && _owners[tokenId] != address(0);
    }

    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    function _mint(address to, uint256 tokenId) internal virtual {
        require(!_exists(tokenId), "ERC721: token already minted");

        _owners.push(to);

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

    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        delete _tokenApprovals[tokenId];
        delete _owners[tokenId];

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

    function _transfer(address from, address to, uint256 tokenId) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory data) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        }

        return true;
    }
}

File 7 of 15 : 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 8 of 15 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.13;

library Address {
    function isContract(address account) internal view returns (bool) {
        uint size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }
}

File 9 of 15 : 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 10 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

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

File 11 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 12 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 15 of 15 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IRaBitDescriptor","name":"newDescriptor","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"seed","type":"uint256"}],"name":"SeedUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"canUpdateSeed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"creator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"descriptor","outputs":[{"internalType":"contract IRaBitDescriptor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableSeedUpdate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSeed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"locked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"count","type":"uint32"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IRaBitDescriptor","name":"newDescriptor","type":"address"}],"name":"setDescriptor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"updateSeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526104586008556000600960006101000a81548160ff0219169083151502179055506001600960016101000a81548160ff0219169083151502179055506000600960026101000a81548160ff0219169083151502179055503480156200006857600080fd5b506040516200428f3803806200428f83398181016040528101906200008e919062000315565b6040518060400160405280600681526020017f52614269747300000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f524254000000000000000000000000000000000000000000000000000000000081525081600090816200010b9190620005c1565b5080600190816200011d9190620005c1565b5050506200014062000134620001c960201b60201c565b620001d160201b60201c565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600960036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050620006a8565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002c9826200029c565b9050919050565b6000620002dd82620002bc565b9050919050565b620002ef81620002d0565b8114620002fb57600080fd5b50565b6000815190506200030f81620002e4565b92915050565b6000602082840312156200032e576200032d62000297565b5b60006200033e84828501620002fe565b91505092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003c957607f821691505b602082108103620003df57620003de62000381565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004497fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200040a565b6200045586836200040a565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620004a26200049c62000496846200046d565b62000477565b6200046d565b9050919050565b6000819050919050565b620004be8362000481565b620004d6620004cd82620004a9565b84845462000417565b825550505050565b600090565b620004ed620004de565b620004fa818484620004b3565b505050565b5b81811015620005225762000516600082620004e3565b60018101905062000500565b5050565b601f82111562000571576200053b81620003e5565b6200054684620003fa565b8101602085101562000556578190505b6200056e6200056585620003fa565b830182620004ff565b50505b505050565b600082821c905092915050565b6000620005966000198460080262000576565b1980831691505092915050565b6000620005b1838362000583565b9150826002028217905092915050565b620005cc8262000347565b67ffffffffffffffff811115620005e857620005e762000352565b5b620005f48254620003b0565b6200060182828562000526565b600060209050601f83116001811462000639576000841562000624578287015190505b620006308582620005a3565b865550620006a0565b601f1984166200064986620003e5565b60005b8281101562000673578489015182556001820191506020850194506020810190506200064c565b868310156200069357848901516200068f601f89168262000583565b8355505b6001600288020188555050505b505050505050565b613bd780620006b86000396000f3fe6080604052600436106102045760003560e01c80636352211e11610118578063b4c7f066116100a0578063d5abeb011161006f578063d5abeb0114610732578063e0d4ea371461075d578063e985e9c51461079a578063f2fde38b146107d7578063fca76c261461080057610204565b8063b4c7f06614610678578063b88d4fde146106a1578063c87b56dd146106ca578063cf3090121461070757610204565b80637dc2268c116100e75780637dc2268c146105a55780638da5cb5b146105d057806395d89b41146105fb578063a22cb46514610626578063a71bbebe1461064f57610204565b80636352211e146104eb5780636f8b44b01461052857806370a0823114610551578063715018a61461058e57610204565b806323b872dd1161019b5780633bb2c9381161016a5780633bb2c9381461043b5780633ccfd60b1461045257806342842e0e1461045c57806342966c68146104855780634f6ccce7146104ae57610204565b806323b872dd1461037f5780632f745c59146103a8578063303e74df146103e557806333101e1f1461041057610204565b8063081812fc116101d7578063081812fc146102c5578063095ea7b314610302578063176b72b41461032b57806318160ddd1461035457610204565b806301b9a3971461020957806301ffc9a71461023257806302d05d3f1461026f57806306fdde031461029a575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b9190612622565b610817565b005b34801561023e57600080fd5b50610259600480360381019061025491906126a7565b610863565b60405161026691906126ef565b60405180910390f35b34801561027b57600080fd5b506102846108dd565b6040516102919190612719565b60405180910390f35b3480156102a657600080fd5b506102af610903565b6040516102bc91906127c4565b60405180910390f35b3480156102d157600080fd5b506102ec60048036038101906102e7919061281c565b610995565b6040516102f99190612719565b60405180910390f35b34801561030e57600080fd5b5061032960048036038101906103249190612875565b610a1a565b005b34801561033757600080fd5b50610352600480360381019061034d91906128b5565b610b31565b005b34801561036057600080fd5b50610369610bdc565b6040516103769190612904565b60405180910390f35b34801561038b57600080fd5b506103a660048036038101906103a1919061291f565b610c7b565b005b3480156103b457600080fd5b506103cf60048036038101906103ca9190612875565b610cdb565b6040516103dc9190612904565b60405180910390f35b3480156103f157600080fd5b506103fa610e0e565b60405161040791906129d1565b60405180910390f35b34801561041c57600080fd5b50610425610e34565b60405161043291906126ef565b60405180910390f35b34801561044757600080fd5b50610450610e47565b005b61045a610e6c565b005b34801561046857600080fd5b50610483600480360381019061047e919061291f565b610ef4565b005b34801561049157600080fd5b506104ac60048036038101906104a7919061281c565b610f14565b005b3480156104ba57600080fd5b506104d560048036038101906104d0919061281c565b610f87565b6040516104e29190612904565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d919061281c565b610fd8565b60405161051f9190612719565b60405180910390f35b34801561053457600080fd5b5061054f600480360381019061054a919061281c565b611094565b005b34801561055d57600080fd5b50610578600480360381019061057391906129ec565b6110c6565b6040516105859190612904565b60405180910390f35b34801561059a57600080fd5b506105a36111d4565b005b3480156105b157600080fd5b506105ba6111e8565b6040516105c791906126ef565b60405180910390f35b3480156105dc57600080fd5b506105e56111fb565b6040516105f29190612719565b60405180910390f35b34801561060757600080fd5b50610610611225565b60405161061d91906127c4565b60405180910390f35b34801561063257600080fd5b5061064d60048036038101906106489190612a45565b6112b7565b005b34801561065b57600080fd5b5061067660048036038101906106719190612ac1565b611437565b005b34801561068457600080fd5b5061069f600480360381019061069a9190612aee565b611633565b005b3480156106ad57600080fd5b506106c860048036038101906106c39190612c50565b611658565b005b3480156106d657600080fd5b506106f160048036038101906106ec919061281c565b6116ba565b6040516106fe91906127c4565b60405180910390f35b34801561071357600080fd5b5061071c6117c7565b60405161072991906126ef565b60405180910390f35b34801561073e57600080fd5b506107476117da565b6040516107549190612904565b60405180910390f35b34801561076957600080fd5b50610784600480360381019061077f919061281c565b6117e0565b6040516107919190612904565b60405180910390f35b3480156107a657600080fd5b506107c160048036038101906107bc9190612cd3565b611845565b6040516107ce91906126ef565b60405180910390f35b3480156107e357600080fd5b506107fe60048036038101906107f991906129ec565b6118d9565b005b34801561080c57600080fd5b5061081561195c565b005b61081f611981565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108d657506108d5826119ff565b5b9050919050565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000805461091290612d42565b80601f016020809104026020016040519081016040528092919081815260200182805461093e90612d42565b801561098b5780601f106109605761010080835404028352916020019161098b565b820191906000526020600020905b81548152906001019060200180831161096e57829003601f168201915b5050505050905090565b60006109a082611ae1565b6109df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d690612dbf565b60405180910390fd5b6003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a2582610fd8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8c90612e51565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ab4611b69565b73ffffffffffffffffffffffffffffffffffffffff161480610ae35750610ae281610add611b69565b611845565b5b610b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1990612ee3565b60405180910390fd5b610b2c8383611b71565b505050565b610b39611981565b600960019054906101000a900460ff16610b88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7f90612f4f565b60405180910390fd5b806006600084815260200190815260200160002081905550817faabfe5e8bccf1a1352f72b557ce580211305c37f88d5783ae467a1ba5e0761e082604051610bd09190612904565b60405180910390a25050565b60008060005b600280549050811015610c7357600073ffffffffffffffffffffffffffffffffffffffff1660028281548110610c1b57610c1a612f6f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c68578160010191505b806001019050610be2565b508091505090565b610c8c610c86611b69565b82611c2a565b610ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc290613010565b60405180910390fd5b610cd6838383611cbf565b505050565b6000610ce6836110c6565b8210610d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1e906130a2565b60405180910390fd5b6000805b600280549050811015610dcc5760028181548110610d4c57610d4b612f6f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610dc157838203610dba578092505050610e08565b8160010191505b806001019050610d2b565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dff906130a2565b60405180910390fd5b92915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600960019054906101000a900460ff1681565b610e4f611981565b6000600960016101000a81548160ff021916908315150217905550565b610e74611981565b6000610e7e6111fb565b73ffffffffffffffffffffffffffffffffffffffff1647604051610ea1906130f3565b60006040518083038185875af1925050503d8060008114610ede576040519150601f19603f3d011682016040523d82523d6000602084013e610ee3565b606091505b5050905080610ef157600080fd5b50565b610f0f83838360405180602001604052806000815250611658565b505050565b610f25610f1f611b69565b82611c2a565b610f64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5b90613154565b60405180910390fd5b6006600082815260200190815260200160002060009055610f8481611e97565b50565b60006002805490508210610fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc7906131e6565b60405180910390fd5b819050919050565b60008060028381548110610fef57610fee612f6f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361108b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108290612dbf565b60405180910390fd5b80915050919050565b61109c611981565b60001515600960029054906101000a900460ff161515146110bc57600080fd5b8060088190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112d90613278565b60405180910390fd5b6000805b6002805490508110156111ca576002818154811061115b5761115a612f6f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036111bf578160010191505b80600101905061113a565b5080915050919050565b6111dc611981565b6111e66000611f7b565b565b600960009054906101000a900460ff1681565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461123490612d42565b80601f016020809104026020016040519081016040528092919081815260200182805461126090612d42565b80156112ad5780601f10611282576101008083540402835291602001916112ad565b820191906000526020600020905b81548152906001019060200180831161129057829003601f168201915b5050505050905090565b8173ffffffffffffffffffffffffffffffffffffffff166112d6611b69565b73ffffffffffffffffffffffffffffffffffffffff160361132c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611323906132e4565b60405180910390fd5b8060046000611339611b69565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113e6611b69565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161142b91906126ef565b60405180910390a35050565b600960009054906101000a900460ff168061149f5750600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6114de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d590613376565b60405180910390fd5b600b8163ffffffff1610806115405750600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61157f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611576906133e2565b60405180910390fd5b600060028054905090506008548263ffffffff168201106115d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cc9061344e565b60405180910390fd5b60005b8263ffffffff168163ffffffff16101561162e576115f582612041565b600660008481526020019081526020016000208190555061161d611617611b69565b836121f0565b8160010191508060010190506115d8565b505050565b61163b611981565b80600960006101000a81548160ff02191690831515021790555050565b611669611663611b69565b83611c2a565b6116a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169f90613010565b60405180910390fd5b6116b4848484846122fc565b50505050565b60606116c582611ae1565b611704576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fb906134ba565b60405180910390fd5b600060066000848152602001908152602001600020549050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166392cb829d84836040518363ffffffff1660e01b81526004016117799291906134da565b600060405180830381865afa158015611796573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906117bf91906135a4565b915050919050565b600960029054906101000a900460ff1681565b60085481565b60006117eb82611ae1565b61182a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611821906134ba565b60405180910390fd5b60066000838152602001908152602001600020549050919050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118e1611981565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611950576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119479061365f565b60405180910390fd5b61195981611f7b565b50565b611964611981565b6001600960026101000a81548160ff021916908315150217905550565b611989611b69565b73ffffffffffffffffffffffffffffffffffffffff166119a76111fb565b73ffffffffffffffffffffffffffffffffffffffff16146119fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f4906136cb565b60405180910390fd5b565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611aca57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611ada5750611ad982612358565b5b9050919050565b600060028054905082108015611b625750600073ffffffffffffffffffffffffffffffffffffffff1660028381548110611b1e57611b1d612f6f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b9050919050565b600033905090565b816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611be483610fd8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611c3683610fd8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c785750611c778185611845565b5b80611cb657508373ffffffffffffffffffffffffffffffffffffffff16611c9e84610995565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611cdf82610fd8565b73ffffffffffffffffffffffffffffffffffffffff1614611d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2c9061375d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9b906137ef565b60405180910390fd5b6003600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690558160028281548110611def57611dee612f6f565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000611ea282610fd8565b90506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560028281548110611eee57611eed612f6f565b5b9060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008061204d836123c2565b90506000600a6014603084901c612064919061383e565b61206e919061389e565b600a60078461207d919061383e565b612087919061389e565b606461209391906138d2565b61209d919061389e565b90506000600a6014606085901c6120b4919061383e565b6120be919061389e565b600a6006606086901c6120d1919061383e565b6120db919061389e565b60646120e791906138d2565b6120f1919061389e565b90506000600a6014609086901c612108919061383e565b612112919061389e565b600a6007609087901c612125919061383e565b61212f919061389e565b606461213b91906138d2565b612145919061389e565b90506000600a601460c087901c61215c919061383e565b612166919061389e565b600a600660c088901c612179919061383e565b612183919061389e565b606461218f91906138d2565b612199919061389e565b9050808284866127106121ac91906138d2565b6121b6919061389e565b6127106121c391906138d2565b6121cd919061389e565b6127106121da91906138d2565b6121e4919061389e565b95505050505050919050565b6121f981611ae1565b15612239576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223090613960565b60405180910390fd5b6002829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612307848484611cbf565b61231384848484612404565b612352576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612349906139f2565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60006001436123d19190613a12565b40826040516020016123e4929190613a92565b6040516020818303038152906040528051906020012060001c9050919050565b60006124258473ffffffffffffffffffffffffffffffffffffffff1661258b565b1561257e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261244e611b69565b8786866040518563ffffffff1660e01b81526004016124709493929190613b13565b6020604051808303816000875af19250505080156124ac57506040513d601f19601f820116820180604052508101906124a99190613b74565b60015b61252e573d80600081146124dc576040519150601f19603f3d011682016040523d82523d6000602084013e6124e1565b606091505b506000815103612526576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251d906139f2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612583565b600190505b949350505050565b600080823b905060008111915050919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006125dd826125b2565b9050919050565b60006125ef826125d2565b9050919050565b6125ff816125e4565b811461260a57600080fd5b50565b60008135905061261c816125f6565b92915050565b600060208284031215612638576126376125a8565b5b60006126468482850161260d565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6126848161264f565b811461268f57600080fd5b50565b6000813590506126a18161267b565b92915050565b6000602082840312156126bd576126bc6125a8565b5b60006126cb84828501612692565b91505092915050565b60008115159050919050565b6126e9816126d4565b82525050565b600060208201905061270460008301846126e0565b92915050565b612713816125d2565b82525050565b600060208201905061272e600083018461270a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561276e578082015181840152602081019050612753565b60008484015250505050565b6000601f19601f8301169050919050565b600061279682612734565b6127a0818561273f565b93506127b0818560208601612750565b6127b98161277a565b840191505092915050565b600060208201905081810360008301526127de818461278b565b905092915050565b6000819050919050565b6127f9816127e6565b811461280457600080fd5b50565b600081359050612816816127f0565b92915050565b600060208284031215612832576128316125a8565b5b600061284084828501612807565b91505092915050565b612852816125d2565b811461285d57600080fd5b50565b60008135905061286f81612849565b92915050565b6000806040838503121561288c5761288b6125a8565b5b600061289a85828601612860565b92505060206128ab85828601612807565b9150509250929050565b600080604083850312156128cc576128cb6125a8565b5b60006128da85828601612807565b92505060206128eb85828601612807565b9150509250929050565b6128fe816127e6565b82525050565b600060208201905061291960008301846128f5565b92915050565b600080600060608486031215612938576129376125a8565b5b600061294686828701612860565b935050602061295786828701612860565b925050604061296886828701612807565b9150509250925092565b6000819050919050565b600061299761299261298d846125b2565b612972565b6125b2565b9050919050565b60006129a98261297c565b9050919050565b60006129bb8261299e565b9050919050565b6129cb816129b0565b82525050565b60006020820190506129e660008301846129c2565b92915050565b600060208284031215612a0257612a016125a8565b5b6000612a1084828501612860565b91505092915050565b612a22816126d4565b8114612a2d57600080fd5b50565b600081359050612a3f81612a19565b92915050565b60008060408385031215612a5c57612a5b6125a8565b5b6000612a6a85828601612860565b9250506020612a7b85828601612a30565b9150509250929050565b600063ffffffff82169050919050565b612a9e81612a85565b8114612aa957600080fd5b50565b600081359050612abb81612a95565b92915050565b600060208284031215612ad757612ad66125a8565b5b6000612ae584828501612aac565b91505092915050565b600060208284031215612b0457612b036125a8565b5b6000612b1284828501612a30565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612b5d8261277a565b810181811067ffffffffffffffff82111715612b7c57612b7b612b25565b5b80604052505050565b6000612b8f61259e565b9050612b9b8282612b54565b919050565b600067ffffffffffffffff821115612bbb57612bba612b25565b5b612bc48261277a565b9050602081019050919050565b82818337600083830152505050565b6000612bf3612bee84612ba0565b612b85565b905082815260208101848484011115612c0f57612c0e612b20565b5b612c1a848285612bd1565b509392505050565b600082601f830112612c3757612c36612b1b565b5b8135612c47848260208601612be0565b91505092915050565b60008060008060808587031215612c6a57612c696125a8565b5b6000612c7887828801612860565b9450506020612c8987828801612860565b9350506040612c9a87828801612807565b925050606085013567ffffffffffffffff811115612cbb57612cba6125ad565b5b612cc787828801612c22565b91505092959194509250565b60008060408385031215612cea57612ce96125a8565b5b6000612cf885828601612860565b9250506020612d0985828601612860565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612d5a57607f821691505b602082108103612d6d57612d6c612d13565b5b50919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000612da960188361273f565b9150612db482612d73565b602082019050919050565b60006020820190508181036000830152612dd881612d9c565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612e3b60218361273f565b9150612e4682612ddf565b604082019050919050565b60006020820190508181036000830152612e6a81612e2e565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000612ecd60388361273f565b9150612ed882612e71565b604082019050919050565b60006020820190508181036000830152612efc81612ec0565b9050919050565b7f43616e6e6f742073657420746865207365656400000000000000000000000000600082015250565b6000612f3960138361273f565b9150612f4482612f03565b602082019050919050565b60006020820190508181036000830152612f6881612f2c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000612ffa602d8361273f565b915061300582612f9e565b604082019050919050565b6000602082019050818103600083015261302981612fed565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061308c602b8361273f565b915061309782613030565b604082019050919050565b600060208201905081810360008301526130bb8161307f565b9050919050565b600081905092915050565b50565b60006130dd6000836130c2565b91506130e8826130cd565b600082019050919050565b60006130fe826130d0565b9150819050919050565b7f4e6f7420617070726f76656420746f206275726e2e0000000000000000000000600082015250565b600061313e60158361273f565b915061314982613108565b602082019050919050565b6000602082019050818103600083015261316d81613131565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006131d0602c8361273f565b91506131db82613174565b604082019050919050565b600060208201905081810360008301526131ff816131c3565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061326260298361273f565b915061326d82613206565b604082019050919050565b6000602082019050818103600083015261329181613255565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006132ce60198361273f565b91506132d982613298565b602082019050919050565b600060208201905081810360008301526132fd816132c1565b9050919050565b7f4d696e74696e67206e6565647320746f20626520656e61626c656420746f207360008201527f74617274206d696e74696e670000000000000000000000000000000000000000602082015250565b6000613360602c8361273f565b915061336b82613304565b604082019050919050565b6000602082019050818103600083015261338f81613353565b9050919050565b7f45786365656473206d617820706572207472616e73616374696f6e2e00000000600082015250565b60006133cc601c8361273f565b91506133d782613396565b602082019050919050565b600060208201905081810360008301526133fb816133bf565b9050919050565b7f45786365656473206d617820737570706c792e00000000000000000000000000600082015250565b600061343860138361273f565b915061344382613402565b602082019050919050565b600060208201905081810360008301526134678161342b565b9050919050565b7f526162697420646f6573206e6f742065786973742e0000000000000000000000600082015250565b60006134a460158361273f565b91506134af8261346e565b602082019050919050565b600060208201905081810360008301526134d381613497565b9050919050565b60006040820190506134ef60008301856128f5565b6134fc60208301846128f5565b9392505050565b600067ffffffffffffffff82111561351e5761351d612b25565b5b6135278261277a565b9050602081019050919050565b600061354761354284613503565b612b85565b90508281526020810184848401111561356357613562612b20565b5b61356e848285612750565b509392505050565b600082601f83011261358b5761358a612b1b565b5b815161359b848260208601613534565b91505092915050565b6000602082840312156135ba576135b96125a8565b5b600082015167ffffffffffffffff8111156135d8576135d76125ad565b5b6135e484828501613576565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061364960268361273f565b9150613654826135ed565b604082019050919050565b600060208201905081810360008301526136788161363c565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006136b560208361273f565b91506136c08261367f565b602082019050919050565b600060208201905081810360008301526136e4816136a8565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061374760258361273f565b9150613752826136eb565b604082019050919050565b600060208201905081810360008301526137768161373a565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006137d960248361273f565b91506137e48261377d565b604082019050919050565b60006020820190508181036000830152613808816137cc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613849826127e6565b9150613854836127e6565b9250826138645761386361380f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006138a9826127e6565b91506138b4836127e6565b92508282019050808211156138cc576138cb61386f565b5b92915050565b60006138dd826127e6565b91506138e8836127e6565b92508282026138f6816127e6565b9150828204841483151761390d5761390c61386f565b5b5092915050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061394a601c8361273f565b915061395582613914565b602082019050919050565b600060208201905081810360008301526139798161393d565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006139dc60328361273f565b91506139e782613980565b604082019050919050565b60006020820190508181036000830152613a0b816139cf565b9050919050565b6000613a1d826127e6565b9150613a28836127e6565b9250828203905081811115613a4057613a3f61386f565b5b92915050565b6000819050919050565b6000819050919050565b613a6b613a6682613a46565b613a50565b82525050565b6000819050919050565b613a8c613a87826127e6565b613a71565b82525050565b6000613a9e8285613a5a565b602082019150613aae8284613a7b565b6020820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000613ae582613abe565b613aef8185613ac9565b9350613aff818560208601612750565b613b088161277a565b840191505092915050565b6000608082019050613b28600083018761270a565b613b35602083018661270a565b613b4260408301856128f5565b8181036060830152613b548184613ada565b905095945050505050565b600081519050613b6e8161267b565b92915050565b600060208284031215613b8a57613b896125a8565b5b6000613b9884828501613b5f565b9150509291505056fea2646970667358221220a3453cb31df79e9de64ebbf6508d203aa1099398a5bcc7f06ffeedfdecbef39164736f6c634300081200330000000000000000000000005d35d067a48fca4b90f4d7871da043ef3aa85253

Deployed Bytecode

0x6080604052600436106102045760003560e01c80636352211e11610118578063b4c7f066116100a0578063d5abeb011161006f578063d5abeb0114610732578063e0d4ea371461075d578063e985e9c51461079a578063f2fde38b146107d7578063fca76c261461080057610204565b8063b4c7f06614610678578063b88d4fde146106a1578063c87b56dd146106ca578063cf3090121461070757610204565b80637dc2268c116100e75780637dc2268c146105a55780638da5cb5b146105d057806395d89b41146105fb578063a22cb46514610626578063a71bbebe1461064f57610204565b80636352211e146104eb5780636f8b44b01461052857806370a0823114610551578063715018a61461058e57610204565b806323b872dd1161019b5780633bb2c9381161016a5780633bb2c9381461043b5780633ccfd60b1461045257806342842e0e1461045c57806342966c68146104855780634f6ccce7146104ae57610204565b806323b872dd1461037f5780632f745c59146103a8578063303e74df146103e557806333101e1f1461041057610204565b8063081812fc116101d7578063081812fc146102c5578063095ea7b314610302578063176b72b41461032b57806318160ddd1461035457610204565b806301b9a3971461020957806301ffc9a71461023257806302d05d3f1461026f57806306fdde031461029a575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b9190612622565b610817565b005b34801561023e57600080fd5b50610259600480360381019061025491906126a7565b610863565b60405161026691906126ef565b60405180910390f35b34801561027b57600080fd5b506102846108dd565b6040516102919190612719565b60405180910390f35b3480156102a657600080fd5b506102af610903565b6040516102bc91906127c4565b60405180910390f35b3480156102d157600080fd5b506102ec60048036038101906102e7919061281c565b610995565b6040516102f99190612719565b60405180910390f35b34801561030e57600080fd5b5061032960048036038101906103249190612875565b610a1a565b005b34801561033757600080fd5b50610352600480360381019061034d91906128b5565b610b31565b005b34801561036057600080fd5b50610369610bdc565b6040516103769190612904565b60405180910390f35b34801561038b57600080fd5b506103a660048036038101906103a1919061291f565b610c7b565b005b3480156103b457600080fd5b506103cf60048036038101906103ca9190612875565b610cdb565b6040516103dc9190612904565b60405180910390f35b3480156103f157600080fd5b506103fa610e0e565b60405161040791906129d1565b60405180910390f35b34801561041c57600080fd5b50610425610e34565b60405161043291906126ef565b60405180910390f35b34801561044757600080fd5b50610450610e47565b005b61045a610e6c565b005b34801561046857600080fd5b50610483600480360381019061047e919061291f565b610ef4565b005b34801561049157600080fd5b506104ac60048036038101906104a7919061281c565b610f14565b005b3480156104ba57600080fd5b506104d560048036038101906104d0919061281c565b610f87565b6040516104e29190612904565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d919061281c565b610fd8565b60405161051f9190612719565b60405180910390f35b34801561053457600080fd5b5061054f600480360381019061054a919061281c565b611094565b005b34801561055d57600080fd5b50610578600480360381019061057391906129ec565b6110c6565b6040516105859190612904565b60405180910390f35b34801561059a57600080fd5b506105a36111d4565b005b3480156105b157600080fd5b506105ba6111e8565b6040516105c791906126ef565b60405180910390f35b3480156105dc57600080fd5b506105e56111fb565b6040516105f29190612719565b60405180910390f35b34801561060757600080fd5b50610610611225565b60405161061d91906127c4565b60405180910390f35b34801561063257600080fd5b5061064d60048036038101906106489190612a45565b6112b7565b005b34801561065b57600080fd5b5061067660048036038101906106719190612ac1565b611437565b005b34801561068457600080fd5b5061069f600480360381019061069a9190612aee565b611633565b005b3480156106ad57600080fd5b506106c860048036038101906106c39190612c50565b611658565b005b3480156106d657600080fd5b506106f160048036038101906106ec919061281c565b6116ba565b6040516106fe91906127c4565b60405180910390f35b34801561071357600080fd5b5061071c6117c7565b60405161072991906126ef565b60405180910390f35b34801561073e57600080fd5b506107476117da565b6040516107549190612904565b60405180910390f35b34801561076957600080fd5b50610784600480360381019061077f919061281c565b6117e0565b6040516107919190612904565b60405180910390f35b3480156107a657600080fd5b506107c160048036038101906107bc9190612cd3565b611845565b6040516107ce91906126ef565b60405180910390f35b3480156107e357600080fd5b506107fe60048036038101906107f991906129ec565b6118d9565b005b34801561080c57600080fd5b5061081561195c565b005b61081f611981565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108d657506108d5826119ff565b5b9050919050565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000805461091290612d42565b80601f016020809104026020016040519081016040528092919081815260200182805461093e90612d42565b801561098b5780601f106109605761010080835404028352916020019161098b565b820191906000526020600020905b81548152906001019060200180831161096e57829003601f168201915b5050505050905090565b60006109a082611ae1565b6109df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d690612dbf565b60405180910390fd5b6003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a2582610fd8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8c90612e51565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ab4611b69565b73ffffffffffffffffffffffffffffffffffffffff161480610ae35750610ae281610add611b69565b611845565b5b610b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1990612ee3565b60405180910390fd5b610b2c8383611b71565b505050565b610b39611981565b600960019054906101000a900460ff16610b88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7f90612f4f565b60405180910390fd5b806006600084815260200190815260200160002081905550817faabfe5e8bccf1a1352f72b557ce580211305c37f88d5783ae467a1ba5e0761e082604051610bd09190612904565b60405180910390a25050565b60008060005b600280549050811015610c7357600073ffffffffffffffffffffffffffffffffffffffff1660028281548110610c1b57610c1a612f6f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c68578160010191505b806001019050610be2565b508091505090565b610c8c610c86611b69565b82611c2a565b610ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc290613010565b60405180910390fd5b610cd6838383611cbf565b505050565b6000610ce6836110c6565b8210610d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1e906130a2565b60405180910390fd5b6000805b600280549050811015610dcc5760028181548110610d4c57610d4b612f6f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610dc157838203610dba578092505050610e08565b8160010191505b806001019050610d2b565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dff906130a2565b60405180910390fd5b92915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600960019054906101000a900460ff1681565b610e4f611981565b6000600960016101000a81548160ff021916908315150217905550565b610e74611981565b6000610e7e6111fb565b73ffffffffffffffffffffffffffffffffffffffff1647604051610ea1906130f3565b60006040518083038185875af1925050503d8060008114610ede576040519150601f19603f3d011682016040523d82523d6000602084013e610ee3565b606091505b5050905080610ef157600080fd5b50565b610f0f83838360405180602001604052806000815250611658565b505050565b610f25610f1f611b69565b82611c2a565b610f64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5b90613154565b60405180910390fd5b6006600082815260200190815260200160002060009055610f8481611e97565b50565b60006002805490508210610fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc7906131e6565b60405180910390fd5b819050919050565b60008060028381548110610fef57610fee612f6f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361108b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108290612dbf565b60405180910390fd5b80915050919050565b61109c611981565b60001515600960029054906101000a900460ff161515146110bc57600080fd5b8060088190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112d90613278565b60405180910390fd5b6000805b6002805490508110156111ca576002818154811061115b5761115a612f6f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036111bf578160010191505b80600101905061113a565b5080915050919050565b6111dc611981565b6111e66000611f7b565b565b600960009054906101000a900460ff1681565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461123490612d42565b80601f016020809104026020016040519081016040528092919081815260200182805461126090612d42565b80156112ad5780601f10611282576101008083540402835291602001916112ad565b820191906000526020600020905b81548152906001019060200180831161129057829003601f168201915b5050505050905090565b8173ffffffffffffffffffffffffffffffffffffffff166112d6611b69565b73ffffffffffffffffffffffffffffffffffffffff160361132c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611323906132e4565b60405180910390fd5b8060046000611339611b69565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113e6611b69565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161142b91906126ef565b60405180910390a35050565b600960009054906101000a900460ff168061149f5750600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6114de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d590613376565b60405180910390fd5b600b8163ffffffff1610806115405750600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61157f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611576906133e2565b60405180910390fd5b600060028054905090506008548263ffffffff168201106115d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cc9061344e565b60405180910390fd5b60005b8263ffffffff168163ffffffff16101561162e576115f582612041565b600660008481526020019081526020016000208190555061161d611617611b69565b836121f0565b8160010191508060010190506115d8565b505050565b61163b611981565b80600960006101000a81548160ff02191690831515021790555050565b611669611663611b69565b83611c2a565b6116a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169f90613010565b60405180910390fd5b6116b4848484846122fc565b50505050565b60606116c582611ae1565b611704576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fb906134ba565b60405180910390fd5b600060066000848152602001908152602001600020549050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166392cb829d84836040518363ffffffff1660e01b81526004016117799291906134da565b600060405180830381865afa158015611796573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906117bf91906135a4565b915050919050565b600960029054906101000a900460ff1681565b60085481565b60006117eb82611ae1565b61182a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611821906134ba565b60405180910390fd5b60066000838152602001908152602001600020549050919050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118e1611981565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611950576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119479061365f565b60405180910390fd5b61195981611f7b565b50565b611964611981565b6001600960026101000a81548160ff021916908315150217905550565b611989611b69565b73ffffffffffffffffffffffffffffffffffffffff166119a76111fb565b73ffffffffffffffffffffffffffffffffffffffff16146119fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f4906136cb565b60405180910390fd5b565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611aca57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611ada5750611ad982612358565b5b9050919050565b600060028054905082108015611b625750600073ffffffffffffffffffffffffffffffffffffffff1660028381548110611b1e57611b1d612f6f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b9050919050565b600033905090565b816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611be483610fd8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611c3683610fd8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c785750611c778185611845565b5b80611cb657508373ffffffffffffffffffffffffffffffffffffffff16611c9e84610995565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611cdf82610fd8565b73ffffffffffffffffffffffffffffffffffffffff1614611d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2c9061375d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9b906137ef565b60405180910390fd5b6003600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690558160028281548110611def57611dee612f6f565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000611ea282610fd8565b90506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560028281548110611eee57611eed612f6f565b5b9060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008061204d836123c2565b90506000600a6014603084901c612064919061383e565b61206e919061389e565b600a60078461207d919061383e565b612087919061389e565b606461209391906138d2565b61209d919061389e565b90506000600a6014606085901c6120b4919061383e565b6120be919061389e565b600a6006606086901c6120d1919061383e565b6120db919061389e565b60646120e791906138d2565b6120f1919061389e565b90506000600a6014609086901c612108919061383e565b612112919061389e565b600a6007609087901c612125919061383e565b61212f919061389e565b606461213b91906138d2565b612145919061389e565b90506000600a601460c087901c61215c919061383e565b612166919061389e565b600a600660c088901c612179919061383e565b612183919061389e565b606461218f91906138d2565b612199919061389e565b9050808284866127106121ac91906138d2565b6121b6919061389e565b6127106121c391906138d2565b6121cd919061389e565b6127106121da91906138d2565b6121e4919061389e565b95505050505050919050565b6121f981611ae1565b15612239576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223090613960565b60405180910390fd5b6002829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612307848484611cbf565b61231384848484612404565b612352576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612349906139f2565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60006001436123d19190613a12565b40826040516020016123e4929190613a92565b6040516020818303038152906040528051906020012060001c9050919050565b60006124258473ffffffffffffffffffffffffffffffffffffffff1661258b565b1561257e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261244e611b69565b8786866040518563ffffffff1660e01b81526004016124709493929190613b13565b6020604051808303816000875af19250505080156124ac57506040513d601f19601f820116820180604052508101906124a99190613b74565b60015b61252e573d80600081146124dc576040519150601f19603f3d011682016040523d82523d6000602084013e6124e1565b606091505b506000815103612526576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251d906139f2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612583565b600190505b949350505050565b600080823b905060008111915050919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006125dd826125b2565b9050919050565b60006125ef826125d2565b9050919050565b6125ff816125e4565b811461260a57600080fd5b50565b60008135905061261c816125f6565b92915050565b600060208284031215612638576126376125a8565b5b60006126468482850161260d565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6126848161264f565b811461268f57600080fd5b50565b6000813590506126a18161267b565b92915050565b6000602082840312156126bd576126bc6125a8565b5b60006126cb84828501612692565b91505092915050565b60008115159050919050565b6126e9816126d4565b82525050565b600060208201905061270460008301846126e0565b92915050565b612713816125d2565b82525050565b600060208201905061272e600083018461270a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561276e578082015181840152602081019050612753565b60008484015250505050565b6000601f19601f8301169050919050565b600061279682612734565b6127a0818561273f565b93506127b0818560208601612750565b6127b98161277a565b840191505092915050565b600060208201905081810360008301526127de818461278b565b905092915050565b6000819050919050565b6127f9816127e6565b811461280457600080fd5b50565b600081359050612816816127f0565b92915050565b600060208284031215612832576128316125a8565b5b600061284084828501612807565b91505092915050565b612852816125d2565b811461285d57600080fd5b50565b60008135905061286f81612849565b92915050565b6000806040838503121561288c5761288b6125a8565b5b600061289a85828601612860565b92505060206128ab85828601612807565b9150509250929050565b600080604083850312156128cc576128cb6125a8565b5b60006128da85828601612807565b92505060206128eb85828601612807565b9150509250929050565b6128fe816127e6565b82525050565b600060208201905061291960008301846128f5565b92915050565b600080600060608486031215612938576129376125a8565b5b600061294686828701612860565b935050602061295786828701612860565b925050604061296886828701612807565b9150509250925092565b6000819050919050565b600061299761299261298d846125b2565b612972565b6125b2565b9050919050565b60006129a98261297c565b9050919050565b60006129bb8261299e565b9050919050565b6129cb816129b0565b82525050565b60006020820190506129e660008301846129c2565b92915050565b600060208284031215612a0257612a016125a8565b5b6000612a1084828501612860565b91505092915050565b612a22816126d4565b8114612a2d57600080fd5b50565b600081359050612a3f81612a19565b92915050565b60008060408385031215612a5c57612a5b6125a8565b5b6000612a6a85828601612860565b9250506020612a7b85828601612a30565b9150509250929050565b600063ffffffff82169050919050565b612a9e81612a85565b8114612aa957600080fd5b50565b600081359050612abb81612a95565b92915050565b600060208284031215612ad757612ad66125a8565b5b6000612ae584828501612aac565b91505092915050565b600060208284031215612b0457612b036125a8565b5b6000612b1284828501612a30565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612b5d8261277a565b810181811067ffffffffffffffff82111715612b7c57612b7b612b25565b5b80604052505050565b6000612b8f61259e565b9050612b9b8282612b54565b919050565b600067ffffffffffffffff821115612bbb57612bba612b25565b5b612bc48261277a565b9050602081019050919050565b82818337600083830152505050565b6000612bf3612bee84612ba0565b612b85565b905082815260208101848484011115612c0f57612c0e612b20565b5b612c1a848285612bd1565b509392505050565b600082601f830112612c3757612c36612b1b565b5b8135612c47848260208601612be0565b91505092915050565b60008060008060808587031215612c6a57612c696125a8565b5b6000612c7887828801612860565b9450506020612c8987828801612860565b9350506040612c9a87828801612807565b925050606085013567ffffffffffffffff811115612cbb57612cba6125ad565b5b612cc787828801612c22565b91505092959194509250565b60008060408385031215612cea57612ce96125a8565b5b6000612cf885828601612860565b9250506020612d0985828601612860565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612d5a57607f821691505b602082108103612d6d57612d6c612d13565b5b50919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000612da960188361273f565b9150612db482612d73565b602082019050919050565b60006020820190508181036000830152612dd881612d9c565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612e3b60218361273f565b9150612e4682612ddf565b604082019050919050565b60006020820190508181036000830152612e6a81612e2e565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000612ecd60388361273f565b9150612ed882612e71565b604082019050919050565b60006020820190508181036000830152612efc81612ec0565b9050919050565b7f43616e6e6f742073657420746865207365656400000000000000000000000000600082015250565b6000612f3960138361273f565b9150612f4482612f03565b602082019050919050565b60006020820190508181036000830152612f6881612f2c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000612ffa602d8361273f565b915061300582612f9e565b604082019050919050565b6000602082019050818103600083015261302981612fed565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061308c602b8361273f565b915061309782613030565b604082019050919050565b600060208201905081810360008301526130bb8161307f565b9050919050565b600081905092915050565b50565b60006130dd6000836130c2565b91506130e8826130cd565b600082019050919050565b60006130fe826130d0565b9150819050919050565b7f4e6f7420617070726f76656420746f206275726e2e0000000000000000000000600082015250565b600061313e60158361273f565b915061314982613108565b602082019050919050565b6000602082019050818103600083015261316d81613131565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006131d0602c8361273f565b91506131db82613174565b604082019050919050565b600060208201905081810360008301526131ff816131c3565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061326260298361273f565b915061326d82613206565b604082019050919050565b6000602082019050818103600083015261329181613255565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006132ce60198361273f565b91506132d982613298565b602082019050919050565b600060208201905081810360008301526132fd816132c1565b9050919050565b7f4d696e74696e67206e6565647320746f20626520656e61626c656420746f207360008201527f74617274206d696e74696e670000000000000000000000000000000000000000602082015250565b6000613360602c8361273f565b915061336b82613304565b604082019050919050565b6000602082019050818103600083015261338f81613353565b9050919050565b7f45786365656473206d617820706572207472616e73616374696f6e2e00000000600082015250565b60006133cc601c8361273f565b91506133d782613396565b602082019050919050565b600060208201905081810360008301526133fb816133bf565b9050919050565b7f45786365656473206d617820737570706c792e00000000000000000000000000600082015250565b600061343860138361273f565b915061344382613402565b602082019050919050565b600060208201905081810360008301526134678161342b565b9050919050565b7f526162697420646f6573206e6f742065786973742e0000000000000000000000600082015250565b60006134a460158361273f565b91506134af8261346e565b602082019050919050565b600060208201905081810360008301526134d381613497565b9050919050565b60006040820190506134ef60008301856128f5565b6134fc60208301846128f5565b9392505050565b600067ffffffffffffffff82111561351e5761351d612b25565b5b6135278261277a565b9050602081019050919050565b600061354761354284613503565b612b85565b90508281526020810184848401111561356357613562612b20565b5b61356e848285612750565b509392505050565b600082601f83011261358b5761358a612b1b565b5b815161359b848260208601613534565b91505092915050565b6000602082840312156135ba576135b96125a8565b5b600082015167ffffffffffffffff8111156135d8576135d76125ad565b5b6135e484828501613576565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061364960268361273f565b9150613654826135ed565b604082019050919050565b600060208201905081810360008301526136788161363c565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006136b560208361273f565b91506136c08261367f565b602082019050919050565b600060208201905081810360008301526136e4816136a8565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061374760258361273f565b9150613752826136eb565b604082019050919050565b600060208201905081810360008301526137768161373a565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006137d960248361273f565b91506137e48261377d565b604082019050919050565b60006020820190508181036000830152613808816137cc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613849826127e6565b9150613854836127e6565b9250826138645761386361380f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006138a9826127e6565b91506138b4836127e6565b92508282019050808211156138cc576138cb61386f565b5b92915050565b60006138dd826127e6565b91506138e8836127e6565b92508282026138f6816127e6565b9150828204841483151761390d5761390c61386f565b5b5092915050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061394a601c8361273f565b915061395582613914565b602082019050919050565b600060208201905081810360008301526139798161393d565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006139dc60328361273f565b91506139e782613980565b604082019050919050565b60006020820190508181036000830152613a0b816139cf565b9050919050565b6000613a1d826127e6565b9150613a28836127e6565b9250828203905081811115613a4057613a3f61386f565b5b92915050565b6000819050919050565b6000819050919050565b613a6b613a6682613a46565b613a50565b82525050565b6000819050919050565b613a8c613a87826127e6565b613a71565b82525050565b6000613a9e8285613a5a565b602082019150613aae8284613a7b565b6020820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000613ae582613abe565b613aef8185613ac9565b9350613aff818560208601612750565b613b088161277a565b840191505092915050565b6000608082019050613b28600083018761270a565b613b35602083018661270a565b613b4260408301856128f5565b8181036060830152613b548184613ada565b905095945050505050565b600081519050613b6e8161267b565b92915050565b600060208284031215613b8a57613b896125a8565b5b6000613b9884828501613b5f565b9150509291505056fea2646970667358221220a3453cb31df79e9de64ebbf6508d203aa1099398a5bcc7f06ffeedfdecbef39164736f6c63430008120033

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

0000000000000000000000005d35d067a48fca4b90f4d7871da043ef3aa85253

-----Decoded View---------------
Arg [0] : newDescriptor (address): 0x5D35D067A48Fca4B90f4D7871Da043eF3Aa85253

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000005d35d067a48fca4b90f4d7871da043ef3aa85253


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.