ERC-721
Overview
Max Total Supply
888 BTG
Holders
312
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Balance
1 BTGLoading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
BruceNFT
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; contract BruceNFT is ERC721Enumerable, Ownable { using SafeMath for uint256; // price and supply uint256 private constant _maxSupply = 888; uint256 private constant _teamReserve = 44; uint256 private _price = 0; // metadata root string private _baseTokenURI; constructor() ERC721("Bruce the Goose", "BTG") { address safe = 0x92F5FbEd1EF831d114AA41100907A5B6D1743230; transferOwnership(safe); // reserves 44 to the team (part of it goes to giveaways) require(totalSupply() == 0); uint256 supply = totalSupply(); address[4] memory team = [ safe, 0x7eC3430bCb5a44DaC10Ff20b0383517Da1c8e5c5, 0x533663563ddDb7D302Ee46A4DeFC9CaE8ACB327d, 0x87D43a2F0D29BB393D5F42d6550b618d84603ae0 ]; for (uint256 i = 0; i < _teamReserve; i++) { address recipient = team[i & 0x3]; _safeMint(recipient, supply.add(i)); } } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } // public mint function mint(uint256 num) public payable { uint256 supply = totalSupply(); require(_price > 0, "Honk"); require(num > 0 && num <= 8, "Honk!"); require(supply.add(num) <= _maxSupply, "Hooonk"); require(msg.value >= _price.mul(num), "Honk!!"); for (uint256 i = 0; i < num; i++) { _safeMint(msg.sender, supply.add(i)); } } // can be set anytime - updates metadata location function setBaseURI(string memory baseURI) public onlyOwner { _baseTokenURI = baseURI; } // update price (starts the sale) function setPrice(uint256 price) public onlyOwner { _price = price; } function getPrice() public view returns (uint256) { return _price; } // for the team function withdraw() public onlyOwner { uint256 balance = address(this).balance; require(payable(msg.sender).send(balance)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @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); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @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(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @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 {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @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; }
// SPDX-License-Identifier: MIT 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @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); }
// SPDX-License-Identifier: MIT 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); } } } }
// SPDX-License-Identifier: MIT 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); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @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; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600b553480156200001657600080fd5b50604080518082018252600f81526e42727563652074686520476f6f736560881b60208083019182528351808501909452600384526242544760e81b9084015281519192916200006991600091620009a2565b5080516200007f906001906020840190620009a2565b5050506200009c62000096620001be60201b60201c565b620001c2565b7392f5fbed1ef831d114aa41100907a5b6d1743230620000bc8162000214565b60085415620000ca57600080fd5b6000620000d660085490565b604080516080810182526001600160a01b0385168152737ec3430bcb5a44dac10ff20b0383517da1c8e5c5602082015273533663563dddb7d302ee46a4defc9cae8acb327d918101919091527387d43a2f0d29bb393d5f42d6550b618d84603ae0606082015290915060005b602c811015620001b45760008282600316600481106200017257634e487b7160e01b600052603260045260246000fd5b602002015190506200019e81620001988487620002e960201b62000e1b1790919060201c565b620002fe565b5080620001ab8162000b5d565b91505062000142565b5050505062000b91565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a546001600160a01b03163314620002745760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b038116620002db5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016200026b565b620002e681620001c2565b50565b6000620002f7828462000aeb565b9392505050565b620003208282604051806020016040528060008152506200032460201b60201c565b5050565b6200033083836200039c565b6200033f6000848484620004f2565b620003975760405162461bcd60e51b8152602060048201526032602482015260008051602062002a2f83398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016200026b565b505050565b6001600160a01b038216620003f45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016200026b565b6000818152600260205260409020546001600160a01b0316156200045b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016200026b565b62000469600083836200065b565b6001600160a01b03821660009081526003602052604081208054600192906200049490849062000aeb565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600062000513846001600160a01b03166200073760201b62000e271760201c565b156200064f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906200054d90339089908890889060040162000a72565b602060405180830381600087803b1580156200056857600080fd5b505af19250505080156200059b575060408051601f3d908101601f19168201909252620005989181019062000a48565b60015b62000634573d808015620005cc576040519150601f19603f3d011682016040523d82523d6000602084013e620005d1565b606091505b5080516200062c5760405162461bcd60e51b8152602060048201526032602482015260008051602062002a2f83398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016200026b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905062000653565b5060015b949350505050565b620006738383836200039760201b620006d61760201c565b6001600160a01b038316620006d157620006cb81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b620006f7565b816001600160a01b0316836001600160a01b031614620006f757620006f783826200073d565b6001600160a01b03821662000711576200039781620007ea565b826001600160a01b0316826001600160a01b0316146200039757620003978282620008c8565b3b151590565b6000600162000757846200091960201b6200096a1760201c565b62000763919062000b06565b600083815260076020526040902054909150808214620007b7576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090620007fe9060019062000b06565b600083815260096020526040812054600880549394509092849081106200083557634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600883815481106200086557634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480620008ac57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000620008e0836200091960201b6200096a1760201c565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160a01b038216620009865760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016200026b565b506001600160a01b031660009081526003602052604090205490565b828054620009b09062000b20565b90600052602060002090601f016020900481019282620009d4576000855562000a1f565b82601f10620009ef57805160ff191683800117855562000a1f565b8280016001018555821562000a1f579182015b8281111562000a1f57825182559160200191906001019062000a02565b5062000a2d92915062000a31565b5090565b5b8082111562000a2d576000815560010162000a32565b60006020828403121562000a5a578081fd5b81516001600160e01b031981168114620002f7578182fd5b600060018060a01b0380871683526020818716818501528560408501526080606085015284519150816080850152825b8281101562000ac05785810182015185820160a00152810162000aa2565b8281111562000ad2578360a084870101525b5050601f01601f19169190910160a00195945050505050565b6000821982111562000b015762000b0162000b7b565b500190565b60008282101562000b1b5762000b1b62000b7b565b500390565b600181811c9082168062000b3557607f821691505b6020821081141562000b5757634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141562000b745762000b7462000b7b565b5060010190565b634e487b7160e01b600052601160045260246000fd5b611e8e8062000ba16000396000f3fe60806040526004361061014b5760003560e01c806370a08231116100b6578063a0712d681161006f578063a0712d6814610392578063a22cb465146103a5578063b88d4fde146103c5578063c87b56dd146103e5578063e985e9c514610405578063f2fde38b1461044e57600080fd5b806370a08231146102f5578063715018a6146103155780638da5cb5b1461032a57806391b7f5ed1461034857806395d89b411461036857806398d5fdca1461037d57600080fd5b80632f745c59116101085780632f745c59146102405780633ccfd60b1461026057806342842e0e146102755780634f6ccce71461029557806355f804b3146102b55780636352211e146102d557600080fd5b806301ffc9a71461015057806306fdde0314610185578063081812fc146101a7578063095ea7b3146101df57806318160ddd1461020157806323b872dd14610220575b600080fd5b34801561015c57600080fd5b5061017061016b366004611aef565b61046e565b60405190151581526020015b60405180910390f35b34801561019157600080fd5b5061019a610499565b60405161017c9190611c1d565b3480156101b357600080fd5b506101c76101c2366004611b6d565b61052b565b6040516001600160a01b03909116815260200161017c565b3480156101eb57600080fd5b506101ff6101fa366004611ac6565b6105c5565b005b34801561020d57600080fd5b506008545b60405190815260200161017c565b34801561022c57600080fd5b506101ff61023b3660046119d8565b6106db565b34801561024c57600080fd5b5061021261025b366004611ac6565b61070c565b34801561026c57600080fd5b506101ff6107a2565b34801561028157600080fd5b506101ff6102903660046119d8565b6107f6565b3480156102a157600080fd5b506102126102b0366004611b6d565b610811565b3480156102c157600080fd5b506101ff6102d0366004611b27565b6108b2565b3480156102e157600080fd5b506101c76102f0366004611b6d565b6108f3565b34801561030157600080fd5b5061021261031036600461198c565b61096a565b34801561032157600080fd5b506101ff6109f1565b34801561033657600080fd5b50600a546001600160a01b03166101c7565b34801561035457600080fd5b506101ff610363366004611b6d565b610a27565b34801561037457600080fd5b5061019a610a56565b34801561038957600080fd5b50600b54610212565b6101ff6103a0366004611b6d565b610a65565b3480156103b157600080fd5b506101ff6103c0366004611a8c565b610bab565b3480156103d157600080fd5b506101ff6103e0366004611a13565b610c70565b3480156103f157600080fd5b5061019a610400366004611b6d565b610ca8565b34801561041157600080fd5b506101706104203660046119a6565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561045a57600080fd5b506101ff61046936600461198c565b610d83565b60006001600160e01b0319821663780e9d6360e01b1480610493575061049382610e2d565b92915050565b6060600080546104a890611d96565b80601f01602080910402602001604051908101604052809291908181526020018280546104d490611d96565b80156105215780601f106104f657610100808354040283529160200191610521565b820191906000526020600020905b81548152906001019060200180831161050457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105a95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105d0826108f3565b9050806001600160a01b0316836001600160a01b0316141561063e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105a0565b336001600160a01b038216148061065a575061065a8133610420565b6106cc5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105a0565b6106d68383610e7d565b505050565b6106e53382610eeb565b6107015760405162461bcd60e51b81526004016105a090611cb7565b6106d6838383610fe2565b60006107178361096a565b82106107795760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016105a0565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146107cc5760405162461bcd60e51b81526004016105a090611c82565b6040514790339082156108fc029083906000818181858888f193505050506107f357600080fd5b50565b6106d683838360405180602001604052806000815250610c70565b600061081c60085490565b821061087f5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016105a0565b600882815481106108a057634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b031633146108dc5760405162461bcd60e51b81526004016105a090611c82565b80516108ef90600c906020840190611861565b5050565b6000818152600260205260408120546001600160a01b0316806104935760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105a0565b60006001600160a01b0382166109d55760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105a0565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610a1b5760405162461bcd60e51b81526004016105a090611c82565b610a25600061118d565b565b600a546001600160a01b03163314610a515760405162461bcd60e51b81526004016105a090611c82565b600b55565b6060600180546104a890611d96565b6000610a7060085490565b90506000600b5411610aad5760405162461bcd60e51b81526004016105a090602080825260049082015263486f6e6b60e01b604082015260600190565b600082118015610abe575060088211155b610af25760405162461bcd60e51b8152602060048201526005602482015264486f6e6b2160d81b60448201526064016105a0565b610378610aff8284610e1b565b1115610b365760405162461bcd60e51b8152602060048201526006602482015265486f6f6f6e6b60d01b60448201526064016105a0565b600b54610b4390836111df565b341015610b7b5760405162461bcd60e51b8152602060048201526006602482015265486f6e6b212160d01b60448201526064016105a0565b60005b828110156106d657610b9933610b948484610e1b565b6111eb565b80610ba381611dd1565b915050610b7e565b6001600160a01b038216331415610c045760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105a0565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c7a3383610eeb565b610c965760405162461bcd60e51b81526004016105a090611cb7565b610ca284848484611205565b50505050565b6000818152600260205260409020546060906001600160a01b0316610d275760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016105a0565b6000610d31611238565b90506000815111610d515760405180602001604052806000815250610d7c565b80610d5b84611247565b604051602001610d6c929190611bb1565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314610dad5760405162461bcd60e51b81526004016105a090611c82565b6001600160a01b038116610e125760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105a0565b6107f38161118d565b6000610d7c8284611d08565b3b151590565b60006001600160e01b031982166380ac58cd60e01b1480610e5e57506001600160e01b03198216635b5e139f60e01b145b8061049357506301ffc9a760e01b6001600160e01b0319831614610493565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610eb2826108f3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610f645760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105a0565b6000610f6f836108f3565b9050806001600160a01b0316846001600160a01b03161480610faa5750836001600160a01b0316610f9f8461052b565b6001600160a01b0316145b80610fda57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610ff5826108f3565b6001600160a01b03161461105d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016105a0565b6001600160a01b0382166110bf5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105a0565b6110ca838383611361565b6110d5600082610e7d565b6001600160a01b03831660009081526003602052604081208054600192906110fe908490611d53565b90915550506001600160a01b038216600090815260036020526040812080546001929061112c908490611d08565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610d7c8284611d34565b6108ef828260405180602001604052806000815250611419565b611210848484610fe2565b61121c8484848461144c565b610ca25760405162461bcd60e51b81526004016105a090611c30565b6060600c80546104a890611d96565b60608161126b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611295578061127f81611dd1565b915061128e9050600a83611d20565b915061126f565b60008167ffffffffffffffff8111156112be57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156112e8576020820181803683370190505b5090505b8415610fda576112fd600183611d53565b915061130a600a86611dec565b611315906030611d08565b60f81b81838151811061133857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061135a600a86611d20565b94506112ec565b6001600160a01b0383166113bc576113b781600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6113df565b816001600160a01b0316836001600160a01b0316146113df576113df8382611559565b6001600160a01b0382166113f6576106d6816115f6565b826001600160a01b0316826001600160a01b0316146106d6576106d682826116cf565b6114238383611713565b611430600084848461144c565b6106d65760405162461bcd60e51b81526004016105a090611c30565b60006001600160a01b0384163b1561154e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611490903390899088908890600401611be0565b602060405180830381600087803b1580156114aa57600080fd5b505af19250505080156114da575060408051601f3d908101601f191682019092526114d791810190611b0b565b60015b611534573d808015611508576040519150601f19603f3d011682016040523d82523d6000602084013e61150d565b606091505b50805161152c5760405162461bcd60e51b81526004016105a090611c30565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610fda565b506001949350505050565b600060016115668461096a565b6115709190611d53565b6000838152600760205260409020549091508082146115c3576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061160890600190611d53565b6000838152600960205260408120546008805493945090928490811061163e57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061166d57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806116b357634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006116da8361096a565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166117695760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105a0565b6000818152600260205260409020546001600160a01b0316156117ce5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105a0565b6117da60008383611361565b6001600160a01b0382166000908152600360205260408120805460019290611803908490611d08565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461186d90611d96565b90600052602060002090601f01602090048101928261188f57600085556118d5565b82601f106118a857805160ff19168380011785556118d5565b828001600101855582156118d5579182015b828111156118d55782518255916020019190600101906118ba565b506118e19291506118e5565b5090565b5b808211156118e157600081556001016118e6565b600067ffffffffffffffff8084111561191557611915611e2c565b604051601f8501601f19908116603f0116810190828211818310171561193d5761193d611e2c565b8160405280935085815286868601111561195657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461198757600080fd5b919050565b60006020828403121561199d578081fd5b610d7c82611970565b600080604083850312156119b8578081fd5b6119c183611970565b91506119cf60208401611970565b90509250929050565b6000806000606084860312156119ec578081fd5b6119f584611970565b9250611a0360208501611970565b9150604084013590509250925092565b60008060008060808587031215611a28578081fd5b611a3185611970565b9350611a3f60208601611970565b925060408501359150606085013567ffffffffffffffff811115611a61578182fd5b8501601f81018713611a71578182fd5b611a80878235602084016118fa565b91505092959194509250565b60008060408385031215611a9e578182fd5b611aa783611970565b915060208301358015158114611abb578182fd5b809150509250929050565b60008060408385031215611ad8578182fd5b611ae183611970565b946020939093013593505050565b600060208284031215611b00578081fd5b8135610d7c81611e42565b600060208284031215611b1c578081fd5b8151610d7c81611e42565b600060208284031215611b38578081fd5b813567ffffffffffffffff811115611b4e578182fd5b8201601f81018413611b5e578182fd5b610fda848235602084016118fa565b600060208284031215611b7e578081fd5b5035919050565b60008151808452611b9d816020860160208601611d6a565b601f01601f19169290920160200192915050565b60008351611bc3818460208801611d6a565b835190830190611bd7818360208801611d6a565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c1390830184611b85565b9695505050505050565b602081526000610d7c6020830184611b85565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611d1b57611d1b611e00565b500190565b600082611d2f57611d2f611e16565b500490565b6000816000190483118215151615611d4e57611d4e611e00565b500290565b600082821015611d6557611d65611e00565b500390565b60005b83811015611d85578181015183820152602001611d6d565b83811115610ca25750506000910152565b600181811c90821680611daa57607f821691505b60208210811415611dcb57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611de557611de5611e00565b5060010190565b600082611dfb57611dfb611e16565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146107f357600080fdfea26469706673582212202606dac61407b3f914d8a84c28bbb48a70ec2b597cb5ca5fdeff0aa51cf2b74564736f6c634300080400334552433732313a207472616e7366657220746f206e6f6e204552433732315265
Deployed Bytecode
0x60806040526004361061014b5760003560e01c806370a08231116100b6578063a0712d681161006f578063a0712d6814610392578063a22cb465146103a5578063b88d4fde146103c5578063c87b56dd146103e5578063e985e9c514610405578063f2fde38b1461044e57600080fd5b806370a08231146102f5578063715018a6146103155780638da5cb5b1461032a57806391b7f5ed1461034857806395d89b411461036857806398d5fdca1461037d57600080fd5b80632f745c59116101085780632f745c59146102405780633ccfd60b1461026057806342842e0e146102755780634f6ccce71461029557806355f804b3146102b55780636352211e146102d557600080fd5b806301ffc9a71461015057806306fdde0314610185578063081812fc146101a7578063095ea7b3146101df57806318160ddd1461020157806323b872dd14610220575b600080fd5b34801561015c57600080fd5b5061017061016b366004611aef565b61046e565b60405190151581526020015b60405180910390f35b34801561019157600080fd5b5061019a610499565b60405161017c9190611c1d565b3480156101b357600080fd5b506101c76101c2366004611b6d565b61052b565b6040516001600160a01b03909116815260200161017c565b3480156101eb57600080fd5b506101ff6101fa366004611ac6565b6105c5565b005b34801561020d57600080fd5b506008545b60405190815260200161017c565b34801561022c57600080fd5b506101ff61023b3660046119d8565b6106db565b34801561024c57600080fd5b5061021261025b366004611ac6565b61070c565b34801561026c57600080fd5b506101ff6107a2565b34801561028157600080fd5b506101ff6102903660046119d8565b6107f6565b3480156102a157600080fd5b506102126102b0366004611b6d565b610811565b3480156102c157600080fd5b506101ff6102d0366004611b27565b6108b2565b3480156102e157600080fd5b506101c76102f0366004611b6d565b6108f3565b34801561030157600080fd5b5061021261031036600461198c565b61096a565b34801561032157600080fd5b506101ff6109f1565b34801561033657600080fd5b50600a546001600160a01b03166101c7565b34801561035457600080fd5b506101ff610363366004611b6d565b610a27565b34801561037457600080fd5b5061019a610a56565b34801561038957600080fd5b50600b54610212565b6101ff6103a0366004611b6d565b610a65565b3480156103b157600080fd5b506101ff6103c0366004611a8c565b610bab565b3480156103d157600080fd5b506101ff6103e0366004611a13565b610c70565b3480156103f157600080fd5b5061019a610400366004611b6d565b610ca8565b34801561041157600080fd5b506101706104203660046119a6565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561045a57600080fd5b506101ff61046936600461198c565b610d83565b60006001600160e01b0319821663780e9d6360e01b1480610493575061049382610e2d565b92915050565b6060600080546104a890611d96565b80601f01602080910402602001604051908101604052809291908181526020018280546104d490611d96565b80156105215780601f106104f657610100808354040283529160200191610521565b820191906000526020600020905b81548152906001019060200180831161050457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105a95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105d0826108f3565b9050806001600160a01b0316836001600160a01b0316141561063e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105a0565b336001600160a01b038216148061065a575061065a8133610420565b6106cc5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105a0565b6106d68383610e7d565b505050565b6106e53382610eeb565b6107015760405162461bcd60e51b81526004016105a090611cb7565b6106d6838383610fe2565b60006107178361096a565b82106107795760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016105a0565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146107cc5760405162461bcd60e51b81526004016105a090611c82565b6040514790339082156108fc029083906000818181858888f193505050506107f357600080fd5b50565b6106d683838360405180602001604052806000815250610c70565b600061081c60085490565b821061087f5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016105a0565b600882815481106108a057634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b031633146108dc5760405162461bcd60e51b81526004016105a090611c82565b80516108ef90600c906020840190611861565b5050565b6000818152600260205260408120546001600160a01b0316806104935760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105a0565b60006001600160a01b0382166109d55760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105a0565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610a1b5760405162461bcd60e51b81526004016105a090611c82565b610a25600061118d565b565b600a546001600160a01b03163314610a515760405162461bcd60e51b81526004016105a090611c82565b600b55565b6060600180546104a890611d96565b6000610a7060085490565b90506000600b5411610aad5760405162461bcd60e51b81526004016105a090602080825260049082015263486f6e6b60e01b604082015260600190565b600082118015610abe575060088211155b610af25760405162461bcd60e51b8152602060048201526005602482015264486f6e6b2160d81b60448201526064016105a0565b610378610aff8284610e1b565b1115610b365760405162461bcd60e51b8152602060048201526006602482015265486f6f6f6e6b60d01b60448201526064016105a0565b600b54610b4390836111df565b341015610b7b5760405162461bcd60e51b8152602060048201526006602482015265486f6e6b212160d01b60448201526064016105a0565b60005b828110156106d657610b9933610b948484610e1b565b6111eb565b80610ba381611dd1565b915050610b7e565b6001600160a01b038216331415610c045760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105a0565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c7a3383610eeb565b610c965760405162461bcd60e51b81526004016105a090611cb7565b610ca284848484611205565b50505050565b6000818152600260205260409020546060906001600160a01b0316610d275760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016105a0565b6000610d31611238565b90506000815111610d515760405180602001604052806000815250610d7c565b80610d5b84611247565b604051602001610d6c929190611bb1565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314610dad5760405162461bcd60e51b81526004016105a090611c82565b6001600160a01b038116610e125760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105a0565b6107f38161118d565b6000610d7c8284611d08565b3b151590565b60006001600160e01b031982166380ac58cd60e01b1480610e5e57506001600160e01b03198216635b5e139f60e01b145b8061049357506301ffc9a760e01b6001600160e01b0319831614610493565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610eb2826108f3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610f645760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105a0565b6000610f6f836108f3565b9050806001600160a01b0316846001600160a01b03161480610faa5750836001600160a01b0316610f9f8461052b565b6001600160a01b0316145b80610fda57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610ff5826108f3565b6001600160a01b03161461105d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016105a0565b6001600160a01b0382166110bf5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105a0565b6110ca838383611361565b6110d5600082610e7d565b6001600160a01b03831660009081526003602052604081208054600192906110fe908490611d53565b90915550506001600160a01b038216600090815260036020526040812080546001929061112c908490611d08565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610d7c8284611d34565b6108ef828260405180602001604052806000815250611419565b611210848484610fe2565b61121c8484848461144c565b610ca25760405162461bcd60e51b81526004016105a090611c30565b6060600c80546104a890611d96565b60608161126b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611295578061127f81611dd1565b915061128e9050600a83611d20565b915061126f565b60008167ffffffffffffffff8111156112be57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156112e8576020820181803683370190505b5090505b8415610fda576112fd600183611d53565b915061130a600a86611dec565b611315906030611d08565b60f81b81838151811061133857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061135a600a86611d20565b94506112ec565b6001600160a01b0383166113bc576113b781600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6113df565b816001600160a01b0316836001600160a01b0316146113df576113df8382611559565b6001600160a01b0382166113f6576106d6816115f6565b826001600160a01b0316826001600160a01b0316146106d6576106d682826116cf565b6114238383611713565b611430600084848461144c565b6106d65760405162461bcd60e51b81526004016105a090611c30565b60006001600160a01b0384163b1561154e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611490903390899088908890600401611be0565b602060405180830381600087803b1580156114aa57600080fd5b505af19250505080156114da575060408051601f3d908101601f191682019092526114d791810190611b0b565b60015b611534573d808015611508576040519150601f19603f3d011682016040523d82523d6000602084013e61150d565b606091505b50805161152c5760405162461bcd60e51b81526004016105a090611c30565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610fda565b506001949350505050565b600060016115668461096a565b6115709190611d53565b6000838152600760205260409020549091508082146115c3576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061160890600190611d53565b6000838152600960205260408120546008805493945090928490811061163e57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061166d57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806116b357634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006116da8361096a565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166117695760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105a0565b6000818152600260205260409020546001600160a01b0316156117ce5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105a0565b6117da60008383611361565b6001600160a01b0382166000908152600360205260408120805460019290611803908490611d08565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461186d90611d96565b90600052602060002090601f01602090048101928261188f57600085556118d5565b82601f106118a857805160ff19168380011785556118d5565b828001600101855582156118d5579182015b828111156118d55782518255916020019190600101906118ba565b506118e19291506118e5565b5090565b5b808211156118e157600081556001016118e6565b600067ffffffffffffffff8084111561191557611915611e2c565b604051601f8501601f19908116603f0116810190828211818310171561193d5761193d611e2c565b8160405280935085815286868601111561195657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461198757600080fd5b919050565b60006020828403121561199d578081fd5b610d7c82611970565b600080604083850312156119b8578081fd5b6119c183611970565b91506119cf60208401611970565b90509250929050565b6000806000606084860312156119ec578081fd5b6119f584611970565b9250611a0360208501611970565b9150604084013590509250925092565b60008060008060808587031215611a28578081fd5b611a3185611970565b9350611a3f60208601611970565b925060408501359150606085013567ffffffffffffffff811115611a61578182fd5b8501601f81018713611a71578182fd5b611a80878235602084016118fa565b91505092959194509250565b60008060408385031215611a9e578182fd5b611aa783611970565b915060208301358015158114611abb578182fd5b809150509250929050565b60008060408385031215611ad8578182fd5b611ae183611970565b946020939093013593505050565b600060208284031215611b00578081fd5b8135610d7c81611e42565b600060208284031215611b1c578081fd5b8151610d7c81611e42565b600060208284031215611b38578081fd5b813567ffffffffffffffff811115611b4e578182fd5b8201601f81018413611b5e578182fd5b610fda848235602084016118fa565b600060208284031215611b7e578081fd5b5035919050565b60008151808452611b9d816020860160208601611d6a565b601f01601f19169290920160200192915050565b60008351611bc3818460208801611d6a565b835190830190611bd7818360208801611d6a565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c1390830184611b85565b9695505050505050565b602081526000610d7c6020830184611b85565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611d1b57611d1b611e00565b500190565b600082611d2f57611d2f611e16565b500490565b6000816000190483118215151615611d4e57611d4e611e00565b500290565b600082821015611d6557611d65611e00565b500390565b60005b83811015611d85578181015183820152602001611d6d565b83811115610ca25750506000910152565b600181811c90821680611daa57607f821691505b60208210811415611dcb57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611de557611de5611e00565b5060010190565b600082611dfb57611dfb611e16565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146107f357600080fdfea26469706673582212202606dac61407b3f914d8a84c28bbb48a70ec2b597cb5ca5fdeff0aa51cf2b74564736f6c63430008040033
Deployed Bytecode Sourcemap
248:2100:13:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;910:222:4;;;;;;;;;;-1:-1:-1;910:222:4;;;;;:::i;:::-;;:::i;:::-;;;5796:14:14;;5789:22;5771:41;;5759:2;5744:18;910:222:4;;;;;;;;2414:98:1;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;3925:217::-;;;;;;;;;;-1:-1:-1;3925:217:1;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5094:32:14;;;5076:51;;5064:2;5049:18;3925:217:1;5031:102:14;3463:401:1;;;;;;;;;;-1:-1:-1;3463:401:1;;;;;:::i;:::-;;:::i;:::-;;1535:111:4;;;;;;;;;;-1:-1:-1;1622:10:4;:17;1535:111;;;14733:25:14;;;14721:2;14706:18;1535:111:4;14688:76:14;4789:330:1;;;;;;;;;;-1:-1:-1;4789:330:1;;;;;:::i;:::-;;:::i;1211:253:4:-;;;;;;;;;;-1:-1:-1;1211:253:4;;;;;:::i;:::-;;:::i;2201:145:13:-;;;;;;;;;;;;;:::i;5185:179:1:-;;;;;;;;;;-1:-1:-1;5185:179:1;;;;;:::i;:::-;;:::i;1718:230:4:-;;;;;;;;;;-1:-1:-1;1718:230:4;;;;;:::i;:::-;;:::i;1860:100:13:-;;;;;;;;;;-1:-1:-1;1860:100:13;;;;;:::i;:::-;;:::i;2117:235:1:-;;;;;;;;;;-1:-1:-1;2117:235:1;;;;;:::i;:::-;;:::i;1855:205::-;;;;;;;;;;-1:-1:-1;1855:205:1;;;;;:::i;:::-;;:::i;1605:92:0:-;;;;;;;;;;;;;:::i;973:85::-;;;;;;;;;;-1:-1:-1;1045:6:0;;-1:-1:-1;;;;;1045:6:0;973:85;;2008:81:13;;;;;;;;;;-1:-1:-1;2008:81:13;;;;;:::i;:::-;;:::i;2576:102:1:-;;;;;;;;;;;;;:::i;2095:80:13:-;;;;;;;;;;-1:-1:-1;2162:6:13;;2095:80;;1394:402;;;;;;:::i;:::-;;:::i;4209:290:1:-;;;;;;;;;;-1:-1:-1;4209:290:1;;;;;:::i;:::-;;:::i;5430:320::-;;;;;;;;;;-1:-1:-1;5430:320:1;;;;;:::i;:::-;;:::i;2744:329::-;;;;;;;;;;-1:-1:-1;2744:329:1;;;;;:::i;:::-;;:::i;4565:162::-;;;;;;;;;;-1:-1:-1;4565:162:1;;;;;:::i;:::-;-1:-1:-1;;;;;4685:25:1;;;4662:4;4685:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4565:162;1846:189:0;;;;;;;;;;-1:-1:-1;1846:189:0;;;;;:::i;:::-;;:::i;910:222:4:-;1012:4;-1:-1:-1;;;;;;1035:50:4;;-1:-1:-1;;;1035:50:4;;:90;;;1089:36;1113:11;1089:23;:36::i;:::-;1028:97;910:222;-1:-1:-1;;910:222:4:o;2414:98:1:-;2468:13;2500:5;2493:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2414:98;:::o;3925:217::-;4001:7;7310:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7310:16:1;4020:73;;;;-1:-1:-1;;;4020:73:1;;10957:2:14;4020:73:1;;;10939:21:14;10996:2;10976:18;;;10969:30;11035:34;11015:18;;;11008:62;-1:-1:-1;;;11086:18:14;;;11079:42;11138:19;;4020:73:1;;;;;;;;;-1:-1:-1;4111:24:1;;;;:15;:24;;;;;;-1:-1:-1;;;;;4111:24:1;;3925:217::o;3463:401::-;3543:13;3559:23;3574:7;3559:14;:23::i;:::-;3543:39;;3606:5;-1:-1:-1;;;;;3600:11:1;:2;-1:-1:-1;;;;;3600:11:1;;;3592:57;;;;-1:-1:-1;;;3592:57:1;;12891:2:14;3592:57:1;;;12873:21:14;12930:2;12910:18;;;12903:30;12969:34;12949:18;;;12942:62;-1:-1:-1;;;13020:18:14;;;13013:31;13061:19;;3592:57:1;12863:223:14;3592:57:1;666:10:8;-1:-1:-1;;;;;3681:21:1;;;;:62;;-1:-1:-1;3706:37:1;3723:5;666:10:8;4565:162:1;:::i;3706:37::-;3660:165;;;;-1:-1:-1;;;3660:165:1;;9350:2:14;3660:165:1;;;9332:21:14;9389:2;9369:18;;;9362:30;9428:34;9408:18;;;9401:62;9499:26;9479:18;;;9472:54;9543:19;;3660:165:1;9322:246:14;3660:165:1;3836:21;3845:2;3849:7;3836:8;:21::i;:::-;3463:401;;;:::o;4789:330::-;4978:41;666:10:8;5011:7:1;4978:18;:41::i;:::-;4970:103;;;;-1:-1:-1;;;4970:103:1;;;;;;;:::i;:::-;5084:28;5094:4;5100:2;5104:7;5084:9;:28::i;1211:253:4:-;1308:7;1343:23;1360:5;1343:16;:23::i;:::-;1335:5;:31;1327:87;;;;-1:-1:-1;;;1327:87:4;;6249:2:14;1327:87:4;;;6231:21:14;6288:2;6268:18;;;6261:30;6327:34;6307:18;;;6300:62;-1:-1:-1;;;6378:18:14;;;6371:41;6429:19;;1327:87:4;6221:233:14;1327:87:4;-1:-1:-1;;;;;;1431:19:4;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1211:253::o;2201:145:13:-;1045:6:0;;-1:-1:-1;;;;;1045:6:0;666:10:8;1185:23:0;1177:68;;;;-1:-1:-1;;;1177:68:0;;;;;;;:::i;:::-;2305:33:13::1;::::0;2266:21:::1;::::0;2313:10:::1;::::0;2305:33;::::1;;;::::0;2266:21;;2248:15:::1;2305:33:::0;2248:15;2305:33;2266:21;2313:10;2305:33;::::1;;;;;;2297:42;;;::::0;::::1;;1255:1:0;2201:145:13:o:0;5185:179:1:-;5318:39;5335:4;5341:2;5345:7;5318:39;;;;;;;;;;;;:16;:39::i;1718:230:4:-;1793:7;1828:30;1622:10;:17;;1535:111;1828:30;1820:5;:38;1812:95;;;;-1:-1:-1;;;1812:95:4;;14044:2:14;1812:95:4;;;14026:21:14;14083:2;14063:18;;;14056:30;14122:34;14102:18;;;14095:62;-1:-1:-1;;;14173:18:14;;;14166:42;14225:19;;1812:95:4;14016:234:14;1812:95:4;1924:10;1935:5;1924:17;;;;;;-1:-1:-1;;;1924:17:4;;;;;;;;;;;;;;;;;1917:24;;1718:230;;;:::o;1860:100:13:-;1045:6:0;;-1:-1:-1;;;;;1045:6:0;666:10:8;1185:23:0;1177:68;;;;-1:-1:-1;;;1177:68:0;;;;;;;:::i;:::-;1930:23:13;;::::1;::::0;:13:::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;:::-;;1860:100:::0;:::o;2117:235:1:-;2189:7;2224:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2224:16:1;2258:19;2250:73;;;;-1:-1:-1;;;2250:73:1;;10186:2:14;2250:73:1;;;10168:21:14;10225:2;10205:18;;;10198:30;10264:34;10244:18;;;10237:62;-1:-1:-1;;;10315:18:14;;;10308:39;10364:19;;2250:73:1;10158:231:14;1855:205:1;1927:7;-1:-1:-1;;;;;1954:19:1;;1946:74;;;;-1:-1:-1;;;1946:74:1;;9775:2:14;1946:74:1;;;9757:21:14;9814:2;9794:18;;;9787:30;9853:34;9833:18;;;9826:62;-1:-1:-1;;;9904:18:14;;;9897:40;9954:19;;1946:74:1;9747:232:14;1946:74:1;-1:-1:-1;;;;;;2037:16:1;;;;;:9;:16;;;;;;;1855:205::o;1605:92:0:-;1045:6;;-1:-1:-1;;;;;1045:6:0;666:10:8;1185:23:0;1177:68;;;;-1:-1:-1;;;1177:68:0;;;;;;;:::i;:::-;1669:21:::1;1687:1;1669:9;:21::i;:::-;1605:92::o:0;2008:81:13:-;1045:6:0;;-1:-1:-1;;;;;1045:6:0;666:10:8;1185:23:0;1177:68;;;;-1:-1:-1;;;1177:68:0;;;;;;;:::i;:::-;2068:6:13::1;:14:::0;2008:81::o;2576:102:1:-;2632:13;2664:7;2657:14;;;;;:::i;1394:402:13:-;1446:14;1463:13;1622:10:4;:17;;1535:111;1463:13:13;1446:30;;1512:1;1503:6;;:10;1495:27;;;;-1:-1:-1;;;1495:27:13;;;;;;14457:2:14;14439:21;;;14496:1;14476:18;;;14469:29;-1:-1:-1;;;14529:2:14;14514:18;;14507:34;14573:2;14558:18;;14429:153;1495:27:13;1546:1;1540:3;:7;:19;;;;;1558:1;1551:3;:8;;1540:19;1532:37;;;;-1:-1:-1;;;1532:37:13;;13711:2:14;1532:37:13;;;13693:21:14;13750:1;13730:18;;;13723:29;-1:-1:-1;;;13768:18:14;;;13761:35;13813:18;;1532:37:13;13683:154:14;1532:37:13;400:3;1587:15;:6;1598:3;1587:10;:15::i;:::-;:29;;1579:48;;;;-1:-1:-1;;;1579:48:13;;7844:2:14;1579:48:13;;;7826:21:14;7883:1;7863:18;;;7856:29;-1:-1:-1;;;7901:18:14;;;7894:36;7947:18;;1579:48:13;7816:155:14;1579:48:13;1658:6;;:15;;1669:3;1658:10;:15::i;:::-;1645:9;:28;;1637:47;;;;-1:-1:-1;;;1637:47:13;;12557:2:14;1637:47:13;;;12539:21:14;12596:1;12576:18;;;12569:29;-1:-1:-1;;;12614:18:14;;;12607:36;12660:18;;1637:47:13;12529:155:14;1637:47:13;1700:9;1695:95;1719:3;1715:1;:7;1695:95;;;1743:36;1753:10;1765:13;:6;1776:1;1765:10;:13::i;:::-;1743:9;:36::i;:::-;1724:3;;;;:::i;:::-;;;;1695:95;;4209:290:1;-1:-1:-1;;;;;4311:24:1;;666:10:8;4311:24:1;;4303:62;;;;-1:-1:-1;;;4303:62:1;;8583:2:14;4303:62:1;;;8565:21:14;8622:2;8602:18;;;8595:30;8661:27;8641:18;;;8634:55;8706:18;;4303:62:1;8555:175:14;4303:62:1;666:10:8;4376:32:1;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;4376:42:1;;;;;;;;;;;;:53;;-1:-1:-1;;4376:53:1;;;;;;;;;;4444:48;;5771:41:14;;;4376:42:1;;666:10:8;4444:48:1;;5744:18:14;4444:48:1;;;;;;;4209:290;;:::o;5430:320::-;5599:41;666:10:8;5632:7:1;5599:18;:41::i;:::-;5591:103;;;;-1:-1:-1;;;5591:103:1;;;;;;;:::i;:::-;5704:39;5718:4;5724:2;5728:7;5737:5;5704:13;:39::i;:::-;5430:320;;;;:::o;2744:329::-;7287:4;7310:16;;;:7;:16;;;;;;2817:13;;-1:-1:-1;;;;;7310:16:1;2842:76;;;;-1:-1:-1;;;2842:76:1;;12141:2:14;2842:76:1;;;12123:21:14;12180:2;12160:18;;;12153:30;12219:34;12199:18;;;12192:62;-1:-1:-1;;;12270:18:14;;;12263:45;12325:19;;2842:76:1;12113:237:14;2842:76:1;2929:21;2953:10;:8;:10::i;:::-;2929:34;;3004:1;2986:7;2980:21;:25;:86;;;;;;;;;;;;;;;;;3032:7;3041:18;:7;:16;:18::i;:::-;3015:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2980:86;2973:93;2744:329;-1:-1:-1;;;2744:329:1:o;1846:189:0:-;1045:6;;-1:-1:-1;;;;;1045:6:0;666:10:8;1185:23:0;1177:68;;;;-1:-1:-1;;;1177:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;1934:22:0;::::1;1926:73;;;::::0;-1:-1:-1;;;1926:73:0;;7080:2:14;1926:73:0::1;::::0;::::1;7062:21:14::0;7119:2;7099:18;;;7092:30;7158:34;7138:18;;;7131:62;-1:-1:-1;;;7209:18:14;;;7202:36;7255:19;;1926:73:0::1;7052:228:14::0;1926:73:0::1;2009:19;2019:8;2009:9;:19::i;2672:96:12:-:0;2730:7;2756:5;2760:1;2756;:5;:::i;718:377:7:-;1034:20;1080:8;;;718:377::o;1496:300:1:-;1598:4;-1:-1:-1;;;;;;1633:40:1;;-1:-1:-1;;;1633:40:1;;:104;;-1:-1:-1;;;;;;;1689:48:1;;-1:-1:-1;;;1689:48:1;1633:104;:156;;;-1:-1:-1;;;;;;;;;;871:40:10;;;1753:36:1;763:155:10;11073:171:1;11147:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11147:29:1;-1:-1:-1;;;;;11147:29:1;;;;;;;;:24;;11200:23;11147:24;11200:14;:23::i;:::-;-1:-1:-1;;;;;11191:46:1;;;;;;;;;;;11073:171;;:::o;7505:344::-;7598:4;7310:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7310:16:1;7614:73;;;;-1:-1:-1;;;7614:73:1;;8937:2:14;7614:73:1;;;8919:21:14;8976:2;8956:18;;;8949:30;9015:34;8995:18;;;8988:62;-1:-1:-1;;;9066:18:14;;;9059:42;9118:19;;7614:73:1;8909:234:14;7614:73:1;7697:13;7713:23;7728:7;7713:14;:23::i;:::-;7697:39;;7765:5;-1:-1:-1;;;;;7754:16:1;:7;-1:-1:-1;;;;;7754:16:1;;:51;;;;7798:7;-1:-1:-1;;;;;7774:31:1;:20;7786:7;7774:11;:20::i;:::-;-1:-1:-1;;;;;7774:31:1;;7754:51;:87;;;-1:-1:-1;;;;;;4685:25:1;;;4662:4;4685:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7809:32;7746:96;7505:344;-1:-1:-1;;;;7505:344:1:o;10402:560::-;10556:4;-1:-1:-1;;;;;10529:31:1;:23;10544:7;10529:14;:23::i;:::-;-1:-1:-1;;;;;10529:31:1;;10521:85;;;;-1:-1:-1;;;10521:85:1;;11731:2:14;10521:85:1;;;11713:21:14;11770:2;11750:18;;;11743:30;11809:34;11789:18;;;11782:62;-1:-1:-1;;;11860:18:14;;;11853:39;11909:19;;10521:85:1;11703:231:14;10521:85:1;-1:-1:-1;;;;;10624:16:1;;10616:65;;;;-1:-1:-1;;;10616:65:1;;8178:2:14;10616:65:1;;;8160:21:14;8217:2;8197:18;;;8190:30;8256:34;8236:18;;;8229:62;-1:-1:-1;;;8307:18:14;;;8300:34;8351:19;;10616:65:1;8150:226:14;10616:65:1;10692:39;10713:4;10719:2;10723:7;10692:20;:39::i;:::-;10793:29;10810:1;10814:7;10793:8;:29::i;:::-;-1:-1:-1;;;;;10833:15:1;;;;;;:9;:15;;;;;:20;;10852:1;;10833:15;:20;;10852:1;;10833:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10863:13:1;;;;;;:9;:13;;;;;:18;;10880:1;;10863:13;:18;;10880:1;;10863:18;:::i;:::-;;;;-1:-1:-1;;10891:16:1;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10891:21:1;-1:-1:-1;;;;;10891:21:1;;;;;;;;;10928:27;;10891:16;;10928:27;;;;;;;10402:560;;;:::o;2041:169:0:-;2115:6;;;-1:-1:-1;;;;;2131:17:0;;;-1:-1:-1;;;;;;2131:17:0;;;;;;;2163:40;;2115:6;;;2131:17;2115:6;;2163:40;;2096:16;;2163:40;2041:169;;:::o;3382:96:12:-;3440:7;3466:5;3470:1;3466;:5;:::i;8179:108:1:-;8254:26;8264:2;8268:7;8254:26;;;;;;;;;;;;:9;:26::i;6612:307::-;6763:28;6773:4;6779:2;6783:7;6763:9;:28::i;:::-;6809:48;6832:4;6838:2;6842:7;6851:5;6809:22;:48::i;:::-;6801:111;;;;-1:-1:-1;;;6801:111:1;;;;;;;:::i;1257:112:13:-;1317:13;1349;1342:20;;;;;:::i;275:703:9:-;331:13;548:10;544:51;;-1:-1:-1;;574:10:9;;;;;;;;;;;;-1:-1:-1;;;574:10:9;;;;;275:703::o;544:51::-;619:5;604:12;658:75;665:9;;658:75;;690:8;;;;:::i;:::-;;-1:-1:-1;712:10:9;;-1:-1:-1;720:2:9;712:10;;:::i;:::-;;;658:75;;;742:19;774:6;764:17;;;;;;-1:-1:-1;;;764:17:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;764:17:9;;742:39;;791:150;798:10;;791:150;;824:11;834:1;824:11;;:::i;:::-;;-1:-1:-1;892:10:9;900:2;892:5;:10;:::i;:::-;879:24;;:2;:24;:::i;:::-;866:39;;849:6;856;849:14;;;;;;-1:-1:-1;;;849:14:9;;;;;;;;;;;;:56;-1:-1:-1;;;;;849:56:9;;;;;;;;-1:-1:-1;919:11:9;928:2;919:11;;:::i;:::-;;;791:150;;2544:572:4;-1:-1:-1;;;;;2743:18:4;;2739:183;;2777:40;2809:7;3925:10;:17;;3898:24;;;;:15;:24;;;;;:44;;;3952:24;;;;;;;;;;;;3822:161;2777:40;2739:183;;;2846:2;-1:-1:-1;;;;;2838:10:4;:4;-1:-1:-1;;;;;2838:10:4;;2834:88;;2864:47;2897:4;2903:7;2864:32;:47::i;:::-;-1:-1:-1;;;;;2935:16:4;;2931:179;;2967:45;3004:7;2967:36;:45::i;2931:179::-;3039:4;-1:-1:-1;;;;;3033:10:4;:2;-1:-1:-1;;;;;3033:10:4;;3029:81;;3059:40;3087:2;3091:7;3059:27;:40::i;8508:311:1:-;8633:18;8639:2;8643:7;8633:5;:18::i;:::-;8682:54;8713:1;8717:2;8721:7;8730:5;8682:22;:54::i;:::-;8661:151;;;;-1:-1:-1;;;8661:151:1;;;;;;;:::i;11797:778::-;11947:4;-1:-1:-1;;;;;11967:13:1;;1034:20:7;1080:8;11963:606:1;;12002:72;;-1:-1:-1;;;12002:72:1;;-1:-1:-1;;;;;12002:36:1;;;;;:72;;666:10:8;;12053:4:1;;12059:7;;12068:5;;12002:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12002:72:1;;;;;;;;-1:-1:-1;;12002:72:1;;;;;;;;;;;;:::i;:::-;;;11998:519;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12241:13:1;;12237:266;;12283:60;;-1:-1:-1;;;12283:60:1;;;;;;;:::i;12237:266::-;12455:6;12449:13;12440:6;12436:2;12432:15;12425:38;11998:519;-1:-1:-1;;;;;;12124:51:1;-1:-1:-1;;;12124:51:1;;-1:-1:-1;12117:58:1;;11963:606;-1:-1:-1;12554:4:1;11797:778;;;;;;:::o;4600:970:4:-;4862:22;4912:1;4887:22;4904:4;4887:16;:22::i;:::-;:26;;;;:::i;:::-;4923:18;4944:26;;;:17;:26;;;;;;4862:51;;-1:-1:-1;5074:28:4;;;5070:323;;-1:-1:-1;;;;;5140:18:4;;5118:19;5140:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5189:30;;;;;;:44;;;5305:30;;:17;:30;;;;;:43;;;5070:323;-1:-1:-1;5486:26:4;;;;:17;:26;;;;;;;;5479:33;;;-1:-1:-1;;;;;5529:18:4;;;;;:12;:18;;;;;:34;;;;;;;5522:41;4600:970::o;5858:1061::-;6132:10;:17;6107:22;;6132:21;;6152:1;;6132:21;:::i;:::-;6163:18;6184:24;;;:15;:24;;;;;;6552:10;:26;;6107:46;;-1:-1:-1;6184:24:4;;6107:46;;6552:26;;;;-1:-1:-1;;;6552:26:4;;;;;;;;;;;;;;;;;6530:48;;6614:11;6589:10;6600;6589:22;;;;;;-1:-1:-1;;;6589:22:4;;;;;;;;;;;;;;;;;;;;:36;;;;6693:28;;;:15;:28;;;;;;;:41;;;6862:24;;;;;6855:31;6896:10;:16;;;;;-1:-1:-1;;;6896:16:4;;;;;;;;;;;;;;;;;;;;;;;;;;5858:1061;;;;:::o;3410:217::-;3494:14;3511:20;3528:2;3511:16;:20::i;:::-;-1:-1:-1;;;;;3541:16:4;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3585:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3410:217:4:o;9141:372:1:-;-1:-1:-1;;;;;9220:16:1;;9212:61;;;;-1:-1:-1;;;9212:61:1;;10596:2:14;9212:61:1;;;10578:21:14;;;10615:18;;;10608:30;10674:34;10654:18;;;10647:62;10726:18;;9212:61:1;10568:182:14;9212:61:1;7287:4;7310:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7310:16:1;:30;9283:58;;;;-1:-1:-1;;;9283:58:1;;7487:2:14;9283:58:1;;;7469:21:14;7526:2;7506:18;;;7499:30;7565;7545:18;;;7538:58;7613:18;;9283:58:1;7459:178:14;9283:58:1;9352:45;9381:1;9385:2;9389:7;9352:20;:45::i;:::-;-1:-1:-1;;;;;9408:13:1;;;;;;:9;:13;;;;;:18;;9425:1;;9408:13;:18;;9425:1;;9408:18;:::i;:::-;;;;-1:-1:-1;;9436:16:1;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9436:21:1;-1:-1:-1;;;;;9436:21:1;;;;;;;;9473:33;;9436:16;;;9473:33;;9436:16;;9473:33;9141:372;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:14;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:14;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:14;;757:42;;747:2;;813:1;810;803:12;747:2;699:124;;;:::o;828:196::-;887:6;940:2;928:9;919:7;915:23;911:32;908:2;;;961:6;953;946:22;908:2;989:29;1008:9;989:29;:::i;1029:270::-;1097:6;1105;1158:2;1146:9;1137:7;1133:23;1129:32;1126:2;;;1179:6;1171;1164:22;1126:2;1207:29;1226:9;1207:29;:::i;:::-;1197:39;;1255:38;1289:2;1278:9;1274:18;1255:38;:::i;:::-;1245:48;;1116:183;;;;;:::o;1304:338::-;1381:6;1389;1397;1450:2;1438:9;1429:7;1425:23;1421:32;1418:2;;;1471:6;1463;1456:22;1418:2;1499:29;1518:9;1499:29;:::i;:::-;1489:39;;1547:38;1581:2;1570:9;1566:18;1547:38;:::i;:::-;1537:48;;1632:2;1621:9;1617:18;1604:32;1594:42;;1408:234;;;;;:::o;1647:696::-;1742:6;1750;1758;1766;1819:3;1807:9;1798:7;1794:23;1790:33;1787:2;;;1841:6;1833;1826:22;1787:2;1869:29;1888:9;1869:29;:::i;:::-;1859:39;;1917:38;1951:2;1940:9;1936:18;1917:38;:::i;:::-;1907:48;;2002:2;1991:9;1987:18;1974:32;1964:42;;2057:2;2046:9;2042:18;2029:32;2084:18;2076:6;2073:30;2070:2;;;2121:6;2113;2106:22;2070:2;2149:22;;2202:4;2194:13;;2190:27;-1:-1:-1;2180:2:14;;2236:6;2228;2221:22;2180:2;2264:73;2329:7;2324:2;2311:16;2306:2;2302;2298:11;2264:73;:::i;:::-;2254:83;;;1777:566;;;;;;;:::o;2348:367::-;2413:6;2421;2474:2;2462:9;2453:7;2449:23;2445:32;2442:2;;;2495:6;2487;2480:22;2442:2;2523:29;2542:9;2523:29;:::i;:::-;2513:39;;2602:2;2591:9;2587:18;2574:32;2649:5;2642:13;2635:21;2628:5;2625:32;2615:2;;2676:6;2668;2661:22;2615:2;2704:5;2694:15;;;2432:283;;;;;:::o;2720:264::-;2788:6;2796;2849:2;2837:9;2828:7;2824:23;2820:32;2817:2;;;2870:6;2862;2855:22;2817:2;2898:29;2917:9;2898:29;:::i;:::-;2888:39;2974:2;2959:18;;;;2946:32;;-1:-1:-1;;;2807:177:14:o;2989:255::-;3047:6;3100:2;3088:9;3079:7;3075:23;3071:32;3068:2;;;3121:6;3113;3106:22;3068:2;3165:9;3152:23;3184:30;3208:5;3184:30;:::i;3249:259::-;3318:6;3371:2;3359:9;3350:7;3346:23;3342:32;3339:2;;;3392:6;3384;3377:22;3339:2;3429:9;3423:16;3448:30;3472:5;3448:30;:::i;3513:480::-;3582:6;3635:2;3623:9;3614:7;3610:23;3606:32;3603:2;;;3656:6;3648;3641:22;3603:2;3701:9;3688:23;3734:18;3726:6;3723:30;3720:2;;;3771:6;3763;3756:22;3720:2;3799:22;;3852:4;3844:13;;3840:27;-1:-1:-1;3830:2:14;;3886:6;3878;3871:22;3830:2;3914:73;3979:7;3974:2;3961:16;3956:2;3952;3948:11;3914:73;:::i;3998:190::-;4057:6;4110:2;4098:9;4089:7;4085:23;4081:32;4078:2;;;4131:6;4123;4116:22;4078:2;-1:-1:-1;4159:23:14;;4068:120;-1:-1:-1;4068:120:14:o;4193:257::-;4234:3;4272:5;4266:12;4299:6;4294:3;4287:19;4315:63;4371:6;4364:4;4359:3;4355:14;4348:4;4341:5;4337:16;4315:63;:::i;:::-;4432:2;4411:15;-1:-1:-1;;4407:29:14;4398:39;;;;4439:4;4394:50;;4242:208;-1:-1:-1;;4242:208:14:o;4455:470::-;4634:3;4672:6;4666:13;4688:53;4734:6;4729:3;4722:4;4714:6;4710:17;4688:53;:::i;:::-;4804:13;;4763:16;;;;4826:57;4804:13;4763:16;4860:4;4848:17;;4826:57;:::i;:::-;4899:20;;4642:283;-1:-1:-1;;;;4642:283:14:o;5138:488::-;-1:-1:-1;;;;;5407:15:14;;;5389:34;;5459:15;;5454:2;5439:18;;5432:43;5506:2;5491:18;;5484:34;;;5554:3;5549:2;5534:18;;5527:31;;;5332:4;;5575:45;;5600:19;;5592:6;5575:45;:::i;:::-;5567:53;5341:285;-1:-1:-1;;;;;;5341:285:14:o;5823:219::-;5972:2;5961:9;5954:21;5935:4;5992:44;6032:2;6021:9;6017:18;6009:6;5992:44;:::i;6459:414::-;6661:2;6643:21;;;6700:2;6680:18;;;6673:30;6739:34;6734:2;6719:18;;6712:62;-1:-1:-1;;;6805:2:14;6790:18;;6783:48;6863:3;6848:19;;6633:240::o;11168:356::-;11370:2;11352:21;;;11389:18;;;11382:30;11448:34;11443:2;11428:18;;11421:62;11515:2;11500:18;;11342:182::o;13091:413::-;13293:2;13275:21;;;13332:2;13312:18;;;13305:30;13371:34;13366:2;13351:18;;13344:62;-1:-1:-1;;;13437:2:14;13422:18;;13415:47;13494:3;13479:19;;13265:239::o;14769:128::-;14809:3;14840:1;14836:6;14833:1;14830:13;14827:2;;;14846:18;;:::i;:::-;-1:-1:-1;14882:9:14;;14817:80::o;14902:120::-;14942:1;14968;14958:2;;14973:18;;:::i;:::-;-1:-1:-1;15007:9:14;;14948:74::o;15027:168::-;15067:7;15133:1;15129;15125:6;15121:14;15118:1;15115:21;15110:1;15103:9;15096:17;15092:45;15089:2;;;15140:18;;:::i;:::-;-1:-1:-1;15180:9:14;;15079:116::o;15200:125::-;15240:4;15268:1;15265;15262:8;15259:2;;;15273:18;;:::i;:::-;-1:-1:-1;15310:9:14;;15249:76::o;15330:258::-;15402:1;15412:113;15426:6;15423:1;15420:13;15412:113;;;15502:11;;;15496:18;15483:11;;;15476:39;15448:2;15441:10;15412:113;;;15543:6;15540:1;15537:13;15534:2;;;-1:-1:-1;;15578:1:14;15560:16;;15553:27;15383:205::o;15593:380::-;15672:1;15668:12;;;;15715;;;15736:2;;15790:4;15782:6;15778:17;15768:27;;15736:2;15843;15835:6;15832:14;15812:18;15809:38;15806:2;;;15889:10;15884:3;15880:20;15877:1;15870:31;15924:4;15921:1;15914:15;15952:4;15949:1;15942:15;15806:2;;15648:325;;;:::o;15978:135::-;16017:3;-1:-1:-1;;16038:17:14;;16035:2;;;16058:18;;:::i;:::-;-1:-1:-1;16105:1:14;16094:13;;16025:88::o;16118:112::-;16150:1;16176;16166:2;;16181:18;;:::i;:::-;-1:-1:-1;16215:9:14;;16156:74::o;16235:127::-;16296:10;16291:3;16287:20;16284:1;16277:31;16327:4;16324:1;16317:15;16351:4;16348:1;16341:15;16367:127;16428:10;16423:3;16419:20;16416:1;16409:31;16459:4;16456:1;16449:15;16483:4;16480:1;16473:15;16499:127;16560:10;16555:3;16551:20;16548:1;16541:31;16591:4;16588:1;16581:15;16615:4;16612:1;16605:15;16631:131;-1:-1:-1;;;;;;16705:32:14;;16695:43;;16685:2;;16752:1;16749;16742:12
Swarm Source
ipfs://2606dac61407b3f914d8a84c28bbb48a70ec2b597cb5ca5fdeff0aa51cf2b745
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.