Contract Overview
Balance:
0 AVAX
AVAX Value:
$0.00
Txn Hash | Method |
Block
|
From
|
To
|
Value | [Txn Fee] | |||
---|---|---|---|---|---|---|---|---|---|
0x12da83f89a938a0b19f298db100c9bb03b32261730a827af1a439935603fcf36 | Withdraw Balance | 16147233 | 276 days 2 hrs ago | 0xf8c071171ea59b94dd438609eadb7447af067790 | IN | 0x7dca2ced24733ab1d99966d9eb6eae48d3997a8d | 0 AVAX | 0.00148187 | |
0x8dbe9932942f8de94adf72f3288da7ef6e59f0a5901ad1a8728ca78b3cce26de | 0x45e481f4 | 8582915 | 452 days 15 hrs ago | 0x1afe8b91439d9bcfe5ab1a472887b6178639f648 | IN | 0x7dca2ced24733ab1d99966d9eb6eae48d3997a8d | 2 AVAX | 0.009248687789 | |
0x1d8c7a2a2c8c07b807f5386b15271bb61e0320675ce6a5f4baa5faca928c4276 | 0x600d8054 | 8402836 | 456 days 21 hrs ago | 0xf8c071171ea59b94dd438609eadb7447af067790 | IN | Create: MoonMug2 | 0 AVAX | 0.06443055 |
[ Download CSV Export ]
Latest 2 internal transactions
Parent Txn Hash | Block | From | To | Value | |||
---|---|---|---|---|---|---|---|
0x12da83f89a938a0b19f298db100c9bb03b32261730a827af1a439935603fcf36 | 16147233 | 276 days 2 hrs ago | 0x7dca2ced24733ab1d99966d9eb6eae48d3997a8d | 0xf8c071171ea59b94dd438609eadb7447af067790 | 2 AVAX | ||
0x8dbe9932942f8de94adf72f3288da7ef6e59f0a5901ad1a8728ca78b3cce26de | 8582915 | 452 days 15 hrs ago | 0x7dca2ced24733ab1d99966d9eb6eae48d3997a8d | 0x7dca2ced24733ab1d99966d9eb6eae48d3997a8d | 2 AVAX |
[ Download CSV Export ]
Contract Name:
MoonMug2
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.7; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; contract MoonMug2 is ERC721, ERC721Enumerable, ReentrancyGuard, Ownable { using Strings for uint256; uint256 public constant REFLECTION_VALUE = 2000; // 20% using 2 decimals uint256 public constant MAX_PER_MINT = 20; struct NFT { string chain; address tokenAddress; uint256 tokenId; address tokenOwner; string image; } mapping(uint256 => NFT) public tokenNfts; bool public canMint = true; uint256 public minted = 0; uint256 public mintPrice = 2 ether; mapping(uint256 => uint256) public mintPriceHistory; string baseUri = ""; string baseExtension = ""; mapping(uint256 => uint256) public givenReflections; uint256 public totalProjectedReflections = 0; uint256 public withdrawn = 0; uint256 public gross = 0; event Mint(uint256 indexed _id); constructor() ERC721("MoonMug2", "MUG2") Ownable() { } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } /* *************** */ /* Minting Reflections */ /* *************** */ function getCurrentReflection(uint256 index) public view returns (uint256 reflection) { if (index == minted - 1 || minted == 1) { reflection = 0; } else { for (uint256 i = index + 1; i < minted; i++) { uint256 reflectionPerSale = (mintPriceHistory[i] * REFLECTION_VALUE) / 10000; reflection += reflectionPerSale / i; } } } function getReflections() external view returns (uint256 value) { uint256 rewards = 0; uint256 numTokens = balanceOf(msg.sender); for (uint256 i = 0; i < numTokens; i++) { uint256 tokenId = tokenOfOwnerByIndex(msg.sender, i); uint256 currentReflection = getCurrentReflection(tokenId); if (givenReflections[tokenId] < currentReflection) { uint256 tokenReflection = currentReflection - givenReflections[tokenId]; rewards += tokenReflection; } } return rewards; } function claimReflections() external { uint256 rewards = 0; uint256 numTokens = balanceOf(msg.sender); for (uint256 i = 0; i < numTokens; i++) { uint256 tokenId = tokenOfOwnerByIndex(msg.sender, i); uint256 currentReflection = getCurrentReflection(tokenId); if (givenReflections[tokenId] < currentReflection) { uint256 tokenReflection = currentReflection - givenReflections[tokenId]; rewards += tokenReflection; givenReflections[tokenId] += tokenReflection; } } require(rewards > 0, "Your token rewards are 0."); payable(msg.sender).transfer(rewards); } /* *************** */ /* Minting Price */ /* *************** */ function getNextBatchPrice(uint256 amount) public view returns (uint256 batchPrice) { uint256 totalPrice = 0; for (uint8 i = 0; i < amount; i++) { totalPrice += mintPrice; } return totalPrice; } function setPrice(uint256 price) external onlyOwner { mintPrice = price; } /* *************** */ /* Minting */ /* *************** */ function toggleMintability() external onlyOwner { canMint = !canMint; } function mint(NFT[] memory nfts) public payable nonReentrant { require(canMint, "Moonmug: it's not possible to mint just yet."); require(nfts.length > 0, "Moonmug: not enough Moonmug left to mint."); require(nfts.length <= MAX_PER_MINT); uint256 total_cost = getNextBatchPrice(nfts.length); require(msg.value >= total_cost, "Pay more"); gross += total_cost; uint256 excess = msg.value - total_cost; payable(address(this)).transfer(total_cost); for (uint256 i = 0; i < nfts.length; i++) { uint256 nextIndex = minted; tokenNfts[nextIndex] = nfts[i]; mintPriceHistory[nextIndex] = mintPrice; minted += 1; _safeMint(_msgSender(), nextIndex); if (minted > 1) { totalProjectedReflections += (mintPrice * REFLECTION_VALUE) / 10000; } emit Mint(nextIndex); } if (excess > 0) { payable(_msgSender()).transfer(excess); } } /* ****************** */ /* ERC721 */ /* ****************** */ 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(), baseExtension)) : ""; } function setBaseUri(string memory uri) external onlyOwner { baseUri = uri; } function setBaseExtension(string memory extension) external onlyOwner { baseExtension = extension; } function _baseURI() internal view override returns (string memory) { return baseUri; } function withdrawableBalance() public view returns (uint256 value) { return gross - totalProjectedReflections - withdrawn; } function withdrawBalance() external onlyOwner { uint256 withdrawable = withdrawableBalance(); require(address(this).balance >= withdrawable); withdrawn += withdrawable; payable(_msgSender()).transfer(withdrawable); } receive() external payable {} fallback() external payable {} function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) 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 making 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 // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) 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() { _transferOwnership(_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 { _transferOwnership(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"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) 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 { _setApprovalForAll(_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 Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) 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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
[{"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":"uint256","name":"_id","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"MAX_PER_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REFLECTION_VALUE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimReflections","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getCurrentReflection","outputs":[{"internalType":"uint256","name":"reflection","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getNextBatchPrice","outputs":[{"internalType":"uint256","name":"batchPrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReflections","outputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"givenReflections","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gross","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"chain","type":"string"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"tokenOwner","type":"address"},{"internalType":"string","name":"image","type":"string"}],"internalType":"struct MoonMug2.NFT[]","name":"nfts","type":"tuple[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintPriceHistory","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"extension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMintability","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenNfts","outputs":[{"internalType":"string","name":"chain","type":"string"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"tokenOwner","type":"address"},{"internalType":"string","name":"image","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalProjectedReflections","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":[],"name":"withdrawBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawableBalance","outputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
600d805460ff191660011790556000600e819055671bc16d674ec80000600f5560a0604081905260808290526200003a916011919062000146565b506040805160208101918290526000908190526200005b9160129162000146565b506000601455600060155560006016553480156200007857600080fd5b50604080518082018252600881526726b7b7b726bab39960c11b60208083019182528351808501909452600484526326aaa39960e11b908401528151919291620000c59160009162000146565b508051620000db90600190602084019062000146565b50506001600a5550620000ee33620000f4565b62000229565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200015490620001ec565b90600052602060002090601f016020900481019282620001785760008555620001c3565b82601f106200019357805160ff1916838001178555620001c3565b82800160010185558215620001c3579182015b82811115620001c3578251825591602001919060010190620001a6565b50620001d1929150620001d5565b5090565b5b80821115620001d15760008155600101620001d6565b600181811c908216806200020157607f821691505b602082108114156200022357634e487b7160e01b600052602260045260246000fd5b50919050565b612ad180620002396000396000f3fe6080604052600436106102325760003560e01c80637a8a6d751161012d578063beb9716d116100b0578063da3ef23f11610077578063da3ef23f14610665578063e62d64f614610685578063e985e9c51461069a578063f2fde38b146106e3578063fe0b045d14610703578063fed7432f1461071857005b8063beb9716d146105e9578063c80ec52214610603578063c87b56dd14610619578063ccc0037814610639578063d3b3d6681461064f57005b806391b7f5ed116100f457806391b7f5ed1461055457806395d89b4114610574578063a0bcfc7f14610589578063a22cb465146105a9578063b88d4fde146105c957005b80637a8a6d75146104d657806382262808146104f6578063850f80171461050b5780638c323fb7146105215780638da5cb5b1461053657005b806345e481f4116101b55780635fd8c7101161017c5780635fd8c710146104565780636352211e1461046b5780636817c76c1461048b57806370a08231146104a1578063715018a6146104c157005b806345e481f4146103af5780634ce8fb12146103c25780634f02c420146103f35780634f6ccce714610409578063504181b81461042957005b806318160ddd116101f957806318160ddd1461030d57806323b872dd146103225780632f2de47e146103425780632f745c591461036f57806342842e0e1461038f57005b806301ffc9a71461023b57806306fdde0314610270578063081812fc14610292578063095ea7b3146102ca57806309d42b30146102ea57005b3661023957005b005b34801561024757600080fd5b5061025b6102563660046125bc565b610738565b60405190151581526020015b60405180910390f35b34801561027c57600080fd5b50610285610749565b6040516102679190612771565b34801561029e57600080fd5b506102b26102ad36600461262b565b6107db565b6040516001600160a01b039091168152602001610267565b3480156102d657600080fd5b506102396102e5366004612444565b610875565b3480156102f657600080fd5b506102ff601481565b604051908152602001610267565b34801561031957600080fd5b506008546102ff565b34801561032e57600080fd5b5061023961033d366004612350565b61098b565b34801561034e57600080fd5b506102ff61035d36600461262b565b60136020526000908152604090205481565b34801561037b57600080fd5b506102ff61038a366004612444565b6109bc565b34801561039b57600080fd5b506102396103aa366004612350565b610a52565b6102396103bd36600461246e565b610a6d565b3480156103ce57600080fd5b506103e26103dd36600461262b565b610de4565b604051610267959493929190612784565b3480156103ff57600080fd5b506102ff600e5481565b34801561041557600080fd5b506102ff61042436600461262b565b610f34565b34801561043557600080fd5b506102ff61044436600461262b565b60106020526000908152604090205481565b34801561046257600080fd5b50610239610fc7565b34801561047757600080fd5b506102b261048636600461262b565b611052565b34801561049757600080fd5b506102ff600f5481565b3480156104ad57600080fd5b506102ff6104bc366004612302565b6110c9565b3480156104cd57600080fd5b50610239611150565b3480156104e257600080fd5b506102ff6104f136600461262b565b611186565b34801561050257600080fd5b506102396111be565b34801561051757600080fd5b506102ff60165481565b34801561052d57600080fd5b506102396112ed565b34801561054257600080fd5b50600b546001600160a01b03166102b2565b34801561056057600080fd5b5061023961056f36600461262b565b61132b565b34801561058057600080fd5b5061028561135a565b34801561059557600080fd5b506102396105a43660046125f6565b611369565b3480156105b557600080fd5b506102396105c4366004612408565b6113a6565b3480156105d557600080fd5b506102396105e436600461238c565b6113b1565b3480156105f557600080fd5b50600d5461025b9060ff1681565b34801561060f57600080fd5b506102ff60155481565b34801561062557600080fd5b5061028561063436600461262b565b6113e9565b34801561064557600080fd5b506102ff6107d081565b34801561065b57600080fd5b506102ff60145481565b34801561067157600080fd5b506102396106803660046125f6565b6114c7565b34801561069157600080fd5b506102ff611504565b3480156106a657600080fd5b5061025b6106b536600461231d565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106ef57600080fd5b506102396106fe366004612302565b611528565b34801561070f57600080fd5b506102ff6115c3565b34801561072457600080fd5b506102ff61073336600461262b565b611655565b6000610743826116f9565b92915050565b60606000805461075890612993565b80601f016020809104026020016040519081016040528092919081815260200182805461078490612993565b80156107d15780601f106107a6576101008083540402835291602001916107d1565b820191906000526020600020905b8154815290600101906020018083116107b457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108595760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061088082611052565b9050806001600160a01b0316836001600160a01b031614156108ee5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610850565b336001600160a01b038216148061090a575061090a81336106b5565b61097c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610850565b610986838361171e565b505050565b610995338261178c565b6109b15760405162461bcd60e51b81526004016108509061285a565b610986838383611883565b60006109c7836110c9565b8210610a295760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610850565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610986838383604051806020016040528060008152506113b1565b6002600a541415610ac05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610850565b6002600a55600d5460ff16610b2c5760405162461bcd60e51b815260206004820152602c60248201527f4d6f6f6e6d75673a2069742773206e6f7420706f737369626c6520746f206d6960448201526b373a10353ab9ba103cb2ba1760a11b6064820152608401610850565b6000815111610b8f5760405162461bcd60e51b815260206004820152602960248201527f4d6f6f6e6d75673a206e6f7420656e6f756768204d6f6f6e6d7567206c656674604482015268103a379036b4b73a1760b91b6064820152608401610850565b601481511115610b9e57600080fd5b6000610baa8251611186565b905080341015610be75760405162461bcd60e51b8152602060048201526008602482015267506179206d6f726560c01b6044820152606401610850565b8060166000828254610bf99190612905565b9091555060009050610c0b8234612950565b604051909150309083156108fc029084906000818181858888f19350505050158015610c3b573d6000803e3d6000fd5b5060005b8351811015610da457600e548451859083908110610c5f57610c5f612a59565b6020908102919091018101516000838152600c8352604090208151805192939192610c8d92849201906121da565b506020828101516001830180546001600160a01b039283166001600160a01b03199182161790915560408501516002850155606085015160038501805491909316911617905560808301518051610cea92600485019201906121da565b5050600f54600083815260106020526040812091909155600e805460019350909190610d17908490612905565b90915550610d2790503382611a2e565b6001600e541115610d66576127106107d0600f54610d459190612931565b610d4f919061291d565b60146000828254610d609190612905565b90915550505b60405181907f07883703ed0e86588a40d76551c92f8a4b329e3bf19765e0e6749473c1a8466590600090a25080610d9c816129c8565b915050610c3f565b508015610dda57604051339082156108fc029083906000818181858888f19350505050158015610dd8573d6000803e3d6000fd5b505b50506001600a5550565b600c60205260009081526040902080548190610dff90612993565b80601f0160208091040260200160405190810160405280929190818152602001828054610e2b90612993565b8015610e785780601f10610e4d57610100808354040283529160200191610e78565b820191906000526020600020905b815481529060010190602001808311610e5b57829003601f168201915b5050505060018301546002840154600385015460048601805495966001600160a01b0394851696939550939091169291610eb190612993565b80601f0160208091040260200160405190810160405280929190818152602001828054610edd90612993565b8015610f2a5780601f10610eff57610100808354040283529160200191610f2a565b820191906000526020600020905b815481529060010190602001808311610f0d57829003601f168201915b5050505050905085565b6000610f3f60085490565b8210610fa25760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610850565b60088281548110610fb557610fb5612a59565b90600052602060002001549050919050565b600b546001600160a01b03163314610ff15760405162461bcd60e51b815260040161085090612825565b6000610ffb611504565b90508047101561100a57600080fd5b806015600082825461101c9190612905565b9091555050604051339082156108fc029083906000818181858888f1935050505015801561104e573d6000803e3d6000fd5b5050565b6000818152600260205260408120546001600160a01b0316806107435760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610850565b60006001600160a01b0382166111345760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610850565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b0316331461117a5760405162461bcd60e51b815260040161085090612825565b6111846000611a48565b565b600080805b838160ff1610156111b757600f546111a39083612905565b9150806111af816129e3565b91505061118b565b5092915050565b6000806111ca336110c9565b905060005b8181101561126f5760006111e333836109bc565b905060006111f082611655565b60008381526013602052604090205490915081111561125a576000828152601360205260408120546112229083612950565b905061122e8187612905565b9550806013600085815260200190815260200160002060008282546112539190612905565b9091555050505b50508080611267906129c8565b9150506111cf565b50600082116112c05760405162461bcd60e51b815260206004820152601960248201527f596f757220746f6b656e20726577617264732061726520302e000000000000006044820152606401610850565b604051339083156108fc029084906000818181858888f19350505050158015610986573d6000803e3d6000fd5b600b546001600160a01b031633146113175760405162461bcd60e51b815260040161085090612825565b600d805460ff19811660ff90911615179055565b600b546001600160a01b031633146113555760405162461bcd60e51b815260040161085090612825565b600f55565b60606001805461075890612993565b600b546001600160a01b031633146113935760405162461bcd60e51b815260040161085090612825565b805161104e9060119060208401906121da565b61104e338383611a9a565b6113bb338361178c565b6113d75760405162461bcd60e51b81526004016108509061285a565b6113e384848484611b69565b50505050565b6000818152600260205260409020546060906001600160a01b03166114685760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610850565b6000611472611b9c565b9050600081511161149257604051806020016040528060008152506114c0565b8061149c84611bab565b60126040516020016114b093929190612670565b6040516020818303038152906040525b9392505050565b600b546001600160a01b031633146114f15760405162461bcd60e51b815260040161085090612825565b805161104e9060129060208401906121da565b60006015546014546016546115199190612950565b6115239190612950565b905090565b600b546001600160a01b031633146115525760405162461bcd60e51b815260040161085090612825565b6001600160a01b0381166115b75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610850565b6115c081611a48565b50565b600080806115d0336110c9565b905060005b8181101561164d5760006115e933836109bc565b905060006115f682611655565b600083815260136020526040902054909150811115611638576000828152601360205260408120546116289083612950565b90506116348187612905565b9550505b50508080611645906129c8565b9150506115d5565b509092915050565b60006001600e546116669190612950565b8214806116755750600e546001145b1561168257506000919050565b600061168f836001612905565b90505b600e548110156116f257600081815260106020526040812054612710906116bc906107d090612931565b6116c6919061291d565b90506116d2828261291d565b6116dc9084612905565b92505080806116ea906129c8565b915050611692565b505b919050565b60006001600160e01b0319821663780e9d6360e01b1480610743575061074382611ca9565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061175382611052565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166118055760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610850565b600061181083611052565b9050806001600160a01b0316846001600160a01b0316148061184b5750836001600160a01b0316611840846107db565b6001600160a01b0316145b8061187b57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661189682611052565b6001600160a01b0316146118fe5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610850565b6001600160a01b0382166119605760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610850565b61196b838383611cf9565b61197660008261171e565b6001600160a01b038316600090815260036020526040812080546001929061199f908490612950565b90915550506001600160a01b03821660009081526003602052604081208054600192906119cd908490612905565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61104e828260405180602001604052806000815250611d04565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611afc5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610850565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611b74848484611883565b611b8084848484611d37565b6113e35760405162461bcd60e51b8152600401610850906127d3565b60606011805461075890612993565b606081611bcf5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611bf95780611be3816129c8565b9150611bf29050600a8361291d565b9150611bd3565b60008167ffffffffffffffff811115611c1457611c14612a6f565b6040519080825280601f01601f191660200182016040528015611c3e576020820181803683370190505b5090505b841561187b57611c53600183612950565b9150611c60600a86612a03565b611c6b906030612905565b60f81b818381518110611c8057611c80612a59565b60200101906001600160f81b031916908160001a905350611ca2600a8661291d565b9450611c42565b60006001600160e01b031982166380ac58cd60e01b1480611cda57506001600160e01b03198216635b5e139f60e01b145b8061074357506301ffc9a760e01b6001600160e01b0319831614610743565b610986838383611e44565b611d0e8383611efc565b611d1b6000848484611d37565b6109865760405162461bcd60e51b8152600401610850906127d3565b60006001600160a01b0384163b15611e3957604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611d7b903390899088908890600401612734565b602060405180830381600087803b158015611d9557600080fd5b505af1925050508015611dc5575060408051601f3d908101601f19168201909252611dc2918101906125d9565b60015b611e1f573d808015611df3576040519150601f19603f3d011682016040523d82523d6000602084013e611df8565b606091505b508051611e175760405162461bcd60e51b8152600401610850906127d3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061187b565b506001949350505050565b6001600160a01b038316611e9f57611e9a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611ec2565b816001600160a01b0316836001600160a01b031614611ec257611ec2838261204a565b6001600160a01b038216611ed957610986816120e7565b826001600160a01b0316826001600160a01b031614610986576109868282612196565b6001600160a01b038216611f525760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610850565b6000818152600260205260409020546001600160a01b031615611fb75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610850565b611fc360008383611cf9565b6001600160a01b0382166000908152600360205260408120805460019290611fec908490612905565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001612057846110c9565b6120619190612950565b6000838152600760205260409020549091508082146120b4576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906120f990600190612950565b6000838152600960205260408120546008805493945090928490811061212157612121612a59565b90600052602060002001549050806008838154811061214257612142612a59565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061217a5761217a612a43565b6001900381819060005260206000200160009055905550505050565b60006121a1836110c9565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b8280546121e690612993565b90600052602060002090601f016020900481019282612208576000855561224e565b82601f1061222157805160ff191683800117855561224e565b8280016001018555821561224e579182015b8281111561224e578251825591602001919060010190612233565b5061225a92915061225e565b5090565b5b8082111561225a576000815560010161225f565b600067ffffffffffffffff83111561228d5761228d612a6f565b6122a0601f8401601f19166020016128d4565b90508281528383830111156122b457600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146116f457600080fd5b600082601f8301126122f357600080fd5b6114c083833560208501612273565b60006020828403121561231457600080fd5b6114c0826122cb565b6000806040838503121561233057600080fd5b612339836122cb565b9150612347602084016122cb565b90509250929050565b60008060006060848603121561236557600080fd5b61236e846122cb565b925061237c602085016122cb565b9150604084013590509250925092565b600080600080608085870312156123a257600080fd5b6123ab856122cb565b93506123b9602086016122cb565b925060408501359150606085013567ffffffffffffffff8111156123dc57600080fd5b8501601f810187136123ed57600080fd5b6123fc87823560208401612273565b91505092959194509250565b6000806040838503121561241b57600080fd5b612424836122cb565b91506020830135801515811461243957600080fd5b809150509250929050565b6000806040838503121561245757600080fd5b612460836122cb565b946020939093013593505050565b6000602080838503121561248157600080fd5b823567ffffffffffffffff8082111561249957600080fd5b818501915085601f8301126124ad57600080fd5b8135818111156124bf576124bf612a6f565b8060051b6124ce8582016128d4565b8281528581019085870183870188018b10156124e957600080fd5b600093505b848410156125ae5780358681111561250557600080fd5b870160a0818d03601f190181131561251c57600080fd5b6125246128ab565b8a8301358981111561253557600080fd5b6125438f8d838701016122e2565b82525060406125538185016122cb565b8c83015260608085013582840152608091506125708286016122cb565b9083015291830135918983111561258657600080fd5b6125948f8d858701016122e2565b9082015285525050600193909301929187019187016124ee565b509998505050505050505050565b6000602082840312156125ce57600080fd5b81356114c081612a85565b6000602082840312156125eb57600080fd5b81516114c081612a85565b60006020828403121561260857600080fd5b813567ffffffffffffffff81111561261f57600080fd5b61187b848285016122e2565b60006020828403121561263d57600080fd5b5035919050565b6000815180845261265c816020860160208601612967565b601f01601f19169290920160200192915050565b6000845160206126838285838a01612967565b8551918401916126968184848a01612967565b8554920191600090600181811c90808316806126b357607f831692505b8583108114156126d157634e487b7160e01b85526022600452602485fd5b8080156126e557600181146126f657612723565b60ff19851688528388019550612723565b60008b81526020902060005b8581101561271b5781548a820152908401908801612702565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061276790830184612644565b9695505050505050565b6020815260006114c06020830184612644565b60a08152600061279760a0830188612644565b6001600160a01b038781166020850152604084018790528516606084015282810360808401526127c78185612644565b98975050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60405160a0810167ffffffffffffffff811182821017156128ce576128ce612a6f565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156128fd576128fd612a6f565b604052919050565b6000821982111561291857612918612a17565b500190565b60008261292c5761292c612a2d565b500490565b600081600019048311821515161561294b5761294b612a17565b500290565b60008282101561296257612962612a17565b500390565b60005b8381101561298257818101518382015260200161296a565b838111156113e35750506000910152565b600181811c908216806129a757607f821691505b602082108114156116f257634e487b7160e01b600052602260045260246000fd5b60006000198214156129dc576129dc612a17565b5060010190565b600060ff821660ff8114156129fa576129fa612a17565b60010192915050565b600082612a1257612a12612a2d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146115c057600080fdfea26469706673582212209d6c5f2c811af3b31123fbfa83c270b7ae5fdaaccb38eb03cfb2d2a66b4e4bc864736f6c63430008070033
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.