ETH Price: $3,455.39 (+1.47%)
Gas: 10 Gwei

Token

Milkrates (Stacks)
 

Overview

Max Total Supply

250 Stacks

Holders

66

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
mlotta.eth
Balance
1 Stacks
0xb835367ae1cafcea58a10a51b17fea25d16c3dab
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Milkrates

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-08-29
*/

// SPDX-License-Identifier: MIT


pragma solidity ^0.8.0;

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}


pragma solidity ^0.8.0;

/**
 * @title Counters
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }
}



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);
}


pragma solidity ^0.8.0;


/**
 * @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;
}




pragma solidity ^0.8.0;


/**
 * @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);
}


pragma solidity ^0.8.0;


/**
 * @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);
}




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);
}




pragma solidity ^0.8.0;


/**
 * @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;
    }
}


pragma solidity ^0.8.0;


/**
 * @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}. 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 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 {
                    // solhint-disable-next-line no-inline-assembly
                    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` 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 { }
}



pragma solidity ^0.8.0;


/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}



pragma solidity ^0.8.0;


/**
 * @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();
    }
}





pragma solidity ^0.8.0;


/**
 * @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);
    }
}




pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}



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);
            }
        }
    }
}

pragma solidity ^0.8.0;


contract Milkrates is Context, ERC721Enumerable, ERC721Burnable, Ownable {
    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdTracker;

    string private _baseTokenURI;
    
    uint private constant maxStacks = 251;
    uint private constant mintPrice = 25000000000000000;
    bool private paused = false;
    
    event CreateStack(uint indexed id);
    
    mapping(uint => uint) private cardsMap;

    constructor() ERC721("Milkrates", "Stacks") {
        _baseTokenURI = "";
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }
    
    function setBaseURI(string memory baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }

    function mint(uint amount) public payable {
        require(!paused || msg.sender == owner());
        require(amount > 0 && amount < 11, "You have to mint between 1 and 10 Stacks.");
        require(msg.value == mintPrice*amount || msg.sender == owner(), "It costs 0.025 eth to mint a Stack.");
        require(_tokenIdTracker.current() + amount < maxStacks, "There can only be 250 Stacks!");
        for(uint i = 0; i < amount; i++) {
            _tokenIdTracker.increment();
            _mint(msg.sender, _tokenIdTracker.current());
            emit CreateStack(_tokenIdTracker.current());
        }
    }

    function pause() public virtual onlyOwner {
        paused = true;
    }

    function unpause() public virtual onlyOwner {
        paused = false;
    }
    
    function withdraw() external onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"CreateStack","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","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":"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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600d805460ff191690553480156200001b57600080fd5b5060408051808201825260098152684d696c6b726174657360b81b602080830191825283518085019094526006845265537461636b7360d01b9084015281519192916200006b916000916200011b565b508051620000819060019060208401906200011b565b5050506200009e62000098620000c560201b60201c565b620000c9565b604080516020810191829052600090819052620000be91600c916200011b565b50620001fe565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012990620001c1565b90600052602060002090601f0160209004810192826200014d576000855562000198565b82601f106200016857805160ff191683800117855562000198565b8280016001018555821562000198579182015b82811115620001985782518255916020019190600101906200017b565b50620001a6929150620001aa565b5090565b5b80821115620001a65760008155600101620001ab565b600281046001821680620001d657607f821691505b60208210811415620001f857634e487b7160e01b600052602260045260246000fd5b50919050565b612217806200020e6000396000f3fe6080604052600436106101665760003560e01c806355f804b3116100d157806395d89b411161008a578063b88d4fde11610064578063b88d4fde146103e5578063c87b56dd14610405578063e985e9c514610425578063f2fde38b1461044557610166565b806395d89b411461039d578063a0712d68146103b2578063a22cb465146103c557610166565b806355f804b3146102fe5780636352211e1461031e57806370a082311461033e578063715018a61461035e5780638456cb59146103735780638da5cb5b1461038857610166565b80632f745c59116101235780632f745c59146102545780633ccfd60b146102745780633f4ba83a1461028957806342842e0e1461029e57806342966c68146102be5780634f6ccce7146102de57610166565b806301ffc9a71461016b57806306fdde03146101a1578063081812fc146101c3578063095ea7b3146101f057806318160ddd1461021257806323b872dd14610234575b600080fd5b34801561017757600080fd5b5061018b610186366004611918565b610465565b6040516101989190611a5a565b60405180910390f35b3480156101ad57600080fd5b506101b6610478565b6040516101989190611a65565b3480156101cf57600080fd5b506101e36101de366004611996565b61050a565b6040516101989190611a09565b3480156101fc57600080fd5b5061021061020b3660046118ef565b610556565b005b34801561021e57600080fd5b506102276105ee565b6040516101989190612088565b34801561024057600080fd5b5061021061024f366004611801565b6105f4565b34801561026057600080fd5b5061022761026f3660046118ef565b61062c565b34801561028057600080fd5b5061021061067e565b34801561029557600080fd5b506102106106ec565b3480156102aa57600080fd5b506102106102b9366004611801565b610737565b3480156102ca57600080fd5b506102106102d9366004611996565b610752565b3480156102ea57600080fd5b506102276102f9366004611996565b610782565b34801561030a57600080fd5b50610210610319366004611950565b6107dd565b34801561032a57600080fd5b506101e3610339366004611996565b610833565b34801561034a57600080fd5b506102276103593660046117b5565b610868565b34801561036a57600080fd5b506102106108ac565b34801561037f57600080fd5b506102106108f7565b34801561039457600080fd5b506101e3610945565b3480156103a957600080fd5b506101b6610954565b6102106103c0366004611996565b610963565b3480156103d157600080fd5b506102106103e03660046118b5565b610ab5565b3480156103f157600080fd5b5061021061040036600461183c565b610b83565b34801561041157600080fd5b506101b6610420366004611996565b610bc2565b34801561043157600080fd5b5061018b6104403660046117cf565b610c45565b34801561045157600080fd5b506102106104603660046117b5565b610c73565b600061047082610ce1565b90505b919050565b6060600080546104879061211f565b80601f01602080910402602001604051908101604052809291908181526020018280546104b39061211f565b80156105005780601f106104d557610100808354040283529160200191610500565b820191906000526020600020905b8154815290600101906020018083116104e357829003601f168201915b5050505050905090565b600061051582610d06565b61053a5760405162461bcd60e51b815260040161053190611e41565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061056182610833565b9050806001600160a01b0316836001600160a01b031614156105955760405162461bcd60e51b815260040161053190611f5a565b806001600160a01b03166105a7610d23565b6001600160a01b031614806105c357506105c381610440610d23565b6105df5760405162461bcd60e51b815260040161053190611d1c565b6105e98383610d27565b505050565b60085490565b6106056105ff610d23565b82610d95565b6106215760405162461bcd60e51b815260040161053190611f9b565b6105e9838383610e1a565b600061063783610868565b82106106555760405162461bcd60e51b815260040161053190611a78565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610686610d23565b6001600160a01b0316610697610945565b6001600160a01b0316146106bd5760405162461bcd60e51b815260040161053190611e8d565b60405133904780156108fc02916000818181858888f193505050501580156106e9573d6000803e3d6000fd5b50565b6106f4610d23565b6001600160a01b0316610705610945565b6001600160a01b03161461072b5760405162461bcd60e51b815260040161053190611e8d565b600d805460ff19169055565b6105e983838360405180602001604052806000815250610b83565b61075d6105ff610d23565b6107795760405162461bcd60e51b815260040161053190612038565b6106e981610f47565b600061078c6105ee565b82106107aa5760405162461bcd60e51b815260040161053190611fec565b600882815481106107cb57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6107e5610d23565b6001600160a01b03166107f6610945565b6001600160a01b03161461081c5760405162461bcd60e51b815260040161053190611e8d565b805161082f90600c906020840190611695565b5050565b6000818152600260205260408120546001600160a01b0316806104705760405162461bcd60e51b815260040161053190611dc3565b60006001600160a01b0382166108905760405162461bcd60e51b815260040161053190611d79565b506001600160a01b031660009081526003602052604090205490565b6108b4610d23565b6001600160a01b03166108c5610945565b6001600160a01b0316146108eb5760405162461bcd60e51b815260040161053190611e8d565b6108f56000610fee565b565b6108ff610d23565b6001600160a01b0316610910610945565b6001600160a01b0316146109365760405162461bcd60e51b815260040161053190611e8d565b600d805460ff19166001179055565b600a546001600160a01b031690565b6060600180546104879061211f565b600d5460ff16158061098d5750610978610945565b6001600160a01b0316336001600160a01b0316145b61099657600080fd5b6000811180156109a65750600b81105b6109c25760405162461bcd60e51b815260040161053190611cd3565b6109d3816658d15e176280006120bd565b3414806109f857506109e3610945565b6001600160a01b0316336001600160a01b0316145b610a145760405162461bcd60e51b815260040161053190611b15565b60fb81610a21600b611040565b610a2b9190612091565b10610a485760405162461bcd60e51b815260040161053190611c50565b60005b8181101561082f57610a5d600b611044565b610a7033610a6b600b611040565b61104d565b610a7a600b611040565b6040517f493d45c289001405d5f0637c0c6504608470bdd512465bd37e63db75bf4d66f690600090a280610aad8161215a565b915050610a4b565b610abd610d23565b6001600160a01b0316826001600160a01b03161415610aee5760405162461bcd60e51b815260040161053190611c19565b8060056000610afb610d23565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610b3f610d23565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610b779190611a5a565b60405180910390a35050565b610b94610b8e610d23565b83610d95565b610bb05760405162461bcd60e51b815260040161053190611f9b565b610bbc8484848461112c565b50505050565b6060610bcd82610d06565b610be95760405162461bcd60e51b815260040161053190611f0b565b6000610bf361115f565b90506000815111610c135760405180602001604052806000815250610c3e565b80610c1d8461116e565b604051602001610c2e9291906119da565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610c7b610d23565b6001600160a01b0316610c8c610945565b6001600160a01b031614610cb25760405162461bcd60e51b815260040161053190611e8d565b6001600160a01b038116610cd85760405162461bcd60e51b815260040161053190611b58565b6106e981610fee565b60006001600160e01b0319821663780e9d6360e01b1480610470575061047082611289565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610d5c82610833565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610da082610d06565b610dbc5760405162461bcd60e51b815260040161053190611c87565b6000610dc783610833565b9050806001600160a01b0316846001600160a01b03161480610e025750836001600160a01b0316610df78461050a565b6001600160a01b0316145b80610e125750610e128185610c45565b949350505050565b826001600160a01b0316610e2d82610833565b6001600160a01b031614610e535760405162461bcd60e51b815260040161053190611ec2565b6001600160a01b038216610e795760405162461bcd60e51b815260040161053190611bd5565b610e848383836112c9565b610e8f600082610d27565b6001600160a01b0383166000908152600360205260408120805460019290610eb89084906120dc565b90915550506001600160a01b0382166000908152600360205260408120805460019290610ee6908490612091565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000610f5282610833565b9050610f60816000846112c9565b610f6b600083610d27565b6001600160a01b0381166000908152600360205260408120805460019290610f949084906120dc565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b5490565b80546001019055565b6001600160a01b0382166110735760405162461bcd60e51b815260040161053190611e0c565b61107c81610d06565b156110995760405162461bcd60e51b815260040161053190611b9e565b6110a5600083836112c9565b6001600160a01b03821660009081526003602052604081208054600192906110ce908490612091565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b611137848484610e1a565b611143848484846112d4565b610bbc5760405162461bcd60e51b815260040161053190611ac3565b6060600c80546104879061211f565b60608161119357506040805180820190915260018152600360fc1b6020820152610473565b8160005b81156111bd57806111a78161215a565b91506111b69050600a836120a9565b9150611197565b60008167ffffffffffffffff8111156111e657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611210576020820181803683370190505b5090505b8415610e12576112256001836120dc565b9150611232600a86612175565b61123d906030612091565b60f81b81838151811061126057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611282600a866120a9565b9450611214565b60006001600160e01b031982166380ac58cd60e01b14806112ba57506001600160e01b03198216635b5e139f60e01b145b806104705750610470826113ef565b6105e9838383611408565b60006112e8846001600160a01b0316611491565b156113e457836001600160a01b031663150b7a02611304610d23565b8786866040518563ffffffff1660e01b81526004016113269493929190611a1d565b602060405180830381600087803b15801561134057600080fd5b505af1925050508015611370575060408051601f3d908101601f1916820190925261136d91810190611934565b60015b6113ca573d80801561139e576040519150601f19603f3d011682016040523d82523d6000602084013e6113a3565b606091505b5080516113c25760405162461bcd60e51b815260040161053190611ac3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610e12565b506001949350505050565b6001600160e01b031981166301ffc9a760e01b14919050565b6114138383836105e9565b6001600160a01b03831661142f5761142a81611497565b611452565b816001600160a01b0316836001600160a01b0316146114525761145283826114db565b6001600160a01b03821661146e5761146981611578565b6105e9565b826001600160a01b0316826001600160a01b0316146105e9576105e98282611651565b3b151590565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b600060016114e884610868565b6114f291906120dc565b600083815260076020526040902054909150808214611545576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061158a906001906120dc565b600083815260096020526040812054600880549394509092849081106115c057634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600883815481106115ef57634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061163557634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061165c83610868565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b8280546116a19061211f565b90600052602060002090601f0160209004810192826116c35760008555611709565b82601f106116dc57805160ff1916838001178555611709565b82800160010185558215611709579182015b828111156117095782518255916020019190600101906116ee565b50611715929150611719565b5090565b5b80821115611715576000815560010161171a565b600067ffffffffffffffff80841115611749576117496121b5565b604051601f8501601f19168101602001828111828210171561176d5761176d6121b5565b60405284815291508183850186101561178557600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b038116811461047357600080fd5b6000602082840312156117c6578081fd5b610c3e8261179e565b600080604083850312156117e1578081fd5b6117ea8361179e565b91506117f86020840161179e565b90509250929050565b600080600060608486031215611815578081fd5b61181e8461179e565b925061182c6020850161179e565b9150604084013590509250925092565b60008060008060808587031215611851578081fd5b61185a8561179e565b93506118686020860161179e565b925060408501359150606085013567ffffffffffffffff81111561188a578182fd5b8501601f8101871361189a578182fd5b6118a98782356020840161172e565b91505092959194509250565b600080604083850312156118c7578182fd5b6118d08361179e565b9150602083013580151581146118e4578182fd5b809150509250929050565b60008060408385031215611901578182fd5b61190a8361179e565b946020939093013593505050565b600060208284031215611929578081fd5b8135610c3e816121cb565b600060208284031215611945578081fd5b8151610c3e816121cb565b600060208284031215611961578081fd5b813567ffffffffffffffff811115611977578182fd5b8201601f81018413611987578182fd5b610e128482356020840161172e565b6000602082840312156119a7578081fd5b5035919050565b600081518084526119c68160208601602086016120f3565b601f01601f19169290920160200192915050565b600083516119ec8184602088016120f3565b835190830190611a008183602088016120f3565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a50908301846119ae565b9695505050505050565b901515815260200190565b600060208252610c3e60208301846119ae565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526023908201527f497420636f73747320302e3032352065746820746f206d696e7420612053746160408201526231b59760e91b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252601d908201527f54686572652063616e206f6e6c792062652032353020537461636b7321000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526029908201527f596f75206861766520746f206d696e74206265747765656e203120616e642031604082015268181029ba30b1b5b99760b91b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b60208082526030908201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760408201526f1b995c881b9bdc88185c1c1c9bdd995960821b606082015260800190565b90815260200190565b600082198211156120a4576120a4612189565b500190565b6000826120b8576120b861219f565b500490565b60008160001904831182151516156120d7576120d7612189565b500290565b6000828210156120ee576120ee612189565b500390565b60005b8381101561210e5781810151838201526020016120f6565b83811115610bbc5750506000910152565b60028104600182168061213357607f821691505b6020821081141561215457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561216e5761216e612189565b5060010190565b6000826121845761218461219f565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146106e957600080fdfea2646970667358221220f2a01080aa17102dd237a966a8ded72c0eabd9fb93c83f5d70b6c7f6637f9e1664736f6c63430008000033

Deployed Bytecode

0x6080604052600436106101665760003560e01c806355f804b3116100d157806395d89b411161008a578063b88d4fde11610064578063b88d4fde146103e5578063c87b56dd14610405578063e985e9c514610425578063f2fde38b1461044557610166565b806395d89b411461039d578063a0712d68146103b2578063a22cb465146103c557610166565b806355f804b3146102fe5780636352211e1461031e57806370a082311461033e578063715018a61461035e5780638456cb59146103735780638da5cb5b1461038857610166565b80632f745c59116101235780632f745c59146102545780633ccfd60b146102745780633f4ba83a1461028957806342842e0e1461029e57806342966c68146102be5780634f6ccce7146102de57610166565b806301ffc9a71461016b57806306fdde03146101a1578063081812fc146101c3578063095ea7b3146101f057806318160ddd1461021257806323b872dd14610234575b600080fd5b34801561017757600080fd5b5061018b610186366004611918565b610465565b6040516101989190611a5a565b60405180910390f35b3480156101ad57600080fd5b506101b6610478565b6040516101989190611a65565b3480156101cf57600080fd5b506101e36101de366004611996565b61050a565b6040516101989190611a09565b3480156101fc57600080fd5b5061021061020b3660046118ef565b610556565b005b34801561021e57600080fd5b506102276105ee565b6040516101989190612088565b34801561024057600080fd5b5061021061024f366004611801565b6105f4565b34801561026057600080fd5b5061022761026f3660046118ef565b61062c565b34801561028057600080fd5b5061021061067e565b34801561029557600080fd5b506102106106ec565b3480156102aa57600080fd5b506102106102b9366004611801565b610737565b3480156102ca57600080fd5b506102106102d9366004611996565b610752565b3480156102ea57600080fd5b506102276102f9366004611996565b610782565b34801561030a57600080fd5b50610210610319366004611950565b6107dd565b34801561032a57600080fd5b506101e3610339366004611996565b610833565b34801561034a57600080fd5b506102276103593660046117b5565b610868565b34801561036a57600080fd5b506102106108ac565b34801561037f57600080fd5b506102106108f7565b34801561039457600080fd5b506101e3610945565b3480156103a957600080fd5b506101b6610954565b6102106103c0366004611996565b610963565b3480156103d157600080fd5b506102106103e03660046118b5565b610ab5565b3480156103f157600080fd5b5061021061040036600461183c565b610b83565b34801561041157600080fd5b506101b6610420366004611996565b610bc2565b34801561043157600080fd5b5061018b6104403660046117cf565b610c45565b34801561045157600080fd5b506102106104603660046117b5565b610c73565b600061047082610ce1565b90505b919050565b6060600080546104879061211f565b80601f01602080910402602001604051908101604052809291908181526020018280546104b39061211f565b80156105005780601f106104d557610100808354040283529160200191610500565b820191906000526020600020905b8154815290600101906020018083116104e357829003601f168201915b5050505050905090565b600061051582610d06565b61053a5760405162461bcd60e51b815260040161053190611e41565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061056182610833565b9050806001600160a01b0316836001600160a01b031614156105955760405162461bcd60e51b815260040161053190611f5a565b806001600160a01b03166105a7610d23565b6001600160a01b031614806105c357506105c381610440610d23565b6105df5760405162461bcd60e51b815260040161053190611d1c565b6105e98383610d27565b505050565b60085490565b6106056105ff610d23565b82610d95565b6106215760405162461bcd60e51b815260040161053190611f9b565b6105e9838383610e1a565b600061063783610868565b82106106555760405162461bcd60e51b815260040161053190611a78565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610686610d23565b6001600160a01b0316610697610945565b6001600160a01b0316146106bd5760405162461bcd60e51b815260040161053190611e8d565b60405133904780156108fc02916000818181858888f193505050501580156106e9573d6000803e3d6000fd5b50565b6106f4610d23565b6001600160a01b0316610705610945565b6001600160a01b03161461072b5760405162461bcd60e51b815260040161053190611e8d565b600d805460ff19169055565b6105e983838360405180602001604052806000815250610b83565b61075d6105ff610d23565b6107795760405162461bcd60e51b815260040161053190612038565b6106e981610f47565b600061078c6105ee565b82106107aa5760405162461bcd60e51b815260040161053190611fec565b600882815481106107cb57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6107e5610d23565b6001600160a01b03166107f6610945565b6001600160a01b03161461081c5760405162461bcd60e51b815260040161053190611e8d565b805161082f90600c906020840190611695565b5050565b6000818152600260205260408120546001600160a01b0316806104705760405162461bcd60e51b815260040161053190611dc3565b60006001600160a01b0382166108905760405162461bcd60e51b815260040161053190611d79565b506001600160a01b031660009081526003602052604090205490565b6108b4610d23565b6001600160a01b03166108c5610945565b6001600160a01b0316146108eb5760405162461bcd60e51b815260040161053190611e8d565b6108f56000610fee565b565b6108ff610d23565b6001600160a01b0316610910610945565b6001600160a01b0316146109365760405162461bcd60e51b815260040161053190611e8d565b600d805460ff19166001179055565b600a546001600160a01b031690565b6060600180546104879061211f565b600d5460ff16158061098d5750610978610945565b6001600160a01b0316336001600160a01b0316145b61099657600080fd5b6000811180156109a65750600b81105b6109c25760405162461bcd60e51b815260040161053190611cd3565b6109d3816658d15e176280006120bd565b3414806109f857506109e3610945565b6001600160a01b0316336001600160a01b0316145b610a145760405162461bcd60e51b815260040161053190611b15565b60fb81610a21600b611040565b610a2b9190612091565b10610a485760405162461bcd60e51b815260040161053190611c50565b60005b8181101561082f57610a5d600b611044565b610a7033610a6b600b611040565b61104d565b610a7a600b611040565b6040517f493d45c289001405d5f0637c0c6504608470bdd512465bd37e63db75bf4d66f690600090a280610aad8161215a565b915050610a4b565b610abd610d23565b6001600160a01b0316826001600160a01b03161415610aee5760405162461bcd60e51b815260040161053190611c19565b8060056000610afb610d23565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610b3f610d23565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610b779190611a5a565b60405180910390a35050565b610b94610b8e610d23565b83610d95565b610bb05760405162461bcd60e51b815260040161053190611f9b565b610bbc8484848461112c565b50505050565b6060610bcd82610d06565b610be95760405162461bcd60e51b815260040161053190611f0b565b6000610bf361115f565b90506000815111610c135760405180602001604052806000815250610c3e565b80610c1d8461116e565b604051602001610c2e9291906119da565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610c7b610d23565b6001600160a01b0316610c8c610945565b6001600160a01b031614610cb25760405162461bcd60e51b815260040161053190611e8d565b6001600160a01b038116610cd85760405162461bcd60e51b815260040161053190611b58565b6106e981610fee565b60006001600160e01b0319821663780e9d6360e01b1480610470575061047082611289565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610d5c82610833565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610da082610d06565b610dbc5760405162461bcd60e51b815260040161053190611c87565b6000610dc783610833565b9050806001600160a01b0316846001600160a01b03161480610e025750836001600160a01b0316610df78461050a565b6001600160a01b0316145b80610e125750610e128185610c45565b949350505050565b826001600160a01b0316610e2d82610833565b6001600160a01b031614610e535760405162461bcd60e51b815260040161053190611ec2565b6001600160a01b038216610e795760405162461bcd60e51b815260040161053190611bd5565b610e848383836112c9565b610e8f600082610d27565b6001600160a01b0383166000908152600360205260408120805460019290610eb89084906120dc565b90915550506001600160a01b0382166000908152600360205260408120805460019290610ee6908490612091565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000610f5282610833565b9050610f60816000846112c9565b610f6b600083610d27565b6001600160a01b0381166000908152600360205260408120805460019290610f949084906120dc565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b5490565b80546001019055565b6001600160a01b0382166110735760405162461bcd60e51b815260040161053190611e0c565b61107c81610d06565b156110995760405162461bcd60e51b815260040161053190611b9e565b6110a5600083836112c9565b6001600160a01b03821660009081526003602052604081208054600192906110ce908490612091565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b611137848484610e1a565b611143848484846112d4565b610bbc5760405162461bcd60e51b815260040161053190611ac3565b6060600c80546104879061211f565b60608161119357506040805180820190915260018152600360fc1b6020820152610473565b8160005b81156111bd57806111a78161215a565b91506111b69050600a836120a9565b9150611197565b60008167ffffffffffffffff8111156111e657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611210576020820181803683370190505b5090505b8415610e12576112256001836120dc565b9150611232600a86612175565b61123d906030612091565b60f81b81838151811061126057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611282600a866120a9565b9450611214565b60006001600160e01b031982166380ac58cd60e01b14806112ba57506001600160e01b03198216635b5e139f60e01b145b806104705750610470826113ef565b6105e9838383611408565b60006112e8846001600160a01b0316611491565b156113e457836001600160a01b031663150b7a02611304610d23565b8786866040518563ffffffff1660e01b81526004016113269493929190611a1d565b602060405180830381600087803b15801561134057600080fd5b505af1925050508015611370575060408051601f3d908101601f1916820190925261136d91810190611934565b60015b6113ca573d80801561139e576040519150601f19603f3d011682016040523d82523d6000602084013e6113a3565b606091505b5080516113c25760405162461bcd60e51b815260040161053190611ac3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610e12565b506001949350505050565b6001600160e01b031981166301ffc9a760e01b14919050565b6114138383836105e9565b6001600160a01b03831661142f5761142a81611497565b611452565b816001600160a01b0316836001600160a01b0316146114525761145283826114db565b6001600160a01b03821661146e5761146981611578565b6105e9565b826001600160a01b0316826001600160a01b0316146105e9576105e98282611651565b3b151590565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b600060016114e884610868565b6114f291906120dc565b600083815260076020526040902054909150808214611545576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061158a906001906120dc565b600083815260096020526040812054600880549394509092849081106115c057634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600883815481106115ef57634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061163557634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061165c83610868565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b8280546116a19061211f565b90600052602060002090601f0160209004810192826116c35760008555611709565b82601f106116dc57805160ff1916838001178555611709565b82800160010185558215611709579182015b828111156117095782518255916020019190600101906116ee565b50611715929150611719565b5090565b5b80821115611715576000815560010161171a565b600067ffffffffffffffff80841115611749576117496121b5565b604051601f8501601f19168101602001828111828210171561176d5761176d6121b5565b60405284815291508183850186101561178557600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b038116811461047357600080fd5b6000602082840312156117c6578081fd5b610c3e8261179e565b600080604083850312156117e1578081fd5b6117ea8361179e565b91506117f86020840161179e565b90509250929050565b600080600060608486031215611815578081fd5b61181e8461179e565b925061182c6020850161179e565b9150604084013590509250925092565b60008060008060808587031215611851578081fd5b61185a8561179e565b93506118686020860161179e565b925060408501359150606085013567ffffffffffffffff81111561188a578182fd5b8501601f8101871361189a578182fd5b6118a98782356020840161172e565b91505092959194509250565b600080604083850312156118c7578182fd5b6118d08361179e565b9150602083013580151581146118e4578182fd5b809150509250929050565b60008060408385031215611901578182fd5b61190a8361179e565b946020939093013593505050565b600060208284031215611929578081fd5b8135610c3e816121cb565b600060208284031215611945578081fd5b8151610c3e816121cb565b600060208284031215611961578081fd5b813567ffffffffffffffff811115611977578182fd5b8201601f81018413611987578182fd5b610e128482356020840161172e565b6000602082840312156119a7578081fd5b5035919050565b600081518084526119c68160208601602086016120f3565b601f01601f19169290920160200192915050565b600083516119ec8184602088016120f3565b835190830190611a008183602088016120f3565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a50908301846119ae565b9695505050505050565b901515815260200190565b600060208252610c3e60208301846119ae565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526023908201527f497420636f73747320302e3032352065746820746f206d696e7420612053746160408201526231b59760e91b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252601d908201527f54686572652063616e206f6e6c792062652032353020537461636b7321000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526029908201527f596f75206861766520746f206d696e74206265747765656e203120616e642031604082015268181029ba30b1b5b99760b91b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b60208082526030908201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760408201526f1b995c881b9bdc88185c1c1c9bdd995960821b606082015260800190565b90815260200190565b600082198211156120a4576120a4612189565b500190565b6000826120b8576120b861219f565b500490565b60008160001904831182151516156120d7576120d7612189565b500290565b6000828210156120ee576120ee612189565b500390565b60005b8381101561210e5781810151838201526020016120f6565b83811115610bbc5750506000910152565b60028104600182168061213357607f821691505b6020821081141561215457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561216e5761216e612189565b5060010190565b6000826121845761218461219f565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146106e957600080fdfea2646970667358221220f2a01080aa17102dd237a966a8ded72c0eabd9fb93c83f5d70b6c7f6637f9e1664736f6c63430008000033

Deployed Bytecode Sourcemap

42242:2134:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44194:179;;;;;;;;;;-1:-1:-1;44194:179:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;12601:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;14061:221::-;;;;;;;;;;-1:-1:-1;14061:221:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;13598:397::-;;;;;;;;;;-1:-1:-1;13598:397:0;;;;;:::i;:::-;;:::i;:::-;;24674:113;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;14951:305::-;;;;;;;;;;-1:-1:-1;14951:305:0;;;;;:::i;:::-;;:::i;24342:256::-;;;;;;;;;;-1:-1:-1;24342:256:0;;;;;:::i;:::-;;:::i;43816:109::-;;;;;;;;;;;;;:::i;43727:77::-;;;;;;;;;;;;;:::i;15327:151::-;;;;;;;;;;-1:-1:-1;15327:151:0;;;;;:::i;:::-;;:::i;22922:245::-;;;;;;;;;;-1:-1:-1;22922:245:0;;;;;:::i;:::-;;:::i;24864:233::-;;;;;;;;;;-1:-1:-1;24864:233:0;;;;;:::i;:::-;;:::i;42907:104::-;;;;;;;;;;-1:-1:-1;42907:104:0;;;;;:::i;:::-;;:::i;12295:239::-;;;;;;;;;;-1:-1:-1;12295:239:0;;;;;:::i;:::-;;:::i;12025:208::-;;;;;;;;;;-1:-1:-1;12025:208:0;;;;;:::i;:::-;;:::i;31746:94::-;;;;;;;;;;;;;:::i;43645:74::-;;;;;;;;;;;;;:::i;31095:87::-;;;;;;;;;;;;;:::i;12770:104::-;;;;;;;;;;;;;:::i;43019:618::-;;;;;;:::i;:::-;;:::i;14354:295::-;;;;;;;;;;-1:-1:-1;14354:295:0;;;;;:::i;:::-;;:::i;15549:285::-;;;;;;;;;;-1:-1:-1;15549:285:0;;;;;:::i;:::-;;:::i;12945:360::-;;;;;;;;;;-1:-1:-1;12945:360:0;;;;;:::i;:::-;;:::i;14720:164::-;;;;;;;;;;-1:-1:-1;14720:164:0;;;;;:::i;:::-;;:::i;31995:192::-;;;;;;;;;;-1:-1:-1;31995:192:0;;;;;:::i;:::-;;:::i;44194:179::-;44305:4;44329:36;44353:11;44329:23;:36::i;:::-;44322:43;;44194:179;;;;:::o;12601:100::-;12655:13;12688:5;12681:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12601:100;:::o;14061:221::-;14137:7;14165:16;14173:7;14165;:16::i;:::-;14157:73;;;;-1:-1:-1;;;14157:73:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;14250:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;14250:24:0;;14061:221::o;13598:397::-;13679:13;13695:23;13710:7;13695:14;:23::i;:::-;13679:39;;13743:5;-1:-1:-1;;;;;13737:11:0;:2;-1:-1:-1;;;;;13737:11:0;;;13729:57;;;;-1:-1:-1;;;13729:57:0;;;;;;;:::i;:::-;13823:5;-1:-1:-1;;;;;13807:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;13807:21:0;;:62;;;;13832:37;13849:5;13856:12;:10;:12::i;13832:37::-;13799:154;;;;-1:-1:-1;;;13799:154:0;;;;;;;:::i;:::-;13966:21;13975:2;13979:7;13966:8;:21::i;:::-;13598:397;;;:::o;24674:113::-;24762:10;:17;24674:113;:::o;14951:305::-;15112:41;15131:12;:10;:12::i;:::-;15145:7;15112:18;:41::i;:::-;15104:103;;;;-1:-1:-1;;;15104:103:0;;;;;;;:::i;:::-;15220:28;15230:4;15236:2;15240:7;15220:9;:28::i;24342:256::-;24439:7;24475:23;24492:5;24475:16;:23::i;:::-;24467:5;:31;24459:87;;;;-1:-1:-1;;;24459:87:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;24564:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;24342:256::o;43816:109::-;31326:12;:10;:12::i;:::-;-1:-1:-1;;;;;31315:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31315:23:0;;31307:68;;;;-1:-1:-1;;;31307:68:0;;;;;;;:::i;:::-;43866:51:::1;::::0;43874:10:::1;::::0;43895:21:::1;43866:51:::0;::::1;;;::::0;::::1;::::0;;;43895:21;43874:10;43866:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;43816:109::o:0;43727:77::-;31326:12;:10;:12::i;:::-;-1:-1:-1;;;;;31315:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31315:23:0;;31307:68;;;;-1:-1:-1;;;31307:68:0;;;;;;;:::i;:::-;43782:6:::1;:14:::0;;-1:-1:-1;;43782:14:0::1;::::0;;43727:77::o;15327:151::-;15431:39;15448:4;15454:2;15458:7;15431:39;;;;;;;;;;;;:16;:39::i;22922:245::-;23040:41;23059:12;:10;:12::i;23040:41::-;23032:102;;;;-1:-1:-1;;;23032:102:0;;;;;;;:::i;:::-;23145:14;23151:7;23145:5;:14::i;24864:233::-;24939:7;24975:30;:28;:30::i;:::-;24967:5;:38;24959:95;;;;-1:-1:-1;;;24959:95:0;;;;;;;:::i;:::-;25072:10;25083:5;25072:17;;;;;;-1:-1:-1;;;25072:17:0;;;;;;;;;;;;;;;;;25065:24;;24864:233;;;:::o;42907:104::-;31326:12;:10;:12::i;:::-;-1:-1:-1;;;;;31315:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31315:23:0;;31307:68;;;;-1:-1:-1;;;31307:68:0;;;;;;;:::i;:::-;42980:23;;::::1;::::0;:13:::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;:::-;;42907:104:::0;:::o;12295:239::-;12367:7;12403:16;;;:7;:16;;;;;;-1:-1:-1;;;;;12403:16:0;12438:19;12430:73;;;;-1:-1:-1;;;12430:73:0;;;;;;;:::i;12025:208::-;12097:7;-1:-1:-1;;;;;12125:19:0;;12117:74;;;;-1:-1:-1;;;12117:74:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;12209:16:0;;;;;:9;:16;;;;;;;12025:208::o;31746:94::-;31326:12;:10;:12::i;:::-;-1:-1:-1;;;;;31315:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31315:23:0;;31307:68;;;;-1:-1:-1;;;31307:68:0;;;;;;;:::i;:::-;31811:21:::1;31829:1;31811:9;:21::i;:::-;31746:94::o:0;43645:74::-;31326:12;:10;:12::i;:::-;-1:-1:-1;;;;;31315:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31315:23:0;;31307:68;;;;-1:-1:-1;;;31307:68:0;;;;;;;:::i;:::-;43698:6:::1;:13:::0;;-1:-1:-1;;43698:13:0::1;43707:4;43698:13;::::0;;43645:74::o;31095:87::-;31168:6;;-1:-1:-1;;;;;31168:6:0;31095:87;:::o;12770:104::-;12826:13;12859:7;12852:14;;;;;:::i;43019:618::-;43081:6;;;;43080:7;;:32;;;43105:7;:5;:7::i;:::-;-1:-1:-1;;;;;43091:21:0;:10;-1:-1:-1;;;;;43091:21:0;;43080:32;43072:41;;;;;;43141:1;43132:6;:10;:25;;;;;43155:2;43146:6;:11;43132:25;43124:79;;;;-1:-1:-1;;;43124:79:0;;;;;;;:::i;:::-;43235:16;43245:6;42534:17;43235:16;:::i;:::-;43222:9;:29;:54;;;;43269:7;:5;:7::i;:::-;-1:-1:-1;;;;;43255:21:0;:10;-1:-1:-1;;;;;43255:21:0;;43222:54;43214:102;;;;-1:-1:-1;;;43214:102:0;;;;;;;:::i;:::-;42490:3;43363:6;43335:25;:15;:23;:25::i;:::-;:34;;;;:::i;:::-;:46;43327:88;;;;-1:-1:-1;;;43327:88:0;;;;;;;:::i;:::-;43430:6;43426:204;43446:6;43442:1;:10;43426:204;;;43474:27;:15;:25;:27::i;:::-;43516:44;43522:10;43534:25;:15;:23;:25::i;:::-;43516:5;:44::i;:::-;43592:25;:15;:23;:25::i;:::-;43580:38;;;;;;;43454:3;;;;:::i;:::-;;;;43426:204;;14354:295;14469:12;:10;:12::i;:::-;-1:-1:-1;;;;;14457:24:0;:8;-1:-1:-1;;;;;14457:24:0;;;14449:62;;;;-1:-1:-1;;;14449:62:0;;;;;;;:::i;:::-;14569:8;14524:18;:32;14543:12;:10;:12::i;:::-;-1:-1:-1;;;;;14524:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;14524:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;14524:53:0;;;;;;;;;;;14608:12;:10;:12::i;:::-;-1:-1:-1;;;;;14593:48:0;;14632:8;14593:48;;;;;;:::i;:::-;;;;;;;;14354:295;;:::o;15549:285::-;15681:41;15700:12;:10;:12::i;:::-;15714:7;15681:18;:41::i;:::-;15673:103;;;;-1:-1:-1;;;15673:103:0;;;;;;;:::i;:::-;15787:39;15801:4;15807:2;15811:7;15820:5;15787:13;:39::i;:::-;15549:285;;;;:::o;12945:360::-;13018:13;13052:16;13060:7;13052;:16::i;:::-;13044:76;;;;-1:-1:-1;;;13044:76:0;;;;;;;:::i;:::-;13133:21;13157:10;:8;:10::i;:::-;13133:34;;13209:1;13191:7;13185:21;:25;:112;;;;;;;;;;;;;;;;;13250:7;13259:18;:7;:16;:18::i;:::-;13233:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;13185:112;13178:119;12945:360;-1:-1:-1;;;12945:360:0:o;14720:164::-;-1:-1:-1;;;;;14841:25:0;;;14817:4;14841:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;14720:164::o;31995:192::-;31326:12;:10;:12::i;:::-;-1:-1:-1;;;;;31315:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31315:23:0;;31307:68;;;;-1:-1:-1;;;31307:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;32084:22:0;::::1;32076:73;;;;-1:-1:-1::0;;;32076:73:0::1;;;;;;;:::i;:::-;32160:19;32170:8;32160:9;:19::i;24021:237::-:0;24123:4;-1:-1:-1;;;;;;24147:50:0;;-1:-1:-1;;;24147:50:0;;:103;;;24214:36;24238:11;24214:23;:36::i;17301:127::-;17366:4;17390:16;;;:7;:16;;;;;;-1:-1:-1;;;;;17390:16:0;:30;;;17301:127::o;97:98::-;177:10;97:98;:::o;20251:174::-;20326:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;20326:29:0;-1:-1:-1;;;;;20326:29:0;;;;;;;;:24;;20380:23;20326:24;20380:14;:23::i;:::-;-1:-1:-1;;;;;20371:46:0;;;;;;;;;;;20251:174;;:::o;17595:348::-;17688:4;17713:16;17721:7;17713;:16::i;:::-;17705:73;;;;-1:-1:-1;;;17705:73:0;;;;;;;:::i;:::-;17789:13;17805:23;17820:7;17805:14;:23::i;:::-;17789:39;;17858:5;-1:-1:-1;;;;;17847:16:0;:7;-1:-1:-1;;;;;17847:16:0;;:51;;;;17891:7;-1:-1:-1;;;;;17867:31:0;:20;17879:7;17867:11;:20::i;:::-;-1:-1:-1;;;;;17867:31:0;;17847:51;:87;;;;17902:32;17919:5;17926:7;17902:16;:32::i;:::-;17839:96;17595:348;-1:-1:-1;;;;17595:348:0:o;19589:544::-;19714:4;-1:-1:-1;;;;;19687:31:0;:23;19702:7;19687:14;:23::i;:::-;-1:-1:-1;;;;;19687:31:0;;19679:85;;;;-1:-1:-1;;;19679:85:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;19783:16:0;;19775:65;;;;-1:-1:-1;;;19775:65:0;;;;;;;:::i;:::-;19853:39;19874:4;19880:2;19884:7;19853:20;:39::i;:::-;19957:29;19974:1;19978:7;19957:8;:29::i;:::-;-1:-1:-1;;;;;19999:15:0;;;;;;:9;:15;;;;;:20;;20018:1;;19999:15;:20;;20018:1;;19999:20;:::i;:::-;;;;-1:-1:-1;;;;;;;20030:13:0;;;;;;:9;:13;;;;;:18;;20047:1;;20030:13;:18;;20047:1;;20030:18;:::i;:::-;;;;-1:-1:-1;;20059:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;20059:21:0;-1:-1:-1;;;;;20059:21:0;;;;;;;;;20098:27;;20059:16;;20098:27;;;;;;;19589:544;;;:::o;18892:360::-;18952:13;18968:23;18983:7;18968:14;:23::i;:::-;18952:39;;19004:48;19025:5;19040:1;19044:7;19004:20;:48::i;:::-;19093:29;19110:1;19114:7;19093:8;:29::i;:::-;-1:-1:-1;;;;;19135:16:0;;;;;;:9;:16;;;;;:21;;19155:1;;19135:16;:21;;19155:1;;19135:21;:::i;:::-;;;;-1:-1:-1;;19174:16:0;;;;:7;:16;;;;;;19167:23;;-1:-1:-1;;;;;;19167:23:0;;;19208:36;19182:7;;19174:16;-1:-1:-1;;;;;19208:36:0;;;;;19174:16;;19208:36;18892:360;;:::o;32195:173::-;32270:6;;;-1:-1:-1;;;;;32287:17:0;;;-1:-1:-1;;;;;;32287:17:0;;;;;;;32320:40;;32270:6;;;32287:17;32270:6;;32320:40;;32251:16;;32320:40;32195:173;;:::o;1171:114::-;1263:14;;1171:114::o;1293:127::-;1382:19;;1400:1;1382:19;;;1293:127::o;18281:382::-;-1:-1:-1;;;;;18361:16:0;;18353:61;;;;-1:-1:-1;;;18353:61:0;;;;;;;:::i;:::-;18434:16;18442:7;18434;:16::i;:::-;18433:17;18425:58;;;;-1:-1:-1;;;18425:58:0;;;;;;;:::i;:::-;18496:45;18525:1;18529:2;18533:7;18496:20;:45::i;:::-;-1:-1:-1;;;;;18554:13:0;;;;;;:9;:13;;;;;:18;;18571:1;;18554:13;:18;;18571:1;;18554:18;:::i;:::-;;;;-1:-1:-1;;18583:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;18583:21:0;-1:-1:-1;;;;;18583:21:0;;;;;;;;18622:33;;18583:16;;;18622:33;;18583:16;;18622:33;18281:382;;:::o;16716:272::-;16830:28;16840:4;16846:2;16850:7;16830:9;:28::i;:::-;16877:48;16900:4;16906:2;16910:7;16919:5;16877:22;:48::i;:::-;16869:111;;;;-1:-1:-1;;;16869:111:0;;;;;;;:::i;42781:114::-;42841:13;42874;42867:20;;;;;:::i;32630:723::-;32686:13;32907:10;32903:53;;-1:-1:-1;32934:10:0;;;;;;;;;;;;-1:-1:-1;;;32934:10:0;;;;;;32903:53;32981:5;32966:12;33022:78;33029:9;;33022:78;;33055:8;;;;:::i;:::-;;-1:-1:-1;33078:10:0;;-1:-1:-1;33086:2:0;33078:10;;:::i;:::-;;;33022:78;;;33110:19;33142:6;33132:17;;;;;;-1:-1:-1;;;33132:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33132:17:0;;33110:39;;33160:154;33167:10;;33160:154;;33194:11;33204:1;33194:11;;:::i;:::-;;-1:-1:-1;33263:10:0;33271:2;33263:5;:10;:::i;:::-;33250:24;;:2;:24;:::i;:::-;33237:39;;33220:6;33227;33220:14;;;;;;-1:-1:-1;;;33220:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;33220:56:0;;;;;;;;-1:-1:-1;33291:11:0;33300:2;33291:11;;:::i;:::-;;;33160:154;;11669:292;11771:4;-1:-1:-1;;;;;;11795:40:0;;-1:-1:-1;;;11795:40:0;;:105;;-1:-1:-1;;;;;;;11852:48:0;;-1:-1:-1;;;11852:48:0;11795:105;:158;;;;11917:36;11941:11;11917:23;:36::i;43933:189::-;44069:45;44096:4;44102:2;44106:7;44069:26;:45::i;20990:843::-;21111:4;21137:15;:2;-1:-1:-1;;;;;21137:13:0;;:15::i;:::-;21133:693;;;21189:2;-1:-1:-1;;;;;21173:36:0;;21210:12;:10;:12::i;:::-;21224:4;21230:7;21239:5;21173:72;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21173:72:0;;;;;;;;-1:-1:-1;;21173:72:0;;;;;;;;;;;;:::i;:::-;;;21169:602;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21419:13:0;;21415:341;;21462:60;;-1:-1:-1;;;21462:60:0;;;;;;;:::i;21415:341::-;21706:6;21700:13;21691:6;21687:2;21683:15;21676:38;21169:602;-1:-1:-1;;;;;;21296:55:0;-1:-1:-1;;;21296:55:0;;-1:-1:-1;21289:62:0;;21133:693;-1:-1:-1;21810:4:0;20990:843;;;;;;:::o;10241:157::-;-1:-1:-1;;;;;;10350:40:0;;-1:-1:-1;;;10350:40:0;10241:157;;;:::o;25710:555::-;25820:45;25847:4;25853:2;25857:7;25820:26;:45::i;:::-;-1:-1:-1;;;;;25882:18:0;;25878:187;;25917:40;25949:7;25917:31;:40::i;:::-;25878:187;;;25987:2;-1:-1:-1;;;;;25979:10:0;:4;-1:-1:-1;;;;;25979:10:0;;25975:90;;26006:47;26039:4;26045:7;26006:32;:47::i;:::-;-1:-1:-1;;;;;26079:16:0;;26075:183;;26112:45;26149:7;26112:36;:45::i;:::-;26075:183;;;26185:4;-1:-1:-1;;;;;26179:10:0;:2;-1:-1:-1;;;;;26179:10:0;;26175:83;;26206:40;26234:2;26238:7;26206:27;:40::i;35099:387::-;35422:20;35470:8;;;35099:387::o;26988:164::-;27092:10;:17;;27065:24;;;;:15;:24;;;;;:44;;;27120:24;;;;;;;;;;;;26988:164::o;27779:988::-;28045:22;28095:1;28070:22;28087:4;28070:16;:22::i;:::-;:26;;;;:::i;:::-;28107:18;28128:26;;;:17;:26;;;;;;28045:51;;-1:-1:-1;28261:28:0;;;28257:328;;-1:-1:-1;;;;;28328:18:0;;28306:19;28328:18;;;:12;:18;;;;;;;;:34;;;;;;;;;28379:30;;;;;;:44;;;28496:30;;:17;:30;;;;;:43;;;28257:328;-1:-1:-1;28681:26:0;;;;:17;:26;;;;;;;;28674:33;;;-1:-1:-1;;;;;28725:18:0;;;;;:12;:18;;;;;:34;;;;;;;28718:41;27779:988::o;29062:1079::-;29340:10;:17;29315:22;;29340:21;;29360:1;;29340:21;:::i;:::-;29372:18;29393:24;;;:15;:24;;;;;;29766:10;:26;;29315:46;;-1:-1:-1;29393:24:0;;29315:46;;29766:26;;;;-1:-1:-1;;;29766:26:0;;;;;;;;;;;;;;;;;29744:48;;29830:11;29805:10;29816;29805:22;;;;;;-1:-1:-1;;;29805:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;29910:28;;;:15;:28;;;;;;;:41;;;30082:24;;;;;30075:31;30117:10;:16;;;;;-1:-1:-1;;;30117:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;29062:1079;;;;:::o;26566:221::-;26651:14;26668:20;26685:2;26668:16;:20::i;:::-;-1:-1:-1;;;;;26699:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;26744:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;26566:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:607:1;;110:18;151:2;143:6;140:14;137:2;;;157:18;;:::i;:::-;206:2;200:9;279:2;256:17;;-1:-1:-1;;252:31:1;240:44;;286:4;236:55;306:18;;;326:22;;;303:46;300:2;;;352:18;;:::i;:::-;388:2;381:22;436;;;421:6;-1:-1:-1;421:6:1;473:16;;;470:25;-1:-1:-1;467:2:1;;;508:1;505;498:12;467:2;558:6;553:3;546:4;538:6;534:17;521:44;613:1;606:4;597:6;589;585:19;581:30;574:41;;;90:531;;;;;:::o;626:175::-;696:20;;-1:-1:-1;;;;;745:31:1;;735:42;;725:2;;791:1;788;781:12;806:198;;918:2;906:9;897:7;893:23;889:32;886:2;;;939:6;931;924:22;886:2;967:31;988:9;967:31;:::i;1009:274::-;;;1138:2;1126:9;1117:7;1113:23;1109:32;1106:2;;;1159:6;1151;1144:22;1106:2;1187:31;1208:9;1187:31;:::i;:::-;1177:41;;1237:40;1273:2;1262:9;1258:18;1237:40;:::i;:::-;1227:50;;1096:187;;;;;:::o;1288:342::-;;;;1434:2;1422:9;1413:7;1409:23;1405:32;1402:2;;;1455:6;1447;1440:22;1402:2;1483:31;1504:9;1483:31;:::i;:::-;1473:41;;1533:40;1569:2;1558:9;1554:18;1533:40;:::i;:::-;1523:50;;1620:2;1609:9;1605:18;1592:32;1582:42;;1392:238;;;;;:::o;1635:702::-;;;;;1807:3;1795:9;1786:7;1782:23;1778:33;1775:2;;;1829:6;1821;1814:22;1775:2;1857:31;1878:9;1857:31;:::i;:::-;1847:41;;1907:40;1943:2;1932:9;1928:18;1907:40;:::i;:::-;1897:50;;1994:2;1983:9;1979:18;1966:32;1956:42;;2049:2;2038:9;2034:18;2021:32;2076:18;2068:6;2065:30;2062:2;;;2113:6;2105;2098:22;2062:2;2141:22;;2194:4;2186:13;;2182:27;-1:-1:-1;2172:2:1;;2228:6;2220;2213:22;2172:2;2256:75;2323:7;2318:2;2305:16;2300:2;2296;2292:11;2256:75;:::i;:::-;2246:85;;;1765:572;;;;;;;:::o;2342:369::-;;;2468:2;2456:9;2447:7;2443:23;2439:32;2436:2;;;2489:6;2481;2474:22;2436:2;2517:31;2538:9;2517:31;:::i;:::-;2507:41;;2598:2;2587:9;2583:18;2570:32;2645:5;2638:13;2631:21;2624:5;2621:32;2611:2;;2672:6;2664;2657:22;2611:2;2700:5;2690:15;;;2426:285;;;;;:::o;2716:266::-;;;2845:2;2833:9;2824:7;2820:23;2816:32;2813:2;;;2866:6;2858;2851:22;2813:2;2894:31;2915:9;2894:31;:::i;:::-;2884:41;2972:2;2957:18;;;;2944:32;;-1:-1:-1;;;2803:179:1:o;2987:257::-;;3098:2;3086:9;3077:7;3073:23;3069:32;3066:2;;;3119:6;3111;3104:22;3066:2;3163:9;3150:23;3182:32;3208:5;3182:32;:::i;3249:261::-;;3371:2;3359:9;3350:7;3346:23;3342:32;3339:2;;;3392:6;3384;3377:22;3339:2;3429:9;3423:16;3448:32;3474:5;3448:32;:::i;3515:482::-;;3637:2;3625:9;3616:7;3612:23;3608:32;3605:2;;;3658:6;3650;3643:22;3605:2;3703:9;3690:23;3736:18;3728:6;3725:30;3722:2;;;3773:6;3765;3758:22;3722:2;3801:22;;3854:4;3846:13;;3842:27;-1:-1:-1;3832:2:1;;3888:6;3880;3873:22;3832:2;3916:75;3983:7;3978:2;3965:16;3960:2;3956;3952:11;3916:75;:::i;4002:190::-;;4114:2;4102:9;4093:7;4089:23;4085:32;4082:2;;;4135:6;4127;4120:22;4082:2;-1:-1:-1;4163:23:1;;4072:120;-1:-1:-1;4072:120:1:o;4197:259::-;;4278:5;4272:12;4305:6;4300:3;4293:19;4321:63;4377:6;4370:4;4365:3;4361:14;4354:4;4347:5;4343:16;4321:63;:::i;:::-;4438:2;4417:15;-1:-1:-1;;4413:29:1;4404:39;;;;4445:4;4400:50;;4248:208;-1:-1:-1;;4248:208:1:o;4461:470::-;;4678:6;4672:13;4694:53;4740:6;4735:3;4728:4;4720:6;4716:17;4694:53;:::i;:::-;4810:13;;4769:16;;;;4832:57;4810:13;4769:16;4866:4;4854:17;;4832:57;:::i;:::-;4905:20;;4648:283;-1:-1:-1;;;;4648:283:1:o;4936:203::-;-1:-1:-1;;;;;5100:32:1;;;;5082:51;;5070:2;5055:18;;5037:102::o;5144:490::-;-1:-1:-1;;;;;5413:15:1;;;5395:34;;5465:15;;5460:2;5445:18;;5438:43;5512:2;5497:18;;5490:34;;;5560:3;5555:2;5540:18;;5533:31;;;5144:490;;5581:47;;5608:19;;5600:6;5581:47;:::i;:::-;5573:55;5347:287;-1:-1:-1;;;;;;5347:287:1:o;5639:187::-;5804:14;;5797:22;5779:41;;5767:2;5752:18;;5734:92::o;5831:221::-;;5980:2;5969:9;5962:21;6000:46;6042:2;6031:9;6027:18;6019:6;6000:46;:::i;6057:407::-;6259:2;6241:21;;;6298:2;6278:18;;;6271:30;6337:34;6332:2;6317:18;;6310:62;-1:-1:-1;;;6403:2:1;6388:18;;6381:41;6454:3;6439:19;;6231:233::o;6469:414::-;6671:2;6653:21;;;6710:2;6690:18;;;6683:30;6749:34;6744:2;6729:18;;6722:62;-1:-1:-1;;;6815:2:1;6800:18;;6793:48;6873:3;6858:19;;6643:240::o;6888:399::-;7090:2;7072:21;;;7129:2;7109:18;;;7102:30;7168:34;7163:2;7148:18;;7141:62;-1:-1:-1;;;7234:2:1;7219:18;;7212:33;7277:3;7262:19;;7062:225::o;7292:402::-;7494:2;7476:21;;;7533:2;7513:18;;;7506:30;7572:34;7567:2;7552:18;;7545:62;-1:-1:-1;;;7638:2:1;7623:18;;7616:36;7684:3;7669:19;;7466:228::o;7699:352::-;7901:2;7883:21;;;7940:2;7920:18;;;7913:30;7979;7974:2;7959:18;;7952:58;8042:2;8027:18;;7873:178::o;8056:400::-;8258:2;8240:21;;;8297:2;8277:18;;;8270:30;8336:34;8331:2;8316:18;;8309:62;-1:-1:-1;;;8402:2:1;8387:18;;8380:34;8446:3;8431:19;;8230:226::o;8461:349::-;8663:2;8645:21;;;8702:2;8682:18;;;8675:30;8741:27;8736:2;8721:18;;8714:55;8801:2;8786:18;;8635:175::o;8815:353::-;9017:2;8999:21;;;9056:2;9036:18;;;9029:30;9095:31;9090:2;9075:18;;9068:59;9159:2;9144:18;;8989:179::o;9173:408::-;9375:2;9357:21;;;9414:2;9394:18;;;9387:30;9453:34;9448:2;9433:18;;9426:62;-1:-1:-1;;;9519:2:1;9504:18;;9497:42;9571:3;9556:19;;9347:234::o;9586:405::-;9788:2;9770:21;;;9827:2;9807:18;;;9800:30;9866:34;9861:2;9846:18;;9839:62;-1:-1:-1;;;9932:2:1;9917:18;;9910:39;9981:3;9966:19;;9760:231::o;9996:420::-;10198:2;10180:21;;;10237:2;10217:18;;;10210:30;10276:34;10271:2;10256:18;;10249:62;10347:26;10342:2;10327:18;;10320:54;10406:3;10391:19;;10170:246::o;10421:406::-;10623:2;10605:21;;;10662:2;10642:18;;;10635:30;10701:34;10696:2;10681:18;;10674:62;-1:-1:-1;;;10767:2:1;10752:18;;10745:40;10817:3;10802:19;;10595:232::o;10832:405::-;11034:2;11016:21;;;11073:2;11053:18;;;11046:30;11112:34;11107:2;11092:18;;11085:62;-1:-1:-1;;;11178:2:1;11163:18;;11156:39;11227:3;11212:19;;11006:231::o;11242:356::-;11444:2;11426:21;;;11463:18;;;11456:30;11522:34;11517:2;11502:18;;11495:62;11589:2;11574:18;;11416:182::o;11603:408::-;11805:2;11787:21;;;11844:2;11824:18;;;11817:30;11883:34;11878:2;11863:18;;11856:62;-1:-1:-1;;;11949:2:1;11934:18;;11927:42;12001:3;11986:19;;11777:234::o;12016:356::-;12218:2;12200:21;;;12237:18;;;12230:30;12296:34;12291:2;12276:18;;12269:62;12363:2;12348:18;;12190:182::o;12377:405::-;12579:2;12561:21;;;12618:2;12598:18;;;12591:30;12657:34;12652:2;12637:18;;12630:62;-1:-1:-1;;;12723:2:1;12708:18;;12701:39;12772:3;12757:19;;12551:231::o;12787:411::-;12989:2;12971:21;;;13028:2;13008:18;;;13001:30;13067:34;13062:2;13047:18;;13040:62;-1:-1:-1;;;13133:2:1;13118:18;;13111:45;13188:3;13173:19;;12961:237::o;13203:397::-;13405:2;13387:21;;;13444:2;13424:18;;;13417:30;13483:34;13478:2;13463:18;;13456:62;-1:-1:-1;;;13549:2:1;13534:18;;13527:31;13590:3;13575:19;;13377:223::o;13605:413::-;13807:2;13789:21;;;13846:2;13826:18;;;13819:30;13885:34;13880:2;13865:18;;13858:62;-1:-1:-1;;;13951:2:1;13936:18;;13929:47;14008:3;13993:19;;13779:239::o;14023:408::-;14225:2;14207:21;;;14264:2;14244:18;;;14237:30;14303:34;14298:2;14283:18;;14276:62;-1:-1:-1;;;14369:2:1;14354:18;;14347:42;14421:3;14406:19;;14197:234::o;14436:412::-;14638:2;14620:21;;;14677:2;14657:18;;;14650:30;14716:34;14711:2;14696:18;;14689:62;-1:-1:-1;;;14782:2:1;14767:18;;14760:46;14838:3;14823:19;;14610:238::o;14853:177::-;14999:25;;;14987:2;14972:18;;14954:76::o;15035:128::-;;15106:1;15102:6;15099:1;15096:13;15093:2;;;15112:18;;:::i;:::-;-1:-1:-1;15148:9:1;;15083:80::o;15168:120::-;;15234:1;15224:2;;15239:18;;:::i;:::-;-1:-1:-1;15273:9:1;;15214:74::o;15293:168::-;;15399:1;15395;15391:6;15387:14;15384:1;15381:21;15376:1;15369:9;15362:17;15358:45;15355:2;;;15406:18;;:::i;:::-;-1:-1:-1;15446:9:1;;15345:116::o;15466:125::-;;15534:1;15531;15528:8;15525:2;;;15539:18;;:::i;:::-;-1:-1:-1;15576:9:1;;15515:76::o;15596:258::-;15668:1;15678:113;15692:6;15689:1;15686:13;15678:113;;;15768:11;;;15762:18;15749:11;;;15742:39;15714:2;15707:10;15678:113;;;15809:6;15806:1;15803:13;15800:2;;;-1:-1:-1;;15844:1:1;15826:16;;15819:27;15649:205::o;15859:380::-;15944:1;15934:12;;15991:1;15981:12;;;16002:2;;16056:4;16048:6;16044:17;16034:27;;16002:2;16109;16101:6;16098:14;16078:18;16075:38;16072:2;;;16155:10;16150:3;16146:20;16143:1;16136:31;16190:4;16187:1;16180:15;16218:4;16215:1;16208:15;16072:2;;15914:325;;;:::o;16244:135::-;;-1:-1:-1;;16304:17:1;;16301:2;;;16324:18;;:::i;:::-;-1:-1:-1;16371:1:1;16360:13;;16291:88::o;16384:112::-;;16442:1;16432:2;;16447:18;;:::i;:::-;-1:-1:-1;16481:9:1;;16422:74::o;16501:127::-;16562:10;16557:3;16553:20;16550:1;16543:31;16593:4;16590:1;16583:15;16617:4;16614:1;16607:15;16633:127;16694:10;16689:3;16685:20;16682:1;16675:31;16725:4;16722:1;16715:15;16749:4;16746:1;16739:15;16765:127;16826:10;16821:3;16817:20;16814:1;16807:31;16857:4;16854:1;16847:15;16881:4;16878:1;16871:15;16897:133;-1:-1:-1;;;;;;16973:32:1;;16963:43;;16953:2;;17020:1;17017;17010:12

Swarm Source

ipfs://f2a01080aa17102dd237a966a8ded72c0eabd9fb93c83f5d70b6c7f6637f9e16
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.