ERC-721
Source Code
NFT
Overview
Max Total Supply
82 FUFO
Holders
5
Transfers
-
0
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
| # | Exchange | Pair | Price | 24H Volume | % Volume |
|---|
Contract Name:
FunkiFoxes
Compiler Version
v0.8.0+commit.c7dfd78e
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2022-02-11
*/
/**
____________________ _____ ________ ________ ___ ____ __ ____ ___
/ ____/ ____/ ____/ / / _/ | / / ____/ / ____/ / / / | / / //_// _/ /__ \
/ /_ / __/ / __/ / / / // |/ / / __ / /_ / / / / |/ / ,< / / / _/
/ __/ / /___/ /___/ /____/ // /| / /_/ / / __/ / /_/ / /| / /| |_/ / /_/
/_/ /_____/_____/_____/___/_/ |_/\____/ /_/ \____/_/ |_/_/ |_/___/ (_)
.::. :-
+@%%%#++=: .+##*%-
.%++*%%*=+#+: .:-==: -*#*****%:
*#+***#%*==+*+=--=***++##*+::=##******+%=
.%****#@%+=====++=====+#*++++**#%#**++*#
.##**#@#========================+####%.
+#%%=============================+##
+#===========================+++==+%.
%+=========+*****+========+####*##++%.
%========*#********+=====***#%%%#%%*+#
*+++=====**%@@#%%##*=====**%*#*#+#=#=**:
:%+++====*@*###**+*+======+==+=======++%#:.
**++=====+++***#######*++==+*#%###*+==*%%=
.#++++*##*++=-:::.....::-+*@%#####@-..:+%#=
*%###*=::::::..... +@%##%%+*-:=#-
.#%+#%@+:--:::....... :*@@+::#-#+
=@*===##**#@===-:.....:-=========-:--::#:
#%=========**+++****+-:..............=-%:
##===================+*#*==+*******%+#@+:
#*========================*+========+*=%+
#+======================================+%
#+========================================%:
+*=========================================*+
.#===========================================%
*+===========================================%
:%============================================%:
#+============================================%-
.@=============================================%=
-%=============================================@=
=%========================================+++++@+
=%=================================++*##**+++++*##*=:
-@========**+===============++*#%%%@+-:::::::::::*%@@%+
.@=========+##%##########%%##*+==+%+::::::::::::::-=*#+:
@+============================+#%=:::::::::::::::::::-*%=
*%=========================+##*=::::::::::::::::::::::::%*
.@+====================+*#*+-:::::::::::::::::::::::::::#*
+%====================*###**++++*#%#:::::::::::::::::-**.
*%========================+++++#%+:::::::::::::::=*%#.
-%#========================+#%+::::::::::::::-=++%#
-#%+==============+++*###*-::::::::::::::::::-#*
.+%%*+==========#@%+::::::::::::::::::::-+#*:
.-*#%#*++======+#%#+=---:::::--=+*##*+:
:=+**********+-=++++++**++=:.
*/
/**
* Some got a head, but the cap don't fit.
* Some got no head, but they got a cap.
* Some got no cap, but they got the head.
* Who the cap fits, better wear it.
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
/**
* @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;
}
/**
* Riddles?
*/
/**
* @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);
}
/**
* What is the end of everything?
*/
/**
* @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);
}
/**
* @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);
}
}
}
}
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
/**
* What kind of room has no doors or windows?
*/
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}
/**
* @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;
}
}
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
mapping(uint256 => address) private _owners;
// Mapping owner address to token count
mapping(address => uint256) private _balances;
// Mapping from token ID to approved address
mapping(uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC721).interfaceId ||
interfaceId == type(IERC721Metadata).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
require(owner != address(0), "ERC721: balance query for the zero address");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _owners[tokenId];
require(owner != address(0), "ERC721: owner query for nonexistent token");
return owner;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overriden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(
_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not owner nor approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
require(_exists(tokenId), "ERC721: approved query for nonexistent token");
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
require(operator != _msgSender(), "ERC721: approve to caller");
_operatorApprovals[_msgSender()][operator] = approved;
emit ApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes memory _data
) public virtual override {
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_safeTransfer(from, to, tokenId, _data);
}
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* `_data` is additional data, it has no specified format and it is sent in call to `to`.
*
* This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
* implement alternative mechanisms to perform token transfer, such as signature-based.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeTransfer(
address from,
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_transfer(from, to, tokenId);
require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
* and stop existing when they are burned (`_burn`).
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return _owners[tokenId] != address(0);
}
/**
* @dev Returns whether `spender` is allowed to manage `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
require(_exists(tokenId), "ERC721: operator query for nonexistent token");
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_mint(to, tokenId);
require(
_checkOnERC721Received(address(0), to, tokenId, _data),
"ERC721: transfer to non ERC721Receiver implementer"
);
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* Which word in the dictionary is always spelled incorrectly?
*/
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
if (to.isContract()) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721: transfer to non ERC721Receiver implementer");
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
}
/**
* @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);
}
/**
* @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();
}
}
/**
* The first letter of each answer reveal a code. Got it? dm gervixen the code on discord ;)
*/
/**
* @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);
}
}
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and make it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
// On the first call to nonReentrant, _notEntered will be true
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
_;
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
if (b > a) return (false, 0);
return (true, a - b);
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
if (b == 0) return (false, 0);
return (true, a / b);
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
if (b == 0) return (false, 0);
return (true, a % b);
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
require(b <= a, errorMessage);
return a - b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
require(b > 0, errorMessage);
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
require(b > 0, errorMessage);
return a % b;
}
}
contract FunkiFoxes is Ownable, ERC721Enumerable, ReentrancyGuard {
using SafeMath for uint256;
string public FOX_PROVENANCE = "";
uint256 public maxTokenSupply = 12000;
uint256 public mintPrice = 0.1 ether;
mapping (address=>uint256) private _tokenBalance;
string baseTokenURI;
uint256 public maxMintNumber = 20;
bool public paused = true;
struct Fox {
uint256 tokenId;
address creator;
address owner;
}
mapping(uint256=>Fox) private foxes;
bool public fvtState = true;
address public fvtAddress;
uint256 public fvtPrice = 0.1 ether;
uint256[10000] private _availableTokens;
uint256 private _numAvailableTokens = 10000;
event FoxMint(address indexed to, Fox _fox);
event SetPrice(uint256 _value);
event MaxMintNumber(uint256 _value);
event ChangePaused(bool _value);
event ChangeFVTState(bool _value);
event SetFVTPrice(uint256 _value);
constructor(string memory _baseTokenURI) ERC721("Funki Foxes", "FUFO") {
baseTokenURI = _baseTokenURI;
}
function setPaused() public onlyOwner {
paused = !paused;
emit ChangePaused(paused);
}
function setMintPrice(uint256 _mintPrice) public onlyOwner {
mintPrice = _mintPrice;
emit SetPrice(mintPrice);
}
function setBaseTokenURI(string memory _baseTokenURI) public onlyOwner {
baseTokenURI = _baseTokenURI;
}
function setMaxMintNumber(uint256 _maxMintNumber) public onlyOwner {
maxMintNumber = _maxMintNumber;
emit MaxMintNumber(_maxMintNumber);
}
function setProvenanceHash(string memory provenanceHash) public onlyOwner {
FOX_PROVENANCE = provenanceHash;
}
function setFVTAddress(address _fvtAddress) external onlyOwner {
fvtAddress = _fvtAddress;
}
function setFVTState() external onlyOwner {
fvtState = !fvtState;
emit ChangeFVTState(fvtState);
}
function setFVTPrice(uint256 _fvtPrice) external onlyOwner {
fvtPrice = _fvtPrice;
emit SetFVTPrice(fvtPrice);
}
function mintReserves(uint256[] memory ids) public onlyOwner {
require(ids.length <= maxMintNumber, "Too many tokens");
require(validateReserveTokens(ids), "Invalid tokens to reserve!");
for(uint256 i = 0; i < ids.length; i++) {
uint256 _mintIndex = useAvailableTokenAtIndex(ids[i]);
Fox storage newFox = foxes[_mintIndex];
newFox.tokenId = _mintIndex;
newFox.creator = _msgSender();
newFox.owner = _msgSender();
_safeMint(_msgSender(), _mintIndex);
emit FoxMint(_msgSender(), newFox);
}
_tokenBalance[_msgSender()] += ids.length;
}
function validateReserveTokens(uint256[] memory ids) internal view returns(bool) {
bool res = true;
for (uint256 i = 0; i < ids.length; i++) {
if (_availableTokens[ids[i]] != 0) {
res = false;
break;
}
}
return res;
}
function mintFox(uint256 _numberOfTokens) public payable nonReentrant() {
require(_numberOfTokens >= 1, "At least, one token should be");
require(_numberOfTokens <= maxMintNumber, "Too many tokens to mint at once");
uint256 totalSupply = totalSupply();
require(totalSupply.add(_numberOfTokens) <= maxTokenSupply, "No foxes available for minting!");
if (fvtState) {
require(ERC721(fvtAddress).balanceOf(_msgSender()) > 0, "Non FVT member");
require(_tokenBalance[_msgSender()].add(_numberOfTokens) <= 2, "You can not mint more than 2 tokens!");
require(msg.value >= fvtPrice.mul(_numberOfTokens), "Amount is not enough!");
} else {
require(!paused, "Minting is paused");
require(msg.value >= mintPrice.mul(_numberOfTokens), "Amount is not enough!");
}
_tokenBalance[_msgSender()] += _numberOfTokens;
for (uint256 i = 1; i <= _numberOfTokens; i++) {
uint256 _mintIndex = useRandomAvailableToken(_numberOfTokens, i);
Fox storage newFox = foxes[_mintIndex];
newFox.tokenId = _mintIndex;
newFox.creator = _msgSender();
newFox.owner = _msgSender();
_safeMint(_msgSender(), _mintIndex);
emit FoxMint(_msgSender(), newFox);
}
}
function useRandomAvailableToken(uint256 _numToFetch, uint256 _i) internal returns (uint256) {
uint256 randomNum = uint256(
keccak256(
abi.encode(
msg.sender,
tx.gasprice,
block.number,
block.timestamp,
blockhash(block.number - 1),
_numToFetch,
_i
)
)
);
uint256 randomIndex = (randomNum % _numAvailableTokens) + 1;
return useAvailableTokenAtIndex(randomIndex);
}
function useAvailableTokenAtIndex(uint256 indexToUse) internal returns (uint256) {
uint256 valAtIndex = _availableTokens[indexToUse];
uint256 result;
if (valAtIndex == 0) {
result = indexToUse;
} else {
result = valAtIndex;
}
uint256 lastIndex = _numAvailableTokens - 1;
if (indexToUse != lastIndex) {
uint256 lastValInArray = _availableTokens[lastIndex];
if (lastValInArray == 0) {
_availableTokens[indexToUse] = lastIndex;
} else {
_availableTokens[indexToUse] = lastValInArray;
}
}
_numAvailableTokens--;
return result;
}
function creatorOf(uint256 _tokenId) public view returns (address) {
return foxes[_tokenId].creator;
}
function balanceOf(address account) public view virtual override returns(uint256) {
return _tokenBalance[account];
}
function tokenURI(uint256 _tokenId) public view override returns (string memory) {
require(_availableTokens[_tokenId] != 0, "ERC721Metadata: URI query for nonexistent token");
string memory _tokenURI = Strings.toString(_tokenId);
return string(abi.encodePacked(baseTokenURI, _tokenURI));
}
function withdrawAll() public onlyOwner {
payable(_msgSender()).transfer(address(this).balance);
}
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = foxes[tokenId].owner;
require(owner != address(0), "ERC721: owner query for nonexistent token");
return owner;
}
function _transfer(address from, address to, uint256 tokenId) internal virtual override {
// check owner of fox
require(ownerOf(tokenId) == from, "Caller is not owner");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
_approve(address(0), tokenId);
foxes[tokenId].owner = to;
_tokenBalance[from]--;
_tokenBalance[to]++;
emit Transfer(from, to, tokenId);
}
}
/**
__ __ __ _________________ __________________________ ___ ____ __ ____
__/ // /_/ / / ____/_ __/ ___// ____/ ____/_ __/ ____/ / / / | / / //_// _/
/_ _ __/ / / __/ / / \__ \/ / __/ __/ / / / /_ / / / / |/ / ,< / /
/_ _ __/ /___/ /___ / / ___/ / /_/ / /___ / / / __/ / /_/ / /| / /| |_/ /
/_//_/ /_____/_____/ /_/ /____/\____/_____/ /_/ /_/ \____/_/ |_/_/ |_/___/
*/Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"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":false,"internalType":"bool","name":"_value","type":"bool"}],"name":"ChangeFVTState","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_value","type":"bool"}],"name":"ChangePaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"creator","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"indexed":false,"internalType":"struct FunkiFoxes.Fox","name":"_fox","type":"tuple"}],"name":"FoxMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"MaxMintNumber","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":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"SetFVTPrice","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"SetPrice","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FOX_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"creatorOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fvtAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fvtPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fvtState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numberOfTokens","type":"uint256"}],"name":"mintFox","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"mintReserves","outputs":[],"stateMutability":"nonpayable","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_fvtAddress","type":"address"}],"name":"setFVTAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fvtPrice","type":"uint256"}],"name":"setFVTPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setFVTState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintNumber","type":"uint256"}],"name":"setMaxMintNumber","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","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":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60a06040819052600060808190526200001b91600c9162000187565b50612ee0600d5567016345785d8a0000600e8190556014601181905560128054600160ff199182168117909255825416179055601555612710612726553480156200006557600080fd5b50604051620033793803806200337983398101604081905262000088916200022d565b6040518060400160405280600b81526020016a46756e6b6920466f78657360a81b815250604051806040016040528060048152602001634655464f60e01b815250620000e3620000dd6200013360201b60201c565b62000137565b8151620000f890600190602085019062000187565b5080516200010e90600290602084019062000187565b50506001600b555080516200012b90601090602084019062000187565b50506200034f565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200019590620002fc565b90600052602060002090601f016020900481019282620001b9576000855562000204565b82601f10620001d457805160ff191683800117855562000204565b8280016001018555821562000204579182015b8281111562000204578251825591602001919060010190620001e7565b506200021292915062000216565b5090565b5b8082111562000212576000815560010162000217565b6000602080838503121562000240578182fd5b82516001600160401b038082111562000257578384fd5b818501915085601f8301126200026b578384fd5b81518181111562000280576200028062000339565b604051601f8201601f1916810185018381118282101715620002a657620002a662000339565b6040528181528382018501881015620002bd578586fd5b8592505b81831015620002e05783830185015181840186015291840191620002c1565b81831115620002f157858583830101525b979650505050505050565b6002810460018216806200031157607f821691505b602082108114156200033357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61301a806200035f6000396000f3fe6080604052600436106102305760003560e01c80636817c76c1161012e578063a7e647d8116100ab578063d58023531161006f578063d580235314610602578063e6d9522a14610617578063e985e9c514610637578063f2fde38b14610657578063f4a0a5281461067757610230565b8063a7e647d814610578578063b88d4fde1461058d578063c095dc5a146105ad578063c351aedd146105cd578063c87b56dd146105e257610230565b806391d9c4ed116100f257806391d9c4ed146104fb57806395d89b411461051b578063982cea52146105305780639a997c4714610543578063a22cb4651461055857610230565b80636817c76c1461048757806370a082311461049c578063715018a6146104bc578063853828b6146104d15780638da5cb5b146104e657610230565b80632f745c59116101bc5780634f6ccce7116101805780634f6ccce7146103fd57806350f7c2041461041d578063589a1743146104325780635c975abb146104525780636352211e1461046757610230565b80632f745c591461037357806330176e131461039357806337a66d85146103b35780633c9e2c66146103c857806342842e0e146103dd57610230565b8063095ea7b311610203578063095ea7b3146102dc57806310969523146102fc57806317c80e311461031c57806318160ddd1461033157806323b872dd1461035357610230565b8063012b44b71461023557806301ffc9a71461025757806306fdde031461028d578063081812fc146102af575b600080fd5b34801561024157600080fd5b506102556102503660046122e7565b610697565b005b34801561026357600080fd5b506102776102723660046124f1565b610707565b6040516102849190612710565b60405180910390f35b34801561029957600080fd5b506102a2610734565b604051610284919061271b565b3480156102bb57600080fd5b506102cf6102ca36600461256f565b6107c6565b6040516102849190612684565b3480156102e857600080fd5b506102556102f7366004612421565b610809565b34801561030857600080fd5b50610255610317366004612529565b6108a1565b34801561032857600080fd5b506102a26108f7565b34801561033d57600080fd5b50610346610985565b6040516102849190612e3e565b34801561035f57600080fd5b5061025561036e366004612333565b61098b565b34801561037f57600080fd5b5061034661038e366004612421565b6109c3565b34801561039f57600080fd5b506102556103ae366004612529565b610a15565b3480156103bf57600080fd5b50610255610a67565b3480156103d457600080fd5b50610346610af4565b3480156103e957600080fd5b506102556103f8366004612333565b610afa565b34801561040957600080fd5b5061034661041836600461256f565b610b15565b34801561042957600080fd5b50610346610b70565b34801561043e57600080fd5b506102cf61044d36600461256f565b610b76565b34801561045e57600080fd5b50610277610b94565b34801561047357600080fd5b506102cf61048236600461256f565b610b9d565b34801561049357600080fd5b50610346610bd5565b3480156104a857600080fd5b506103466104b73660046122e7565b610bdb565b3480156104c857600080fd5b50610255610bf6565b3480156104dd57600080fd5b50610255610c41565b3480156104f257600080fd5b506102cf610cc3565b34801561050757600080fd5b5061025561051636600461256f565b610cd2565b34801561052757600080fd5b506102a2610d51565b61025561053e36600461256f565b610d60565b34801561054f57600080fd5b506103466110c0565b34801561056457600080fd5b506102556105733660046123e7565b6110c6565b34801561058457600080fd5b50610255611194565b34801561059957600080fd5b506102556105a836600461236e565b611217565b3480156105b957600080fd5b506102556105c836600461244a565b611256565b3480156105d957600080fd5b50610277611431565b3480156105ee57600080fd5b506102a26105fd36600461256f565b61143a565b34801561060e57600080fd5b506102cf6114b4565b34801561062357600080fd5b5061025561063236600461256f565b6114c8565b34801561064357600080fd5b50610277610652366004612301565b61153c565b34801561066357600080fd5b506102556106723660046122e7565b61156a565b34801561068357600080fd5b5061025561069236600461256f565b6115d8565b61069f61164c565b6001600160a01b03166106b0610cc3565b6001600160a01b0316146106df5760405162461bcd60e51b81526004016106d690612b3c565b60405180910390fd5b601480546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60006001600160e01b0319821663780e9d6360e01b148061072c575061072c82611650565b90505b919050565b60606001805461074390612f22565b80601f016020809104026020016040519081016040528092919081815260200182805461076f90612f22565b80156107bc5780601f10610791576101008083540402835291602001916107bc565b820191906000526020600020905b81548152906001019060200180831161079f57829003601f168201915b5050505050905090565b60006107d182611690565b6107ed5760405162461bcd60e51b81526004016106d690612af0565b506000908152600560205260409020546001600160a01b031690565b6000610814826116ad565b9050806001600160a01b0316836001600160a01b031614156108485760405162461bcd60e51b81526004016106d690612c63565b806001600160a01b031661085a61164c565b6001600160a01b0316148061087657506108768161065261164c565b6108925760405162461bcd60e51b81526004016106d690612994565b61089c83836116e2565b505050565b6108a961164c565b6001600160a01b03166108ba610cc3565b6001600160a01b0316146108e05760405162461bcd60e51b81526004016106d690612b3c565b80516108f390600c9060208401906121df565b5050565b600c805461090490612f22565b80601f016020809104026020016040519081016040528092919081815260200182805461093090612f22565b801561097d5780601f106109525761010080835404028352916020019161097d565b820191906000526020600020905b81548152906001019060200180831161096057829003601f168201915b505050505081565b60095490565b61099c61099661164c565b82611750565b6109b85760405162461bcd60e51b81526004016106d690612ca4565b61089c8383836117d5565b60006109ce83611907565b82106109ec5760405162461bcd60e51b81526004016106d69061272e565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b610a1d61164c565b6001600160a01b0316610a2e610cc3565b6001600160a01b031614610a545760405162461bcd60e51b81526004016106d690612b3c565b80516108f39060109060208401906121df565b610a6f61164c565b6001600160a01b0316610a80610cc3565b6001600160a01b031614610aa65760405162461bcd60e51b81526004016106d690612b3c565b6012805460ff19811660ff9182161517918290556040517fb1d5bda31737a94a6118f5a6861736c3b90d5b59780ef4c6469d4d9f0b4d10d092610aea921690612710565b60405180910390a1565b60155481565b61089c83838360405180602001604052806000815250611217565b6000610b1f610985565b8210610b3d5760405162461bcd60e51b81526004016106d690612d20565b60098281548110610b5e57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600d5481565b6000908152601360205260409020600101546001600160a01b031690565b60125460ff1681565b6000818152601360205260408120600201546001600160a01b03168061072c5760405162461bcd60e51b81526004016106d690612a3b565b600e5481565b6001600160a01b03166000908152600f602052604090205490565b610bfe61164c565b6001600160a01b0316610c0f610cc3565b6001600160a01b031614610c355760405162461bcd60e51b81526004016106d690612b3c565b610c3f600061194b565b565b610c4961164c565b6001600160a01b0316610c5a610cc3565b6001600160a01b031614610c805760405162461bcd60e51b81526004016106d690612b3c565b610c8861164c565b6001600160a01b03166108fc479081150290604051600060405180830381858888f19350505050158015610cc0573d6000803e3d6000fd5b50565b6000546001600160a01b031690565b610cda61164c565b6001600160a01b0316610ceb610cc3565b6001600160a01b031614610d115760405162461bcd60e51b81526004016106d690612b3c565b60118190556040517f540af958bf28c91b5dfb1fa9e8b0329bda30813960dc8b6f1711d995aec3c77990610d46908390612e3e565b60405180910390a150565b60606002805461074390612f22565b6002600b541415610d835760405162461bcd60e51b81526004016106d690612da3565b6002600b556001811015610da95760405162461bcd60e51b81526004016106d690612d6c565b601154811115610dcb5760405162461bcd60e51b81526004016106d690612a84565b6000610dd5610985565b600d54909150610de5828461199b565b1115610e035760405162461bcd60e51b81526004016106d690612dda565b60145460ff1615610f395760145460009061010090046001600160a01b03166370a08231610e2f61164c565b6040518263ffffffff1660e01b8152600401610e4b9190612684565b60206040518083038186803b158015610e6357600080fd5b505afa158015610e77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9b9190612587565b11610eb85760405162461bcd60e51b81526004016106d690612b71565b6002610eea83600f6000610eca61164c565b6001600160a01b031681526020810191909152604001600020549061199b565b1115610f085760405162461bcd60e51b81526004016106d690612be8565b601554610f1590836119ae565b341015610f345760405162461bcd60e51b81526004016106d69061283a565b610f88565b60125460ff1615610f5c5760405162461bcd60e51b81526004016106d690612cf5565b600e54610f6990836119ae565b341015610f885760405162461bcd60e51b81526004016106d69061283a565b81600f6000610f9561164c565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610fc49190612e7d565b90915550600190505b8281116110b6576000610fe084836119ba565b6000818152601360205260409020818155909150610ffc61164c565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561102661164c565b6002820180546001600160a01b0319166001600160a01b039290921691909117905561105961105361164c565b83611a30565b61106161164c565b6001600160a01b03167f869bfb7386b790b3f9d78c121aed34ac9d16e85372a961faaaaf6b315e06a83b826040516110999190612e11565b60405180910390a2505080806110ae90612f5d565b915050610fcd565b50506001600b5550565b60115481565b6110ce61164c565b6001600160a01b0316826001600160a01b031614156110ff5760405162461bcd60e51b81526004016106d690612911565b806006600061110c61164c565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561115061164c565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516111889190612710565b60405180910390a35050565b61119c61164c565b6001600160a01b03166111ad610cc3565b6001600160a01b0316146111d35760405162461bcd60e51b81526004016106d690612b3c565b6014805460ff19811660ff9182161517918290556040517f7cdaaf02aa9308bf8c2db4338c05e7c9a14591cb35afd6f19e5d47cedd92362692610aea921690612710565b61122861122261164c565b83611750565b6112445760405162461bcd60e51b81526004016106d690612ca4565b61125084848484611a4a565b50505050565b61125e61164c565b6001600160a01b031661126f610cc3565b6001600160a01b0316146112955760405162461bcd60e51b81526004016106d690612b3c565b601154815111156112b85760405162461bcd60e51b81526004016106d690612811565b6112c181611a7d565b6112dd5760405162461bcd60e51b81526004016106d690612c2c565b60005b81518110156113eb57600061131b83838151811061130e57634e487b7160e01b600052603260045260246000fd5b6020026020010151611afe565b600081815260136020526040902081815590915061133761164c565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561136161164c565b6002820180546001600160a01b0319166001600160a01b039290921691909117905561138e61105361164c565b61139661164c565b6001600160a01b03167f869bfb7386b790b3f9d78c121aed34ac9d16e85372a961faaaaf6b315e06a83b826040516113ce9190612e11565b60405180910390a2505080806113e390612f5d565b9150506112e0565b508051600f60006113fa61164c565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008282546114299190612e7d565b909155505050565b60145460ff1681565b6060601682612710811061145e57634e487b7160e01b600052603260045260246000fd5b015461147c5760405162461bcd60e51b81526004016106d690612b99565b600061148783611bf1565b905060108160405160200161149d9291906125e7565b604051602081830303815290604052915050919050565b60145461010090046001600160a01b031681565b6114d061164c565b6001600160a01b03166114e1610cc3565b6001600160a01b0316146115075760405162461bcd60e51b81526004016106d690612b3c565b60158190556040517fc756540a0337f1982b10d59f91990a09e775df3477dc5ed42c3c9011f57e842490610d46908390612e3e565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b61157261164c565b6001600160a01b0316611583610cc3565b6001600160a01b0316146115a95760405162461bcd60e51b81526004016106d690612b3c565b6001600160a01b0381166115cf5760405162461bcd60e51b81526004016106d6906127cb565b610cc08161194b565b6115e061164c565b6001600160a01b03166115f1610cc3565b6001600160a01b0316146116175760405162461bcd60e51b81526004016106d690612b3c565b600e8190556040517f4f5539c0409dfc4cb06f64cbd31237e1fbfe443f531584bf4dd77ec7fc5ba7b190610d46908390612e3e565b3390565b60006001600160e01b031982166380ac58cd60e01b148061168157506001600160e01b03198216635b5e139f60e01b145b8061072c575061072c82611d0c565b6000908152600360205260409020546001600160a01b0316151590565b6000818152600360205260408120546001600160a01b03168061072c5760405162461bcd60e51b81526004016106d690612a3b565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611717826116ad565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061175b82611690565b6117775760405162461bcd60e51b81526004016106d690612948565b6000611782836116ad565b9050806001600160a01b0316846001600160a01b031614806117bd5750836001600160a01b03166117b2846107c6565b6001600160a01b0316145b806117cd57506117cd818561153c565b949350505050565b826001600160a01b03166117e882610b9d565b6001600160a01b03161461180e5760405162461bcd60e51b81526004016106d6906128a0565b6001600160a01b0382166118345760405162461bcd60e51b81526004016106d6906128cd565b61183f838383611d25565b61184a6000826116e2565b600081815260136020908152604080832060020180546001600160a01b0319166001600160a01b038781169190911790915586168352600f909152812080549161189383612f0b565b90915550506001600160a01b0382166000908152600f602052604081208054916118bc83612f5d565b919050555080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006001600160a01b03821661192f5760405162461bcd60e51b81526004016106d6906129f1565b506001600160a01b031660009081526004602052604090205490565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006119a78284612e7d565b9392505050565b60006119a78284612ea9565b600080333a43426119cc600183612ec8565b4088886040516020016119e597969594939291906126d5565b6040516020818303038152906040528051906020012060001c905060006127265482611a119190612f78565b611a1c906001612e7d565b9050611a2781611afe565b95945050505050565b6108f3828260405180602001604052806000815250611dae565b611a558484846117d5565b611a6184848484611de1565b6112505760405162461bcd60e51b81526004016106d690612779565b60006001815b8351811015611af7576016848281518110611aae57634e487b7160e01b600052603260045260246000fd5b60200260200101516127108110611ad557634e487b7160e01b600052603260045260246000fd5b015415611ae55760009150611af7565b80611aef81612f5d565b915050611a83565b5092915050565b6000806016836127108110611b2357634e487b7160e01b600052603260045260246000fd5b01549050600081611b35575082611b38565b50805b6000600161272654611b4a9190612ec8565b9050808514611bd25760006016826127108110611b7757634e487b7160e01b600052603260045260246000fd5b0154905080611baa57816016876127108110611ba357634e487b7160e01b600052603260045260246000fd5b0155611bd0565b806016876127108110611bcd57634e487b7160e01b600052603260045260246000fd5b01555b505b6127268054906000611be383612f0b565b909155509195945050505050565b606081611c1657506040805180820190915260018152600360fc1b602082015261072f565b8160005b8115611c405780611c2a81612f5d565b9150611c399050600a83612e95565b9150611c1a565b60008167ffffffffffffffff811115611c6957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611c93576020820181803683370190505b5090505b84156117cd57611ca8600183612ec8565b9150611cb5600a86612f78565b611cc0906030612e7d565b60f81b818381518110611ce357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611d05600a86612e95565b9450611c97565b6001600160e01b031981166301ffc9a760e01b14919050565b611d3083838361089c565b6001600160a01b038316611d4c57611d4781611efc565b611d6f565b816001600160a01b0316836001600160a01b031614611d6f57611d6f8382611f40565b6001600160a01b038216611d8b57611d8681611fdd565b61089c565b826001600160a01b0316826001600160a01b03161461089c5761089c82826120b6565b611db883836120fa565b611dc56000848484611de1565b61089c5760405162461bcd60e51b81526004016106d690612779565b6000611df5846001600160a01b03166121d9565b15611ef157836001600160a01b031663150b7a02611e1161164c565b8786866040518563ffffffff1660e01b8152600401611e339493929190612698565b602060405180830381600087803b158015611e4d57600080fd5b505af1925050508015611e7d575060408051601f3d908101601f19168201909252611e7a9181019061250d565b60015b611ed7573d808015611eab576040519150601f19603f3d011682016040523d82523d6000602084013e611eb0565b606091505b508051611ecf5760405162461bcd60e51b81526004016106d690612779565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117cd565b506001949350505050565b600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b60006001611f4d84611907565b611f579190612ec8565b600083815260086020526040902054909150808214611faa576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b600954600090611fef90600190612ec8565b6000838152600a60205260408120546009805493945090928490811061202557634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806009838154811061205457634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600a9091526040808220849055858252812055600980548061209a57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006120c183611907565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6001600160a01b0382166121205760405162461bcd60e51b81526004016106d690612abb565b61212981611690565b156121465760405162461bcd60e51b81526004016106d690612869565b61215260008383611d25565b6001600160a01b038216600090815260046020526040812080546001929061217b908490612e7d565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b8280546121eb90612f22565b90600052602060002090601f01602090048101928261220d5760008555612253565b82601f1061222657805160ff1916838001178555612253565b82800160010185558215612253579182015b82811115612253578251825591602001919060010190612238565b5061225f929150612263565b5090565b5b8082111561225f5760008155600101612264565b600067ffffffffffffffff83111561229257612292612fb8565b6122a5601f8401601f1916602001612e47565b90508281528383830111156122b957600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461072f57600080fd5b6000602082840312156122f8578081fd5b6119a7826122d0565b60008060408385031215612313578081fd5b61231c836122d0565b915061232a602084016122d0565b90509250929050565b600080600060608486031215612347578081fd5b612350846122d0565b925061235e602085016122d0565b9150604084013590509250925092565b60008060008060808587031215612383578081fd5b61238c856122d0565b935061239a602086016122d0565b925060408501359150606085013567ffffffffffffffff8111156123bc578182fd5b8501601f810187136123cc578182fd5b6123db87823560208401612278565b91505092959194509250565b600080604083850312156123f9578182fd5b612402836122d0565b915060208301358015158114612416578182fd5b809150509250929050565b60008060408385031215612433578182fd5b61243c836122d0565b946020939093013593505050565b6000602080838503121561245c578182fd5b823567ffffffffffffffff80821115612473578384fd5b818501915085601f830112612486578384fd5b81358181111561249857612498612fb8565b83810291506124a8848301612e47565b8181528481019084860184860187018a10156124c2578788fd5b8795505b838610156124e45780358352600195909501949186019186016124c6565b5098975050505050505050565b600060208284031215612502578081fd5b81356119a781612fce565b60006020828403121561251e578081fd5b81516119a781612fce565b60006020828403121561253a578081fd5b813567ffffffffffffffff811115612550578182fd5b8201601f81018413612560578182fd5b6117cd84823560208401612278565b600060208284031215612580578081fd5b5035919050565b600060208284031215612598578081fd5b5051919050565b600081518084526125b7816020860160208601612edf565b601f01601f19169290920160200192915050565b600081516125dd818560208601612edf565b9290920192915050565b825460009081906002810460018083168061260357607f831692505b602080841082141561262357634e487b7160e01b87526022600452602487fd5b818015612637576001811461264857612674565b60ff19861689528489019650612674565b6126518b612e71565b885b8681101561266c5781548b820152908501908301612653565b505084890196505b505050505050611a2781856125cb565b6001600160a01b0391909116815260200190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906126cb9083018461259f565b9695505050505050565b6001600160a01b03979097168752602087019590955260408601939093526060850191909152608084015260a083015260c082015260e00190565b901515815260200190565b6000602082526119a7602083018461259f565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252600f908201526e546f6f206d616e7920746f6b656e7360881b604082015260600190565b602080825260159082015274416d6f756e74206973206e6f7420656e6f7567682160581b604082015260600190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526013908201527221b0b63632b91034b9903737ba1037bbb732b960691b604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252601f908201527f546f6f206d616e7920746f6b656e7320746f206d696e74206174206f6e636500604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600e908201526d2737b710232b2a1036b2b6b132b960911b604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526024908201527f596f752063616e206e6f74206d696e74206d6f7265207468616e203220746f6b604082015263656e732160e01b606082015260800190565b6020808252601a908201527f496e76616c696420746f6b656e7320746f207265736572766521000000000000604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b602080825260119082015270135a5b9d1a5b99c81a5cc81c185d5cd959607a1b604082015260600190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b6020808252601d908201527f4174206c656173742c206f6e6520746f6b656e2073686f756c64206265000000604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252601f908201527f4e6f20666f78657320617661696c61626c6520666f72206d696e74696e672100604082015260600190565b8154815260018201546001600160a01b039081166020830152600290920154909116604082015260600190565b90815260200190565b60405181810167ffffffffffffffff81118282101715612e6957612e69612fb8565b604052919050565b60009081526020902090565b60008219821115612e9057612e90612f8c565b500190565b600082612ea457612ea4612fa2565b500490565b6000816000190483118215151615612ec357612ec3612f8c565b500290565b600082821015612eda57612eda612f8c565b500390565b60005b83811015612efa578181015183820152602001612ee2565b838111156112505750506000910152565b600081612f1a57612f1a612f8c565b506000190190565b600281046001821680612f3657607f821691505b60208210811415612f5757634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612f7157612f71612f8c565b5060010190565b600082612f8757612f87612fa2565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610cc057600080fdfea2646970667358221220c7d7275531cc102ecaacc74522f257646252a0dff4ff8326ba757e9ea879049564736f6c634300080000330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002b68747470733a2f2f697066732e66756e6b69666f7865732e636f6d2f746f6b656e2d6d657461646174612f000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102305760003560e01c80636817c76c1161012e578063a7e647d8116100ab578063d58023531161006f578063d580235314610602578063e6d9522a14610617578063e985e9c514610637578063f2fde38b14610657578063f4a0a5281461067757610230565b8063a7e647d814610578578063b88d4fde1461058d578063c095dc5a146105ad578063c351aedd146105cd578063c87b56dd146105e257610230565b806391d9c4ed116100f257806391d9c4ed146104fb57806395d89b411461051b578063982cea52146105305780639a997c4714610543578063a22cb4651461055857610230565b80636817c76c1461048757806370a082311461049c578063715018a6146104bc578063853828b6146104d15780638da5cb5b146104e657610230565b80632f745c59116101bc5780634f6ccce7116101805780634f6ccce7146103fd57806350f7c2041461041d578063589a1743146104325780635c975abb146104525780636352211e1461046757610230565b80632f745c591461037357806330176e131461039357806337a66d85146103b35780633c9e2c66146103c857806342842e0e146103dd57610230565b8063095ea7b311610203578063095ea7b3146102dc57806310969523146102fc57806317c80e311461031c57806318160ddd1461033157806323b872dd1461035357610230565b8063012b44b71461023557806301ffc9a71461025757806306fdde031461028d578063081812fc146102af575b600080fd5b34801561024157600080fd5b506102556102503660046122e7565b610697565b005b34801561026357600080fd5b506102776102723660046124f1565b610707565b6040516102849190612710565b60405180910390f35b34801561029957600080fd5b506102a2610734565b604051610284919061271b565b3480156102bb57600080fd5b506102cf6102ca36600461256f565b6107c6565b6040516102849190612684565b3480156102e857600080fd5b506102556102f7366004612421565b610809565b34801561030857600080fd5b50610255610317366004612529565b6108a1565b34801561032857600080fd5b506102a26108f7565b34801561033d57600080fd5b50610346610985565b6040516102849190612e3e565b34801561035f57600080fd5b5061025561036e366004612333565b61098b565b34801561037f57600080fd5b5061034661038e366004612421565b6109c3565b34801561039f57600080fd5b506102556103ae366004612529565b610a15565b3480156103bf57600080fd5b50610255610a67565b3480156103d457600080fd5b50610346610af4565b3480156103e957600080fd5b506102556103f8366004612333565b610afa565b34801561040957600080fd5b5061034661041836600461256f565b610b15565b34801561042957600080fd5b50610346610b70565b34801561043e57600080fd5b506102cf61044d36600461256f565b610b76565b34801561045e57600080fd5b50610277610b94565b34801561047357600080fd5b506102cf61048236600461256f565b610b9d565b34801561049357600080fd5b50610346610bd5565b3480156104a857600080fd5b506103466104b73660046122e7565b610bdb565b3480156104c857600080fd5b50610255610bf6565b3480156104dd57600080fd5b50610255610c41565b3480156104f257600080fd5b506102cf610cc3565b34801561050757600080fd5b5061025561051636600461256f565b610cd2565b34801561052757600080fd5b506102a2610d51565b61025561053e36600461256f565b610d60565b34801561054f57600080fd5b506103466110c0565b34801561056457600080fd5b506102556105733660046123e7565b6110c6565b34801561058457600080fd5b50610255611194565b34801561059957600080fd5b506102556105a836600461236e565b611217565b3480156105b957600080fd5b506102556105c836600461244a565b611256565b3480156105d957600080fd5b50610277611431565b3480156105ee57600080fd5b506102a26105fd36600461256f565b61143a565b34801561060e57600080fd5b506102cf6114b4565b34801561062357600080fd5b5061025561063236600461256f565b6114c8565b34801561064357600080fd5b50610277610652366004612301565b61153c565b34801561066357600080fd5b506102556106723660046122e7565b61156a565b34801561068357600080fd5b5061025561069236600461256f565b6115d8565b61069f61164c565b6001600160a01b03166106b0610cc3565b6001600160a01b0316146106df5760405162461bcd60e51b81526004016106d690612b3c565b60405180910390fd5b601480546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60006001600160e01b0319821663780e9d6360e01b148061072c575061072c82611650565b90505b919050565b60606001805461074390612f22565b80601f016020809104026020016040519081016040528092919081815260200182805461076f90612f22565b80156107bc5780601f10610791576101008083540402835291602001916107bc565b820191906000526020600020905b81548152906001019060200180831161079f57829003601f168201915b5050505050905090565b60006107d182611690565b6107ed5760405162461bcd60e51b81526004016106d690612af0565b506000908152600560205260409020546001600160a01b031690565b6000610814826116ad565b9050806001600160a01b0316836001600160a01b031614156108485760405162461bcd60e51b81526004016106d690612c63565b806001600160a01b031661085a61164c565b6001600160a01b0316148061087657506108768161065261164c565b6108925760405162461bcd60e51b81526004016106d690612994565b61089c83836116e2565b505050565b6108a961164c565b6001600160a01b03166108ba610cc3565b6001600160a01b0316146108e05760405162461bcd60e51b81526004016106d690612b3c565b80516108f390600c9060208401906121df565b5050565b600c805461090490612f22565b80601f016020809104026020016040519081016040528092919081815260200182805461093090612f22565b801561097d5780601f106109525761010080835404028352916020019161097d565b820191906000526020600020905b81548152906001019060200180831161096057829003601f168201915b505050505081565b60095490565b61099c61099661164c565b82611750565b6109b85760405162461bcd60e51b81526004016106d690612ca4565b61089c8383836117d5565b60006109ce83611907565b82106109ec5760405162461bcd60e51b81526004016106d69061272e565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b610a1d61164c565b6001600160a01b0316610a2e610cc3565b6001600160a01b031614610a545760405162461bcd60e51b81526004016106d690612b3c565b80516108f39060109060208401906121df565b610a6f61164c565b6001600160a01b0316610a80610cc3565b6001600160a01b031614610aa65760405162461bcd60e51b81526004016106d690612b3c565b6012805460ff19811660ff9182161517918290556040517fb1d5bda31737a94a6118f5a6861736c3b90d5b59780ef4c6469d4d9f0b4d10d092610aea921690612710565b60405180910390a1565b60155481565b61089c83838360405180602001604052806000815250611217565b6000610b1f610985565b8210610b3d5760405162461bcd60e51b81526004016106d690612d20565b60098281548110610b5e57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600d5481565b6000908152601360205260409020600101546001600160a01b031690565b60125460ff1681565b6000818152601360205260408120600201546001600160a01b03168061072c5760405162461bcd60e51b81526004016106d690612a3b565b600e5481565b6001600160a01b03166000908152600f602052604090205490565b610bfe61164c565b6001600160a01b0316610c0f610cc3565b6001600160a01b031614610c355760405162461bcd60e51b81526004016106d690612b3c565b610c3f600061194b565b565b610c4961164c565b6001600160a01b0316610c5a610cc3565b6001600160a01b031614610c805760405162461bcd60e51b81526004016106d690612b3c565b610c8861164c565b6001600160a01b03166108fc479081150290604051600060405180830381858888f19350505050158015610cc0573d6000803e3d6000fd5b50565b6000546001600160a01b031690565b610cda61164c565b6001600160a01b0316610ceb610cc3565b6001600160a01b031614610d115760405162461bcd60e51b81526004016106d690612b3c565b60118190556040517f540af958bf28c91b5dfb1fa9e8b0329bda30813960dc8b6f1711d995aec3c77990610d46908390612e3e565b60405180910390a150565b60606002805461074390612f22565b6002600b541415610d835760405162461bcd60e51b81526004016106d690612da3565b6002600b556001811015610da95760405162461bcd60e51b81526004016106d690612d6c565b601154811115610dcb5760405162461bcd60e51b81526004016106d690612a84565b6000610dd5610985565b600d54909150610de5828461199b565b1115610e035760405162461bcd60e51b81526004016106d690612dda565b60145460ff1615610f395760145460009061010090046001600160a01b03166370a08231610e2f61164c565b6040518263ffffffff1660e01b8152600401610e4b9190612684565b60206040518083038186803b158015610e6357600080fd5b505afa158015610e77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9b9190612587565b11610eb85760405162461bcd60e51b81526004016106d690612b71565b6002610eea83600f6000610eca61164c565b6001600160a01b031681526020810191909152604001600020549061199b565b1115610f085760405162461bcd60e51b81526004016106d690612be8565b601554610f1590836119ae565b341015610f345760405162461bcd60e51b81526004016106d69061283a565b610f88565b60125460ff1615610f5c5760405162461bcd60e51b81526004016106d690612cf5565b600e54610f6990836119ae565b341015610f885760405162461bcd60e51b81526004016106d69061283a565b81600f6000610f9561164c565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610fc49190612e7d565b90915550600190505b8281116110b6576000610fe084836119ba565b6000818152601360205260409020818155909150610ffc61164c565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561102661164c565b6002820180546001600160a01b0319166001600160a01b039290921691909117905561105961105361164c565b83611a30565b61106161164c565b6001600160a01b03167f869bfb7386b790b3f9d78c121aed34ac9d16e85372a961faaaaf6b315e06a83b826040516110999190612e11565b60405180910390a2505080806110ae90612f5d565b915050610fcd565b50506001600b5550565b60115481565b6110ce61164c565b6001600160a01b0316826001600160a01b031614156110ff5760405162461bcd60e51b81526004016106d690612911565b806006600061110c61164c565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561115061164c565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516111889190612710565b60405180910390a35050565b61119c61164c565b6001600160a01b03166111ad610cc3565b6001600160a01b0316146111d35760405162461bcd60e51b81526004016106d690612b3c565b6014805460ff19811660ff9182161517918290556040517f7cdaaf02aa9308bf8c2db4338c05e7c9a14591cb35afd6f19e5d47cedd92362692610aea921690612710565b61122861122261164c565b83611750565b6112445760405162461bcd60e51b81526004016106d690612ca4565b61125084848484611a4a565b50505050565b61125e61164c565b6001600160a01b031661126f610cc3565b6001600160a01b0316146112955760405162461bcd60e51b81526004016106d690612b3c565b601154815111156112b85760405162461bcd60e51b81526004016106d690612811565b6112c181611a7d565b6112dd5760405162461bcd60e51b81526004016106d690612c2c565b60005b81518110156113eb57600061131b83838151811061130e57634e487b7160e01b600052603260045260246000fd5b6020026020010151611afe565b600081815260136020526040902081815590915061133761164c565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561136161164c565b6002820180546001600160a01b0319166001600160a01b039290921691909117905561138e61105361164c565b61139661164c565b6001600160a01b03167f869bfb7386b790b3f9d78c121aed34ac9d16e85372a961faaaaf6b315e06a83b826040516113ce9190612e11565b60405180910390a2505080806113e390612f5d565b9150506112e0565b508051600f60006113fa61164c565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008282546114299190612e7d565b909155505050565b60145460ff1681565b6060601682612710811061145e57634e487b7160e01b600052603260045260246000fd5b015461147c5760405162461bcd60e51b81526004016106d690612b99565b600061148783611bf1565b905060108160405160200161149d9291906125e7565b604051602081830303815290604052915050919050565b60145461010090046001600160a01b031681565b6114d061164c565b6001600160a01b03166114e1610cc3565b6001600160a01b0316146115075760405162461bcd60e51b81526004016106d690612b3c565b60158190556040517fc756540a0337f1982b10d59f91990a09e775df3477dc5ed42c3c9011f57e842490610d46908390612e3e565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b61157261164c565b6001600160a01b0316611583610cc3565b6001600160a01b0316146115a95760405162461bcd60e51b81526004016106d690612b3c565b6001600160a01b0381166115cf5760405162461bcd60e51b81526004016106d6906127cb565b610cc08161194b565b6115e061164c565b6001600160a01b03166115f1610cc3565b6001600160a01b0316146116175760405162461bcd60e51b81526004016106d690612b3c565b600e8190556040517f4f5539c0409dfc4cb06f64cbd31237e1fbfe443f531584bf4dd77ec7fc5ba7b190610d46908390612e3e565b3390565b60006001600160e01b031982166380ac58cd60e01b148061168157506001600160e01b03198216635b5e139f60e01b145b8061072c575061072c82611d0c565b6000908152600360205260409020546001600160a01b0316151590565b6000818152600360205260408120546001600160a01b03168061072c5760405162461bcd60e51b81526004016106d690612a3b565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611717826116ad565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061175b82611690565b6117775760405162461bcd60e51b81526004016106d690612948565b6000611782836116ad565b9050806001600160a01b0316846001600160a01b031614806117bd5750836001600160a01b03166117b2846107c6565b6001600160a01b0316145b806117cd57506117cd818561153c565b949350505050565b826001600160a01b03166117e882610b9d565b6001600160a01b03161461180e5760405162461bcd60e51b81526004016106d6906128a0565b6001600160a01b0382166118345760405162461bcd60e51b81526004016106d6906128cd565b61183f838383611d25565b61184a6000826116e2565b600081815260136020908152604080832060020180546001600160a01b0319166001600160a01b038781169190911790915586168352600f909152812080549161189383612f0b565b90915550506001600160a01b0382166000908152600f602052604081208054916118bc83612f5d565b919050555080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006001600160a01b03821661192f5760405162461bcd60e51b81526004016106d6906129f1565b506001600160a01b031660009081526004602052604090205490565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006119a78284612e7d565b9392505050565b60006119a78284612ea9565b600080333a43426119cc600183612ec8565b4088886040516020016119e597969594939291906126d5565b6040516020818303038152906040528051906020012060001c905060006127265482611a119190612f78565b611a1c906001612e7d565b9050611a2781611afe565b95945050505050565b6108f3828260405180602001604052806000815250611dae565b611a558484846117d5565b611a6184848484611de1565b6112505760405162461bcd60e51b81526004016106d690612779565b60006001815b8351811015611af7576016848281518110611aae57634e487b7160e01b600052603260045260246000fd5b60200260200101516127108110611ad557634e487b7160e01b600052603260045260246000fd5b015415611ae55760009150611af7565b80611aef81612f5d565b915050611a83565b5092915050565b6000806016836127108110611b2357634e487b7160e01b600052603260045260246000fd5b01549050600081611b35575082611b38565b50805b6000600161272654611b4a9190612ec8565b9050808514611bd25760006016826127108110611b7757634e487b7160e01b600052603260045260246000fd5b0154905080611baa57816016876127108110611ba357634e487b7160e01b600052603260045260246000fd5b0155611bd0565b806016876127108110611bcd57634e487b7160e01b600052603260045260246000fd5b01555b505b6127268054906000611be383612f0b565b909155509195945050505050565b606081611c1657506040805180820190915260018152600360fc1b602082015261072f565b8160005b8115611c405780611c2a81612f5d565b9150611c399050600a83612e95565b9150611c1a565b60008167ffffffffffffffff811115611c6957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611c93576020820181803683370190505b5090505b84156117cd57611ca8600183612ec8565b9150611cb5600a86612f78565b611cc0906030612e7d565b60f81b818381518110611ce357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611d05600a86612e95565b9450611c97565b6001600160e01b031981166301ffc9a760e01b14919050565b611d3083838361089c565b6001600160a01b038316611d4c57611d4781611efc565b611d6f565b816001600160a01b0316836001600160a01b031614611d6f57611d6f8382611f40565b6001600160a01b038216611d8b57611d8681611fdd565b61089c565b826001600160a01b0316826001600160a01b03161461089c5761089c82826120b6565b611db883836120fa565b611dc56000848484611de1565b61089c5760405162461bcd60e51b81526004016106d690612779565b6000611df5846001600160a01b03166121d9565b15611ef157836001600160a01b031663150b7a02611e1161164c565b8786866040518563ffffffff1660e01b8152600401611e339493929190612698565b602060405180830381600087803b158015611e4d57600080fd5b505af1925050508015611e7d575060408051601f3d908101601f19168201909252611e7a9181019061250d565b60015b611ed7573d808015611eab576040519150601f19603f3d011682016040523d82523d6000602084013e611eb0565b606091505b508051611ecf5760405162461bcd60e51b81526004016106d690612779565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117cd565b506001949350505050565b600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b60006001611f4d84611907565b611f579190612ec8565b600083815260086020526040902054909150808214611faa576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b600954600090611fef90600190612ec8565b6000838152600a60205260408120546009805493945090928490811061202557634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806009838154811061205457634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600a9091526040808220849055858252812055600980548061209a57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006120c183611907565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6001600160a01b0382166121205760405162461bcd60e51b81526004016106d690612abb565b61212981611690565b156121465760405162461bcd60e51b81526004016106d690612869565b61215260008383611d25565b6001600160a01b038216600090815260046020526040812080546001929061217b908490612e7d565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b8280546121eb90612f22565b90600052602060002090601f01602090048101928261220d5760008555612253565b82601f1061222657805160ff1916838001178555612253565b82800160010185558215612253579182015b82811115612253578251825591602001919060010190612238565b5061225f929150612263565b5090565b5b8082111561225f5760008155600101612264565b600067ffffffffffffffff83111561229257612292612fb8565b6122a5601f8401601f1916602001612e47565b90508281528383830111156122b957600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461072f57600080fd5b6000602082840312156122f8578081fd5b6119a7826122d0565b60008060408385031215612313578081fd5b61231c836122d0565b915061232a602084016122d0565b90509250929050565b600080600060608486031215612347578081fd5b612350846122d0565b925061235e602085016122d0565b9150604084013590509250925092565b60008060008060808587031215612383578081fd5b61238c856122d0565b935061239a602086016122d0565b925060408501359150606085013567ffffffffffffffff8111156123bc578182fd5b8501601f810187136123cc578182fd5b6123db87823560208401612278565b91505092959194509250565b600080604083850312156123f9578182fd5b612402836122d0565b915060208301358015158114612416578182fd5b809150509250929050565b60008060408385031215612433578182fd5b61243c836122d0565b946020939093013593505050565b6000602080838503121561245c578182fd5b823567ffffffffffffffff80821115612473578384fd5b818501915085601f830112612486578384fd5b81358181111561249857612498612fb8565b83810291506124a8848301612e47565b8181528481019084860184860187018a10156124c2578788fd5b8795505b838610156124e45780358352600195909501949186019186016124c6565b5098975050505050505050565b600060208284031215612502578081fd5b81356119a781612fce565b60006020828403121561251e578081fd5b81516119a781612fce565b60006020828403121561253a578081fd5b813567ffffffffffffffff811115612550578182fd5b8201601f81018413612560578182fd5b6117cd84823560208401612278565b600060208284031215612580578081fd5b5035919050565b600060208284031215612598578081fd5b5051919050565b600081518084526125b7816020860160208601612edf565b601f01601f19169290920160200192915050565b600081516125dd818560208601612edf565b9290920192915050565b825460009081906002810460018083168061260357607f831692505b602080841082141561262357634e487b7160e01b87526022600452602487fd5b818015612637576001811461264857612674565b60ff19861689528489019650612674565b6126518b612e71565b885b8681101561266c5781548b820152908501908301612653565b505084890196505b505050505050611a2781856125cb565b6001600160a01b0391909116815260200190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906126cb9083018461259f565b9695505050505050565b6001600160a01b03979097168752602087019590955260408601939093526060850191909152608084015260a083015260c082015260e00190565b901515815260200190565b6000602082526119a7602083018461259f565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252600f908201526e546f6f206d616e7920746f6b656e7360881b604082015260600190565b602080825260159082015274416d6f756e74206973206e6f7420656e6f7567682160581b604082015260600190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526013908201527221b0b63632b91034b9903737ba1037bbb732b960691b604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252601f908201527f546f6f206d616e7920746f6b656e7320746f206d696e74206174206f6e636500604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600e908201526d2737b710232b2a1036b2b6b132b960911b604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526024908201527f596f752063616e206e6f74206d696e74206d6f7265207468616e203220746f6b604082015263656e732160e01b606082015260800190565b6020808252601a908201527f496e76616c696420746f6b656e7320746f207265736572766521000000000000604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b602080825260119082015270135a5b9d1a5b99c81a5cc81c185d5cd959607a1b604082015260600190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b6020808252601d908201527f4174206c656173742c206f6e6520746f6b656e2073686f756c64206265000000604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252601f908201527f4e6f20666f78657320617661696c61626c6520666f72206d696e74696e672100604082015260600190565b8154815260018201546001600160a01b039081166020830152600290920154909116604082015260600190565b90815260200190565b60405181810167ffffffffffffffff81118282101715612e6957612e69612fb8565b604052919050565b60009081526020902090565b60008219821115612e9057612e90612f8c565b500190565b600082612ea457612ea4612fa2565b500490565b6000816000190483118215151615612ec357612ec3612f8c565b500290565b600082821015612eda57612eda612f8c565b500390565b60005b83811015612efa578181015183820152602001612ee2565b838111156112505750506000910152565b600081612f1a57612f1a612f8c565b506000190190565b600281046001821680612f3657607f821691505b60208210811415612f5757634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612f7157612f71612f8c565b5060010190565b600082612f8757612f87612fa2565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610cc057600080fdfea2646970667358221220c7d7275531cc102ecaacc74522f257646252a0dff4ff8326ba757e9ea879049564736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002b68747470733a2f2f697066732e66756e6b69666f7865732e636f6d2f746f6b656e2d6d657461646174612f000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _baseTokenURI (string): https://ipfs.funkifoxes.com/token-metadata/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000002b
Arg [2] : 68747470733a2f2f697066732e66756e6b69666f7865732e636f6d2f746f6b65
Arg [3] : 6e2d6d657461646174612f000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
56370:7418:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58183:106;;;;;;;;;;-1:-1:-1;58183:106:0;;;;;:::i;:::-;;:::i;:::-;;38559:224;;;;;;;;;;-1:-1:-1;38559:224:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;25605:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;27164:221::-;;;;;;;;;;-1:-1:-1;27164:221:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;26687:411::-;;;;;;;;;;-1:-1:-1;26687:411:0;;;;;:::i;:::-;;:::i;58051:124::-;;;;;;;;;;-1:-1:-1;58051:124:0;;;;;:::i;:::-;;:::i;56478:33::-;;;;;;;;;;;;;:::i;39199:113::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;28054:339::-;;;;;;;;;;-1:-1:-1;28054:339:0;;;;;:::i;:::-;;:::i;38867:256::-;;;;;;;;;;-1:-1:-1;38867:256:0;;;;;:::i;:::-;;:::i;57756:118::-;;;;;;;;;;-1:-1:-1;57756:118:0;;;;;:::i;:::-;;:::i;57496:109::-;;;;;;;;;;;;;:::i;56977:35::-;;;;;;;;;;;;;:::i;28464:185::-;;;;;;;;;;-1:-1:-1;28464:185:0;;;;;:::i;:::-;;:::i;39389:233::-;;;;;;;;;;-1:-1:-1;39389:233:0;;;;;:::i;:::-;;:::i;56518:37::-;;;;;;;;;;;;;:::i;62318:116::-;;;;;;;;;;-1:-1:-1;62318:116:0;;;;;:::i;:::-;;:::i;56732:25::-;;;;;;;;;;;;;:::i;63029:243::-;;;;;;;;;;-1:-1:-1;63029:243:0;;;;;:::i;:::-;;:::i;56562:36::-;;;;;;;;;;;;;:::i;62442:130::-;;;;;;;;;;-1:-1:-1;62442:130:0;;;;;:::i;:::-;;:::i;46375:94::-;;;;;;;;;;;;;:::i;62909:112::-;;;;;;;;;;;;;:::i;45724:87::-;;;;;;;;;;;;;:::i;57882:161::-;;;;;;;;;;-1:-1:-1;57882:161:0;;;;;:::i;:::-;;:::i;25774:104::-;;;;;;;;;;;;;:::i;59576:1372::-;;;;;;:::i;:::-;;:::i;56692:33::-;;;;;;;;;;;;;:::i;27457:295::-;;;;;;;;;;-1:-1:-1;27457:295:0;;;;;:::i;:::-;;:::i;58297:121::-;;;;;;;;;;;;;:::i;28720:328::-;;;;;;;;;;-1:-1:-1;28720:328:0;;;;;:::i;:::-;;:::i;58569:673::-;;;;;;;;;;-1:-1:-1;58569:673:0;;;;;:::i;:::-;;:::i;56911:27::-;;;;;;;;;;;;;:::i;62580:321::-;;;;;;;;;;-1:-1:-1;62580:321:0;;;;;:::i;:::-;;:::i;56945:25::-;;;;;;;;;;;;;:::i;58426:135::-;;;;;;;;;;-1:-1:-1;58426:135:0;;;;;:::i;:::-;;:::i;27823:164::-;;;;;;;;;;-1:-1:-1;27823:164:0;;;;;:::i;:::-;;:::i;46624:192::-;;;;;;;;;;-1:-1:-1;46624:192:0;;;;;:::i;:::-;;:::i;57613:135::-;;;;;;;;;;-1:-1:-1;57613:135:0;;;;;:::i;:::-;;:::i;58183:106::-;45955:12;:10;:12::i;:::-;-1:-1:-1;;;;;45944:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45944:23:0;;45936:68;;;;-1:-1:-1;;;45936:68:0;;;;;;;:::i;:::-;;;;;;;;;58257:10:::1;:24:::0;;-1:-1:-1;;;;;58257:24:0;;::::1;;;-1:-1:-1::0;;;;;;58257:24:0;;::::1;::::0;;;::::1;::::0;;58183:106::o;38559:224::-;38661:4;-1:-1:-1;;;;;;38685:50:0;;-1:-1:-1;;;38685:50:0;;:90;;;38739:36;38763:11;38739:23;:36::i;:::-;38678:97;;38559:224;;;;:::o;25605:100::-;25659:13;25692:5;25685:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25605:100;:::o;27164:221::-;27240:7;27268:16;27276:7;27268;:16::i;:::-;27260:73;;;;-1:-1:-1;;;27260:73:0;;;;;;;:::i;:::-;-1:-1:-1;27353:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;27353:24:0;;27164:221::o;26687:411::-;26768:13;26784:23;26799:7;26784:14;:23::i;:::-;26768:39;;26832:5;-1:-1:-1;;;;;26826:11:0;:2;-1:-1:-1;;;;;26826:11:0;;;26818:57;;;;-1:-1:-1;;;26818:57:0;;;;;;;:::i;:::-;26926:5;-1:-1:-1;;;;;26910:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;26910:21:0;;:62;;;;26935:37;26952:5;26959:12;:10;:12::i;26935:37::-;26888:168;;;;-1:-1:-1;;;26888:168:0;;;;;;;:::i;:::-;27069:21;27078:2;27082:7;27069:8;:21::i;:::-;26687:411;;;:::o;58051:124::-;45955:12;:10;:12::i;:::-;-1:-1:-1;;;;;45944:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45944:23:0;;45936:68;;;;-1:-1:-1;;;45936:68:0;;;;;;;:::i;:::-;58136:31;;::::1;::::0;:14:::1;::::0;:31:::1;::::0;::::1;::::0;::::1;:::i;:::-;;58051:124:::0;:::o;56478:33::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;39199:113::-;39287:10;:17;39199:113;:::o;28054:339::-;28249:41;28268:12;:10;:12::i;:::-;28282:7;28249:18;:41::i;:::-;28241:103;;;;-1:-1:-1;;;28241:103:0;;;;;;;:::i;:::-;28357:28;28367:4;28373:2;28377:7;28357:9;:28::i;38867:256::-;38964:7;39000:23;39017:5;39000:16;:23::i;:::-;38992:5;:31;38984:87;;;;-1:-1:-1;;;38984:87:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;39089:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;38867:256::o;57756:118::-;45955:12;:10;:12::i;:::-;-1:-1:-1;;;;;45944:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45944:23:0;;45936:68;;;;-1:-1:-1;;;45936:68:0;;;;;;;:::i;:::-;57838:28;;::::1;::::0;:12:::1;::::0;:28:::1;::::0;::::1;::::0;::::1;:::i;57496:109::-:0;45955:12;:10;:12::i;:::-;-1:-1:-1;;;;;45944:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45944:23:0;;45936:68;;;;-1:-1:-1;;;45936:68:0;;;;;;;:::i;:::-;57555:6:::1;::::0;;-1:-1:-1;;57545:16:0;::::1;57555:6;::::0;;::::1;57554:7;57545:16;::::0;;;;57577:20:::1;::::0;::::1;::::0;::::1;::::0;57590:6:::1;::::0;57577:20:::1;:::i;:::-;;;;;;;;57496:109::o:0;56977:35::-;;;;:::o;28464:185::-;28602:39;28619:4;28625:2;28629:7;28602:39;;;;;;;;;;;;:16;:39::i;39389:233::-;39464:7;39500:30;:28;:30::i;:::-;39492:5;:38;39484:95;;;;-1:-1:-1;;;39484:95:0;;;;;;;:::i;:::-;39597:10;39608:5;39597:17;;;;;;-1:-1:-1;;;39597:17:0;;;;;;;;;;;;;;;;;39590:24;;39389:233;;;:::o;56518:37::-;;;;:::o;62318:116::-;62376:7;62403:15;;;:5;:15;;;;;:23;;;-1:-1:-1;;;;;62403:23:0;;62318:116::o;56732:25::-;;;;;;:::o;63029:243::-;63101:7;63137:14;;;:5;:14;;;;;:20;;;-1:-1:-1;;;;;63137:20:0;63176:19;63168:73;;;;-1:-1:-1;;;63168:73:0;;;;;;;:::i;56562:36::-;;;;:::o;62442:130::-;-1:-1:-1;;;;;62542:22:0;62515:7;62542:22;;;:13;:22;;;;;;;62442:130::o;46375:94::-;45955:12;:10;:12::i;:::-;-1:-1:-1;;;;;45944:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45944:23:0;;45936:68;;;;-1:-1:-1;;;45936:68:0;;;;;;;:::i;:::-;46440:21:::1;46458:1;46440:9;:21::i;:::-;46375:94::o:0;62909:112::-;45955:12;:10;:12::i;:::-;-1:-1:-1;;;;;45944:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45944:23:0;;45936:68;;;;-1:-1:-1;;;45936:68:0;;;;;;;:::i;:::-;62968:12:::1;:10;:12::i;:::-;-1:-1:-1::0;;;;;62960:30:0::1;:53;62991:21;62960:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;62909:112::o:0;45724:87::-;45770:7;45797:6;-1:-1:-1;;;;;45797:6:0;45724:87;:::o;57882:161::-;45955:12;:10;:12::i;:::-;-1:-1:-1;;;;;45944:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45944:23:0;;45936:68;;;;-1:-1:-1;;;45936:68:0;;;;;;;:::i;:::-;57960:13:::1;:30:::0;;;58006:29:::1;::::0;::::1;::::0;::::1;::::0;57976:14;;58006:29:::1;:::i;:::-;;;;;;;;57882:161:::0;:::o;25774:104::-;25830:13;25863:7;25856:14;;;;;:::i;59576:1372::-;48655:1;49251:7;;:19;;49243:63;;;;-1:-1:-1;;;49243:63:0;;;;;;;:::i;:::-;48655:1;49384:7;:18;59686:1:::1;59667:20:::0;::::1;;59659:62;;;;-1:-1:-1::0;;;59659:62:0::1;;;;;;;:::i;:::-;59759:13;;59740:15;:32;;59732:76;;;;-1:-1:-1::0;;;59732:76:0::1;;;;;;;:::i;:::-;59819:19;59841:13;:11;:13::i;:::-;59909:14;::::0;59819:35;;-1:-1:-1;59873:32:0::1;59819:35:::0;59889:15;59873::::1;:32::i;:::-;:50;;59865:94;;;;-1:-1:-1::0;;;59865:94:0::1;;;;;;;:::i;:::-;59976:8;::::0;::::1;;59972:484;;;60016:10;::::0;60054:1:::1;::::0;60016:10:::1;::::0;::::1;-1:-1:-1::0;;;;;60016:10:0::1;60009:28;60038:12;:10;:12::i;:::-;60009:42;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:46;60001:73;;;;-1:-1:-1::0;;;60001:73:0::1;;;;;;;:::i;:::-;60149:1;60097:48;60129:15;60097:13;:27;60111:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;60097:27:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;60097:27:0;;;:31:::1;:48::i;:::-;:53;;60089:102;;;;-1:-1:-1::0;;;60089:102:0::1;;;;;;;:::i;:::-;60227:8;::::0;:29:::1;::::0;60240:15;60227:12:::1;:29::i;:::-;60214:9;:42;;60206:76;;;;-1:-1:-1::0;;;60206:76:0::1;;;;;;;:::i;:::-;59972:484;;;60324:6;::::0;::::1;;60323:7;60315:37;;;;-1:-1:-1::0;;;60315:37:0::1;;;;;;;:::i;:::-;60388:9;::::0;:30:::1;::::0;60402:15;60388:13:::1;:30::i;:::-;60375:9;:43;;60367:77;;;;-1:-1:-1::0;;;60367:77:0::1;;;;;;;:::i;:::-;60497:15;60466:13;:27;60480:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;60466:27:0::1;-1:-1:-1::0;;;;;60466:27:0::1;;;;;;;;;;;;;:46;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;60540:1:0::1;::::0;-1:-1:-1;60523:418:0::1;60548:15;60543:1;:20;60523:418;;60585:18;60606:43;60630:15;60647:1;60606:23;:43::i;:::-;60664:18;60685:17:::0;;;:5:::1;:17;::::0;;;;60717:27;;;60585:64;;-1:-1:-1;60776:12:0::1;:10;:12::i;:::-;60759:14;::::0;::::1;:29:::0;;-1:-1:-1;;;;;;60759:29:0::1;-1:-1:-1::0;;;;;60759:29:0;;;::::1;::::0;;;::::1;::::0;;60818:12:::1;:10;:12::i;:::-;60803;::::0;::::1;:27:::0;;-1:-1:-1;;;;;;60803:27:0::1;-1:-1:-1::0;;;;;60803:27:0;;;::::1;::::0;;;::::1;::::0;;60845:35:::1;60855:12;:10;:12::i;:::-;60869:10;60845:9;:35::i;:::-;60908:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;60900:29:0::1;;60922:6;60900:29;;;;;;:::i;:::-;;;;;;;;60523:418;;60565:3;;;;;:::i;:::-;;;;60523:418;;;-1:-1:-1::0;;48611:1:0;49563:7;:22;-1:-1:-1;59576:1372:0:o;56692:33::-;;;;:::o;27457:295::-;27572:12;:10;:12::i;:::-;-1:-1:-1;;;;;27560:24:0;:8;-1:-1:-1;;;;;27560:24:0;;;27552:62;;;;-1:-1:-1;;;27552:62:0;;;;;;;:::i;:::-;27672:8;27627:18;:32;27646:12;:10;:12::i;:::-;-1:-1:-1;;;;;27627:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;27627:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;27627:53:0;;;;;;;;;;;27711:12;:10;:12::i;:::-;-1:-1:-1;;;;;27696:48:0;;27735:8;27696:48;;;;;;:::i;:::-;;;;;;;;27457:295;;:::o;58297:121::-;45955:12;:10;:12::i;:::-;-1:-1:-1;;;;;45944:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45944:23:0;;45936:68;;;;-1:-1:-1;;;45936:68:0;;;;;;;:::i;:::-;58362:8:::1;::::0;;-1:-1:-1;;58350:20:0;::::1;58362:8;::::0;;::::1;58361:9;58350:20;::::0;;;;58386:24:::1;::::0;::::1;::::0;::::1;::::0;58401:8:::1;::::0;58386:24:::1;:::i;28720:328::-:0;28895:41;28914:12;:10;:12::i;:::-;28928:7;28895:18;:41::i;:::-;28887:103;;;;-1:-1:-1;;;28887:103:0;;;;;;;:::i;:::-;29001:39;29015:4;29021:2;29025:7;29034:5;29001:13;:39::i;:::-;28720:328;;;;:::o;58569:673::-;45955:12;:10;:12::i;:::-;-1:-1:-1;;;;;45944:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45944:23:0;;45936:68;;;;-1:-1:-1;;;45936:68:0;;;;;;;:::i;:::-;58663:13:::1;;58649:3;:10;:27;;58641:55;;;;-1:-1:-1::0;;;58641:55:0::1;;;;;;;:::i;:::-;58715:26;58737:3;58715:21;:26::i;:::-;58707:65;;;;-1:-1:-1::0;;;58707:65:0::1;;;;;;;:::i;:::-;58787:9;58783:400;58806:3;:10;58802:1;:14;58783:400;;;58838:18;58859:32;58884:3;58888:1;58884:6;;;;;;-1:-1:-1::0;;;58884:6:0::1;;;;;;;;;;;;;;;58859:24;:32::i;:::-;58906:18;58927:17:::0;;;:5:::1;:17;::::0;;;;58959:27;;;58838:53;;-1:-1:-1;59018:12:0::1;:10;:12::i;:::-;59001:14;::::0;::::1;:29:::0;;-1:-1:-1;;;;;;59001:29:0::1;-1:-1:-1::0;;;;;59001:29:0;;;::::1;::::0;;;::::1;::::0;;59060:12:::1;:10;:12::i;:::-;59045;::::0;::::1;:27:::0;;-1:-1:-1;;;;;;59045:27:0::1;-1:-1:-1::0;;;;;59045:27:0;;;::::1;::::0;;;::::1;::::0;;59087:35:::1;59097:12;:10;:12::i;59087:35::-;59150:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;59142:29:0::1;;59164:6;59142:29;;;;;;:::i;:::-;;;;;;;;58783:400;;58818:3;;;;;:::i;:::-;;;;58783:400;;;;59224:3;:10;59193:13;:27;59207:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;59193:27:0::1;-1:-1:-1::0;;;;;59193:27:0::1;;;;;;;;;;;;;:41;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;58569:673:0:o;56911:27::-;;;;;;:::o;62580:321::-;62646:13;62680:16;62697:8;62680:26;;;;;-1:-1:-1;;;62680:26:0;;;;;;;;;;;62672:91;;;;-1:-1:-1;;;62672:91:0;;;;;;;:::i;:::-;62774:23;62800:26;62817:8;62800:16;:26::i;:::-;62774:52;;62868:12;62882:9;62851:41;;;;;;;;;:::i;:::-;;;;;;;;;;;;;62837:56;;;62580:321;;;:::o;56945:25::-;;;;;;-1:-1:-1;;;;;56945:25:0;;:::o;58426:135::-;45955:12;:10;:12::i;:::-;-1:-1:-1;;;;;45944:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45944:23:0;;45936:68;;;;-1:-1:-1;;;45936:68:0;;;;;;;:::i;:::-;58496:8:::1;:20:::0;;;58532:21:::1;::::0;::::1;::::0;::::1;::::0;58507:9;;58532:21:::1;:::i;27823:164::-:0;-1:-1:-1;;;;;27944:25:0;;;27920:4;27944:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;27823:164::o;46624:192::-;45955:12;:10;:12::i;:::-;-1:-1:-1;;;;;45944:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45944:23:0;;45936:68;;;;-1:-1:-1;;;45936:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;46713:22:0;::::1;46705:73;;;;-1:-1:-1::0;;;46705:73:0::1;;;;;;;:::i;:::-;46789:19;46799:8;46789:9;:19::i;57613:135::-:0;45955:12;:10;:12::i;:::-;-1:-1:-1;;;;;45944:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;45944:23:0;;45936:68;;;;-1:-1:-1;;;45936:68:0;;;;;;;:::i;:::-;57683:9:::1;:22:::0;;;57721:19:::1;::::0;::::1;::::0;::::1;::::0;57695:10;;57721:19:::1;:::i;20309:98::-:0;20389:10;20309:98;:::o;24660:305::-;24762:4;-1:-1:-1;;;;;;24799:40:0;;-1:-1:-1;;;24799:40:0;;:105;;-1:-1:-1;;;;;;;24856:48:0;;-1:-1:-1;;;24856:48:0;24799:105;:158;;;;24921:36;24945:11;24921:23;:36::i;30558:127::-;30623:4;30647:16;;;:7;:16;;;;;;-1:-1:-1;;;;;30647:16:0;:30;;;30558:127::o;25299:239::-;25371:7;25407:16;;;:7;:16;;;;;;-1:-1:-1;;;;;25407:16:0;25442:19;25434:73;;;;-1:-1:-1;;;25434:73:0;;;;;;;:::i;34540:174::-;34615:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;34615:29:0;-1:-1:-1;;;;;34615:29:0;;;;;;;;:24;;34669:23;34615:24;34669:14;:23::i;:::-;-1:-1:-1;;;;;34660:46:0;;;;;;;;;;;34540:174;;:::o;30852:348::-;30945:4;30970:16;30978:7;30970;:16::i;:::-;30962:73;;;;-1:-1:-1;;;30962:73:0;;;;;;;:::i;:::-;31046:13;31062:23;31077:7;31062:14;:23::i;:::-;31046:39;;31115:5;-1:-1:-1;;;;;31104:16:0;:7;-1:-1:-1;;;;;31104:16:0;;:51;;;;31148:7;-1:-1:-1;;;;;31124:31:0;:20;31136:7;31124:11;:20::i;:::-;-1:-1:-1;;;;;31124:31:0;;31104:51;:87;;;;31159:32;31176:5;31183:7;31159:16;:32::i;:::-;31096:96;30852:348;-1:-1:-1;;;;30852:348:0:o;63280:505::-;63438:4;-1:-1:-1;;;;;63418:24:0;:16;63426:7;63418;:16::i;:::-;-1:-1:-1;;;;;63418:24:0;;63410:56;;;;-1:-1:-1;;;63410:56:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;63485:16:0;;63477:65;;;;-1:-1:-1;;;63477:65:0;;;;;;;:::i;:::-;63555:39;63576:4;63582:2;63586:7;63555:20;:39::i;:::-;63605:29;63622:1;63626:7;63605:8;:29::i;:::-;63645:14;;;;:5;:14;;;;;;;;:20;;:25;;-1:-1:-1;;;;;;63645:25:0;-1:-1:-1;;;;;63645:25:0;;;;;;;;;;63681:19;;;;:13;:19;;;;;:21;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;63713:17:0;;;;;;:13;:17;;;;;:19;;;;;;:::i;:::-;;;;;;63769:7;63765:2;-1:-1:-1;;;;;63750:27:0;63759:4;-1:-1:-1;;;;;63750:27:0;;;;;;;;;;;63280:505;;;:::o;25029:208::-;25101:7;-1:-1:-1;;;;;25129:19:0;;25121:74;;;;-1:-1:-1;;;25121:74:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;25213:16:0;;;;;:9;:16;;;;;;;25029:208::o;46824:173::-;46880:16;46899:6;;-1:-1:-1;;;;;46916:17:0;;;-1:-1:-1;;;;;;46916:17:0;;;;;;46949:40;;46899:6;;;;;;;46949:40;;46880:16;46949:40;46824:173;;:::o;52241:98::-;52299:7;52326:5;52330:1;52326;:5;:::i;:::-;52319:12;52241:98;-1:-1:-1;;;52241:98:0:o;52979:::-;53037:7;53064:5;53068:1;53064;:5;:::i;60956:611::-;61040:7;;61163:10;61196:11;61230:12;61265:15;61313:16;61328:1;61230:12;61313:16;:::i;:::-;61303:27;61353:11;61387:2;61130:278;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;61102:321;;;;;;61080:354;;61060:374;;61445:19;61480;;61468:9;:31;;;;:::i;:::-;61467:37;;61503:1;61467:37;:::i;:::-;61445:59;;61522:37;61547:11;61522:24;:37::i;:::-;61515:44;60956:611;-1:-1:-1;;;;;60956:611:0:o;31542:110::-;31618:26;31628:2;31632:7;31618:26;;;;;;;;;;;;:9;:26::i;29930:315::-;30087:28;30097:4;30103:2;30107:7;30087:9;:28::i;:::-;30134:48;30157:4;30163:2;30167:7;30176:5;30134:22;:48::i;:::-;30126:111;;;;-1:-1:-1;;;30126:111:0;;;;;;;:::i;59250:318::-;59325:4;59353;59325;59368:172;59392:3;:10;59388:1;:14;59368:172;;;59428:16;59445:3;59449:1;59445:6;;;;;;-1:-1:-1;;;59445:6:0;;;;;;;;;;;;;;;59428:24;;;;;-1:-1:-1;;;59428:24:0;;;;;;;;;;;:29;59424:105;;59484:5;59478:11;;59508:5;;59424:105;59404:3;;;;:::i;:::-;;;;59368:172;;;-1:-1:-1;59557:3:0;59250:318;-1:-1:-1;;59250:318:0:o;61579:731::-;61651:7;61671:18;61692:16;61709:10;61692:28;;;;;-1:-1:-1;;;61692:28:0;;;;;;;;;;;;-1:-1:-1;61731:14:0;61760:15;61756:119;;-1:-1:-1;61801:10:0;61756:119;;;-1:-1:-1;61853:10:0;61756:119;61885:17;61927:1;61905:19;;:23;;;;:::i;:::-;61885:43;;61957:9;61943:10;:23;61939:308;;61983:22;62008:16;62025:9;62008:27;;;;;-1:-1:-1;;;62008:27:0;;;;;;;;;;;;-1:-1:-1;62054:19:0;62050:186;;62125:9;62094:16;62111:10;62094:28;;;;;-1:-1:-1;;;62094:28:0;;;;;;;;;;:40;62050:186;;;62206:14;62175:16;62192:10;62175:28;;;;;-1:-1:-1;;;62175:28:0;;;;;;;;;;:45;62050:186;61939:308;;62257:19;:21;;;:19;:21;;;:::i;:::-;;;;-1:-1:-1;62296:6:0;;61579:731;-1:-1:-1;;;;;61579:731:0:o;20812:723::-;20868:13;21089:10;21085:53;;-1:-1:-1;21116:10:0;;;;;;;;;;;;-1:-1:-1;;;21116:10:0;;;;;;21085:53;21163:5;21148:12;21204:78;21211:9;;21204:78;;21237:8;;;;:::i;:::-;;-1:-1:-1;21260:10:0;;-1:-1:-1;21268:2:0;21260:10;;:::i;:::-;;;21204:78;;;21292:19;21324:6;21314:17;;;;;;-1:-1:-1;;;21314:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21314:17:0;;21292:39;;21342:154;21349:10;;21342:154;;21376:11;21386:1;21376:11;;:::i;:::-;;-1:-1:-1;21445:10:0;21453:2;21445:5;:10;:::i;:::-;21432:24;;:2;:24;:::i;:::-;21419:39;;21402:6;21409;21402:14;;;;;;-1:-1:-1;;;21402:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;21402:56:0;;;;;;;;-1:-1:-1;21473:11:0;21482:2;21473:11;;:::i;:::-;;;21342:154;;23269:157;-1:-1:-1;;;;;;23378:40:0;;-1:-1:-1;;;23378:40:0;23269:157;;;:::o;40235:589::-;40379:45;40406:4;40412:2;40416:7;40379:26;:45::i;:::-;-1:-1:-1;;;;;40441:18:0;;40437:187;;40476:40;40508:7;40476:31;:40::i;:::-;40437:187;;;40546:2;-1:-1:-1;;;;;40538:10:0;:4;-1:-1:-1;;;;;40538:10:0;;40534:90;;40565:47;40598:4;40604:7;40565:32;:47::i;:::-;-1:-1:-1;;;;;40638:16:0;;40634:183;;40671:45;40708:7;40671:36;:45::i;:::-;40634:183;;;40744:4;-1:-1:-1;;;;;40738:10:0;:2;-1:-1:-1;;;;;40738:10:0;;40734:83;;40765:40;40793:2;40797:7;40765:27;:40::i;31879:321::-;32009:18;32015:2;32019:7;32009:5;:18::i;:::-;32060:54;32091:1;32095:2;32099:7;32108:5;32060:22;:54::i;:::-;32038:154;;;;-1:-1:-1;;;32038:154:0;;;;;;;:::i;35361:803::-;35516:4;35537:15;:2;-1:-1:-1;;;;;35537:13:0;;:15::i;:::-;35533:624;;;35589:2;-1:-1:-1;;;;;35573:36:0;;35610:12;:10;:12::i;:::-;35624:4;35630:7;35639:5;35573:72;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35573:72:0;;;;;;;;-1:-1:-1;;35573:72:0;;;;;;;;;;;;:::i;:::-;;;35569:533;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35819:13:0;;35815:272;;35862:60;;-1:-1:-1;;;35862:60:0;;;;;;;:::i;35815:272::-;36037:6;36031:13;36022:6;36018:2;36014:15;36007:38;35569:533;-1:-1:-1;;;;;;35696:55:0;-1:-1:-1;;;35696:55:0;;-1:-1:-1;35689:62:0;;35533:624;-1:-1:-1;36141:4:0;35361:803;;;;;;:::o;41547:164::-;41651:10;:17;;41624:24;;;;:15;:24;;;;;:44;;;41679:24;;;;;;;;;;;;41547:164::o;42338:988::-;42604:22;42654:1;42629:22;42646:4;42629:16;:22::i;:::-;:26;;;;:::i;:::-;42666:18;42687:26;;;:17;:26;;;;;;42604:51;;-1:-1:-1;42820:28:0;;;42816:328;;-1:-1:-1;;;;;42887:18:0;;42865:19;42887:18;;;:12;:18;;;;;;;;:34;;;;;;;;;42938:30;;;;;;:44;;;43055:30;;:17;:30;;;;;:43;;;42816:328;-1:-1:-1;43240:26:0;;;;:17;:26;;;;;;;;43233:33;;;-1:-1:-1;;;;;43284:18:0;;;;;:12;:18;;;;;:34;;;;;;;43277:41;42338:988::o;43621:1079::-;43899:10;:17;43874:22;;43899:21;;43919:1;;43899:21;:::i;:::-;43931:18;43952:24;;;:15;:24;;;;;;44325:10;:26;;43874:46;;-1:-1:-1;43952:24:0;;43874:46;;44325:26;;;;-1:-1:-1;;;44325:26:0;;;;;;;;;;;;;;;;;44303:48;;44389:11;44364:10;44375;44364:22;;;;;;-1:-1:-1;;;44364:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;44469:28;;;:15;:28;;;;;;;:41;;;44641:24;;;;;44634:31;44676:10;:16;;;;;-1:-1:-1;;;44676:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;43621:1079;;;;:::o;41125:221::-;41210:14;41227:20;41244:2;41227:16;:20::i;:::-;-1:-1:-1;;;;;41258:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;41303:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;41125:221:0:o;32536:382::-;-1:-1:-1;;;;;32616:16:0;;32608:61;;;;-1:-1:-1;;;32608:61:0;;;;;;;:::i;:::-;32689:16;32697:7;32689;:16::i;:::-;32688:17;32680:58;;;;-1:-1:-1;;;32680:58:0;;;;;;;:::i;:::-;32751:45;32780:1;32784:2;32788:7;32751:20;:45::i;:::-;-1:-1:-1;;;;;32809:13:0;;;;;;:9;:13;;;;;:18;;32826:1;;32809:13;:18;;32826:1;;32809:18;:::i;:::-;;;;-1:-1:-1;;32838:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;32838:21:0;-1:-1:-1;;;;;32838:21:0;;;;;;;;32877:33;;32838:16;;;32877:33;;32838:16;;32877:33;32536:382;;:::o;12656:387::-;12979:20;13027:8;;;12656:387::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:409:1;;114:18;106:6;103:30;100:2;;;136:18;;:::i;:::-;174:58;220:2;197:17;;-1:-1:-1;;193:31:1;226:4;189:42;174:58;:::i;:::-;165:67;;255:6;248:5;241:21;295:3;286:6;281:3;277:16;274:25;271:2;;;312:1;309;302:12;271:2;361:6;356:3;349:4;342:5;338:16;325:43;415:1;408:4;399:6;392:5;388:18;384:29;377:40;90:333;;;;;:::o;428:175::-;498:20;;-1:-1:-1;;;;;547:31:1;;537:42;;527:2;;593:1;590;583:12;608:198;;720:2;708:9;699:7;695:23;691:32;688:2;;;741:6;733;726:22;688:2;769:31;790:9;769:31;:::i;811:274::-;;;940:2;928:9;919:7;915:23;911:32;908:2;;;961:6;953;946:22;908:2;989:31;1010:9;989:31;:::i;:::-;979:41;;1039:40;1075:2;1064:9;1060:18;1039:40;:::i;:::-;1029:50;;898:187;;;;;:::o;1090:342::-;;;;1236:2;1224:9;1215:7;1211:23;1207:32;1204:2;;;1257:6;1249;1242:22;1204:2;1285:31;1306:9;1285:31;:::i;:::-;1275:41;;1335:40;1371:2;1360:9;1356:18;1335:40;:::i;:::-;1325:50;;1422:2;1411:9;1407:18;1394:32;1384:42;;1194:238;;;;;:::o;1437:702::-;;;;;1609:3;1597:9;1588:7;1584:23;1580:33;1577:2;;;1631:6;1623;1616:22;1577:2;1659:31;1680:9;1659:31;:::i;:::-;1649:41;;1709:40;1745:2;1734:9;1730:18;1709:40;:::i;:::-;1699:50;;1796:2;1785:9;1781:18;1768:32;1758:42;;1851:2;1840:9;1836:18;1823:32;1878:18;1870:6;1867:30;1864:2;;;1915:6;1907;1900:22;1864:2;1943:22;;1996:4;1988:13;;1984:27;-1:-1:-1;1974:2:1;;2030:6;2022;2015:22;1974:2;2058:75;2125:7;2120:2;2107:16;2102:2;2098;2094:11;2058:75;:::i;:::-;2048:85;;;1567:572;;;;;;;:::o;2144:369::-;;;2270:2;2258:9;2249:7;2245:23;2241:32;2238:2;;;2291:6;2283;2276:22;2238:2;2319:31;2340:9;2319:31;:::i;:::-;2309:41;;2400:2;2389:9;2385:18;2372:32;2447:5;2440:13;2433:21;2426:5;2423:32;2413:2;;2474:6;2466;2459:22;2413:2;2502:5;2492:15;;;2228:285;;;;;:::o;2518:266::-;;;2647:2;2635:9;2626:7;2622:23;2618:32;2615:2;;;2668:6;2660;2653:22;2615:2;2696:31;2717:9;2696:31;:::i;:::-;2686:41;2774:2;2759:18;;;;2746:32;;-1:-1:-1;;;2605:179:1:o;2789:1002::-;;2904:2;2947;2935:9;2926:7;2922:23;2918:32;2915:2;;;2968:6;2960;2953:22;2915:2;3013:9;3000:23;3042:18;3083:2;3075:6;3072:14;3069:2;;;3104:6;3096;3089:22;3069:2;3147:6;3136:9;3132:22;3122:32;;3192:7;3185:4;3181:2;3177:13;3173:27;3163:2;;3219:6;3211;3204:22;3163:2;3260;3247:16;3282:2;3278;3275:10;3272:2;;;3288:18;;:::i;:::-;3335:2;3331;3327:11;3317:21;;3358:27;3381:2;3377;3373:11;3358:27;:::i;:::-;3419:15;;;3450:12;;;;3482:11;;;3512;;;3508:20;;3505:33;-1:-1:-1;3502:2:1;;;3556:6;3548;3541:22;3502:2;3583:6;3574:15;;3598:163;3612:2;3609:1;3606:9;3598:163;;;3669:17;;3657:30;;3630:1;3623:9;;;;;3707:12;;;;3739;;3598:163;;;-1:-1:-1;3780:5:1;2884:907;-1:-1:-1;;;;;;;;2884:907:1:o;3796:257::-;;3907:2;3895:9;3886:7;3882:23;3878:32;3875:2;;;3928:6;3920;3913:22;3875:2;3972:9;3959:23;3991:32;4017:5;3991:32;:::i;4058:261::-;;4180:2;4168:9;4159:7;4155:23;4151:32;4148:2;;;4201:6;4193;4186:22;4148:2;4238:9;4232:16;4257:32;4283:5;4257:32;:::i;4324:482::-;;4446:2;4434:9;4425:7;4421:23;4417:32;4414:2;;;4467:6;4459;4452:22;4414:2;4512:9;4499:23;4545:18;4537:6;4534:30;4531:2;;;4582:6;4574;4567:22;4531:2;4610:22;;4663:4;4655:13;;4651:27;-1:-1:-1;4641:2:1;;4697:6;4689;4682:22;4641:2;4725:75;4792:7;4787:2;4774:16;4769:2;4765;4761:11;4725:75;:::i;4811:190::-;;4923:2;4911:9;4902:7;4898:23;4894:32;4891:2;;;4944:6;4936;4929:22;4891:2;-1:-1:-1;4972:23:1;;4881:120;-1:-1:-1;4881:120:1:o;5006:194::-;;5129:2;5117:9;5108:7;5104:23;5100:32;5097:2;;;5150:6;5142;5135:22;5097:2;-1:-1:-1;5178:16:1;;5087:113;-1:-1:-1;5087:113:1:o;5205:259::-;;5286:5;5280:12;5313:6;5308:3;5301:19;5329:63;5385:6;5378:4;5373:3;5369:14;5362:4;5355:5;5351:16;5329:63;:::i;:::-;5446:2;5425:15;-1:-1:-1;;5421:29:1;5412:39;;;;5453:4;5408:50;;5256:208;-1:-1:-1;;5256:208:1:o;5469:187::-;;5551:5;5545:12;5566:52;5611:6;5606:3;5599:4;5592:5;5588:16;5566:52;:::i;:::-;5634:16;;;;;5521:135;-1:-1:-1;;5521:135:1:o;5661:1181::-;5895:13;;5661:1181;;;;5968:1;5953:17;;5989:1;6025:18;;;;6052:2;;6106:4;6098:6;6094:17;6084:27;;6052:2;6132;6180;6172:6;6169:14;6149:18;6146:38;6143:2;;;-1:-1:-1;;;6207:33:1;;6263:4;6260:1;6253:15;6293:4;6214:3;6281:17;6143:2;6324:18;6351:104;;;;6469:1;6464:324;;;;6317:471;;6351:104;-1:-1:-1;;6384:24:1;;6372:37;;6429:16;;;;-1:-1:-1;6351:104:1;;6464:324;6500:39;6532:6;6500:39;:::i;:::-;6561:3;6577:165;6591:6;6588:1;6585:13;6577:165;;;6669:14;;6656:11;;;6649:35;6712:16;;;;6606:10;;6577:165;;;6581:3;;6771:6;6766:3;6762:16;6755:23;;6317:471;;;;;;;6804:32;6832:3;6824:6;6804:32;:::i;6847:203::-;-1:-1:-1;;;;;7011:32:1;;;;6993:51;;6981:2;6966:18;;6948:102::o;7055:490::-;-1:-1:-1;;;;;7324:15:1;;;7306:34;;7376:15;;7371:2;7356:18;;7349:43;7423:2;7408:18;;7401:34;;;7471:3;7466:2;7451:18;;7444:31;;;7055:490;;7492:47;;7519:19;;7511:6;7492:47;:::i;:::-;7484:55;7258:287;-1:-1:-1;;;;;;7258:287:1:o;7550:633::-;-1:-1:-1;;;;;7883:32:1;;;;7865:51;;7947:2;7932:18;;7925:34;;;;7990:2;7975:18;;7968:34;;;;8033:2;8018:18;;8011:34;;;;8076:3;8061:19;;8054:35;7903:3;8105:19;;8098:35;8164:3;8149:19;;8142:35;7852:3;7837:19;;7819:364::o;8188:187::-;8353:14;;8346:22;8328:41;;8316:2;8301:18;;8283:92::o;8380:221::-;;8529:2;8518:9;8511:21;8549:46;8591:2;8580:9;8576:18;8568:6;8549:46;:::i;8606:407::-;8808:2;8790:21;;;8847:2;8827:18;;;8820:30;8886:34;8881:2;8866:18;;8859:62;-1:-1:-1;;;8952:2:1;8937:18;;8930:41;9003:3;8988:19;;8780:233::o;9018:414::-;9220:2;9202:21;;;9259:2;9239:18;;;9232:30;9298:34;9293:2;9278:18;;9271:62;-1:-1:-1;;;9364:2:1;9349:18;;9342:48;9422:3;9407:19;;9192:240::o;9437:402::-;9639:2;9621:21;;;9678:2;9658:18;;;9651:30;9717:34;9712:2;9697:18;;9690:62;-1:-1:-1;;;9783:2:1;9768:18;;9761:36;9829:3;9814:19;;9611:228::o;9844:339::-;10046:2;10028:21;;;10085:2;10065:18;;;10058:30;-1:-1:-1;;;10119:2:1;10104:18;;10097:45;10174:2;10159:18;;10018:165::o;10188:345::-;10390:2;10372:21;;;10429:2;10409:18;;;10402:30;-1:-1:-1;;;10463:2:1;10448:18;;10441:51;10524:2;10509:18;;10362:171::o;10538:352::-;10740:2;10722:21;;;10779:2;10759:18;;;10752:30;10818;10813:2;10798:18;;10791:58;10881:2;10866:18;;10712:178::o;10895:343::-;11097:2;11079:21;;;11136:2;11116:18;;;11109:30;-1:-1:-1;;;11170:2:1;11155:18;;11148:49;11229:2;11214:18;;11069:169::o;11243:400::-;11445:2;11427:21;;;11484:2;11464:18;;;11457:30;11523:34;11518:2;11503:18;;11496:62;-1:-1:-1;;;11589:2:1;11574:18;;11567:34;11633:3;11618:19;;11417:226::o;11648:349::-;11850:2;11832:21;;;11889:2;11869:18;;;11862:30;11928:27;11923:2;11908:18;;11901:55;11988:2;11973:18;;11822:175::o;12002:408::-;12204:2;12186:21;;;12243:2;12223:18;;;12216:30;12282:34;12277:2;12262:18;;12255:62;-1:-1:-1;;;12348:2:1;12333:18;;12326:42;12400:3;12385:19;;12176:234::o;12415:420::-;12617:2;12599:21;;;12656:2;12636:18;;;12629:30;12695:34;12690:2;12675:18;;12668:62;12766:26;12761:2;12746:18;;12739:54;12825:3;12810:19;;12589:246::o;12840:406::-;13042:2;13024:21;;;13081:2;13061:18;;;13054:30;13120:34;13115:2;13100:18;;13093:62;-1:-1:-1;;;13186:2:1;13171:18;;13164:40;13236:3;13221:19;;13014:232::o;13251:405::-;13453:2;13435:21;;;13492:2;13472:18;;;13465:30;13531:34;13526:2;13511:18;;13504:62;-1:-1:-1;;;13597:2:1;13582:18;;13575:39;13646:3;13631:19;;13425:231::o;13661:355::-;13863:2;13845:21;;;13902:2;13882:18;;;13875:30;13941:33;13936:2;13921:18;;13914:61;14007:2;13992:18;;13835:181::o;14021:356::-;14223:2;14205:21;;;14242:18;;;14235:30;14301:34;14296:2;14281:18;;14274:62;14368:2;14353:18;;14195:182::o;14382:408::-;14584:2;14566:21;;;14623:2;14603:18;;;14596:30;14662:34;14657:2;14642:18;;14635:62;-1:-1:-1;;;14728:2:1;14713:18;;14706:42;14780:3;14765:19;;14556:234::o;14795:356::-;14997:2;14979:21;;;15016:18;;;15009:30;15075:34;15070:2;15055:18;;15048:62;15142:2;15127:18;;14969:182::o;15156:338::-;15358:2;15340:21;;;15397:2;15377:18;;;15370:30;-1:-1:-1;;;15431:2:1;15416:18;;15409:44;15485:2;15470:18;;15330:164::o;15499:411::-;15701:2;15683:21;;;15740:2;15720:18;;;15713:30;15779:34;15774:2;15759:18;;15752:62;-1:-1:-1;;;15845:2:1;15830:18;;15823:45;15900:3;15885:19;;15673:237::o;15915:400::-;16117:2;16099:21;;;16156:2;16136:18;;;16129:30;16195:34;16190:2;16175:18;;16168:62;-1:-1:-1;;;16261:2:1;16246:18;;16239:34;16305:3;16290:19;;16089:226::o;16320:350::-;16522:2;16504:21;;;16561:2;16541:18;;;16534:30;16600:28;16595:2;16580:18;;16573:56;16661:2;16646:18;;16494:176::o;16675:397::-;16877:2;16859:21;;;16916:2;16896:18;;;16889:30;16955:34;16950:2;16935:18;;16928:62;-1:-1:-1;;;17021:2:1;17006:18;;16999:31;17062:3;17047:19;;16849:223::o;17077:413::-;17279:2;17261:21;;;17318:2;17298:18;;;17291:30;17357:34;17352:2;17337:18;;17330:62;-1:-1:-1;;;17423:2:1;17408:18;;17401:47;17480:3;17465:19;;17251:239::o;17495:341::-;17697:2;17679:21;;;17736:2;17716:18;;;17709:30;-1:-1:-1;;;17770:2:1;17755:18;;17748:47;17827:2;17812:18;;17669:167::o;17841:408::-;18043:2;18025:21;;;18082:2;18062:18;;;18055:30;18121:34;18116:2;18101:18;;18094:62;-1:-1:-1;;;18187:2:1;18172:18;;18165:42;18239:3;18224:19;;18015:234::o;18254:353::-;18456:2;18438:21;;;18495:2;18475:18;;;18468:30;18534:31;18529:2;18514:18;;18507:59;18598:2;18583:18;;18428:179::o;18612:355::-;18814:2;18796:21;;;18853:2;18833:18;;;18826:30;18892:33;18887:2;18872:18;;18865:61;18958:2;18943:18;;18786:181::o;18972:355::-;19174:2;19156:21;;;19213:2;19193:18;;;19186:30;19252:33;19247:2;19232:18;;19225:61;19318:2;19303:18;;19146:181::o;19332:409::-;19539:13;;19521:32;;19589:1;19639:17;;19633:24;-1:-1:-1;;;;;19629:33:1;;;19622:4;19607:20;;19600:63;19723:4;19711:17;;;19705:24;19701:33;;;19694:4;19679:20;;19672:63;19509:2;19494:18;;19476:265::o;19746:177::-;19892:25;;;19880:2;19865:18;;19847:76::o;19928:251::-;19998:2;19992:9;20028:17;;;20075:18;20060:34;;20096:22;;;20057:62;20054:2;;;20122:18;;:::i;:::-;20158:2;20151:22;19972:207;;-1:-1:-1;19972:207:1:o;20184:129::-;;20252:17;;;20302:4;20286:21;;;20242:71::o;20318:128::-;;20389:1;20385:6;20382:1;20379:13;20376:2;;;20395:18;;:::i;:::-;-1:-1:-1;20431:9:1;;20366:80::o;20451:120::-;;20517:1;20507:2;;20522:18;;:::i;:::-;-1:-1:-1;20556:9:1;;20497:74::o;20576:168::-;;20682:1;20678;20674:6;20670:14;20667:1;20664:21;20659:1;20652:9;20645:17;20641:45;20638:2;;;20689:18;;:::i;:::-;-1:-1:-1;20729:9:1;;20628:116::o;20749:125::-;;20817:1;20814;20811:8;20808:2;;;20822:18;;:::i;:::-;-1:-1:-1;20859:9:1;;20798:76::o;20879:258::-;20951:1;20961:113;20975:6;20972:1;20969:13;20961:113;;;21051:11;;;21045:18;21032:11;;;21025:39;20997:2;20990:10;20961:113;;;21092:6;21089:1;21086:13;21083:2;;;-1:-1:-1;;21127:1:1;21109:16;;21102:27;20932:205::o;21142:136::-;;21209:5;21199:2;;21218:18;;:::i;:::-;-1:-1:-1;;;21254:18:1;;21189:89::o;21283:380::-;21368:1;21358:12;;21415:1;21405:12;;;21426:2;;21480:4;21472:6;21468:17;21458:27;;21426:2;21533;21525:6;21522:14;21502:18;21499:38;21496:2;;;21579:10;21574:3;21570:20;21567:1;21560:31;21614:4;21611:1;21604:15;21642:4;21639:1;21632:15;21496:2;;21338:325;;;:::o;21668:135::-;;-1:-1:-1;;21728:17:1;;21725:2;;;21748:18;;:::i;:::-;-1:-1:-1;21795:1:1;21784:13;;21715:88::o;21808:112::-;;21866:1;21856:2;;21871:18;;:::i;:::-;-1:-1:-1;21905:9:1;;21846:74::o;21925:127::-;21986:10;21981:3;21977:20;21974:1;21967:31;22017:4;22014:1;22007:15;22041:4;22038:1;22031:15;22057:127;22118:10;22113:3;22109:20;22106:1;22099:31;22149:4;22146:1;22139:15;22173:4;22170:1;22163:15;22189:127;22250:10;22245:3;22241:20;22238:1;22231:31;22281:4;22278:1;22271:15;22305:4;22302:1;22295:15;22321:133;-1:-1:-1;;;;;;22397:32:1;;22387:43;;22377:2;;22444:1;22441;22434:12
Swarm Source
ipfs://c7d7275531cc102ecaacc74522f257646252a0dff4ff8326ba757e9ea8790495
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.