ERC-721
NFT
Overview
Max Total Supply
300 CHAMPS
Holders
203
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 CHAMPSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MetaChamps
Compiler Version
v0.8.0+commit.c7dfd78e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-09-18 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } pragma solidity ^0.8.0; /** * @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); } } pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } pragma solidity ^0.8.0; /** $$$$$$$$$$$$$$$$$$$$$$NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$N*:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*N$$$$$$$$ $$$$$$$$$$$$$$$$$$M:.*NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMV*VFFFFFFFFFFFFFFFFFFFFFFFFFFFFV..V$$$$$$$$ $$$$$$$$$$$$$$$$$N*.:N$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$NV:.VFFIFIFFIIIIIIIIIIIIIIIFFFIIFF:.:N$$$$$$$$ $$$$$$$$$$$$$$$$N:.*$$$:.......$$$$$$$$$$NV:.....*$$M*:..*IIFFFFV*::.............:VFIIF:.*N$$$$$$$$$ $$$$$$$$$$$$$$$N*.:N$$N........I$$$$$$$NV:......*NNV:...:FIIFFV:................:VFIIF*.:N$$$$$$$$$$ $$$$$$$$$$$$$$N*.:N$$N:........V$$$$$I*........*I*......******:...:*IIIIIIIIIIIIIIIIF:.:N$$$$$$$$$$$ $$$$$$$$$$$$$$*.:M$$N*.........*$$$I*.........**:.................:VFIIFFFFIFFFFFIIF*.:M$$$$$$$$$$$$ $$$$$$$$$$$$N*.:N$$N:....*.....:NV:....:..................:*.....:FIIIIFIIFFFFFFFIF*.:N$$$$$$$$$$$$$ $$$$$$$$$$$$*.:M$$$*....:N*....*:....*V:....*IMMMMF.....:*V......*VVVVVVVVVVVFFFIF*.:M$$$$$$$$$$$$$$ $$$$$$$$$$$*.:M$$N*....:M$V.......:VMN:....:N$$$$N:...*VFI*.................*FFIF*.:M$$$$$$$$$$$$$$$ $$$$$$$$$$V.:M$$$F*****I$$N******VM$$F*****M$$$$$*..:VIIIFF***::::::::::::**FFFI*.:I$$$$$$$$$$$$$$$$ $$$$$$$$$*.:M$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$V.*VIFFFFFIIIIFIFIIIIIIIIIIIIFI*.:M$$$$$$$$$$$$$$$$$ $$$$$$$$$:.*FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF:*VVVVVVVVVVVVVVVVVVVVVVVVVVVV*..I$$$$$$$$$$$$$$$$$$ $$$$$$$$$MV********************************************************************VM$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ * @dev MetaChamps contract Extends ERC721 Token */ contract MetaChamps is ERC721, ERC721Enumerable, Ownable { using Strings for uint256; uint256 public salePrice = 0.23 ether; uint256 public MAX_SUPPLY = 300; bool public saleIsActive = false; constructor() ERC721("MetaChamps", "CHAMPS") { } function toggleSaleState() public onlyOwner { saleIsActive = !saleIsActive; } function setPrice(uint _salePrice) public onlyOwner { salePrice = _salePrice; } function mint() public payable { require(saleIsActive, "Sale must be active!"); require(totalSupply() + 1 <= MAX_SUPPLY, "Mint would exceed max supply"); require(salePrice <= msg.value, "Not enough Ether sent"); require(this.balanceOf(msg.sender) == 0, "Limit 1 per wallet"); uint mintIndex = totalSupply(); if (totalSupply() < MAX_SUPPLY) { _safeMint(msg.sender, mintIndex); } } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function withdraw() public onlyOwner { uint balance = address(this).balance; payable(msg.sender).transfer(balance); } string private _baseURIextension; function setBaseURI(string memory baseURI_) external onlyOwner() { _baseURIextension = baseURI_; } function _baseURI() internal view virtual override returns (string memory) { return _baseURIextension; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); if (tokenURIExternal != address(0)) { return ERC721(tokenURIExternal).tokenURI(tokenId); } string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } // Allow metadata to be brought on-chain through another smart contract address private tokenURIExternal; function updateTokenURIExternal(address _tokenURIExternal) public onlyOwner { tokenURIExternal = _tokenURIExternal; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"salePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[{"internalType":"address","name":"_tokenURIExternal","type":"address"}],"name":"updateTokenURIExternal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526703311fc80a570000600b5561012c600c55600d805460ff191690553480156200002d57600080fd5b50604080518082018252600a8152694d6574614368616d707360b01b6020808301918252835180850190945260068452654348414d505360d01b9084015281519192916200007e916000916200010d565b508051620000949060019060208401906200010d565b505050620000b1620000ab620000b760201b60201c565b620000bb565b620001f0565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200011b90620001b3565b90600052602060002090601f0160209004810192826200013f57600085556200018a565b82601f106200015a57805160ff19168380011785556200018a565b828001600101855582156200018a579182015b828111156200018a5782518255916020019190600101906200016d565b50620001989291506200019c565b5090565b5b808211156200019857600081556001016200019d565b600281046001821680620001c857607f821691505b60208210811415620001ea57634e487b7160e01b600052602260045260246000fd5b50919050565b6122f080620002006000396000f3fe6080604052600436106101775760003560e01c80636352211e116100cc578063b88d4fde1161007a578063b88d4fde146103f6578063c87b56dd14610416578063daaeec8614610436578063e985e9c51461044b578063eb8d24441461046b578063f2fde38b14610480578063f51f96dd146104a057610177565b80636352211e1461033757806370a0823114610357578063715018a6146103775780638da5cb5b1461038c57806391b7f5ed146103a157806395d89b41146103c1578063a22cb465146103d657610177565b80632f745c59116101295780632f745c591461026d57806332cb6b0c1461028d5780633ccfd60b146102a257806342842e0e146102b75780634f6ccce7146102d757806350d6e550146102f757806355f804b31461031757610177565b806301ffc9a71461017c57806306fdde03146101b2578063081812fc146101d4578063095ea7b3146102015780631249c58b1461022357806318160ddd1461022b57806323b872dd1461024d575b600080fd5b34801561018857600080fd5b5061019c61019736600461198f565b6104b5565b6040516101a99190611b5c565b60405180910390f35b3480156101be57600080fd5b506101c76104c8565b6040516101a99190611b67565b3480156101e057600080fd5b506101f46101ef366004611a80565b61055a565b6040516101a99190611b0b565b34801561020d57600080fd5b5061022161021c366004611966565b6105a6565b005b61022161063e565b34801561023757600080fd5b50610240610770565b6040516101a9919061212e565b34801561025957600080fd5b50610221610268366004611878565b610776565b34801561027957600080fd5b50610240610288366004611966565b6107ae565b34801561029957600080fd5b50610240610800565b3480156102ae57600080fd5b50610221610806565b3480156102c357600080fd5b506102216102d2366004611878565b610878565b3480156102e357600080fd5b506102406102f2366004611a80565b610893565b34801561030357600080fd5b5061022161031236600461182c565b6108ee565b34801561032357600080fd5b506102216103323660046119c7565b61094f565b34801561034357600080fd5b506101f4610352366004611a80565b6109a1565b34801561036357600080fd5b5061024061037236600461182c565b6109d6565b34801561038357600080fd5b50610221610a1a565b34801561039857600080fd5b506101f4610a65565b3480156103ad57600080fd5b506102216103bc366004611a80565b610a74565b3480156103cd57600080fd5b506101c7610ab8565b3480156103e257600080fd5b506102216103f136600461192c565b610ac7565b34801561040257600080fd5b506102216104113660046118b3565b610b95565b34801561042257600080fd5b506101c7610431366004611a80565b610bd4565b34801561044257600080fd5b50610221610cf3565b34801561045757600080fd5b5061019c610466366004611846565b610d46565b34801561047757600080fd5b5061019c610d74565b34801561048c57600080fd5b5061022161049b36600461182c565b610d7d565b3480156104ac57600080fd5b50610240610deb565b60006104c082610df1565b90505b919050565b6060600080546104d7906121f8565b80601f0160208091040260200160405190810160405280929190818152602001828054610503906121f8565b80156105505780601f1061052557610100808354040283529160200191610550565b820191906000526020600020905b81548152906001019060200180831161053357829003601f168201915b5050505050905090565b600061056582610e16565b61058a5760405162461bcd60e51b815260040161058190611f37565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105b1826109a1565b9050806001600160a01b0316836001600160a01b031614156105e55760405162461bcd60e51b815260040161058190612050565b806001600160a01b03166105f7610e33565b6001600160a01b03161480610613575061061381610466610e33565b61062f5760405162461bcd60e51b815260040161058190611e17565b6106398383610e37565b505050565b600d5460ff166106605760405162461bcd60e51b815260040161058190611bb1565b600c5461066b610770565b610676906001612189565b11156106945760405162461bcd60e51b815260040161058190611b7a565b34600b5411156106b65760405162461bcd60e51b815260040161058190611bdf565b6040516370a0823160e01b815230906370a08231906106d9903390600401611b0b565b60206040518083038186803b1580156106f157600080fd5b505afa158015610705573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107299190611a98565b156107465760405162461bcd60e51b815260040161058190611cab565b6000610750610770565b9050600c5461075d610770565b101561076d5761076d3382610ea5565b50565b60085490565b610787610781610e33565b82610ebf565b6107a35760405162461bcd60e51b815260040161058190612091565b610639838383610f44565b60006107b9836109d6565b82106107d75760405162461bcd60e51b815260040161058190611c0e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c5481565b61080e610e33565b6001600160a01b031661081f610a65565b6001600160a01b0316146108455760405162461bcd60e51b815260040161058190611f83565b6040514790339082156108fc029083906000818181858888f19350505050158015610874573d6000803e3d6000fd5b5050565b61063983838360405180602001604052806000815250610b95565b600061089d610770565b82106108bb5760405162461bcd60e51b8152600401610581906120e2565b600882815481106108dc57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6108f6610e33565b6001600160a01b0316610907610a65565b6001600160a01b03161461092d5760405162461bcd60e51b815260040161058190611f83565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b610957610e33565b6001600160a01b0316610968610a65565b6001600160a01b03161461098e5760405162461bcd60e51b815260040161058190611f83565b805161087490600e90602084019061173e565b6000818152600260205260408120546001600160a01b0316806104c05760405162461bcd60e51b815260040161058190611eb9565b60006001600160a01b0382166109fe5760405162461bcd60e51b815260040161058190611e6f565b506001600160a01b031660009081526003602052604090205490565b610a22610e33565b6001600160a01b0316610a33610a65565b6001600160a01b031614610a595760405162461bcd60e51b815260040161058190611f83565b610a636000611071565b565b600a546001600160a01b031690565b610a7c610e33565b6001600160a01b0316610a8d610a65565b6001600160a01b031614610ab35760405162461bcd60e51b815260040161058190611f83565b600b55565b6060600180546104d7906121f8565b610acf610e33565b6001600160a01b0316826001600160a01b03161415610b005760405162461bcd60e51b815260040161058190611d98565b8060056000610b0d610e33565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610b51610e33565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610b899190611b5c565b60405180910390a35050565b610ba6610ba0610e33565b83610ebf565b610bc25760405162461bcd60e51b815260040161058190612091565b610bce848484846110c3565b50505050565b6060610bdf82610e16565b610bfb5760405162461bcd60e51b815260040161058190612001565b600f546001600160a01b031615610c9757600f5460405163c87b56dd60e01b81526001600160a01b039091169063c87b56dd90610c3c90859060040161212e565b60006040518083038186803b158015610c5457600080fd5b505afa158015610c68573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c909190810190611a0d565b90506104c3565b6000610ca16110f6565b90506000815111610cc15760405180602001604052806000815250610cec565b80610ccb84611105565b604051602001610cdc929190611adc565b6040516020818303038152906040525b9392505050565b610cfb610e33565b6001600160a01b0316610d0c610a65565b6001600160a01b031614610d325760405162461bcd60e51b815260040161058190611f83565b600d805460ff19811660ff90911615179055565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600d5460ff1681565b610d85610e33565b6001600160a01b0316610d96610a65565b6001600160a01b031614610dbc5760405162461bcd60e51b815260040161058190611f83565b6001600160a01b038116610de25760405162461bcd60e51b815260040161058190611cd7565b61076d81611071565b600b5481565b60006001600160e01b0319821663780e9d6360e01b14806104c057506104c082611220565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e6c826109a1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610874828260405180602001604052806000815250611260565b6000610eca82610e16565b610ee65760405162461bcd60e51b815260040161058190611dcb565b6000610ef1836109a1565b9050806001600160a01b0316846001600160a01b03161480610f2c5750836001600160a01b0316610f218461055a565b6001600160a01b0316145b80610f3c5750610f3c8185610d46565b949350505050565b826001600160a01b0316610f57826109a1565b6001600160a01b031614610f7d5760405162461bcd60e51b815260040161058190611fb8565b6001600160a01b038216610fa35760405162461bcd60e51b815260040161058190611d54565b610fae838383611293565b610fb9600082610e37565b6001600160a01b0383166000908152600360205260408120805460019290610fe29084906121b5565b90915550506001600160a01b0382166000908152600360205260408120805460019290611010908490612189565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6110ce848484610f44565b6110da8484848461129e565b610bce5760405162461bcd60e51b815260040161058190611c59565b6060600e80546104d7906121f8565b60608161112a57506040805180820190915260018152600360fc1b60208201526104c3565b8160005b8115611154578061113e81612233565b915061114d9050600a836121a1565b915061112e565b60008167ffffffffffffffff81111561117d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156111a7576020820181803683370190505b5090505b8415610f3c576111bc6001836121b5565b91506111c9600a8661224e565b6111d4906030612189565b60f81b8183815181106111f757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611219600a866121a1565b94506111ab565b60006001600160e01b031982166380ac58cd60e01b148061125157506001600160e01b03198216635b5e139f60e01b145b806104c057506104c0826113b9565b61126a83836113d2565b611277600084848461129e565b6106395760405162461bcd60e51b815260040161058190611c59565b6106398383836114b1565b60006112b2846001600160a01b031661153a565b156113ae57836001600160a01b031663150b7a026112ce610e33565b8786866040518563ffffffff1660e01b81526004016112f09493929190611b1f565b602060405180830381600087803b15801561130a57600080fd5b505af192505050801561133a575060408051601f3d908101601f19168201909252611337918101906119ab565b60015b611394573d808015611368576040519150601f19603f3d011682016040523d82523d6000602084013e61136d565b606091505b50805161138c5760405162461bcd60e51b815260040161058190611c59565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610f3c565b506001949350505050565b6001600160e01b031981166301ffc9a760e01b14919050565b6001600160a01b0382166113f85760405162461bcd60e51b815260040161058190611f02565b61140181610e16565b1561141e5760405162461bcd60e51b815260040161058190611d1d565b61142a60008383611293565b6001600160a01b0382166000908152600360205260408120805460019290611453908490612189565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6114bc838383610639565b6001600160a01b0383166114d8576114d381611540565b6114fb565b816001600160a01b0316836001600160a01b0316146114fb576114fb8382611584565b6001600160a01b0382166115175761151281611621565b610639565b826001600160a01b0316826001600160a01b0316146106395761063982826116fa565b3b151590565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b60006001611591846109d6565b61159b91906121b5565b6000838152600760205260409020549091508082146115ee576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611633906001906121b5565b6000838152600960205260408120546008805493945090928490811061166957634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061169857634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806116de57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611705836109d6565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461174a906121f8565b90600052602060002090601f01602090048101928261176c57600085556117b2565b82601f1061178557805160ff19168380011785556117b2565b828001600101855582156117b2579182015b828111156117b2578251825591602001919060010190611797565b506117be9291506117c2565b5090565b5b808211156117be57600081556001016117c3565b60006117ea6117e584612161565b612137565b90508281528383830111156117fe57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146104c357600080fd5b60006020828403121561183d578081fd5b610cec82611815565b60008060408385031215611858578081fd5b61186183611815565b915061186f60208401611815565b90509250929050565b60008060006060848603121561188c578081fd5b61189584611815565b92506118a360208501611815565b9150604084013590509250925092565b600080600080608085870312156118c8578081fd5b6118d185611815565b93506118df60208601611815565b925060408501359150606085013567ffffffffffffffff811115611901578182fd5b8501601f81018713611911578182fd5b611920878235602084016117d7565b91505092959194509250565b6000806040838503121561193e578182fd5b61194783611815565b91506020830135801515811461195b578182fd5b809150509250929050565b60008060408385031215611978578182fd5b61198183611815565b946020939093013593505050565b6000602082840312156119a0578081fd5b8135610cec816122a4565b6000602082840312156119bc578081fd5b8151610cec816122a4565b6000602082840312156119d8578081fd5b813567ffffffffffffffff8111156119ee578182fd5b8201601f810184136119fe578182fd5b610f3c848235602084016117d7565b600060208284031215611a1e578081fd5b815167ffffffffffffffff811115611a34578182fd5b8201601f81018413611a44578182fd5b8051611a526117e582612161565b818152856020838501011115611a66578384fd5b611a778260208301602086016121cc565b95945050505050565b600060208284031215611a91578081fd5b5035919050565b600060208284031215611aa9578081fd5b5051919050565b60008151808452611ac88160208601602086016121cc565b601f01601f19169290920160200192915050565b60008351611aee8184602088016121cc565b835190830190611b028183602088016121cc565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b5290830184611ab0565b9695505050505050565b901515815260200190565b600060208252610cec6020830184611ab0565b6020808252601c908201527f4d696e7420776f756c6420657863656564206d617820737570706c7900000000604082015260600190565b60208082526014908201527353616c65206d757374206265206163746976652160601b604082015260600190565b602080825260159082015274139bdd08195b9bdd59da08115d1a195c881cd95b9d605a1b604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b602080825260129082015271131a5b5a5d080c481c195c881dd85b1b195d60721b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776040820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b90815260200190565b60405181810167ffffffffffffffff811182821017156121595761215961228e565b604052919050565b600067ffffffffffffffff82111561217b5761217b61228e565b50601f01601f191660200190565b6000821982111561219c5761219c612262565b500190565b6000826121b0576121b0612278565b500490565b6000828210156121c7576121c7612262565b500390565b60005b838110156121e75781810151838201526020016121cf565b83811115610bce5750506000910152565b60028104600182168061220c57607f821691505b6020821081141561222d57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561224757612247612262565b5060010190565b60008261225d5761225d612278565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461076d57600080fdfea26469706673582212202004274767a3938ac14da2446552dff7b3d5408ae6b2ca214827baf9fe14881564736f6c63430008000033
Deployed Bytecode
0x6080604052600436106101775760003560e01c80636352211e116100cc578063b88d4fde1161007a578063b88d4fde146103f6578063c87b56dd14610416578063daaeec8614610436578063e985e9c51461044b578063eb8d24441461046b578063f2fde38b14610480578063f51f96dd146104a057610177565b80636352211e1461033757806370a0823114610357578063715018a6146103775780638da5cb5b1461038c57806391b7f5ed146103a157806395d89b41146103c1578063a22cb465146103d657610177565b80632f745c59116101295780632f745c591461026d57806332cb6b0c1461028d5780633ccfd60b146102a257806342842e0e146102b75780634f6ccce7146102d757806350d6e550146102f757806355f804b31461031757610177565b806301ffc9a71461017c57806306fdde03146101b2578063081812fc146101d4578063095ea7b3146102015780631249c58b1461022357806318160ddd1461022b57806323b872dd1461024d575b600080fd5b34801561018857600080fd5b5061019c61019736600461198f565b6104b5565b6040516101a99190611b5c565b60405180910390f35b3480156101be57600080fd5b506101c76104c8565b6040516101a99190611b67565b3480156101e057600080fd5b506101f46101ef366004611a80565b61055a565b6040516101a99190611b0b565b34801561020d57600080fd5b5061022161021c366004611966565b6105a6565b005b61022161063e565b34801561023757600080fd5b50610240610770565b6040516101a9919061212e565b34801561025957600080fd5b50610221610268366004611878565b610776565b34801561027957600080fd5b50610240610288366004611966565b6107ae565b34801561029957600080fd5b50610240610800565b3480156102ae57600080fd5b50610221610806565b3480156102c357600080fd5b506102216102d2366004611878565b610878565b3480156102e357600080fd5b506102406102f2366004611a80565b610893565b34801561030357600080fd5b5061022161031236600461182c565b6108ee565b34801561032357600080fd5b506102216103323660046119c7565b61094f565b34801561034357600080fd5b506101f4610352366004611a80565b6109a1565b34801561036357600080fd5b5061024061037236600461182c565b6109d6565b34801561038357600080fd5b50610221610a1a565b34801561039857600080fd5b506101f4610a65565b3480156103ad57600080fd5b506102216103bc366004611a80565b610a74565b3480156103cd57600080fd5b506101c7610ab8565b3480156103e257600080fd5b506102216103f136600461192c565b610ac7565b34801561040257600080fd5b506102216104113660046118b3565b610b95565b34801561042257600080fd5b506101c7610431366004611a80565b610bd4565b34801561044257600080fd5b50610221610cf3565b34801561045757600080fd5b5061019c610466366004611846565b610d46565b34801561047757600080fd5b5061019c610d74565b34801561048c57600080fd5b5061022161049b36600461182c565b610d7d565b3480156104ac57600080fd5b50610240610deb565b60006104c082610df1565b90505b919050565b6060600080546104d7906121f8565b80601f0160208091040260200160405190810160405280929190818152602001828054610503906121f8565b80156105505780601f1061052557610100808354040283529160200191610550565b820191906000526020600020905b81548152906001019060200180831161053357829003601f168201915b5050505050905090565b600061056582610e16565b61058a5760405162461bcd60e51b815260040161058190611f37565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105b1826109a1565b9050806001600160a01b0316836001600160a01b031614156105e55760405162461bcd60e51b815260040161058190612050565b806001600160a01b03166105f7610e33565b6001600160a01b03161480610613575061061381610466610e33565b61062f5760405162461bcd60e51b815260040161058190611e17565b6106398383610e37565b505050565b600d5460ff166106605760405162461bcd60e51b815260040161058190611bb1565b600c5461066b610770565b610676906001612189565b11156106945760405162461bcd60e51b815260040161058190611b7a565b34600b5411156106b65760405162461bcd60e51b815260040161058190611bdf565b6040516370a0823160e01b815230906370a08231906106d9903390600401611b0b565b60206040518083038186803b1580156106f157600080fd5b505afa158015610705573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107299190611a98565b156107465760405162461bcd60e51b815260040161058190611cab565b6000610750610770565b9050600c5461075d610770565b101561076d5761076d3382610ea5565b50565b60085490565b610787610781610e33565b82610ebf565b6107a35760405162461bcd60e51b815260040161058190612091565b610639838383610f44565b60006107b9836109d6565b82106107d75760405162461bcd60e51b815260040161058190611c0e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c5481565b61080e610e33565b6001600160a01b031661081f610a65565b6001600160a01b0316146108455760405162461bcd60e51b815260040161058190611f83565b6040514790339082156108fc029083906000818181858888f19350505050158015610874573d6000803e3d6000fd5b5050565b61063983838360405180602001604052806000815250610b95565b600061089d610770565b82106108bb5760405162461bcd60e51b8152600401610581906120e2565b600882815481106108dc57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6108f6610e33565b6001600160a01b0316610907610a65565b6001600160a01b03161461092d5760405162461bcd60e51b815260040161058190611f83565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b610957610e33565b6001600160a01b0316610968610a65565b6001600160a01b03161461098e5760405162461bcd60e51b815260040161058190611f83565b805161087490600e90602084019061173e565b6000818152600260205260408120546001600160a01b0316806104c05760405162461bcd60e51b815260040161058190611eb9565b60006001600160a01b0382166109fe5760405162461bcd60e51b815260040161058190611e6f565b506001600160a01b031660009081526003602052604090205490565b610a22610e33565b6001600160a01b0316610a33610a65565b6001600160a01b031614610a595760405162461bcd60e51b815260040161058190611f83565b610a636000611071565b565b600a546001600160a01b031690565b610a7c610e33565b6001600160a01b0316610a8d610a65565b6001600160a01b031614610ab35760405162461bcd60e51b815260040161058190611f83565b600b55565b6060600180546104d7906121f8565b610acf610e33565b6001600160a01b0316826001600160a01b03161415610b005760405162461bcd60e51b815260040161058190611d98565b8060056000610b0d610e33565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610b51610e33565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610b899190611b5c565b60405180910390a35050565b610ba6610ba0610e33565b83610ebf565b610bc25760405162461bcd60e51b815260040161058190612091565b610bce848484846110c3565b50505050565b6060610bdf82610e16565b610bfb5760405162461bcd60e51b815260040161058190612001565b600f546001600160a01b031615610c9757600f5460405163c87b56dd60e01b81526001600160a01b039091169063c87b56dd90610c3c90859060040161212e565b60006040518083038186803b158015610c5457600080fd5b505afa158015610c68573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c909190810190611a0d565b90506104c3565b6000610ca16110f6565b90506000815111610cc15760405180602001604052806000815250610cec565b80610ccb84611105565b604051602001610cdc929190611adc565b6040516020818303038152906040525b9392505050565b610cfb610e33565b6001600160a01b0316610d0c610a65565b6001600160a01b031614610d325760405162461bcd60e51b815260040161058190611f83565b600d805460ff19811660ff90911615179055565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600d5460ff1681565b610d85610e33565b6001600160a01b0316610d96610a65565b6001600160a01b031614610dbc5760405162461bcd60e51b815260040161058190611f83565b6001600160a01b038116610de25760405162461bcd60e51b815260040161058190611cd7565b61076d81611071565b600b5481565b60006001600160e01b0319821663780e9d6360e01b14806104c057506104c082611220565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e6c826109a1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610874828260405180602001604052806000815250611260565b6000610eca82610e16565b610ee65760405162461bcd60e51b815260040161058190611dcb565b6000610ef1836109a1565b9050806001600160a01b0316846001600160a01b03161480610f2c5750836001600160a01b0316610f218461055a565b6001600160a01b0316145b80610f3c5750610f3c8185610d46565b949350505050565b826001600160a01b0316610f57826109a1565b6001600160a01b031614610f7d5760405162461bcd60e51b815260040161058190611fb8565b6001600160a01b038216610fa35760405162461bcd60e51b815260040161058190611d54565b610fae838383611293565b610fb9600082610e37565b6001600160a01b0383166000908152600360205260408120805460019290610fe29084906121b5565b90915550506001600160a01b0382166000908152600360205260408120805460019290611010908490612189565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6110ce848484610f44565b6110da8484848461129e565b610bce5760405162461bcd60e51b815260040161058190611c59565b6060600e80546104d7906121f8565b60608161112a57506040805180820190915260018152600360fc1b60208201526104c3565b8160005b8115611154578061113e81612233565b915061114d9050600a836121a1565b915061112e565b60008167ffffffffffffffff81111561117d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156111a7576020820181803683370190505b5090505b8415610f3c576111bc6001836121b5565b91506111c9600a8661224e565b6111d4906030612189565b60f81b8183815181106111f757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611219600a866121a1565b94506111ab565b60006001600160e01b031982166380ac58cd60e01b148061125157506001600160e01b03198216635b5e139f60e01b145b806104c057506104c0826113b9565b61126a83836113d2565b611277600084848461129e565b6106395760405162461bcd60e51b815260040161058190611c59565b6106398383836114b1565b60006112b2846001600160a01b031661153a565b156113ae57836001600160a01b031663150b7a026112ce610e33565b8786866040518563ffffffff1660e01b81526004016112f09493929190611b1f565b602060405180830381600087803b15801561130a57600080fd5b505af192505050801561133a575060408051601f3d908101601f19168201909252611337918101906119ab565b60015b611394573d808015611368576040519150601f19603f3d011682016040523d82523d6000602084013e61136d565b606091505b50805161138c5760405162461bcd60e51b815260040161058190611c59565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610f3c565b506001949350505050565b6001600160e01b031981166301ffc9a760e01b14919050565b6001600160a01b0382166113f85760405162461bcd60e51b815260040161058190611f02565b61140181610e16565b1561141e5760405162461bcd60e51b815260040161058190611d1d565b61142a60008383611293565b6001600160a01b0382166000908152600360205260408120805460019290611453908490612189565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6114bc838383610639565b6001600160a01b0383166114d8576114d381611540565b6114fb565b816001600160a01b0316836001600160a01b0316146114fb576114fb8382611584565b6001600160a01b0382166115175761151281611621565b610639565b826001600160a01b0316826001600160a01b0316146106395761063982826116fa565b3b151590565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b60006001611591846109d6565b61159b91906121b5565b6000838152600760205260409020549091508082146115ee576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611633906001906121b5565b6000838152600960205260408120546008805493945090928490811061166957634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061169857634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806116de57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611705836109d6565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461174a906121f8565b90600052602060002090601f01602090048101928261176c57600085556117b2565b82601f1061178557805160ff19168380011785556117b2565b828001600101855582156117b2579182015b828111156117b2578251825591602001919060010190611797565b506117be9291506117c2565b5090565b5b808211156117be57600081556001016117c3565b60006117ea6117e584612161565b612137565b90508281528383830111156117fe57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146104c357600080fd5b60006020828403121561183d578081fd5b610cec82611815565b60008060408385031215611858578081fd5b61186183611815565b915061186f60208401611815565b90509250929050565b60008060006060848603121561188c578081fd5b61189584611815565b92506118a360208501611815565b9150604084013590509250925092565b600080600080608085870312156118c8578081fd5b6118d185611815565b93506118df60208601611815565b925060408501359150606085013567ffffffffffffffff811115611901578182fd5b8501601f81018713611911578182fd5b611920878235602084016117d7565b91505092959194509250565b6000806040838503121561193e578182fd5b61194783611815565b91506020830135801515811461195b578182fd5b809150509250929050565b60008060408385031215611978578182fd5b61198183611815565b946020939093013593505050565b6000602082840312156119a0578081fd5b8135610cec816122a4565b6000602082840312156119bc578081fd5b8151610cec816122a4565b6000602082840312156119d8578081fd5b813567ffffffffffffffff8111156119ee578182fd5b8201601f810184136119fe578182fd5b610f3c848235602084016117d7565b600060208284031215611a1e578081fd5b815167ffffffffffffffff811115611a34578182fd5b8201601f81018413611a44578182fd5b8051611a526117e582612161565b818152856020838501011115611a66578384fd5b611a778260208301602086016121cc565b95945050505050565b600060208284031215611a91578081fd5b5035919050565b600060208284031215611aa9578081fd5b5051919050565b60008151808452611ac88160208601602086016121cc565b601f01601f19169290920160200192915050565b60008351611aee8184602088016121cc565b835190830190611b028183602088016121cc565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b5290830184611ab0565b9695505050505050565b901515815260200190565b600060208252610cec6020830184611ab0565b6020808252601c908201527f4d696e7420776f756c6420657863656564206d617820737570706c7900000000604082015260600190565b60208082526014908201527353616c65206d757374206265206163746976652160601b604082015260600190565b602080825260159082015274139bdd08195b9bdd59da08115d1a195c881cd95b9d605a1b604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b602080825260129082015271131a5b5a5d080c481c195c881dd85b1b195d60721b604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776040820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b90815260200190565b60405181810167ffffffffffffffff811182821017156121595761215961228e565b604052919050565b600067ffffffffffffffff82111561217b5761217b61228e565b50601f01601f191660200190565b6000821982111561219c5761219c612262565b500190565b6000826121b0576121b0612278565b500490565b6000828210156121c7576121c7612262565b500390565b60005b838110156121e75781810151838201526020016121cf565b83811115610bce5750506000910152565b60028104600182168061220c57607f821691505b6020821081141561222d57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561224757612247612262565b5060010190565b60008261225d5761225d612278565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461076d57600080fdfea26469706673582212202004274767a3938ac14da2446552dff7b3d5408ae6b2ca214827baf9fe14881564736f6c63430008000033
Deployed Bytecode Sourcemap
43800:2481:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44941:179;;;;;;;;;;-1:-1:-1;44941:179:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;23003:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;24562:221::-;;;;;;;;;;-1:-1:-1;24562:221:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;24085:411::-;;;;;;;;;;-1:-1:-1;24085:411:0;;;;;:::i;:::-;;:::i;:::-;;44284:460;;;:::i;36571:113::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25452:339::-;;;;;;;;;;-1:-1:-1;25452:339:0;;;;;:::i;:::-;;:::i;36239:256::-;;;;;;;;;;-1:-1:-1;36239:256:0;;;;;:::i;:::-;;:::i;43944:31::-;;;;;;;;;;;;;:::i;45128:140::-;;;;;;;;;;;;;:::i;25862:185::-;;;;;;;;;;-1:-1:-1;25862:185:0;;;;;:::i;:::-;;:::i;36761:233::-;;;;;;;;;;-1:-1:-1;36761:233:0;;;;;:::i;:::-;;:::i;46147:131::-;;;;;;;;;;-1:-1:-1;46147:131:0;;;;;:::i;:::-;;:::i;45317:112::-;;;;;;;;;;-1:-1:-1;45317:112:0;;;;;:::i;:::-;;:::i;22697:239::-;;;;;;;;;;-1:-1:-1;22697:239:0;;;;;:::i;:::-;;:::i;22427:208::-;;;;;;;;;;-1:-1:-1;22427:208:0;;;;;:::i;:::-;;:::i;2403:94::-;;;;;;;;;;;;;:::i;1752:87::-;;;;;;;;;;;;;:::i;44183:93::-;;;;;;;;;;-1:-1:-1;44183:93:0;;;;;:::i;:::-;;:::i;23172:104::-;;;;;;;;;;;;;:::i;24855:295::-;;;;;;;;;;-1:-1:-1;24855:295:0;;;;;:::i;:::-;;:::i;26118:328::-;;;;;;;;;;-1:-1:-1;26118:328:0;;;;;:::i;:::-;;:::i;45563:458::-;;;;;;;;;;-1:-1:-1;45563:458:0;;;;;:::i;:::-;;:::i;44084:91::-;;;;;;;;;;;;;:::i;25221:164::-;;;;;;;;;;-1:-1:-1;25221:164:0;;;;;:::i;:::-;;:::i;43982:32::-;;;;;;;;;;;;;:::i;2652:192::-;;;;;;;;;;-1:-1:-1;2652:192:0;;;;;:::i;:::-;;:::i;43900:37::-;;;;;;;;;;;;;:::i;44941:179::-;45052:4;45076:36;45100:11;45076:23;:36::i;:::-;45069:43;;44941:179;;;;:::o;23003:100::-;23057:13;23090:5;23083:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23003:100;:::o;24562:221::-;24638:7;24666:16;24674:7;24666;:16::i;:::-;24658:73;;;;-1:-1:-1;;;24658:73:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;24751:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;24751:24:0;;24562:221::o;24085:411::-;24166:13;24182:23;24197:7;24182:14;:23::i;:::-;24166:39;;24230:5;-1:-1:-1;;;;;24224:11:0;:2;-1:-1:-1;;;;;24224:11:0;;;24216:57;;;;-1:-1:-1;;;24216:57:0;;;;;;;:::i;:::-;24324:5;-1:-1:-1;;;;;24308:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;24308:21:0;;:62;;;;24333:37;24350:5;24357:12;:10;:12::i;24333:37::-;24286:168;;;;-1:-1:-1;;;24286:168:0;;;;;;;:::i;:::-;24467:21;24476:2;24480:7;24467:8;:21::i;:::-;24085:411;;;:::o;44284:460::-;44334:12;;;;44326:45;;;;-1:-1:-1;;;44326:45:0;;;;;;;:::i;:::-;44411:10;;44390:13;:11;:13::i;:::-;:17;;44406:1;44390:17;:::i;:::-;:31;;44382:72;;;;-1:-1:-1;;;44382:72:0;;;;;;;:::i;:::-;44486:9;44473;;:22;;44465:56;;;;-1:-1:-1;;;44465:56:0;;;;;;;:::i;:::-;44540:26;;-1:-1:-1;;;44540:26:0;;:4;;:14;;:26;;44555:10;;44540:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:31;44532:62;;;;-1:-1:-1;;;44532:62:0;;;;;;;:::i;:::-;44605:14;44622:13;:11;:13::i;:::-;44605:30;;44666:10;;44650:13;:11;:13::i;:::-;:26;44646:91;;;44693:32;44703:10;44715:9;44693;:32::i;:::-;44284:460;:::o;36571:113::-;36659:10;:17;36571:113;:::o;25452:339::-;25647:41;25666:12;:10;:12::i;:::-;25680:7;25647:18;:41::i;:::-;25639:103;;;;-1:-1:-1;;;25639:103:0;;;;;;;:::i;:::-;25755:28;25765:4;25771:2;25775:7;25755:9;:28::i;36239:256::-;36336:7;36372:23;36389:5;36372:16;:23::i;:::-;36364:5;:31;36356:87;;;;-1:-1:-1;;;36356:87:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;36461:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;36239:256::o;43944:31::-;;;;:::o;45128:140::-;1983:12;:10;:12::i;:::-;-1:-1:-1;;;;;1972:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1972:23:0;;1964:68;;;;-1:-1:-1;;;1964:68:0;;;;;;;:::i;:::-;45223:37:::1;::::0;45191:21:::1;::::0;45231:10:::1;::::0;45223:37;::::1;;;::::0;45191:21;;45176:12:::1;45223:37:::0;45176:12;45223:37;45191:21;45231:10;45223:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;2043:1;45128:140::o:0;25862:185::-;26000:39;26017:4;26023:2;26027:7;26000:39;;;;;;;;;;;;:16;:39::i;36761:233::-;36836:7;36872:30;:28;:30::i;:::-;36864:5;:38;36856:95;;;;-1:-1:-1;;;36856:95:0;;;;;;;:::i;:::-;36969:10;36980:5;36969:17;;;;;;-1:-1:-1;;;36969:17:0;;;;;;;;;;;;;;;;;36962:24;;36761:233;;;:::o;46147:131::-;1983:12;:10;:12::i;:::-;-1:-1:-1;;;;;1972:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1972:23:0;;1964:68;;;;-1:-1:-1;;;1964:68:0;;;;;;;:::i;:::-;46234:16:::1;:36:::0;;-1:-1:-1;;;;;;46234:36:0::1;-1:-1:-1::0;;;;;46234:36:0;;;::::1;::::0;;;::::1;::::0;;46147:131::o;45317:112::-;1983:12;:10;:12::i;:::-;-1:-1:-1;;;;;1972:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1972:23:0;;1964:68;;;;-1:-1:-1;;;1964:68:0;;;;;;;:::i;:::-;45393:28;;::::1;::::0;:17:::1;::::0;:28:::1;::::0;::::1;::::0;::::1;:::i;22697:239::-:0;22769:7;22805:16;;;:7;:16;;;;;;-1:-1:-1;;;;;22805:16:0;22840:19;22832:73;;;;-1:-1:-1;;;22832:73:0;;;;;;;:::i;22427:208::-;22499:7;-1:-1:-1;;;;;22527:19:0;;22519:74;;;;-1:-1:-1;;;22519:74:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;22611:16:0;;;;;:9;:16;;;;;;;22427:208::o;2403:94::-;1983:12;:10;:12::i;:::-;-1:-1:-1;;;;;1972:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1972:23:0;;1964:68;;;;-1:-1:-1;;;1964:68:0;;;;;;;:::i;:::-;2468:21:::1;2486:1;2468:9;:21::i;:::-;2403:94::o:0;1752:87::-;1825:6;;-1:-1:-1;;;;;1825:6:0;1752:87;:::o;44183:93::-;1983:12;:10;:12::i;:::-;-1:-1:-1;;;;;1972:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1972:23:0;;1964:68;;;;-1:-1:-1;;;1964:68:0;;;;;;;:::i;:::-;44246:9:::1;:22:::0;44183:93::o;23172:104::-;23228:13;23261:7;23254:14;;;;;:::i;24855:295::-;24970:12;:10;:12::i;:::-;-1:-1:-1;;;;;24958:24:0;:8;-1:-1:-1;;;;;24958:24:0;;;24950:62;;;;-1:-1:-1;;;24950:62:0;;;;;;;:::i;:::-;25070:8;25025:18;:32;25044:12;:10;:12::i;:::-;-1:-1:-1;;;;;25025:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;25025:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;25025:53:0;;;;;;;;;;;25109:12;:10;:12::i;:::-;-1:-1:-1;;;;;25094:48:0;;25133:8;25094:48;;;;;;:::i;:::-;;;;;;;;24855:295;;:::o;26118:328::-;26293:41;26312:12;:10;:12::i;:::-;26326:7;26293:18;:41::i;:::-;26285:103;;;;-1:-1:-1;;;26285:103:0;;;;;;;:::i;:::-;26399:39;26413:4;26419:2;26423:7;26432:5;26399:13;:39::i;:::-;26118:328;;;;:::o;45563:458::-;45636:13;45670:16;45678:7;45670;:16::i;:::-;45662:76;;;;-1:-1:-1;;;45662:76:0;;;;;;;:::i;:::-;45755:16;;-1:-1:-1;;;;;45755:16:0;:30;45751:112;;45816:16;;45809:42;;-1:-1:-1;;;45809:42:0;;-1:-1:-1;;;;;45816:16:0;;;;45809:33;;:42;;45843:7;;45809:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;45809:42:0;;;;;;;;;;;;:::i;:::-;45802:49;;;;45751:112;45875:21;45899:10;:8;:10::i;:::-;45875:34;;45951:1;45933:7;45927:21;:25;:86;;;;;;;;;;;;;;;;;45979:7;45988:18;:7;:16;:18::i;:::-;45962:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;45927:86;45920:93;45563:458;-1:-1:-1;;;45563:458:0:o;44084:91::-;1983:12;:10;:12::i;:::-;-1:-1:-1;;;;;1972:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1972:23:0;;1964:68;;;;-1:-1:-1;;;1964:68:0;;;;;;;:::i;:::-;44155:12:::1;::::0;;-1:-1:-1;;44139:28:0;::::1;44155:12;::::0;;::::1;44154:13;44139:28;::::0;;44084:91::o;25221:164::-;-1:-1:-1;;;;;25342:25:0;;;25318:4;25342:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;25221:164::o;43982:32::-;;;;;;:::o;2652:192::-;1983:12;:10;:12::i;:::-;-1:-1:-1;;;;;1972:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1972:23:0;;1964:68;;;;-1:-1:-1;;;1964:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2741:22:0;::::1;2733:73;;;;-1:-1:-1::0;;;2733:73:0::1;;;;;;;:::i;:::-;2817:19;2827:8;2817:9;:19::i;43900:37::-:0;;;;:::o;35931:224::-;36033:4;-1:-1:-1;;;;;;36057:50:0;;-1:-1:-1;;;36057:50:0;;:90;;;36111:36;36135:11;36111:23;:36::i;27956:127::-;28021:4;28045:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28045:16:0;:30;;;27956:127::o;601:98::-;681:10;601:98;:::o;31938:174::-;32013:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;32013:29:0;-1:-1:-1;;;;;32013:29:0;;;;;;;;:24;;32067:23;32013:24;32067:14;:23::i;:::-;-1:-1:-1;;;;;32058:46:0;;;;;;;;;;;31938:174;;:::o;28940:110::-;29016:26;29026:2;29030:7;29016:26;;;;;;;;;;;;:9;:26::i;28250:348::-;28343:4;28368:16;28376:7;28368;:16::i;:::-;28360:73;;;;-1:-1:-1;;;28360:73:0;;;;;;;:::i;:::-;28444:13;28460:23;28475:7;28460:14;:23::i;:::-;28444:39;;28513:5;-1:-1:-1;;;;;28502:16:0;:7;-1:-1:-1;;;;;28502:16:0;;:51;;;;28546:7;-1:-1:-1;;;;;28522:31:0;:20;28534:7;28522:11;:20::i;:::-;-1:-1:-1;;;;;28522:31:0;;28502:51;:87;;;;28557:32;28574:5;28581:7;28557:16;:32::i;:::-;28494:96;28250:348;-1:-1:-1;;;;28250:348:0:o;31242:578::-;31401:4;-1:-1:-1;;;;;31374:31:0;:23;31389:7;31374:14;:23::i;:::-;-1:-1:-1;;;;;31374:31:0;;31366:85;;;;-1:-1:-1;;;31366:85:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;31470:16:0;;31462:65;;;;-1:-1:-1;;;31462:65:0;;;;;;;:::i;:::-;31540:39;31561:4;31567:2;31571:7;31540:20;:39::i;:::-;31644:29;31661:1;31665:7;31644:8;:29::i;:::-;-1:-1:-1;;;;;31686:15:0;;;;;;:9;:15;;;;;:20;;31705:1;;31686:15;:20;;31705:1;;31686:20;:::i;:::-;;;;-1:-1:-1;;;;;;;31717:13:0;;;;;;:9;:13;;;;;:18;;31734:1;;31717:13;:18;;31734:1;;31717:18;:::i;:::-;;;;-1:-1:-1;;31746:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;31746:21:0;-1:-1:-1;;;;;31746:21:0;;;;;;;;;31785:27;;31746:16;;31785:27;;;;;;;31242:578;;;:::o;2852:173::-;2927:6;;;-1:-1:-1;;;;;2944:17:0;;;-1:-1:-1;;;;;;2944:17:0;;;;;;;2977:40;;2927:6;;;2944:17;2927:6;;2977:40;;2908:16;;2977:40;2852:173;;:::o;27328:315::-;27485:28;27495:4;27501:2;27505:7;27485:9;:28::i;:::-;27532:48;27555:4;27561:2;27565:7;27574:5;27532:22;:48::i;:::-;27524:111;;;;-1:-1:-1;;;27524:111:0;;;;;;;:::i;45437:118::-;45497:13;45530:17;45523:24;;;;;:::i;18156:723::-;18212:13;18433:10;18429:53;;-1:-1:-1;18460:10:0;;;;;;;;;;;;-1:-1:-1;;;18460:10:0;;;;;;18429:53;18507:5;18492:12;18548:78;18555:9;;18548:78;;18581:8;;;;:::i;:::-;;-1:-1:-1;18604:10:0;;-1:-1:-1;18612:2:0;18604:10;;:::i;:::-;;;18548:78;;;18636:19;18668:6;18658:17;;;;;;-1:-1:-1;;;18658:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18658:17:0;;18636:39;;18686:154;18693:10;;18686:154;;18720:11;18730:1;18720:11;;:::i;:::-;;-1:-1:-1;18789:10:0;18797:2;18789:5;:10;:::i;:::-;18776:24;;:2;:24;:::i;:::-;18763:39;;18746:6;18753;18746:14;;;;;;-1:-1:-1;;;18746:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;18746:56:0;;;;;;;;-1:-1:-1;18817:11:0;18826:2;18817:11;;:::i;:::-;;;18686:154;;22058:305;22160:4;-1:-1:-1;;;;;;22197:40:0;;-1:-1:-1;;;22197:40:0;;:105;;-1:-1:-1;;;;;;;22254:48:0;;-1:-1:-1;;;22254:48:0;22197:105;:158;;;;22319:36;22343:11;22319:23;:36::i;29277:321::-;29407:18;29413:2;29417:7;29407:5;:18::i;:::-;29458:54;29489:1;29493:2;29497:7;29506:5;29458:22;:54::i;:::-;29436:154;;;;-1:-1:-1;;;29436:154:0;;;;;;;:::i;44752:181::-;44880:45;44907:4;44913:2;44917:7;44880:26;:45::i;32677:803::-;32832:4;32853:15;:2;-1:-1:-1;;;;;32853:13:0;;:15::i;:::-;32849:624;;;32905:2;-1:-1:-1;;;;;32889:36:0;;32926:12;:10;:12::i;:::-;32940:4;32946:7;32955:5;32889:72;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32889:72:0;;;;;;;;-1:-1:-1;;32889:72:0;;;;;;;;;;;;:::i;:::-;;;32885:533;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33135:13:0;;33131:272;;33178:60;;-1:-1:-1;;;33178:60:0;;;;;;;:::i;33131:272::-;33353:6;33347:13;33338:6;33334:2;33330:15;33323:38;32885:533;-1:-1:-1;;;;;;33012:55:0;-1:-1:-1;;;33012:55:0;;-1:-1:-1;33005:62:0;;32849:624;-1:-1:-1;33457:4:0;32677:803;;;;;;:::o;20640:157::-;-1:-1:-1;;;;;;20749:40:0;;-1:-1:-1;;;20749:40:0;20640:157;;;:::o;29934:382::-;-1:-1:-1;;;;;30014:16:0;;30006:61;;;;-1:-1:-1;;;30006:61:0;;;;;;;:::i;:::-;30087:16;30095:7;30087;:16::i;:::-;30086:17;30078:58;;;;-1:-1:-1;;;30078:58:0;;;;;;;:::i;:::-;30149:45;30178:1;30182:2;30186:7;30149:20;:45::i;:::-;-1:-1:-1;;;;;30207:13:0;;;;;;:9;:13;;;;;:18;;30224:1;;30207:13;:18;;30224:1;;30207:18;:::i;:::-;;;;-1:-1:-1;;30236:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30236:21:0;-1:-1:-1;;;;;30236:21:0;;;;;;;;30275:33;;30236:16;;;30275:33;;30236:16;;30275:33;29934:382;;:::o;37607:589::-;37751:45;37778:4;37784:2;37788:7;37751:26;:45::i;:::-;-1:-1:-1;;;;;37813:18:0;;37809:187;;37848:40;37880:7;37848:31;:40::i;:::-;37809:187;;;37918:2;-1:-1:-1;;;;;37910:10:0;:4;-1:-1:-1;;;;;37910:10:0;;37906:90;;37937:47;37970:4;37976:7;37937:32;:47::i;:::-;-1:-1:-1;;;;;38010:16:0;;38006:183;;38043:45;38080:7;38043:36;:45::i;:::-;38006:183;;;38116:4;-1:-1:-1;;;;;38110:10:0;:2;-1:-1:-1;;;;;38110:10:0;;38106:83;;38137:40;38165:2;38169:7;38137:27;:40::i;10789:387::-;11112:20;11160:8;;;10789:387::o;38919:164::-;39023:10;:17;;38996:24;;;;:15;:24;;;;;:44;;;39051:24;;;;;;;;;;;;38919:164::o;39710:988::-;39976:22;40026:1;40001:22;40018:4;40001:16;:22::i;:::-;:26;;;;:::i;:::-;40038:18;40059:26;;;:17;:26;;;;;;39976:51;;-1:-1:-1;40192:28:0;;;40188:328;;-1:-1:-1;;;;;40259:18:0;;40237:19;40259:18;;;:12;:18;;;;;;;;:34;;;;;;;;;40310:30;;;;;;:44;;;40427:30;;:17;:30;;;;;:43;;;40188:328;-1:-1:-1;40612:26:0;;;;:17;:26;;;;;;;;40605:33;;;-1:-1:-1;;;;;40656:18:0;;;;;:12;:18;;;;;:34;;;;;;;40649:41;39710:988::o;40993:1079::-;41271:10;:17;41246:22;;41271:21;;41291:1;;41271:21;:::i;:::-;41303:18;41324:24;;;:15;:24;;;;;;41697:10;:26;;41246:46;;-1:-1:-1;41324:24:0;;41246:46;;41697:26;;;;-1:-1:-1;;;41697:26:0;;;;;;;;;;;;;;;;;41675:48;;41761:11;41736:10;41747;41736:22;;;;;;-1:-1:-1;;;41736:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;41841:28;;;:15;:28;;;;;;;:41;;;42013:24;;;;;42006:31;42048:10;:16;;;;;-1:-1:-1;;;42048:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;40993:1079;;;;:::o;38497:221::-;38582:14;38599:20;38616:2;38599:16;:20::i;:::-;-1:-1:-1;;;;;38630:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;38675:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;38497:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:339:1;;109:53;124:37;154:6;124:37;:::i;:::-;109:53;:::i;:::-;100:62;;185:6;178:5;171:21;225:3;216:6;211:3;207:16;204:25;201:2;;;242:1;239;232:12;201:2;291:6;286:3;279:4;272:5;268:16;255:43;345:1;338:4;329:6;322:5;318:18;314:29;307:40;90:263;;;;;:::o;358:175::-;428:20;;-1:-1:-1;;;;;477:31:1;;467:42;;457:2;;523:1;520;513:12;538:198;;650:2;638:9;629:7;625:23;621:32;618:2;;;671:6;663;656:22;618:2;699:31;720:9;699:31;:::i;741:274::-;;;870:2;858:9;849:7;845:23;841:32;838:2;;;891:6;883;876:22;838:2;919:31;940:9;919:31;:::i;:::-;909:41;;969:40;1005:2;994:9;990:18;969:40;:::i;:::-;959:50;;828:187;;;;;:::o;1020:342::-;;;;1166:2;1154:9;1145:7;1141:23;1137:32;1134:2;;;1187:6;1179;1172:22;1134:2;1215:31;1236:9;1215:31;:::i;:::-;1205:41;;1265:40;1301:2;1290:9;1286:18;1265:40;:::i;:::-;1255:50;;1352:2;1341:9;1337:18;1324:32;1314:42;;1124:238;;;;;:::o;1367:702::-;;;;;1539:3;1527:9;1518:7;1514:23;1510:33;1507:2;;;1561:6;1553;1546:22;1507:2;1589:31;1610:9;1589:31;:::i;:::-;1579:41;;1639:40;1675:2;1664:9;1660:18;1639:40;:::i;:::-;1629:50;;1726:2;1715:9;1711:18;1698:32;1688:42;;1781:2;1770:9;1766:18;1753:32;1808:18;1800:6;1797:30;1794:2;;;1845:6;1837;1830:22;1794:2;1873:22;;1926:4;1918:13;;1914:27;-1:-1:-1;1904:2:1;;1960:6;1952;1945:22;1904:2;1988:75;2055:7;2050:2;2037:16;2032:2;2028;2024:11;1988:75;:::i;:::-;1978:85;;;1497:572;;;;;;;:::o;2074:369::-;;;2200:2;2188:9;2179:7;2175:23;2171:32;2168:2;;;2221:6;2213;2206:22;2168:2;2249:31;2270:9;2249:31;:::i;:::-;2239:41;;2330:2;2319:9;2315:18;2302:32;2377:5;2370:13;2363:21;2356:5;2353:32;2343:2;;2404:6;2396;2389:22;2343:2;2432:5;2422:15;;;2158:285;;;;;:::o;2448:266::-;;;2577:2;2565:9;2556:7;2552:23;2548:32;2545:2;;;2598:6;2590;2583:22;2545:2;2626:31;2647:9;2626:31;:::i;:::-;2616:41;2704:2;2689:18;;;;2676:32;;-1:-1:-1;;;2535:179:1:o;2719:257::-;;2830:2;2818:9;2809:7;2805:23;2801:32;2798:2;;;2851:6;2843;2836:22;2798:2;2895:9;2882:23;2914:32;2940:5;2914:32;:::i;2981:261::-;;3103:2;3091:9;3082:7;3078:23;3074:32;3071:2;;;3124:6;3116;3109:22;3071:2;3161:9;3155:16;3180:32;3206:5;3180:32;:::i;3247:482::-;;3369:2;3357:9;3348:7;3344:23;3340:32;3337:2;;;3390:6;3382;3375:22;3337:2;3435:9;3422:23;3468:18;3460:6;3457:30;3454:2;;;3505:6;3497;3490:22;3454:2;3533:22;;3586:4;3578:13;;3574:27;-1:-1:-1;3564:2:1;;3620:6;3612;3605:22;3564:2;3648:75;3715:7;3710:2;3697:16;3692:2;3688;3684:11;3648:75;:::i;3734:676::-;;3867:2;3855:9;3846:7;3842:23;3838:32;3835:2;;;3888:6;3880;3873:22;3835:2;3926:9;3920:16;3959:18;3951:6;3948:30;3945:2;;;3996:6;3988;3981:22;3945:2;4024:22;;4077:4;4069:13;;4065:27;-1:-1:-1;4055:2:1;;4111:6;4103;4096:22;4055:2;4145;4139:9;4170:49;4185:33;4215:2;4185:33;:::i;4170:49::-;4242:2;4235:5;4228:17;4282:7;4277:2;4272;4268;4264:11;4260:20;4257:33;4254:2;;;4308:6;4300;4293:22;4254:2;4326:54;4377:2;4372;4365:5;4361:14;4356:2;4352;4348:11;4326:54;:::i;:::-;4399:5;3825:585;-1:-1:-1;;;;;3825:585:1:o;4415:190::-;;4527:2;4515:9;4506:7;4502:23;4498:32;4495:2;;;4548:6;4540;4533:22;4495:2;-1:-1:-1;4576:23:1;;4485:120;-1:-1:-1;4485:120:1:o;4610:194::-;;4733:2;4721:9;4712:7;4708:23;4704:32;4701:2;;;4754:6;4746;4739:22;4701:2;-1:-1:-1;4782:16:1;;4691:113;-1:-1:-1;4691:113:1:o;4809:259::-;;4890:5;4884:12;4917:6;4912:3;4905:19;4933:63;4989:6;4982:4;4977:3;4973:14;4966:4;4959:5;4955:16;4933:63;:::i;:::-;5050:2;5029:15;-1:-1:-1;;5025:29:1;5016:39;;;;5057:4;5012:50;;4860:208;-1:-1:-1;;4860:208:1:o;5073:470::-;;5290:6;5284:13;5306:53;5352:6;5347:3;5340:4;5332:6;5328:17;5306:53;:::i;:::-;5422:13;;5381:16;;;;5444:57;5422:13;5381:16;5478:4;5466:17;;5444:57;:::i;:::-;5517:20;;5260:283;-1:-1:-1;;;;5260:283:1:o;5548:203::-;-1:-1:-1;;;;;5712:32:1;;;;5694:51;;5682:2;5667:18;;5649:102::o;5756:490::-;-1:-1:-1;;;;;6025:15:1;;;6007:34;;6077:15;;6072:2;6057:18;;6050:43;6124:2;6109:18;;6102:34;;;6172:3;6167:2;6152:18;;6145:31;;;5756:490;;6193:47;;6220:19;;6212:6;6193:47;:::i;:::-;6185:55;5959:287;-1:-1:-1;;;;;;5959:287:1:o;6251:187::-;6416:14;;6409:22;6391:41;;6379:2;6364:18;;6346:92::o;6443:221::-;;6592:2;6581:9;6574:21;6612:46;6654:2;6643:9;6639:18;6631:6;6612:46;:::i;6669:352::-;6871:2;6853:21;;;6910:2;6890:18;;;6883:30;6949;6944:2;6929:18;;6922:58;7012:2;6997:18;;6843:178::o;7026:344::-;7228:2;7210:21;;;7267:2;7247:18;;;7240:30;-1:-1:-1;;;7301:2:1;7286:18;;7279:50;7361:2;7346:18;;7200:170::o;7375:345::-;7577:2;7559:21;;;7616:2;7596:18;;;7589:30;-1:-1:-1;;;7650:2:1;7635:18;;7628:51;7711:2;7696:18;;7549:171::o;7725:407::-;7927:2;7909:21;;;7966:2;7946:18;;;7939:30;8005:34;8000:2;7985:18;;7978:62;-1:-1:-1;;;8071:2:1;8056:18;;8049:41;8122:3;8107:19;;7899:233::o;8137:414::-;8339:2;8321:21;;;8378:2;8358:18;;;8351:30;8417:34;8412:2;8397:18;;8390:62;-1:-1:-1;;;8483:2:1;8468:18;;8461:48;8541:3;8526:19;;8311:240::o;8556:342::-;8758:2;8740:21;;;8797:2;8777:18;;;8770:30;-1:-1:-1;;;8831:2:1;8816:18;;8809:48;8889:2;8874:18;;8730:168::o;8903:402::-;9105:2;9087:21;;;9144:2;9124:18;;;9117:30;9183:34;9178:2;9163:18;;9156:62;-1:-1:-1;;;9249:2:1;9234:18;;9227:36;9295:3;9280:19;;9077:228::o;9310:352::-;9512:2;9494:21;;;9551:2;9531:18;;;9524:30;9590;9585:2;9570:18;;9563:58;9653:2;9638:18;;9484:178::o;9667:400::-;9869:2;9851:21;;;9908:2;9888:18;;;9881:30;9947:34;9942:2;9927:18;;9920:62;-1:-1:-1;;;10013:2:1;9998:18;;9991:34;10057:3;10042:19;;9841:226::o;10072:349::-;10274:2;10256:21;;;10313:2;10293:18;;;10286:30;-1:-1:-1;;;10347:2:1;10332:18;;10325:55;10412:2;10397:18;;10246:175::o;10426:408::-;10628:2;10610:21;;;10667:2;10647:18;;;10640:30;10706:34;10701:2;10686:18;;10679:62;-1:-1:-1;;;10772:2:1;10757:18;;10750:42;10824:3;10809:19;;10600:234::o;10839:420::-;11041:2;11023:21;;;11080:2;11060:18;;;11053:30;11119:34;11114:2;11099:18;;11092:62;-1:-1:-1;;;11185:2:1;11170:18;;11163:54;11249:3;11234:19;;11013:246::o;11264:406::-;11466:2;11448:21;;;11505:2;11485:18;;;11478:30;11544:34;11539:2;11524:18;;11517:62;-1:-1:-1;;;11610:2:1;11595:18;;11588:40;11660:3;11645:19;;11438:232::o;11675:405::-;11877:2;11859:21;;;11916:2;11896:18;;;11889:30;11955:34;11950:2;11935:18;;11928:62;-1:-1:-1;;;12021:2:1;12006:18;;11999:39;12070:3;12055:19;;11849:231::o;12085:356::-;12287:2;12269:21;;;12306:18;;;12299:30;12365:34;12360:2;12345:18;;12338:62;12432:2;12417:18;;12259:182::o;12446:408::-;12648:2;12630:21;;;12687:2;12667:18;;;12660:30;12726:34;12721:2;12706:18;;12699:62;-1:-1:-1;;;12792:2:1;12777:18;;12770:42;12844:3;12829:19;;12620:234::o;12859:356::-;13061:2;13043:21;;;13080:18;;;13073:30;13139:34;13134:2;13119:18;;13112:62;13206:2;13191:18;;13033:182::o;13220:405::-;13422:2;13404:21;;;13461:2;13441:18;;;13434:30;13500:34;13495:2;13480:18;;13473:62;-1:-1:-1;;;13566:2:1;13551:18;;13544:39;13615:3;13600:19;;13394:231::o;13630:411::-;13832:2;13814:21;;;13871:2;13851:18;;;13844:30;13910:34;13905:2;13890:18;;13883:62;-1:-1:-1;;;13976:2:1;13961:18;;13954:45;14031:3;14016:19;;13804:237::o;14046:397::-;14248:2;14230:21;;;14287:2;14267:18;;;14260:30;14326:34;14321:2;14306:18;;14299:62;-1:-1:-1;;;14392:2:1;14377:18;;14370:31;14433:3;14418:19;;14220:223::o;14448:413::-;14650:2;14632:21;;;14689:2;14669:18;;;14662:30;14728:34;14723:2;14708:18;;14701:62;-1:-1:-1;;;14794:2:1;14779:18;;14772:47;14851:3;14836:19;;14622:239::o;14866:408::-;15068:2;15050:21;;;15107:2;15087:18;;;15080:30;15146:34;15141:2;15126:18;;15119:62;-1:-1:-1;;;15212:2:1;15197:18;;15190:42;15264:3;15249:19;;15040:234::o;15279:177::-;15425:25;;;15413:2;15398:18;;15380:76::o;15461:251::-;15531:2;15525:9;15561:17;;;15608:18;15593:34;;15629:22;;;15590:62;15587:2;;;15655:18;;:::i;:::-;15691:2;15684:22;15505:207;;-1:-1:-1;15505:207:1:o;15717:190::-;;15800:18;15792:6;15789:30;15786:2;;;15822:18;;:::i;:::-;-1:-1:-1;15890:2:1;15867:17;-1:-1:-1;;15863:31:1;15896:4;15859:42;;15776:131::o;15912:128::-;;15983:1;15979:6;15976:1;15973:13;15970:2;;;15989:18;;:::i;:::-;-1:-1:-1;16025:9:1;;15960:80::o;16045:120::-;;16111:1;16101:2;;16116:18;;:::i;:::-;-1:-1:-1;16150:9:1;;16091:74::o;16170:125::-;;16238:1;16235;16232:8;16229:2;;;16243:18;;:::i;:::-;-1:-1:-1;16280:9:1;;16219:76::o;16300:258::-;16372:1;16382:113;16396:6;16393:1;16390:13;16382:113;;;16472:11;;;16466:18;16453:11;;;16446:39;16418:2;16411:10;16382:113;;;16513:6;16510:1;16507:13;16504:2;;;-1:-1:-1;;16548:1:1;16530:16;;16523:27;16353:205::o;16563:380::-;16648:1;16638:12;;16695:1;16685:12;;;16706:2;;16760:4;16752:6;16748:17;16738:27;;16706:2;16813;16805:6;16802:14;16782:18;16779:38;16776:2;;;16859:10;16854:3;16850:20;16847:1;16840:31;16894:4;16891:1;16884:15;16922:4;16919:1;16912:15;16776:2;;16618:325;;;:::o;16948:135::-;;-1:-1:-1;;17008:17:1;;17005:2;;;17028:18;;:::i;:::-;-1:-1:-1;17075:1:1;17064:13;;16995:88::o;17088:112::-;;17146:1;17136:2;;17151:18;;:::i;:::-;-1:-1:-1;17185:9:1;;17126:74::o;17205:127::-;17266:10;17261:3;17257:20;17254:1;17247:31;17297:4;17294:1;17287:15;17321:4;17318:1;17311:15;17337:127;17398:10;17393:3;17389:20;17386:1;17379:31;17429:4;17426:1;17419:15;17453:4;17450:1;17443:15;17469:127;17530:10;17525:3;17521:20;17518:1;17511:31;17561:4;17558:1;17551:15;17585:4;17582:1;17575:15;17601:133;-1:-1:-1;;;;;;17677:32:1;;17667:43;;17657:2;;17724:1;17721;17714:12
Swarm Source
ipfs://2004274767a3938ac14da2446552dff7b3d5408ae6b2ca214827baf9fe148815
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.