Feature Tip: Add private address tag to any address under My Name Tag !
Overview [ERC-721]
Max Total Supply:
10,000 ARMY
Holders:
4
Transfers:
-
Contract:
Official Site:
[ Download CSV Export ]
[ Download CSV Export ]
OVERVIEW
Goodness Army - NFT collection with 10000 unique NFT crypto-pictures.# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GoodnessArmy
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 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/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import './ERC2981Base.sol'; struct CharityAddress { address payable charityAddress; bool isActive; uint256 donated; } contract GoodnessArmy is ERC721, ERC2981Base, Ownable { using Counters for Counters.Counter; using SafeMath for uint256; using Strings for uint256; Counters.Counter public tokenIdCounter; Counters.Counter public charityAddressCounter; //Declare an Events event Donate( address indexed from, uint256 indexed charityID, uint256 amount ); event PermanentURI( string _value, uint256 indexed _id ); // 90% go to ukrainian government Charity Address uint public constant CharityFee = 9000; // 9000 = 90% uint public constant Royalties = 1000; // 1000 = 10% // 200 NFT for Goodness Army devs team uint public constant amountForDevs = 200; // Collect Fee addresses address payable immutable public TreasureAddress; // address payable public CharityAddress; // Base NFT url string projectURI = "https://api.goodness.army/nft/"; string public constant contractURI = "https://src.goodness.army/manifest/goodness-army-metadata"; // CONSTANT VALUES // 10k NFT TOTAL uint public constant totalSupply = 10000; // price for 1 nft = 0.25 ether uint public constant nftPrice = 0.25 ether; // Donation statistics (collect data about how much ethereum go as donation to ukrainian gov ether address) uint256 public totalDonated; // Charity Addresses list mapping(uint256 => CharityAddress) public CharityAddressOf; constructor() ERC721("Goodness Army", "ARMY") { // We took charity Address #0 from ukrainian government website: // https://www.kmu.gov.ua/news/mincifri-svitova-kriptospilnota-pidtrimuye-ukrayinu addCharityAddress(payable(0x165CD37b4C644C2921454429E7F9358d18A45e14)); // Goodness Army get 10% from minting fee for marketing purpose // address immutable and can not be change TreasureAddress = payable(0x4DE9c61665304B4b5CE5AB80bbbBF28BE5596e91); // pre-mint for Goodness Army devs team firstMint(); } // nft base URI function _baseURI() internal view override returns (string memory) { return projectURI; } // ADMIN FUNCTIONS // Update base URI function updateBaseURI(string memory newURI) public onlyOwner { projectURI = newURI; } // Update Charity Address function addCharityAddress(address newCharity) public onlyOwner { CharityAddressOf[charityAddressCounter.current()] = CharityAddress({ charityAddress: payable(newCharity), isActive: true, donated: 0 }); charityAddressCounter.increment(); } function activateCharityAddress(uint24 ID) public onlyOwner { require(!CharityAddressOf[ID].isActive, "activateCharityAddress: already in active mode"); CharityAddressOf[ID].isActive = true; } function deactivateCharityAddress(uint24 ID) public onlyOwner { require(CharityAddressOf[ID].isActive, "deactivateCharityAddress: already deactivated"); CharityAddressOf[ID].isActive = false; } // Mint NFT function bunchMint(uint amount, uint256 charityID) public payable { require(tokenIdCounter.current().add(amount).sub(1) < totalSupply, "bunchMint: exceed 10000 limit"); require(amount > 0, "bunchMint: amount can't be 0 value"); require(amount.mul(nftPrice) <= msg.value, "Ether value sent is not correct"); if (msg.sender == TreasureAddress) { donateFromTreasure(charityID); } else { donate(charityID); } uint256 Id; while ( Id < amount ) { _permanentMint(tokenIdCounter.current()); Id++; } } // Donate function donate(uint256 charityID) public payable { require(CharityAddressOf[charityID].isActive, "donate: CharityAddress is deactivated by this ID"); uint256 sentAmount = msg.value; uint256 charity = sentAmount.div(10000).mul(CharityFee); totalDonated = totalDonated.add(sentAmount); CharityAddressOf[charityID].donated = CharityAddressOf[charityID].donated.add(charity); require(CharityAddressOf[charityID].charityAddress.send(charity), "Failed to send Ether to the charity Address"); require(TreasureAddress.send(sentAmount.sub(charity)), "Failed to send Ether to the treasure Address"); //Emit Donate event emit Donate(msg.sender, charityID, charity); } function donateFromTreasure(uint256 charityID) public payable { require(CharityAddressOf[charityID].isActive, "donateFromTreasure: CharityAddress is deactivated by this ID"); require(msg.sender == TreasureAddress, "donateFromTreasure: can be treggered only from TreasureAddress"); uint256 charity = msg.value; totalDonated = totalDonated.add(charity); CharityAddressOf[charityID].donated = CharityAddressOf[charityID].donated.add(charity); require(CharityAddressOf[charityID].charityAddress.send(charity), "Failed to send Ether to the charity Address"); //Emit Donate event emit Donate(msg.sender, charityID, charity); } // pre-mint for Goodness Army devs team function firstMint() private { uint256 tokenId; while (tokenId < amountForDevs) { _permanentMint(tokenId); tokenId++; } } function _permanentMint(uint256 tokenId) private { _safeMint(msg.sender, tokenId); // Set Permanent url ... emit PermanentURI( string(abi.encodePacked(projectURI,tokenId.toString())), tokenId); // token ID increment tokenIdCounter.increment(); } // Royalties IERC2981 setup interface function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981Base) returns (bool) { return super.supportsInterface(interfaceId); } // IERC2981 Royalties base function function royaltyInfo(uint256, uint256 value) external view override returns (address receiver, uint256 royaltyAmount) { receiver = TreasureAddress; royaltyAmount = (value * Royalties) / 10000; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../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; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// 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; /** * @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.4; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; import './IERC2981Royalties.sol'; /// @dev This is a contract used to add ERC2981 support to ERC721 and 1155 abstract contract ERC2981Base is ERC165, IERC2981Royalties { /// @inheritdoc ERC165 function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC2981Royalties).interfaceId || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev 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 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.4; /// @title IERC2981Royalties /// @dev Interface for the ERC2981 - Token Royalty standard interface IERC2981Royalties { /// @notice Called with the sale price to determine how much royalty is owed and to whom. /// @param _tokenId - the NFT asset queried for royalty information /// @param _value - the sale price of the NFT asset specified by _tokenId /// @return _receiver - address of who should be sent the royalty payment /// @return _royaltyAmount - the royalty payment amount for value sale price function royaltyInfo(uint256 _tokenId, uint256 _value) external view returns (address _receiver, uint256 _royaltyAmount); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"uint256","name":"charityID","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Donate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"CharityAddressOf","outputs":[{"internalType":"address payable","name":"charityAddress","type":"address"},{"internalType":"bool","name":"isActive","type":"bool"},{"internalType":"uint256","name":"donated","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CharityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Royalties","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TreasureAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint24","name":"ID","type":"uint24"}],"name":"activateCharityAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newCharity","type":"address"}],"name":"addCharityAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"amountForDevs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"charityID","type":"uint256"}],"name":"bunchMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"charityAddressCounter","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint24","name":"ID","type":"uint24"}],"name":"deactivateCharityAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"charityID","type":"uint256"}],"name":"donate","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"charityID","type":"uint256"}],"name":"donateFromTreasure","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenIdCounter","outputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDonated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"string","name":"newURI","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e0604052601e60a08190527f68747470733a2f2f6170692e676f6f646e6573732e61726d792f6e66742f000060c0908152620000409160099190620007dd565b503480156200004e57600080fd5b50604080518082018252600d81526c476f6f646e6573732041726d7960981b60208083019182528351808501909452600484526341524d5960e01b908401528151919291620000a091600091620007dd565b508051620000b6906001906020840190620007dd565b505050620000d3620000cd6200012660201b60201c565b6200012a565b620000f273165cd37b4c644c2921454429e7f9358d18a45e146200017c565b7f4de9c61665304b4b5ce5ab80bbbbf28be5596e910000000000000000000000006080526200012062000286565b62000b21565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6006546001600160a01b03163314620001dc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6040518060600160405280826001600160a01b031681526020016001151581526020016000815250600b60006200021f6008620002b360201b6200159e1760201c565b8152602080820192909252604090810160002083518154858501511515600160a01b026001600160a81b03199091166001600160a01b03909216919091171781559201516001909201919091556200028390600890620015a2620002b7821b17901c565b50565b60005b60c881101562000283576200029e81620002c0565b80620002aa8162000ac0565b91505062000289565b5490565b80546001019055565b620002cc338262000354565b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b55657207600962000306846200037a60201b620015ab1760201c565b6040516020016200031992919062000900565b60408051601f19818403018152908290526200033591620009ef565b60405180910390a2620002836007620002b760201b620015a21760201c565b62000376828260405180602001604052806000815250620004af60201b60201c565b5050565b6060816200039f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115620003cf5780620003b68162000ac0565b9150620003c79050600a8362000a1f565b9150620003a3565b6000816001600160401b03811115620003f857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801562000423576020820181803683370190505b5090505b8415620004a7576200043b60018362000a36565b91506200044a600a8662000ade565b6200045790603062000a04565b60f81b8183815181106200047b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506200049f600a8662000a1f565b945062000427565b949350505050565b620004bb838362000527565b620004ca60008484846200066f565b620005225760405162461bcd60e51b815260206004820152603260248201526000805160206200312683398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401620001d3565b505050565b6001600160a01b0382166200057f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401620001d3565b6000818152600260205260409020546001600160a01b031615620005e65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401620001d3565b6001600160a01b03821660009081526003602052604081208054600192906200061190849062000a04565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600062000690846001600160a01b0316620007d760201b620016cd1760201c565b15620007cc57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290620006ca903390899088908890600401620009b0565b602060405180830381600087803b158015620006e557600080fd5b505af192505050801562000718575060408051601f3d908101601f19168201909252620007159181019062000883565b60015b620007b1573d80801562000749576040519150601f19603f3d011682016040523d82523d6000602084013e6200074e565b606091505b508051620007a95760405162461bcd60e51b815260206004820152603260248201526000805160206200312683398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401620001d3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050620004a7565b506001949350505050565b3b151590565b828054620007eb9062000a83565b90600052602060002090601f0160209004810192826200080f57600085556200085a565b82601f106200082a57805160ff19168380011785556200085a565b828001600101855582156200085a579182015b828111156200085a5782518255916020019190600101906200083d565b50620008689291506200086c565b5090565b5b808211156200086857600081556001016200086d565b60006020828403121562000895578081fd5b81516001600160e01b031981168114620008ad578182fd5b9392505050565b60008151808452620008ce81602086016020860162000a50565b601f01601f19169290920160200192915050565b60008151620008f681856020860162000a50565b9290920192915050565b600080845482600182811c9150808316806200091d57607f831692505b60208084108214156200093e57634e487b7160e01b87526022600452602487fd5b818015620009555760018114620009675762000995565b60ff1986168952848901965062000995565b60008b815260209020885b868110156200098d5781548b82015290850190830162000972565b505084890196505b505050505050620009a78185620008e2565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090620009e590830184620008b4565b9695505050505050565b602081526000620008ad6020830184620008b4565b6000821982111562000a1a5762000a1a62000af5565b500190565b60008262000a315762000a3162000b0b565b500490565b60008282101562000a4b5762000a4b62000af5565b500390565b60005b8381101562000a6d57818101518382015260200162000a53565b8381111562000a7d576000848401525b50505050565b600181811c9082168062000a9857607f821691505b6020821081141562000aba57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141562000ad75762000ad762000af5565b5060010190565b60008262000af05762000af062000b0b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b60805160601c6125ca62000b5c600039600081816103c0015281816109a801528181610b3101528181611198015261142501526125ca6000f3fe6080604052600436106102035760003560e01c806370a0823111610118578063a22cb465116100a0578063e8a3d4851161006f578063e8a3d48514610619578063e985e9c51461062e578063f14faf6f14610677578063f2fde38b1461068a578063fbe1aa51146106aa57600080fd5b8063a22cb465146105a6578063b88d4fde146105c6578063bd0292a4146105e6578063c87b56dd146105f957600080fd5b8063931688cb116100e7578063931688cb1461051a57806395bc3c831461053a57806395d89b411461055a57806398bdf6f51461056f578063a1080c121461058657600080fd5b806370a08231146104a7578063715018a6146104c75780638da5cb5b146104dc57806391e8e231146104fa57600080fd5b806318160ddd1161019b5780632c4703ee1161016a5780632c4703ee146103ae57806342842e0e146103e25780634f744f3d146104025780634fa747dd146104715780636352211e1461048757600080fd5b806318160ddd14610326578063195a2b061461033c57806323b872dd1461034f5780632a55205a1461036f57600080fd5b8063095ea7b3116101d7578063095ea7b3146102bb5780630a729b22146102dd5780630c6d615b146102f45780630d39fc811461030a57600080fd5b8062b370441461020857806301ffc9a71461023157806306fdde0314610261578063081812fc14610283575b600080fd5b34801561021457600080fd5b5061021e600a5481565b6040519081526020015b60405180910390f35b34801561023d57600080fd5b5061025161024c3660046120a1565b6106bf565b6040519015158152602001610228565b34801561026d57600080fd5b506102766106d0565b60405161022891906122d5565b34801561028f57600080fd5b506102a361029e366004612142565b610762565b6040516001600160a01b039091168152602001610228565b3480156102c757600080fd5b506102db6102d6366004612078565b6107fc565b005b3480156102e957600080fd5b5060085461021e9081565b34801561030057600080fd5b5061021e61232881565b34801561031657600080fd5b5061021e6703782dace9d9000081565b34801561033257600080fd5b5061021e61271081565b6102db61034a366004612142565b610912565b34801561035b57600080fd5b506102db61036a366004611f8a565b610afe565b34801561037b57600080fd5b5061038f61038a36600461215a565b610b2f565b604080516001600160a01b039093168352602083019190915201610228565b3480156103ba57600080fd5b506102a37f000000000000000000000000000000000000000000000000000000000000000081565b3480156103ee57600080fd5b506102db6103fd366004611f8a565b610b74565b34801561040e57600080fd5b5061044c61041d366004612142565b600b60205260009081526040902080546001909101546001600160a01b03821691600160a01b900460ff169083565b604080516001600160a01b039094168452911515602084015290820152606001610228565b34801561047d57600080fd5b5061021e6103e881565b34801561049357600080fd5b506102a36104a2366004612142565b610b8f565b3480156104b357600080fd5b5061021e6104c2366004611f47565b610c06565b3480156104d357600080fd5b506102db610c8d565b3480156104e857600080fd5b506006546001600160a01b03166102a3565b34801561050657600080fd5b506102db61051536600461211f565b610cc3565b34801561052657600080fd5b506102db6105353660046120d9565b610d96565b34801561054657600080fd5b506102db61055536600461211f565b610dd7565b34801561056657600080fd5b50610276610ea2565b34801561057b57600080fd5b5060075461021e9081565b34801561059257600080fd5b506102db6105a1366004611f47565b610eb1565b3480156105b257600080fd5b506102db6105c136600461203e565b610f6d565b3480156105d257600080fd5b506102db6105e1366004611fc5565b61102b565b6102db6105f436600461215a565b611063565b34801561060557600080fd5b50610276610614366004612142565b611203565b34801561062557600080fd5b506102766112de565b34801561063a57600080fd5b50610251610649366004611f61565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102db610685366004612142565b6112fa565b34801561069657600080fd5b506102db6106a5366004611f47565b611506565b3480156106b657600080fd5b5061021e60c881565b60006106ca826116d3565b92915050565b6060600080546106df90612499565b80601f016020809104026020016040519081016040528092919081815260200182805461070b90612499565b80156107585780601f1061072d57610100808354040283529160200191610758565b820191906000526020600020905b81548152906001019060200180831161073b57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107e05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061080782610b8f565b9050806001600160a01b0316836001600160a01b031614156108755760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107d7565b336001600160a01b038216148061089157506108918133610649565b6109035760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107d7565b61090d83836116f8565b505050565b6000818152600b6020526040902054600160a01b900460ff1661099d5760405162461bcd60e51b815260206004820152603c60248201527f646f6e61746546726f6d54726561737572653a2043686172697479416464726560448201527f737320697320646561637469766174656420627920746869732049440000000060648201526084016107d7565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610a3b5760405162461bcd60e51b815260206004820152603e60248201527f646f6e61746546726f6d54726561737572653a2063616e20626520747265676760448201527f65726564206f6e6c792066726f6d20547265617375726541646472657373000060648201526084016107d7565b600a543490610a4a9082611766565b600a556000828152600b6020526040902060010154610a699082611766565b6000838152600b60205260408082206001810193909355915491516001600160a01b039092169183156108fc0291849190818181858888f19350505050610ac25760405162461bcd60e51b81526004016107d79061233a565b604051818152829033907f49bb2edd8608e46c3b9823ec2dabe8ddf219c00870a4a112ff60a1a70669f457906020015b60405180910390a35050565b610b083382611772565b610b245760405162461bcd60e51b81526004016107d7906123ba565b61090d838383611865565b7f00000000000000000000000000000000000000000000000000000000000000006000612710610b616103e885612437565b610b6b9190612423565b90509250929050565b61090d8383836040518060200160405280600081525061102b565b6000818152600260205260408120546001600160a01b0316806106ca5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107d7565b60006001600160a01b038216610c715760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107d7565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610cb75760405162461bcd60e51b81526004016107d790612385565b610cc16000611a05565b565b6006546001600160a01b03163314610ced5760405162461bcd60e51b81526004016107d790612385565b62ffffff81166000908152600b6020526040902054600160a01b900460ff1615610d705760405162461bcd60e51b815260206004820152602e60248201527f616374697661746543686172697479416464726573733a20616c72656164792060448201526d696e20616374697665206d6f646560901b60648201526084016107d7565b62ffffff166000908152600b60205260409020805460ff60a01b1916600160a01b179055565b6006546001600160a01b03163314610dc05760405162461bcd60e51b81526004016107d790612385565b8051610dd3906009906020840190611e1c565b5050565b6006546001600160a01b03163314610e015760405162461bcd60e51b81526004016107d790612385565b62ffffff81166000908152600b6020526040902054600160a01b900460ff16610e825760405162461bcd60e51b815260206004820152602d60248201527f6465616374697661746543686172697479416464726573733a20616c7265616460448201526c1e4819195858dd1a5d985d1959609a1b60648201526084016107d7565b62ffffff166000908152600b60205260409020805460ff60a01b19169055565b6060600180546106df90612499565b6006546001600160a01b03163314610edb5760405162461bcd60e51b81526004016107d790612385565b6040518060600160405280826001600160a01b031681526020016001151581526020016000815250600b6000610f1060085490565b8152602080820192909252604090810160002083518154938501511515600160a01b026001600160a81b03199094166001600160a01b03909116179290921782559190910151600190910155610f6a600880546001019055565b50565b6001600160a01b038216331415610fc65760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107d7565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319101610af2565b6110353383611772565b6110515760405162461bcd60e51b81526004016107d7906123ba565b61105d84848484611a57565b50505050565b612710611084600161107e8561107860075490565b90611766565b90611a8a565b106110d15760405162461bcd60e51b815260206004820152601d60248201527f62756e63684d696e743a20657863656564203130303030206c696d697400000060448201526064016107d7565b6000821161112c5760405162461bcd60e51b815260206004820152602260248201527f62756e63684d696e743a20616d6f756e742063616e277420626520302076616c604482015261756560f01b60648201526084016107d7565b3461113f836703782dace9d90000611a96565b111561118d5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016107d7565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156111cc576111c781610912565b6111d5565b6111d5816112fa565b60005b8281101561090d576111f16111ec60075490565b611aa2565b806111fb816124d4565b9150506111d8565b6000818152600260205260409020546060906001600160a01b03166112825760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107d7565b600061128c611b1a565b905060008151116112ac57604051806020016040528060008152506112d7565b806112b6846115ab565b6040516020016112c79291906121c3565b6040516020818303038152906040525b9392505050565b60405180606001604052806039815260200161255c6039913981565b6000818152600b6020526040902054600160a01b900460ff166113785760405162461bcd60e51b815260206004820152603060248201527f646f6e6174653a2043686172697479416464726573732069732064656163746960448201526f1d985d195908189e481d1a1a5cc8125160821b60648201526084016107d7565b34600061139361232861138d84612710611b29565b90611a96565b600a549091506113a39083611766565b600a556000838152600b60205260409020600101546113c29082611766565b6000848152600b60205260408082206001810193909355915491516001600160a01b039092169183156108fc0291849190818181858888f1935050505061141b5760405162461bcd60e51b81526004016107d79061233a565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166108fc6114528484611a8a565b6040518115909202916000818181858888f193505050506114ca5760405162461bcd60e51b815260206004820152602c60248201527f4661696c656420746f2073656e6420457468657220746f20746865207472656160448201526b73757265204164647265737360a01b60648201526084016107d7565b604051818152839033907f49bb2edd8608e46c3b9823ec2dabe8ddf219c00870a4a112ff60a1a70669f4579060200160405180910390a3505050565b6006546001600160a01b031633146115305760405162461bcd60e51b81526004016107d790612385565b6001600160a01b0381166115955760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107d7565b610f6a81611a05565b5490565b80546001019055565b6060816115cf5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156115f957806115e3816124d4565b91506115f29050600a83612423565b91506115d3565b60008167ffffffffffffffff81111561162257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561164c576020820181803683370190505b5090505b84156116c557611661600183612456565b915061166e600a866124ef565b61167990603061240b565b60f81b81838151811061169c57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506116be600a86612423565b9450611650565b949350505050565b3b151590565b60006001600160e01b0319821663152a902d60e11b14806106ca57506106ca82611b35565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061172d82610b8f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006112d7828461240b565b6000818152600260205260408120546001600160a01b03166117eb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107d7565b60006117f683610b8f565b9050806001600160a01b0316846001600160a01b031614806118315750836001600160a01b031661182684610762565b6001600160a01b0316145b806116c557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff166116c5565b826001600160a01b031661187882610b8f565b6001600160a01b0316146118e05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107d7565b6001600160a01b0382166119425760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107d7565b61194d6000826116f8565b6001600160a01b0383166000908152600360205260408120805460019290611976908490612456565b90915550506001600160a01b03821660009081526003602052604081208054600192906119a490849061240b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611a62848484611865565b611a6e84848484611b85565b61105d5760405162461bcd60e51b81526004016107d7906122e8565b60006112d78284612456565b60006112d78284612437565b611aac3382611c92565b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b556572076009611ad9846115ab565b604051602001611aea9291906121f2565b60408051601f1981840301815290829052611b04916122d5565b60405180910390a2610f6a600780546001019055565b6060600980546106df90612499565b60006112d78284612423565b60006001600160e01b031982166380ac58cd60e01b1480611b6657506001600160e01b03198216635b5e139f60e01b145b806106ca57506301ffc9a760e01b6001600160e01b03198316146106ca565b60006001600160a01b0384163b15611c8757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611bc9903390899088908890600401612298565b602060405180830381600087803b158015611be357600080fd5b505af1925050508015611c13575060408051601f3d908101601f19168201909252611c10918101906120bd565b60015b611c6d573d808015611c41576040519150601f19603f3d011682016040523d82523d6000602084013e611c46565b606091505b508051611c655760405162461bcd60e51b81526004016107d7906122e8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506116c5565b506001949350505050565b610dd3828260405180602001604052806000815250611cb18383611cda565b611cbe6000848484611b85565b61090d5760405162461bcd60e51b81526004016107d7906122e8565b6001600160a01b038216611d305760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107d7565b6000818152600260205260409020546001600160a01b031615611d955760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107d7565b6001600160a01b0382166000908152600360205260408120805460019290611dbe90849061240b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611e2890612499565b90600052602060002090601f016020900481019282611e4a5760008555611e90565b82601f10611e6357805160ff1916838001178555611e90565b82800160010185558215611e90579182015b82811115611e90578251825591602001919060010190611e75565b50611e9c929150611ea0565b5090565b5b80821115611e9c5760008155600101611ea1565b600067ffffffffffffffff80841115611ed057611ed061252f565b604051601f8501601f19908116603f01168101908282118183101715611ef857611ef861252f565b81604052809350858152868686011115611f1157600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611f4257600080fd5b919050565b600060208284031215611f58578081fd5b6112d782611f2b565b60008060408385031215611f73578081fd5b611f7c83611f2b565b9150610b6b60208401611f2b565b600080600060608486031215611f9e578081fd5b611fa784611f2b565b9250611fb560208501611f2b565b9150604084013590509250925092565b60008060008060808587031215611fda578081fd5b611fe385611f2b565b9350611ff160208601611f2b565b925060408501359150606085013567ffffffffffffffff811115612013578182fd5b8501601f81018713612023578182fd5b61203287823560208401611eb5565b91505092959194509250565b60008060408385031215612050578182fd5b61205983611f2b565b91506020830135801515811461206d578182fd5b809150509250929050565b6000806040838503121561208a578182fd5b61209383611f2b565b946020939093013593505050565b6000602082840312156120b2578081fd5b81356112d781612545565b6000602082840312156120ce578081fd5b81516112d781612545565b6000602082840312156120ea578081fd5b813567ffffffffffffffff811115612100578182fd5b8201601f81018413612110578182fd5b6116c584823560208401611eb5565b600060208284031215612130578081fd5b813562ffffff811681146112d7578182fd5b600060208284031215612153578081fd5b5035919050565b6000806040838503121561216c578182fd5b50508035926020909101359150565b6000815180845261219381602086016020860161246d565b601f01601f19169290920160200192915050565b600081516121b981856020860161246d565b9290920192915050565b600083516121d581846020880161246d565b8351908301906121e981836020880161246d565b01949350505050565b600080845482600182811c91508083168061220e57607f831692505b602080841082141561222e57634e487b7160e01b87526022600452602487fd5b81801561224257600181146122535761227f565b60ff1986168952848901965061227f565b60008b815260209020885b868110156122775781548b82015290850190830161225e565b505084890196505b50505050505061228f81856121a7565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906122cb9083018461217b565b9695505050505050565b6020815260006112d7602083018461217b565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602b908201527f4661696c656420746f2073656e6420457468657220746f20746865206368617260408201526a697479204164647265737360a81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561241e5761241e612503565b500190565b60008261243257612432612519565b500490565b600081600019048311821515161561245157612451612503565b500290565b60008282101561246857612468612503565b500390565b60005b83811015612488578181015183820152602001612470565b8381111561105d5750506000910152565b600181811c908216806124ad57607f821691505b602082108114156124ce57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156124e8576124e8612503565b5060010190565b6000826124fe576124fe612519565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610f6a57600080fdfe68747470733a2f2f7372632e676f6f646e6573732e61726d792f6d616e69666573742f676f6f646e6573732d61726d792d6d65746164617461a2646970667358221220182c03ab12ca2f248f835b9ec53d6d85d8e7d9d346b989fccfc8415cdd29758964736f6c634300080400334552433732313a207472616e7366657220746f206e6f6e204552433732315265
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.