ETH Price: $3,421.94 (-1.78%)
Gas: 6 Gwei

Token

T-Rex Mafia (TREX)
 

Overview

Max Total Supply

0 TREX

Holders

10

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 TREX
0xbb7138401c79bd9015487875b079aa4b3d7c9afd
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:
TrexMafia

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 11 of 11 : TrexMafia.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.6;

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

contract TrexMafia is ERC721, Ownable {  
    using Address for address;
    
    bool public saleActive = false;
    bool public vipSaleActive = false;
    bool public freeMintActive = false;

    uint256 public MAX_SUPPLY = 7777;
    uint256 public price = 0.033 ether;

    uint public supply = 0;
    uint public maxPerTx = 0;

    string public baseTokenURI;

    mapping (address => uint256) public vipSaleReserved;
    mapping (address => uint256) public claimReserved;

    constructor() ERC721("T-Rex Mafia", "TREX") {}

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

    function tokensOfOwner(address _owner) public view returns(uint[] memory) {
        uint[] memory result = new uint[](balanceOf(_owner));
        uint counter = 0;
        for (uint i = 0; i < supply; i++) {
            if (ownerOf(i) == _owner) {
                result[counter] = i;
                counter++;
            }
        }
        return result;
    }

    function mintVipSale(uint256 _amount) public payable {
        uint256 reserved = vipSaleReserved[msg.sender];
        require( vipSaleActive,               "Vip Sale isn't active" );
        require( reserved > 0,                "No tokens reserved for your address" );
        require( _amount <= reserved,         "Can't mint more than reserved" );
        require( supply + _amount <= MAX_SUPPLY, "Can't mint more than max supply" );
        require( msg.value == price * _amount,   "Wrong amount of ETH sent" );
        vipSaleReserved[msg.sender] = reserved - _amount;
        for(uint256 i; i < _amount; i++){
            supply++;
            _safeMint( msg.sender, supply);
        }
    }

    function mintToken(uint256 _amount) public payable {
        require( saleActive,                     "Sale isn't active" );
        require( _amount > 0 && _amount < maxPerTx,    "Can only mint between 1 and 10 tokens at once" );
        require( supply + _amount <= MAX_SUPPLY, "Can't mint more than max supply" );
        require( msg.value == price * _amount,   "Wrong amount of ETH sent" );
        for(uint256 i; i < _amount; i++){
            supply++;
            _safeMint( msg.sender, supply);
        }
    }

    function claimToken() external {
        uint256 reserved = claimReserved[msg.sender];
        require( freeMintActive,              "Claim isn't active" );
        require( reserved > 0,                "No tokens reserved for your address" );
        require( supply + reserved <= MAX_SUPPLY, "Can't mint more than max supply" );
        vipSaleReserved[msg.sender] = 0;
        for(uint256 i; i < reserved; i++){
            supply++;
            _safeMint( msg.sender, supply);
        }
    }
    
    function editVipSaleReserved(address[] memory _a, uint256[] memory _amount) public onlyOwner {
        for(uint256 i; i < _a.length; i++){
            vipSaleReserved[_a[i]] = _amount[i];
        }
    }

    function editClaimReserved(address[] memory _a, uint256[] memory _amount) public onlyOwner {
        for(uint256 i; i < _a.length; i++){
            claimReserved[_a[i]] = _amount[i];
        }
    }

    function setVipSaleActive(bool val) public onlyOwner {
        vipSaleActive = val;
    }

    function setSaleActive(bool val) public onlyOwner {
        saleActive = val;
    }

    function setFreeMintActive(bool val) public onlyOwner {
        freeMintActive = val;
    }

    function setBaseURI(string memory baseURI) public onlyOwner {
        baseTokenURI = baseURI;
    }

    function setPrice(uint256 newPrice) public onlyOwner {
        price = newPrice;
    }

    function withdrawAll() external onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_a","type":"address[]"},{"internalType":"uint256[]","name":"_amount","type":"uint256[]"}],"name":"editClaimReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_a","type":"address[]"},{"internalType":"uint256[]","name":"_amount","type":"uint256[]"}],"name":"editVipSaleReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintVipSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setFreeMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setVipSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vipSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"vipSaleReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600660146101000a81548160ff0219169083151502179055506000600660156101000a81548160ff0219169083151502179055506000600660166101000a81548160ff021916908315150217905550611e6160075566753d533d96800060085560006009556000600a553480156200007d57600080fd5b506040518060400160405280600b81526020017f542d526578204d616669610000000000000000000000000000000000000000008152506040518060400160405280600481526020017f545245580000000000000000000000000000000000000000000000000000000081525081600090805190602001906200010292919062000212565b5080600190805190602001906200011b92919062000212565b5050506200013e620001326200014460201b60201c565b6200014c60201b60201c565b62000327565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200022090620002c2565b90600052602060002090601f01602090048101928262000244576000855562000290565b82601f106200025f57805160ff191683800117855562000290565b8280016001018555821562000290579182015b828111156200028f57825182559160200191906001019062000272565b5b5090506200029f9190620002a3565b5090565b5b80821115620002be576000816000905550600101620002a4565b5090565b60006002820490506001821680620002db57607f821691505b60208210811415620002f257620002f1620002f8565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6146e580620003376000396000f3fe6080604052600436106102255760003560e01c8063841718a611610123578063b47a00fe116100ab578063d547cfb71161006f578063d547cfb7146107d5578063df5321b614610800578063e985e9c514610829578063f2fde38b14610866578063f968adbe1461088f57610225565b8063b47a00fe146106ff578063b88d4fde14610728578063c634d03214610751578063c87b56dd1461076d578063cb5bc2aa146107aa57610225565b806391b7f5ed116100f257806391b7f5ed1461062e57806391c2fa311461065757806395d89b4114610680578063a035b1fe146106ab578063a22cb465146106d657610225565b8063841718a6146105865780638462151c146105af578063853828b6146105ec5780638da5cb5b1461060357610225565b806342842e0e116101b15780636352211e116101755780636352211e1461049f57806368428a1b146104dc57806370a0823114610507578063715018a614610544578063785448af1461055b57610225565b806342842e0e146103d05780634451d89f146103f95780634f9b563c1461041057806355f804b31461043957806356b64fc21461046257610225565b8063095ea7b3116101f8578063095ea7b3146102fa57806323b872dd14610323578063307626e51461034c57806332ab8a8d1461038957806332cb6b0c146103a557610225565b806301ffc9a71461022a578063047fc9aa1461026757806306fdde0314610292578063081812fc146102bd575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c91906131dd565b6108ba565b60405161025e91906137f7565b60405180910390f35b34801561027357600080fd5b5061027c61099c565b6040516102899190613b34565b60405180910390f35b34801561029e57600080fd5b506102a76109a2565b6040516102b49190613812565b60405180910390f35b3480156102c957600080fd5b506102e460048036038101906102df9190613280565b610a34565b6040516102f1919061376e565b60405180910390f35b34801561030657600080fd5b50610321600480360381019061031c91906130f8565b610ab9565b005b34801561032f57600080fd5b5061034a60048036038101906103459190612fe2565b610bd1565b005b34801561035857600080fd5b50610373600480360381019061036e9190612f75565b610c31565b6040516103809190613b34565b60405180910390f35b6103a3600480360381019061039e9190613280565b610c49565b005b3480156103b157600080fd5b506103ba610e99565b6040516103c79190613b34565b60405180910390f35b3480156103dc57600080fd5b506103f760048036038101906103f29190612fe2565b610e9f565b005b34801561040557600080fd5b5061040e610ebf565b005b34801561041c57600080fd5b50610437600480360381019061043291906131b0565b611072565b005b34801561044557600080fd5b50610460600480360381019061045b9190613237565b61110b565b005b34801561046e57600080fd5b5061048960048036038101906104849190612f75565b6111a1565b6040516104969190613b34565b60405180910390f35b3480156104ab57600080fd5b506104c660048036038101906104c19190613280565b6111b9565b6040516104d3919061376e565b60405180910390f35b3480156104e857600080fd5b506104f161126b565b6040516104fe91906137f7565b60405180910390f35b34801561051357600080fd5b5061052e60048036038101906105299190612f75565b61127e565b60405161053b9190613b34565b60405180910390f35b34801561055057600080fd5b50610559611336565b005b34801561056757600080fd5b506105706113be565b60405161057d91906137f7565b60405180910390f35b34801561059257600080fd5b506105ad60048036038101906105a891906131b0565b6113d1565b005b3480156105bb57600080fd5b506105d660048036038101906105d19190612f75565b61146a565b6040516105e391906137d5565b60405180910390f35b3480156105f857600080fd5b50610601611558565b005b34801561060f57600080fd5b5061061861161d565b604051610625919061376e565b60405180910390f35b34801561063a57600080fd5b5061065560048036038101906106509190613280565b611647565b005b34801561066357600080fd5b5061067e60048036038101906106799190613138565b6116cd565b005b34801561068c57600080fd5b506106956117e5565b6040516106a29190613812565b60405180910390f35b3480156106b757600080fd5b506106c0611877565b6040516106cd9190613b34565b60405180910390f35b3480156106e257600080fd5b506106fd60048036038101906106f891906130b8565b61187d565b005b34801561070b57600080fd5b50610726600480360381019061072191906131b0565b6119fe565b005b34801561073457600080fd5b5061074f600480360381019061074a9190613035565b611a97565b005b61076b60048036038101906107669190613280565b611af9565b005b34801561077957600080fd5b50610794600480360381019061078f9190613280565b611c7f565b6040516107a19190613812565b60405180910390f35b3480156107b657600080fd5b506107bf611d26565b6040516107cc91906137f7565b60405180910390f35b3480156107e157600080fd5b506107ea611d39565b6040516107f79190613812565b60405180910390f35b34801561080c57600080fd5b5061082760048036038101906108229190613138565b611dc7565b005b34801561083557600080fd5b50610850600480360381019061084b9190612fa2565b611edf565b60405161085d91906137f7565b60405180910390f35b34801561087257600080fd5b5061088d60048036038101906108889190612f75565b611f73565b005b34801561089b57600080fd5b506108a461206b565b6040516108b19190613b34565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061098557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610995575061099482612071565b5b9050919050565b60095481565b6060600080546109b190613e75565b80601f01602080910402602001604051908101604052809291908181526020018280546109dd90613e75565b8015610a2a5780601f106109ff57610100808354040283529160200191610a2a565b820191906000526020600020905b815481529060010190602001808311610a0d57829003601f168201915b5050505050905090565b6000610a3f826120db565b610a7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7590613a34565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ac4826111b9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2c90613ad4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b54612147565b73ffffffffffffffffffffffffffffffffffffffff161480610b835750610b8281610b7d612147565b611edf565b5b610bc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb990613994565b60405180910390fd5b610bcc838361214f565b505050565b610be2610bdc612147565b82612208565b610c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1890613af4565b60405180910390fd5b610c2c8383836122e6565b505050565b600d6020528060005260406000206000915090505481565b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600660159054906101000a900460ff16610cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd3906139f4565b60405180910390fd5b60008111610d1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1690613974565b60405180910390fd5b80821115610d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5990613834565b60405180910390fd5b60075482600954610d739190613caa565b1115610db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dab906138f4565b60405180910390fd5b81600854610dc29190613d31565b3414610e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfa90613b14565b60405180910390fd5b8181610e0f9190613d8b565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b82811015610e945760096000815480929190610e7090613ed8565b9190505550610e8133600954612542565b8080610e8c90613ed8565b915050610e55565b505050565b60075481565b610eba83838360405180602001604052806000815250611a97565b505050565b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600660169054906101000a900460ff16610f52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f49906138d4565b60405180910390fd5b60008111610f95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8c90613974565b60405180910390fd5b60075481600954610fa69190613caa565b1115610fe7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fde906138f4565b60405180910390fd5b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b8181101561106e576009600081548092919061104a90613ed8565b919050555061105b33600954612542565b808061106690613ed8565b91505061102f565b5050565b61107a612147565b73ffffffffffffffffffffffffffffffffffffffff1661109861161d565b73ffffffffffffffffffffffffffffffffffffffff16146110ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e590613a54565b60405180910390fd5b80600660166101000a81548160ff02191690831515021790555050565b611113612147565b73ffffffffffffffffffffffffffffffffffffffff1661113161161d565b73ffffffffffffffffffffffffffffffffffffffff1614611187576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117e90613a54565b60405180910390fd5b80600b908051906020019061119d929190612c4d565b5050565b600c6020528060005260406000206000915090505481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611262576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611259906139d4565b60405180910390fd5b80915050919050565b600660149054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e6906139b4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61133e612147565b73ffffffffffffffffffffffffffffffffffffffff1661135c61161d565b73ffffffffffffffffffffffffffffffffffffffff16146113b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a990613a54565b60405180910390fd5b6113bc6000612560565b565b600660159054906101000a900460ff1681565b6113d9612147565b73ffffffffffffffffffffffffffffffffffffffff166113f761161d565b73ffffffffffffffffffffffffffffffffffffffff161461144d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144490613a54565b60405180910390fd5b80600660146101000a81548160ff02191690831515021790555050565b606060006114778361127e565b67ffffffffffffffff8111156114905761148f61400e565b5b6040519080825280602002602001820160405280156114be5781602001602082028036833780820191505090505b5090506000805b60095481101561154d578473ffffffffffffffffffffffffffffffffffffffff166114ef826111b9565b73ffffffffffffffffffffffffffffffffffffffff16141561153a578083838151811061151f5761151e613fdf565b5b602002602001018181525050818061153690613ed8565b9250505b808061154590613ed8565b9150506114c5565b508192505050919050565b611560612147565b73ffffffffffffffffffffffffffffffffffffffff1661157e61161d565b73ffffffffffffffffffffffffffffffffffffffff16146115d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cb90613a54565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561161a573d6000803e3d6000fd5b50565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61164f612147565b73ffffffffffffffffffffffffffffffffffffffff1661166d61161d565b73ffffffffffffffffffffffffffffffffffffffff16146116c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ba90613a54565b60405180910390fd5b8060088190555050565b6116d5612147565b73ffffffffffffffffffffffffffffffffffffffff166116f361161d565b73ffffffffffffffffffffffffffffffffffffffff1614611749576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174090613a54565b60405180910390fd5b60005b82518110156117e05781818151811061176857611767613fdf565b5b6020026020010151600d600085848151811061178757611786613fdf565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806117d890613ed8565b91505061174c565b505050565b6060600180546117f490613e75565b80601f016020809104026020016040519081016040528092919081815260200182805461182090613e75565b801561186d5780601f106118425761010080835404028352916020019161186d565b820191906000526020600020905b81548152906001019060200180831161185057829003601f168201915b5050505050905090565b60085481565b611885612147565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ea90613934565b60405180910390fd5b8060056000611900612147565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119ad612147565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119f291906137f7565b60405180910390a35050565b611a06612147565b73ffffffffffffffffffffffffffffffffffffffff16611a2461161d565b73ffffffffffffffffffffffffffffffffffffffff1614611a7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7190613a54565b60405180910390fd5b80600660156101000a81548160ff02191690831515021790555050565b611aa8611aa2612147565b83612208565b611ae7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ade90613af4565b60405180910390fd5b611af384848484612626565b50505050565b600660149054906101000a900460ff16611b48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3f90613ab4565b60405180910390fd5b600081118015611b595750600a5481105b611b98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8f90613854565b60405180910390fd5b60075481600954611ba99190613caa565b1115611bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be1906138f4565b60405180910390fd5b80600854611bf89190613d31565b3414611c39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3090613b14565b60405180910390fd5b60005b81811015611c7b5760096000815480929190611c5790613ed8565b9190505550611c6833600954612542565b8080611c7390613ed8565b915050611c3c565b5050565b6060611c8a826120db565b611cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc090613a94565b60405180910390fd5b6000611cd3612682565b90506000815111611cf35760405180602001604052806000815250611d1e565b80611cfd84612714565b604051602001611d0e92919061374a565b6040516020818303038152906040525b915050919050565b600660169054906101000a900460ff1681565b600b8054611d4690613e75565b80601f0160208091040260200160405190810160405280929190818152602001828054611d7290613e75565b8015611dbf5780601f10611d9457610100808354040283529160200191611dbf565b820191906000526020600020905b815481529060010190602001808311611da257829003601f168201915b505050505081565b611dcf612147565b73ffffffffffffffffffffffffffffffffffffffff16611ded61161d565b73ffffffffffffffffffffffffffffffffffffffff1614611e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3a90613a54565b60405180910390fd5b60005b8251811015611eda57818181518110611e6257611e61613fdf565b5b6020026020010151600c6000858481518110611e8157611e80613fdf565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611ed290613ed8565b915050611e46565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f7b612147565b73ffffffffffffffffffffffffffffffffffffffff16611f9961161d565b73ffffffffffffffffffffffffffffffffffffffff1614611fef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe690613a54565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561205f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205690613894565b60405180910390fd5b61206881612560565b50565b600a5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166121c2836111b9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612213826120db565b612252576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224990613954565b60405180910390fd5b600061225d836111b9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806122cc57508373ffffffffffffffffffffffffffffffffffffffff166122b484610a34565b73ffffffffffffffffffffffffffffffffffffffff16145b806122dd57506122dc8185611edf565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612306826111b9565b73ffffffffffffffffffffffffffffffffffffffff161461235c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235390613a74565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c390613914565b60405180910390fd5b6123d7838383612875565b6123e260008261214f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124329190613d8b565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124899190613caa565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61255c82826040518060200160405280600081525061287a565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6126318484846122e6565b61263d848484846128d5565b61267c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267390613874565b60405180910390fd5b50505050565b6060600b805461269190613e75565b80601f01602080910402602001604051908101604052809291908181526020018280546126bd90613e75565b801561270a5780601f106126df5761010080835404028352916020019161270a565b820191906000526020600020905b8154815290600101906020018083116126ed57829003601f168201915b5050505050905090565b6060600082141561275c576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612870565b600082905060005b6000821461278e57808061277790613ed8565b915050600a826127879190613d00565b9150612764565b60008167ffffffffffffffff8111156127aa576127a961400e565b5b6040519080825280601f01601f1916602001820160405280156127dc5781602001600182028036833780820191505090505b5090505b60008514612869576001826127f59190613d8b565b9150600a856128049190613f21565b60306128109190613caa565b60f81b81838151811061282657612825613fdf565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128629190613d00565b94506127e0565b8093505050505b919050565b505050565b6128848383612a6c565b61289160008484846128d5565b6128d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c790613874565b60405180910390fd5b505050565b60006128f68473ffffffffffffffffffffffffffffffffffffffff16612c3a565b15612a5f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261291f612147565b8786866040518563ffffffff1660e01b81526004016129419493929190613789565b602060405180830381600087803b15801561295b57600080fd5b505af192505050801561298c57506040513d601f19601f82011682018060405250810190612989919061320a565b60015b612a0f573d80600081146129bc576040519150601f19603f3d011682016040523d82523d6000602084013e6129c1565b606091505b50600081511415612a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129fe90613874565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a64565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad390613a14565b60405180910390fd5b612ae5816120db565b15612b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1c906138b4565b60405180910390fd5b612b3160008383612875565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b819190613caa565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612c5990613e75565b90600052602060002090601f016020900481019282612c7b5760008555612cc2565b82601f10612c9457805160ff1916838001178555612cc2565b82800160010185558215612cc2579182015b82811115612cc1578251825591602001919060010190612ca6565b5b509050612ccf9190612cd3565b5090565b5b80821115612cec576000816000905550600101612cd4565b5090565b6000612d03612cfe84613b74565b613b4f565b90508083825260208201905082856020860282011115612d2657612d25614042565b5b60005b85811015612d565781612d3c8882612e54565b845260208401935060208301925050600181019050612d29565b5050509392505050565b6000612d73612d6e84613ba0565b613b4f565b90508083825260208201905082856020860282011115612d9657612d95614042565b5b60005b85811015612dc65781612dac8882612f60565b845260208401935060208301925050600181019050612d99565b5050509392505050565b6000612de3612dde84613bcc565b613b4f565b905082815260208101848484011115612dff57612dfe614047565b5b612e0a848285613e33565b509392505050565b6000612e25612e2084613bfd565b613b4f565b905082815260208101848484011115612e4157612e40614047565b5b612e4c848285613e33565b509392505050565b600081359050612e6381614653565b92915050565b600082601f830112612e7e57612e7d61403d565b5b8135612e8e848260208601612cf0565b91505092915050565b600082601f830112612eac57612eab61403d565b5b8135612ebc848260208601612d60565b91505092915050565b600081359050612ed48161466a565b92915050565b600081359050612ee981614681565b92915050565b600081519050612efe81614681565b92915050565b600082601f830112612f1957612f1861403d565b5b8135612f29848260208601612dd0565b91505092915050565b600082601f830112612f4757612f4661403d565b5b8135612f57848260208601612e12565b91505092915050565b600081359050612f6f81614698565b92915050565b600060208284031215612f8b57612f8a614051565b5b6000612f9984828501612e54565b91505092915050565b60008060408385031215612fb957612fb8614051565b5b6000612fc785828601612e54565b9250506020612fd885828601612e54565b9150509250929050565b600080600060608486031215612ffb57612ffa614051565b5b600061300986828701612e54565b935050602061301a86828701612e54565b925050604061302b86828701612f60565b9150509250925092565b6000806000806080858703121561304f5761304e614051565b5b600061305d87828801612e54565b945050602061306e87828801612e54565b935050604061307f87828801612f60565b925050606085013567ffffffffffffffff8111156130a05761309f61404c565b5b6130ac87828801612f04565b91505092959194509250565b600080604083850312156130cf576130ce614051565b5b60006130dd85828601612e54565b92505060206130ee85828601612ec5565b9150509250929050565b6000806040838503121561310f5761310e614051565b5b600061311d85828601612e54565b925050602061312e85828601612f60565b9150509250929050565b6000806040838503121561314f5761314e614051565b5b600083013567ffffffffffffffff81111561316d5761316c61404c565b5b61317985828601612e69565b925050602083013567ffffffffffffffff81111561319a5761319961404c565b5b6131a685828601612e97565b9150509250929050565b6000602082840312156131c6576131c5614051565b5b60006131d484828501612ec5565b91505092915050565b6000602082840312156131f3576131f2614051565b5b600061320184828501612eda565b91505092915050565b6000602082840312156132205761321f614051565b5b600061322e84828501612eef565b91505092915050565b60006020828403121561324d5761324c614051565b5b600082013567ffffffffffffffff81111561326b5761326a61404c565b5b61327784828501612f32565b91505092915050565b60006020828403121561329657613295614051565b5b60006132a484828501612f60565b91505092915050565b60006132b9838361372c565b60208301905092915050565b6132ce81613dbf565b82525050565b60006132df82613c3e565b6132e98185613c6c565b93506132f483613c2e565b8060005b8381101561332557815161330c88826132ad565b975061331783613c5f565b9250506001810190506132f8565b5085935050505092915050565b61333b81613dd1565b82525050565b600061334c82613c49565b6133568185613c7d565b9350613366818560208601613e42565b61336f81614056565b840191505092915050565b600061338582613c54565b61338f8185613c8e565b935061339f818560208601613e42565b6133a881614056565b840191505092915050565b60006133be82613c54565b6133c88185613c9f565b93506133d8818560208601613e42565b80840191505092915050565b60006133f1601d83613c8e565b91506133fc82614067565b602082019050919050565b6000613414602d83613c8e565b915061341f82614090565b604082019050919050565b6000613437603283613c8e565b9150613442826140df565b604082019050919050565b600061345a602683613c8e565b91506134658261412e565b604082019050919050565b600061347d601c83613c8e565b91506134888261417d565b602082019050919050565b60006134a0601283613c8e565b91506134ab826141a6565b602082019050919050565b60006134c3601f83613c8e565b91506134ce826141cf565b602082019050919050565b60006134e6602483613c8e565b91506134f1826141f8565b604082019050919050565b6000613509601983613c8e565b915061351482614247565b602082019050919050565b600061352c602c83613c8e565b915061353782614270565b604082019050919050565b600061354f602383613c8e565b915061355a826142bf565b604082019050919050565b6000613572603883613c8e565b915061357d8261430e565b604082019050919050565b6000613595602a83613c8e565b91506135a08261435d565b604082019050919050565b60006135b8602983613c8e565b91506135c3826143ac565b604082019050919050565b60006135db601583613c8e565b91506135e6826143fb565b602082019050919050565b60006135fe602083613c8e565b915061360982614424565b602082019050919050565b6000613621602c83613c8e565b915061362c8261444d565b604082019050919050565b6000613644602083613c8e565b915061364f8261449c565b602082019050919050565b6000613667602983613c8e565b9150613672826144c5565b604082019050919050565b600061368a602f83613c8e565b915061369582614514565b604082019050919050565b60006136ad601183613c8e565b91506136b882614563565b602082019050919050565b60006136d0602183613c8e565b91506136db8261458c565b604082019050919050565b60006136f3603183613c8e565b91506136fe826145db565b604082019050919050565b6000613716601883613c8e565b91506137218261462a565b602082019050919050565b61373581613e29565b82525050565b61374481613e29565b82525050565b600061375682856133b3565b915061376282846133b3565b91508190509392505050565b600060208201905061378360008301846132c5565b92915050565b600060808201905061379e60008301876132c5565b6137ab60208301866132c5565b6137b8604083018561373b565b81810360608301526137ca8184613341565b905095945050505050565b600060208201905081810360008301526137ef81846132d4565b905092915050565b600060208201905061380c6000830184613332565b92915050565b6000602082019050818103600083015261382c818461337a565b905092915050565b6000602082019050818103600083015261384d816133e4565b9050919050565b6000602082019050818103600083015261386d81613407565b9050919050565b6000602082019050818103600083015261388d8161342a565b9050919050565b600060208201905081810360008301526138ad8161344d565b9050919050565b600060208201905081810360008301526138cd81613470565b9050919050565b600060208201905081810360008301526138ed81613493565b9050919050565b6000602082019050818103600083015261390d816134b6565b9050919050565b6000602082019050818103600083015261392d816134d9565b9050919050565b6000602082019050818103600083015261394d816134fc565b9050919050565b6000602082019050818103600083015261396d8161351f565b9050919050565b6000602082019050818103600083015261398d81613542565b9050919050565b600060208201905081810360008301526139ad81613565565b9050919050565b600060208201905081810360008301526139cd81613588565b9050919050565b600060208201905081810360008301526139ed816135ab565b9050919050565b60006020820190508181036000830152613a0d816135ce565b9050919050565b60006020820190508181036000830152613a2d816135f1565b9050919050565b60006020820190508181036000830152613a4d81613614565b9050919050565b60006020820190508181036000830152613a6d81613637565b9050919050565b60006020820190508181036000830152613a8d8161365a565b9050919050565b60006020820190508181036000830152613aad8161367d565b9050919050565b60006020820190508181036000830152613acd816136a0565b9050919050565b60006020820190508181036000830152613aed816136c3565b9050919050565b60006020820190508181036000830152613b0d816136e6565b9050919050565b60006020820190508181036000830152613b2d81613709565b9050919050565b6000602082019050613b49600083018461373b565b92915050565b6000613b59613b6a565b9050613b658282613ea7565b919050565b6000604051905090565b600067ffffffffffffffff821115613b8f57613b8e61400e565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613bbb57613bba61400e565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613be757613be661400e565b5b613bf082614056565b9050602081019050919050565b600067ffffffffffffffff821115613c1857613c1761400e565b5b613c2182614056565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613cb582613e29565b9150613cc083613e29565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613cf557613cf4613f52565b5b828201905092915050565b6000613d0b82613e29565b9150613d1683613e29565b925082613d2657613d25613f81565b5b828204905092915050565b6000613d3c82613e29565b9150613d4783613e29565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613d8057613d7f613f52565b5b828202905092915050565b6000613d9682613e29565b9150613da183613e29565b925082821015613db457613db3613f52565b5b828203905092915050565b6000613dca82613e09565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613e60578082015181840152602081019050613e45565b83811115613e6f576000848401525b50505050565b60006002820490506001821680613e8d57607f821691505b60208210811415613ea157613ea0613fb0565b5b50919050565b613eb082614056565b810181811067ffffffffffffffff82111715613ecf57613ece61400e565b5b80604052505050565b6000613ee382613e29565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f1657613f15613f52565b5b600182019050919050565b6000613f2c82613e29565b9150613f3783613e29565b925082613f4757613f46613f81565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f43616e2774206d696e74206d6f7265207468616e207265736572766564000000600082015250565b7f43616e206f6e6c79206d696e74206265747765656e203120616e64203130207460008201527f6f6b656e73206174206f6e636500000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f436c61696d2069736e2774206163746976650000000000000000000000000000600082015250565b7f43616e2774206d696e74206d6f7265207468616e206d617820737570706c7900600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e6f20746f6b656e7320726573657276656420666f7220796f7572206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5669702053616c652069736e2774206163746976650000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f53616c652069736e277420616374697665000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f57726f6e6720616d6f756e74206f66204554482073656e740000000000000000600082015250565b61465c81613dbf565b811461466757600080fd5b50565b61467381613dd1565b811461467e57600080fd5b50565b61468a81613ddd565b811461469557600080fd5b50565b6146a181613e29565b81146146ac57600080fd5b5056fea2646970667358221220edb5befe957772ffa280f363887d12c116c776b18a7bdbf3e6bb93a9bf66281864736f6c63430008060033

Deployed Bytecode

0x6080604052600436106102255760003560e01c8063841718a611610123578063b47a00fe116100ab578063d547cfb71161006f578063d547cfb7146107d5578063df5321b614610800578063e985e9c514610829578063f2fde38b14610866578063f968adbe1461088f57610225565b8063b47a00fe146106ff578063b88d4fde14610728578063c634d03214610751578063c87b56dd1461076d578063cb5bc2aa146107aa57610225565b806391b7f5ed116100f257806391b7f5ed1461062e57806391c2fa311461065757806395d89b4114610680578063a035b1fe146106ab578063a22cb465146106d657610225565b8063841718a6146105865780638462151c146105af578063853828b6146105ec5780638da5cb5b1461060357610225565b806342842e0e116101b15780636352211e116101755780636352211e1461049f57806368428a1b146104dc57806370a0823114610507578063715018a614610544578063785448af1461055b57610225565b806342842e0e146103d05780634451d89f146103f95780634f9b563c1461041057806355f804b31461043957806356b64fc21461046257610225565b8063095ea7b3116101f8578063095ea7b3146102fa57806323b872dd14610323578063307626e51461034c57806332ab8a8d1461038957806332cb6b0c146103a557610225565b806301ffc9a71461022a578063047fc9aa1461026757806306fdde0314610292578063081812fc146102bd575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c91906131dd565b6108ba565b60405161025e91906137f7565b60405180910390f35b34801561027357600080fd5b5061027c61099c565b6040516102899190613b34565b60405180910390f35b34801561029e57600080fd5b506102a76109a2565b6040516102b49190613812565b60405180910390f35b3480156102c957600080fd5b506102e460048036038101906102df9190613280565b610a34565b6040516102f1919061376e565b60405180910390f35b34801561030657600080fd5b50610321600480360381019061031c91906130f8565b610ab9565b005b34801561032f57600080fd5b5061034a60048036038101906103459190612fe2565b610bd1565b005b34801561035857600080fd5b50610373600480360381019061036e9190612f75565b610c31565b6040516103809190613b34565b60405180910390f35b6103a3600480360381019061039e9190613280565b610c49565b005b3480156103b157600080fd5b506103ba610e99565b6040516103c79190613b34565b60405180910390f35b3480156103dc57600080fd5b506103f760048036038101906103f29190612fe2565b610e9f565b005b34801561040557600080fd5b5061040e610ebf565b005b34801561041c57600080fd5b50610437600480360381019061043291906131b0565b611072565b005b34801561044557600080fd5b50610460600480360381019061045b9190613237565b61110b565b005b34801561046e57600080fd5b5061048960048036038101906104849190612f75565b6111a1565b6040516104969190613b34565b60405180910390f35b3480156104ab57600080fd5b506104c660048036038101906104c19190613280565b6111b9565b6040516104d3919061376e565b60405180910390f35b3480156104e857600080fd5b506104f161126b565b6040516104fe91906137f7565b60405180910390f35b34801561051357600080fd5b5061052e60048036038101906105299190612f75565b61127e565b60405161053b9190613b34565b60405180910390f35b34801561055057600080fd5b50610559611336565b005b34801561056757600080fd5b506105706113be565b60405161057d91906137f7565b60405180910390f35b34801561059257600080fd5b506105ad60048036038101906105a891906131b0565b6113d1565b005b3480156105bb57600080fd5b506105d660048036038101906105d19190612f75565b61146a565b6040516105e391906137d5565b60405180910390f35b3480156105f857600080fd5b50610601611558565b005b34801561060f57600080fd5b5061061861161d565b604051610625919061376e565b60405180910390f35b34801561063a57600080fd5b5061065560048036038101906106509190613280565b611647565b005b34801561066357600080fd5b5061067e60048036038101906106799190613138565b6116cd565b005b34801561068c57600080fd5b506106956117e5565b6040516106a29190613812565b60405180910390f35b3480156106b757600080fd5b506106c0611877565b6040516106cd9190613b34565b60405180910390f35b3480156106e257600080fd5b506106fd60048036038101906106f891906130b8565b61187d565b005b34801561070b57600080fd5b50610726600480360381019061072191906131b0565b6119fe565b005b34801561073457600080fd5b5061074f600480360381019061074a9190613035565b611a97565b005b61076b60048036038101906107669190613280565b611af9565b005b34801561077957600080fd5b50610794600480360381019061078f9190613280565b611c7f565b6040516107a19190613812565b60405180910390f35b3480156107b657600080fd5b506107bf611d26565b6040516107cc91906137f7565b60405180910390f35b3480156107e157600080fd5b506107ea611d39565b6040516107f79190613812565b60405180910390f35b34801561080c57600080fd5b5061082760048036038101906108229190613138565b611dc7565b005b34801561083557600080fd5b50610850600480360381019061084b9190612fa2565b611edf565b60405161085d91906137f7565b60405180910390f35b34801561087257600080fd5b5061088d60048036038101906108889190612f75565b611f73565b005b34801561089b57600080fd5b506108a461206b565b6040516108b19190613b34565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061098557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610995575061099482612071565b5b9050919050565b60095481565b6060600080546109b190613e75565b80601f01602080910402602001604051908101604052809291908181526020018280546109dd90613e75565b8015610a2a5780601f106109ff57610100808354040283529160200191610a2a565b820191906000526020600020905b815481529060010190602001808311610a0d57829003601f168201915b5050505050905090565b6000610a3f826120db565b610a7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7590613a34565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ac4826111b9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2c90613ad4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b54612147565b73ffffffffffffffffffffffffffffffffffffffff161480610b835750610b8281610b7d612147565b611edf565b5b610bc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb990613994565b60405180910390fd5b610bcc838361214f565b505050565b610be2610bdc612147565b82612208565b610c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1890613af4565b60405180910390fd5b610c2c8383836122e6565b505050565b600d6020528060005260406000206000915090505481565b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600660159054906101000a900460ff16610cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd3906139f4565b60405180910390fd5b60008111610d1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1690613974565b60405180910390fd5b80821115610d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5990613834565b60405180910390fd5b60075482600954610d739190613caa565b1115610db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dab906138f4565b60405180910390fd5b81600854610dc29190613d31565b3414610e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfa90613b14565b60405180910390fd5b8181610e0f9190613d8b565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b82811015610e945760096000815480929190610e7090613ed8565b9190505550610e8133600954612542565b8080610e8c90613ed8565b915050610e55565b505050565b60075481565b610eba83838360405180602001604052806000815250611a97565b505050565b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600660169054906101000a900460ff16610f52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f49906138d4565b60405180910390fd5b60008111610f95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8c90613974565b60405180910390fd5b60075481600954610fa69190613caa565b1115610fe7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fde906138f4565b60405180910390fd5b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b8181101561106e576009600081548092919061104a90613ed8565b919050555061105b33600954612542565b808061106690613ed8565b91505061102f565b5050565b61107a612147565b73ffffffffffffffffffffffffffffffffffffffff1661109861161d565b73ffffffffffffffffffffffffffffffffffffffff16146110ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e590613a54565b60405180910390fd5b80600660166101000a81548160ff02191690831515021790555050565b611113612147565b73ffffffffffffffffffffffffffffffffffffffff1661113161161d565b73ffffffffffffffffffffffffffffffffffffffff1614611187576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117e90613a54565b60405180910390fd5b80600b908051906020019061119d929190612c4d565b5050565b600c6020528060005260406000206000915090505481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611262576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611259906139d4565b60405180910390fd5b80915050919050565b600660149054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e6906139b4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61133e612147565b73ffffffffffffffffffffffffffffffffffffffff1661135c61161d565b73ffffffffffffffffffffffffffffffffffffffff16146113b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a990613a54565b60405180910390fd5b6113bc6000612560565b565b600660159054906101000a900460ff1681565b6113d9612147565b73ffffffffffffffffffffffffffffffffffffffff166113f761161d565b73ffffffffffffffffffffffffffffffffffffffff161461144d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144490613a54565b60405180910390fd5b80600660146101000a81548160ff02191690831515021790555050565b606060006114778361127e565b67ffffffffffffffff8111156114905761148f61400e565b5b6040519080825280602002602001820160405280156114be5781602001602082028036833780820191505090505b5090506000805b60095481101561154d578473ffffffffffffffffffffffffffffffffffffffff166114ef826111b9565b73ffffffffffffffffffffffffffffffffffffffff16141561153a578083838151811061151f5761151e613fdf565b5b602002602001018181525050818061153690613ed8565b9250505b808061154590613ed8565b9150506114c5565b508192505050919050565b611560612147565b73ffffffffffffffffffffffffffffffffffffffff1661157e61161d565b73ffffffffffffffffffffffffffffffffffffffff16146115d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cb90613a54565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561161a573d6000803e3d6000fd5b50565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61164f612147565b73ffffffffffffffffffffffffffffffffffffffff1661166d61161d565b73ffffffffffffffffffffffffffffffffffffffff16146116c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ba90613a54565b60405180910390fd5b8060088190555050565b6116d5612147565b73ffffffffffffffffffffffffffffffffffffffff166116f361161d565b73ffffffffffffffffffffffffffffffffffffffff1614611749576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174090613a54565b60405180910390fd5b60005b82518110156117e05781818151811061176857611767613fdf565b5b6020026020010151600d600085848151811061178757611786613fdf565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806117d890613ed8565b91505061174c565b505050565b6060600180546117f490613e75565b80601f016020809104026020016040519081016040528092919081815260200182805461182090613e75565b801561186d5780601f106118425761010080835404028352916020019161186d565b820191906000526020600020905b81548152906001019060200180831161185057829003601f168201915b5050505050905090565b60085481565b611885612147565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ea90613934565b60405180910390fd5b8060056000611900612147565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119ad612147565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119f291906137f7565b60405180910390a35050565b611a06612147565b73ffffffffffffffffffffffffffffffffffffffff16611a2461161d565b73ffffffffffffffffffffffffffffffffffffffff1614611a7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7190613a54565b60405180910390fd5b80600660156101000a81548160ff02191690831515021790555050565b611aa8611aa2612147565b83612208565b611ae7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ade90613af4565b60405180910390fd5b611af384848484612626565b50505050565b600660149054906101000a900460ff16611b48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3f90613ab4565b60405180910390fd5b600081118015611b595750600a5481105b611b98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8f90613854565b60405180910390fd5b60075481600954611ba99190613caa565b1115611bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be1906138f4565b60405180910390fd5b80600854611bf89190613d31565b3414611c39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3090613b14565b60405180910390fd5b60005b81811015611c7b5760096000815480929190611c5790613ed8565b9190505550611c6833600954612542565b8080611c7390613ed8565b915050611c3c565b5050565b6060611c8a826120db565b611cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc090613a94565b60405180910390fd5b6000611cd3612682565b90506000815111611cf35760405180602001604052806000815250611d1e565b80611cfd84612714565b604051602001611d0e92919061374a565b6040516020818303038152906040525b915050919050565b600660169054906101000a900460ff1681565b600b8054611d4690613e75565b80601f0160208091040260200160405190810160405280929190818152602001828054611d7290613e75565b8015611dbf5780601f10611d9457610100808354040283529160200191611dbf565b820191906000526020600020905b815481529060010190602001808311611da257829003601f168201915b505050505081565b611dcf612147565b73ffffffffffffffffffffffffffffffffffffffff16611ded61161d565b73ffffffffffffffffffffffffffffffffffffffff1614611e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3a90613a54565b60405180910390fd5b60005b8251811015611eda57818181518110611e6257611e61613fdf565b5b6020026020010151600c6000858481518110611e8157611e80613fdf565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611ed290613ed8565b915050611e46565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f7b612147565b73ffffffffffffffffffffffffffffffffffffffff16611f9961161d565b73ffffffffffffffffffffffffffffffffffffffff1614611fef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe690613a54565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561205f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205690613894565b60405180910390fd5b61206881612560565b50565b600a5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166121c2836111b9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612213826120db565b612252576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224990613954565b60405180910390fd5b600061225d836111b9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806122cc57508373ffffffffffffffffffffffffffffffffffffffff166122b484610a34565b73ffffffffffffffffffffffffffffffffffffffff16145b806122dd57506122dc8185611edf565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612306826111b9565b73ffffffffffffffffffffffffffffffffffffffff161461235c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235390613a74565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c390613914565b60405180910390fd5b6123d7838383612875565b6123e260008261214f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124329190613d8b565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124899190613caa565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61255c82826040518060200160405280600081525061287a565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6126318484846122e6565b61263d848484846128d5565b61267c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267390613874565b60405180910390fd5b50505050565b6060600b805461269190613e75565b80601f01602080910402602001604051908101604052809291908181526020018280546126bd90613e75565b801561270a5780601f106126df5761010080835404028352916020019161270a565b820191906000526020600020905b8154815290600101906020018083116126ed57829003601f168201915b5050505050905090565b6060600082141561275c576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612870565b600082905060005b6000821461278e57808061277790613ed8565b915050600a826127879190613d00565b9150612764565b60008167ffffffffffffffff8111156127aa576127a961400e565b5b6040519080825280601f01601f1916602001820160405280156127dc5781602001600182028036833780820191505090505b5090505b60008514612869576001826127f59190613d8b565b9150600a856128049190613f21565b60306128109190613caa565b60f81b81838151811061282657612825613fdf565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128629190613d00565b94506127e0565b8093505050505b919050565b505050565b6128848383612a6c565b61289160008484846128d5565b6128d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c790613874565b60405180910390fd5b505050565b60006128f68473ffffffffffffffffffffffffffffffffffffffff16612c3a565b15612a5f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261291f612147565b8786866040518563ffffffff1660e01b81526004016129419493929190613789565b602060405180830381600087803b15801561295b57600080fd5b505af192505050801561298c57506040513d601f19601f82011682018060405250810190612989919061320a565b60015b612a0f573d80600081146129bc576040519150601f19603f3d011682016040523d82523d6000602084013e6129c1565b606091505b50600081511415612a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129fe90613874565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a64565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad390613a14565b60405180910390fd5b612ae5816120db565b15612b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1c906138b4565b60405180910390fd5b612b3160008383612875565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b819190613caa565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612c5990613e75565b90600052602060002090601f016020900481019282612c7b5760008555612cc2565b82601f10612c9457805160ff1916838001178555612cc2565b82800160010185558215612cc2579182015b82811115612cc1578251825591602001919060010190612ca6565b5b509050612ccf9190612cd3565b5090565b5b80821115612cec576000816000905550600101612cd4565b5090565b6000612d03612cfe84613b74565b613b4f565b90508083825260208201905082856020860282011115612d2657612d25614042565b5b60005b85811015612d565781612d3c8882612e54565b845260208401935060208301925050600181019050612d29565b5050509392505050565b6000612d73612d6e84613ba0565b613b4f565b90508083825260208201905082856020860282011115612d9657612d95614042565b5b60005b85811015612dc65781612dac8882612f60565b845260208401935060208301925050600181019050612d99565b5050509392505050565b6000612de3612dde84613bcc565b613b4f565b905082815260208101848484011115612dff57612dfe614047565b5b612e0a848285613e33565b509392505050565b6000612e25612e2084613bfd565b613b4f565b905082815260208101848484011115612e4157612e40614047565b5b612e4c848285613e33565b509392505050565b600081359050612e6381614653565b92915050565b600082601f830112612e7e57612e7d61403d565b5b8135612e8e848260208601612cf0565b91505092915050565b600082601f830112612eac57612eab61403d565b5b8135612ebc848260208601612d60565b91505092915050565b600081359050612ed48161466a565b92915050565b600081359050612ee981614681565b92915050565b600081519050612efe81614681565b92915050565b600082601f830112612f1957612f1861403d565b5b8135612f29848260208601612dd0565b91505092915050565b600082601f830112612f4757612f4661403d565b5b8135612f57848260208601612e12565b91505092915050565b600081359050612f6f81614698565b92915050565b600060208284031215612f8b57612f8a614051565b5b6000612f9984828501612e54565b91505092915050565b60008060408385031215612fb957612fb8614051565b5b6000612fc785828601612e54565b9250506020612fd885828601612e54565b9150509250929050565b600080600060608486031215612ffb57612ffa614051565b5b600061300986828701612e54565b935050602061301a86828701612e54565b925050604061302b86828701612f60565b9150509250925092565b6000806000806080858703121561304f5761304e614051565b5b600061305d87828801612e54565b945050602061306e87828801612e54565b935050604061307f87828801612f60565b925050606085013567ffffffffffffffff8111156130a05761309f61404c565b5b6130ac87828801612f04565b91505092959194509250565b600080604083850312156130cf576130ce614051565b5b60006130dd85828601612e54565b92505060206130ee85828601612ec5565b9150509250929050565b6000806040838503121561310f5761310e614051565b5b600061311d85828601612e54565b925050602061312e85828601612f60565b9150509250929050565b6000806040838503121561314f5761314e614051565b5b600083013567ffffffffffffffff81111561316d5761316c61404c565b5b61317985828601612e69565b925050602083013567ffffffffffffffff81111561319a5761319961404c565b5b6131a685828601612e97565b9150509250929050565b6000602082840312156131c6576131c5614051565b5b60006131d484828501612ec5565b91505092915050565b6000602082840312156131f3576131f2614051565b5b600061320184828501612eda565b91505092915050565b6000602082840312156132205761321f614051565b5b600061322e84828501612eef565b91505092915050565b60006020828403121561324d5761324c614051565b5b600082013567ffffffffffffffff81111561326b5761326a61404c565b5b61327784828501612f32565b91505092915050565b60006020828403121561329657613295614051565b5b60006132a484828501612f60565b91505092915050565b60006132b9838361372c565b60208301905092915050565b6132ce81613dbf565b82525050565b60006132df82613c3e565b6132e98185613c6c565b93506132f483613c2e565b8060005b8381101561332557815161330c88826132ad565b975061331783613c5f565b9250506001810190506132f8565b5085935050505092915050565b61333b81613dd1565b82525050565b600061334c82613c49565b6133568185613c7d565b9350613366818560208601613e42565b61336f81614056565b840191505092915050565b600061338582613c54565b61338f8185613c8e565b935061339f818560208601613e42565b6133a881614056565b840191505092915050565b60006133be82613c54565b6133c88185613c9f565b93506133d8818560208601613e42565b80840191505092915050565b60006133f1601d83613c8e565b91506133fc82614067565b602082019050919050565b6000613414602d83613c8e565b915061341f82614090565b604082019050919050565b6000613437603283613c8e565b9150613442826140df565b604082019050919050565b600061345a602683613c8e565b91506134658261412e565b604082019050919050565b600061347d601c83613c8e565b91506134888261417d565b602082019050919050565b60006134a0601283613c8e565b91506134ab826141a6565b602082019050919050565b60006134c3601f83613c8e565b91506134ce826141cf565b602082019050919050565b60006134e6602483613c8e565b91506134f1826141f8565b604082019050919050565b6000613509601983613c8e565b915061351482614247565b602082019050919050565b600061352c602c83613c8e565b915061353782614270565b604082019050919050565b600061354f602383613c8e565b915061355a826142bf565b604082019050919050565b6000613572603883613c8e565b915061357d8261430e565b604082019050919050565b6000613595602a83613c8e565b91506135a08261435d565b604082019050919050565b60006135b8602983613c8e565b91506135c3826143ac565b604082019050919050565b60006135db601583613c8e565b91506135e6826143fb565b602082019050919050565b60006135fe602083613c8e565b915061360982614424565b602082019050919050565b6000613621602c83613c8e565b915061362c8261444d565b604082019050919050565b6000613644602083613c8e565b915061364f8261449c565b602082019050919050565b6000613667602983613c8e565b9150613672826144c5565b604082019050919050565b600061368a602f83613c8e565b915061369582614514565b604082019050919050565b60006136ad601183613c8e565b91506136b882614563565b602082019050919050565b60006136d0602183613c8e565b91506136db8261458c565b604082019050919050565b60006136f3603183613c8e565b91506136fe826145db565b604082019050919050565b6000613716601883613c8e565b91506137218261462a565b602082019050919050565b61373581613e29565b82525050565b61374481613e29565b82525050565b600061375682856133b3565b915061376282846133b3565b91508190509392505050565b600060208201905061378360008301846132c5565b92915050565b600060808201905061379e60008301876132c5565b6137ab60208301866132c5565b6137b8604083018561373b565b81810360608301526137ca8184613341565b905095945050505050565b600060208201905081810360008301526137ef81846132d4565b905092915050565b600060208201905061380c6000830184613332565b92915050565b6000602082019050818103600083015261382c818461337a565b905092915050565b6000602082019050818103600083015261384d816133e4565b9050919050565b6000602082019050818103600083015261386d81613407565b9050919050565b6000602082019050818103600083015261388d8161342a565b9050919050565b600060208201905081810360008301526138ad8161344d565b9050919050565b600060208201905081810360008301526138cd81613470565b9050919050565b600060208201905081810360008301526138ed81613493565b9050919050565b6000602082019050818103600083015261390d816134b6565b9050919050565b6000602082019050818103600083015261392d816134d9565b9050919050565b6000602082019050818103600083015261394d816134fc565b9050919050565b6000602082019050818103600083015261396d8161351f565b9050919050565b6000602082019050818103600083015261398d81613542565b9050919050565b600060208201905081810360008301526139ad81613565565b9050919050565b600060208201905081810360008301526139cd81613588565b9050919050565b600060208201905081810360008301526139ed816135ab565b9050919050565b60006020820190508181036000830152613a0d816135ce565b9050919050565b60006020820190508181036000830152613a2d816135f1565b9050919050565b60006020820190508181036000830152613a4d81613614565b9050919050565b60006020820190508181036000830152613a6d81613637565b9050919050565b60006020820190508181036000830152613a8d8161365a565b9050919050565b60006020820190508181036000830152613aad8161367d565b9050919050565b60006020820190508181036000830152613acd816136a0565b9050919050565b60006020820190508181036000830152613aed816136c3565b9050919050565b60006020820190508181036000830152613b0d816136e6565b9050919050565b60006020820190508181036000830152613b2d81613709565b9050919050565b6000602082019050613b49600083018461373b565b92915050565b6000613b59613b6a565b9050613b658282613ea7565b919050565b6000604051905090565b600067ffffffffffffffff821115613b8f57613b8e61400e565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613bbb57613bba61400e565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613be757613be661400e565b5b613bf082614056565b9050602081019050919050565b600067ffffffffffffffff821115613c1857613c1761400e565b5b613c2182614056565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613cb582613e29565b9150613cc083613e29565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613cf557613cf4613f52565b5b828201905092915050565b6000613d0b82613e29565b9150613d1683613e29565b925082613d2657613d25613f81565b5b828204905092915050565b6000613d3c82613e29565b9150613d4783613e29565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613d8057613d7f613f52565b5b828202905092915050565b6000613d9682613e29565b9150613da183613e29565b925082821015613db457613db3613f52565b5b828203905092915050565b6000613dca82613e09565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613e60578082015181840152602081019050613e45565b83811115613e6f576000848401525b50505050565b60006002820490506001821680613e8d57607f821691505b60208210811415613ea157613ea0613fb0565b5b50919050565b613eb082614056565b810181811067ffffffffffffffff82111715613ecf57613ece61400e565b5b80604052505050565b6000613ee382613e29565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f1657613f15613f52565b5b600182019050919050565b6000613f2c82613e29565b9150613f3783613e29565b925082613f4757613f46613f81565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f43616e2774206d696e74206d6f7265207468616e207265736572766564000000600082015250565b7f43616e206f6e6c79206d696e74206265747765656e203120616e64203130207460008201527f6f6b656e73206174206f6e636500000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f436c61696d2069736e2774206163746976650000000000000000000000000000600082015250565b7f43616e2774206d696e74206d6f7265207468616e206d617820737570706c7900600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e6f20746f6b656e7320726573657276656420666f7220796f7572206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5669702053616c652069736e2774206163746976650000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f53616c652069736e277420616374697665000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f57726f6e6720616d6f756e74206f66204554482073656e740000000000000000600082015250565b61465c81613dbf565b811461466757600080fd5b50565b61467381613dd1565b811461467e57600080fd5b50565b61468a81613ddd565b811461469557600080fd5b50565b6146a181613e29565b81146146ac57600080fd5b5056fea2646970667358221220edb5befe957772ffa280f363887d12c116c776b18a7bdbf3e6bb93a9bf66281864736f6c63430008060033

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.