Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
6,129 HOVER
Holders
2,072
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 HOVERLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Hovercars
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 2 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; interface AnimetasContract { function walletOfOwner(address owner) external view returns (uint256[] memory); function ownerOf(uint256 tokenId) external view returns (address owner); } interface AvatrackContract { function walletOfOwner(address owner) external view returns (uint256[] memory); function ownerOf(uint256 tokenId) external view returns (address owner); function giveawayBatch(address[] memory accounts, uint256[] memory animetas_tokens_ids_to_mint) external; function giveaway(address _to, uint256 animetas_token_id) external; function getPrice() external view returns (uint256); function getDiscountPrice() external view returns (uint256); function TOTAL_NUMBER_OF_AVATRACKS() external view returns (uint256); function minted_avatracks() external view returns (uint256); function getLolabsSplitter() view external returns (address); } contract Hovercars is ERC721Enumerable, ReentrancyGuard, Ownable, AccessControl { using SafeMath for uint256; using Strings for uint256; bytes32 public constant WHITE_LIST_ROLE = keccak256("WHITE_LIST_ROLE"); uint256 public constant TOTAL_NUMBER_OF_HOVERCARS = 10101; uint256 public claimed_hovercars = 0; mapping(uint256 => bool) private _animetas_claimed_tokens; bool public paused_mint = true; AnimetasContract private animetas; address private animetas_contract_address; AvatrackContract private avatracks; uint256 private avatracks_price; uint256 private avatracks_discount_price; address private avatrack_contract_address; string private _base_uri; address lolabs_splitter; modifier whenMintNotPaused() { require(!paused_mint, "Hovercars: mint is paused"); _; } modifier whenSenderIsAnimetasTokenOwner(uint256 animetas_token_id) { require(accountIsAnimetasTokenOwner(msg.sender, animetas_token_id), "Hovercars: Animetas token is not owned by the sender."); _; } event MintPaused(address account); event MintUnpaused(address account); event GiveawayPerformed(address account, uint256 animetas_token_id); event ClaimPerformed(address account, uint256 animetas_token_id); constructor( string memory uri_, address lolabs_team, address animetas_contract, address avatracks_contract, address splitter) ERC721("HovercarsAnimetas", "HOVER") Ownable() { _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); _setupRole(DEFAULT_ADMIN_ROLE, lolabs_team); _setupRole(WHITE_LIST_ROLE, msg.sender); _setupRole(WHITE_LIST_ROLE, lolabs_team); animetas = AnimetasContract(animetas_contract); animetas_contract_address = animetas_contract; avatracks = AvatrackContract(avatracks_contract); avatrack_contract_address = avatracks_contract; avatracks_price = avatracks.getPrice(); avatracks_discount_price = avatracks.getDiscountPrice(); _base_uri = uri_; lolabs_splitter = splitter; } function tokenURI(uint256 token_id) override public view returns (string memory) { require(_exists(token_id), "Hovercars: cannot display non existing token"); string memory baseURI = getBaseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, token_id.toString())) : ''; } function claim(uint256 animetas_token_id) public nonReentrant whenMintNotPaused() whenSenderIsAnimetasTokenOwner(animetas_token_id) { require(claimed_hovercars < TOTAL_NUMBER_OF_HOVERCARS, "Hovercars: Exceeds maximum Hovercars supply"); require(_animetas_claimed_tokens[animetas_token_id] == false, "Hovercars: Animetas token was already claimed"); require(msg.sender == tx.origin, "Hovercars: contracts cannot claim"); _lfg(msg.sender, animetas_token_id); emit ClaimPerformed(msg.sender, animetas_token_id); } function claimBatch(uint256[] memory animetas_tokens_ids_to_claim) public nonReentrant whenMintNotPaused() { _claimBatch(animetas_tokens_ids_to_claim); } function claimAndMintBatch( uint256[] memory animetas_tokens_ids_to_claim, uint256[] memory animetas_tokens_ids_to_mint, address[] memory accounts) public payable nonReentrant whenMintNotPaused() { uint256 num = animetas_tokens_ids_to_mint.length; require(160 >= num, "Avatracks: Batch size must be less than 160"); require(160 >= animetas_tokens_ids_to_claim.length, "Hovercars: Batch size must be less than 160"); if (num < 5) { require(msg.value >= num * avatracks_price, "Avatracks: Ether sent is less than price * tokens_count"); } else { require(msg.value >= num * avatracks_discount_price, "Avatracks: Mint batch more than 5 Animetracks: Ether sent is less than discount price * tokens_count"); } avatracks.giveawayBatch(accounts, animetas_tokens_ids_to_mint); _claimBatch(animetas_tokens_ids_to_claim); } function _claimBatch(uint256[] memory animetas_tokens_ids_to_claim) internal whenMintNotPaused() { require(160 >= animetas_tokens_ids_to_claim.length, "Hovercars: Batch size must be less than 160"); require(claimed_hovercars + animetas_tokens_ids_to_claim.length <= TOTAL_NUMBER_OF_HOVERCARS, "Hovercars: Exceeds maximum Hovercars supply"); require(msg.sender == tx.origin, "Hovercars: contracts cannot claim"); for (uint256 i; i < animetas_tokens_ids_to_claim.length; i++) { require(accountIsAnimetasTokenOwner(msg.sender, animetas_tokens_ids_to_claim[i]), "Hovercars: Animetas token is not owned by the sender."); require(_animetas_claimed_tokens[animetas_tokens_ids_to_claim[i]] == false, "Hovercars: Animetas token was already claimed"); _lfg(msg.sender, animetas_tokens_ids_to_claim[i]); emit ClaimPerformed(msg.sender, animetas_tokens_ids_to_claim[i]); } } function giveaway(address _to, uint256 animetas_token_id) external onlyRole(WHITE_LIST_ROLE) { require(_animetas_claimed_tokens[animetas_token_id] == false, "Hovercars: Animetas token was already claimed"); require(accountIsAnimetasTokenOwner(_to, animetas_token_id), "Hovercars: Account is not the owner of the given animetas"); _lfg(_to, animetas_token_id); emit GiveawayPerformed(_to, animetas_token_id); } function giveawayBatch(address[] memory accounts, uint256[] memory animetas_tokens_ids_to_claim) external onlyRole(WHITE_LIST_ROLE) { for (uint256 i; i < animetas_tokens_ids_to_claim.length; i++) { require(!_animetas_claimed_tokens[animetas_tokens_ids_to_claim[i]], "Hovercars: Animetas token was already claimed"); require(accountIsAnimetasTokenOwner(accounts[i], animetas_tokens_ids_to_claim[i]), "Hovercars: Account is not the owner of the given animetas"); _lfg(accounts[i], animetas_tokens_ids_to_claim[i]); emit GiveawayPerformed(accounts[i], animetas_tokens_ids_to_claim[i]); } } function cleanup(address[] memory accounts, uint256[] memory animetas_tokens_ids_to_claim) external onlyRole(WHITE_LIST_ROLE) { require(paused_mint, "Hovercars: can cleanup only when mint is paused"); for (uint256 i; i < animetas_tokens_ids_to_claim.length; i++) { require(!_animetas_claimed_tokens[animetas_tokens_ids_to_claim[i]], "Hovercars: Animetas token was already claimed"); _lfg(accounts[i], animetas_tokens_ids_to_claim[i]); emit GiveawayPerformed(accounts[i], animetas_tokens_ids_to_claim[i]); } } function _lfg(address _to, uint256 animetas_token_id) internal { claimed_hovercars = claimed_hovercars + 1; _animetas_claimed_tokens[animetas_token_id] = true; _safeMint(_to, animetas_token_id); } function accountIsAnimetasTokenOwner(address account, uint256 animetas_token_id) view private returns (bool) { return animetas.ownerOf(animetas_token_id) == account; } function pauseMint() public onlyRole(WHITE_LIST_ROLE) { paused_mint = true; emit MintPaused(msg.sender); } function unpauseMint() public onlyRole(WHITE_LIST_ROLE) { paused_mint = false; emit MintUnpaused(msg.sender); } function updateAnimetasAddress(address _animetas) public onlyRole(WHITE_LIST_ROLE) { animetas = AnimetasContract(_animetas); animetas_contract_address = _animetas; } function getAnimetasAddress() view public returns (address) { return animetas_contract_address; } function updateAvatracksAddress(address _avatrack) public onlyRole(WHITE_LIST_ROLE) { avatracks = AvatrackContract(_avatrack); avatrack_contract_address = _avatrack; avatracks_price = avatracks.getPrice(); avatracks_discount_price = avatracks.getDiscountPrice(); } function getAvatracksAddress() view public returns (address) { return avatrack_contract_address; } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 token_count = balanceOf(_owner); uint256[] memory tokensId = new uint256[](token_count); for (uint256 i; i < token_count; i++) { tokensId[i] = tokenOfOwnerByIndex(_owner, i); } return tokensId; } function unclaimedTokensOfOwner(address _owner) public view returns (uint256[] memory) { uint256[] memory animetas_tokens_ids = animetas.walletOfOwner(_owner); uint256 hovercars_token_count = balanceOf(_owner); uint256[] memory result = new uint256[](animetas_tokens_ids.length - hovercars_token_count); uint j; for (uint256 i; i < animetas_tokens_ids.length; i++) { if (!_animetas_claimed_tokens[animetas_tokens_ids[i]]) { result[j] = animetas_tokens_ids[i]; j++; } } return result; } function isAnimetasTokenClaimed(uint256 animetas_token_id) public view returns (bool) { require(animetas_token_id >= 0 && animetas_token_id < 10101, "Hovercars: Token ID invalid"); return _animetas_claimed_tokens[animetas_token_id]; } function setBaseURI(string memory new_uri) public onlyRole(WHITE_LIST_ROLE) { _base_uri = new_uri; } function getBaseURI() public view returns (string memory) { return _base_uri; } function withdrawAmountToSplitter(uint256 amount) public onlyRole(WHITE_LIST_ROLE) { uint256 _balance = address(this).balance; require(_balance > 0, "Hovercars: withdraw amount call without balance"); require(_balance - amount >= 0, "Hovercars: withdraw amount call with more than the balance"); require(payable(lolabs_splitter).send(amount), "Hovercars: FAILED withdraw amount call"); } function withdrawAllToSplitter() public onlyRole(WHITE_LIST_ROLE) { uint256 _balance = address(this).balance; require(_balance > 0, "Hovercars: withdraw all call without balance"); require(payable(lolabs_splitter).send(_balance), "Hovercars: FAILED withdraw all call"); } function updateLolaSplitterAddress(address _lolabs_splitter) public onlyRole(WHITE_LIST_ROLE) { lolabs_splitter = _lolabs_splitter; } function getLolabsSplitter() view public onlyRole(WHITE_LIST_ROLE) returns (address splitter) { return lolabs_splitter; } function supportsInterface(bytes4 interface_id) public view override(ERC721Enumerable, AccessControl) returns (bool) { return super.supportsInterface(interface_id); } receive() external payable {} fallback() external payable {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// 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; /** * @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; // 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 "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// 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; 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 "./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; /** * @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 "./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 External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// 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); }
// 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; /** * @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; 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; /** * @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); }
{ "optimizer": { "enabled": true, "runs": 2 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"uri_","type":"string"},{"internalType":"address","name":"lolabs_team","type":"address"},{"internalType":"address","name":"animetas_contract","type":"address"},{"internalType":"address","name":"avatracks_contract","type":"address"},{"internalType":"address","name":"splitter","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"animetas_token_id","type":"uint256"}],"name":"ClaimPerformed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"animetas_token_id","type":"uint256"}],"name":"GiveawayPerformed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"MintPaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"MintUnpaused","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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_NUMBER_OF_HOVERCARS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITE_LIST_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"animetas_token_id","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"animetas_tokens_ids_to_claim","type":"uint256[]"},{"internalType":"uint256[]","name":"animetas_tokens_ids_to_mint","type":"uint256[]"},{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"claimAndMintBatch","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"animetas_tokens_ids_to_claim","type":"uint256[]"}],"name":"claimBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimed_hovercars","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"animetas_tokens_ids_to_claim","type":"uint256[]"}],"name":"cleanup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAnimetasAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"getAvatracksAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLolabsSplitter","outputs":[{"internalType":"address","name":"splitter","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"animetas_token_id","type":"uint256"}],"name":"giveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"animetas_tokens_ids_to_claim","type":"uint256[]"}],"name":"giveawayBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"animetas_token_id","type":"uint256"}],"name":"isAnimetasTokenClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"pauseMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused_mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":"new_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interface_id","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":"token_id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"unclaimedTokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpauseMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_animetas","type":"address"}],"name":"updateAnimetasAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_avatrack","type":"address"}],"name":"updateAvatracksAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_lolabs_splitter","type":"address"}],"name":"updateLolaSplitterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAllToSplitter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawAmountToSplitter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526000600d55600f805460ff191660011790553480156200002357600080fd5b506040516200447e3803806200447e83398101604081905262000046916200046e565b6040805180820182526011815270486f76657263617273416e696d6574617360781b6020808301918252835180850190945260058452642427ab22a960d91b9084015281519192916200009c91600091620003ab565b508051620000b2906001906020840190620003ab565b50506001600a5550620000c533620002a5565b620000d2600033620002f7565b620000df600085620002f7565b620000fa6000805160206200445e83398151915233620002f7565b620001156000805160206200445e83398151915285620002f7565b600f80546001600160a01b038086166101008102610100600160a81b031990931692909217909255601080546001600160a01b031990811690921790556011805492851692821683179055601480549091168217905560408051634c6afee560e11b815290516398d5fdca91600480820192602092909190829003018186803b158015620001a257600080fd5b505afa158015620001b7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001dd919062000591565b601255601154604080516321538c8560e21b815290516001600160a01b039092169163854e321491600480820192602092909190829003018186803b1580156200022657600080fd5b505afa1580156200023b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000261919062000591565b601355845162000279906015906020880190620003ab565b50601680546001600160a01b0319166001600160a01b039290921691909117905550620005fd92505050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000303828262000307565b5050565b6000828152600c602090815260408083206001600160a01b038516845290915290205460ff1662000303576000828152600c602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620003673390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b828054620003b990620005aa565b90600052602060002090601f016020900481019282620003dd576000855562000428565b82601f10620003f857805160ff191683800117855562000428565b8280016001018555821562000428579182015b82811115620004285782518255916020019190600101906200040b565b50620004369291506200043a565b5090565b5b808211156200043657600081556001016200043b565b80516001600160a01b03811681146200046957600080fd5b919050565b600080600080600060a0868803121562000486578081fd5b85516001600160401b03808211156200049d578283fd5b818801915088601f830112620004b1578283fd5b815181811115620004c657620004c6620005e7565b604051601f8201601f19908116603f01168101908382118183101715620004f157620004f1620005e7565b81604052828152602093508b848487010111156200050d578586fd5b8591505b8282101562000530578482018401518183018501529083019062000511565b828211156200054157858484830101525b98506200055391505088820162000451565b95505050620005656040870162000451565b9250620005756060870162000451565b9150620005856080870162000451565b90509295509295909350565b600060208284031215620005a3578081fd5b5051919050565b600181811c90821680620005bf57607f821691505b60208210811415620005e157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b613e51806200060d6000396000f3fe60806040526004361061023a5760003560e01c806301ffc9a714610243578063050225ea1461027857806306fdde0314610298578063081812fc146102ba578063095ea7b3146102e75780630acd12c71461030757806318160ddd1461031c5780631a8bd2da1461033b5780631c516e811461035057806323b872dd14610370578063248a9ca3146103905780632f2ff15d146103b05780632f745c59146103d057806336568abe146103f0578063379607f51461041057806342249f901461043057806342842e0e14610446578063438b6300146104665780634f6ccce71461049357806355f804b3146104b357806362abebce146104d35780636352211e146104f35780636798bdf2146105135780636e3994af1461053357806370a0823114610553578063714c539814610573578063715018a614610588578063750c32481461059d5780637e262b35146105b35780638da5cb5b146105d357806391418680146105e85780639164551a146105fd57806391d148541461061057806391e58c9b1461063057806395d89b411461064e5780639f0b7da914610663578063a217fddf14610681578063a22cb46514610696578063a2411587146106b6578063aa61c152146106d6578063b1bbb1d7146106f6578063b88d4fde14610716578063c50a557c14610736578063c87b56dd14610758578063cb48d8ee14610778578063cd85cdb514610792578063d0f51aab146107a7578063d547741f146107c7578063e985e9c5146107e7578063f2fde38b1461080757005b3661024157005b005b34801561024f57600080fd5b5061026361025e366004613619565b610827565b60405190151581526020015b60405180910390f35b34801561028457600080fd5b5061024161029336600461340b565b610838565b3480156102a457600080fd5b506102ad6108e5565b60405161026f9190613885565b3480156102c657600080fd5b506102da6102d53660046135dd565b610977565b60405161026f91906137b2565b3480156102f357600080fd5b5061024161030236600461340b565b6109ff565b34801561031357600080fd5b50610241610b10565b34801561032857600080fd5b506008545b60405190815260200161026f565b34801561034757600080fd5b50610241610c11565b34801561035c57600080fd5b5061026361036b3660046135dd565b610c6f565b34801561037c57600080fd5b5061024161038b36600461331e565b610cd6565b34801561039c57600080fd5b5061032d6103ab3660046135dd565b610d07565b3480156103bc57600080fd5b506102416103cb3660046135f5565b610d1c565b3480156103dc57600080fd5b5061032d6103eb36600461340b565b610d39565b3480156103fc57600080fd5b5061024161040b3660046135f5565b610dcf565b34801561041c57600080fd5b5061024161042b3660046135dd565b610e49565b34801561043c57600080fd5b5061032d61277581565b34801561045257600080fd5b5061024161046136600461331e565b610f66565b34801561047257600080fd5b506104866104813660046132ae565b610f81565b60405161026f9190613872565b34801561049f57600080fd5b5061032d6104ae3660046135dd565b61103e565b3480156104bf57600080fd5b506102416104ce366004613651565b6110df565b3480156104df57600080fd5b506102416104ee366004613496565b61110b565b3480156104ff57600080fd5b506102da61050e3660046135dd565b611167565b34801561051f57600080fd5b5061024161052e3660046132ae565b6111de565b34801561053f57600080fd5b5061024161054e366004613436565b611231565b34801561055f57600080fd5b5061032d61056e3660046132ae565b61140e565b34801561057f57600080fd5b506102ad611495565b34801561059457600080fd5b506102416114a4565b3480156105a957600080fd5b5061032d600d5481565b3480156105bf57600080fd5b506102416105ce3660046132ae565b6114df565b3480156105df57600080fd5b506102da61151b565b3480156105f457600080fd5b506102da61152a565b61024161060b36600461355a565b611558565b34801561061c57600080fd5b5061026361062b3660046135f5565b6117e4565b34801561063c57600080fd5b506010546001600160a01b03166102da565b34801561065a57600080fd5b506102ad61180f565b34801561066f57600080fd5b506014546001600160a01b03166102da565b34801561068d57600080fd5b5061032d600081565b3480156106a257600080fd5b506102416106b13660046133da565b61181e565b3480156106c257600080fd5b506102416106d13660046132ae565b6118df565b3480156106e257600080fd5b506102416106f1366004613436565b611a17565b34801561070257600080fd5b506102416107113660046135dd565b611baf565b34801561072257600080fd5b5061024161073136600461335e565b611d0b565b34801561074257600080fd5b5061032d600080516020613d9c83398151915281565b34801561076457600080fd5b506102ad6107733660046135dd565b611d3d565b34801561078457600080fd5b50600f546102639060ff1681565b34801561079e57600080fd5b50610241611e05565b3480156107b357600080fd5b506104866107c23660046132ae565b611e5b565b3480156107d357600080fd5b506102416107e23660046135f5565b612028565b3480156107f357600080fd5b506102636108023660046132e6565b612045565b34801561081357600080fd5b506102416108223660046132ae565b612073565b600061083282612113565b92915050565b600080516020613d9c8339815191526108518133612138565b6000828152600e602052604090205460ff16156108895760405162461bcd60e51b8152600401610880906139c1565b60405180910390fd5b610893838361219c565b6108af5760405162461bcd60e51b815260040161088090613b53565b6108b98383612234565b600080516020613d7c83398151915283836040516108d8929190613803565b60405180910390a1505050565b6060600080546108f490613ca4565b80601f016020809104026020016040519081016040528092919081815260200182805461092090613ca4565b801561096d5780601f106109425761010080835404028352916020019161096d565b820191906000526020600020905b81548152906001019060200180831161095057829003601f168201915b5050505050905090565b600061098282612268565b6109e35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610880565b506000908152600460205260409020546001600160a01b031690565b6000610a0a82611167565b9050806001600160a01b0316836001600160a01b03161415610a785760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610880565b336001600160a01b0382161480610a945750610a948133612045565b610b015760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6064820152608401610880565b610b0b8383612285565b505050565b600080516020613d9c833981519152610b298133612138565b4780610b8c5760405162461bcd60e51b815260206004820152602c60248201527f486f766572636172733a20776974686472617720616c6c2063616c6c2077697460448201526b686f75742062616c616e636560a01b6064820152608401610880565b6016546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050610c0d5760405162461bcd60e51b815260206004820152602360248201527f486f766572636172733a204641494c454420776974686472617720616c6c2063604482015262185b1b60ea1b6064820152608401610880565b5050565b600080516020613d9c833981519152610c2a8133612138565b600f805460ff191690556040517f4edc83796ddd13f7381b8c91ffbca02176782693577083e23486400548aaa8a190610c649033906137b2565b60405180910390a150565b60006127758210610cc05760405162461bcd60e51b815260206004820152601b60248201527a121bdd995c98d85c9cce88151bdad95b881251081a5b9d985b1a59602a1b6044820152606401610880565b506000908152600e602052604090205460ff1690565b610ce033826122f3565b610cfc5760405162461bcd60e51b815260040161088090613a98565b610b0b8383836123bd565b6000908152600c602052604090206001015490565b610d2582610d07565b610d2f8133612138565b610b0b8383612556565b6000610d448361140e565b8210610da65760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610880565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6001600160a01b0381163314610e3f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610880565b610c0d82826125dc565b6002600a541415610e6c5760405162461bcd60e51b815260040161088090613b1c565b6002600a55600f5460ff1615610e945760405162461bcd60e51b815260040161088090613ae9565b80610e9f338261219c565b610ebb5760405162461bcd60e51b815260040161088090613a0e565b612775600d5410610ede5760405162461bcd60e51b815260040161088090613976565b6000828152600e602052604090205460ff1615610f0d5760405162461bcd60e51b8152600401610880906139c1565b333214610f2c5760405162461bcd60e51b815260040161088090613898565b610f363383612234565b600080516020613ddc8339815191523383604051610f55929190613803565b60405180910390a150506001600a55565b610b0b83838360405180602001604052806000815250611d0b565b60606000610f8e8361140e565b90506000816001600160401b03811115610fb857634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610fe1578160200160208202803683370190505b50905060005b8281101561103657610ff98582610d39565b82828151811061101957634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061102e81613cdf565b915050610fe7565b509392505050565b600061104960085490565b82106110ac5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610880565b600882815481106110cd57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600080516020613d9c8339815191526110f88133612138565b8151610b0b9060159060208501906130f2565b6002600a54141561112e5760405162461bcd60e51b815260040161088090613b1c565b6002600a55600f5460ff16156111565760405162461bcd60e51b815260040161088090613ae9565b61115f81612643565b506001600a55565b6000818152600260205260408120546001600160a01b0316806108325760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610880565b600080516020613d9c8339815191526111f78133612138565b50600f8054610100600160a81b0319166101006001600160a01b0393909316928302179055601080546001600160a01b0319169091179055565b600080516020613d9c83398151915261124a8133612138565b60005b825181101561140857600e600084838151811061127a57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff16156112b55760405162461bcd60e51b8152600401610880906139c1565b61130d8482815181106112d857634e487b7160e01b600052603260045260246000fd5b602002602001015184838151811061130057634e487b7160e01b600052603260045260246000fd5b602002602001015161219c565b6113295760405162461bcd60e51b815260040161088090613b53565b61138184828151811061134c57634e487b7160e01b600052603260045260246000fd5b602002602001015184838151811061137457634e487b7160e01b600052603260045260246000fd5b6020026020010151612234565b600080516020613d7c8339815191528482815181106113b057634e487b7160e01b600052603260045260246000fd5b60200260200101518483815181106113d857634e487b7160e01b600052603260045260246000fd5b60200260200101516040516113ee929190613803565b60405180910390a18061140081613cdf565b91505061124d565b50505050565b60006001600160a01b0382166114795760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610880565b506001600160a01b031660009081526003602052604090205490565b6060601580546108f490613ca4565b336114ad61151b565b6001600160a01b0316146114d35760405162461bcd60e51b815260040161088090613a63565b6114dd6000612806565b565b600080516020613d9c8339815191526114f88133612138565b50601680546001600160a01b0319166001600160a01b0392909216919091179055565b600b546001600160a01b031690565b6000600080516020613d9c8339815191526115458133612138565b6016546001600160a01b031691505b5090565b6002600a54141561157b5760405162461bcd60e51b815260040161088090613b1c565b6002600a55600f5460ff16156115a35760405162461bcd60e51b815260040161088090613ae9565b815160a081111561160a5760405162461bcd60e51b815260206004820152602b60248201527f417661747261636b733a2042617463682073697a65206d757374206265206c6560448201526a07373207468616e203136360ac1b6064820152608401610880565b835160a0101561162c5760405162461bcd60e51b81526004016108809061392b565b60058110156116b6576012546116429082613c2b565b3410156116b15760405162461bcd60e51b815260206004820152603760248201527f417661747261636b733a2045746865722073656e74206973206c657373207468604482015276185b881c1c9a58d9480a881d1bdad95b9cd7d8dbdd5b9d604a1b6064820152608401610880565b61176c565b6013546116c39082613c2b565b34101561176c5760405162461bcd60e51b8152602060048201526064602482018190527f417661747261636b733a204d696e74206261746368206d6f7265207468616e2060448301527f3520416e696d65747261636b733a2045746865722073656e74206973206c6573908201527f73207468616e20646973636f756e74207072696365202a20746f6b656e735f636084820152631bdd5b9d60e21b60a482015260c401610880565b601154604051636e3994af60e01b81526001600160a01b0390911690636e3994af9061179e908590879060040161381c565b600060405180830381600087803b1580156117b857600080fd5b505af11580156117cc573d6000803e3d6000fd5b505050506117d984612643565b50506001600a555050565b6000918252600c602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600180546108f490613ca4565b6001600160a01b0382163314156118735760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610880565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600080516020613d9c8339815191526118f88133612138565b601180546001600160a01b0384166001600160a01b03199182168117909255601480549091168217905560408051634c6afee560e11b815290516398d5fdca91600480820192602092909190829003018186803b15801561195857600080fd5b505afa15801561196c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119909190613696565b601255601154604080516321538c8560e21b815290516001600160a01b039092169163854e321491600480820192602092909190829003018186803b1580156119d857600080fd5b505afa1580156119ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a109190613696565b6013555050565b600080516020613d9c833981519152611a308133612138565b600f5460ff16611a9a5760405162461bcd60e51b815260206004820152602f60248201527f486f766572636172733a2063616e20636c65616e7570206f6e6c79207768656e60448201526e081b5a5b9d081a5cc81c185d5cd959608a1b6064820152608401610880565b60005b825181101561140857600e6000848381518110611aca57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff1615611b055760405162461bcd60e51b8152600401610880906139c1565b611b2884828151811061134c57634e487b7160e01b600052603260045260246000fd5b600080516020613d7c833981519152848281518110611b5757634e487b7160e01b600052603260045260246000fd5b6020026020010151848381518110611b7f57634e487b7160e01b600052603260045260246000fd5b6020026020010151604051611b95929190613803565b60405180910390a180611ba781613cdf565b915050611a9d565b600080516020613d9c833981519152611bc88133612138565b4780611c1c5760405162461bcd60e51b815260206004820152602f6024820152600080516020613dbc83398151915260448201526e776974686f75742062616c616e636560881b6064820152608401610880565b6000611c288483613c4a565b1015611c875760405162461bcd60e51b815260206004820152603a6024820152600080516020613dbc83398151915260448201527977697468206d6f7265207468616e207468652062616c616e636560301b6064820152608401610880565b6016546040516001600160a01b039091169084156108fc029085906000818181858888f19350505050610b0b5760405162461bcd60e51b815260206004820152602660248201527f486f766572636172733a204641494c454420776974686472617720616d6f756e6044820152651d0818d85b1b60d21b6064820152608401610880565b611d1533836122f3565b611d315760405162461bcd60e51b815260040161088090613a98565b61140884848484612858565b6060611d4882612268565b611da95760405162461bcd60e51b815260206004820152602c60248201527f486f766572636172733a2063616e6e6f7420646973706c6179206e6f6e20657860448201526b34b9ba34b733903a37b5b2b760a11b6064820152608401610880565b6000611db3611495565b90506000815111611dd35760405180602001604052806000815250611dfe565b80611ddd8461288b565b604051602001611dee929190613714565b6040516020818303038152906040525b9392505050565b600080516020613d9c833981519152611e1e8133612138565b600f805460ff191660011790556040517fee9b45d4bbbf616909699035be16f077b7459c8d4db74944d4e27d84f15faf3490610c649033906137b2565b600f5460405162438b6360e81b81526060916000916101009091046001600160a01b03169063438b630090611e949086906004016137b2565b60006040518083038186803b158015611eac57600080fd5b505afa158015611ec0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ee891908101906134c8565b90506000611ef58461140e565b90506000818351611f069190613c4a565b6001600160401b03811115611f2b57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611f54578160200160208202803683370190505b5090506000805b845181101561201d57600e6000868381518110611f8857634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff1661200b57848181518110611fca57634e487b7160e01b600052603260045260246000fd5b6020026020010151838381518110611ff257634e487b7160e01b600052603260045260246000fd5b60209081029190910101528161200781613cdf565b9250505b8061201581613cdf565b915050611f5b565b509095945050505050565b61203182610d07565b61203b8133612138565b610b0b83836125dc565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3361207c61151b565b6001600160a01b0316146120a25760405162461bcd60e51b815260040161088090613a63565b6001600160a01b0381166121075760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610880565b61211081612806565b50565b60006001600160e01b03198216637965db0b60e01b14806108325750610832826129a4565b61214282826117e4565b610c0d5761215a816001600160a01b031660146129c9565b6121658360206129c9565b604051602001612176929190613743565b60408051601f198184030181529082905262461bcd60e51b825261088091600401613885565b600f546040516331a9108f60e11b8152600481018390526000916001600160a01b03858116926101009092041690636352211e9060240160206040518083038186803b1580156121eb57600080fd5b505afa1580156121ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061222391906132ca565b6001600160a01b0316149392505050565b600d54612242906001613bff565b600d556000818152600e60205260409020805460ff19166001179055610c0d8282612baa565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906122ba82611167565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006122fe82612268565b61235f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610880565b600061236a83611167565b9050806001600160a01b0316846001600160a01b031614806123a55750836001600160a01b031661239a84610977565b6001600160a01b0316145b806123b557506123b58185612045565b949350505050565b826001600160a01b03166123d082611167565b6001600160a01b0316146124385760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610880565b6001600160a01b03821661249a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610880565b6124a5838383612bc4565b6124b0600082612285565b6001600160a01b03831660009081526003602052604081208054600192906124d9908490613c4a565b90915550506001600160a01b0382166000908152600360205260408120805460019290612507908490613bff565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b038681169182179092559151849391871691600080516020613dfc83398151915291a4505050565b61256082826117e4565b610c0d576000828152600c602090815260408083206001600160a01b03851684529091529020805460ff191660011790556125983390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6125e682826117e4565b15610c0d576000828152600c602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600f5460ff16156126665760405162461bcd60e51b815260040161088090613ae9565b805160a010156126885760405162461bcd60e51b81526004016108809061392b565b6127758151600d5461269a9190613bff565b11156126b85760405162461bcd60e51b815260040161088090613976565b3332146126d75760405162461bcd60e51b815260040161088090613898565b60005b8151811015610c0d576127073383838151811061130057634e487b7160e01b600052603260045260246000fd5b6127235760405162461bcd60e51b815260040161088090613a0e565b600e600083838151811061274757634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff16156127825760405162461bcd60e51b8152600401610880906139c1565b6127a63383838151811061137457634e487b7160e01b600052603260045260246000fd5b600080516020613ddc833981519152338383815181106127d657634e487b7160e01b600052603260045260246000fd5b60200260200101516040516127ec929190613803565b60405180910390a1806127fe81613cdf565b9150506126da565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6128638484846123bd565b61286f84848484612c7c565b6114085760405162461bcd60e51b8152600401610880906138d9565b6060816128af5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156128d957806128c381613cdf565b91506128d29050600a83613c17565b91506128b3565b6000816001600160401b0381111561290157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561292b576020820181803683370190505b5090505b84156123b557612940600183613c4a565b915061294d600a86613cfa565b612958906030613bff565b60f81b81838151811061297b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061299d600a86613c17565b945061292f565b60006001600160e01b0319821663780e9d6360e01b1480610832575061083282612d89565b606060006129d8836002613c2b565b6129e3906002613bff565b6001600160401b03811115612a0857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a32576020820181803683370190505b509050600360fc1b81600081518110612a5b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612a9857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000612abc846002613c2b565b612ac7906001613bff565b90505b6001811115612b5b576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612b0957634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110612b2d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93612b5481613c8d565b9050612aca565b508315611dfe5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610880565b610c0d828260405180602001604052806000815250612dd9565b6001600160a01b038316612c1f57612c1a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612c42565b816001600160a01b0316836001600160a01b031614612c4257612c428382612e0c565b6001600160a01b038216612c5957610b0b81612ea9565b826001600160a01b0316826001600160a01b031614610b0b57610b0b8282612f82565b60006001600160a01b0384163b15612d7e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612cc09033908990889088906004016137c6565b602060405180830381600087803b158015612cda57600080fd5b505af1925050508015612d0a575060408051601f3d908101601f19168201909252612d0791810190613635565b60015b612d64573d808015612d38576040519150601f19603f3d011682016040523d82523d6000602084013e612d3d565b606091505b508051612d5c5760405162461bcd60e51b8152600401610880906138d9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506123b5565b506001949350505050565b60006001600160e01b031982166380ac58cd60e01b1480612dba57506001600160e01b03198216635b5e139f60e01b145b8061083257506301ffc9a760e01b6001600160e01b0319831614610832565b612de38383612fc6565b612df06000848484612c7c565b610b0b5760405162461bcd60e51b8152600401610880906138d9565b60006001612e198461140e565b612e239190613c4a565b600083815260076020526040902054909150808214612e76576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612ebb90600190613c4a565b60008381526009602052604081205460088054939450909284908110612ef157634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110612f2057634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612f6657634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612f8d8361140e565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661301c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610880565b61302581612268565b156130715760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b6044820152606401610880565b61307d60008383612bc4565b6001600160a01b03821660009081526003602052604081208054600192906130a6908490613bff565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020613dfc833981519152908290a45050565b8280546130fe90613ca4565b90600052602060002090601f0160209004810192826131205760008555613166565b82601f1061313957805160ff1916838001178555613166565b82800160010185558215613166579182015b8281111561316657825182559160200191906001019061314b565b506115549291505b80821115611554576000815560010161316e565b60006001600160401b0383111561319b5761319b613d3a565b6131ae601f8401601f1916602001613bac565b90508281528383830111156131c257600080fd5b828260208301376000602084830101529392505050565b600082601f8301126131e9578081fd5b813560206131fe6131f983613bdc565b613bac565b80838252828201915082860187848660051b890101111561321d578586fd5b855b8581101561324457813561323281613d50565b8452928401929084019060010161321f565b5090979650505050505050565b600082601f830112613261578081fd5b813560206132716131f983613bdc565b80838252828201915082860187848660051b8901011115613290578586fd5b855b8581101561324457813584529284019290840190600101613292565b6000602082840312156132bf578081fd5b8135611dfe81613d50565b6000602082840312156132db578081fd5b8151611dfe81613d50565b600080604083850312156132f8578081fd5b823561330381613d50565b9150602083013561331381613d50565b809150509250929050565b600080600060608486031215613332578081fd5b833561333d81613d50565b9250602084013561334d81613d50565b929592945050506040919091013590565b60008060008060808587031215613373578081fd5b843561337e81613d50565b9350602085013561338e81613d50565b92506040850135915060608501356001600160401b038111156133af578182fd5b8501601f810187136133bf578182fd5b6133ce87823560208401613182565b91505092959194509250565b600080604083850312156133ec578182fd5b82356133f781613d50565b915060208301358015158114613313578182fd5b6000806040838503121561341d578182fd5b823561342881613d50565b946020939093013593505050565b60008060408385031215613448578182fd5b82356001600160401b038082111561345e578384fd5b61346a868387016131d9565b9350602085013591508082111561347f578283fd5b5061348c85828601613251565b9150509250929050565b6000602082840312156134a7578081fd5b81356001600160401b038111156134bc578182fd5b6123b584828501613251565b600060208083850312156134da578182fd5b82516001600160401b038111156134ef578283fd5b8301601f810185136134ff578283fd5b805161350d6131f982613bdc565b80828252848201915084840188868560051b870101111561352c578687fd5b8694505b8385101561354e578051835260019490940193918501918501613530565b50979650505050505050565b60008060006060848603121561356e578081fd5b83356001600160401b0380821115613584578283fd5b61359087838801613251565b945060208601359150808211156135a5578283fd5b6135b187838801613251565b935060408601359150808211156135c6578283fd5b506135d3868287016131d9565b9150509250925092565b6000602082840312156135ee578081fd5b5035919050565b60008060408385031215613607578182fd5b82359150602083013561331381613d50565b60006020828403121561362a578081fd5b8135611dfe81613d65565b600060208284031215613646578081fd5b8151611dfe81613d65565b600060208284031215613662578081fd5b81356001600160401b03811115613677578182fd5b8201601f81018413613687578182fd5b6123b584823560208401613182565b6000602082840312156136a7578081fd5b5051919050565b6000815180845260208085019450808401835b838110156136dd578151875295820195908201906001016136c1565b509495945050505050565b60008151808452613700816020860160208601613c61565b601f01601f19169290920160200192915050565b60008351613726818460208801613c61565b83519083019061373a818360208801613c61565b01949350505050565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b815260008351613775816017850160208801613c61565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516137a6816028840160208801613c61565b01602801949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906137f9908301846136e8565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b604080825283519082018190526000906020906060840190828701845b8281101561385e5781516001600160a01b031684529284019290840190600101613839565b505050838103828501526137f981866136ae565b602081526000611dfe60208301846136ae565b602081526000611dfe60208301846136e8565b60208082526021908201527f486f766572636172733a20636f6e7472616374732063616e6e6f7420636c61696040820152606d60f81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602b908201527f486f766572636172733a2042617463682073697a65206d757374206265206c6560408201526a07373207468616e203136360ac1b606082015260800190565b6020808252602b908201527f486f766572636172733a2045786365656473206d6178696d756d20486f76657260408201526a6361727320737570706c7960a81b606082015260800190565b6020808252602d908201527f486f766572636172733a20416e696d6574617320746f6b656e2077617320616c60408201526c1c9958591e4818db185a5b5959609a1b606082015260800190565b60208082526035908201527f486f766572636172733a20416e696d6574617320746f6b656e206973206e6f746040820152741037bbb732b210313c903a34329039b2b73232b91760591b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b602080825260199082015278121bdd995c98d85c9cce881b5a5b9d081a5cc81c185d5cd959603a1b604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526039908201527f486f766572636172733a204163636f756e74206973206e6f7420746865206f776040820152786e6572206f662074686520676976656e20616e696d6574617360381b606082015260800190565b604051601f8201601f191681016001600160401b0381118282101715613bd457613bd4613d3a565b604052919050565b60006001600160401b03821115613bf557613bf5613d3a565b5060051b60200190565b60008219821115613c1257613c12613d0e565b500190565b600082613c2657613c26613d24565b500490565b6000816000190483118215151615613c4557613c45613d0e565b500290565b600082821015613c5c57613c5c613d0e565b500390565b60005b83811015613c7c578181015183820152602001613c64565b838111156114085750506000910152565b600081613c9c57613c9c613d0e565b506000190190565b600181811c90821680613cb857607f821691505b60208210811415613cd957634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613cf357613cf3613d0e565b5060010190565b600082613d0957613d09613d24565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461211057600080fd5b6001600160e01b03198116811461211057600080fdfe9d2e45722a805fbdf53b57994fd7cfd3d2c366147d57ddcf8a2304ed6025aa0a86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc853365486f766572636172733a20776974686472617720616d6f756e742063616c6c2089f61669240c1f8c34475d4dc0a8f652e9b03334179d5fcb8396b3739c6a89caddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212203951ae8c5da18f7659e1d4105e23826fb8dfb593bdf39d063020796b63c4700964736f6c6343000804003386024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc85336500000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d739429bfbdef8f25280bee993c6f5fb2e884a3b00000000000000000000000018df6c571f6fe9283b87f910e41dc5c8b77b7da5000000000000000000000000452745e4f9e6d7ed926ed42cd8231b16260b1bc00000000000000000000000003f531995855e74e56f56eedabf4838fe84bca1da000000000000000000000000000000000000000000000000000000000000002f68747470733a2f2f7777772e616e696d657461732e696f2f6170692f686f766572636172732f6d657461646174612f0000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061023a5760003560e01c806301ffc9a714610243578063050225ea1461027857806306fdde0314610298578063081812fc146102ba578063095ea7b3146102e75780630acd12c71461030757806318160ddd1461031c5780631a8bd2da1461033b5780631c516e811461035057806323b872dd14610370578063248a9ca3146103905780632f2ff15d146103b05780632f745c59146103d057806336568abe146103f0578063379607f51461041057806342249f901461043057806342842e0e14610446578063438b6300146104665780634f6ccce71461049357806355f804b3146104b357806362abebce146104d35780636352211e146104f35780636798bdf2146105135780636e3994af1461053357806370a0823114610553578063714c539814610573578063715018a614610588578063750c32481461059d5780637e262b35146105b35780638da5cb5b146105d357806391418680146105e85780639164551a146105fd57806391d148541461061057806391e58c9b1461063057806395d89b411461064e5780639f0b7da914610663578063a217fddf14610681578063a22cb46514610696578063a2411587146106b6578063aa61c152146106d6578063b1bbb1d7146106f6578063b88d4fde14610716578063c50a557c14610736578063c87b56dd14610758578063cb48d8ee14610778578063cd85cdb514610792578063d0f51aab146107a7578063d547741f146107c7578063e985e9c5146107e7578063f2fde38b1461080757005b3661024157005b005b34801561024f57600080fd5b5061026361025e366004613619565b610827565b60405190151581526020015b60405180910390f35b34801561028457600080fd5b5061024161029336600461340b565b610838565b3480156102a457600080fd5b506102ad6108e5565b60405161026f9190613885565b3480156102c657600080fd5b506102da6102d53660046135dd565b610977565b60405161026f91906137b2565b3480156102f357600080fd5b5061024161030236600461340b565b6109ff565b34801561031357600080fd5b50610241610b10565b34801561032857600080fd5b506008545b60405190815260200161026f565b34801561034757600080fd5b50610241610c11565b34801561035c57600080fd5b5061026361036b3660046135dd565b610c6f565b34801561037c57600080fd5b5061024161038b36600461331e565b610cd6565b34801561039c57600080fd5b5061032d6103ab3660046135dd565b610d07565b3480156103bc57600080fd5b506102416103cb3660046135f5565b610d1c565b3480156103dc57600080fd5b5061032d6103eb36600461340b565b610d39565b3480156103fc57600080fd5b5061024161040b3660046135f5565b610dcf565b34801561041c57600080fd5b5061024161042b3660046135dd565b610e49565b34801561043c57600080fd5b5061032d61277581565b34801561045257600080fd5b5061024161046136600461331e565b610f66565b34801561047257600080fd5b506104866104813660046132ae565b610f81565b60405161026f9190613872565b34801561049f57600080fd5b5061032d6104ae3660046135dd565b61103e565b3480156104bf57600080fd5b506102416104ce366004613651565b6110df565b3480156104df57600080fd5b506102416104ee366004613496565b61110b565b3480156104ff57600080fd5b506102da61050e3660046135dd565b611167565b34801561051f57600080fd5b5061024161052e3660046132ae565b6111de565b34801561053f57600080fd5b5061024161054e366004613436565b611231565b34801561055f57600080fd5b5061032d61056e3660046132ae565b61140e565b34801561057f57600080fd5b506102ad611495565b34801561059457600080fd5b506102416114a4565b3480156105a957600080fd5b5061032d600d5481565b3480156105bf57600080fd5b506102416105ce3660046132ae565b6114df565b3480156105df57600080fd5b506102da61151b565b3480156105f457600080fd5b506102da61152a565b61024161060b36600461355a565b611558565b34801561061c57600080fd5b5061026361062b3660046135f5565b6117e4565b34801561063c57600080fd5b506010546001600160a01b03166102da565b34801561065a57600080fd5b506102ad61180f565b34801561066f57600080fd5b506014546001600160a01b03166102da565b34801561068d57600080fd5b5061032d600081565b3480156106a257600080fd5b506102416106b13660046133da565b61181e565b3480156106c257600080fd5b506102416106d13660046132ae565b6118df565b3480156106e257600080fd5b506102416106f1366004613436565b611a17565b34801561070257600080fd5b506102416107113660046135dd565b611baf565b34801561072257600080fd5b5061024161073136600461335e565b611d0b565b34801561074257600080fd5b5061032d600080516020613d9c83398151915281565b34801561076457600080fd5b506102ad6107733660046135dd565b611d3d565b34801561078457600080fd5b50600f546102639060ff1681565b34801561079e57600080fd5b50610241611e05565b3480156107b357600080fd5b506104866107c23660046132ae565b611e5b565b3480156107d357600080fd5b506102416107e23660046135f5565b612028565b3480156107f357600080fd5b506102636108023660046132e6565b612045565b34801561081357600080fd5b506102416108223660046132ae565b612073565b600061083282612113565b92915050565b600080516020613d9c8339815191526108518133612138565b6000828152600e602052604090205460ff16156108895760405162461bcd60e51b8152600401610880906139c1565b60405180910390fd5b610893838361219c565b6108af5760405162461bcd60e51b815260040161088090613b53565b6108b98383612234565b600080516020613d7c83398151915283836040516108d8929190613803565b60405180910390a1505050565b6060600080546108f490613ca4565b80601f016020809104026020016040519081016040528092919081815260200182805461092090613ca4565b801561096d5780601f106109425761010080835404028352916020019161096d565b820191906000526020600020905b81548152906001019060200180831161095057829003601f168201915b5050505050905090565b600061098282612268565b6109e35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610880565b506000908152600460205260409020546001600160a01b031690565b6000610a0a82611167565b9050806001600160a01b0316836001600160a01b03161415610a785760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610880565b336001600160a01b0382161480610a945750610a948133612045565b610b015760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6064820152608401610880565b610b0b8383612285565b505050565b600080516020613d9c833981519152610b298133612138565b4780610b8c5760405162461bcd60e51b815260206004820152602c60248201527f486f766572636172733a20776974686472617720616c6c2063616c6c2077697460448201526b686f75742062616c616e636560a01b6064820152608401610880565b6016546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050610c0d5760405162461bcd60e51b815260206004820152602360248201527f486f766572636172733a204641494c454420776974686472617720616c6c2063604482015262185b1b60ea1b6064820152608401610880565b5050565b600080516020613d9c833981519152610c2a8133612138565b600f805460ff191690556040517f4edc83796ddd13f7381b8c91ffbca02176782693577083e23486400548aaa8a190610c649033906137b2565b60405180910390a150565b60006127758210610cc05760405162461bcd60e51b815260206004820152601b60248201527a121bdd995c98d85c9cce88151bdad95b881251081a5b9d985b1a59602a1b6044820152606401610880565b506000908152600e602052604090205460ff1690565b610ce033826122f3565b610cfc5760405162461bcd60e51b815260040161088090613a98565b610b0b8383836123bd565b6000908152600c602052604090206001015490565b610d2582610d07565b610d2f8133612138565b610b0b8383612556565b6000610d448361140e565b8210610da65760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610880565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6001600160a01b0381163314610e3f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610880565b610c0d82826125dc565b6002600a541415610e6c5760405162461bcd60e51b815260040161088090613b1c565b6002600a55600f5460ff1615610e945760405162461bcd60e51b815260040161088090613ae9565b80610e9f338261219c565b610ebb5760405162461bcd60e51b815260040161088090613a0e565b612775600d5410610ede5760405162461bcd60e51b815260040161088090613976565b6000828152600e602052604090205460ff1615610f0d5760405162461bcd60e51b8152600401610880906139c1565b333214610f2c5760405162461bcd60e51b815260040161088090613898565b610f363383612234565b600080516020613ddc8339815191523383604051610f55929190613803565b60405180910390a150506001600a55565b610b0b83838360405180602001604052806000815250611d0b565b60606000610f8e8361140e565b90506000816001600160401b03811115610fb857634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610fe1578160200160208202803683370190505b50905060005b8281101561103657610ff98582610d39565b82828151811061101957634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061102e81613cdf565b915050610fe7565b509392505050565b600061104960085490565b82106110ac5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610880565b600882815481106110cd57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600080516020613d9c8339815191526110f88133612138565b8151610b0b9060159060208501906130f2565b6002600a54141561112e5760405162461bcd60e51b815260040161088090613b1c565b6002600a55600f5460ff16156111565760405162461bcd60e51b815260040161088090613ae9565b61115f81612643565b506001600a55565b6000818152600260205260408120546001600160a01b0316806108325760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610880565b600080516020613d9c8339815191526111f78133612138565b50600f8054610100600160a81b0319166101006001600160a01b0393909316928302179055601080546001600160a01b0319169091179055565b600080516020613d9c83398151915261124a8133612138565b60005b825181101561140857600e600084838151811061127a57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff16156112b55760405162461bcd60e51b8152600401610880906139c1565b61130d8482815181106112d857634e487b7160e01b600052603260045260246000fd5b602002602001015184838151811061130057634e487b7160e01b600052603260045260246000fd5b602002602001015161219c565b6113295760405162461bcd60e51b815260040161088090613b53565b61138184828151811061134c57634e487b7160e01b600052603260045260246000fd5b602002602001015184838151811061137457634e487b7160e01b600052603260045260246000fd5b6020026020010151612234565b600080516020613d7c8339815191528482815181106113b057634e487b7160e01b600052603260045260246000fd5b60200260200101518483815181106113d857634e487b7160e01b600052603260045260246000fd5b60200260200101516040516113ee929190613803565b60405180910390a18061140081613cdf565b91505061124d565b50505050565b60006001600160a01b0382166114795760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610880565b506001600160a01b031660009081526003602052604090205490565b6060601580546108f490613ca4565b336114ad61151b565b6001600160a01b0316146114d35760405162461bcd60e51b815260040161088090613a63565b6114dd6000612806565b565b600080516020613d9c8339815191526114f88133612138565b50601680546001600160a01b0319166001600160a01b0392909216919091179055565b600b546001600160a01b031690565b6000600080516020613d9c8339815191526115458133612138565b6016546001600160a01b031691505b5090565b6002600a54141561157b5760405162461bcd60e51b815260040161088090613b1c565b6002600a55600f5460ff16156115a35760405162461bcd60e51b815260040161088090613ae9565b815160a081111561160a5760405162461bcd60e51b815260206004820152602b60248201527f417661747261636b733a2042617463682073697a65206d757374206265206c6560448201526a07373207468616e203136360ac1b6064820152608401610880565b835160a0101561162c5760405162461bcd60e51b81526004016108809061392b565b60058110156116b6576012546116429082613c2b565b3410156116b15760405162461bcd60e51b815260206004820152603760248201527f417661747261636b733a2045746865722073656e74206973206c657373207468604482015276185b881c1c9a58d9480a881d1bdad95b9cd7d8dbdd5b9d604a1b6064820152608401610880565b61176c565b6013546116c39082613c2b565b34101561176c5760405162461bcd60e51b8152602060048201526064602482018190527f417661747261636b733a204d696e74206261746368206d6f7265207468616e2060448301527f3520416e696d65747261636b733a2045746865722073656e74206973206c6573908201527f73207468616e20646973636f756e74207072696365202a20746f6b656e735f636084820152631bdd5b9d60e21b60a482015260c401610880565b601154604051636e3994af60e01b81526001600160a01b0390911690636e3994af9061179e908590879060040161381c565b600060405180830381600087803b1580156117b857600080fd5b505af11580156117cc573d6000803e3d6000fd5b505050506117d984612643565b50506001600a555050565b6000918252600c602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600180546108f490613ca4565b6001600160a01b0382163314156118735760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610880565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600080516020613d9c8339815191526118f88133612138565b601180546001600160a01b0384166001600160a01b03199182168117909255601480549091168217905560408051634c6afee560e11b815290516398d5fdca91600480820192602092909190829003018186803b15801561195857600080fd5b505afa15801561196c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119909190613696565b601255601154604080516321538c8560e21b815290516001600160a01b039092169163854e321491600480820192602092909190829003018186803b1580156119d857600080fd5b505afa1580156119ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a109190613696565b6013555050565b600080516020613d9c833981519152611a308133612138565b600f5460ff16611a9a5760405162461bcd60e51b815260206004820152602f60248201527f486f766572636172733a2063616e20636c65616e7570206f6e6c79207768656e60448201526e081b5a5b9d081a5cc81c185d5cd959608a1b6064820152608401610880565b60005b825181101561140857600e6000848381518110611aca57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff1615611b055760405162461bcd60e51b8152600401610880906139c1565b611b2884828151811061134c57634e487b7160e01b600052603260045260246000fd5b600080516020613d7c833981519152848281518110611b5757634e487b7160e01b600052603260045260246000fd5b6020026020010151848381518110611b7f57634e487b7160e01b600052603260045260246000fd5b6020026020010151604051611b95929190613803565b60405180910390a180611ba781613cdf565b915050611a9d565b600080516020613d9c833981519152611bc88133612138565b4780611c1c5760405162461bcd60e51b815260206004820152602f6024820152600080516020613dbc83398151915260448201526e776974686f75742062616c616e636560881b6064820152608401610880565b6000611c288483613c4a565b1015611c875760405162461bcd60e51b815260206004820152603a6024820152600080516020613dbc83398151915260448201527977697468206d6f7265207468616e207468652062616c616e636560301b6064820152608401610880565b6016546040516001600160a01b039091169084156108fc029085906000818181858888f19350505050610b0b5760405162461bcd60e51b815260206004820152602660248201527f486f766572636172733a204641494c454420776974686472617720616d6f756e6044820152651d0818d85b1b60d21b6064820152608401610880565b611d1533836122f3565b611d315760405162461bcd60e51b815260040161088090613a98565b61140884848484612858565b6060611d4882612268565b611da95760405162461bcd60e51b815260206004820152602c60248201527f486f766572636172733a2063616e6e6f7420646973706c6179206e6f6e20657860448201526b34b9ba34b733903a37b5b2b760a11b6064820152608401610880565b6000611db3611495565b90506000815111611dd35760405180602001604052806000815250611dfe565b80611ddd8461288b565b604051602001611dee929190613714565b6040516020818303038152906040525b9392505050565b600080516020613d9c833981519152611e1e8133612138565b600f805460ff191660011790556040517fee9b45d4bbbf616909699035be16f077b7459c8d4db74944d4e27d84f15faf3490610c649033906137b2565b600f5460405162438b6360e81b81526060916000916101009091046001600160a01b03169063438b630090611e949086906004016137b2565b60006040518083038186803b158015611eac57600080fd5b505afa158015611ec0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ee891908101906134c8565b90506000611ef58461140e565b90506000818351611f069190613c4a565b6001600160401b03811115611f2b57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611f54578160200160208202803683370190505b5090506000805b845181101561201d57600e6000868381518110611f8857634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff1661200b57848181518110611fca57634e487b7160e01b600052603260045260246000fd5b6020026020010151838381518110611ff257634e487b7160e01b600052603260045260246000fd5b60209081029190910101528161200781613cdf565b9250505b8061201581613cdf565b915050611f5b565b509095945050505050565b61203182610d07565b61203b8133612138565b610b0b83836125dc565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3361207c61151b565b6001600160a01b0316146120a25760405162461bcd60e51b815260040161088090613a63565b6001600160a01b0381166121075760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610880565b61211081612806565b50565b60006001600160e01b03198216637965db0b60e01b14806108325750610832826129a4565b61214282826117e4565b610c0d5761215a816001600160a01b031660146129c9565b6121658360206129c9565b604051602001612176929190613743565b60408051601f198184030181529082905262461bcd60e51b825261088091600401613885565b600f546040516331a9108f60e11b8152600481018390526000916001600160a01b03858116926101009092041690636352211e9060240160206040518083038186803b1580156121eb57600080fd5b505afa1580156121ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061222391906132ca565b6001600160a01b0316149392505050565b600d54612242906001613bff565b600d556000818152600e60205260409020805460ff19166001179055610c0d8282612baa565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906122ba82611167565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006122fe82612268565b61235f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610880565b600061236a83611167565b9050806001600160a01b0316846001600160a01b031614806123a55750836001600160a01b031661239a84610977565b6001600160a01b0316145b806123b557506123b58185612045565b949350505050565b826001600160a01b03166123d082611167565b6001600160a01b0316146124385760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610880565b6001600160a01b03821661249a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610880565b6124a5838383612bc4565b6124b0600082612285565b6001600160a01b03831660009081526003602052604081208054600192906124d9908490613c4a565b90915550506001600160a01b0382166000908152600360205260408120805460019290612507908490613bff565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b038681169182179092559151849391871691600080516020613dfc83398151915291a4505050565b61256082826117e4565b610c0d576000828152600c602090815260408083206001600160a01b03851684529091529020805460ff191660011790556125983390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6125e682826117e4565b15610c0d576000828152600c602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600f5460ff16156126665760405162461bcd60e51b815260040161088090613ae9565b805160a010156126885760405162461bcd60e51b81526004016108809061392b565b6127758151600d5461269a9190613bff565b11156126b85760405162461bcd60e51b815260040161088090613976565b3332146126d75760405162461bcd60e51b815260040161088090613898565b60005b8151811015610c0d576127073383838151811061130057634e487b7160e01b600052603260045260246000fd5b6127235760405162461bcd60e51b815260040161088090613a0e565b600e600083838151811061274757634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff16156127825760405162461bcd60e51b8152600401610880906139c1565b6127a63383838151811061137457634e487b7160e01b600052603260045260246000fd5b600080516020613ddc833981519152338383815181106127d657634e487b7160e01b600052603260045260246000fd5b60200260200101516040516127ec929190613803565b60405180910390a1806127fe81613cdf565b9150506126da565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6128638484846123bd565b61286f84848484612c7c565b6114085760405162461bcd60e51b8152600401610880906138d9565b6060816128af5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156128d957806128c381613cdf565b91506128d29050600a83613c17565b91506128b3565b6000816001600160401b0381111561290157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561292b576020820181803683370190505b5090505b84156123b557612940600183613c4a565b915061294d600a86613cfa565b612958906030613bff565b60f81b81838151811061297b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061299d600a86613c17565b945061292f565b60006001600160e01b0319821663780e9d6360e01b1480610832575061083282612d89565b606060006129d8836002613c2b565b6129e3906002613bff565b6001600160401b03811115612a0857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a32576020820181803683370190505b509050600360fc1b81600081518110612a5b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612a9857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000612abc846002613c2b565b612ac7906001613bff565b90505b6001811115612b5b576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612b0957634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110612b2d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93612b5481613c8d565b9050612aca565b508315611dfe5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610880565b610c0d828260405180602001604052806000815250612dd9565b6001600160a01b038316612c1f57612c1a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612c42565b816001600160a01b0316836001600160a01b031614612c4257612c428382612e0c565b6001600160a01b038216612c5957610b0b81612ea9565b826001600160a01b0316826001600160a01b031614610b0b57610b0b8282612f82565b60006001600160a01b0384163b15612d7e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612cc09033908990889088906004016137c6565b602060405180830381600087803b158015612cda57600080fd5b505af1925050508015612d0a575060408051601f3d908101601f19168201909252612d0791810190613635565b60015b612d64573d808015612d38576040519150601f19603f3d011682016040523d82523d6000602084013e612d3d565b606091505b508051612d5c5760405162461bcd60e51b8152600401610880906138d9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506123b5565b506001949350505050565b60006001600160e01b031982166380ac58cd60e01b1480612dba57506001600160e01b03198216635b5e139f60e01b145b8061083257506301ffc9a760e01b6001600160e01b0319831614610832565b612de38383612fc6565b612df06000848484612c7c565b610b0b5760405162461bcd60e51b8152600401610880906138d9565b60006001612e198461140e565b612e239190613c4a565b600083815260076020526040902054909150808214612e76576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612ebb90600190613c4a565b60008381526009602052604081205460088054939450909284908110612ef157634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110612f2057634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612f6657634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612f8d8361140e565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661301c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610880565b61302581612268565b156130715760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b6044820152606401610880565b61307d60008383612bc4565b6001600160a01b03821660009081526003602052604081208054600192906130a6908490613bff565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020613dfc833981519152908290a45050565b8280546130fe90613ca4565b90600052602060002090601f0160209004810192826131205760008555613166565b82601f1061313957805160ff1916838001178555613166565b82800160010185558215613166579182015b8281111561316657825182559160200191906001019061314b565b506115549291505b80821115611554576000815560010161316e565b60006001600160401b0383111561319b5761319b613d3a565b6131ae601f8401601f1916602001613bac565b90508281528383830111156131c257600080fd5b828260208301376000602084830101529392505050565b600082601f8301126131e9578081fd5b813560206131fe6131f983613bdc565b613bac565b80838252828201915082860187848660051b890101111561321d578586fd5b855b8581101561324457813561323281613d50565b8452928401929084019060010161321f565b5090979650505050505050565b600082601f830112613261578081fd5b813560206132716131f983613bdc565b80838252828201915082860187848660051b8901011115613290578586fd5b855b8581101561324457813584529284019290840190600101613292565b6000602082840312156132bf578081fd5b8135611dfe81613d50565b6000602082840312156132db578081fd5b8151611dfe81613d50565b600080604083850312156132f8578081fd5b823561330381613d50565b9150602083013561331381613d50565b809150509250929050565b600080600060608486031215613332578081fd5b833561333d81613d50565b9250602084013561334d81613d50565b929592945050506040919091013590565b60008060008060808587031215613373578081fd5b843561337e81613d50565b9350602085013561338e81613d50565b92506040850135915060608501356001600160401b038111156133af578182fd5b8501601f810187136133bf578182fd5b6133ce87823560208401613182565b91505092959194509250565b600080604083850312156133ec578182fd5b82356133f781613d50565b915060208301358015158114613313578182fd5b6000806040838503121561341d578182fd5b823561342881613d50565b946020939093013593505050565b60008060408385031215613448578182fd5b82356001600160401b038082111561345e578384fd5b61346a868387016131d9565b9350602085013591508082111561347f578283fd5b5061348c85828601613251565b9150509250929050565b6000602082840312156134a7578081fd5b81356001600160401b038111156134bc578182fd5b6123b584828501613251565b600060208083850312156134da578182fd5b82516001600160401b038111156134ef578283fd5b8301601f810185136134ff578283fd5b805161350d6131f982613bdc565b80828252848201915084840188868560051b870101111561352c578687fd5b8694505b8385101561354e578051835260019490940193918501918501613530565b50979650505050505050565b60008060006060848603121561356e578081fd5b83356001600160401b0380821115613584578283fd5b61359087838801613251565b945060208601359150808211156135a5578283fd5b6135b187838801613251565b935060408601359150808211156135c6578283fd5b506135d3868287016131d9565b9150509250925092565b6000602082840312156135ee578081fd5b5035919050565b60008060408385031215613607578182fd5b82359150602083013561331381613d50565b60006020828403121561362a578081fd5b8135611dfe81613d65565b600060208284031215613646578081fd5b8151611dfe81613d65565b600060208284031215613662578081fd5b81356001600160401b03811115613677578182fd5b8201601f81018413613687578182fd5b6123b584823560208401613182565b6000602082840312156136a7578081fd5b5051919050565b6000815180845260208085019450808401835b838110156136dd578151875295820195908201906001016136c1565b509495945050505050565b60008151808452613700816020860160208601613c61565b601f01601f19169290920160200192915050565b60008351613726818460208801613c61565b83519083019061373a818360208801613c61565b01949350505050565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b815260008351613775816017850160208801613c61565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516137a6816028840160208801613c61565b01602801949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906137f9908301846136e8565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b604080825283519082018190526000906020906060840190828701845b8281101561385e5781516001600160a01b031684529284019290840190600101613839565b505050838103828501526137f981866136ae565b602081526000611dfe60208301846136ae565b602081526000611dfe60208301846136e8565b60208082526021908201527f486f766572636172733a20636f6e7472616374732063616e6e6f7420636c61696040820152606d60f81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602b908201527f486f766572636172733a2042617463682073697a65206d757374206265206c6560408201526a07373207468616e203136360ac1b606082015260800190565b6020808252602b908201527f486f766572636172733a2045786365656473206d6178696d756d20486f76657260408201526a6361727320737570706c7960a81b606082015260800190565b6020808252602d908201527f486f766572636172733a20416e696d6574617320746f6b656e2077617320616c60408201526c1c9958591e4818db185a5b5959609a1b606082015260800190565b60208082526035908201527f486f766572636172733a20416e696d6574617320746f6b656e206973206e6f746040820152741037bbb732b210313c903a34329039b2b73232b91760591b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b602080825260199082015278121bdd995c98d85c9cce881b5a5b9d081a5cc81c185d5cd959603a1b604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526039908201527f486f766572636172733a204163636f756e74206973206e6f7420746865206f776040820152786e6572206f662074686520676976656e20616e696d6574617360381b606082015260800190565b604051601f8201601f191681016001600160401b0381118282101715613bd457613bd4613d3a565b604052919050565b60006001600160401b03821115613bf557613bf5613d3a565b5060051b60200190565b60008219821115613c1257613c12613d0e565b500190565b600082613c2657613c26613d24565b500490565b6000816000190483118215151615613c4557613c45613d0e565b500290565b600082821015613c5c57613c5c613d0e565b500390565b60005b83811015613c7c578181015183820152602001613c64565b838111156114085750506000910152565b600081613c9c57613c9c613d0e565b506000190190565b600181811c90821680613cb857607f821691505b60208210811415613cd957634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613cf357613cf3613d0e565b5060010190565b600082613d0957613d09613d24565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461211057600080fd5b6001600160e01b03198116811461211057600080fdfe9d2e45722a805fbdf53b57994fd7cfd3d2c366147d57ddcf8a2304ed6025aa0a86024e89529ee90561d266fe70772355cdf7be9c9e97e3ac6b5d90ddbc853365486f766572636172733a20776974686472617720616d6f756e742063616c6c2089f61669240c1f8c34475d4dc0a8f652e9b03334179d5fcb8396b3739c6a89caddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212203951ae8c5da18f7659e1d4105e23826fb8dfb593bdf39d063020796b63c4700964736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d739429bfbdef8f25280bee993c6f5fb2e884a3b00000000000000000000000018df6c571f6fe9283b87f910e41dc5c8b77b7da5000000000000000000000000452745e4f9e6d7ed926ed42cd8231b16260b1bc00000000000000000000000003f531995855e74e56f56eedabf4838fe84bca1da000000000000000000000000000000000000000000000000000000000000002f68747470733a2f2f7777772e616e696d657461732e696f2f6170692f686f766572636172732f6d657461646174612f0000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : uri_ (string): https://www.animetas.io/api/hovercars/metadata/
Arg [1] : lolabs_team (address): 0xD739429bfBDEF8F25280bee993c6F5FB2E884A3b
Arg [2] : animetas_contract (address): 0x18Df6C571F6fE9283B87f910E41dc5c8b77b7da5
Arg [3] : avatracks_contract (address): 0x452745e4f9e6d7eD926ed42Cd8231B16260B1bC0
Arg [4] : splitter (address): 0x3F531995855e74e56F56eedAbf4838Fe84bca1dA
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 000000000000000000000000d739429bfbdef8f25280bee993c6f5fb2e884a3b
Arg [2] : 00000000000000000000000018df6c571f6fe9283b87f910e41dc5c8b77b7da5
Arg [3] : 000000000000000000000000452745e4f9e6d7ed926ed42cd8231b16260b1bc0
Arg [4] : 0000000000000000000000003f531995855e74e56f56eedabf4838fe84bca1da
Arg [5] : 000000000000000000000000000000000000000000000000000000000000002f
Arg [6] : 68747470733a2f2f7777772e616e696d657461732e696f2f6170692f686f7665
Arg [7] : 72636172732f6d657461646174612f0000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.