ETH Price: $3,269.14 (-2.58%)

Token

Reckless Whales (REWS)
 

Overview

Max Total Supply

9,941 REWS

Holders

2,105

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
seanmatthew13.eth
Balance
1 REWS
0xe6569213085bB4ffe1e2aAAe9E485d3082A6c4d9
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

10,000 whales with access to the most exclusive casino in the meta-sea. All whales are whales, but some are much bigger than others!

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
RecklessWhales

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-07-18
*/

// SPDX-License-Identifier: MIT

// _______  _______  _______  _        _        _______  _______  _______                      _______  _        _______  _______ 
//(  ____ )(  ____ \(  ____ \| \    /\( \      (  ____ \(  ____ \(  ____ \  |\     /||\     /|(  ___  )( \      (  ____ \(  ____ \
//| (    )|| (    \/| (    \/|  \  / /| (      | (    \/| (    \/| (    \/  | )   ( || )   ( || (   ) || (      | (    \/| (    \/
//| (____)|| (__    | |      |  (_/ / | |      | (__    | (_____ | (_____   | | _ | || (___) || (___) || |      | (__    | (_____ 
//|     __)|  __)   | |      |   _ (  | |      |  __)   (_____  )(_____  )  | |( )| ||  ___  ||  ___  || |      |  __)   (_____  )
//| (\ (   | (      | |      |  ( \ \ | |      | (            ) |      ) |  | || || || (   ) || (   ) || |      | (            ) |
//| ) \ \__| (____/\| (____/\|  /  \ \| (____/\| (____/\/\____) |/\____) |  | () () || )   ( || )   ( || (____/\| (____/\/\____) |
//|/   \__/(_______/(_______/|_/    \/(_______/(_______/\_______)\_______)  (_______)|/     \||/     \|(_______/(_______/\_______)
//                                                                                                                                
//Contract written by @CobbleDev

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
 * @author Matt Condon (@shrugs)
 * @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 RecklessWhales is Context, ERC721Enumerable, ERC721Burnable, Ownable {
    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdTracker;

    string private _baseTokenURI;
    
    uint private constant maxWhales = 10001;
    uint private constant mintPrice = 30000000000000000;
    bool private paused = true;
    
    event CreateWhale(uint indexed id);
    
    mapping(uint => uint) private cardsMap;

    constructor() ERC721("Reckless Whales", "REWS") {
        _baseTokenURI = "https://recklesswhales.herokuapp.com/whale/";
    }

    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 whales.");
        require(msg.value == mintPrice*amount || msg.sender == owner(), "It costs 0.03 eth to mint a whale.");
        require(_tokenIdTracker.current() + amount < maxWhales, "There can only be 10000 whales!");
        for(uint i = 0; i < amount; i++) {
            _tokenIdTracker.increment();
            _mint(msg.sender, _tokenIdTracker.current());
            emit CreateWhale(_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":"CreateWhale","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"}]

6080604052600d805460ff191660011790553480156200001e57600080fd5b50604080518082018252600f81526e5265636b6c657373205768616c657360881b6020808301918252835180850190945260048452635245575360e01b908401528151919291620000729160009162000132565b5080516200008890600190602084019062000132565b505050620000a56200009f620000dc60201b60201c565b620000e0565b6040518060600160405280602b81526020016200228b602b91398051620000d591600c9160209091019062000132565b5062000215565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014090620001d8565b90600052602060002090601f016020900481019282620001645760008555620001af565b82601f106200017f57805160ff1916838001178555620001af565b82800160010185558215620001af579182015b82811115620001af57825182559160200191906001019062000192565b50620001bd929150620001c1565b5090565b5b80821115620001bd5760008155600101620001c2565b600181811c90821680620001ed57607f821691505b602082108114156200020f57634e487b7160e01b600052602260045260246000fd5b50919050565b61206680620002256000396000f3fe6080604052600436106101665760003560e01c806355f804b3116100d157806395d89b411161008a578063b88d4fde11610064578063b88d4fde146103f5578063c87b56dd14610415578063e985e9c514610435578063f2fde38b1461047e57600080fd5b806395d89b41146103ad578063a0712d68146103c2578063a22cb465146103d557600080fd5b806355f804b3146103055780636352211e1461032557806370a0823114610345578063715018a6146103655780638456cb591461037a5780638da5cb5b1461038f57600080fd5b80632f745c59116101235780632f745c591461025b5780633ccfd60b1461027b5780633f4ba83a1461029057806342842e0e146102a557806342966c68146102c55780634f6ccce7146102e557600080fd5b806301ffc9a71461016b57806306fdde03146101a0578063081812fc146101c2578063095ea7b3146101fa57806318160ddd1461021c57806323b872dd1461023b575b600080fd5b34801561017757600080fd5b5061018b610186366004611cc7565b61049e565b60405190151581526020015b60405180910390f35b3480156101ac57600080fd5b506101b56104af565b6040516101979190611df5565b3480156101ce57600080fd5b506101e26101dd366004611d45565b610541565b6040516001600160a01b039091168152602001610197565b34801561020657600080fd5b5061021a610215366004611c9e565b6105db565b005b34801561022857600080fd5b506008545b604051908152602001610197565b34801561024757600080fd5b5061021a610256366004611bb0565b6106f1565b34801561026757600080fd5b5061022d610276366004611c9e565b610723565b34801561028757600080fd5b5061021a6107b9565b34801561029c57600080fd5b5061021a610812565b3480156102b157600080fd5b5061021a6102c0366004611bb0565b610848565b3480156102d157600080fd5b5061021a6102e0366004611d45565b610863565b3480156102f157600080fd5b5061022d610300366004611d45565b6108da565b34801561031157600080fd5b5061021a610320366004611cff565b61097b565b34801561033157600080fd5b506101e2610340366004611d45565b6109bc565b34801561035157600080fd5b5061022d610360366004611b64565b610a33565b34801561037157600080fd5b5061021a610aba565b34801561038657600080fd5b5061021a610af0565b34801561039b57600080fd5b50600a546001600160a01b03166101e2565b3480156103b957600080fd5b506101b5610b29565b61021a6103d0366004611d45565b610b38565b3480156103e157600080fd5b5061021a6103f0366004611c64565b610d17565b34801561040157600080fd5b5061021a610410366004611beb565b610ddc565b34801561042157600080fd5b506101b5610430366004611d45565b610e14565b34801561044157600080fd5b5061018b610450366004611b7e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561048a57600080fd5b5061021a610499366004611b64565b610eef565b60006104a982610f87565b92915050565b6060600080546104be90611f6e565b80601f01602080910402602001604051908101604052809291908181526020018280546104ea90611f6e565b80156105375780601f1061050c57610100808354040283529160200191610537565b820191906000526020600020905b81548152906001019060200180831161051a57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105bf5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105e6826109bc565b9050806001600160a01b0316836001600160a01b031614156106545760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105b6565b336001600160a01b038216148061067057506106708133610450565b6106e25760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105b6565b6106ec8383610fac565b505050565b6106fc335b8261101a565b6107185760405162461bcd60e51b81526004016105b690611e8f565b6106ec838383611111565b600061072e83610a33565b82106107905760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016105b6565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146107e35760405162461bcd60e51b81526004016105b690611e5a565b60405133904780156108fc02916000818181858888f1935050505015801561080f573d6000803e3d6000fd5b50565b600a546001600160a01b0316331461083c5760405162461bcd60e51b81526004016105b690611e5a565b600d805460ff19169055565b6106ec83838360405180602001604052806000815250610ddc565b61086c336106f6565b6108d15760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b60648201526084016105b6565b61080f816112bc565b60006108e560085490565b82106109485760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016105b6565b6008828154811061096957634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b031633146109a55760405162461bcd60e51b81526004016105b690611e5a565b80516109b890600c906020840190611a39565b5050565b6000818152600260205260408120546001600160a01b0316806104a95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105b6565b60006001600160a01b038216610a9e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105b6565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610ae45760405162461bcd60e51b81526004016105b690611e5a565b610aee6000611363565b565b600a546001600160a01b03163314610b1a5760405162461bcd60e51b81526004016105b690611e5a565b600d805460ff19166001179055565b6060600180546104be90611f6e565b600d5460ff161580610b545750600a546001600160a01b031633145b610b5d57600080fd5b600081118015610b6d5750600b81105b610bcb5760405162461bcd60e51b815260206004820152602960248201527f596f75206861766520746f206d696e74206265747765656e203120616e64203160448201526818103bb430b632b99760b91b60648201526084016105b6565b610bdc81666a94d74f430000611f0c565b341480610bf35750600a546001600160a01b031633145b610c4a5760405162461bcd60e51b815260206004820152602260248201527f497420636f73747320302e30332065746820746f206d696e742061207768616c604482015261329760f11b60648201526084016105b6565b61271181610c57600b5490565b610c619190611ee0565b10610cae5760405162461bcd60e51b815260206004820152601f60248201527f54686572652063616e206f6e6c79206265203130303030207768616c6573210060448201526064016105b6565b60005b818110156109b857610cc7600b80546001019055565b610cd933610cd4600b5490565b6113b5565b600b546040517fd642318312966b41d5a59840d553e555eb27bc7eddbd8b9aad574484a2ed7e1b90600090a280610d0f81611fa9565b915050610cb1565b6001600160a01b038216331415610d705760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105b6565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610de6338361101a565b610e025760405162461bcd60e51b81526004016105b690611e8f565b610e0e84848484611503565b50505050565b6000818152600260205260409020546060906001600160a01b0316610e935760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016105b6565b6000610e9d611536565b90506000815111610ebd5760405180602001604052806000815250610ee8565b80610ec784611545565b604051602001610ed8929190611d89565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314610f195760405162461bcd60e51b81526004016105b690611e5a565b6001600160a01b038116610f7e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105b6565b61080f81611363565b60006001600160e01b0319821663780e9d6360e01b14806104a957506104a98261165f565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610fe1826109bc565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166110935760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105b6565b600061109e836109bc565b9050806001600160a01b0316846001600160a01b031614806110d95750836001600160a01b03166110ce84610541565b6001600160a01b0316145b8061110957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611124826109bc565b6001600160a01b03161461118c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016105b6565b6001600160a01b0382166111ee5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105b6565b6111f98383836116af565b611204600082610fac565b6001600160a01b038316600090815260036020526040812080546001929061122d908490611f2b565b90915550506001600160a01b038216600090815260036020526040812080546001929061125b908490611ee0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006112c7826109bc565b90506112d5816000846116af565b6112e0600083610fac565b6001600160a01b0381166000908152600360205260408120805460019290611309908490611f2b565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821661140b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105b6565b6000818152600260205260409020546001600160a01b0316156114705760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105b6565b61147c600083836116af565b6001600160a01b03821660009081526003602052604081208054600192906114a5908490611ee0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b61150e848484611111565b61151a848484846116ba565b610e0e5760405162461bcd60e51b81526004016105b690611e08565b6060600c80546104be90611f6e565b6060816115695750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611593578061157d81611fa9565b915061158c9050600a83611ef8565b915061156d565b60008167ffffffffffffffff8111156115bc57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156115e6576020820181803683370190505b5090505b8415611109576115fb600183611f2b565b9150611608600a86611fc4565b611613906030611ee0565b60f81b81838151811061163657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611658600a86611ef8565b94506115ea565b60006001600160e01b031982166380ac58cd60e01b148061169057506001600160e01b03198216635b5e139f60e01b145b806104a957506301ffc9a760e01b6001600160e01b03198316146104a9565b6106ec8383836117c7565b60006001600160a01b0384163b156117bc57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906116fe903390899088908890600401611db8565b602060405180830381600087803b15801561171857600080fd5b505af1925050508015611748575060408051601f3d908101601f1916820190925261174591810190611ce3565b60015b6117a2573d808015611776576040519150601f19603f3d011682016040523d82523d6000602084013e61177b565b606091505b50805161179a5760405162461bcd60e51b81526004016105b690611e08565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611109565b506001949350505050565b6001600160a01b0383166118225761181d81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611845565b816001600160a01b0316836001600160a01b03161461184557611845838261187f565b6001600160a01b03821661185c576106ec8161191c565b826001600160a01b0316826001600160a01b0316146106ec576106ec82826119f5565b6000600161188c84610a33565b6118969190611f2b565b6000838152600760205260409020549091508082146118e9576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061192e90600190611f2b565b6000838152600960205260408120546008805493945090928490811061196457634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061199357634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806119d957634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611a0083610a33565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611a4590611f6e565b90600052602060002090601f016020900481019282611a675760008555611aad565b82601f10611a8057805160ff1916838001178555611aad565b82800160010185558215611aad579182015b82811115611aad578251825591602001919060010190611a92565b50611ab9929150611abd565b5090565b5b80821115611ab95760008155600101611abe565b600067ffffffffffffffff80841115611aed57611aed612004565b604051601f8501601f19908116603f01168101908282118183101715611b1557611b15612004565b81604052809350858152868686011115611b2e57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611b5f57600080fd5b919050565b600060208284031215611b75578081fd5b610ee882611b48565b60008060408385031215611b90578081fd5b611b9983611b48565b9150611ba760208401611b48565b90509250929050565b600080600060608486031215611bc4578081fd5b611bcd84611b48565b9250611bdb60208501611b48565b9150604084013590509250925092565b60008060008060808587031215611c00578081fd5b611c0985611b48565b9350611c1760208601611b48565b925060408501359150606085013567ffffffffffffffff811115611c39578182fd5b8501601f81018713611c49578182fd5b611c5887823560208401611ad2565b91505092959194509250565b60008060408385031215611c76578182fd5b611c7f83611b48565b915060208301358015158114611c93578182fd5b809150509250929050565b60008060408385031215611cb0578182fd5b611cb983611b48565b946020939093013593505050565b600060208284031215611cd8578081fd5b8135610ee88161201a565b600060208284031215611cf4578081fd5b8151610ee88161201a565b600060208284031215611d10578081fd5b813567ffffffffffffffff811115611d26578182fd5b8201601f81018413611d36578182fd5b61110984823560208401611ad2565b600060208284031215611d56578081fd5b5035919050565b60008151808452611d75816020860160208601611f42565b601f01601f19169290920160200192915050565b60008351611d9b818460208801611f42565b835190830190611daf818360208801611f42565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611deb90830184611d5d565b9695505050505050565b602081526000610ee86020830184611d5d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611ef357611ef3611fd8565b500190565b600082611f0757611f07611fee565b500490565b6000816000190483118215151615611f2657611f26611fd8565b500290565b600082821015611f3d57611f3d611fd8565b500390565b60005b83811015611f5d578181015183820152602001611f45565b83811115610e0e5750506000910152565b600181811c90821680611f8257607f821691505b60208210811415611fa357634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611fbd57611fbd611fd8565b5060010190565b600082611fd357611fd3611fee565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461080f57600080fdfea264697066735822122040246c69beb270652d4af76f978f296191689b1cee4cee336d2cc0fe41db5cf164736f6c6343000804003368747470733a2f2f7265636b6c6573737768616c65732e6865726f6b756170702e636f6d2f7768616c652f

Deployed Bytecode

0x6080604052600436106101665760003560e01c806355f804b3116100d157806395d89b411161008a578063b88d4fde11610064578063b88d4fde146103f5578063c87b56dd14610415578063e985e9c514610435578063f2fde38b1461047e57600080fd5b806395d89b41146103ad578063a0712d68146103c2578063a22cb465146103d557600080fd5b806355f804b3146103055780636352211e1461032557806370a0823114610345578063715018a6146103655780638456cb591461037a5780638da5cb5b1461038f57600080fd5b80632f745c59116101235780632f745c591461025b5780633ccfd60b1461027b5780633f4ba83a1461029057806342842e0e146102a557806342966c68146102c55780634f6ccce7146102e557600080fd5b806301ffc9a71461016b57806306fdde03146101a0578063081812fc146101c2578063095ea7b3146101fa57806318160ddd1461021c57806323b872dd1461023b575b600080fd5b34801561017757600080fd5b5061018b610186366004611cc7565b61049e565b60405190151581526020015b60405180910390f35b3480156101ac57600080fd5b506101b56104af565b6040516101979190611df5565b3480156101ce57600080fd5b506101e26101dd366004611d45565b610541565b6040516001600160a01b039091168152602001610197565b34801561020657600080fd5b5061021a610215366004611c9e565b6105db565b005b34801561022857600080fd5b506008545b604051908152602001610197565b34801561024757600080fd5b5061021a610256366004611bb0565b6106f1565b34801561026757600080fd5b5061022d610276366004611c9e565b610723565b34801561028757600080fd5b5061021a6107b9565b34801561029c57600080fd5b5061021a610812565b3480156102b157600080fd5b5061021a6102c0366004611bb0565b610848565b3480156102d157600080fd5b5061021a6102e0366004611d45565b610863565b3480156102f157600080fd5b5061022d610300366004611d45565b6108da565b34801561031157600080fd5b5061021a610320366004611cff565b61097b565b34801561033157600080fd5b506101e2610340366004611d45565b6109bc565b34801561035157600080fd5b5061022d610360366004611b64565b610a33565b34801561037157600080fd5b5061021a610aba565b34801561038657600080fd5b5061021a610af0565b34801561039b57600080fd5b50600a546001600160a01b03166101e2565b3480156103b957600080fd5b506101b5610b29565b61021a6103d0366004611d45565b610b38565b3480156103e157600080fd5b5061021a6103f0366004611c64565b610d17565b34801561040157600080fd5b5061021a610410366004611beb565b610ddc565b34801561042157600080fd5b506101b5610430366004611d45565b610e14565b34801561044157600080fd5b5061018b610450366004611b7e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561048a57600080fd5b5061021a610499366004611b64565b610eef565b60006104a982610f87565b92915050565b6060600080546104be90611f6e565b80601f01602080910402602001604051908101604052809291908181526020018280546104ea90611f6e565b80156105375780601f1061050c57610100808354040283529160200191610537565b820191906000526020600020905b81548152906001019060200180831161051a57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105bf5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105e6826109bc565b9050806001600160a01b0316836001600160a01b031614156106545760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105b6565b336001600160a01b038216148061067057506106708133610450565b6106e25760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105b6565b6106ec8383610fac565b505050565b6106fc335b8261101a565b6107185760405162461bcd60e51b81526004016105b690611e8f565b6106ec838383611111565b600061072e83610a33565b82106107905760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016105b6565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146107e35760405162461bcd60e51b81526004016105b690611e5a565b60405133904780156108fc02916000818181858888f1935050505015801561080f573d6000803e3d6000fd5b50565b600a546001600160a01b0316331461083c5760405162461bcd60e51b81526004016105b690611e5a565b600d805460ff19169055565b6106ec83838360405180602001604052806000815250610ddc565b61086c336106f6565b6108d15760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b60648201526084016105b6565b61080f816112bc565b60006108e560085490565b82106109485760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016105b6565b6008828154811061096957634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b031633146109a55760405162461bcd60e51b81526004016105b690611e5a565b80516109b890600c906020840190611a39565b5050565b6000818152600260205260408120546001600160a01b0316806104a95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105b6565b60006001600160a01b038216610a9e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105b6565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610ae45760405162461bcd60e51b81526004016105b690611e5a565b610aee6000611363565b565b600a546001600160a01b03163314610b1a5760405162461bcd60e51b81526004016105b690611e5a565b600d805460ff19166001179055565b6060600180546104be90611f6e565b600d5460ff161580610b545750600a546001600160a01b031633145b610b5d57600080fd5b600081118015610b6d5750600b81105b610bcb5760405162461bcd60e51b815260206004820152602960248201527f596f75206861766520746f206d696e74206265747765656e203120616e64203160448201526818103bb430b632b99760b91b60648201526084016105b6565b610bdc81666a94d74f430000611f0c565b341480610bf35750600a546001600160a01b031633145b610c4a5760405162461bcd60e51b815260206004820152602260248201527f497420636f73747320302e30332065746820746f206d696e742061207768616c604482015261329760f11b60648201526084016105b6565b61271181610c57600b5490565b610c619190611ee0565b10610cae5760405162461bcd60e51b815260206004820152601f60248201527f54686572652063616e206f6e6c79206265203130303030207768616c6573210060448201526064016105b6565b60005b818110156109b857610cc7600b80546001019055565b610cd933610cd4600b5490565b6113b5565b600b546040517fd642318312966b41d5a59840d553e555eb27bc7eddbd8b9aad574484a2ed7e1b90600090a280610d0f81611fa9565b915050610cb1565b6001600160a01b038216331415610d705760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105b6565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610de6338361101a565b610e025760405162461bcd60e51b81526004016105b690611e8f565b610e0e84848484611503565b50505050565b6000818152600260205260409020546060906001600160a01b0316610e935760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016105b6565b6000610e9d611536565b90506000815111610ebd5760405180602001604052806000815250610ee8565b80610ec784611545565b604051602001610ed8929190611d89565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314610f195760405162461bcd60e51b81526004016105b690611e5a565b6001600160a01b038116610f7e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105b6565b61080f81611363565b60006001600160e01b0319821663780e9d6360e01b14806104a957506104a98261165f565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610fe1826109bc565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166110935760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105b6565b600061109e836109bc565b9050806001600160a01b0316846001600160a01b031614806110d95750836001600160a01b03166110ce84610541565b6001600160a01b0316145b8061110957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611124826109bc565b6001600160a01b03161461118c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016105b6565b6001600160a01b0382166111ee5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105b6565b6111f98383836116af565b611204600082610fac565b6001600160a01b038316600090815260036020526040812080546001929061122d908490611f2b565b90915550506001600160a01b038216600090815260036020526040812080546001929061125b908490611ee0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006112c7826109bc565b90506112d5816000846116af565b6112e0600083610fac565b6001600160a01b0381166000908152600360205260408120805460019290611309908490611f2b565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821661140b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105b6565b6000818152600260205260409020546001600160a01b0316156114705760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105b6565b61147c600083836116af565b6001600160a01b03821660009081526003602052604081208054600192906114a5908490611ee0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b61150e848484611111565b61151a848484846116ba565b610e0e5760405162461bcd60e51b81526004016105b690611e08565b6060600c80546104be90611f6e565b6060816115695750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611593578061157d81611fa9565b915061158c9050600a83611ef8565b915061156d565b60008167ffffffffffffffff8111156115bc57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156115e6576020820181803683370190505b5090505b8415611109576115fb600183611f2b565b9150611608600a86611fc4565b611613906030611ee0565b60f81b81838151811061163657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611658600a86611ef8565b94506115ea565b60006001600160e01b031982166380ac58cd60e01b148061169057506001600160e01b03198216635b5e139f60e01b145b806104a957506301ffc9a760e01b6001600160e01b03198316146104a9565b6106ec8383836117c7565b60006001600160a01b0384163b156117bc57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906116fe903390899088908890600401611db8565b602060405180830381600087803b15801561171857600080fd5b505af1925050508015611748575060408051601f3d908101601f1916820190925261174591810190611ce3565b60015b6117a2573d808015611776576040519150601f19603f3d011682016040523d82523d6000602084013e61177b565b606091505b50805161179a5760405162461bcd60e51b81526004016105b690611e08565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611109565b506001949350505050565b6001600160a01b0383166118225761181d81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611845565b816001600160a01b0316836001600160a01b03161461184557611845838261187f565b6001600160a01b03821661185c576106ec8161191c565b826001600160a01b0316826001600160a01b0316146106ec576106ec82826119f5565b6000600161188c84610a33565b6118969190611f2b565b6000838152600760205260409020549091508082146118e9576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061192e90600190611f2b565b6000838152600960205260408120546008805493945090928490811061196457634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061199357634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806119d957634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611a0083610a33565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611a4590611f6e565b90600052602060002090601f016020900481019282611a675760008555611aad565b82601f10611a8057805160ff1916838001178555611aad565b82800160010185558215611aad579182015b82811115611aad578251825591602001919060010190611a92565b50611ab9929150611abd565b5090565b5b80821115611ab95760008155600101611abe565b600067ffffffffffffffff80841115611aed57611aed612004565b604051601f8501601f19908116603f01168101908282118183101715611b1557611b15612004565b81604052809350858152868686011115611b2e57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611b5f57600080fd5b919050565b600060208284031215611b75578081fd5b610ee882611b48565b60008060408385031215611b90578081fd5b611b9983611b48565b9150611ba760208401611b48565b90509250929050565b600080600060608486031215611bc4578081fd5b611bcd84611b48565b9250611bdb60208501611b48565b9150604084013590509250925092565b60008060008060808587031215611c00578081fd5b611c0985611b48565b9350611c1760208601611b48565b925060408501359150606085013567ffffffffffffffff811115611c39578182fd5b8501601f81018713611c49578182fd5b611c5887823560208401611ad2565b91505092959194509250565b60008060408385031215611c76578182fd5b611c7f83611b48565b915060208301358015158114611c93578182fd5b809150509250929050565b60008060408385031215611cb0578182fd5b611cb983611b48565b946020939093013593505050565b600060208284031215611cd8578081fd5b8135610ee88161201a565b600060208284031215611cf4578081fd5b8151610ee88161201a565b600060208284031215611d10578081fd5b813567ffffffffffffffff811115611d26578182fd5b8201601f81018413611d36578182fd5b61110984823560208401611ad2565b600060208284031215611d56578081fd5b5035919050565b60008151808452611d75816020860160208601611f42565b601f01601f19169290920160200192915050565b60008351611d9b818460208801611f42565b835190830190611daf818360208801611f42565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611deb90830184611d5d565b9695505050505050565b602081526000610ee86020830184611d5d565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611ef357611ef3611fd8565b500190565b600082611f0757611f07611fee565b500490565b6000816000190483118215151615611f2657611f26611fd8565b500290565b600082821015611f3d57611f3d611fd8565b500390565b60005b83811015611f5d578181015183820152602001611f45565b83811115610e0e5750506000910152565b600181811c90821680611f8257607f821691505b60208210811415611fa357634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611fbd57611fbd611fd8565b5060010190565b600082611fd357611fd3611fee565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461080f57600080fdfea264697066735822122040246c69beb270652d4af76f978f296191689b1cee4cee336d2cc0fe41db5cf164736f6c63430008040033

Deployed Bytecode Sourcemap

43498:2188:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45504:179;;;;;;;;;;-1:-1:-1;45504:179:0;;;;;:::i;:::-;;:::i;:::-;;;5796:14:1;;5789:22;5771:41;;5759:2;5744:18;45504:179:0;;;;;;;;13857:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;15317:221::-;;;;;;;;;;-1:-1:-1;15317:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5094:32:1;;;5076:51;;5064:2;5049:18;15317:221:0;5031:102:1;14854:397:0;;;;;;;;;;-1:-1:-1;14854:397:0;;;;;:::i;:::-;;:::i;:::-;;25930:113;;;;;;;;;;-1:-1:-1;26018:10:0;:17;25930:113;;;14990:25:1;;;14978:2;14963:18;25930:113:0;14945:76:1;16207:305:0;;;;;;;;;;-1:-1:-1;16207:305:0;;;;;:::i;:::-;;:::i;25598:256::-;;;;;;;;;;-1:-1:-1;25598:256:0;;;;;:::i;:::-;;:::i;45126:109::-;;;;;;;;;;;;;:::i;45037:77::-;;;;;;;;;;;;;:::i;16583:151::-;;;;;;;;;;-1:-1:-1;16583:151:0;;;;;:::i;:::-;;:::i;24178:245::-;;;;;;;;;;-1:-1:-1;24178:245:0;;;;;:::i;:::-;;:::i;26120:233::-;;;;;;;;;;-1:-1:-1;26120:233:0;;;;;:::i;:::-;;:::i;44216:104::-;;;;;;;;;;-1:-1:-1;44216:104:0;;;;;:::i;:::-;;:::i;13551:239::-;;;;;;;;;;-1:-1:-1;13551:239:0;;;;;:::i;:::-;;:::i;13281:208::-;;;;;;;;;;-1:-1:-1;13281:208:0;;;;;:::i;:::-;;:::i;33002:94::-;;;;;;;;;;;;;:::i;44955:74::-;;;;;;;;;;;;;:::i;32351:87::-;;;;;;;;;;-1:-1:-1;32424:6:0;;-1:-1:-1;;;;;32424:6:0;32351:87;;14026:104;;;;;;;;;;;;;:::i;44328:619::-;;;;;;:::i;:::-;;:::i;15610:295::-;;;;;;;;;;-1:-1:-1;15610:295:0;;;;;:::i;:::-;;:::i;16805:285::-;;;;;;;;;;-1:-1:-1;16805:285:0;;;;;:::i;:::-;;:::i;14201:360::-;;;;;;;;;;-1:-1:-1;14201:360:0;;;;;:::i;:::-;;:::i;15976:164::-;;;;;;;;;;-1:-1:-1;15976:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;16097:25:0;;;16073:4;16097:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;15976:164;33251:192;;;;;;;;;;-1:-1:-1;33251:192:0;;;;;:::i;:::-;;:::i;45504:179::-;45615:4;45639:36;45663:11;45639:23;:36::i;:::-;45632:43;45504:179;-1:-1:-1;;45504:179:0:o;13857:100::-;13911:13;13944:5;13937:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13857:100;:::o;15317:221::-;15393:7;18646:16;;;:7;:16;;;;;;-1:-1:-1;;;;;18646:16:0;15413:73;;;;-1:-1:-1;;;15413:73:0;;10983:2:1;15413:73:0;;;10965:21:1;11022:2;11002:18;;;10995:30;11061:34;11041:18;;;11034:62;-1:-1:-1;;;11112:18:1;;;11105:42;11164:19;;15413:73:0;;;;;;;;;-1:-1:-1;15506:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;15506:24:0;;15317:221::o;14854:397::-;14935:13;14951:23;14966:7;14951:14;:23::i;:::-;14935:39;;14999:5;-1:-1:-1;;;;;14993:11:0;:2;-1:-1:-1;;;;;14993:11:0;;;14985:57;;;;-1:-1:-1;;;14985:57:0;;12583:2:1;14985:57:0;;;12565:21:1;12622:2;12602:18;;;12595:30;12661:34;12641:18;;;12634:62;-1:-1:-1;;;12712:18:1;;;12705:31;12753:19;;14985:57:0;12555:223:1;14985:57:0;1399:10;-1:-1:-1;;;;;15063:21:0;;;;:62;;-1:-1:-1;15088:37:0;15105:5;1399:10;15976:164;:::i;15088:37::-;15055:154;;;;-1:-1:-1;;;15055:154:0;;9376:2:1;15055:154:0;;;9358:21:1;9415:2;9395:18;;;9388:30;9454:34;9434:18;;;9427:62;9525:26;9505:18;;;9498:54;9569:19;;15055:154:0;9348:246:1;15055:154:0;15222:21;15231:2;15235:7;15222:8;:21::i;:::-;14854:397;;;:::o;16207:305::-;16368:41;1399:10;16387:12;16401:7;16368:18;:41::i;:::-;16360:103;;;;-1:-1:-1;;;16360:103:0;;;;;;;:::i;:::-;16476:28;16486:4;16492:2;16496:7;16476:9;:28::i;25598:256::-;25695:7;25731:23;25748:5;25731:16;:23::i;:::-;25723:5;:31;25715:87;;;;-1:-1:-1;;;25715:87:0;;6249:2:1;25715:87:0;;;6231:21:1;6288:2;6268:18;;;6261:30;6327:34;6307:18;;;6300:62;-1:-1:-1;;;6378:18:1;;;6371:41;6429:19;;25715:87:0;6221:233:1;25715:87:0;-1:-1:-1;;;;;;25820:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;25598:256::o;45126:109::-;32424:6;;-1:-1:-1;;;;;32424:6:0;1399:10;32571:23;32563:68;;;;-1:-1:-1;;;32563:68:0;;;;;;;:::i;:::-;45176:51:::1;::::0;45184:10:::1;::::0;45205:21:::1;45176:51:::0;::::1;;;::::0;::::1;::::0;;;45205:21;45184:10;45176:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;45126:109::o:0;45037:77::-;32424:6;;-1:-1:-1;;;;;32424:6:0;1399:10;32571:23;32563:68;;;;-1:-1:-1;;;32563:68:0;;;;;;;:::i;:::-;45092:6:::1;:14:::0;;-1:-1:-1;;45092:14:0::1;::::0;;45037:77::o;16583:151::-;16687:39;16704:4;16710:2;16714:7;16687:39;;;;;;;;;;;;:16;:39::i;24178:245::-;24296:41;1399:10;24315:12;1319:98;24296:41;24288:102;;;;-1:-1:-1;;;24288:102:0;;14629:2:1;24288:102:0;;;14611:21:1;14668:2;14648:18;;;14641:30;14707:34;14687:18;;;14680:62;-1:-1:-1;;;14758:18:1;;;14751:46;14814:19;;24288:102:0;14601:238:1;24288:102:0;24401:14;24407:7;24401:5;:14::i;26120:233::-;26195:7;26231:30;26018:10;:17;;25930:113;26231:30;26223:5;:38;26215:95;;;;-1:-1:-1;;;26215:95:0;;13813:2:1;26215:95:0;;;13795:21:1;13852:2;13832:18;;;13825:30;13891:34;13871:18;;;13864:62;-1:-1:-1;;;13942:18:1;;;13935:42;13994:19;;26215:95:0;13785:234:1;26215:95:0;26328:10;26339:5;26328:17;;;;;;-1:-1:-1;;;26328:17:0;;;;;;;;;;;;;;;;;26321:24;;26120:233;;;:::o;44216:104::-;32424:6;;-1:-1:-1;;;;;32424:6:0;1399:10;32571:23;32563:68;;;;-1:-1:-1;;;32563:68:0;;;;;;;:::i;:::-;44289:23;;::::1;::::0;:13:::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;:::-;;44216:104:::0;:::o;13551:239::-;13623:7;13659:16;;;:7;:16;;;;;;-1:-1:-1;;;;;13659:16:0;13694:19;13686:73;;;;-1:-1:-1;;;13686:73:0;;10212:2:1;13686:73:0;;;10194:21:1;10251:2;10231:18;;;10224:30;10290:34;10270:18;;;10263:62;-1:-1:-1;;;10341:18:1;;;10334:39;10390:19;;13686:73:0;10184:231:1;13281:208:0;13353:7;-1:-1:-1;;;;;13381:19:0;;13373:74;;;;-1:-1:-1;;;13373:74:0;;9801:2:1;13373:74:0;;;9783:21:1;9840:2;9820:18;;;9813:30;9879:34;9859:18;;;9852:62;-1:-1:-1;;;9930:18:1;;;9923:40;9980:19;;13373:74:0;9773:232:1;13373:74:0;-1:-1:-1;;;;;;13465:16:0;;;;;:9;:16;;;;;;;13281:208::o;33002:94::-;32424:6;;-1:-1:-1;;;;;32424:6:0;1399:10;32571:23;32563:68;;;;-1:-1:-1;;;32563:68:0;;;;;;;:::i;:::-;33067:21:::1;33085:1;33067:9;:21::i;:::-;33002:94::o:0;44955:74::-;32424:6;;-1:-1:-1;;;;;32424:6:0;1399:10;32571:23;32563:68;;;;-1:-1:-1;;;32563:68:0;;;;;;;:::i;:::-;45008:6:::1;:13:::0;;-1:-1:-1;;45008:13:0::1;45017:4;45008:13;::::0;;44955:74::o;14026:104::-;14082:13;14115:7;14108:14;;;;;:::i;44328:619::-;44390:6;;;;44389:7;;:32;;-1:-1:-1;32424:6:0;;-1:-1:-1;;;;;32424:6:0;44400:10;:21;44389:32;44381:41;;;;;;44450:1;44441:6;:10;:25;;;;;44464:2;44455:6;:11;44441:25;44433:79;;;;-1:-1:-1;;;44433:79:0;;13403:2:1;44433:79:0;;;13385:21:1;13442:2;13422:18;;;13415:30;13481:34;13461:18;;;13454:62;-1:-1:-1;;;13532:18:1;;;13525:39;13581:19;;44433:79:0;13375:231:1;44433:79:0;44544:16;44554:6;43797:17;44544:16;:::i;:::-;44531:9;:29;:54;;;-1:-1:-1;32424:6:0;;-1:-1:-1;;;;;32424:6:0;44564:10;:21;44531:54;44523:101;;;;-1:-1:-1;;;44523:101:0;;14226:2:1;44523:101:0;;;14208:21:1;14265:2;14245:18;;;14238:30;14304:34;14284:18;;;14277:62;-1:-1:-1;;;14355:18:1;;;14348:32;14397:19;;44523:101:0;14198:224:1;44523:101:0;43751:5;44671:6;44643:25;:15;2519:14;;2427:114;44643:25;:34;;;;:::i;:::-;:46;44635:90;;;;-1:-1:-1;;;44635:90:0;;7844:2:1;44635:90:0;;;7826:21:1;7883:2;7863:18;;;7856:30;7922:33;7902:18;;;7895:61;7973:18;;44635:90:0;7816:181:1;44635:90:0;44740:6;44736:204;44756:6;44752:1;:10;44736:204;;;44784:27;:15;2638:19;;2656:1;2638:19;;;2549:127;44784:27;44826:44;44832:10;44844:25;:15;2519:14;;2427:114;44844:25;44826:5;:44::i;:::-;44902:15;2519:14;44890:38;;;;;;;44764:3;;;;:::i;:::-;;;;44736:204;;15610:295;-1:-1:-1;;;;;15713:24:0;;1399:10;15713:24;;15705:62;;;;-1:-1:-1;;;15705:62:0;;8609:2:1;15705:62:0;;;8591:21:1;8648:2;8628:18;;;8621:30;8687:27;8667:18;;;8660:55;8732:18;;15705:62:0;8581:175:1;15705:62:0;1399:10;15780:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;15780:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;15780:53:0;;;;;;;;;;15849:48;;5771:41:1;;;15780:42:0;;1399:10;15849:48;;5744:18:1;15849:48:0;;;;;;;15610:295;;:::o;16805:285::-;16937:41;1399:10;16970:7;16937:18;:41::i;:::-;16929:103;;;;-1:-1:-1;;;16929:103:0;;;;;;;:::i;:::-;17043:39;17057:4;17063:2;17067:7;17076:5;17043:13;:39::i;:::-;16805:285;;;;:::o;14201:360::-;18622:4;18646:16;;;:7;:16;;;;;;14274:13;;-1:-1:-1;;;;;18646:16:0;14300:76;;;;-1:-1:-1;;;14300:76:0;;12167:2:1;14300:76:0;;;12149:21:1;12206:2;12186:18;;;12179:30;12245:34;12225:18;;;12218:62;-1:-1:-1;;;12296:18:1;;;12289:45;12351:19;;14300:76:0;12139:237:1;14300:76:0;14389:21;14413:10;:8;:10::i;:::-;14389:34;;14465:1;14447:7;14441:21;:25;:112;;;;;;;;;;;;;;;;;14506:7;14515:18;:7;:16;:18::i;:::-;14489:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;14441:112;14434:119;14201:360;-1:-1:-1;;;14201:360:0:o;33251:192::-;32424:6;;-1:-1:-1;;;;;32424:6:0;1399:10;32571:23;32563:68;;;;-1:-1:-1;;;32563:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;33340:22:0;::::1;33332:73;;;::::0;-1:-1:-1;;;33332:73:0;;7080:2:1;33332:73:0::1;::::0;::::1;7062:21:1::0;7119:2;7099:18;;;7092:30;7158:34;7138:18;;;7131:62;-1:-1:-1;;;7209:18:1;;;7202:36;7255:19;;33332:73:0::1;7052:228:1::0;33332:73:0::1;33416:19;33426:8;33416:9;:19::i;25277:237::-:0;25379:4;-1:-1:-1;;;;;;25403:50:0;;-1:-1:-1;;;25403:50:0;;:103;;;25470:36;25494:11;25470:23;:36::i;21507:174::-;21582:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;21582:29:0;-1:-1:-1;;;;;21582:29:0;;;;;;;;:24;;21636:23;21582:24;21636:14;:23::i;:::-;-1:-1:-1;;;;;21627:46:0;;;;;;;;;;;21507:174;;:::o;18851:348::-;18944:4;18646:16;;;:7;:16;;;;;;-1:-1:-1;;;;;18646:16:0;18961:73;;;;-1:-1:-1;;;18961:73:0;;8963:2:1;18961:73:0;;;8945:21:1;9002:2;8982:18;;;8975:30;9041:34;9021:18;;;9014:62;-1:-1:-1;;;9092:18:1;;;9085:42;9144:19;;18961:73:0;8935:234:1;18961:73:0;19045:13;19061:23;19076:7;19061:14;:23::i;:::-;19045:39;;19114:5;-1:-1:-1;;;;;19103:16:0;:7;-1:-1:-1;;;;;19103:16:0;;:51;;;;19147:7;-1:-1:-1;;;;;19123:31:0;:20;19135:7;19123:11;:20::i;:::-;-1:-1:-1;;;;;19123:31:0;;19103:51;:87;;;-1:-1:-1;;;;;;16097:25:0;;;16073:4;16097:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;19158:32;19095:96;18851:348;-1:-1:-1;;;;18851:348:0:o;20845:544::-;20970:4;-1:-1:-1;;;;;20943:31:0;:23;20958:7;20943:14;:23::i;:::-;-1:-1:-1;;;;;20943:31:0;;20935:85;;;;-1:-1:-1;;;20935:85:0;;11757:2:1;20935:85:0;;;11739:21:1;11796:2;11776:18;;;11769:30;11835:34;11815:18;;;11808:62;-1:-1:-1;;;11886:18:1;;;11879:39;11935:19;;20935:85:0;11729:231:1;20935:85:0;-1:-1:-1;;;;;21039:16:0;;21031:65;;;;-1:-1:-1;;;21031:65:0;;8204:2:1;21031:65:0;;;8186:21:1;8243:2;8223:18;;;8216:30;8282:34;8262:18;;;8255:62;-1:-1:-1;;;8333:18:1;;;8326:34;8377:19;;21031:65:0;8176:226:1;21031:65:0;21109:39;21130:4;21136:2;21140:7;21109:20;:39::i;:::-;21213:29;21230:1;21234:7;21213:8;:29::i;:::-;-1:-1:-1;;;;;21255:15:0;;;;;;:9;:15;;;;;:20;;21274:1;;21255:15;:20;;21274:1;;21255:20;:::i;:::-;;;;-1:-1:-1;;;;;;;21286:13:0;;;;;;:9;:13;;;;;:18;;21303:1;;21286:13;:18;;21303:1;;21286:18;:::i;:::-;;;;-1:-1:-1;;21315:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;21315:21:0;-1:-1:-1;;;;;21315:21:0;;;;;;;;;21354:27;;21315:16;;21354:27;;;;;;;20845:544;;;:::o;20148:360::-;20208:13;20224:23;20239:7;20224:14;:23::i;:::-;20208:39;;20260:48;20281:5;20296:1;20300:7;20260:20;:48::i;:::-;20349:29;20366:1;20370:7;20349:8;:29::i;:::-;-1:-1:-1;;;;;20391:16:0;;;;;;:9;:16;;;;;:21;;20411:1;;20391:16;:21;;20411:1;;20391:21;:::i;:::-;;;;-1:-1:-1;;20430:16:0;;;;:7;:16;;;;;;20423:23;;-1:-1:-1;;;;;;20423:23:0;;;20464:36;20438:7;;20430:16;-1:-1:-1;;;;;20464:36:0;;;;;20430:16;;20464:36;20148:360;;:::o;33451:173::-;33526:6;;;-1:-1:-1;;;;;33543:17:0;;;-1:-1:-1;;;;;;33543:17:0;;;;;;;33576:40;;33526:6;;;33543:17;33526:6;;33576:40;;33507:16;;33576:40;33451:173;;:::o;19537:382::-;-1:-1:-1;;;;;19617:16:0;;19609:61;;;;-1:-1:-1;;;19609:61:0;;10622:2:1;19609:61:0;;;10604:21:1;;;10641:18;;;10634:30;10700:34;10680:18;;;10673:62;10752:18;;19609:61:0;10594:182:1;19609:61:0;18622:4;18646:16;;;:7;:16;;;;;;-1:-1:-1;;;;;18646:16:0;:30;19681:58;;;;-1:-1:-1;;;19681:58:0;;7487:2:1;19681:58:0;;;7469:21:1;7526:2;7506:18;;;7499:30;7565;7545:18;;;7538:58;7613:18;;19681:58:0;7459:178:1;19681:58:0;19752:45;19781:1;19785:2;19789:7;19752:20;:45::i;:::-;-1:-1:-1;;;;;19810:13:0;;;;;;:9;:13;;;;;:18;;19827:1;;19810:13;:18;;19827:1;;19810:18;:::i;:::-;;;;-1:-1:-1;;19839:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;19839:21:0;-1:-1:-1;;;;;19839:21:0;;;;;;;;19878:33;;19839:16;;;19878:33;;19839:16;;19878:33;19537:382;;:::o;17972:272::-;18086:28;18096:4;18102:2;18106:7;18086:9;:28::i;:::-;18133:48;18156:4;18162:2;18166:7;18175:5;18133:22;:48::i;:::-;18125:111;;;;-1:-1:-1;;;18125:111:0;;;;;;;:::i;44090:114::-;44150:13;44183;44176:20;;;;;:::i;33886:723::-;33942:13;34163:10;34159:53;;-1:-1:-1;;34190:10:0;;;;;;;;;;;;-1:-1:-1;;;34190:10:0;;;;;33886:723::o;34159:53::-;34237:5;34222:12;34278:78;34285:9;;34278:78;;34311:8;;;;:::i;:::-;;-1:-1:-1;34334:10:0;;-1:-1:-1;34342:2:0;34334:10;;:::i;:::-;;;34278:78;;;34366:19;34398:6;34388:17;;;;;;-1:-1:-1;;;34388:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34388:17:0;;34366:39;;34416:154;34423:10;;34416:154;;34450:11;34460:1;34450:11;;:::i;:::-;;-1:-1:-1;34519:10:0;34527:2;34519:5;:10;:::i;:::-;34506:24;;:2;:24;:::i;:::-;34493:39;;34476:6;34483;34476:14;;;;;;-1:-1:-1;;;34476:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;34476:56:0;;;;;;;;-1:-1:-1;34547:11:0;34556:2;34547:11;;:::i;:::-;;;34416:154;;12925:292;13027:4;-1:-1:-1;;;;;;13051:40:0;;-1:-1:-1;;;13051:40:0;;:105;;-1:-1:-1;;;;;;;13108:48:0;;-1:-1:-1;;;13108:48:0;13051:105;:158;;;-1:-1:-1;;;;;;;;;;11606:40:0;;;13173:36;11497:157;45243:189;45379:45;45406:4;45412:2;45416:7;45379:26;:45::i;22246:843::-;22367:4;-1:-1:-1;;;;;22393:13:0;;36678:20;36726:8;22389:693;;22429:72;;-1:-1:-1;;;22429:72:0;;-1:-1:-1;;;;;22429:36:0;;;;;:72;;1399:10;;22480:4;;22486:7;;22495:5;;22429:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22429:72:0;;;;;;;;-1:-1:-1;;22429:72:0;;;;;;;;;;;;:::i;:::-;;;22425:602;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22675:13:0;;22671:341;;22718:60;;-1:-1:-1;;;22718:60:0;;;;;;;:::i;22671:341::-;22962:6;22956:13;22947:6;22943:2;22939:15;22932:38;22425:602;-1:-1:-1;;;;;;22552:55:0;-1:-1:-1;;;22552:55:0;;-1:-1:-1;22545:62:0;;22389:693;-1:-1:-1;23066:4:0;22246:843;;;;;;:::o;26966:555::-;-1:-1:-1;;;;;27138:18:0;;27134:187;;27173:40;27205:7;28348:10;:17;;28321:24;;;;:15;:24;;;;;:44;;;28376:24;;;;;;;;;;;;28244:164;27173:40;27134:187;;;27243:2;-1:-1:-1;;;;;27235:10:0;:4;-1:-1:-1;;;;;27235:10:0;;27231:90;;27262:47;27295:4;27301:7;27262:32;:47::i;:::-;-1:-1:-1;;;;;27335:16:0;;27331:183;;27368:45;27405:7;27368:36;:45::i;27331:183::-;27441:4;-1:-1:-1;;;;;27435:10:0;:2;-1:-1:-1;;;;;27435:10:0;;27431:83;;27462:40;27490:2;27494:7;27462:27;:40::i;29035:988::-;29301:22;29351:1;29326:22;29343:4;29326:16;:22::i;:::-;:26;;;;:::i;:::-;29363:18;29384:26;;;:17;:26;;;;;;29301:51;;-1:-1:-1;29517:28:0;;;29513:328;;-1:-1:-1;;;;;29584:18:0;;29562:19;29584:18;;;:12;:18;;;;;;;;:34;;;;;;;;;29635:30;;;;;;:44;;;29752:30;;:17;:30;;;;;:43;;;29513:328;-1:-1:-1;29937:26:0;;;;:17;:26;;;;;;;;29930:33;;;-1:-1:-1;;;;;29981:18:0;;;;;:12;:18;;;;;:34;;;;;;;29974:41;29035:988::o;30318:1079::-;30596:10;:17;30571:22;;30596:21;;30616:1;;30596:21;:::i;:::-;30628:18;30649:24;;;:15;:24;;;;;;31022:10;:26;;30571:46;;-1:-1:-1;30649:24:0;;30571:46;;31022:26;;;;-1:-1:-1;;;31022:26:0;;;;;;;;;;;;;;;;;31000:48;;31086:11;31061:10;31072;31061:22;;;;;;-1:-1:-1;;;31061:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;31166:28;;;:15;:28;;;;;;;:41;;;31338:24;;;;;31331:31;31373:10;:16;;;;;-1:-1:-1;;;31373:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;30318:1079;;;;:::o;27822:221::-;27907:14;27924:20;27941:2;27924:16;:20::i;:::-;-1:-1:-1;;;;;27955:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;28000:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;27822:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:2;;813:1;810;803:12;747:2;699:124;;;:::o;828:196::-;887:6;940:2;928:9;919:7;915:23;911:32;908:2;;;961:6;953;946:22;908:2;989:29;1008:9;989:29;:::i;1029:270::-;1097:6;1105;1158:2;1146:9;1137:7;1133:23;1129:32;1126:2;;;1179:6;1171;1164:22;1126:2;1207:29;1226:9;1207:29;:::i;:::-;1197:39;;1255:38;1289:2;1278:9;1274:18;1255:38;:::i;:::-;1245:48;;1116:183;;;;;:::o;1304:338::-;1381:6;1389;1397;1450:2;1438:9;1429:7;1425:23;1421:32;1418:2;;;1471:6;1463;1456:22;1418:2;1499:29;1518:9;1499:29;:::i;:::-;1489:39;;1547:38;1581:2;1570:9;1566:18;1547:38;:::i;:::-;1537:48;;1632:2;1621:9;1617:18;1604:32;1594:42;;1408:234;;;;;:::o;1647:696::-;1742:6;1750;1758;1766;1819:3;1807:9;1798:7;1794:23;1790:33;1787:2;;;1841:6;1833;1826:22;1787:2;1869:29;1888:9;1869:29;:::i;:::-;1859:39;;1917:38;1951:2;1940:9;1936:18;1917:38;:::i;:::-;1907:48;;2002:2;1991:9;1987:18;1974:32;1964:42;;2057:2;2046:9;2042:18;2029:32;2084:18;2076:6;2073:30;2070:2;;;2121:6;2113;2106:22;2070:2;2149:22;;2202:4;2194:13;;2190:27;-1:-1:-1;2180:2:1;;2236:6;2228;2221:22;2180:2;2264:73;2329:7;2324:2;2311:16;2306:2;2302;2298:11;2264:73;:::i;:::-;2254:83;;;1777:566;;;;;;;:::o;2348:367::-;2413:6;2421;2474:2;2462:9;2453:7;2449:23;2445:32;2442:2;;;2495:6;2487;2480:22;2442:2;2523:29;2542:9;2523:29;:::i;:::-;2513:39;;2602:2;2591:9;2587:18;2574:32;2649:5;2642:13;2635:21;2628:5;2625:32;2615:2;;2676:6;2668;2661:22;2615:2;2704:5;2694:15;;;2432:283;;;;;:::o;2720:264::-;2788:6;2796;2849:2;2837:9;2828:7;2824:23;2820:32;2817:2;;;2870:6;2862;2855:22;2817:2;2898:29;2917:9;2898:29;:::i;:::-;2888:39;2974:2;2959:18;;;;2946:32;;-1:-1:-1;;;2807:177:1:o;2989:255::-;3047:6;3100:2;3088:9;3079:7;3075:23;3071:32;3068:2;;;3121:6;3113;3106:22;3068:2;3165:9;3152:23;3184:30;3208:5;3184:30;:::i;3249:259::-;3318:6;3371:2;3359:9;3350:7;3346:23;3342:32;3339:2;;;3392:6;3384;3377:22;3339:2;3429:9;3423:16;3448:30;3472:5;3448:30;:::i;3513:480::-;3582:6;3635:2;3623:9;3614:7;3610:23;3606:32;3603:2;;;3656:6;3648;3641:22;3603:2;3701:9;3688:23;3734:18;3726:6;3723:30;3720:2;;;3771:6;3763;3756:22;3720:2;3799:22;;3852:4;3844:13;;3840:27;-1:-1:-1;3830:2:1;;3886:6;3878;3871:22;3830:2;3914:73;3979:7;3974:2;3961:16;3956:2;3952;3948:11;3914:73;:::i;3998:190::-;4057:6;4110:2;4098:9;4089:7;4085:23;4081:32;4078:2;;;4131:6;4123;4116:22;4078:2;-1:-1:-1;4159:23:1;;4068:120;-1:-1:-1;4068:120:1:o;4193:257::-;4234:3;4272:5;4266:12;4299:6;4294:3;4287:19;4315:63;4371:6;4364:4;4359:3;4355:14;4348:4;4341:5;4337:16;4315:63;:::i;:::-;4432:2;4411:15;-1:-1:-1;;4407:29:1;4398:39;;;;4439:4;4394:50;;4242:208;-1:-1:-1;;4242:208:1:o;4455:470::-;4634:3;4672:6;4666:13;4688:53;4734:6;4729:3;4722:4;4714:6;4710:17;4688:53;:::i;:::-;4804:13;;4763:16;;;;4826:57;4804:13;4763:16;4860:4;4848:17;;4826:57;:::i;:::-;4899:20;;4642:283;-1:-1:-1;;;;4642:283:1:o;5138:488::-;-1:-1:-1;;;;;5407:15:1;;;5389:34;;5459:15;;5454:2;5439:18;;5432:43;5506:2;5491:18;;5484:34;;;5554:3;5549:2;5534:18;;5527:31;;;5332:4;;5575:45;;5600:19;;5592:6;5575:45;:::i;:::-;5567:53;5341:285;-1:-1:-1;;;;;;5341:285:1:o;5823:219::-;5972:2;5961:9;5954:21;5935:4;5992:44;6032:2;6021:9;6017:18;6009:6;5992:44;:::i;6459:414::-;6661:2;6643:21;;;6700:2;6680:18;;;6673:30;6739:34;6734:2;6719:18;;6712:62;-1:-1:-1;;;6805:2:1;6790:18;;6783:48;6863:3;6848:19;;6633:240::o;11194:356::-;11396:2;11378:21;;;11415:18;;;11408:30;11474:34;11469:2;11454:18;;11447:62;11541:2;11526:18;;11368:182::o;12783:413::-;12985:2;12967:21;;;13024:2;13004:18;;;12997:30;13063:34;13058:2;13043:18;;13036:62;-1:-1:-1;;;13129:2:1;13114:18;;13107:47;13186:3;13171:19;;12957:239::o;15026:128::-;15066:3;15097:1;15093:6;15090:1;15087:13;15084:2;;;15103:18;;:::i;:::-;-1:-1:-1;15139:9:1;;15074:80::o;15159:120::-;15199:1;15225;15215:2;;15230:18;;:::i;:::-;-1:-1:-1;15264:9:1;;15205:74::o;15284:168::-;15324:7;15390:1;15386;15382:6;15378:14;15375:1;15372:21;15367:1;15360:9;15353:17;15349:45;15346:2;;;15397:18;;:::i;:::-;-1:-1:-1;15437:9:1;;15336:116::o;15457:125::-;15497:4;15525:1;15522;15519:8;15516:2;;;15530:18;;:::i;:::-;-1:-1:-1;15567:9:1;;15506:76::o;15587:258::-;15659:1;15669:113;15683:6;15680:1;15677:13;15669:113;;;15759:11;;;15753:18;15740:11;;;15733:39;15705:2;15698:10;15669:113;;;15800:6;15797:1;15794:13;15791:2;;;-1:-1:-1;;15835:1:1;15817:16;;15810:27;15640:205::o;15850:380::-;15929:1;15925:12;;;;15972;;;15993:2;;16047:4;16039:6;16035:17;16025:27;;15993:2;16100;16092:6;16089:14;16069:18;16066:38;16063:2;;;16146:10;16141:3;16137:20;16134:1;16127:31;16181:4;16178:1;16171:15;16209:4;16206:1;16199:15;16063:2;;15905:325;;;:::o;16235:135::-;16274:3;-1:-1:-1;;16295:17:1;;16292:2;;;16315:18;;:::i;:::-;-1:-1:-1;16362:1:1;16351:13;;16282:88::o;16375:112::-;16407:1;16433;16423:2;;16438:18;;:::i;:::-;-1:-1:-1;16472:9:1;;16413:74::o;16492:127::-;16553:10;16548:3;16544:20;16541:1;16534:31;16584:4;16581:1;16574:15;16608:4;16605:1;16598:15;16624:127;16685:10;16680:3;16676:20;16673:1;16666:31;16716:4;16713:1;16706:15;16740:4;16737:1;16730:15;16756:127;16817:10;16812:3;16808:20;16805:1;16798:31;16848:4;16845:1;16838:15;16872:4;16869:1;16862:15;16888:131;-1:-1:-1;;;;;;16962:32:1;;16952:43;;16942:2;;17009:1;17006;16999:12

Swarm Source

ipfs://40246c69beb270652d4af76f978f296191689b1cee4cee336d2cc0fe41db5cf1
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.