ETH Price: $3,113.90 (+0.53%)
Gas: 4 Gwei

Token

MutantApeYachtClub (MAYC)
 

Overview

Max Total Supply

19,495 MAYC

Holders

11,461

Market

Volume (24H)

8.2387 ETH

Min Price (24H)

$0.00 @ 0.000000 ETH

Max Price (24H)

$9,964.49 @ 3.200000 ETH
Balance
7 MAYC
0xa4d3786210a59cc113eedf5a30e1358ed9befa2a
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The MUTANT APE YACHT CLUB is a collection of up to 20,000 Mutant Apes that can only be created by exposing an existing Bored Ape to a vial of MUTANT SERUM or by minting a Mutant Ape in the public sale.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MutantApeYachtClub

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 17 : 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 17 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

File 3 of 17 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 4 of 17 : 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(to).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 5 of 17 : 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 6 of 17 : 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 7 of 17 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 8 of 17 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 9 of 17 : 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 10 of 17 : 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);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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 11 of 17 : 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 12 of 17 : 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 13 of 17 : 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 14 of 17 : 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 15 of 17 : Bacc.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;

abstract contract Bacc {
    function burnSerumForAddress(uint256 typeId, address burnTokenAddress)
        external
        virtual;

    function balanceOf(address account, uint256 id)
        public
        view
        virtual
        returns (uint256);
}

File 16 of 17 : Bayc.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;

abstract contract Bayc {
    function ownerOf(uint256 tokenId) public view virtual returns (address);
}

File 17 of 17 : MutantApeYachtClub.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.6;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./Bayc.sol";
import "./Bacc.sol";

//      |||||\          |||||\               |||||\           |||||\
//      ||||| |         ||||| |              ||||| |          ||||| |
//       \__|||||\  |||||\___\|               \__|||||\   |||||\___\|
//          ||||| | ||||| |                      ||||| |  ||||| |
//           \__|||||\___\|       Y u g a         \__|||||\___\|
//              ||||| |             L a b s          ||||| |
//          |||||\___\|                          |||||\___\|
//          ||||| |                              ||||| |
//           \__|||||||||||\                      \__|||||||||||\
//              ||||||||||| |                        ||||||||||| |
//               \_________\|                         \_________\|

contract MutantApeYachtClub is ERC721Enumerable, Ownable, ReentrancyGuard {
    // Provenance hash for all mutants (Minted, Mutated Ape, MEGA)
    string public constant MAYC_PROVENANCE = "ca7151cc436da0dc3a3d662694f8c9da5ae39a7355fabaafc00e6aa580927175";
    
    // IDs 0 - 9999: Minted Mutants
    // IDs 10000 - 29999: Mutated Apes
    // IDs 30000 - 3007: MEGA Mutants
    uint8 private constant NUM_MUTANT_TYPES = 2;
    uint256 private constant MEGA_MUTATION_TYPE = 69;
    uint256 public constant NUM_MEGA_MUTANTS = 8;
    uint16 private constant MAX_MEGA_MUTATION_ID = 30007;
    uint256 public constant SERUM_MUTATION_OFFSET = 10000;

    uint256 public constant PS_MAX_MUTANT_PURCHASE = 20;
    // Max supply of Minted Mutants
    uint256 public constant PS_MAX_MUTANTS = 10000;
    // Public sale final price - 0.01 ETH
    uint256 public constant PS_MUTANT_ENDING_PRICE = 10000000000000000;

    // Public sale starting price - mutable, in case we need to pause
    // and restart the sale
    uint256 public publicSaleMutantStartingPrice;

    // Supply of Minted Mutants (not Mutated Apes)
    uint256 public numMutantsMinted;

    // Public sale params
    uint256 public publicSaleDuration;
    uint256 public publicSaleStartTime;

    // Sale switches
    bool public publicSaleActive;
    bool public serumMutationActive;

    // Starting index block for the entire collection
    uint256 public collectionStartingIndexBlock;
    // Starting index for Minted Mutants
    uint256 public mintedMutantsStartingIndex;
    // Starting index for MEGA Mutants
    uint256 public megaMutantsStartingIndex;

    uint16 private currentMegaMutationId = 30000;
    mapping(uint256 => uint256) private megaMutationIdsByApe;

    string private baseURI;
    Bayc private immutable bayc;
    Bacc private immutable bacc;

    event MutantPublicSaleStart(
        uint256 indexed _saleDuration,
        uint256 indexed _saleStartTime
    );
    event MutantPublicSalePaused(
        uint256 indexed _currentPrice,
        uint256 indexed _timeElapsed
    );
    event StartingIndicesSet(
        uint256 indexed _mintedMutantsStartingIndex,
        uint256 indexed _megaMutantsStartingIndex
    );

    modifier whenPublicSaleActive() {
        require(publicSaleActive, "Public sale is not active");
        _;
    }

    modifier startingIndicesNotSet() {
        require(
            mintedMutantsStartingIndex == 0,
            "Minted Mutants starting index is already set"
        );
        require(
            megaMutantsStartingIndex == 0,
            "Mega Mutants starting index is already set"
        );
        _;
    }

    constructor(
        string memory name,
        string memory symbol,
        address baycAddress,
        address baccAddress
    ) ERC721(name, symbol) {
        bayc = Bayc(baycAddress);
        bacc = Bacc(baccAddress);
    }

    function startPublicSale(uint256 saleDuration, uint256 saleStartPrice)
        external
        onlyOwner
    {
        require(!publicSaleActive, "Public sale has already begun");
        publicSaleDuration = saleDuration;
        publicSaleMutantStartingPrice = saleStartPrice;
        publicSaleStartTime = block.timestamp;
        publicSaleActive = true;
        emit MutantPublicSaleStart(saleDuration, publicSaleStartTime);
    }

    function pausePublicSale() external onlyOwner whenPublicSaleActive {
        uint256 currentSalePrice = getMintPrice();
        publicSaleActive = false;
        emit MutantPublicSalePaused(currentSalePrice, getElapsedSaleTime());
    }

    function getElapsedSaleTime() internal view returns (uint256) {
        return
            publicSaleStartTime > 0 ? block.timestamp - publicSaleStartTime : 0;
    }

    function getRemainingSaleTime() external view returns (uint256) {
        require(publicSaleStartTime > 0, "Public sale hasn't started yet");
        if (getElapsedSaleTime() >= publicSaleDuration) {
            return 0;
        }

        return (publicSaleStartTime + publicSaleDuration) - block.timestamp;
    }

    function getMintPrice() public view whenPublicSaleActive returns (uint256) {
        uint256 elapsed = getElapsedSaleTime();
        if (elapsed >= publicSaleDuration) {
            return PS_MUTANT_ENDING_PRICE;
        } else {
            uint256 currentPrice = ((publicSaleDuration - elapsed) *
                publicSaleMutantStartingPrice) / publicSaleDuration;
            return
                currentPrice > PS_MUTANT_ENDING_PRICE
                    ? currentPrice
                    : PS_MUTANT_ENDING_PRICE;
        }
    }

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        Address.sendValue(payable(owner()), balance);
    }

    function mintMutants(uint256 numMutants)
        external
        payable
        whenPublicSaleActive
        nonReentrant
    {
        require(
            numMutantsMinted + numMutants <= PS_MAX_MUTANTS,
            "Minting would exceed max supply"
        );
        require(numMutants > 0, "Must mint at least one mutant");
        require(
            numMutants <= PS_MAX_MUTANT_PURCHASE,
            "Requested number exceeds maximum"
        );

        uint256 costToMint = getMintPrice() * numMutants;
        require(costToMint <= msg.value, "Ether value sent is not correct");
        
        if (mintedMutantsStartingIndex == 0) {
            collectionStartingIndexBlock = block.number;
        }

        for (uint256 i = 0; i < numMutants; i++) {
            uint256 mintIndex = numMutantsMinted;
            if (numMutantsMinted < PS_MAX_MUTANTS) {
                numMutantsMinted++;
                _safeMint(msg.sender, mintIndex);
            }
        }

        if (msg.value > costToMint) {
            Address.sendValue(payable(msg.sender), msg.value - costToMint);
        }
    }
    
    function mutateApeWithSerum(uint256 serumTypeId, uint256 apeId)
        external
        nonReentrant
    {
        require(serumMutationActive, "Serum Mutation is not active");
        require(
            bayc.ownerOf(apeId) == msg.sender,
            "Must own the ape you're attempting to mutate"
        );
        require(
            bacc.balanceOf(msg.sender, serumTypeId) > 0,
            "Must own at least one of this serum type to mutate"
        );

        uint256 mutantId;

        if (serumTypeId == MEGA_MUTATION_TYPE) {
            require(
                currentMegaMutationId <= MAX_MEGA_MUTATION_ID,
                "Would exceed supply of serum-mutatable MEGA MUTANTS"
            );
            require(
                megaMutationIdsByApe[apeId] == 0,
                "Ape already mutated with MEGA MUTATION SERUM"
            );

            mutantId = currentMegaMutationId;
            megaMutationIdsByApe[apeId] = mutantId;
            currentMegaMutationId++;
        } else {
            mutantId = getMutantId(serumTypeId, apeId);
            require(
                !_exists(mutantId),
                "Ape already mutated with this type of serum"
            );
        }

        bacc.burnSerumForAddress(serumTypeId, msg.sender);
        _safeMint(msg.sender, mutantId);
    }

    function getMutantIdForApeAndSerumCombination(
        uint256 apeId,
        uint8 serumTypeId
    ) external view returns (uint256) {
        uint256 mutantId;
        if (serumTypeId == MEGA_MUTATION_TYPE) {
            mutantId = megaMutationIdsByApe[apeId];
            require(mutantId > 0, "Invalid MEGA Mutant Id");
        } else {
            mutantId = getMutantId(serumTypeId, apeId);
        }

        require(_exists(mutantId), "Query for nonexistent mutant");

        return mutantId;
    }

    function hasApeBeenMutatedWithType(uint8 serumType, uint256 apeId)
        external
        view
        returns (bool)
    {
        if (serumType == MEGA_MUTATION_TYPE) {
            return megaMutationIdsByApe[apeId] > 0;
        }

        uint256 mutantId = getMutantId(serumType, apeId);
        return _exists(mutantId);
    }

    function getMutantId(uint256 serumType, uint256 apeId)
        internal
        pure
        returns (uint256)
    {
        require(
            serumType != MEGA_MUTATION_TYPE,
            "Mega mutant ID can't be calculated"
        );
        return (apeId * NUM_MUTANT_TYPES) + serumType + SERUM_MUTATION_OFFSET;
    }

    function isMinted(uint256 tokenId) external view returns (bool) {
        require(
            tokenId < MAX_MEGA_MUTATION_ID,
            "tokenId outside collection bounds"
        );
        return _exists(tokenId);
    }

    function totalApesMutated() external view returns (uint256) {
        return totalSupply() - numMutantsMinted;
    }

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

    function setBaseURI(string memory uri) external onlyOwner {
        baseURI = uri;
    }

    function togglePublicSaleActive() external onlyOwner {
        publicSaleActive = !publicSaleActive;
    }

    function toggleSerumMutationActive() external onlyOwner {
        serumMutationActive = !serumMutationActive;
    }

    function calculateStartingIndex(uint256 blockNumber, uint256 collectionSize)
        internal
        view
        returns (uint256)
    {
        return uint256(blockhash(blockNumber)) % collectionSize;
    }
    
    function setStartingIndices() external startingIndicesNotSet {
        require(
            collectionStartingIndexBlock != 0,
            "Starting index block must be set"
        );
        uint256 elapsed = getElapsedSaleTime();
        require(
            elapsed >= publicSaleDuration && publicSaleStartTime > 0,
            "Invalid setStartingIndices conditions"
        );

        mintedMutantsStartingIndex = calculateStartingIndex(
            collectionStartingIndexBlock,
            PS_MAX_MUTANTS
        );

        megaMutantsStartingIndex = calculateStartingIndex(
            collectionStartingIndexBlock,
            NUM_MEGA_MUTANTS
        );
        
        if ((block.number - collectionStartingIndexBlock) > 255) {
            mintedMutantsStartingIndex = calculateStartingIndex(
                block.number - 1,
                PS_MAX_MUTANTS
            );

            megaMutantsStartingIndex = calculateStartingIndex(
                block.number - 1,
                NUM_MEGA_MUTANTS
            );
        }

        // Prevent default sequence
        if (mintedMutantsStartingIndex == 0) {
            mintedMutantsStartingIndex++;
        }
        if (megaMutantsStartingIndex == 0) {
            megaMutantsStartingIndex++;
        }

        emit StartingIndicesSet(
            mintedMutantsStartingIndex,
            megaMutantsStartingIndex
        );
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"baycAddress","type":"address"},{"internalType":"address","name":"baccAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_currentPrice","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"_timeElapsed","type":"uint256"}],"name":"MutantPublicSalePaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_saleDuration","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"_saleStartTime","type":"uint256"}],"name":"MutantPublicSaleStart","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_mintedMutantsStartingIndex","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"_megaMutantsStartingIndex","type":"uint256"}],"name":"StartingIndicesSet","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":"MAYC_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NUM_MEGA_MUTANTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PS_MAX_MUTANTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PS_MAX_MUTANT_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PS_MUTANT_ENDING_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SERUM_MUTATION_OFFSET","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":"collectionStartingIndexBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"apeId","type":"uint256"},{"internalType":"uint8","name":"serumTypeId","type":"uint8"}],"name":"getMutantIdForApeAndSerumCombination","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRemainingSaleTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"serumType","type":"uint8"},{"internalType":"uint256","name":"apeId","type":"uint256"}],"name":"hasApeBeenMutatedWithType","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"megaMutantsStartingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numMutants","type":"uint256"}],"name":"mintMutants","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintedMutantsStartingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"serumTypeId","type":"uint256"},{"internalType":"uint256","name":"apeId","type":"uint256"}],"name":"mutateApeWithSerum","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numMutantsMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"pausePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleMutantStartingPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStartTime","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":"serumMutationActive","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":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"saleDuration","type":"uint256"},{"internalType":"uint256","name":"saleStartPrice","type":"uint256"}],"name":"startPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSerumMutationActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalApesMutated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c0604052617530601460006101000a81548161ffff021916908361ffff1602179055503480156200003057600080fd5b506040516200639d3803806200639d83398181016040528101906200005691906200033f565b8383816000908051906020019062000070929190620001fa565b50806001908051906020019062000089929190620001fa565b505050620000ac620000a06200012c60201b60201c565b6200013460201b60201c565b6001600b819055508173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b8152505050505050620005c1565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200020890620004b8565b90600052602060002090601f0160209004810192826200022c576000855562000278565b82601f106200024757805160ff191683800117855562000278565b8280016001018555821562000278579182015b82811115620002775782518255916020019190600101906200025a565b5b5090506200028791906200028b565b5090565b5b80821115620002a65760008160009055506001016200028c565b5090565b6000620002c1620002bb8462000418565b620003ef565b905082815260208101848484011115620002e057620002df62000587565b5b620002ed84828562000482565b509392505050565b6000815190506200030681620005a7565b92915050565b600082601f83011262000324576200032362000582565b5b815162000336848260208601620002aa565b91505092915050565b600080600080608085870312156200035c576200035b62000591565b5b600085015167ffffffffffffffff8111156200037d576200037c6200058c565b5b6200038b878288016200030c565b945050602085015167ffffffffffffffff811115620003af57620003ae6200058c565b5b620003bd878288016200030c565b9350506040620003d087828801620002f5565b9250506060620003e387828801620002f5565b91505092959194509250565b6000620003fb6200040e565b9050620004098282620004ee565b919050565b6000604051905090565b600067ffffffffffffffff82111562000436576200043562000553565b5b620004418262000596565b9050602081019050919050565b60006200045b8262000462565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620004a257808201518184015260208101905062000485565b83811115620004b2576000848401525b50505050565b60006002820490506001821680620004d157607f821691505b60208210811415620004e857620004e762000524565b5b50919050565b620004f98262000596565b810181811067ffffffffffffffff821117156200051b576200051a62000553565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b620005b2816200044e565b8114620005be57600080fd5b50565b60805160601c60a05160601c615da9620005f4600039600081816122c50152612532015260006121c40152615da96000f3fe6080604052600436106102ad5760003560e01c8063715018a611610175578063c87b56dd116100dc578063e43437c811610095578063e985e9c51161006f578063e985e9c514610a4c578063ee21123314610a89578063f2fde38b14610ac6578063fd48354e14610aef576102ad565b8063e43437c8146109cd578063e6f0df8c146109f8578063e73a9a2514610a23576102ad565b8063c87b56dd146108cd578063c973d72d1461090a578063d0b77feb14610935578063e1c3ad0c1461094c578063e2d9f68514610977578063e3764a8b146109a2576102ad565b8063b23142e21161012e578063b23142e2146107ca578063b88d4fde146107f5578063bc8893b41461081e578063bd5e5e0c14610849578063c0bb92ea14610886578063c15e24bc146108b1576102ad565b8063715018a6146106de578063725ae16c146106f55780638da5cb5b1461072057806395d89b411461074b578063a22cb46514610776578063a7f93ebd1461079f576102ad565b806333c41a901161021957806355f804b3116101d257806355f804b3146105ba578063567ac4f6146105e357806361169ea81461060e5780636352211e146106395780636bb7b1d91461067657806370a08231146106a1576102ad565b806333c41a90146104ac5780633a12e933146104e95780633ccfd60b1461051257806342842e0e1461052957806348cd4f08146105525780634f6ccce71461057d576102ad565b80630c41f4971161026b5780630c41f497146103c25780630c894cfe146103d957806318160ddd146103f057806323b872dd1461041b5780632f2eda31146104445780632f745c591461046f576102ad565b8062dbabc7146102b257806301ffc9a7146102c957806306fdde0314610306578063081812fc14610331578063095ea7b31461036e5780630af7f2b814610397575b600080fd5b3480156102be57600080fd5b506102c7610b1a565b005b3480156102d557600080fd5b506102f060048036038101906102eb9190613e53565b610d3f565b6040516102fd919061478a565b60405180910390f35b34801561031257600080fd5b5061031b610db9565b60405161032891906147a5565b60405180910390f35b34801561033d57600080fd5b5061035860048036038101906103539190613ef6565b610e4b565b60405161036591906146fa565b60405180910390f35b34801561037a57600080fd5b5061039560048036038101906103909190613e13565b610ed0565b005b3480156103a357600080fd5b506103ac610fe8565b6040516103b99190614d07565b60405180910390f35b3480156103ce57600080fd5b506103d7610fed565b005b3480156103e557600080fd5b506103ee611117565b005b3480156103fc57600080fd5b506104056111bf565b6040516104129190614d07565b60405180910390f35b34801561042757600080fd5b50610442600480360381019061043d9190613cfd565b6111cc565b005b34801561045057600080fd5b5061045961122c565b6040516104669190614d07565b60405180910390f35b34801561047b57600080fd5b5061049660048036038101906104919190613e13565b611232565b6040516104a39190614d07565b60405180910390f35b3480156104b857600080fd5b506104d360048036038101906104ce9190613ef6565b6112d7565b6040516104e0919061478a565b60405180910390f35b3480156104f557600080fd5b50610510600480360381019061050b9190613f50565b611331565b005b34801561051e57600080fd5b50610527611461565b005b34801561053557600080fd5b50610550600480360381019061054b9190613cfd565b6114f6565b005b34801561055e57600080fd5b50610567611516565b6040516105749190614d07565b60405180910390f35b34801561058957600080fd5b506105a4600480360381019061059f9190613ef6565b611532565b6040516105b19190614d07565b60405180910390f35b3480156105c657600080fd5b506105e160048036038101906105dc9190613ead565b6115a3565b005b3480156105ef57600080fd5b506105f8611639565b6040516106059190614d07565b60405180910390f35b34801561061a57600080fd5b506106236116b9565b6040516106309190614d07565b60405180910390f35b34801561064557600080fd5b50610660600480360381019061065b9190613ef6565b6116bf565b60405161066d91906146fa565b60405180910390f35b34801561068257600080fd5b5061068b611771565b6040516106989190614d07565b60405180910390f35b3480156106ad57600080fd5b506106c860048036038101906106c39190613c63565b611777565b6040516106d59190614d07565b60405180910390f35b3480156106ea57600080fd5b506106f361182f565b005b34801561070157600080fd5b5061070a6118b7565b6040516107179190614d07565b60405180910390f35b34801561072c57600080fd5b506107356118bd565b60405161074291906146fa565b60405180910390f35b34801561075757600080fd5b506107606118e7565b60405161076d91906147a5565b60405180910390f35b34801561078257600080fd5b5061079d60048036038101906107989190613dd3565b611979565b005b3480156107ab57600080fd5b506107b4611afa565b6040516107c19190614d07565b60405180910390f35b3480156107d657600080fd5b506107df611bc1565b6040516107ec9190614d07565b60405180910390f35b34801561080157600080fd5b5061081c60048036038101906108179190613d50565b611bc7565b005b34801561082a57600080fd5b50610833611c29565b604051610840919061478a565b60405180910390f35b34801561085557600080fd5b50610870600480360381019061086b9190613f90565b611c3c565b60405161087d9190614d07565b60405180910390f35b34801561089257600080fd5b5061089b611d0b565b6040516108a89190614d07565b60405180910390f35b6108cb60048036038101906108c69190613ef6565b611d10565b005b3480156108d957600080fd5b506108f460048036038101906108ef9190613ef6565b611f73565b60405161090191906147a5565b60405180910390f35b34801561091657600080fd5b5061091f61201a565b60405161092c9190614d07565b60405180910390f35b34801561094157600080fd5b5061094a612020565b005b34801561095857600080fd5b506109616120c8565b60405161096e919061478a565b60405180910390f35b34801561098357600080fd5b5061098c6120db565b60405161099991906147a5565b60405180910390f35b3480156109ae57600080fd5b506109b76120f7565b6040516109c49190614d07565b60405180910390f35b3480156109d957600080fd5b506109e2612102565b6040516109ef9190614d07565b60405180910390f35b348015610a0457600080fd5b50610a0d612108565b604051610a1a9190614d07565b60405180910390f35b348015610a2f57600080fd5b50610a4a6004803603810190610a459190613f50565b61210e565b005b348015610a5857600080fd5b50610a736004803603810190610a6e9190613cbd565b6125d4565b604051610a80919061478a565b60405180910390f35b348015610a9557600080fd5b50610ab06004803603810190610aab9190613fd0565b612668565b604051610abd919061478a565b60405180910390f35b348015610ad257600080fd5b50610aed6004803603810190610ae89190613c63565b6126b8565b005b348015610afb57600080fd5b50610b046127b0565b604051610b119190614d07565b60405180910390f35b600060125414610b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b56906147e7565b60405180910390fd5b600060135414610ba4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9b90614c87565b60405180910390fd5b60006011541415610bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be190614c07565b60405180910390fd5b6000610bf46127b6565b9050600e548110158015610c0a57506000600f54115b610c49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4090614827565b60405180910390fd5b610c576011546127106127dc565b601281905550610c6a60115460086127dc565b60138190555060ff60115443610c809190614f01565b1115610cc257610c9e600143610c969190614f01565b6127106127dc565b601281905550610cbb600143610cb49190614f01565b60086127dc565b6013819055505b60006012541415610ce65760126000815480929190610ce090615094565b91905055505b60006013541415610d0a5760136000815480929190610d0490615094565b91905055505b6013546012547f78350484f1ffcc8f055a7c88028cb214465df9c18d7d2b8c6584ab2389c4bceb60405160405180910390a350565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610db25750610db1826127f6565b5b9050919050565b606060008054610dc890615006565b80601f0160208091040260200160405190810160405280929190818152602001828054610df490615006565b8015610e415780601f10610e1657610100808354040283529160200191610e41565b820191906000526020600020905b815481529060010190602001808311610e2457829003601f168201915b5050505050905090565b6000610e56826128d8565b610e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8c90614b27565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610edb826116bf565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4390614be7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f6b612944565b73ffffffffffffffffffffffffffffffffffffffff161480610f9a5750610f9981610f94612944565b6125d4565b5b610fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd090614a27565b60405180910390fd5b610fe3838361294c565b505050565b601481565b610ff5612944565b73ffffffffffffffffffffffffffffffffffffffff166110136118bd565b73ffffffffffffffffffffffffffffffffffffffff1614611069576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106090614b47565b60405180910390fd5b601060009054906101000a900460ff166110b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110af90614a87565b60405180910390fd5b60006110c2611afa565b90506000601060006101000a81548160ff0219169083151502179055506110e76127b6565b817f11be19c514ca2377de0ba482bedfd33a9a262050819cf2b8bc52c04298447f3060405160405180910390a350565b61111f612944565b73ffffffffffffffffffffffffffffffffffffffff1661113d6118bd565b73ffffffffffffffffffffffffffffffffffffffff1614611193576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118a90614b47565b60405180910390fd5b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b6000600880549050905090565b6111dd6111d7612944565b82612a05565b61121c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121390614c27565b60405180910390fd5b611227838383612ae3565b505050565b60115481565b600061123d83611777565b821061127e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127590614887565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600061753761ffff168210611321576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131890614bc7565b60405180910390fd5b61132a826128d8565b9050919050565b611339612944565b73ffffffffffffffffffffffffffffffffffffffff166113576118bd565b73ffffffffffffffffffffffffffffffffffffffff16146113ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a490614b47565b60405180910390fd5b601060009054906101000a900460ff16156113fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f490614847565b60405180910390fd5b81600e8190555080600c8190555042600f819055506001601060006101000a81548160ff021916908315150217905550600f54827fe7a2bd41b03361b062f9a965bb9dab248ea91b878e26faf49eabd35df4a2c4d160405160405180910390a35050565b611469612944565b73ffffffffffffffffffffffffffffffffffffffff166114876118bd565b73ffffffffffffffffffffffffffffffffffffffff16146114dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d490614b47565b60405180910390fd5b60004790506114f36114ed6118bd565b82612d3f565b50565b61151183838360405180602001604052806000815250611bc7565b505050565b6000600d546115236111bf565b61152d9190614f01565b905090565b600061153c6111bf565b821061157d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157490614c47565b60405180910390fd5b60088281548110611591576115906151ca565b5b90600052602060002001549050919050565b6115ab612944565b73ffffffffffffffffffffffffffffffffffffffff166115c96118bd565b73ffffffffffffffffffffffffffffffffffffffff161461161f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161690614b47565b60405180910390fd5b8060169080519060200190611635929190613a38565b5050565b600080600f541161167f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167690614ce7565b60405180910390fd5b600e5461168a6127b6565b1061169857600090506116b6565b42600e54600f546116a99190614e20565b6116b39190614f01565b90505b90565b61271081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175f90614a67565b60405180910390fd5b80915050919050565b600f5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117df90614a47565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611837612944565b73ffffffffffffffffffffffffffffffffffffffff166118556118bd565b73ffffffffffffffffffffffffffffffffffffffff16146118ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a290614b47565b60405180910390fd5b6118b56000612e33565b565b60125481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546118f690615006565b80601f016020809104026020016040519081016040528092919081815260200182805461192290615006565b801561196f5780601f106119445761010080835404028352916020019161196f565b820191906000526020600020905b81548152906001019060200180831161195257829003601f168201915b5050505050905090565b611981612944565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e690614947565b60405180910390fd5b80600560006119fc612944565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611aa9612944565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611aee919061478a565b60405180910390a35050565b6000601060009054906101000a900460ff16611b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4290614a87565b60405180910390fd5b6000611b556127b6565b9050600e548110611b7057662386f26fc10000915050611bbe565b6000600e54600c5483600e54611b869190614f01565b611b909190614ea7565b611b9a9190614e76565b9050662386f26fc100008111611bb757662386f26fc10000611bb9565b805b925050505b90565b60135481565b611bd8611bd2612944565b83612a05565b611c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0e90614c27565b60405180910390fd5b611c2384848484612ef9565b50505050565b601060009054906101000a900460ff1681565b60008060458360ff161415611ca9576015600085815260200190815260200160002054905060008111611ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9b90614907565b60405180910390fd5b611cb9565b611cb68360ff1685612f55565b90505b611cc2816128d8565b611d01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf890614b67565b60405180910390fd5b8091505092915050565b600881565b601060009054906101000a900460ff16611d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5690614a87565b60405180910390fd5b6002600b541415611da5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9c90614ca7565b60405180910390fd5b6002600b8190555061271081600d54611dbe9190614e20565b1115611dff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df690614aa7565b60405180910390fd5b60008111611e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3990614807565b60405180910390fd5b6014811115611e86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7d90614ac7565b60405180910390fd5b600081611e91611afa565b611e9b9190614ea7565b905034811115611ee0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed790614967565b60405180910390fd5b60006012541415611ef357436011819055505b60005b82811015611f48576000600d549050612710600d541015611f3457600d6000815480929190611f2490615094565b9190505550611f333382612fcb565b5b508080611f4090615094565b915050611ef6565b5080341115611f6757611f66338234611f619190614f01565b612d3f565b5b506001600b8190555050565b6060611f7e826128d8565b611fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb490614ba7565b60405180910390fd5b6000611fc7612fe9565b90506000815111611fe75760405180602001604052806000815250612012565b80611ff18461307b565b6040516020016120029291906146c1565b6040516020818303038152906040525b915050919050565b600c5481565b612028612944565b73ffffffffffffffffffffffffffffffffffffffff166120466118bd565b73ffffffffffffffffffffffffffffffffffffffff161461209c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209390614b47565b60405180910390fd5b601060019054906101000a900460ff1615601060016101000a81548160ff021916908315150217905550565b601060019054906101000a900460ff1681565b604051806060016040528060408152602001615d346040913981565b662386f26fc1000081565b600d5481565b61271081565b6002600b541415612154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214b90614ca7565b60405180910390fd5b6002600b81905550601060019054906101000a900460ff166121ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a2906149c7565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161221b9190614d07565b60206040518083038186803b15801561223357600080fd5b505afa158015612247573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061226b9190613c90565b73ffffffffffffffffffffffffffffffffffffffff16146122c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b890614867565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1662fdd58e33856040518363ffffffff1660e01b815260040161231d929190614761565b60206040518083038186803b15801561233557600080fd5b505afa158015612349573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061236d9190613f23565b116123ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a4906147c7565b60405180910390fd5b600060458314156124da5761753761ffff16601460009054906101000a900461ffff1661ffff161115612415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240c90614a07565b60405180910390fd5b600060156000848152602001908152602001600020541461246b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246290614cc7565b60405180910390fd5b601460009054906101000a900461ffff1661ffff1690508060156000848152602001908152602001600020819055506014600081819054906101000a900461ffff16809291906124ba90615069565b91906101000a81548161ffff021916908361ffff16021790555050612530565b6124e48383612f55565b90506124ef816128d8565b1561252f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252690614ae7565b60405180910390fd5b5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370ff9ea384336040518363ffffffff1660e01b815260040161258b929190614d22565b600060405180830381600087803b1580156125a557600080fd5b505af11580156125b9573d6000803e3d6000fd5b505050506125c73382612fcb565b506001600b819055505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600060458360ff16141561269457600060156000848152602001908152602001600020541190506126b2565b60006126a38460ff1684612f55565b90506126ae816128d8565b9150505b92915050565b6126c0612944565b73ffffffffffffffffffffffffffffffffffffffff166126de6118bd565b73ffffffffffffffffffffffffffffffffffffffff1614612734576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272b90614b47565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279b906148c7565b60405180910390fd5b6127ad81612e33565b50565b600e5481565b600080600f54116127c85760006127d7565b600f54426127d69190614f01565b5b905090565b600081834060001c6127ee91906150dd565b905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128c157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128d157506128d0826131dc565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166129bf836116bf565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612a10826128d8565b612a4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a46906149e7565b60405180910390fd5b6000612a5a836116bf565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612ac957508373ffffffffffffffffffffffffffffffffffffffff16612ab184610e4b565b73ffffffffffffffffffffffffffffffffffffffff16145b80612ada5750612ad981856125d4565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612b03826116bf565b73ffffffffffffffffffffffffffffffffffffffff1614612b59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5090614b87565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc090614927565b60405180910390fd5b612bd4838383613246565b612bdf60008261294c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c2f9190614f01565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c869190614e20565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b80471015612d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d79906149a7565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612da8906146e5565b60006040518083038185875af1925050503d8060008114612de5576040519150601f19603f3d011682016040523d82523d6000602084013e612dea565b606091505b5050905080612e2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2590614987565b60405180910390fd5b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612f04848484612ae3565b612f108484848461335a565b612f4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f46906148a7565b60405180910390fd5b50505050565b60006045831415612f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9290614c67565b60405180910390fd5b61271083600260ff1684612faf9190614ea7565b612fb99190614e20565b612fc39190614e20565b905092915050565b612fe58282604051806020016040528060008152506134f1565b5050565b606060168054612ff890615006565b80601f016020809104026020016040519081016040528092919081815260200182805461302490615006565b80156130715780601f1061304657610100808354040283529160200191613071565b820191906000526020600020905b81548152906001019060200180831161305457829003601f168201915b5050505050905090565b606060008214156130c3576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506131d7565b600082905060005b600082146130f55780806130de90615094565b915050600a826130ee9190614e76565b91506130cb565b60008167ffffffffffffffff811115613111576131106151f9565b5b6040519080825280601f01601f1916602001820160405280156131435781602001600182028036833780820191505090505b5090505b600085146131d05760018261315c9190614f01565b9150600a8561316b91906150dd565b60306131779190614e20565b60f81b81838151811061318d5761318c6151ca565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131c99190614e76565b9450613147565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61325183838361354c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132945761328f81613551565b6132d3565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132d2576132d1838261359a565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133165761331181613707565b613355565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146133545761335382826137d8565b5b5b505050565b600061337b8473ffffffffffffffffffffffffffffffffffffffff16613857565b156134e4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026133a4612944565b8786866040518563ffffffff1660e01b81526004016133c69493929190614715565b602060405180830381600087803b1580156133e057600080fd5b505af192505050801561341157506040513d601f19601f8201168201806040525081019061340e9190613e80565b60015b613494573d8060008114613441576040519150601f19603f3d011682016040523d82523d6000602084013e613446565b606091505b5060008151141561348c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613483906148a7565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506134e9565b600190505b949350505050565b6134fb838361386a565b613508600084848461335a565b613547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161353e906148a7565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016135a784611777565b6135b19190614f01565b9050600060076000848152602001908152602001600020549050818114613696576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061371b9190614f01565b905060006009600084815260200190815260200160002054905060006008838154811061374b5761374a6151ca565b5b90600052602060002001549050806008838154811061376d5761376c6151ca565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806137bc576137bb61519b565b5b6001900381819060005260206000200160009055905550505050565b60006137e383611777565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138d190614b07565b60405180910390fd5b6138e3816128d8565b15613923576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391a906148e7565b60405180910390fd5b61392f60008383613246565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461397f9190614e20565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054613a4490615006565b90600052602060002090601f016020900481019282613a665760008555613aad565b82601f10613a7f57805160ff1916838001178555613aad565b82800160010185558215613aad579182015b82811115613aac578251825591602001919060010190613a91565b5b509050613aba9190613abe565b5090565b5b80821115613ad7576000816000905550600101613abf565b5090565b6000613aee613ae984614d70565b614d4b565b905082815260208101848484011115613b0a57613b0961522d565b5b613b15848285614fc4565b509392505050565b6000613b30613b2b84614da1565b614d4b565b905082815260208101848484011115613b4c57613b4b61522d565b5b613b57848285614fc4565b509392505050565b600081359050613b6e81615cc0565b92915050565b600081519050613b8381615cc0565b92915050565b600081359050613b9881615cd7565b92915050565b600081359050613bad81615cee565b92915050565b600081519050613bc281615cee565b92915050565b600082601f830112613bdd57613bdc615228565b5b8135613bed848260208601613adb565b91505092915050565b600082601f830112613c0b57613c0a615228565b5b8135613c1b848260208601613b1d565b91505092915050565b600081359050613c3381615d05565b92915050565b600081519050613c4881615d05565b92915050565b600081359050613c5d81615d1c565b92915050565b600060208284031215613c7957613c78615237565b5b6000613c8784828501613b5f565b91505092915050565b600060208284031215613ca657613ca5615237565b5b6000613cb484828501613b74565b91505092915050565b60008060408385031215613cd457613cd3615237565b5b6000613ce285828601613b5f565b9250506020613cf385828601613b5f565b9150509250929050565b600080600060608486031215613d1657613d15615237565b5b6000613d2486828701613b5f565b9350506020613d3586828701613b5f565b9250506040613d4686828701613c24565b9150509250925092565b60008060008060808587031215613d6a57613d69615237565b5b6000613d7887828801613b5f565b9450506020613d8987828801613b5f565b9350506040613d9a87828801613c24565b925050606085013567ffffffffffffffff811115613dbb57613dba615232565b5b613dc787828801613bc8565b91505092959194509250565b60008060408385031215613dea57613de9615237565b5b6000613df885828601613b5f565b9250506020613e0985828601613b89565b9150509250929050565b60008060408385031215613e2a57613e29615237565b5b6000613e3885828601613b5f565b9250506020613e4985828601613c24565b9150509250929050565b600060208284031215613e6957613e68615237565b5b6000613e7784828501613b9e565b91505092915050565b600060208284031215613e9657613e95615237565b5b6000613ea484828501613bb3565b91505092915050565b600060208284031215613ec357613ec2615237565b5b600082013567ffffffffffffffff811115613ee157613ee0615232565b5b613eed84828501613bf6565b91505092915050565b600060208284031215613f0c57613f0b615237565b5b6000613f1a84828501613c24565b91505092915050565b600060208284031215613f3957613f38615237565b5b6000613f4784828501613c39565b91505092915050565b60008060408385031215613f6757613f66615237565b5b6000613f7585828601613c24565b9250506020613f8685828601613c24565b9150509250929050565b60008060408385031215613fa757613fa6615237565b5b6000613fb585828601613c24565b9250506020613fc685828601613c4e565b9150509250929050565b60008060408385031215613fe757613fe6615237565b5b6000613ff585828601613c4e565b925050602061400685828601613c24565b9150509250929050565b61401981614f35565b82525050565b61402881614f47565b82525050565b600061403982614dd2565b6140438185614de8565b9350614053818560208601614fd3565b61405c8161523c565b840191505092915050565b600061407282614ddd565b61407c8185614e04565b935061408c818560208601614fd3565b6140958161523c565b840191505092915050565b60006140ab82614ddd565b6140b58185614e15565b93506140c5818560208601614fd3565b80840191505092915050565b60006140de603283614e04565b91506140e98261524d565b604082019050919050565b6000614101602c83614e04565b915061410c8261529c565b604082019050919050565b6000614124601d83614e04565b915061412f826152eb565b602082019050919050565b6000614147602583614e04565b915061415282615314565b604082019050919050565b600061416a601d83614e04565b915061417582615363565b602082019050919050565b600061418d602c83614e04565b91506141988261538c565b604082019050919050565b60006141b0602b83614e04565b91506141bb826153db565b604082019050919050565b60006141d3603283614e04565b91506141de8261542a565b604082019050919050565b60006141f6602683614e04565b915061420182615479565b604082019050919050565b6000614219601c83614e04565b9150614224826154c8565b602082019050919050565b600061423c601683614e04565b9150614247826154f1565b602082019050919050565b600061425f602483614e04565b915061426a8261551a565b604082019050919050565b6000614282601983614e04565b915061428d82615569565b602082019050919050565b60006142a5601f83614e04565b91506142b082615592565b602082019050919050565b60006142c8603a83614e04565b91506142d3826155bb565b604082019050919050565b60006142eb601d83614e04565b91506142f68261560a565b602082019050919050565b600061430e601c83614e04565b915061431982615633565b602082019050919050565b6000614331602c83614e04565b915061433c8261565c565b604082019050919050565b6000614354603383614e04565b915061435f826156ab565b604082019050919050565b6000614377603883614e04565b9150614382826156fa565b604082019050919050565b600061439a602a83614e04565b91506143a582615749565b604082019050919050565b60006143bd602983614e04565b91506143c882615798565b604082019050919050565b60006143e0601983614e04565b91506143eb826157e7565b602082019050919050565b6000614403601f83614e04565b915061440e82615810565b602082019050919050565b6000614426602083614e04565b915061443182615839565b602082019050919050565b6000614449602b83614e04565b915061445482615862565b604082019050919050565b600061446c602083614e04565b9150614477826158b1565b602082019050919050565b600061448f602c83614e04565b915061449a826158da565b604082019050919050565b60006144b2602083614e04565b91506144bd82615929565b602082019050919050565b60006144d5601c83614e04565b91506144e082615952565b602082019050919050565b60006144f8602983614e04565b91506145038261597b565b604082019050919050565b600061451b602f83614e04565b9150614526826159ca565b604082019050919050565b600061453e602183614e04565b915061454982615a19565b604082019050919050565b6000614561602183614e04565b915061456c82615a68565b604082019050919050565b6000614584602083614e04565b915061458f82615ab7565b602082019050919050565b60006145a7600083614df9565b91506145b282615ae0565b600082019050919050565b60006145ca603183614e04565b91506145d582615ae3565b604082019050919050565b60006145ed602c83614e04565b91506145f882615b32565b604082019050919050565b6000614610602283614e04565b915061461b82615b81565b604082019050919050565b6000614633602a83614e04565b915061463e82615bd0565b604082019050919050565b6000614656601f83614e04565b915061466182615c1f565b602082019050919050565b6000614679602c83614e04565b915061468482615c48565b604082019050919050565b600061469c601e83614e04565b91506146a782615c97565b602082019050919050565b6146bb81614fad565b82525050565b60006146cd82856140a0565b91506146d982846140a0565b91508190509392505050565b60006146f08261459a565b9150819050919050565b600060208201905061470f6000830184614010565b92915050565b600060808201905061472a6000830187614010565b6147376020830186614010565b61474460408301856146b2565b8181036060830152614756818461402e565b905095945050505050565b60006040820190506147766000830185614010565b61478360208301846146b2565b9392505050565b600060208201905061479f600083018461401f565b92915050565b600060208201905081810360008301526147bf8184614067565b905092915050565b600060208201905081810360008301526147e0816140d1565b9050919050565b60006020820190508181036000830152614800816140f4565b9050919050565b6000602082019050818103600083015261482081614117565b9050919050565b600060208201905081810360008301526148408161413a565b9050919050565b600060208201905081810360008301526148608161415d565b9050919050565b6000602082019050818103600083015261488081614180565b9050919050565b600060208201905081810360008301526148a0816141a3565b9050919050565b600060208201905081810360008301526148c0816141c6565b9050919050565b600060208201905081810360008301526148e0816141e9565b9050919050565b600060208201905081810360008301526149008161420c565b9050919050565b600060208201905081810360008301526149208161422f565b9050919050565b6000602082019050818103600083015261494081614252565b9050919050565b6000602082019050818103600083015261496081614275565b9050919050565b6000602082019050818103600083015261498081614298565b9050919050565b600060208201905081810360008301526149a0816142bb565b9050919050565b600060208201905081810360008301526149c0816142de565b9050919050565b600060208201905081810360008301526149e081614301565b9050919050565b60006020820190508181036000830152614a0081614324565b9050919050565b60006020820190508181036000830152614a2081614347565b9050919050565b60006020820190508181036000830152614a408161436a565b9050919050565b60006020820190508181036000830152614a608161438d565b9050919050565b60006020820190508181036000830152614a80816143b0565b9050919050565b60006020820190508181036000830152614aa0816143d3565b9050919050565b60006020820190508181036000830152614ac0816143f6565b9050919050565b60006020820190508181036000830152614ae081614419565b9050919050565b60006020820190508181036000830152614b008161443c565b9050919050565b60006020820190508181036000830152614b208161445f565b9050919050565b60006020820190508181036000830152614b4081614482565b9050919050565b60006020820190508181036000830152614b60816144a5565b9050919050565b60006020820190508181036000830152614b80816144c8565b9050919050565b60006020820190508181036000830152614ba0816144eb565b9050919050565b60006020820190508181036000830152614bc08161450e565b9050919050565b60006020820190508181036000830152614be081614531565b9050919050565b60006020820190508181036000830152614c0081614554565b9050919050565b60006020820190508181036000830152614c2081614577565b9050919050565b60006020820190508181036000830152614c40816145bd565b9050919050565b60006020820190508181036000830152614c60816145e0565b9050919050565b60006020820190508181036000830152614c8081614603565b9050919050565b60006020820190508181036000830152614ca081614626565b9050919050565b60006020820190508181036000830152614cc081614649565b9050919050565b60006020820190508181036000830152614ce08161466c565b9050919050565b60006020820190508181036000830152614d008161468f565b9050919050565b6000602082019050614d1c60008301846146b2565b92915050565b6000604082019050614d3760008301856146b2565b614d446020830184614010565b9392505050565b6000614d55614d66565b9050614d618282615038565b919050565b6000604051905090565b600067ffffffffffffffff821115614d8b57614d8a6151f9565b5b614d948261523c565b9050602081019050919050565b600067ffffffffffffffff821115614dbc57614dbb6151f9565b5b614dc58261523c565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e2b82614fad565b9150614e3683614fad565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e6b57614e6a61510e565b5b828201905092915050565b6000614e8182614fad565b9150614e8c83614fad565b925082614e9c57614e9b61513d565b5b828204905092915050565b6000614eb282614fad565b9150614ebd83614fad565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ef657614ef561510e565b5b828202905092915050565b6000614f0c82614fad565b9150614f1783614fad565b925082821015614f2a57614f2961510e565b5b828203905092915050565b6000614f4082614f8d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614ff1578082015181840152602081019050614fd6565b83811115615000576000848401525b50505050565b6000600282049050600182168061501e57607f821691505b602082108114156150325761503161516c565b5b50919050565b6150418261523c565b810181811067ffffffffffffffff821117156150605761505f6151f9565b5b80604052505050565b600061507482614f7f565b915061ffff8214156150895761508861510e565b5b600182019050919050565b600061509f82614fad565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156150d2576150d161510e565b5b600182019050919050565b60006150e882614fad565b91506150f383614fad565b9250826151035761510261513d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4d757374206f776e206174206c65617374206f6e65206f66207468697320736560008201527f72756d207479706520746f206d75746174650000000000000000000000000000602082015250565b7f4d696e746564204d7574616e7473207374617274696e6720696e64657820697360008201527f20616c7265616479207365740000000000000000000000000000000000000000602082015250565b7f4d757374206d696e74206174206c65617374206f6e65206d7574616e74000000600082015250565b7f496e76616c6964207365745374617274696e67496e646963657320636f6e646960008201527f74696f6e73000000000000000000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c652068617320616c726561647920626567756e000000600082015250565b7f4d757374206f776e207468652061706520796f7527726520617474656d70746960008201527f6e6720746f206d75746174650000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f496e76616c6964204d454741204d7574616e7420496400000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f536572756d204d75746174696f6e206973206e6f742061637469766500000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f576f756c642065786365656420737570706c79206f6620736572756d2d6d757460008201527f617461626c65204d454741204d5554414e545300000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b7f526571756573746564206e756d6265722065786365656473206d6178696d756d600082015250565b7f41706520616c7265616479206d7574617465642077697468207468697320747960008201527f7065206f6620736572756d000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f517565727920666f72206e6f6e6578697374656e74206d7574616e7400000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f746f6b656e4964206f75747369646520636f6c6c656374696f6e20626f756e6460008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820626c6f636b206d75737420626520736574600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d656761206d7574616e742049442063616e27742062652063616c63756c617460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d656761204d7574616e7473207374617274696e6720696e646578206973206160008201527f6c72656164792073657400000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f41706520616c7265616479206d7574617465642077697468204d454741204d5560008201527f544154494f4e20534552554d0000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c65206861736e27742073746172746564207965740000600082015250565b615cc981614f35565b8114615cd457600080fd5b50565b615ce081614f47565b8114615ceb57600080fd5b50565b615cf781614f53565b8114615d0257600080fd5b50565b615d0e81614fad565b8114615d1957600080fd5b50565b615d2581614fb7565b8114615d3057600080fd5b5056fe63613731353163633433366461306463336133643636323639346638633964613561653339613733353566616261616663303065366161353830393237313735a26469706673582212200f24eaff1663dbccb8bf7ccf54dbb97af19bbf48fe812519a34340e56dfbb40364736f6c63430008060033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d00000000000000000000000022c36bfdcef207f9c0cc941936eff94d4246d14a00000000000000000000000000000000000000000000000000000000000000124d7574616e744170655961636874436c7562000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d41594300000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102ad5760003560e01c8063715018a611610175578063c87b56dd116100dc578063e43437c811610095578063e985e9c51161006f578063e985e9c514610a4c578063ee21123314610a89578063f2fde38b14610ac6578063fd48354e14610aef576102ad565b8063e43437c8146109cd578063e6f0df8c146109f8578063e73a9a2514610a23576102ad565b8063c87b56dd146108cd578063c973d72d1461090a578063d0b77feb14610935578063e1c3ad0c1461094c578063e2d9f68514610977578063e3764a8b146109a2576102ad565b8063b23142e21161012e578063b23142e2146107ca578063b88d4fde146107f5578063bc8893b41461081e578063bd5e5e0c14610849578063c0bb92ea14610886578063c15e24bc146108b1576102ad565b8063715018a6146106de578063725ae16c146106f55780638da5cb5b1461072057806395d89b411461074b578063a22cb46514610776578063a7f93ebd1461079f576102ad565b806333c41a901161021957806355f804b3116101d257806355f804b3146105ba578063567ac4f6146105e357806361169ea81461060e5780636352211e146106395780636bb7b1d91461067657806370a08231146106a1576102ad565b806333c41a90146104ac5780633a12e933146104e95780633ccfd60b1461051257806342842e0e1461052957806348cd4f08146105525780634f6ccce71461057d576102ad565b80630c41f4971161026b5780630c41f497146103c25780630c894cfe146103d957806318160ddd146103f057806323b872dd1461041b5780632f2eda31146104445780632f745c591461046f576102ad565b8062dbabc7146102b257806301ffc9a7146102c957806306fdde0314610306578063081812fc14610331578063095ea7b31461036e5780630af7f2b814610397575b600080fd5b3480156102be57600080fd5b506102c7610b1a565b005b3480156102d557600080fd5b506102f060048036038101906102eb9190613e53565b610d3f565b6040516102fd919061478a565b60405180910390f35b34801561031257600080fd5b5061031b610db9565b60405161032891906147a5565b60405180910390f35b34801561033d57600080fd5b5061035860048036038101906103539190613ef6565b610e4b565b60405161036591906146fa565b60405180910390f35b34801561037a57600080fd5b5061039560048036038101906103909190613e13565b610ed0565b005b3480156103a357600080fd5b506103ac610fe8565b6040516103b99190614d07565b60405180910390f35b3480156103ce57600080fd5b506103d7610fed565b005b3480156103e557600080fd5b506103ee611117565b005b3480156103fc57600080fd5b506104056111bf565b6040516104129190614d07565b60405180910390f35b34801561042757600080fd5b50610442600480360381019061043d9190613cfd565b6111cc565b005b34801561045057600080fd5b5061045961122c565b6040516104669190614d07565b60405180910390f35b34801561047b57600080fd5b5061049660048036038101906104919190613e13565b611232565b6040516104a39190614d07565b60405180910390f35b3480156104b857600080fd5b506104d360048036038101906104ce9190613ef6565b6112d7565b6040516104e0919061478a565b60405180910390f35b3480156104f557600080fd5b50610510600480360381019061050b9190613f50565b611331565b005b34801561051e57600080fd5b50610527611461565b005b34801561053557600080fd5b50610550600480360381019061054b9190613cfd565b6114f6565b005b34801561055e57600080fd5b50610567611516565b6040516105749190614d07565b60405180910390f35b34801561058957600080fd5b506105a4600480360381019061059f9190613ef6565b611532565b6040516105b19190614d07565b60405180910390f35b3480156105c657600080fd5b506105e160048036038101906105dc9190613ead565b6115a3565b005b3480156105ef57600080fd5b506105f8611639565b6040516106059190614d07565b60405180910390f35b34801561061a57600080fd5b506106236116b9565b6040516106309190614d07565b60405180910390f35b34801561064557600080fd5b50610660600480360381019061065b9190613ef6565b6116bf565b60405161066d91906146fa565b60405180910390f35b34801561068257600080fd5b5061068b611771565b6040516106989190614d07565b60405180910390f35b3480156106ad57600080fd5b506106c860048036038101906106c39190613c63565b611777565b6040516106d59190614d07565b60405180910390f35b3480156106ea57600080fd5b506106f361182f565b005b34801561070157600080fd5b5061070a6118b7565b6040516107179190614d07565b60405180910390f35b34801561072c57600080fd5b506107356118bd565b60405161074291906146fa565b60405180910390f35b34801561075757600080fd5b506107606118e7565b60405161076d91906147a5565b60405180910390f35b34801561078257600080fd5b5061079d60048036038101906107989190613dd3565b611979565b005b3480156107ab57600080fd5b506107b4611afa565b6040516107c19190614d07565b60405180910390f35b3480156107d657600080fd5b506107df611bc1565b6040516107ec9190614d07565b60405180910390f35b34801561080157600080fd5b5061081c60048036038101906108179190613d50565b611bc7565b005b34801561082a57600080fd5b50610833611c29565b604051610840919061478a565b60405180910390f35b34801561085557600080fd5b50610870600480360381019061086b9190613f90565b611c3c565b60405161087d9190614d07565b60405180910390f35b34801561089257600080fd5b5061089b611d0b565b6040516108a89190614d07565b60405180910390f35b6108cb60048036038101906108c69190613ef6565b611d10565b005b3480156108d957600080fd5b506108f460048036038101906108ef9190613ef6565b611f73565b60405161090191906147a5565b60405180910390f35b34801561091657600080fd5b5061091f61201a565b60405161092c9190614d07565b60405180910390f35b34801561094157600080fd5b5061094a612020565b005b34801561095857600080fd5b506109616120c8565b60405161096e919061478a565b60405180910390f35b34801561098357600080fd5b5061098c6120db565b60405161099991906147a5565b60405180910390f35b3480156109ae57600080fd5b506109b76120f7565b6040516109c49190614d07565b60405180910390f35b3480156109d957600080fd5b506109e2612102565b6040516109ef9190614d07565b60405180910390f35b348015610a0457600080fd5b50610a0d612108565b604051610a1a9190614d07565b60405180910390f35b348015610a2f57600080fd5b50610a4a6004803603810190610a459190613f50565b61210e565b005b348015610a5857600080fd5b50610a736004803603810190610a6e9190613cbd565b6125d4565b604051610a80919061478a565b60405180910390f35b348015610a9557600080fd5b50610ab06004803603810190610aab9190613fd0565b612668565b604051610abd919061478a565b60405180910390f35b348015610ad257600080fd5b50610aed6004803603810190610ae89190613c63565b6126b8565b005b348015610afb57600080fd5b50610b046127b0565b604051610b119190614d07565b60405180910390f35b600060125414610b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b56906147e7565b60405180910390fd5b600060135414610ba4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9b90614c87565b60405180910390fd5b60006011541415610bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be190614c07565b60405180910390fd5b6000610bf46127b6565b9050600e548110158015610c0a57506000600f54115b610c49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4090614827565b60405180910390fd5b610c576011546127106127dc565b601281905550610c6a60115460086127dc565b60138190555060ff60115443610c809190614f01565b1115610cc257610c9e600143610c969190614f01565b6127106127dc565b601281905550610cbb600143610cb49190614f01565b60086127dc565b6013819055505b60006012541415610ce65760126000815480929190610ce090615094565b91905055505b60006013541415610d0a5760136000815480929190610d0490615094565b91905055505b6013546012547f78350484f1ffcc8f055a7c88028cb214465df9c18d7d2b8c6584ab2389c4bceb60405160405180910390a350565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610db25750610db1826127f6565b5b9050919050565b606060008054610dc890615006565b80601f0160208091040260200160405190810160405280929190818152602001828054610df490615006565b8015610e415780601f10610e1657610100808354040283529160200191610e41565b820191906000526020600020905b815481529060010190602001808311610e2457829003601f168201915b5050505050905090565b6000610e56826128d8565b610e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8c90614b27565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610edb826116bf565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4390614be7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f6b612944565b73ffffffffffffffffffffffffffffffffffffffff161480610f9a5750610f9981610f94612944565b6125d4565b5b610fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd090614a27565b60405180910390fd5b610fe3838361294c565b505050565b601481565b610ff5612944565b73ffffffffffffffffffffffffffffffffffffffff166110136118bd565b73ffffffffffffffffffffffffffffffffffffffff1614611069576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106090614b47565b60405180910390fd5b601060009054906101000a900460ff166110b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110af90614a87565b60405180910390fd5b60006110c2611afa565b90506000601060006101000a81548160ff0219169083151502179055506110e76127b6565b817f11be19c514ca2377de0ba482bedfd33a9a262050819cf2b8bc52c04298447f3060405160405180910390a350565b61111f612944565b73ffffffffffffffffffffffffffffffffffffffff1661113d6118bd565b73ffffffffffffffffffffffffffffffffffffffff1614611193576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118a90614b47565b60405180910390fd5b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b6000600880549050905090565b6111dd6111d7612944565b82612a05565b61121c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121390614c27565b60405180910390fd5b611227838383612ae3565b505050565b60115481565b600061123d83611777565b821061127e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127590614887565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600061753761ffff168210611321576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131890614bc7565b60405180910390fd5b61132a826128d8565b9050919050565b611339612944565b73ffffffffffffffffffffffffffffffffffffffff166113576118bd565b73ffffffffffffffffffffffffffffffffffffffff16146113ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a490614b47565b60405180910390fd5b601060009054906101000a900460ff16156113fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f490614847565b60405180910390fd5b81600e8190555080600c8190555042600f819055506001601060006101000a81548160ff021916908315150217905550600f54827fe7a2bd41b03361b062f9a965bb9dab248ea91b878e26faf49eabd35df4a2c4d160405160405180910390a35050565b611469612944565b73ffffffffffffffffffffffffffffffffffffffff166114876118bd565b73ffffffffffffffffffffffffffffffffffffffff16146114dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d490614b47565b60405180910390fd5b60004790506114f36114ed6118bd565b82612d3f565b50565b61151183838360405180602001604052806000815250611bc7565b505050565b6000600d546115236111bf565b61152d9190614f01565b905090565b600061153c6111bf565b821061157d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157490614c47565b60405180910390fd5b60088281548110611591576115906151ca565b5b90600052602060002001549050919050565b6115ab612944565b73ffffffffffffffffffffffffffffffffffffffff166115c96118bd565b73ffffffffffffffffffffffffffffffffffffffff161461161f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161690614b47565b60405180910390fd5b8060169080519060200190611635929190613a38565b5050565b600080600f541161167f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167690614ce7565b60405180910390fd5b600e5461168a6127b6565b1061169857600090506116b6565b42600e54600f546116a99190614e20565b6116b39190614f01565b90505b90565b61271081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175f90614a67565b60405180910390fd5b80915050919050565b600f5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117df90614a47565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611837612944565b73ffffffffffffffffffffffffffffffffffffffff166118556118bd565b73ffffffffffffffffffffffffffffffffffffffff16146118ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a290614b47565b60405180910390fd5b6118b56000612e33565b565b60125481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546118f690615006565b80601f016020809104026020016040519081016040528092919081815260200182805461192290615006565b801561196f5780601f106119445761010080835404028352916020019161196f565b820191906000526020600020905b81548152906001019060200180831161195257829003601f168201915b5050505050905090565b611981612944565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e690614947565b60405180910390fd5b80600560006119fc612944565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611aa9612944565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611aee919061478a565b60405180910390a35050565b6000601060009054906101000a900460ff16611b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4290614a87565b60405180910390fd5b6000611b556127b6565b9050600e548110611b7057662386f26fc10000915050611bbe565b6000600e54600c5483600e54611b869190614f01565b611b909190614ea7565b611b9a9190614e76565b9050662386f26fc100008111611bb757662386f26fc10000611bb9565b805b925050505b90565b60135481565b611bd8611bd2612944565b83612a05565b611c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0e90614c27565b60405180910390fd5b611c2384848484612ef9565b50505050565b601060009054906101000a900460ff1681565b60008060458360ff161415611ca9576015600085815260200190815260200160002054905060008111611ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9b90614907565b60405180910390fd5b611cb9565b611cb68360ff1685612f55565b90505b611cc2816128d8565b611d01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf890614b67565b60405180910390fd5b8091505092915050565b600881565b601060009054906101000a900460ff16611d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5690614a87565b60405180910390fd5b6002600b541415611da5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9c90614ca7565b60405180910390fd5b6002600b8190555061271081600d54611dbe9190614e20565b1115611dff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df690614aa7565b60405180910390fd5b60008111611e42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3990614807565b60405180910390fd5b6014811115611e86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7d90614ac7565b60405180910390fd5b600081611e91611afa565b611e9b9190614ea7565b905034811115611ee0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed790614967565b60405180910390fd5b60006012541415611ef357436011819055505b60005b82811015611f48576000600d549050612710600d541015611f3457600d6000815480929190611f2490615094565b9190505550611f333382612fcb565b5b508080611f4090615094565b915050611ef6565b5080341115611f6757611f66338234611f619190614f01565b612d3f565b5b506001600b8190555050565b6060611f7e826128d8565b611fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb490614ba7565b60405180910390fd5b6000611fc7612fe9565b90506000815111611fe75760405180602001604052806000815250612012565b80611ff18461307b565b6040516020016120029291906146c1565b6040516020818303038152906040525b915050919050565b600c5481565b612028612944565b73ffffffffffffffffffffffffffffffffffffffff166120466118bd565b73ffffffffffffffffffffffffffffffffffffffff161461209c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209390614b47565b60405180910390fd5b601060019054906101000a900460ff1615601060016101000a81548160ff021916908315150217905550565b601060019054906101000a900460ff1681565b604051806060016040528060408152602001615d346040913981565b662386f26fc1000081565b600d5481565b61271081565b6002600b541415612154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214b90614ca7565b60405180910390fd5b6002600b81905550601060019054906101000a900460ff166121ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a2906149c7565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d73ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161221b9190614d07565b60206040518083038186803b15801561223357600080fd5b505afa158015612247573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061226b9190613c90565b73ffffffffffffffffffffffffffffffffffffffff16146122c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b890614867565b60405180910390fd5b60007f00000000000000000000000022c36bfdcef207f9c0cc941936eff94d4246d14a73ffffffffffffffffffffffffffffffffffffffff1662fdd58e33856040518363ffffffff1660e01b815260040161231d929190614761565b60206040518083038186803b15801561233557600080fd5b505afa158015612349573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061236d9190613f23565b116123ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a4906147c7565b60405180910390fd5b600060458314156124da5761753761ffff16601460009054906101000a900461ffff1661ffff161115612415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240c90614a07565b60405180910390fd5b600060156000848152602001908152602001600020541461246b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246290614cc7565b60405180910390fd5b601460009054906101000a900461ffff1661ffff1690508060156000848152602001908152602001600020819055506014600081819054906101000a900461ffff16809291906124ba90615069565b91906101000a81548161ffff021916908361ffff16021790555050612530565b6124e48383612f55565b90506124ef816128d8565b1561252f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252690614ae7565b60405180910390fd5b5b7f00000000000000000000000022c36bfdcef207f9c0cc941936eff94d4246d14a73ffffffffffffffffffffffffffffffffffffffff166370ff9ea384336040518363ffffffff1660e01b815260040161258b929190614d22565b600060405180830381600087803b1580156125a557600080fd5b505af11580156125b9573d6000803e3d6000fd5b505050506125c73382612fcb565b506001600b819055505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600060458360ff16141561269457600060156000848152602001908152602001600020541190506126b2565b60006126a38460ff1684612f55565b90506126ae816128d8565b9150505b92915050565b6126c0612944565b73ffffffffffffffffffffffffffffffffffffffff166126de6118bd565b73ffffffffffffffffffffffffffffffffffffffff1614612734576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272b90614b47565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279b906148c7565b60405180910390fd5b6127ad81612e33565b50565b600e5481565b600080600f54116127c85760006127d7565b600f54426127d69190614f01565b5b905090565b600081834060001c6127ee91906150dd565b905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128c157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128d157506128d0826131dc565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166129bf836116bf565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612a10826128d8565b612a4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a46906149e7565b60405180910390fd5b6000612a5a836116bf565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612ac957508373ffffffffffffffffffffffffffffffffffffffff16612ab184610e4b565b73ffffffffffffffffffffffffffffffffffffffff16145b80612ada5750612ad981856125d4565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612b03826116bf565b73ffffffffffffffffffffffffffffffffffffffff1614612b59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5090614b87565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc090614927565b60405180910390fd5b612bd4838383613246565b612bdf60008261294c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c2f9190614f01565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c869190614e20565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b80471015612d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d79906149a7565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612da8906146e5565b60006040518083038185875af1925050503d8060008114612de5576040519150601f19603f3d011682016040523d82523d6000602084013e612dea565b606091505b5050905080612e2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2590614987565b60405180910390fd5b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612f04848484612ae3565b612f108484848461335a565b612f4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f46906148a7565b60405180910390fd5b50505050565b60006045831415612f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9290614c67565b60405180910390fd5b61271083600260ff1684612faf9190614ea7565b612fb99190614e20565b612fc39190614e20565b905092915050565b612fe58282604051806020016040528060008152506134f1565b5050565b606060168054612ff890615006565b80601f016020809104026020016040519081016040528092919081815260200182805461302490615006565b80156130715780601f1061304657610100808354040283529160200191613071565b820191906000526020600020905b81548152906001019060200180831161305457829003601f168201915b5050505050905090565b606060008214156130c3576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506131d7565b600082905060005b600082146130f55780806130de90615094565b915050600a826130ee9190614e76565b91506130cb565b60008167ffffffffffffffff811115613111576131106151f9565b5b6040519080825280601f01601f1916602001820160405280156131435781602001600182028036833780820191505090505b5090505b600085146131d05760018261315c9190614f01565b9150600a8561316b91906150dd565b60306131779190614e20565b60f81b81838151811061318d5761318c6151ca565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131c99190614e76565b9450613147565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61325183838361354c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132945761328f81613551565b6132d3565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132d2576132d1838261359a565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133165761331181613707565b613355565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146133545761335382826137d8565b5b5b505050565b600061337b8473ffffffffffffffffffffffffffffffffffffffff16613857565b156134e4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026133a4612944565b8786866040518563ffffffff1660e01b81526004016133c69493929190614715565b602060405180830381600087803b1580156133e057600080fd5b505af192505050801561341157506040513d601f19601f8201168201806040525081019061340e9190613e80565b60015b613494573d8060008114613441576040519150601f19603f3d011682016040523d82523d6000602084013e613446565b606091505b5060008151141561348c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613483906148a7565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506134e9565b600190505b949350505050565b6134fb838361386a565b613508600084848461335a565b613547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161353e906148a7565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016135a784611777565b6135b19190614f01565b9050600060076000848152602001908152602001600020549050818114613696576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061371b9190614f01565b905060006009600084815260200190815260200160002054905060006008838154811061374b5761374a6151ca565b5b90600052602060002001549050806008838154811061376d5761376c6151ca565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806137bc576137bb61519b565b5b6001900381819060005260206000200160009055905550505050565b60006137e383611777565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138d190614b07565b60405180910390fd5b6138e3816128d8565b15613923576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391a906148e7565b60405180910390fd5b61392f60008383613246565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461397f9190614e20565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054613a4490615006565b90600052602060002090601f016020900481019282613a665760008555613aad565b82601f10613a7f57805160ff1916838001178555613aad565b82800160010185558215613aad579182015b82811115613aac578251825591602001919060010190613a91565b5b509050613aba9190613abe565b5090565b5b80821115613ad7576000816000905550600101613abf565b5090565b6000613aee613ae984614d70565b614d4b565b905082815260208101848484011115613b0a57613b0961522d565b5b613b15848285614fc4565b509392505050565b6000613b30613b2b84614da1565b614d4b565b905082815260208101848484011115613b4c57613b4b61522d565b5b613b57848285614fc4565b509392505050565b600081359050613b6e81615cc0565b92915050565b600081519050613b8381615cc0565b92915050565b600081359050613b9881615cd7565b92915050565b600081359050613bad81615cee565b92915050565b600081519050613bc281615cee565b92915050565b600082601f830112613bdd57613bdc615228565b5b8135613bed848260208601613adb565b91505092915050565b600082601f830112613c0b57613c0a615228565b5b8135613c1b848260208601613b1d565b91505092915050565b600081359050613c3381615d05565b92915050565b600081519050613c4881615d05565b92915050565b600081359050613c5d81615d1c565b92915050565b600060208284031215613c7957613c78615237565b5b6000613c8784828501613b5f565b91505092915050565b600060208284031215613ca657613ca5615237565b5b6000613cb484828501613b74565b91505092915050565b60008060408385031215613cd457613cd3615237565b5b6000613ce285828601613b5f565b9250506020613cf385828601613b5f565b9150509250929050565b600080600060608486031215613d1657613d15615237565b5b6000613d2486828701613b5f565b9350506020613d3586828701613b5f565b9250506040613d4686828701613c24565b9150509250925092565b60008060008060808587031215613d6a57613d69615237565b5b6000613d7887828801613b5f565b9450506020613d8987828801613b5f565b9350506040613d9a87828801613c24565b925050606085013567ffffffffffffffff811115613dbb57613dba615232565b5b613dc787828801613bc8565b91505092959194509250565b60008060408385031215613dea57613de9615237565b5b6000613df885828601613b5f565b9250506020613e0985828601613b89565b9150509250929050565b60008060408385031215613e2a57613e29615237565b5b6000613e3885828601613b5f565b9250506020613e4985828601613c24565b9150509250929050565b600060208284031215613e6957613e68615237565b5b6000613e7784828501613b9e565b91505092915050565b600060208284031215613e9657613e95615237565b5b6000613ea484828501613bb3565b91505092915050565b600060208284031215613ec357613ec2615237565b5b600082013567ffffffffffffffff811115613ee157613ee0615232565b5b613eed84828501613bf6565b91505092915050565b600060208284031215613f0c57613f0b615237565b5b6000613f1a84828501613c24565b91505092915050565b600060208284031215613f3957613f38615237565b5b6000613f4784828501613c39565b91505092915050565b60008060408385031215613f6757613f66615237565b5b6000613f7585828601613c24565b9250506020613f8685828601613c24565b9150509250929050565b60008060408385031215613fa757613fa6615237565b5b6000613fb585828601613c24565b9250506020613fc685828601613c4e565b9150509250929050565b60008060408385031215613fe757613fe6615237565b5b6000613ff585828601613c4e565b925050602061400685828601613c24565b9150509250929050565b61401981614f35565b82525050565b61402881614f47565b82525050565b600061403982614dd2565b6140438185614de8565b9350614053818560208601614fd3565b61405c8161523c565b840191505092915050565b600061407282614ddd565b61407c8185614e04565b935061408c818560208601614fd3565b6140958161523c565b840191505092915050565b60006140ab82614ddd565b6140b58185614e15565b93506140c5818560208601614fd3565b80840191505092915050565b60006140de603283614e04565b91506140e98261524d565b604082019050919050565b6000614101602c83614e04565b915061410c8261529c565b604082019050919050565b6000614124601d83614e04565b915061412f826152eb565b602082019050919050565b6000614147602583614e04565b915061415282615314565b604082019050919050565b600061416a601d83614e04565b915061417582615363565b602082019050919050565b600061418d602c83614e04565b91506141988261538c565b604082019050919050565b60006141b0602b83614e04565b91506141bb826153db565b604082019050919050565b60006141d3603283614e04565b91506141de8261542a565b604082019050919050565b60006141f6602683614e04565b915061420182615479565b604082019050919050565b6000614219601c83614e04565b9150614224826154c8565b602082019050919050565b600061423c601683614e04565b9150614247826154f1565b602082019050919050565b600061425f602483614e04565b915061426a8261551a565b604082019050919050565b6000614282601983614e04565b915061428d82615569565b602082019050919050565b60006142a5601f83614e04565b91506142b082615592565b602082019050919050565b60006142c8603a83614e04565b91506142d3826155bb565b604082019050919050565b60006142eb601d83614e04565b91506142f68261560a565b602082019050919050565b600061430e601c83614e04565b915061431982615633565b602082019050919050565b6000614331602c83614e04565b915061433c8261565c565b604082019050919050565b6000614354603383614e04565b915061435f826156ab565b604082019050919050565b6000614377603883614e04565b9150614382826156fa565b604082019050919050565b600061439a602a83614e04565b91506143a582615749565b604082019050919050565b60006143bd602983614e04565b91506143c882615798565b604082019050919050565b60006143e0601983614e04565b91506143eb826157e7565b602082019050919050565b6000614403601f83614e04565b915061440e82615810565b602082019050919050565b6000614426602083614e04565b915061443182615839565b602082019050919050565b6000614449602b83614e04565b915061445482615862565b604082019050919050565b600061446c602083614e04565b9150614477826158b1565b602082019050919050565b600061448f602c83614e04565b915061449a826158da565b604082019050919050565b60006144b2602083614e04565b91506144bd82615929565b602082019050919050565b60006144d5601c83614e04565b91506144e082615952565b602082019050919050565b60006144f8602983614e04565b91506145038261597b565b604082019050919050565b600061451b602f83614e04565b9150614526826159ca565b604082019050919050565b600061453e602183614e04565b915061454982615a19565b604082019050919050565b6000614561602183614e04565b915061456c82615a68565b604082019050919050565b6000614584602083614e04565b915061458f82615ab7565b602082019050919050565b60006145a7600083614df9565b91506145b282615ae0565b600082019050919050565b60006145ca603183614e04565b91506145d582615ae3565b604082019050919050565b60006145ed602c83614e04565b91506145f882615b32565b604082019050919050565b6000614610602283614e04565b915061461b82615b81565b604082019050919050565b6000614633602a83614e04565b915061463e82615bd0565b604082019050919050565b6000614656601f83614e04565b915061466182615c1f565b602082019050919050565b6000614679602c83614e04565b915061468482615c48565b604082019050919050565b600061469c601e83614e04565b91506146a782615c97565b602082019050919050565b6146bb81614fad565b82525050565b60006146cd82856140a0565b91506146d982846140a0565b91508190509392505050565b60006146f08261459a565b9150819050919050565b600060208201905061470f6000830184614010565b92915050565b600060808201905061472a6000830187614010565b6147376020830186614010565b61474460408301856146b2565b8181036060830152614756818461402e565b905095945050505050565b60006040820190506147766000830185614010565b61478360208301846146b2565b9392505050565b600060208201905061479f600083018461401f565b92915050565b600060208201905081810360008301526147bf8184614067565b905092915050565b600060208201905081810360008301526147e0816140d1565b9050919050565b60006020820190508181036000830152614800816140f4565b9050919050565b6000602082019050818103600083015261482081614117565b9050919050565b600060208201905081810360008301526148408161413a565b9050919050565b600060208201905081810360008301526148608161415d565b9050919050565b6000602082019050818103600083015261488081614180565b9050919050565b600060208201905081810360008301526148a0816141a3565b9050919050565b600060208201905081810360008301526148c0816141c6565b9050919050565b600060208201905081810360008301526148e0816141e9565b9050919050565b600060208201905081810360008301526149008161420c565b9050919050565b600060208201905081810360008301526149208161422f565b9050919050565b6000602082019050818103600083015261494081614252565b9050919050565b6000602082019050818103600083015261496081614275565b9050919050565b6000602082019050818103600083015261498081614298565b9050919050565b600060208201905081810360008301526149a0816142bb565b9050919050565b600060208201905081810360008301526149c0816142de565b9050919050565b600060208201905081810360008301526149e081614301565b9050919050565b60006020820190508181036000830152614a0081614324565b9050919050565b60006020820190508181036000830152614a2081614347565b9050919050565b60006020820190508181036000830152614a408161436a565b9050919050565b60006020820190508181036000830152614a608161438d565b9050919050565b60006020820190508181036000830152614a80816143b0565b9050919050565b60006020820190508181036000830152614aa0816143d3565b9050919050565b60006020820190508181036000830152614ac0816143f6565b9050919050565b60006020820190508181036000830152614ae081614419565b9050919050565b60006020820190508181036000830152614b008161443c565b9050919050565b60006020820190508181036000830152614b208161445f565b9050919050565b60006020820190508181036000830152614b4081614482565b9050919050565b60006020820190508181036000830152614b60816144a5565b9050919050565b60006020820190508181036000830152614b80816144c8565b9050919050565b60006020820190508181036000830152614ba0816144eb565b9050919050565b60006020820190508181036000830152614bc08161450e565b9050919050565b60006020820190508181036000830152614be081614531565b9050919050565b60006020820190508181036000830152614c0081614554565b9050919050565b60006020820190508181036000830152614c2081614577565b9050919050565b60006020820190508181036000830152614c40816145bd565b9050919050565b60006020820190508181036000830152614c60816145e0565b9050919050565b60006020820190508181036000830152614c8081614603565b9050919050565b60006020820190508181036000830152614ca081614626565b9050919050565b60006020820190508181036000830152614cc081614649565b9050919050565b60006020820190508181036000830152614ce08161466c565b9050919050565b60006020820190508181036000830152614d008161468f565b9050919050565b6000602082019050614d1c60008301846146b2565b92915050565b6000604082019050614d3760008301856146b2565b614d446020830184614010565b9392505050565b6000614d55614d66565b9050614d618282615038565b919050565b6000604051905090565b600067ffffffffffffffff821115614d8b57614d8a6151f9565b5b614d948261523c565b9050602081019050919050565b600067ffffffffffffffff821115614dbc57614dbb6151f9565b5b614dc58261523c565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e2b82614fad565b9150614e3683614fad565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e6b57614e6a61510e565b5b828201905092915050565b6000614e8182614fad565b9150614e8c83614fad565b925082614e9c57614e9b61513d565b5b828204905092915050565b6000614eb282614fad565b9150614ebd83614fad565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ef657614ef561510e565b5b828202905092915050565b6000614f0c82614fad565b9150614f1783614fad565b925082821015614f2a57614f2961510e565b5b828203905092915050565b6000614f4082614f8d565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614ff1578082015181840152602081019050614fd6565b83811115615000576000848401525b50505050565b6000600282049050600182168061501e57607f821691505b602082108114156150325761503161516c565b5b50919050565b6150418261523c565b810181811067ffffffffffffffff821117156150605761505f6151f9565b5b80604052505050565b600061507482614f7f565b915061ffff8214156150895761508861510e565b5b600182019050919050565b600061509f82614fad565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156150d2576150d161510e565b5b600182019050919050565b60006150e882614fad565b91506150f383614fad565b9250826151035761510261513d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4d757374206f776e206174206c65617374206f6e65206f66207468697320736560008201527f72756d207479706520746f206d75746174650000000000000000000000000000602082015250565b7f4d696e746564204d7574616e7473207374617274696e6720696e64657820697360008201527f20616c7265616479207365740000000000000000000000000000000000000000602082015250565b7f4d757374206d696e74206174206c65617374206f6e65206d7574616e74000000600082015250565b7f496e76616c6964207365745374617274696e67496e646963657320636f6e646960008201527f74696f6e73000000000000000000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c652068617320616c726561647920626567756e000000600082015250565b7f4d757374206f776e207468652061706520796f7527726520617474656d70746960008201527f6e6720746f206d75746174650000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f496e76616c6964204d454741204d7574616e7420496400000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f536572756d204d75746174696f6e206973206e6f742061637469766500000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f576f756c642065786365656420737570706c79206f6620736572756d2d6d757460008201527f617461626c65204d454741204d5554414e545300000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b7f526571756573746564206e756d6265722065786365656473206d6178696d756d600082015250565b7f41706520616c7265616479206d7574617465642077697468207468697320747960008201527f7065206f6620736572756d000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f517565727920666f72206e6f6e6578697374656e74206d7574616e7400000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f746f6b656e4964206f75747369646520636f6c6c656374696f6e20626f756e6460008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820626c6f636b206d75737420626520736574600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d656761206d7574616e742049442063616e27742062652063616c63756c617460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d656761204d7574616e7473207374617274696e6720696e646578206973206160008201527f6c72656164792073657400000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f41706520616c7265616479206d7574617465642077697468204d454741204d5560008201527f544154494f4e20534552554d0000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c65206861736e27742073746172746564207965740000600082015250565b615cc981614f35565b8114615cd457600080fd5b50565b615ce081614f47565b8114615ceb57600080fd5b50565b615cf781614f53565b8114615d0257600080fd5b50565b615d0e81614fad565b8114615d1957600080fd5b50565b615d2581614fb7565b8114615d3057600080fd5b5056fe63613731353163633433366461306463336133643636323639346638633964613561653339613733353566616261616663303065366161353830393237313735a26469706673582212200f24eaff1663dbccb8bf7ccf54dbb97af19bbf48fe812519a34340e56dfbb40364736f6c63430008060033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d00000000000000000000000022c36bfdcef207f9c0cc941936eff94d4246d14a00000000000000000000000000000000000000000000000000000000000000124d7574616e744170655961636874436c7562000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d41594300000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): MutantApeYachtClub
Arg [1] : symbol (string): MAYC
Arg [2] : baycAddress (address): 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D
Arg [3] : baccAddress (address): 0x22c36BfdCef207F9c0CC941936eff94D4246d14A

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d
Arg [3] : 00000000000000000000000022c36bfdcef207f9c0cc941936eff94d4246d14a
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [5] : 4d7574616e744170655961636874436c75620000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 4d41594300000000000000000000000000000000000000000000000000000000


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.