Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
215 BATS
Holders
102
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 BATSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BoredApeTattooShop
Compiler Version
v0.8.10+commit.fc410830
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-11-18 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/introspection/IERC165.sol pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/Context.sol pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol 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; } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol 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; } } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol 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); } // File: @openzeppelin/contracts/access/Ownable.sol 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); } } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol 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); } // File: @openzeppelin/contracts/utils/Address.sol 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); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/utils/Strings.sol pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol 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.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol 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(); } } // File: contracts/BoredApeTattooShop.sol pragma solidity ^0.8.10; contract BoredApeTattooShop is ERC721, ERC721Enumerable, Ownable { uint256 public constant MAX_SUPPLY = 2099; uint256 public constant AVAILABLE_FOR_PUBLIC = 1999; uint256 public constant PRICE = 0.04 ether; uint256 public constant MAX_PER_TXN = 20; uint256 private tokenCounter; bool public saleActive; string private URI = "https://boredapetattooshop.mypinata.cloud/ipfs/Qmbn7GtiKJvRyrRdwwFSkQ3J1frgZtJkQAAaa2hDV5ux1A/"; constructor() ERC721("Bored Ape Tattoo Shop", "BATS") {} function _baseURI() internal view override returns (string memory) { return URI; } function setURI(string memory _URI) external onlyOwner { URI = _URI; } function flipSale() external onlyOwner { saleActive = !saleActive; } function mint(address to, uint256 amount) external payable { require(saleActive, "Sale inactive"); require(amount <= MAX_PER_TXN, "Exceeds max. per txn."); require(amount + tokenCounter <= AVAILABLE_FOR_PUBLIC, "Supply limit"); require(msg.value >= amount * PRICE, "Incorrect ETH"); uint256 _tokenCounter = tokenCounter; for (uint256 i = 0; i < amount; i++) { _safeMint(to, _tokenCounter); _tokenCounter++; } tokenCounter = _tokenCounter; } function withdrawAll() external onlyOwner { payable(owner()).transfer(address(this).balance); } function forge(address to, uint256 amount) external onlyOwner { require(amount <= MAX_PER_TXN, "Exceeds max. per txn."); require(amount + tokenCounter <= MAX_SUPPLY, "Supply limit!"); uint256 _tokenCounter = tokenCounter; for (uint256 i = 0; i < amount; i++) { _safeMint(to, _tokenCounter); _tokenCounter++; } tokenCounter = _tokenCounter; } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
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":"AVAILABLE_FOR_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TXN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"forge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_URI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610100604052605e608081815290620022a960a03980516200002a91600d9160209091019062000129565b503480156200003857600080fd5b50604080518082018252601581527f426f7265642041706520546174746f6f2053686f7000000000000000000000006020808301918252835180850190945260048452634241545360e01b9084015281519192916200009a9160009162000129565b508051620000b090600190602084019062000129565b505050620000cd620000c7620000d360201b60201c565b620000d7565b6200020c565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200013790620001cf565b90600052602060002090601f0160209004810192826200015b5760008555620001a6565b82601f106200017657805160ff1916838001178555620001a6565b82800160010185558215620001a6579182015b82811115620001a657825182559160200191906001019062000189565b50620001b4929150620001b8565b5090565b5b80821115620001b45760008155600101620001b9565b600181811c90821680620001e457607f821691505b602082108114156200020657634e487b7160e01b600052602260045260246000fd5b50919050565b61208d806200021c6000396000f3fe6080604052600436106101c25760003560e01c80636352211e116100f75780638d859f3e11610095578063b88d4fde11610064578063b88d4fde146104b2578063c87b56dd146104d2578063e985e9c5146104f2578063f2fde38b1461053b57600080fd5b80638d859f3e146104445780638da5cb5b1461045f57806395d89b411461047d578063a22cb4651461049257600080fd5b806370a08231116100d157806370a08231146103e5578063715018a6146104055780637ba5e6211461041a578063853828b61461042f57600080fd5b80636352211e1461038b578063641cc9d4146103ab57806368428a1b146103cb57600080fd5b80632f745c591161016457806340c10f191161013e57806340c10f191461032357806342842e0e146103365780634f6ccce71461035657806351b96d921461037657600080fd5b80632f745c59146102d757806332cb6b0c146102f7578063355260431461030d57600080fd5b8063081812fc116101a0578063081812fc14610240578063095ea7b31461027857806318160ddd1461029857806323b872dd146102b757600080fd5b806301ffc9a7146101c757806302fe5305146101fc57806306fdde031461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611ad4565b61055b565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b5061021c610217366004611b7d565b61056c565b005b34801561022a57600080fd5b506102336105b6565b6040516101f39190611c1e565b34801561024c57600080fd5b5061026061025b366004611c31565b610648565b6040516001600160a01b0390911681526020016101f3565b34801561028457600080fd5b5061021c610293366004611c66565b6106dd565b3480156102a457600080fd5b506008545b6040519081526020016101f3565b3480156102c357600080fd5b5061021c6102d2366004611c90565b6107f3565b3480156102e357600080fd5b506102a96102f2366004611c66565b610824565b34801561030357600080fd5b506102a961083381565b34801561031957600080fd5b506102a96107cf81565b61021c610331366004611c66565b6108ba565b34801561034257600080fd5b5061021c610351366004611c90565b610a23565b34801561036257600080fd5b506102a9610371366004611c31565b610a3e565b34801561038257600080fd5b506102a9601481565b34801561039757600080fd5b506102606103a6366004611c31565b610ad1565b3480156103b757600080fd5b5061021c6103c6366004611c66565b610b48565b3480156103d757600080fd5b50600c546101e79060ff1681565b3480156103f157600080fd5b506102a9610400366004611ccc565b610c42565b34801561041157600080fd5b5061021c610cc9565b34801561042657600080fd5b5061021c610cff565b34801561043b57600080fd5b5061021c610d3d565b34801561045057600080fd5b506102a9668e1bc9bf04000081565b34801561046b57600080fd5b50600a546001600160a01b0316610260565b34801561048957600080fd5b50610233610da3565b34801561049e57600080fd5b5061021c6104ad366004611ce7565b610db2565b3480156104be57600080fd5b5061021c6104cd366004611d23565b610e77565b3480156104de57600080fd5b506102336104ed366004611c31565b610eaf565b3480156104fe57600080fd5b506101e761050d366004611d9f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561054757600080fd5b5061021c610556366004611ccc565b610f8a565b600061056682611022565b92915050565b600a546001600160a01b0316331461059f5760405162461bcd60e51b815260040161059690611dd2565b60405180910390fd5b80516105b290600d906020840190611a25565b5050565b6060600080546105c590611e07565b80601f01602080910402602001604051908101604052809291908181526020018280546105f190611e07565b801561063e5780601f106106135761010080835404028352916020019161063e565b820191906000526020600020905b81548152906001019060200180831161062157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106c15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610596565b506000908152600460205260409020546001600160a01b031690565b60006106e882610ad1565b9050806001600160a01b0316836001600160a01b031614156107565760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610596565b336001600160a01b03821614806107725750610772813361050d565b6107e45760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610596565b6107ee8383611047565b505050565b6107fd33826110b5565b6108195760405162461bcd60e51b815260040161059690611e42565b6107ee8383836111ac565b600061082f83610c42565b82106108915760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610596565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c5460ff166108fc5760405162461bcd60e51b815260206004820152600d60248201526c53616c6520696e61637469766560981b6044820152606401610596565b60148111156109455760405162461bcd60e51b815260206004820152601560248201527422bc31b2b2b2399036b0bc17103832b9103a3c371760591b6044820152606401610596565b6107cf600b54826109569190611ea9565b11156109935760405162461bcd60e51b815260206004820152600c60248201526b14dd5c1c1b1e481b1a5b5a5d60a21b6044820152606401610596565b6109a4668e1bc9bf04000082611ec1565b3410156109e35760405162461bcd60e51b815260206004820152600d60248201526c092dcc6dee4e4cac6e8408aa89609b1b6044820152606401610596565b600b5460005b82811015610a1b576109fb8483611357565b81610a0581611ee0565b9250508080610a1390611ee0565b9150506109e9565b50600b555050565b6107ee83838360405180602001604052806000815250610e77565b6000610a4960085490565b8210610aac5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610596565b60088281548110610abf57610abf611efb565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806105665760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610596565b600a546001600160a01b03163314610b725760405162461bcd60e51b815260040161059690611dd2565b6014811115610bbb5760405162461bcd60e51b815260206004820152601560248201527422bc31b2b2b2399036b0bc17103832b9103a3c371760591b6044820152606401610596565b610833600b5482610bcc9190611ea9565b1115610c0a5760405162461bcd60e51b815260206004820152600d60248201526c537570706c79206c696d69742160981b6044820152606401610596565b600b5460005b82811015610a1b57610c228483611357565b81610c2c81611ee0565b9250508080610c3a90611ee0565b915050610c10565b60006001600160a01b038216610cad5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610596565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610cf35760405162461bcd60e51b815260040161059690611dd2565b610cfd6000611371565b565b600a546001600160a01b03163314610d295760405162461bcd60e51b815260040161059690611dd2565b600c805460ff19811660ff90911615179055565b600a546001600160a01b03163314610d675760405162461bcd60e51b815260040161059690611dd2565b600a546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610da0573d6000803e3d6000fd5b50565b6060600180546105c590611e07565b6001600160a01b038216331415610e0b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610596565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e8133836110b5565b610e9d5760405162461bcd60e51b815260040161059690611e42565b610ea9848484846113c3565b50505050565b6000818152600260205260409020546060906001600160a01b0316610f2e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610596565b6000610f386113f6565b90506000815111610f585760405180602001604052806000815250610f83565b80610f6284611405565b604051602001610f73929190611f11565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314610fb45760405162461bcd60e51b815260040161059690611dd2565b6001600160a01b0381166110195760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610596565b610da081611371565b60006001600160e01b0319821663780e9d6360e01b1480610566575061056682611503565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061107c82610ad1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661112e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610596565b600061113983610ad1565b9050806001600160a01b0316846001600160a01b031614806111745750836001600160a01b031661116984610648565b6001600160a01b0316145b806111a457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166111bf82610ad1565b6001600160a01b0316146112275760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610596565b6001600160a01b0382166112895760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610596565b611294838383611553565b61129f600082611047565b6001600160a01b03831660009081526003602052604081208054600192906112c8908490611f40565b90915550506001600160a01b03821660009081526003602052604081208054600192906112f6908490611ea9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6105b282826040518060200160405280600081525061155e565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6113ce8484846111ac565b6113da84848484611591565b610ea95760405162461bcd60e51b815260040161059690611f57565b6060600d80546105c590611e07565b6060816114295750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611453578061143d81611ee0565b915061144c9050600a83611fbf565b915061142d565b60008167ffffffffffffffff81111561146e5761146e611af1565b6040519080825280601f01601f191660200182016040528015611498576020820181803683370190505b5090505b84156111a4576114ad600183611f40565b91506114ba600a86611fd3565b6114c5906030611ea9565b60f81b8183815181106114da576114da611efb565b60200101906001600160f81b031916908160001a9053506114fc600a86611fbf565b945061149c565b60006001600160e01b031982166380ac58cd60e01b148061153457506001600160e01b03198216635b5e139f60e01b145b8061056657506301ffc9a760e01b6001600160e01b0319831614610566565b6107ee83838361168f565b6115688383611747565b6115756000848484611591565b6107ee5760405162461bcd60e51b815260040161059690611f57565b60006001600160a01b0384163b1561168457604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906115d5903390899088908890600401611fe7565b6020604051808303816000875af1925050508015611610575060408051601f3d908101601f1916820190925261160d91810190612024565b60015b61166a573d80801561163e576040519150601f19603f3d011682016040523d82523d6000602084013e611643565b606091505b5080516116625760405162461bcd60e51b815260040161059690611f57565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506111a4565b506001949350505050565b6001600160a01b0383166116ea576116e581600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61170d565b816001600160a01b0316836001600160a01b03161461170d5761170d8382611895565b6001600160a01b038216611724576107ee81611932565b826001600160a01b0316826001600160a01b0316146107ee576107ee82826119e1565b6001600160a01b03821661179d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610596565b6000818152600260205260409020546001600160a01b0316156118025760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610596565b61180e60008383611553565b6001600160a01b0382166000908152600360205260408120805460019290611837908490611ea9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600060016118a284610c42565b6118ac9190611f40565b6000838152600760205260409020549091508082146118ff576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061194490600190611f40565b6000838152600960205260408120546008805493945090928490811061196c5761196c611efb565b90600052602060002001549050806008838154811061198d5761198d611efb565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806119c5576119c5612041565b6001900381819060005260206000200160009055905550505050565b60006119ec83610c42565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611a3190611e07565b90600052602060002090601f016020900481019282611a535760008555611a99565b82601f10611a6c57805160ff1916838001178555611a99565b82800160010185558215611a99579182015b82811115611a99578251825591602001919060010190611a7e565b50611aa5929150611aa9565b5090565b5b80821115611aa55760008155600101611aaa565b6001600160e01b031981168114610da057600080fd5b600060208284031215611ae657600080fd5b8135610f8381611abe565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611b2257611b22611af1565b604051601f8501601f19908116603f01168101908282118183101715611b4a57611b4a611af1565b81604052809350858152868686011115611b6357600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611b8f57600080fd5b813567ffffffffffffffff811115611ba657600080fd5b8201601f81018413611bb757600080fd5b6111a484823560208401611b07565b60005b83811015611be1578181015183820152602001611bc9565b83811115610ea95750506000910152565b60008151808452611c0a816020860160208601611bc6565b601f01601f19169290920160200192915050565b602081526000610f836020830184611bf2565b600060208284031215611c4357600080fd5b5035919050565b80356001600160a01b0381168114611c6157600080fd5b919050565b60008060408385031215611c7957600080fd5b611c8283611c4a565b946020939093013593505050565b600080600060608486031215611ca557600080fd5b611cae84611c4a565b9250611cbc60208501611c4a565b9150604084013590509250925092565b600060208284031215611cde57600080fd5b610f8382611c4a565b60008060408385031215611cfa57600080fd5b611d0383611c4a565b915060208301358015158114611d1857600080fd5b809150509250929050565b60008060008060808587031215611d3957600080fd5b611d4285611c4a565b9350611d5060208601611c4a565b925060408501359150606085013567ffffffffffffffff811115611d7357600080fd5b8501601f81018713611d8457600080fd5b611d9387823560208401611b07565b91505092959194509250565b60008060408385031215611db257600080fd5b611dbb83611c4a565b9150611dc960208401611c4a565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680611e1b57607f821691505b60208210811415611e3c57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611ebc57611ebc611e93565b500190565b6000816000190483118215151615611edb57611edb611e93565b500290565b6000600019821415611ef457611ef4611e93565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60008351611f23818460208801611bc6565b835190830190611f37818360208801611bc6565b01949350505050565b600082821015611f5257611f52611e93565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082611fce57611fce611fa9565b500490565b600082611fe257611fe2611fa9565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061201a90830184611bf2565b9695505050505050565b60006020828403121561203657600080fd5b8151610f8381611abe565b634e487b7160e01b600052603160045260246000fdfea26469706673582212200f0452003ebe9e56a910a955dfc134d2f142289811f71f60a0131960ba44625264736f6c634300080a003368747470733a2f2f626f726564617065746174746f6f73686f702e6d7970696e6174612e636c6f75642f697066732f516d626e374774694b4a765279725264777746536b51334a316672675a744a6b51414161613268445635757831412f
Deployed Bytecode
0x6080604052600436106101c25760003560e01c80636352211e116100f75780638d859f3e11610095578063b88d4fde11610064578063b88d4fde146104b2578063c87b56dd146104d2578063e985e9c5146104f2578063f2fde38b1461053b57600080fd5b80638d859f3e146104445780638da5cb5b1461045f57806395d89b411461047d578063a22cb4651461049257600080fd5b806370a08231116100d157806370a08231146103e5578063715018a6146104055780637ba5e6211461041a578063853828b61461042f57600080fd5b80636352211e1461038b578063641cc9d4146103ab57806368428a1b146103cb57600080fd5b80632f745c591161016457806340c10f191161013e57806340c10f191461032357806342842e0e146103365780634f6ccce71461035657806351b96d921461037657600080fd5b80632f745c59146102d757806332cb6b0c146102f7578063355260431461030d57600080fd5b8063081812fc116101a0578063081812fc14610240578063095ea7b31461027857806318160ddd1461029857806323b872dd146102b757600080fd5b806301ffc9a7146101c757806302fe5305146101fc57806306fdde031461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611ad4565b61055b565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b5061021c610217366004611b7d565b61056c565b005b34801561022a57600080fd5b506102336105b6565b6040516101f39190611c1e565b34801561024c57600080fd5b5061026061025b366004611c31565b610648565b6040516001600160a01b0390911681526020016101f3565b34801561028457600080fd5b5061021c610293366004611c66565b6106dd565b3480156102a457600080fd5b506008545b6040519081526020016101f3565b3480156102c357600080fd5b5061021c6102d2366004611c90565b6107f3565b3480156102e357600080fd5b506102a96102f2366004611c66565b610824565b34801561030357600080fd5b506102a961083381565b34801561031957600080fd5b506102a96107cf81565b61021c610331366004611c66565b6108ba565b34801561034257600080fd5b5061021c610351366004611c90565b610a23565b34801561036257600080fd5b506102a9610371366004611c31565b610a3e565b34801561038257600080fd5b506102a9601481565b34801561039757600080fd5b506102606103a6366004611c31565b610ad1565b3480156103b757600080fd5b5061021c6103c6366004611c66565b610b48565b3480156103d757600080fd5b50600c546101e79060ff1681565b3480156103f157600080fd5b506102a9610400366004611ccc565b610c42565b34801561041157600080fd5b5061021c610cc9565b34801561042657600080fd5b5061021c610cff565b34801561043b57600080fd5b5061021c610d3d565b34801561045057600080fd5b506102a9668e1bc9bf04000081565b34801561046b57600080fd5b50600a546001600160a01b0316610260565b34801561048957600080fd5b50610233610da3565b34801561049e57600080fd5b5061021c6104ad366004611ce7565b610db2565b3480156104be57600080fd5b5061021c6104cd366004611d23565b610e77565b3480156104de57600080fd5b506102336104ed366004611c31565b610eaf565b3480156104fe57600080fd5b506101e761050d366004611d9f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561054757600080fd5b5061021c610556366004611ccc565b610f8a565b600061056682611022565b92915050565b600a546001600160a01b0316331461059f5760405162461bcd60e51b815260040161059690611dd2565b60405180910390fd5b80516105b290600d906020840190611a25565b5050565b6060600080546105c590611e07565b80601f01602080910402602001604051908101604052809291908181526020018280546105f190611e07565b801561063e5780601f106106135761010080835404028352916020019161063e565b820191906000526020600020905b81548152906001019060200180831161062157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106c15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610596565b506000908152600460205260409020546001600160a01b031690565b60006106e882610ad1565b9050806001600160a01b0316836001600160a01b031614156107565760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610596565b336001600160a01b03821614806107725750610772813361050d565b6107e45760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610596565b6107ee8383611047565b505050565b6107fd33826110b5565b6108195760405162461bcd60e51b815260040161059690611e42565b6107ee8383836111ac565b600061082f83610c42565b82106108915760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610596565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c5460ff166108fc5760405162461bcd60e51b815260206004820152600d60248201526c53616c6520696e61637469766560981b6044820152606401610596565b60148111156109455760405162461bcd60e51b815260206004820152601560248201527422bc31b2b2b2399036b0bc17103832b9103a3c371760591b6044820152606401610596565b6107cf600b54826109569190611ea9565b11156109935760405162461bcd60e51b815260206004820152600c60248201526b14dd5c1c1b1e481b1a5b5a5d60a21b6044820152606401610596565b6109a4668e1bc9bf04000082611ec1565b3410156109e35760405162461bcd60e51b815260206004820152600d60248201526c092dcc6dee4e4cac6e8408aa89609b1b6044820152606401610596565b600b5460005b82811015610a1b576109fb8483611357565b81610a0581611ee0565b9250508080610a1390611ee0565b9150506109e9565b50600b555050565b6107ee83838360405180602001604052806000815250610e77565b6000610a4960085490565b8210610aac5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610596565b60088281548110610abf57610abf611efb565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806105665760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610596565b600a546001600160a01b03163314610b725760405162461bcd60e51b815260040161059690611dd2565b6014811115610bbb5760405162461bcd60e51b815260206004820152601560248201527422bc31b2b2b2399036b0bc17103832b9103a3c371760591b6044820152606401610596565b610833600b5482610bcc9190611ea9565b1115610c0a5760405162461bcd60e51b815260206004820152600d60248201526c537570706c79206c696d69742160981b6044820152606401610596565b600b5460005b82811015610a1b57610c228483611357565b81610c2c81611ee0565b9250508080610c3a90611ee0565b915050610c10565b60006001600160a01b038216610cad5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610596565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610cf35760405162461bcd60e51b815260040161059690611dd2565b610cfd6000611371565b565b600a546001600160a01b03163314610d295760405162461bcd60e51b815260040161059690611dd2565b600c805460ff19811660ff90911615179055565b600a546001600160a01b03163314610d675760405162461bcd60e51b815260040161059690611dd2565b600a546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610da0573d6000803e3d6000fd5b50565b6060600180546105c590611e07565b6001600160a01b038216331415610e0b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610596565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e8133836110b5565b610e9d5760405162461bcd60e51b815260040161059690611e42565b610ea9848484846113c3565b50505050565b6000818152600260205260409020546060906001600160a01b0316610f2e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610596565b6000610f386113f6565b90506000815111610f585760405180602001604052806000815250610f83565b80610f6284611405565b604051602001610f73929190611f11565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314610fb45760405162461bcd60e51b815260040161059690611dd2565b6001600160a01b0381166110195760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610596565b610da081611371565b60006001600160e01b0319821663780e9d6360e01b1480610566575061056682611503565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061107c82610ad1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661112e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610596565b600061113983610ad1565b9050806001600160a01b0316846001600160a01b031614806111745750836001600160a01b031661116984610648565b6001600160a01b0316145b806111a457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166111bf82610ad1565b6001600160a01b0316146112275760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610596565b6001600160a01b0382166112895760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610596565b611294838383611553565b61129f600082611047565b6001600160a01b03831660009081526003602052604081208054600192906112c8908490611f40565b90915550506001600160a01b03821660009081526003602052604081208054600192906112f6908490611ea9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6105b282826040518060200160405280600081525061155e565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6113ce8484846111ac565b6113da84848484611591565b610ea95760405162461bcd60e51b815260040161059690611f57565b6060600d80546105c590611e07565b6060816114295750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611453578061143d81611ee0565b915061144c9050600a83611fbf565b915061142d565b60008167ffffffffffffffff81111561146e5761146e611af1565b6040519080825280601f01601f191660200182016040528015611498576020820181803683370190505b5090505b84156111a4576114ad600183611f40565b91506114ba600a86611fd3565b6114c5906030611ea9565b60f81b8183815181106114da576114da611efb565b60200101906001600160f81b031916908160001a9053506114fc600a86611fbf565b945061149c565b60006001600160e01b031982166380ac58cd60e01b148061153457506001600160e01b03198216635b5e139f60e01b145b8061056657506301ffc9a760e01b6001600160e01b0319831614610566565b6107ee83838361168f565b6115688383611747565b6115756000848484611591565b6107ee5760405162461bcd60e51b815260040161059690611f57565b60006001600160a01b0384163b1561168457604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906115d5903390899088908890600401611fe7565b6020604051808303816000875af1925050508015611610575060408051601f3d908101601f1916820190925261160d91810190612024565b60015b61166a573d80801561163e576040519150601f19603f3d011682016040523d82523d6000602084013e611643565b606091505b5080516116625760405162461bcd60e51b815260040161059690611f57565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506111a4565b506001949350505050565b6001600160a01b0383166116ea576116e581600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61170d565b816001600160a01b0316836001600160a01b03161461170d5761170d8382611895565b6001600160a01b038216611724576107ee81611932565b826001600160a01b0316826001600160a01b0316146107ee576107ee82826119e1565b6001600160a01b03821661179d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610596565b6000818152600260205260409020546001600160a01b0316156118025760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610596565b61180e60008383611553565b6001600160a01b0382166000908152600360205260408120805460019290611837908490611ea9565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600060016118a284610c42565b6118ac9190611f40565b6000838152600760205260409020549091508082146118ff576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061194490600190611f40565b6000838152600960205260408120546008805493945090928490811061196c5761196c611efb565b90600052602060002001549050806008838154811061198d5761198d611efb565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806119c5576119c5612041565b6001900381819060005260206000200160009055905550505050565b60006119ec83610c42565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611a3190611e07565b90600052602060002090601f016020900481019282611a535760008555611a99565b82601f10611a6c57805160ff1916838001178555611a99565b82800160010185558215611a99579182015b82811115611a99578251825591602001919060010190611a7e565b50611aa5929150611aa9565b5090565b5b80821115611aa55760008155600101611aaa565b6001600160e01b031981168114610da057600080fd5b600060208284031215611ae657600080fd5b8135610f8381611abe565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611b2257611b22611af1565b604051601f8501601f19908116603f01168101908282118183101715611b4a57611b4a611af1565b81604052809350858152868686011115611b6357600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611b8f57600080fd5b813567ffffffffffffffff811115611ba657600080fd5b8201601f81018413611bb757600080fd5b6111a484823560208401611b07565b60005b83811015611be1578181015183820152602001611bc9565b83811115610ea95750506000910152565b60008151808452611c0a816020860160208601611bc6565b601f01601f19169290920160200192915050565b602081526000610f836020830184611bf2565b600060208284031215611c4357600080fd5b5035919050565b80356001600160a01b0381168114611c6157600080fd5b919050565b60008060408385031215611c7957600080fd5b611c8283611c4a565b946020939093013593505050565b600080600060608486031215611ca557600080fd5b611cae84611c4a565b9250611cbc60208501611c4a565b9150604084013590509250925092565b600060208284031215611cde57600080fd5b610f8382611c4a565b60008060408385031215611cfa57600080fd5b611d0383611c4a565b915060208301358015158114611d1857600080fd5b809150509250929050565b60008060008060808587031215611d3957600080fd5b611d4285611c4a565b9350611d5060208601611c4a565b925060408501359150606085013567ffffffffffffffff811115611d7357600080fd5b8501601f81018713611d8457600080fd5b611d9387823560208401611b07565b91505092959194509250565b60008060408385031215611db257600080fd5b611dbb83611c4a565b9150611dc960208401611c4a565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680611e1b57607f821691505b60208210811415611e3c57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611ebc57611ebc611e93565b500190565b6000816000190483118215151615611edb57611edb611e93565b500290565b6000600019821415611ef457611ef4611e93565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60008351611f23818460208801611bc6565b835190830190611f37818360208801611bc6565b01949350505050565b600082821015611f5257611f52611e93565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082611fce57611fce611fa9565b500490565b600082611fe257611fe2611fa9565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061201a90830184611bf2565b9695505050505050565b60006020828403121561203657600080fd5b8151610f8381611abe565b634e487b7160e01b600052603160045260246000fdfea26469706673582212200f0452003ebe9e56a910a955dfc134d2f142289811f71f60a0131960ba44625264736f6c634300080a0033
Deployed Bytecode Sourcemap
43039:2360:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45184:212;;;;;;;;;;-1:-1:-1;45184:212:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;45184:212:0;;;;;;;;43673:84;;;;;;;;;;-1:-1:-1;43673:84:0;;;;;:::i;:::-;;:::i;:::-;;24794:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;26316:221::-;;;;;;;;;;-1:-1:-1;26316:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2917:32:1;;;2899:51;;2887:2;2872:18;26316:221:0;2753:203:1;25876:374:0;;;;;;;;;;-1:-1:-1;25876:374:0;;;;;:::i;:::-;;:::i;37460:113::-;;;;;;;;;;-1:-1:-1;37548:10:0;:17;37460:113;;;3544:25:1;;;3532:2;3517:18;37460:113:0;3398:177:1;27206:339:0;;;;;;;;;;-1:-1:-1;27206:339:0;;;;;:::i;:::-;;:::i;37128:256::-;;;;;;;;;;-1:-1:-1;37128:256:0;;;;;:::i;:::-;;:::i;43111:41::-;;;;;;;;;;;;43148:4;43111:41;;43159:51;;;;;;;;;;;;43206:4;43159:51;;43855:545;;;;;;:::i;:::-;;:::i;27616:185::-;;;;;;;;;;-1:-1:-1;27616:185:0;;;;;:::i;:::-;;:::i;37650:233::-;;;;;;;;;;-1:-1:-1;37650:233:0;;;;;:::i;:::-;;:::i;43266:40::-;;;;;;;;;;;;43304:2;43266:40;;24488:239;;;;;;;;;;-1:-1:-1;24488:239:0;;;;;:::i;:::-;;:::i;44525:428::-;;;;;;;;;;-1:-1:-1;44525:428:0;;;;;:::i;:::-;;:::i;43348:22::-;;;;;;;;;;-1:-1:-1;43348:22:0;;;;;;;;24218:208;;;;;;;;;;-1:-1:-1;24218:208:0;;;;;:::i;:::-;;:::i;11048:94::-;;;;;;;;;;;;;:::i;43765:82::-;;;;;;;;;;;;;:::i;44408:109::-;;;;;;;;;;;;;:::i;43217:42::-;;;;;;;;;;;;43249:10;43217:42;;10397:87;;;;;;;;;;-1:-1:-1;10470:6:0;;-1:-1:-1;;;;;10470:6:0;10397:87;;24963:104;;;;;;;;;;;;;:::i;26609:295::-;;;;;;;;;;-1:-1:-1;26609:295:0;;;;;:::i;:::-;;:::i;27872:328::-;;;;;;;;;;-1:-1:-1;27872:328:0;;;;;:::i;:::-;;:::i;25138:334::-;;;;;;;;;;-1:-1:-1;25138:334:0;;;;;:::i;:::-;;:::i;26975:164::-;;;;;;;;;;-1:-1:-1;26975:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;27096:25:0;;;27072:4;27096:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26975:164;11297:192;;;;;;;;;;-1:-1:-1;11297:192:0;;;;;:::i;:::-;;:::i;45184:212::-;45323:4;45352:36;45376:11;45352:23;:36::i;:::-;45345:43;45184:212;-1:-1:-1;;45184:212:0:o;43673:84::-;10470:6;;-1:-1:-1;;;;;10470:6:0;1579:10;10617:23;10609:68;;;;-1:-1:-1;;;10609:68:0;;;;;;;:::i;:::-;;;;;;;;;43739:10;;::::1;::::0;:3:::1;::::0;:10:::1;::::0;::::1;::::0;::::1;:::i;:::-;;43673:84:::0;:::o;24794:100::-;24848:13;24881:5;24874:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24794:100;:::o;26316:221::-;26392:7;29799:16;;;:7;:16;;;;;;-1:-1:-1;;;;;29799:16:0;26412:73;;;;-1:-1:-1;;;26412:73:0;;6341:2:1;26412:73:0;;;6323:21:1;6380:2;6360:18;;;6353:30;6419:34;6399:18;;;6392:62;-1:-1:-1;;;6470:18:1;;;6463:42;6522:19;;26412:73:0;6139:408:1;26412:73:0;-1:-1:-1;26505:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;26505:24:0;;26316:221::o;25876:374::-;25957:13;25973:23;25988:7;25973:14;:23::i;:::-;25957:39;;26021:5;-1:-1:-1;;;;;26015:11:0;:2;-1:-1:-1;;;;;26015:11:0;;;26007:57;;;;-1:-1:-1;;;26007:57:0;;6754:2:1;26007:57:0;;;6736:21:1;6793:2;6773:18;;;6766:30;6832:34;6812:18;;;6805:62;-1:-1:-1;;;6883:18:1;;;6876:31;6924:19;;26007:57:0;6552:397:1;26007:57:0;1579:10;-1:-1:-1;;;;;26085:21:0;;;;:62;;-1:-1:-1;26110:37:0;26127:5;1579:10;26975:164;:::i;26110:37::-;26077:131;;;;-1:-1:-1;;;26077:131:0;;7156:2:1;26077:131:0;;;7138:21:1;7195:2;7175:18;;;7168:30;7234:34;7214:18;;;7207:62;7305:26;7285:18;;;7278:54;7349:19;;26077:131:0;6954:420:1;26077:131:0;26221:21;26230:2;26234:7;26221:8;:21::i;:::-;25946:304;25876:374;;:::o;27206:339::-;27401:41;1579:10;27434:7;27401:18;:41::i;:::-;27393:103;;;;-1:-1:-1;;;27393:103:0;;;;;;;:::i;:::-;27509:28;27519:4;27525:2;27529:7;27509:9;:28::i;37128:256::-;37225:7;37261:23;37278:5;37261:16;:23::i;:::-;37253:5;:31;37245:87;;;;-1:-1:-1;;;37245:87:0;;7999:2:1;37245:87:0;;;7981:21:1;8038:2;8018:18;;;8011:30;8077:34;8057:18;;;8050:62;-1:-1:-1;;;8128:18:1;;;8121:41;8179:19;;37245:87:0;7797:407:1;37245:87:0;-1:-1:-1;;;;;;37350:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;37128:256::o;43855:545::-;43933:10;;;;43925:36;;;;-1:-1:-1;;;43925:36:0;;8411:2:1;43925:36:0;;;8393:21:1;8450:2;8430:18;;;8423:30;-1:-1:-1;;;8469:18:1;;;8462:43;8522:18;;43925:36:0;8209:337:1;43925:36:0;43304:2;43980:6;:21;;43972:55;;;;-1:-1:-1;;;43972:55:0;;8753:2:1;43972:55:0;;;8735:21:1;8792:2;8772:18;;;8765:30;-1:-1:-1;;;8811:18:1;;;8804:51;8872:18;;43972:55:0;8551:345:1;43972:55:0;43206:4;44055:12;;44046:6;:21;;;;:::i;:::-;:45;;44038:70;;;;-1:-1:-1;;;44038:70:0;;9368:2:1;44038:70:0;;;9350:21:1;9407:2;9387:18;;;9380:30;-1:-1:-1;;;9426:18:1;;;9419:42;9478:18;;44038:70:0;9166:336:1;44038:70:0;44140:14;43249:10;44140:6;:14;:::i;:::-;44127:9;:27;;44119:53;;;;-1:-1:-1;;;44119:53:0;;9882:2:1;44119:53:0;;;9864:21:1;9921:2;9901:18;;;9894:30;-1:-1:-1;;;9940:18:1;;;9933:43;9993:18;;44119:53:0;9680:337:1;44119:53:0;44209:12;;44185:21;44232:122;44256:6;44252:1;:10;44232:122;;;44284:28;44294:2;44298:13;44284:9;:28::i;:::-;44327:15;;;;:::i;:::-;;;;44264:3;;;;;:::i;:::-;;;;44232:122;;;-1:-1:-1;44364:12:0;:28;-1:-1:-1;;43855:545:0:o;27616:185::-;27754:39;27771:4;27777:2;27781:7;27754:39;;;;;;;;;;;;:16;:39::i;37650:233::-;37725:7;37761:30;37548:10;:17;;37460:113;37761:30;37753:5;:38;37745:95;;;;-1:-1:-1;;;37745:95:0;;10364:2:1;37745:95:0;;;10346:21:1;10403:2;10383:18;;;10376:30;10442:34;10422:18;;;10415:62;-1:-1:-1;;;10493:18:1;;;10486:42;10545:19;;37745:95:0;10162:408:1;37745:95:0;37858:10;37869:5;37858:17;;;;;;;;:::i;:::-;;;;;;;;;37851:24;;37650:233;;;:::o;24488:239::-;24560:7;24596:16;;;:7;:16;;;;;;-1:-1:-1;;;;;24596:16:0;24631:19;24623:73;;;;-1:-1:-1;;;24623:73:0;;10909:2:1;24623:73:0;;;10891:21:1;10948:2;10928:18;;;10921:30;10987:34;10967:18;;;10960:62;-1:-1:-1;;;11038:18:1;;;11031:39;11087:19;;24623:73:0;10707:405:1;44525:428:0;10470:6;;-1:-1:-1;;;;;10470:6:0;1579:10;10617:23;10609:68;;;;-1:-1:-1;;;10609:68:0;;;;;;;:::i;:::-;43304:2:::1;44606:6;:21;;44598:55;;;::::0;-1:-1:-1;;;44598:55:0;;8753:2:1;44598:55:0::1;::::0;::::1;8735:21:1::0;8792:2;8772:18;;;8765:30;-1:-1:-1;;;8811:18:1;;;8804:51;8872:18;;44598:55:0::1;8551:345:1::0;44598:55:0::1;43148:4;44681:12;;44672:6;:21;;;;:::i;:::-;:35;;44664:61;;;::::0;-1:-1:-1;;;44664:61:0;;11319:2:1;44664:61:0::1;::::0;::::1;11301:21:1::0;11358:2;11338:18;;;11331:30;-1:-1:-1;;;11377:18:1;;;11370:43;11430:18;;44664:61:0::1;11117:337:1::0;44664:61:0::1;44762:12;::::0;44738:21:::1;44785:122;44809:6;44805:1;:10;44785:122;;;44837:28;44847:2;44851:13;44837:9;:28::i;:::-;44880:15:::0;::::1;::::0;::::1;:::i;:::-;;;;44817:3;;;;;:::i;:::-;;;;44785:122;;24218:208:::0;24290:7;-1:-1:-1;;;;;24318:19:0;;24310:74;;;;-1:-1:-1;;;24310:74:0;;11661:2:1;24310:74:0;;;11643:21:1;11700:2;11680:18;;;11673:30;11739:34;11719:18;;;11712:62;-1:-1:-1;;;11790:18:1;;;11783:40;11840:19;;24310:74:0;11459:406:1;24310:74:0;-1:-1:-1;;;;;;24402:16:0;;;;;:9;:16;;;;;;;24218:208::o;11048:94::-;10470:6;;-1:-1:-1;;;;;10470:6:0;1579:10;10617:23;10609:68;;;;-1:-1:-1;;;10609:68:0;;;;;;;:::i;:::-;11113:21:::1;11131:1;11113:9;:21::i;:::-;11048:94::o:0;43765:82::-;10470:6;;-1:-1:-1;;;;;10470:6:0;1579:10;10617:23;10609:68;;;;-1:-1:-1;;;10609:68:0;;;;;;;:::i;:::-;43829:10:::1;::::0;;-1:-1:-1;;43815:24:0;::::1;43829:10;::::0;;::::1;43828:11;43815:24;::::0;;43765:82::o;44408:109::-;10470:6;;-1:-1:-1;;;;;10470:6:0;1579:10;10617:23;10609:68;;;;-1:-1:-1;;;10609:68:0;;;;;;;:::i;:::-;10470:6;;44461:48:::1;::::0;-1:-1:-1;;;;;10470:6:0;;;;44487:21:::1;44461:48:::0;::::1;;;::::0;::::1;::::0;;;44487:21;10470:6;44461:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;44408:109::o:0;24963:104::-;25019:13;25052:7;25045:14;;;;;:::i;26609:295::-;-1:-1:-1;;;;;26712:24:0;;1579:10;26712:24;;26704:62;;;;-1:-1:-1;;;26704:62:0;;12072:2:1;26704:62:0;;;12054:21:1;12111:2;12091:18;;;12084:30;12150:27;12130:18;;;12123:55;12195:18;;26704:62:0;11870:349:1;26704:62:0;1579:10;26779:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;26779:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;26779:53:0;;;;;;;;;;26848:48;;540:41:1;;;26779:42:0;;1579:10;26848:48;;513:18:1;26848:48:0;;;;;;;26609:295;;:::o;27872:328::-;28047:41;1579:10;28080:7;28047:18;:41::i;:::-;28039:103;;;;-1:-1:-1;;;28039:103:0;;;;;;;:::i;:::-;28153:39;28167:4;28173:2;28177:7;28186:5;28153:13;:39::i;:::-;27872:328;;;;:::o;25138:334::-;29775:4;29799:16;;;:7;:16;;;;;;25211:13;;-1:-1:-1;;;;;29799:16:0;25237:76;;;;-1:-1:-1;;;25237:76:0;;12426:2:1;25237:76:0;;;12408:21:1;12465:2;12445:18;;;12438:30;12504:34;12484:18;;;12477:62;-1:-1:-1;;;12555:18:1;;;12548:45;12610:19;;25237:76:0;12224:411:1;25237:76:0;25326:21;25350:10;:8;:10::i;:::-;25326:34;;25402:1;25384:7;25378:21;:25;:86;;;;;;;;;;;;;;;;;25430:7;25439:18;:7;:16;:18::i;:::-;25413:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;25378:86;25371:93;25138:334;-1:-1:-1;;;25138:334:0:o;11297:192::-;10470:6;;-1:-1:-1;;;;;10470:6:0;1579:10;10617:23;10609:68;;;;-1:-1:-1;;;10609:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;11386:22:0;::::1;11378:73;;;::::0;-1:-1:-1;;;11378:73:0;;13317:2:1;11378:73:0::1;::::0;::::1;13299:21:1::0;13356:2;13336:18;;;13329:30;13395:34;13375:18;;;13368:62;-1:-1:-1;;;13446:18:1;;;13439:36;13492:19;;11378:73:0::1;13115:402:1::0;11378:73:0::1;11462:19;11472:8;11462:9;:19::i;36820:224::-:0;36922:4;-1:-1:-1;;;;;;36946:50:0;;-1:-1:-1;;;36946:50:0;;:90;;;37000:36;37024:11;37000:23;:36::i;33655:174::-;33730:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;33730:29:0;-1:-1:-1;;;;;33730:29:0;;;;;;;;:24;;33784:23;33730:24;33784:14;:23::i;:::-;-1:-1:-1;;;;;33775:46:0;;;;;;;;;;;33655:174;;:::o;30004:348::-;30097:4;29799:16;;;:7;:16;;;;;;-1:-1:-1;;;;;29799:16:0;30114:73;;;;-1:-1:-1;;;30114:73:0;;13724:2:1;30114:73:0;;;13706:21:1;13763:2;13743:18;;;13736:30;13802:34;13782:18;;;13775:62;-1:-1:-1;;;13853:18:1;;;13846:42;13905:19;;30114:73:0;13522:408:1;30114:73:0;30198:13;30214:23;30229:7;30214:14;:23::i;:::-;30198:39;;30267:5;-1:-1:-1;;;;;30256:16:0;:7;-1:-1:-1;;;;;30256:16:0;;:51;;;;30300:7;-1:-1:-1;;;;;30276:31:0;:20;30288:7;30276:11;:20::i;:::-;-1:-1:-1;;;;;30276:31:0;;30256:51;:87;;;-1:-1:-1;;;;;;27096:25:0;;;27072:4;27096:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;30311:32;30248:96;30004:348;-1:-1:-1;;;;30004:348:0:o;32959:578::-;33118:4;-1:-1:-1;;;;;33091:31:0;:23;33106:7;33091:14;:23::i;:::-;-1:-1:-1;;;;;33091:31:0;;33083:85;;;;-1:-1:-1;;;33083:85:0;;14137:2:1;33083:85:0;;;14119:21:1;14176:2;14156:18;;;14149:30;14215:34;14195:18;;;14188:62;-1:-1:-1;;;14266:18:1;;;14259:39;14315:19;;33083:85:0;13935:405:1;33083:85:0;-1:-1:-1;;;;;33187:16:0;;33179:65;;;;-1:-1:-1;;;33179:65:0;;14547:2:1;33179:65:0;;;14529:21:1;14586:2;14566:18;;;14559:30;14625:34;14605:18;;;14598:62;-1:-1:-1;;;14676:18:1;;;14669:34;14720:19;;33179:65:0;14345:400:1;33179:65:0;33257:39;33278:4;33284:2;33288:7;33257:20;:39::i;:::-;33361:29;33378:1;33382:7;33361:8;:29::i;:::-;-1:-1:-1;;;;;33403:15:0;;;;;;:9;:15;;;;;:20;;33422:1;;33403:15;:20;;33422:1;;33403:20;:::i;:::-;;;;-1:-1:-1;;;;;;;33434:13:0;;;;;;:9;:13;;;;;:18;;33451:1;;33434:13;:18;;33451:1;;33434:18;:::i;:::-;;;;-1:-1:-1;;33463:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;33463:21:0;-1:-1:-1;;;;;33463:21:0;;;;;;;;;33502:27;;33463:16;;33502:27;;;;;;;32959:578;;;:::o;30694:110::-;30770:26;30780:2;30784:7;30770:26;;;;;;;;;;;;:9;:26::i;11497:173::-;11572:6;;;-1:-1:-1;;;;;11589:17:0;;;-1:-1:-1;;;;;;11589:17:0;;;;;;;11622:40;;11572:6;;;11589:17;11572:6;;11622:40;;11553:16;;11622:40;11542:128;11497:173;:::o;29082:315::-;29239:28;29249:4;29255:2;29259:7;29239:9;:28::i;:::-;29286:48;29309:4;29315:2;29319:7;29328:5;29286:22;:48::i;:::-;29278:111;;;;-1:-1:-1;;;29278:111:0;;;;;;;:::i;43569:96::-;43621:13;43654:3;43647:10;;;;;:::i;20802:723::-;20858:13;21079:10;21075:53;;-1:-1:-1;;21106:10:0;;;;;;;;;;;;-1:-1:-1;;;21106:10:0;;;;;20802:723::o;21075:53::-;21153:5;21138:12;21194:78;21201:9;;21194:78;;21227:8;;;;:::i;:::-;;-1:-1:-1;21250:10:0;;-1:-1:-1;21258:2:0;21250:10;;:::i;:::-;;;21194:78;;;21282:19;21314:6;21304:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21304:17:0;;21282:39;;21332:154;21339:10;;21332:154;;21366:11;21376:1;21366:11;;:::i;:::-;;-1:-1:-1;21435:10:0;21443:2;21435:5;:10;:::i;:::-;21422:24;;:2;:24;:::i;:::-;21409:39;;21392:6;21399;21392:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;21392:56:0;;;;;;;;-1:-1:-1;21463:11:0;21472:2;21463:11;;:::i;:::-;;;21332:154;;23875:279;23977:4;-1:-1:-1;;;;;;24014:40:0;;-1:-1:-1;;;24014:40:0;;:92;;-1:-1:-1;;;;;;;24058:48:0;;-1:-1:-1;;;24058:48:0;24014:92;:132;;;-1:-1:-1;;;;;;;;;;8365:40:0;;;24110:36;8256:157;44961:215;45123:45;45150:4;45156:2;45160:7;45123:26;:45::i;31031:284::-;31161:18;31167:2;31171:7;31161:5;:18::i;:::-;31198:54;31229:1;31233:2;31237:7;31246:5;31198:22;:54::i;:::-;31190:117;;;;-1:-1:-1;;;31190:117:0;;;;;;;:::i;34394:799::-;34549:4;-1:-1:-1;;;;;34570:13:0;;13487:20;13535:8;34566:620;;34606:72;;-1:-1:-1;;;34606:72:0;;-1:-1:-1;;;;;34606:36:0;;;;;:72;;1579:10;;34657:4;;34663:7;;34672:5;;34606:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34606:72:0;;;;;;;;-1:-1:-1;;34606:72:0;;;;;;;;;;;;:::i;:::-;;;34602:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34848:13:0;;34844:272;;34891:60;;-1:-1:-1;;;34891:60:0;;;;;;;:::i;34844:272::-;35066:6;35060:13;35051:6;35047:2;35043:15;35036:38;34602:529;-1:-1:-1;;;;;;34729:51:0;-1:-1:-1;;;34729:51:0;;-1:-1:-1;34722:58:0;;34566:620;-1:-1:-1;35170:4:0;34394:799;;;;;;:::o;38496:589::-;-1:-1:-1;;;;;38702:18:0;;38698:187;;38737:40;38769:7;39912:10;:17;;39885:24;;;;:15;:24;;;;;:44;;;39940:24;;;;;;;;;;;;39808:164;38737:40;38698:187;;;38807:2;-1:-1:-1;;;;;38799:10:0;:4;-1:-1:-1;;;;;38799:10:0;;38795:90;;38826:47;38859:4;38865:7;38826:32;:47::i;:::-;-1:-1:-1;;;;;38899:16:0;;38895:183;;38932:45;38969:7;38932:36;:45::i;38895:183::-;39005:4;-1:-1:-1;;;;;38999:10:0;:2;-1:-1:-1;;;;;38999:10:0;;38995:83;;39026:40;39054:2;39058:7;39026:27;:40::i;31651:382::-;-1:-1:-1;;;;;31731:16:0;;31723:61;;;;-1:-1:-1;;;31723:61:0;;16623:2:1;31723:61:0;;;16605:21:1;;;16642:18;;;16635:30;16701:34;16681:18;;;16674:62;16753:18;;31723:61:0;16421:356:1;31723:61:0;29775:4;29799:16;;;:7;:16;;;;;;-1:-1:-1;;;;;29799:16:0;:30;31795:58;;;;-1:-1:-1;;;31795:58:0;;16984:2:1;31795:58:0;;;16966:21:1;17023:2;17003:18;;;16996:30;17062;17042:18;;;17035:58;17110:18;;31795:58:0;16782:352:1;31795:58:0;31866:45;31895:1;31899:2;31903:7;31866:20;:45::i;:::-;-1:-1:-1;;;;;31924:13:0;;;;;;:9;:13;;;;;:18;;31941:1;;31924:13;:18;;31941:1;;31924:18;:::i;:::-;;;;-1:-1:-1;;31953:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;31953:21:0;-1:-1:-1;;;;;31953:21:0;;;;;;;;31992:33;;31953:16;;;31992:33;;31953:16;;31992:33;31651:382;;:::o;40599:988::-;40865:22;40915:1;40890:22;40907:4;40890:16;:22::i;:::-;:26;;;;:::i;:::-;40927:18;40948:26;;;:17;:26;;;;;;40865:51;;-1:-1:-1;41081:28:0;;;41077:328;;-1:-1:-1;;;;;41148:18:0;;41126:19;41148:18;;;:12;:18;;;;;;;;:34;;;;;;;;;41199:30;;;;;;:44;;;41316:30;;:17;:30;;;;;:43;;;41077:328;-1:-1:-1;41501:26:0;;;;:17;:26;;;;;;;;41494:33;;;-1:-1:-1;;;;;41545:18:0;;;;;:12;:18;;;;;:34;;;;;;;41538:41;40599:988::o;41882:1079::-;42160:10;:17;42135:22;;42160:21;;42180:1;;42160:21;:::i;:::-;42192:18;42213:24;;;:15;:24;;;;;;42586:10;:26;;42135:46;;-1:-1:-1;42213:24:0;;42135:46;;42586:26;;;;;;:::i;:::-;;;;;;;;;42564:48;;42650:11;42625:10;42636;42625:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;42730:28;;;:15;:28;;;;;;;:41;;;42902:24;;;;;42895:31;42937:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;41953:1008;;;41882:1079;:::o;39386:221::-;39471:14;39488:20;39505:2;39488:16;:20::i;:::-;-1:-1:-1;;;;;39519:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;39564:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;39386:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:127::-;653:10;648:3;644:20;641:1;634:31;684:4;681:1;674:15;708:4;705:1;698:15;724:632;789:5;819:18;860:2;852:6;849:14;846:40;;;866:18;;:::i;:::-;941:2;935:9;909:2;995:15;;-1:-1:-1;;991:24:1;;;1017:2;987:33;983:42;971:55;;;1041:18;;;1061:22;;;1038:46;1035:72;;;1087:18;;:::i;:::-;1127:10;1123:2;1116:22;1156:6;1147:15;;1186:6;1178;1171:22;1226:3;1217:6;1212:3;1208:16;1205:25;1202:45;;;1243:1;1240;1233:12;1202:45;1293:6;1288:3;1281:4;1273:6;1269:17;1256:44;1348:1;1341:4;1332:6;1324;1320:19;1316:30;1309:41;;;;724:632;;;;;:::o;1361:451::-;1430:6;1483:2;1471:9;1462:7;1458:23;1454:32;1451:52;;;1499:1;1496;1489:12;1451:52;1539:9;1526:23;1572:18;1564:6;1561:30;1558:50;;;1604:1;1601;1594:12;1558:50;1627:22;;1680:4;1672:13;;1668:27;-1:-1:-1;1658:55:1;;1709:1;1706;1699:12;1658:55;1732:74;1798:7;1793:2;1780:16;1775:2;1771;1767:11;1732:74;:::i;1817:258::-;1889:1;1899:113;1913:6;1910:1;1907:13;1899:113;;;1989:11;;;1983:18;1970:11;;;1963:39;1935:2;1928:10;1899:113;;;2030:6;2027:1;2024:13;2021:48;;;-1:-1:-1;;2065:1:1;2047:16;;2040:27;1817:258::o;2080:::-;2122:3;2160:5;2154:12;2187:6;2182:3;2175:19;2203:63;2259:6;2252:4;2247:3;2243:14;2236:4;2229:5;2225:16;2203:63;:::i;:::-;2320:2;2299:15;-1:-1:-1;;2295:29:1;2286:39;;;;2327:4;2282:50;;2080:258;-1:-1:-1;;2080:258:1:o;2343:220::-;2492:2;2481:9;2474:21;2455:4;2512:45;2553:2;2542:9;2538:18;2530:6;2512:45;:::i;2568:180::-;2627:6;2680:2;2668:9;2659:7;2655:23;2651:32;2648:52;;;2696:1;2693;2686:12;2648:52;-1:-1:-1;2719:23:1;;2568:180;-1:-1:-1;2568:180:1:o;2961:173::-;3029:20;;-1:-1:-1;;;;;3078:31:1;;3068:42;;3058:70;;3124:1;3121;3114:12;3058:70;2961:173;;;:::o;3139:254::-;3207:6;3215;3268:2;3256:9;3247:7;3243:23;3239:32;3236:52;;;3284:1;3281;3274:12;3236:52;3307:29;3326:9;3307:29;:::i;:::-;3297:39;3383:2;3368:18;;;;3355:32;;-1:-1:-1;;;3139:254:1:o;3580:328::-;3657:6;3665;3673;3726:2;3714:9;3705:7;3701:23;3697:32;3694:52;;;3742:1;3739;3732:12;3694:52;3765:29;3784:9;3765:29;:::i;:::-;3755:39;;3813:38;3847:2;3836:9;3832:18;3813:38;:::i;:::-;3803:48;;3898:2;3887:9;3883:18;3870:32;3860:42;;3580:328;;;;;:::o;3913:186::-;3972:6;4025:2;4013:9;4004:7;4000:23;3996:32;3993:52;;;4041:1;4038;4031:12;3993:52;4064:29;4083:9;4064:29;:::i;4104:347::-;4169:6;4177;4230:2;4218:9;4209:7;4205:23;4201:32;4198:52;;;4246:1;4243;4236:12;4198:52;4269:29;4288:9;4269:29;:::i;:::-;4259:39;;4348:2;4337:9;4333:18;4320:32;4395:5;4388:13;4381:21;4374:5;4371:32;4361:60;;4417:1;4414;4407:12;4361:60;4440:5;4430:15;;;4104:347;;;;;:::o;4456:667::-;4551:6;4559;4567;4575;4628:3;4616:9;4607:7;4603:23;4599:33;4596:53;;;4645:1;4642;4635:12;4596:53;4668:29;4687:9;4668:29;:::i;:::-;4658:39;;4716:38;4750:2;4739:9;4735:18;4716:38;:::i;:::-;4706:48;;4801:2;4790:9;4786:18;4773:32;4763:42;;4856:2;4845:9;4841:18;4828:32;4883:18;4875:6;4872:30;4869:50;;;4915:1;4912;4905:12;4869:50;4938:22;;4991:4;4983:13;;4979:27;-1:-1:-1;4969:55:1;;5020:1;5017;5010:12;4969:55;5043:74;5109:7;5104:2;5091:16;5086:2;5082;5078:11;5043:74;:::i;:::-;5033:84;;;4456:667;;;;;;;:::o;5128:260::-;5196:6;5204;5257:2;5245:9;5236:7;5232:23;5228:32;5225:52;;;5273:1;5270;5263:12;5225:52;5296:29;5315:9;5296:29;:::i;:::-;5286:39;;5344:38;5378:2;5367:9;5363:18;5344:38;:::i;:::-;5334:48;;5128:260;;;;;:::o;5393:356::-;5595:2;5577:21;;;5614:18;;;5607:30;5673:34;5668:2;5653:18;;5646:62;5740:2;5725:18;;5393:356::o;5754:380::-;5833:1;5829:12;;;;5876;;;5897:61;;5951:4;5943:6;5939:17;5929:27;;5897:61;6004:2;5996:6;5993:14;5973:18;5970:38;5967:161;;;6050:10;6045:3;6041:20;6038:1;6031:31;6085:4;6082:1;6075:15;6113:4;6110:1;6103:15;5967:161;;5754:380;;;:::o;7379:413::-;7581:2;7563:21;;;7620:2;7600:18;;;7593:30;7659:34;7654:2;7639:18;;7632:62;-1:-1:-1;;;7725:2:1;7710:18;;7703:47;7782:3;7767:19;;7379:413::o;8901:127::-;8962:10;8957:3;8953:20;8950:1;8943:31;8993:4;8990:1;8983:15;9017:4;9014:1;9007:15;9033:128;9073:3;9104:1;9100:6;9097:1;9094:13;9091:39;;;9110:18;;:::i;:::-;-1:-1:-1;9146:9:1;;9033:128::o;9507:168::-;9547:7;9613:1;9609;9605:6;9601:14;9598:1;9595:21;9590:1;9583:9;9576:17;9572:45;9569:71;;;9620:18;;:::i;:::-;-1:-1:-1;9660:9:1;;9507:168::o;10022:135::-;10061:3;-1:-1:-1;;10082:17:1;;10079:43;;;10102:18;;:::i;:::-;-1:-1:-1;10149:1:1;10138:13;;10022:135::o;10575:127::-;10636:10;10631:3;10627:20;10624:1;10617:31;10667:4;10664:1;10657:15;10691:4;10688:1;10681:15;12640:470;12819:3;12857:6;12851:13;12873:53;12919:6;12914:3;12907:4;12899:6;12895:17;12873:53;:::i;:::-;12989:13;;12948:16;;;;13011:57;12989:13;12948:16;13045:4;13033:17;;13011:57;:::i;:::-;13084:20;;12640:470;-1:-1:-1;;;;12640:470:1:o;14750:125::-;14790:4;14818:1;14815;14812:8;14809:34;;;14823:18;;:::i;:::-;-1:-1:-1;14860:9:1;;14750:125::o;14880:414::-;15082:2;15064:21;;;15121:2;15101:18;;;15094:30;15160:34;15155:2;15140:18;;15133:62;-1:-1:-1;;;15226:2:1;15211:18;;15204:48;15284:3;15269:19;;14880:414::o;15299:127::-;15360:10;15355:3;15351:20;15348:1;15341:31;15391:4;15388:1;15381:15;15415:4;15412:1;15405:15;15431:120;15471:1;15497;15487:35;;15502:18;;:::i;:::-;-1:-1:-1;15536:9:1;;15431:120::o;15556:112::-;15588:1;15614;15604:35;;15619:18;;:::i;:::-;-1:-1:-1;15653:9:1;;15556:112::o;15673:489::-;-1:-1:-1;;;;;15942:15:1;;;15924:34;;15994:15;;15989:2;15974:18;;15967:43;16041:2;16026:18;;16019:34;;;16089:3;16084:2;16069:18;;16062:31;;;15867:4;;16110:46;;16136:19;;16128:6;16110:46;:::i;:::-;16102:54;15673:489;-1:-1:-1;;;;;;15673:489:1:o;16167:249::-;16236:6;16289:2;16277:9;16268:7;16264:23;16260:32;16257:52;;;16305:1;16302;16295:12;16257:52;16337:9;16331:16;16356:30;16380:5;16356:30;:::i;17139:127::-;17200:10;17195:3;17191:20;17188:1;17181:31;17231:4;17228:1;17221:15;17255:4;17252:1;17245:15
Swarm Source
ipfs://0f0452003ebe9e56a910a955dfc134d2f142289811f71f60a0131960ba446252
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.