Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 130 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 19551166 | 700 days ago | IN | 0 ETH | 0.00047268 | ||||
| Set Approval For... | 19551166 | 700 days ago | IN | 0 ETH | 0.00083124 | ||||
| Mint Giveaway Di... | 18818460 | 802 days ago | IN | 0 ETH | 0.004118 | ||||
| Mint Giveaway Di... | 18818456 | 802 days ago | IN | 0 ETH | 0.0036396 | ||||
| Mint Giveaway Di... | 18818452 | 802 days ago | IN | 0 ETH | 0.00393118 | ||||
| Mint Giveaway Di... | 18818450 | 802 days ago | IN | 0 ETH | 0.0041815 | ||||
| Mint Giveaway Di... | 18818448 | 802 days ago | IN | 0 ETH | 0.00422497 | ||||
| Mint Giveaway Di... | 18818445 | 802 days ago | IN | 0 ETH | 0.00394262 | ||||
| Safe Transfer Fr... | 16706262 | 1099 days ago | IN | 0 ETH | 0.00150356 | ||||
| Set Approval For... | 15379009 | 1288 days ago | IN | 0 ETH | 0.00077975 | ||||
| Set Approval For... | 15108375 | 1330 days ago | IN | 0 ETH | 0.00041914 | ||||
| Set Approval For... | 15060845 | 1338 days ago | IN | 0 ETH | 0.00060056 | ||||
| Airdrop Dictiona... | 15057816 | 1338 days ago | IN | 0 ETH | 0.00914647 | ||||
| Airdrop Dictiona... | 15057815 | 1338 days ago | IN | 0 ETH | 0.00824867 | ||||
| Airdrop Dictiona... | 15057567 | 1338 days ago | IN | 0 ETH | 0.00907749 | ||||
| Mint Giveaway Di... | 15057076 | 1338 days ago | IN | 0 ETH | 0.00350429 | ||||
| Mint Giveaway Di... | 15057073 | 1338 days ago | IN | 0 ETH | 0.00367473 | ||||
| Mint Giveaway Di... | 15057072 | 1338 days ago | IN | 0 ETH | 0.00394163 | ||||
| Mint Giveaway Di... | 15057070 | 1338 days ago | IN | 0 ETH | 0.00406562 | ||||
| Mint Giveaway Di... | 15057068 | 1338 days ago | IN | 0 ETH | 0.00489601 | ||||
| Mint Giveaway Di... | 15057066 | 1338 days ago | IN | 0 ETH | 0.00523719 | ||||
| Mint Giveaway Di... | 15057064 | 1338 days ago | IN | 0 ETH | 0.00419102 | ||||
| Mint Giveaway Di... | 15057062 | 1338 days ago | IN | 0 ETH | 0.00402089 | ||||
| Mint Giveaway Di... | 15057061 | 1338 days ago | IN | 0 ETH | 0.00422862 | ||||
| Mint Giveaway Di... | 15057059 | 1338 days ago | IN | 0 ETH | 0.00390512 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| - | 14791297 | 1383 days ago | 0.45 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
MintverseDictionary
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 100 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import './libraries/ERC721A.sol';
import "./interfaces/IMintverseDictionary.sol";
import "./interfaces/IMintverseWord.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
/*
* ███╗ ███╗██╗███╗ ██╗████████╗██╗ ██╗███████╗██████╗ ███████╗███████╗ ██████╗ ██╗ ██████╗████████╗██╗ ██████╗ ███╗ ██╗ █████╗ ██████╗ ██╗ ██╗
* ████╗ ████║██║████╗ ██║╚══██╔══╝██║ ██║██╔════╝██╔══██╗██╔════╝██╔════╝ ██╔══██╗██║██╔════╝╚══██╔══╝██║██╔═══██╗████╗ ██║██╔══██╗██╔══██╗╚██╗ ██╔╝
* ██╔████╔██║██║██╔██╗ ██║ ██║ ██║ ██║█████╗ ██████╔╝███████╗█████╗ ██║ ██║██║██║ ██║ ██║██║ ██║██╔██╗ ██║███████║██████╔╝ ╚████╔╝
* ██║╚██╔╝██║██║██║╚██╗██║ ██║ ╚██╗ ██╔╝██╔══╝ ██╔══██╗╚════██║██╔══╝ ██║ ██║██║██║ ██║ ██║██║ ██║██║╚██╗██║██╔══██║██╔══██╗ ╚██╔╝
* ██║ ╚═╝ ██║██║██║ ╚████║ ██║ ╚████╔╝ ███████╗██║ ██║███████║███████╗ ██████╔╝██║╚██████╗ ██║ ██║╚██████╔╝██║ ╚████║██║ ██║██║ ██║ ██║
* ╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝╚══════╝╚══════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝
* @ryanycw
*
* 第二宇宙辭典 鑄造宣言
* 1. 即使舊世界的文明已經滅亡,我們仍相信文字保存了曾有的宇宙。
* 2. 我們不排斥嶄新的當代文明,只是相信古老的符號裡,仍含有舊世界人類獨得之奧秘。
* 3. 我們不相信新世界與舊世界之間,是毫無關聯的兩個文明。
* 4. 我們相信在最簡單的線條裡,有最豐滿的形象、顏色與場景。
* 5. 我們確知一切最複雜的思想,必以最單純的音節組成。
* 6. 我們相信文字永不衰亡,只是沉睡。喚醒文字的方式,便是釋義、辨析、定義、區分⋯⋯。
* 7. 我們不執著於「正確」,我們更信任「想像」。因為,從線條聯想物象,音節捕捉概念,正是人類文明的輝煌起點。
* 8. 它是什麼意思;它不是什麼意思——這些都很重要。但最重要的是:它「還可以」是什麼意思?
* 9. 我們熱愛衝突,擁抱矛盾,因為激烈碰撞所能引出的奧秘,遠勝於眾口一聲的意見。
* 10. 我們堅決相信:在我們降生群聚的第一宇宙之外、之間、之前、之後,還有一個值得我們窮盡想像力去探索的第二宇宙。
*/
contract IMintverseDictionaryStorage {
// Mint Record Variables
mapping(address => bool) public airdropCheck;
mapping(address => uint256) public whitelistMintAmount;
// Phase Limitation Variables
bool public claimWhitelistEnable;
bool public claimPublicEnable;
bool public mintWhitelistEnable;
bool public mintPublicEnable;
uint256 public claimWhitelistTimestamp;
uint256 public claimPublicTimestamp;
uint256 public mintWhitelistTimestamp;
uint256 public mintPublicTimestamp;
// Mint Record Variables
uint256 public totalAirdropDictionary;
uint256 public totalDictionary;
// Mint Limitation Variables
address public mintverseWordAddress;
uint256 public DICT_ADDON_PRICE;
uint256 public MAX_MINTVERSE_DICTIONARY;
// Governance Variables
address public treasury;
string public baseTokenURI;
// Mapping Off-Chain Storage
string public novelDocumentURI;
string public legalDocumentURI;
string public animationCodeDocumentURI;
string public visualRebuildDocumentURI;
string public ERC721ATechinalDocumentURI;
string public metadataMappingDocumentURI;
}
contract MintverseDictionary is IMintverseDictionary, IMintverseDictionaryStorage, Ownable, EIP712, ERC721A {
using SafeMath for uint16;
using SafeMath for uint48;
using SafeMath for uint256;
using Strings for uint256;
constructor()
EIP712("MintverseDictionary", "1.0.0")
ERC721A("MintverseDictionary", "MVD")
{
claimWhitelistEnable = false;
claimPublicEnable = false;
mintWhitelistEnable = false;
mintPublicEnable = false;
MAX_MINTVERSE_DICTIONARY = 210;
DICT_ADDON_PRICE = 0.15 ether;
mintverseWordAddress = 0x895e34343e2cDAa58BD393EC416b446Ba4781c1c;
treasury = 0xbE006d0219aF52A7Bbc793D01B2B72AbF45499D0;
baseTokenURI = "https://api.mintverse.world/dictionary/metadata/";
novelDocumentURI = "";
legalDocumentURI = "";
animationCodeDocumentURI = "";
visualRebuildDocumentURI = "";
ERC721ATechinalDocumentURI = "";
metadataMappingDocumentURI = "";
}
/**
* Modifiers
*/
modifier claimWhitelistActive() {
require(claimWhitelistEnable == true, "Can't claim - WL claim phase hasn't enable");
require(block.timestamp >= claimWhitelistTimestamp, "Can't claim - WL claim phase hasn't started");
_;
}
modifier claimPublicActive() {
require(claimPublicEnable == true, "Can't claim - Public claim phase hasn't enable");
require(block.timestamp >= claimPublicTimestamp, "Can't claim - Public claim phase hasn't started");
_;
}
modifier mintWhitelistActive() {
require(mintWhitelistEnable == true, "Can't mint - WL mint phase hasn't enable");
require(block.timestamp >= mintWhitelistTimestamp, "Can't mint - WL mint phase hasn't started");
_;
}
modifier mintPublicActive() {
require(mintPublicEnable == true, "Can't mint - Public mint phase hasn't enable");
require(block.timestamp >= mintPublicTimestamp, "Can't mint - Public mint phase hasn't started");
_;
}
modifier callerIsUser() {
require(tx.origin == msg.sender, "Invalid caller - Caller is a Contract");
_;
}
/**
* Verify Functions
*/
/** @dev Verify if a address is eligible to mint a specific amount
* @param SIGNATURE Signature used to verify the minter address and amount of minter tokens
*/
function verifyMint(
uint256 maxQuantity,
bytes calldata SIGNATURE
)
public
override
view
returns(bool)
{
address recoveredAddr = ECDSA.recover(_hashTypedDataV4(keccak256(abi.encode(keccak256("MINT(address addressForClaim,uint256 maxQuantity)"), _msgSender(), maxQuantity))), SIGNATURE);
return owner() == recoveredAddr;
}
/** @dev Verify if a address is eligible to claim a specific amount
* @param SIGNATURE Signature used to verify the claimer address and amount of claimable tokens
*/
function verifyClaim(
uint256 maxQuantity,
bytes calldata SIGNATURE
)
public
override
view
returns(bool)
{
address recoveredAddr = ECDSA.recover(_hashTypedDataV4(keccak256(abi.encode(keccak256("CLAIM(address addressForClaim,uint256 maxQuantity)"), _msgSender(), maxQuantity))), SIGNATURE);
return owner() == recoveredAddr;
}
/**
* Mint Functions
*/
/** @dev Airdrop dictionary token to address that have purchased addon
* @param to Address to airdrop the dictionary token
*/
function airdropDictionary(address to)
external
override
onlyOwner
{
require(airdropCheck[to] == false, "Already airdropped");
require(totalAirdropDictionary.add(1) <= IMintverseWord(mintverseWordAddress).getTotalDictionary(), "Exceed maximum dictionary addon amount");
require(IMintverseWord(mintverseWordAddress).getAddonStatusByOwner(to) == true, "Invalid airdrop - Didn't purchase addon");
airdropCheck[to] = true;
totalAirdropDictionary = totalAirdropDictionary.add(1);
_safeMint(to, 1);
emit mintDictionaryEvent(to, 1, totalSupply());
}
/** @dev Mint giveaway dictionary tokens to an address as owner
* @param to Address to transfer the dictionary tokens to
* @param quantity Amount of giveaway tokens to mint
*/
function mintGiveawayDictionary(
address to,
uint256 quantity
)
external
override
onlyOwner
{
require(totalDictionary.add(IMintverseWord(mintverseWordAddress).getTotalDictionary()).add(quantity) <= MAX_MINTVERSE_DICTIONARY, "Exceed maximum dictionary amount");
totalDictionary = totalDictionary.add(quantity);
_safeMint(to, quantity);
emit mintDictionaryEvent(to, quantity, totalSupply());
}
/** @dev Mint dictionary token as Whitelisted Address
* @param quantity Amount of whitelistes tokens to mint
* @param maxClaimNum Maximum amount of mintable tokens
* @param SIGNATURE Signature used to verify the minter address and amount of mintable tokens
*/
function mintWhitelistDictionary(
uint256 quantity,
uint256 maxClaimNum,
bytes calldata SIGNATURE
)
external
payable
override
mintWhitelistActive
callerIsUser
{
require(verifyMint(maxClaimNum, SIGNATURE), "Can't claim - Not eligible");
require(totalDictionary.add(IMintverseWord(mintverseWordAddress).getTotalDictionary()).add(quantity) <= MAX_MINTVERSE_DICTIONARY, "Exceed maximum dictionary amount");
require(quantity > 0 && whitelistMintAmount[msg.sender].add(quantity) <= maxClaimNum, "Exceed maximum mintable whitelist amount");
require(msg.value == DICT_ADDON_PRICE.mul(quantity), "Not the right amount of ether");
whitelistMintAmount[msg.sender] = whitelistMintAmount[msg.sender].add(quantity);
totalDictionary = totalDictionary.add(quantity);
_safeMint(msg.sender, quantity);
emit mintDictionaryEvent(msg.sender, quantity, totalSupply());
}
/** @dev Claim dictionary token as Whitelisted Address
* @param quantity Amount of whitelistes tokens to claim
* @param maxClaimNum Maximum amount of claimable tokens
* @param SIGNATURE Signature used to verify the claimer address and amount of claimable tokens
*/
function claimWhitelistDictionary(
uint256 quantity,
uint256 maxClaimNum,
bytes calldata SIGNATURE
)
external
payable
override
claimWhitelistActive
callerIsUser
{
require(verifyClaim(maxClaimNum, SIGNATURE), "Can't claim - Not eligible");
require(totalDictionary.add(IMintverseWord(mintverseWordAddress).getTotalDictionary()).add(quantity) <= MAX_MINTVERSE_DICTIONARY, "Exceed maximum dictionary amount");
require(quantity > 0 && whitelistMintAmount[msg.sender].add(quantity) <= maxClaimNum, "Exceed maximum mintable whitelist amount");
whitelistMintAmount[msg.sender] = whitelistMintAmount[msg.sender].add(quantity);
totalDictionary = totalDictionary.add(quantity);
_safeMint(msg.sender, quantity);
emit mintDictionaryEvent(msg.sender, quantity, totalSupply());
}
/** @dev Mint dictionary token as Public Address
* @param quantity Amount of public tokens to mint
*/
function mintPublicDictionary(
uint256 quantity
)
external
payable
override
mintPublicActive
callerIsUser
{
require(totalDictionary.add(IMintverseWord(mintverseWordAddress).getTotalDictionary()).add(quantity) <= MAX_MINTVERSE_DICTIONARY, "Exceed maximum dictionary amount");
require(msg.value == DICT_ADDON_PRICE.mul(quantity), "Not the right amount of ether");
totalDictionary = totalDictionary.add(quantity);
_safeMint(msg.sender, quantity);
emit mintDictionaryEvent(msg.sender, quantity, totalSupply());
}
/** @dev Claim dictionary token as Public Address
* @param quantity Amount of public tokens to claim
*/
function claimPublicDictionary(
uint256 quantity
)
external
payable
override
claimPublicActive
callerIsUser
{
require(totalDictionary.add(IMintverseWord(mintverseWordAddress).getTotalDictionary()).add(quantity) <= MAX_MINTVERSE_DICTIONARY, "Exceed maximum dictionary amount");
totalDictionary = totalDictionary.add(quantity);
_safeMint(msg.sender, quantity);
emit mintDictionaryEvent(msg.sender, quantity, totalSupply());
}
function getTotalDictionary()
external
view
returns(uint256 amount)
{
uint256 prev = IMintverseWord(mintverseWordAddress).getTotalDictionary();
uint256 cur = totalDictionary;
uint256 total = prev.add(cur);
return total;
}
/**
* Token Functions
*/
/** @dev Retrieve token URI to get the metadata of a token
* @param tokenId TokenId which caller wants to get the metadata of
*/
function tokenURI(uint256 tokenId)
public
view
override
returns (string memory curTokenURI)
{
require(_exists(tokenId), "Token doesn't exist");
return string(abi.encodePacked(baseTokenURI, tokenId.toString()));
}
/** @dev Retrieve all tokenIds of a given address
* @param owner Address which caller wants to get all of its tokenIds
*/
function tokensOfOwner(address owner)
external
view
override
returns(uint256[] memory)
{
uint256 tokenCount = balanceOf(owner);
if (tokenCount == 0) {
// Return an empty array
return new uint256[](0);
} else {
uint256[] memory result = new uint256[](tokenCount);
for (uint256 index = 0; index < tokenCount; index++) {
result[index] = tokenOfOwnerByIndex(owner, index);
}
return result;
}
}
/** @dev Set the status of whitelist mint phase and its starting time
* @param _hasWLMintStarted True if the whitelist mint phase have started, otherwise false
* @param _wlMintTimestamp After this timestamp the whitelist mint phase will be enabled
*/
function setWLMintPhase(
bool _hasWLMintStarted,
uint256 _wlMintTimestamp
)
override
external
onlyOwner
{
mintWhitelistEnable = _hasWLMintStarted;
mintWhitelistTimestamp = _wlMintTimestamp;
}
/** @dev Set the status of public mint phase and its starting time
* @param _hasPublicMintStarted True if the public mint phase have started, otherwise false
* @param _publicMintTimestamp After this timestamp the public mint phase will be enabled
*/
function setPublicMintPhase(
bool _hasPublicMintStarted,
uint256 _publicMintTimestamp
)
override
external
onlyOwner
{
mintPublicEnable = _hasPublicMintStarted;
mintPublicTimestamp = _publicMintTimestamp;
}
/** @dev Set the status of whitelist claim phase and its starting time
* @param _hasWLClaimStarted True if the whitelist claim phase have started, otherwise false
* @param _wlClaimTimestamp After this timestamp the whitelist claim phase will be enabled
*/
function setWLClaimPhase(
bool _hasWLClaimStarted,
uint256 _wlClaimTimestamp
)
override
external
onlyOwner
{
claimWhitelistEnable = _hasWLClaimStarted;
claimWhitelistTimestamp = _wlClaimTimestamp;
}
/** @dev Set the status of public claim phase and its starting time
* @param _hasPublicClaimStarted True if the public claim phase have started, otherwise false
* @param _publicClaimTimestamp After this timestamp the public claim phase will be enabled
*/
function setPublicClaimPhase(
bool _hasPublicClaimStarted,
uint256 _publicClaimTimestamp
)
override
external
onlyOwner
{
claimPublicEnable = _hasPublicClaimStarted;
claimPublicTimestamp = _publicClaimTimestamp;
}
/** @dev Set the price to purchase dictionary tokens.
* @param price New price that caller wants to set as the price of dictionary tokens
*/
function setDictPrice(uint256 price)
override
external
onlyOwner
{
DICT_ADDON_PRICE = price;
}
/** @dev Set the maximum supply of dictionary tokens.
* @param amount Maximum amount of dictionary tokens
*/
function setMaxDictAmt(uint256 amount)
override
external
onlyOwner
{
MAX_MINTVERSE_DICTIONARY = amount;
}
/** @dev Set the maximum supply of dictionary tokens.
* @param newTokenAddress Maximum amount of dictionary tokens
*/
function setMintverseWordTokenAddress(address newTokenAddress)
override
external
onlyOwner
{
mintverseWordAddress = newTokenAddress;
}
/** @dev Set the URI for novelDocumentURI, which returns URI of the novel document.
* @param newNovelDocumentURI New URI that caller wants to set as novelDocumentURI
*/
function setNovelDocumentURI(string calldata newNovelDocumentURI)
override
external
onlyOwner
{
novelDocumentURI = newNovelDocumentURI;
}
/** @dev Set the URI for legalDocumentURI, which returns the URI of legal document.
* @param newLegalDocumentURI New URI that caller wants to set as legalDocumentURI
*/
function setLegalDocumentURI(string calldata newLegalDocumentURI)
override
external
onlyOwner
{
legalDocumentURI = newLegalDocumentURI;
}
/** @dev Set the URI for animationCodeDocumentURI, which returns the URI of animation code.
* @param newAnimationCodeDocumentURI New URI that caller wants to set as animationCodeDocumentURI
*/
function setAnimationCodeDocumentURI(string calldata newAnimationCodeDocumentURI)
override
external
onlyOwner
{
animationCodeDocumentURI = newAnimationCodeDocumentURI;
}
/** @dev Set the URI for visualRebuildDocumentURI, which returns the URI of visual rebuild document.
* @param newVisualRebuildDocumentURI New URI that caller wants to set as visualRebuildDocumentURI
*/
function setVisualRebuildDocumentURI(string calldata newVisualRebuildDocumentURI)
override
external
onlyOwner
{
visualRebuildDocumentURI = newVisualRebuildDocumentURI;
}
/** @dev Set the URI for ERC721ATechinalDocumentURI, which returns the URI of ERC721A technical document.
* @param newERC721ATechinalDocumentURI New URI that caller wants to set as ERC721ATechinalDocumentURI
*/
function setERC721ATechinalDocumentURI(string calldata newERC721ATechinalDocumentURI)
override
external
onlyOwner
{
ERC721ATechinalDocumentURI = newERC721ATechinalDocumentURI;
}
/** @dev Set the URI for metadataMappingDocumentURI, which returns the URI of metadata mapping document.
* @param newMetadataMappingDocumentURI New URI that caller wants to set as metadataMappingDocumentURI
*/
function setMetadataMappingDocumentURI(string calldata newMetadataMappingDocumentURI)
override
external
onlyOwner
{
metadataMappingDocumentURI = newMetadataMappingDocumentURI;
}
/** @dev Set the address that act as treasury and recieve all the fund from token contract.
* @param _treasury New address that caller wants to set as the treasury address
*/
function setTreasury(address _treasury)
override
external
onlyOwner
{
require(_treasury != address(0), "Invalid address - Zero address");
treasury = _treasury;
}
/**
* Withdrawal Functions
*/
/** @dev Withdraw all the funds in the contract
*/
function withdrawAll()
override
external
payable
onlyOwner
{
payable(treasury).transfer(address(this).balance);
}
}// SPDX-License-Identifier: MIT
// Creator: Chiru Labs
pragma solidity ^0.8.4;
import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';
error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
*
* Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
*
* Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
*
* Assumes that the maximum token id cannot exceed 2**128 - 1 (max value of uint128).
*/
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
using Address for address;
using Strings for uint256;
// Compiler will pack this into a single 256bit word.
struct TokenOwnership {
// The address of the owner.
address addr;
// Keeps track of the start time of ownership with minimal overhead for tokenomics.
uint64 startTimestamp;
// Whether the token has been burned.
bool burned;
}
// Compiler will pack this into a single 256bit word.
struct AddressData {
// Realistically, 2**64-1 is more than enough.
uint64 balance;
// Keeps track of mint count with minimal overhead for tokenomics.
uint64 numberMinted;
// Keeps track of burn count with minimal overhead for tokenomics.
uint64 numberBurned;
}
// Compiler will pack the following
// _currentIndex and _burnCounter into a single 256bit word.
// The tokenId of the next token to be minted.
uint128 internal _currentIndex;
// The number of tokens burned.
uint128 internal _burnCounter;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to ownership details
// An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
mapping(uint256 => TokenOwnership) internal _ownerships;
// Mapping owner address to address data
mapping(address => AddressData) private _addressData;
// 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;
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC721Enumerable-totalSupply}.
*/
function totalSupply() public view override returns (uint256) {
// Counter underflow is impossible as _burnCounter cannot be incremented
// more than _currentIndex times
unchecked {
return _currentIndex - _burnCounter;
}
}
/**
* @dev See {IERC721Enumerable-tokenByIndex}.
* This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
* It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
*/
function tokenByIndex(uint256 index) public view override returns (uint256) {
uint256 numMintedSoFar = _currentIndex;
uint256 tokenIdsIdx;
// Counter overflow is impossible as the loop breaks when
// uint256 i is equal to another uint256 numMintedSoFar.
unchecked {
for (uint256 i; i < numMintedSoFar; i++) {
TokenOwnership memory ownership = _ownerships[i];
if (!ownership.burned) {
if (tokenIdsIdx == index) {
return i;
}
tokenIdsIdx++;
}
}
}
revert TokenIndexOutOfBounds();
}
/**
* @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
* This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
* It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds();
uint256 numMintedSoFar = _currentIndex;
uint256 tokenIdsIdx;
address currOwnershipAddr;
// Counter overflow is impossible as the loop breaks when
// uint256 i is equal to another uint256 numMintedSoFar.
unchecked {
for (uint256 i; i < numMintedSoFar; i++) {
TokenOwnership memory ownership = _ownerships[i];
if (ownership.burned) {
continue;
}
if (ownership.addr != address(0)) {
currOwnershipAddr = ownership.addr;
}
if (currOwnershipAddr == owner) {
if (tokenIdsIdx == index) {
return i;
}
tokenIdsIdx++;
}
}
}
// Execution should never reach this point.
revert();
}
/**
* @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 ||
interfaceId == type(IERC721Enumerable).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view override returns (uint256) {
if (owner == address(0)) revert BalanceQueryForZeroAddress();
return uint256(_addressData[owner].balance);
}
function _numberMinted(address owner) internal view returns (uint256) {
if (owner == address(0)) revert MintedQueryForZeroAddress();
return uint256(_addressData[owner].numberMinted);
}
function _numberBurned(address owner) internal view returns (uint256) {
if (owner == address(0)) revert BurnedQueryForZeroAddress();
return uint256(_addressData[owner].numberBurned);
}
/**
* Gas spent here starts off proportional to the maximum mint batch size.
* It gradually moves to O(1) as tokens get transferred around in the collection over time.
*/
function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
uint256 curr = tokenId;
unchecked {
if (curr < _currentIndex) {
TokenOwnership memory ownership = _ownerships[curr];
if (!ownership.burned) {
if (ownership.addr != address(0)) {
return ownership;
}
// Invariant:
// There will always be an ownership that has an address and is not burned
// before an ownership that does not have an address and is not burned.
// Hence, curr will not underflow.
while (true) {
curr--;
ownership = _ownerships[curr];
if (ownership.addr != address(0)) {
return ownership;
}
}
}
}
}
revert OwnerQueryForNonexistentToken();
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view override returns (address) {
return ownershipOf(tokenId).addr;
}
/**
* @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) {
if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
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 override {
address owner = ERC721A.ownerOf(tokenId);
if (to == owner) revert ApprovalToCurrentOwner();
if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
revert ApprovalCallerNotOwnerNorApproved();
}
_approve(to, tokenId, owner);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view override returns (address) {
if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public override {
if (operator == _msgSender()) revert ApproveToCaller();
_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 {
_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 {
_transfer(from, to, tokenId);
if (!_checkOnERC721Received(from, to, tokenId, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
}
/**
* @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`),
*/
function _exists(uint256 tokenId) internal view returns (bool) {
return tokenId < _currentIndex && !_ownerships[tokenId].burned;
}
function _safeMint(address to, uint256 quantity) internal {
_safeMint(to, quantity, '');
}
/**
* @dev Safely mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
* - `quantity` must be greater than 0.
*
* Emits a {Transfer} event.
*/
function _safeMint(
address to,
uint256 quantity,
bytes memory _data
) internal {
_mint(to, quantity, _data, true);
}
/**
* @dev Mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `quantity` must be greater than 0.
*
* Emits a {Transfer} event.
*/
function _mint(
address to,
uint256 quantity,
bytes memory _data,
bool safe
) internal {
uint256 startTokenId = _currentIndex;
if (to == address(0)) revert MintToZeroAddress();
if (quantity == 0) revert MintZeroQuantity();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are incredibly unrealistic.
// balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1
// updatedIndex overflows if _currentIndex + quantity > 3.4e38 (2**128) - 1
unchecked {
_addressData[to].balance += uint64(quantity);
_addressData[to].numberMinted += uint64(quantity);
_ownerships[startTokenId].addr = to;
_ownerships[startTokenId].startTimestamp = uint64(block.timestamp);
uint256 updatedIndex = startTokenId;
for (uint256 i; i < quantity; i++) {
emit Transfer(address(0), to, updatedIndex);
if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
updatedIndex++;
}
_currentIndex = uint128(updatedIndex);
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
*
* 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
) private {
TokenOwnership memory prevOwnership = ownershipOf(tokenId);
bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
isApprovedForAll(prevOwnership.addr, _msgSender()) ||
getApproved(tokenId) == _msgSender());
if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
if (to == address(0)) revert TransferToZeroAddress();
_beforeTokenTransfers(from, to, tokenId, 1);
// Clear approvals from the previous owner
_approve(address(0), tokenId, prevOwnership.addr);
// Underflow of the sender's balance is impossible because we check for
// ownership above and the recipient's balance can't realistically overflow.
// Counter overflow is incredibly unrealistic as tokenId would have to be 2**128.
unchecked {
_addressData[from].balance -= 1;
_addressData[to].balance += 1;
_ownerships[tokenId].addr = to;
_ownerships[tokenId].startTimestamp = uint64(block.timestamp);
// If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
// Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
uint256 nextTokenId = tokenId + 1;
if (_ownerships[nextTokenId].addr == address(0)) {
// This will suffice for checking _exists(nextTokenId),
// as a burned slot cannot contain the zero address.
if (nextTokenId < _currentIndex) {
_ownerships[nextTokenId].addr = prevOwnership.addr;
_ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
}
}
}
emit Transfer(from, to, tokenId);
_afterTokenTransfers(from, to, tokenId, 1);
}
/**
* @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 {
TokenOwnership memory prevOwnership = ownershipOf(tokenId);
_beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);
// Clear approvals from the previous owner
_approve(address(0), tokenId, prevOwnership.addr);
// Underflow of the sender's balance is impossible because we check for
// ownership above and the recipient's balance can't realistically overflow.
// Counter overflow is incredibly unrealistic as tokenId would have to be 2**128.
unchecked {
_addressData[prevOwnership.addr].balance -= 1;
_addressData[prevOwnership.addr].numberBurned += 1;
// Keep track of who burned the token, and the timestamp of burning.
_ownerships[tokenId].addr = prevOwnership.addr;
_ownerships[tokenId].startTimestamp = uint64(block.timestamp);
_ownerships[tokenId].burned = true;
// If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
// Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
uint256 nextTokenId = tokenId + 1;
if (_ownerships[nextTokenId].addr == address(0)) {
// This will suffice for checking _exists(nextTokenId),
// as a burned slot cannot contain the zero address.
if (nextTokenId < _currentIndex) {
_ownerships[nextTokenId].addr = prevOwnership.addr;
_ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
}
}
}
emit Transfer(prevOwnership.addr, address(0), tokenId);
_afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);
// Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
unchecked {
_burnCounter++;
}
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(
address to,
uint256 tokenId,
address owner
) private {
_tokenApprovals[tokenId] = to;
emit Approval(owner, 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(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert TransferToNonERC721ReceiverImplementer();
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
* And also called before burning one token.
*
* startTokenId - the first token id to be transferred
* quantity - the amount to be transferred
*
* 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, `tokenId` will be burned by `from`.
* - `from` and `to` are never both zero.
*/
function _beforeTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
/**
* @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
* minting.
* And also called after one token has been burned.
*
* startTokenId - the first token id to be transferred
* quantity - the amount to be transferred
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
* transferred to `to`.
* - When `from` is zero, `tokenId` has been minted for `to`.
* - When `to` is zero, `tokenId` has been burned by `from`.
* - `from` and `to` are never both zero.
*/
function _afterTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
interface IMintverseDictionary {
// Return true if the minter is eligible to mint the given amount word token with the signature.
function verifyMint(uint256 maxQuantity, bytes calldata SIGNATURE) external view returns(bool);
// Return true if the minter is eligible to claim the given amount word token with the signature.
function verifyClaim(uint256 maxQuantity, bytes calldata SIGNATURE) external view returns(bool);
// Airdrop dictionary tokens to previously purchase minters.
function airdropDictionary(address to) external;
// Mint giveaway tokens to an address by owner.
function mintGiveawayDictionary(address to, uint256 quantity) external;
// Whitelisted addresses mint specific amount of tokens with signature & maximum mintable amount to verify.
function mintWhitelistDictionary(uint256 quantity, uint256 maxClaimNum, bytes calldata SIGNATURE) external payable;
// Whitelisted addresses claim specific amount of tokens with signature & maximum mintable amount to verify.
function claimWhitelistDictionary(uint256 quantity, uint256 maxClaimNum, bytes calldata SIGNATURE) external payable;
// Public addresses mint specific amount of tokens.
function mintPublicDictionary(uint256 quantity) external payable;
// Public addresses claim specific amount of tokens.
function claimPublicDictionary(uint256 quantity) external payable;
// View function to get all the token Id that a address owns.
function tokensOfOwner(address owner) external view returns(uint256[] memory);
// Set the variables to enable the whitelist mint phase by owner.
function setWLMintPhase(bool hasWLMintStarted, uint256 wlMintTimestamp) external;
// Set the variables to enable the public mint phase by owner.
function setPublicMintPhase(bool hasPublicMintStarted, uint256 publicMintTimestamp) external;
// Set the variables to enable the whitelist claim phase by owner.
function setWLClaimPhase(bool hasWLClaimStarted, uint256 wlClaimTimestamp) external;
// Set the variables to enable the public claim phase by owner.
function setPublicClaimPhase(bool hasPublicClaimStarted, uint256 publicClaimTimestamp) external;
// Set the price for minter to tokens.
function setDictPrice(uint256 price) external;
// Set the maximum supply of the dictionary by owner.
function setMaxDictAmt(uint256 amount) external;
// Set the address of word token to check previous dictionary addon supply.
function setMintverseWordTokenAddress(address newTokenAddress) external;
// Set the URI for the novel document.
function setNovelDocumentURI(string calldata newNovelDocumentURI) external;
// Set the URI for the legal document.
function setLegalDocumentURI(string calldata newLegalDocumentURI) external;
// Set the URI for the animation code document.
function setAnimationCodeDocumentURI(string calldata newAnimationCodeDocumentURI) external;
// Set the URI for the visual rebuild method document.
function setVisualRebuildDocumentURI(string calldata newVisualRebuildDocumentURI) external;
// Set the URI for the erc721 technical document.
function setERC721ATechinalDocumentURI(string calldata newERC721ATechinalDocumentURI) external;
// Set the URI for the metadata mapping document.
function setMetadataMappingDocumentURI(string calldata newMetadataMappingDocumentURI) external;
// Set the address to transfer the contract fund to.
function setTreasury(address treasury) external;
// Withdraw all the fund inside the contract to the treasury address.
function withdrawAll() external payable;
// This event is triggered whenever a call to #mintGiveawayWord, #mintWhitelistWord, and #mintPublicWord succeeds.
event mintDictionaryEvent(address owner, uint256 quantity, uint256 totalSupply);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "./IWord.sol";
interface IMintverseWord is IWord {
// Return true if the minter is eligible to claim the given amount word token with the signature.
function verify(uint256 maxQuantity, bytes calldata SIGNATURE) external view returns(bool);
// Changes the addon status of an address by owner.
function mintGiveawayDictionary(address to, bool addon) external;
// Mints tokens to an address with specific wordId by owner.
function mintGiveawayWord(address to, uint16 wordId, uint48 mintTimestamp) external;
// Whitelisted addresses mint specific amount of tokens with signature & maximum mintable amount to verify.
function mintWhitelistWord(uint256 quantity, uint256 maxClaimNum, bool addon, bytes calldata SIGNATURE) external payable;
// Public addresses mint specific amount of tokens.
function mintPublicWord(bool addon) external payable;
// Word token owners send five parameters to define the word.
function defineWord(uint256 tokenId, string calldata definer, uint8 partOfSpeech1, uint8 partOfSpeech2, string calldata relatedWord, string calldata description) external;
// Add the wordId to the end of random word bank.
function settleExpiredWord(uint256 startTokenId, uint256 endTokenId) external;
// View function to get the metadata of a specific token with tokenId.
function getTokenProperties(uint256 tokenId) external view returns(string memory definer, uint256 wordId, uint256 categoryId, uint256 partOfSpeechId1, uint256 partOfSpeechId2, string memory relatedWord, string memory description);
// View function to get the expired timestamp of a specific token with tokenId.
function getTokenExpirationTime(uint256 tokenId) external view returns(uint256 expirationTime);
// View function to get the status(dead or alive) of a specific token with tokenId.
function getTokenStatus(uint256 tokenId) external view returns(bool writtenOrNot);
// View function to get all the metadatas of the word tokens of the given address.
function getTokenPropertiesByOwner(address owner) external view returns(TokenInfo[] memory tokenInfos);
// View function to get all the expired timestamps of the word tokens of the given address.
function getTokenExpirationTimeByOwner(address owner) external view returns(uint256[] memory expirationTimes);
// View function to get all the status(dead or alive) of the word tokens of the given address.
function getTokenStatusByOwner(address owner) external view returns(bool[] memory writtenOrNot);
// View function to check if the given address has purchased the addon dictionary.
function getAddonStatusByOwner(address owner) external view returns(bool addon);
// View function to get all the token Id that a address owns.
function tokensOfOwner(address owner) external view returns(uint256[] memory);
// View function to get all the dictionary supply for dictionary contract.
function getTotalDictionary() external view returns (uint256 amount);
// Set the variables to enable the whitelist mint phase by owner.
function setWLMintPhase(bool hasWLMintStarted, uint256 wlMintTimestamp) external;
// Set the variables to enable the public mint phase by owner.
function setPublicMintPhase(bool hasPublicMintStarted, uint256 publicMintTimestamp) external;
// Set the price for minter to purchase addon dictionary.
function setDictPrice(uint256 price) external;
// Set the expiration time period of the token.
function setExpirationTime(uint48 expirationPeriod) external;
// Set the reveal timestamp to adjust tokens mint time.
function setRevealTimestamp(uint48 newRevealTimestamp) external;
// Set the categoryId of a specific token by tokenId.
function setCategoryByTokenId(uint256 tokenId, uint8 categoryId) external;
// **SYSTEM EMERGENCY CALLS**
// Set the maximum supply of the random tokens by owner.
function setMaxRandomWordTokenAmt(uint256 amount) external;
// Set the maximum supply of the giveaway tokens by owner.
function setMaxGiveawayWordTokenAmt(uint256 amount) external;
// Set the maximum supply of the dictionary by owner.
function setMaxDictAmt(uint256 amount) external;
// Set the index for head of random word.
function setHeadRandomWordId(uint16 index) external;
// Set the index for tail of random word.
function setTailRandomWordId(uint16 index) external;
// Set the index for tail of random word.
function setSettleHeadRandomWordId(uint16 index) external;
// Set the offset of the designated word id.
function setWordIdOffset(uint16 offsetAmount) external;
// **TOKEN EMERGENCY CALLS**
// Set the wordId of a specific token by tokenId.
function setTokenWordIdByTokenId(uint256 tokenId, uint16 wordId) external;
// Set the mint time of a specific token by tokenId.
function setTokenMintTimeByTokenId(uint256 tokenId, uint48 mintTimestamp) external;
// Set the defined status of a specific token by tokenId.
function setTokenDefineStatusByTokenId(uint256 tokenId, bool definedOrNot) external;
// Set the URI to return the tokens metadata.
function setBaseTokenURI(string calldata newBaseTokenURI) external;
// Set the URI for the legal document.
function setLegalDocumentURI(string calldata newLegalDocumentURI) external;
// Set the URI for the system mechanism document.
function setSystemMechanismDocumentURI(string calldata newSystemMechanismDocumentURI) external;
// Set the URI for the animation code document.
function setAnimationCodeDocumentURI(string calldata newAnimationCodeDocumentURI) external;
// Set the URI for the visual rebuild method document.
function setVisualRebuildDocumentURI(string calldata newVisualRebuildDocumentURI) external;
// Set the URI for the erc721 technical document.
function setERC721ATechinalDocumentURI(string calldata newERC721ATechinalDocumentURI) external;
// Set the URI for the wordId mapping document.
function setWordIdMappingDocumnetURI(string calldata newWordIdMappingDocumnetURI) external;
// Set the URI for the partOfSpeechId mapping document.
function setPartOfSpeechIdMappingDocumentURI(string calldata newPartOfSpeechIdMappingDocumentURI) external;
// Set the URI for the categoryId mapping document.
function setCategoryIdMappingDocumentURI(string calldata newCategoryIdMappingDocumentURI) external;
// Set the URI for the metadata mapping document.
function setMetadataMappingDocumentURI(string calldata newMetadataMappingDocumentURI) external;
// Set the address to transfer the contract fund to.
function setTreasury(address treasury) external;
// Withdraw all the fund inside the contract to the treasury address.
function withdrawAll() external payable;
// This event is triggered whenever a call to #mintGiveawayWord, #mintWhitelistWord, and #mintPublicWord succeeds.
event mintWordEvent(address owner, uint256 quantity, uint256 totalSupply);
// This event is triggered whenever a call to #defineWord succeeds.
event wordDefinedEvent(uint256 tokenId);
// This event is triggered whenever a call to #settleExpiredWord succeeds.
event moveWordToTheBack(uint256 oriWordId, uint256 newWordId);
}// 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 (utils/cryptography/draft-EIP712.sol)
pragma solidity ^0.8.0;
import "./ECDSA.sol";
/**
* @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
*
* The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
* thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
* they need in their contracts using a combination of `abi.encode` and `keccak256`.
*
* This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
* scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
* ({_hashTypedDataV4}).
*
* The implementation of the domain separator was designed to be as efficient as possible while still properly updating
* the chain id to protect against replay attacks on an eventual fork of the chain.
*
* NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
* https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
*
* _Available since v3.4._
*/
abstract contract EIP712 {
/* solhint-disable var-name-mixedcase */
// Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
// invalidate the cached domain separator if the chain id changes.
bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
uint256 private immutable _CACHED_CHAIN_ID;
address private immutable _CACHED_THIS;
bytes32 private immutable _HASHED_NAME;
bytes32 private immutable _HASHED_VERSION;
bytes32 private immutable _TYPE_HASH;
/* solhint-enable var-name-mixedcase */
/**
* @dev Initializes the domain separator and parameter caches.
*
* The meaning of `name` and `version` is specified in
* https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
*
* - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
* - `version`: the current major version of the signing domain.
*
* NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
* contract upgrade].
*/
constructor(string memory name, string memory version) {
bytes32 hashedName = keccak256(bytes(name));
bytes32 hashedVersion = keccak256(bytes(version));
bytes32 typeHash = keccak256(
"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
);
_HASHED_NAME = hashedName;
_HASHED_VERSION = hashedVersion;
_CACHED_CHAIN_ID = block.chainid;
_CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
_CACHED_THIS = address(this);
_TYPE_HASH = typeHash;
}
/**
* @dev Returns the domain separator for the current chain.
*/
function _domainSeparatorV4() internal view returns (bytes32) {
if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {
return _CACHED_DOMAIN_SEPARATOR;
} else {
return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
}
}
function _buildDomainSeparator(
bytes32 typeHash,
bytes32 nameHash,
bytes32 versionHash
) private view returns (bytes32) {
return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
}
/**
* @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
* function returns the hash of the fully encoded EIP712 message for this domain.
*
* This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
*
* ```solidity
* bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
* keccak256("Mail(address to,string contents)"),
* mailTo,
* keccak256(bytes(mailContents))
* )));
* address signer = ECDSA.recover(digest, signature);
* ```
*/
function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)
pragma solidity ^0.8.0;
import "../Strings.sol";
/**
* @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
*
* These functions can be used to verify that a message was signed by the holder
* of the private keys of a given address.
*/
library ECDSA {
enum RecoverError {
NoError,
InvalidSignature,
InvalidSignatureLength,
InvalidSignatureS,
InvalidSignatureV
}
function _throwError(RecoverError error) private pure {
if (error == RecoverError.NoError) {
return; // no error: do nothing
} else if (error == RecoverError.InvalidSignature) {
revert("ECDSA: invalid signature");
} else if (error == RecoverError.InvalidSignatureLength) {
revert("ECDSA: invalid signature length");
} else if (error == RecoverError.InvalidSignatureS) {
revert("ECDSA: invalid signature 's' value");
} else if (error == RecoverError.InvalidSignatureV) {
revert("ECDSA: invalid signature 'v' value");
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature` or error string. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*
* Documentation for signature generation:
* - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
* - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
*
* _Available since v4.3._
*/
function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
// Check the signature length
// - case 65: r,s,v signature (standard)
// - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
if (signature.length == 65) {
bytes32 r;
bytes32 s;
uint8 v;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
assembly {
r := mload(add(signature, 0x20))
s := mload(add(signature, 0x40))
v := byte(0, mload(add(signature, 0x60)))
}
return tryRecover(hash, v, r, s);
} else if (signature.length == 64) {
bytes32 r;
bytes32 vs;
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
assembly {
r := mload(add(signature, 0x20))
vs := mload(add(signature, 0x40))
}
return tryRecover(hash, r, vs);
} else {
return (address(0), RecoverError.InvalidSignatureLength);
}
}
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature`. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*/
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, signature);
_throwError(error);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
*
* See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
*
* _Available since v4.3._
*/
function tryRecover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address, RecoverError) {
bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
uint8 v = uint8((uint256(vs) >> 255) + 27);
return tryRecover(hash, v, r, s);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
*
* _Available since v4.2._
*/
function recover(
bytes32 hash,
bytes32 r,
bytes32 vs
) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, r, vs);
_throwError(error);
return recovered;
}
/**
* @dev Overload of {ECDSA-tryRecover} that receives the `v`,
* `r` and `s` signature fields separately.
*
* _Available since v4.3._
*/
function tryRecover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address, RecoverError) {
// EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
// unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
// the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
// signatures from current libraries generate a unique signature with an s-value in the lower half order.
//
// If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
// with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
// vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
// these malleable signatures as well.
if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
return (address(0), RecoverError.InvalidSignatureS);
}
if (v != 27 && v != 28) {
return (address(0), RecoverError.InvalidSignatureV);
}
// If the signature is valid (and not malleable), return the signer address
address signer = ecrecover(hash, v, r, s);
if (signer == address(0)) {
return (address(0), RecoverError.InvalidSignature);
}
return (signer, RecoverError.NoError);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `v`,
* `r` and `s` signature fields separately.
*/
function recover(
bytes32 hash,
uint8 v,
bytes32 r,
bytes32 s
) internal pure returns (address) {
(address recovered, RecoverError error) = tryRecover(hash, v, r, s);
_throwError(error);
return recovered;
}
/**
* @dev Returns an Ethereum Signed Message, created from a `hash`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
// 32 is the length in bytes of hash,
// enforced by the type signature above
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
}
/**
* @dev Returns an Ethereum Signed Message, created from `s`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
}
/**
* @dev Returns an Ethereum Signed Typed Data, created from a
* `domainSeparator` and a `structHash`. This produces hash corresponding
* to the one signed with the
* https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
* JSON-RPC method as part of EIP-712.
*
* See {recover}.
*/
function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)
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 generally not needed starting with Solidity 0.8, since 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
// 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 (last updated v4.5.0) (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);
/**
* @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
* Use along with {totalSupply} to enumerate all tokens.
*/
function tokenByIndex(uint256 index) external view returns (uint256);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @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
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 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/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 (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
pragma solidity ^0.8.4;
interface IWord {
struct TokenInfo {
string definerPart;
string relatedWordPart;
string descriptionPart;
uint16 wordPart;
uint8 categoryPart; // 1: Genesis Card, 2: Special Card, 3. Censored Card
uint8 partOfSpeechPart1;
uint8 partOfSpeechPart2;
uint48 mintTime;
bool defined;
}
}{
"optimizer": {
"enabled": true,
"runs": 100
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"mintDictionaryEvent","type":"event"},{"inputs":[],"name":"DICT_ADDON_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ERC721ATechinalDocumentURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTVERSE_DICTIONARY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"airdropCheck","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"airdropDictionary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"animationCodeDocumentURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"claimPublicDictionary","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claimPublicEnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimPublicTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"maxClaimNum","type":"uint256"},{"internalType":"bytes","name":"SIGNATURE","type":"bytes"}],"name":"claimWhitelistDictionary","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claimWhitelistEnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimWhitelistTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDictionary","outputs":[{"internalType":"uint256","name":"amount","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":[],"name":"legalDocumentURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataMappingDocumentURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintGiveawayDictionary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintPublicDictionary","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPublicEnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPublicTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"maxClaimNum","type":"uint256"},{"internalType":"bytes","name":"SIGNATURE","type":"bytes"}],"name":"mintWhitelistDictionary","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintWhitelistEnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintWhitelistTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintverseWordAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"novelDocumentURI","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":"string","name":"newAnimationCodeDocumentURI","type":"string"}],"name":"setAnimationCodeDocumentURI","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":"uint256","name":"price","type":"uint256"}],"name":"setDictPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newERC721ATechinalDocumentURI","type":"string"}],"name":"setERC721ATechinalDocumentURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newLegalDocumentURI","type":"string"}],"name":"setLegalDocumentURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxDictAmt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newMetadataMappingDocumentURI","type":"string"}],"name":"setMetadataMappingDocumentURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newTokenAddress","type":"address"}],"name":"setMintverseWordTokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newNovelDocumentURI","type":"string"}],"name":"setNovelDocumentURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_hasPublicClaimStarted","type":"bool"},{"internalType":"uint256","name":"_publicClaimTimestamp","type":"uint256"}],"name":"setPublicClaimPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_hasPublicMintStarted","type":"bool"},{"internalType":"uint256","name":"_publicMintTimestamp","type":"uint256"}],"name":"setPublicMintPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newVisualRebuildDocumentURI","type":"string"}],"name":"setVisualRebuildDocumentURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_hasWLClaimStarted","type":"bool"},{"internalType":"uint256","name":"_wlClaimTimestamp","type":"uint256"}],"name":"setWLClaimPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_hasWLMintStarted","type":"bool"},{"internalType":"uint256","name":"_wlMintTimestamp","type":"uint256"}],"name":"setWLMintPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"curTokenURI","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAirdropDictionary","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDictionary","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":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxQuantity","type":"uint256"},{"internalType":"bytes","name":"SIGNATURE","type":"bytes"}],"name":"verifyClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxQuantity","type":"uint256"},{"internalType":"bytes","name":"SIGNATURE","type":"bytes"}],"name":"verifyMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"visualRebuildDocumentURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]Contract Creation Code
6101406040523480156200001257600080fd5b50604051806040016040528060138152602001724d696e74766572736544696374696f6e61727960681b8152506040518060400160405280600381526020016213559160ea1b815250604051806040016040528060138152602001724d696e74766572736544696374696f6e61727960681b815250604051806040016040528060058152602001640312e302e360dc1b815250620000bf620000b9620002e360201b60201c565b620002e7565b815160208084019190912082518383012060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81880181905281830187905260608201869052608082019490945230818401528151808203909301835260c00190528051940193909320919290916080523060601b60c052610120525050835162000168925060169150602085019062000339565b5080516200017e90601790602084019062000339565b50506002805463ffffffff191690555060d2600b55670214e8348c4f0000600a55600980546001600160a01b031990811673895e34343e2cdaa58bd393ec416b446ba4781c1c17909155600c805490911673be006d0219af52a7bbc793d01b2b72abf45499d01790556040805160608101909152603080825262003f36602083013980516200021691600d9160209091019062000339565b506040805160208101918290526000908190526200023791600e9162000339565b506040805160208101918290526000908190526200025891600f9162000339565b50604080516020810191829052600090819052620002799160109162000339565b506040805160208101918290526000908190526200029a9160119162000339565b50604080516020810191829052600090819052620002bb9160129162000339565b50604080516020810191829052600090819052620002dc9160139162000339565b506200041c565b3390565b601480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200034790620003df565b90600052602060002090601f0160209004810192826200036b5760008555620003b6565b82601f106200038657805160ff1916838001178555620003b6565b82800160010185558215620003b6579182015b82811115620003b657825182559160200191906001019062000399565b50620003c4929150620003c8565b5090565b5b80821115620003c45760008155600101620003c9565b600181811c90821680620003f457607f821691505b602082108114156200041657634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160601c60e0516101005161012051613ac76200046f6000396000612c4101526000612c9001526000612c6b01526000612bc401526000612bee01526000612c180152613ac76000f3fe6080604052600436106103645760003560e01c8063853828b6116101c8578063b88d4fde116100f8578063cbb0ba591161009b578063cbb0ba5914610a19578063d547cfb714610a2c578063d7c7199014610a41578063e13269be14610a56578063e985e9c514610a6b578063f0f4426014610ab4578063f2fde38b14610ad4578063f444fb0114610af4578063fd21c14214610b1457600080fd5b8063b88d4fde14610924578063b9477bfa14610944578063bd70462214610964578063c2a8f7b914610984578063c87b56dd146109a4578063c9ec1bf7146109c4578063ca2863bb146109da578063ca9e9f3f146109f957600080fd5b80639d89c8e31161016b5780639d89c8e31461083f578063a1e8e14c1461085f578063a22cb46514610875578063a27b3acd14610895578063a5dc92b7146108b5578063a6f87eb2146108c8578063aa75f9b1146108e8578063b2baca12146108fb578063b56f74371461090e57600080fd5b8063853828b61461078b57806389ccc343146107935780638c66d75c146107a95780638da5cb5b146107c95780638dfd9270146107de5780638f2d5140146107f457806391ccd6c71461081457806395d89b411461082a57600080fd5b8063434465cb116102a357806367cf2dd31161024657806367cf2dd31461065757806370a0823114610677578063715018a61461069757806375a9246e146106ac5780637caba57b146106cc5780638135fbdf146106ec578063817d9611146107195780638462151c14610749578063849b424f1461077657600080fd5b8063434465cb14610581578063475bcb52146105975780634f6ccce7146105ac57806356b3360c146105cc5780635a7bcf6b146105e257806361d027b3146105f75780636352211e1461061757806365ee626a1461063757600080fd5b80632eeb2f5c1161030b5780632eeb2f5c146104925780632f745c59146104a7578063311f09af146104c757806332559e2e146104e757806339608e0a146105075780633f5d958714610527578063412b7d101461054757806342842e0e1461056157600080fd5b806301ffc9a71461036957806306fdde031461039e578063081812fc146103c0578063095ea7b3146103f857806318160ddd1461041a5780631e9992101461043d57806323b872dd1461045257806328d2e1f514610472575b600080fd5b34801561037557600080fd5b5061038961038436600461349a565b610b35565b60405190151581526020015b60405180910390f35b3480156103aa57600080fd5b506103b3610ba2565b6040516103959190613775565b3480156103cc57600080fd5b506103e06103db366004613515565b610c34565b6040516001600160a01b039091168152602001610395565b34801561040457600080fd5b50610418610413366004613435565b610c78565b005b34801561042657600080fd5b5061042f610d06565b604051908152602001610395565b34801561044957600080fd5b506103b3610d25565b34801561045e57600080fd5b5061041861046d3660046132e7565b610db3565b34801561047e57600080fd5b506009546103e0906001600160a01b031681565b34801561049e57600080fd5b506103b3610dbe565b3480156104b357600080fd5b5061042f6104c2366004613435565b610dcb565b3480156104d357600080fd5b506104186104e23660046134d4565b610ec7565b3480156104f357600080fd5b5061041861050236600461347c565b610f0b565b34801561051357600080fd5b50610418610522366004613299565b610f51565b34801561053357600080fd5b5061041861054236600461347c565b610fa2565b34801561055357600080fd5b506002546103899060ff1681565b34801561056d57600080fd5b5061041861057c3660046132e7565b610fef565b34801561058d57600080fd5b5061042f600b5481565b3480156105a357600080fd5b506103b361100a565b3480156105b857600080fd5b5061042f6105c7366004613515565b611017565b3480156105d857600080fd5b5061042f60045481565b3480156105ee57600080fd5b506103b36110c3565b34801561060357600080fd5b50600c546103e0906001600160a01b031681565b34801561062357600080fd5b506103e0610632366004613515565b6110d0565b34801561064357600080fd5b50610418610652366004613299565b6110e2565b34801561066357600080fd5b506104186106723660046134d4565b6113b2565b34801561068357600080fd5b5061042f610692366004613299565b6113ed565b3480156106a357600080fd5b5061041861143b565b3480156106b857600080fd5b506104186106c736600461347c565b611476565b3480156106d857600080fd5b506002546103899062010000900460ff1681565b3480156106f857600080fd5b5061042f610707366004613299565b60016020526000908152604090205481565b34801561072557600080fd5b50610389610734366004613299565b60006020819052908152604090205460ff1681565b34801561075557600080fd5b50610769610764366004613299565b6114c7565b6040516103959190613731565b34801561078257600080fd5b506103b3611585565b610418611592565b34801561079f57600080fd5b5061042f60065481565b3480156107b557600080fd5b506104186107c4366004613435565b6115fd565b3480156107d557600080fd5b506103e0611737565b3480156107ea57600080fd5b5061042f60085481565b34801561080057600080fd5b5061041861080f366004613515565b611746565b34801561082057600080fd5b5061042f60075481565b34801561083657600080fd5b506103b361177a565b34801561084b57600080fd5b5061041861085a366004613515565b611789565b34801561086b57600080fd5b5061042f60035481565b34801561088157600080fd5b506104186108903660046133fe565b6117bd565b3480156108a157600080fd5b506104186108b03660046134d4565b611853565b6104186108c3366004613592565b61188e565b3480156108d457600080fd5b506104186108e33660046134d4565b611b07565b6104186108f6366004613515565b611b42565b610418610909366004613592565b611ce8565b34801561091a57600080fd5b5061042f600a5481565b34801561093057600080fd5b5061041861093f366004613323565b611eba565b34801561095057600080fd5b5061041861095f3660046134d4565b611ef4565b34801561097057600080fd5b5061041861097f36600461347c565b611f2f565b34801561099057600080fd5b5061038961099f366004613547565b611f7e565b3480156109b057600080fd5b506103b36109bf366004613515565b61204d565b3480156109d057600080fd5b5061042f60055481565b3480156109e657600080fd5b5060025461038990610100900460ff1681565b348015610a0557600080fd5b50610418610a143660046134d4565b6120cc565b610418610a27366004613515565b612107565b348015610a3857600080fd5b506103b36122a2565b348015610a4d57600080fd5b5061042f6122af565b348015610a6257600080fd5b506103b3612352565b348015610a7757600080fd5b50610389610a863660046132b4565b6001600160a01b039182166000908152601b6020908152604080832093909416825291909152205460ff1690565b348015610ac057600080fd5b50610418610acf366004613299565b61235f565b348015610ae057600080fd5b50610418610aef366004613299565b612406565b348015610b0057600080fd5b50610389610b0f366004613547565b6124a3565b348015610b2057600080fd5b50600254610389906301000000900460ff1681565b60006001600160e01b031982166380ac58cd60e01b1480610b6657506001600160e01b03198216635b5e139f60e01b145b80610b8157506001600160e01b0319821663780e9d6360e01b145b80610b9c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060168054610bb19061397b565b80601f0160208091040260200160405190810160405280929190818152602001828054610bdd9061397b565b8015610c2a5780601f10610bff57610100808354040283529160200191610c2a565b820191906000526020600020905b815481529060010190602001808311610c0d57829003601f168201915b5050505050905090565b6000610c3f826124d3565b610c5c576040516333d1c03960e21b815260040160405180910390fd5b506000908152601a60205260409020546001600160a01b031690565b6000610c83826110d0565b9050806001600160a01b0316836001600160a01b03161415610cb85760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610cd85750610cd68133610a86565b155b15610cf6576040516367d9dca160e11b815260040160405180910390fd5b610d01838383612509565b505050565b6015546001600160801b03600160801b82048116918116919091031690565b60128054610d329061397b565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5e9061397b565b8015610dab5780601f10610d8057610100808354040283529160200191610dab565b820191906000526020600020905b815481529060010190602001808311610d8e57829003601f168201915b505050505081565b610d01838383612565565b60118054610d329061397b565b6000610dd6836113ed565b8210610df5576040516306ed618760e11b815260040160405180910390fd5b6015546001600160801b0316600080805b83811015610ec157600081815260186020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161580159282019290925290610e6d5750610eb9565b80516001600160a01b031615610e8257805192505b876001600160a01b0316836001600160a01b03161415610eb75786841415610eb057509350610b9c92505050565b6001909301925b505b600101610e06565b50600080fd5b33610ed0611737565b6001600160a01b031614610eff5760405162461bcd60e51b8152600401610ef690613873565b60405180910390fd5b610d01601183836131a3565b33610f14611737565b6001600160a01b031614610f3a5760405162461bcd60e51b8152600401610ef690613873565b6002805460ff191692151592909217909155600355565b33610f5a611737565b6001600160a01b031614610f805760405162461bcd60e51b8152600401610ef690613873565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b33610fab611737565b6001600160a01b031614610fd15760405162461bcd60e51b8152600401610ef690613873565b600280549215156101000261ff001990931692909217909155600455565b610d0183838360405180602001604052806000815250611eba565b60138054610d329061397b565b6015546000906001600160801b031681805b828110156110a957600081815260186020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906110a057858314156110995750949350505050565b6001909201915b50600101611029565b506040516329c8c00760e21b815260040160405180910390fd5b600f8054610d329061397b565b60006110db82612782565b5192915050565b336110eb611737565b6001600160a01b0316146111115760405162461bcd60e51b8152600401610ef690613873565b6001600160a01b03811660009081526020819052604090205460ff161561116f5760405162461bcd60e51b8152602060048201526012602482015271105b1c9958591e48185a5c991c9bdc1c195960721b6044820152606401610ef6565b600960009054906101000a90046001600160a01b03166001600160a01b031663d7c719906040518163ffffffff1660e01b815260040160206040518083038186803b1580156111bd57600080fd5b505afa1580156111d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f5919061352e565b6007546112039060016128a6565b11156112605760405162461bcd60e51b815260206004820152602660248201527f457863656564206d6178696d756d2064696374696f6e617279206164646f6e20604482015265185b5bdd5b9d60d21b6064820152608401610ef6565b60095460405163492cfed960e11b81526001600160a01b03838116600483015290911690639259fdb29060240160206040518083038186803b1580156112a557600080fd5b505afa1580156112b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112dd919061345f565b151560011461133e5760405162461bcd60e51b815260206004820152602760248201527f496e76616c69642061697264726f70202d204469646e27742070757263686173604482015266329030b23237b760c91b6064820152608401610ef6565b6001600160a01b0381166000908152602081905260409020805460ff19166001908117909155600754611370916128a6565b60075561137e8160016128b9565b600080516020613a72833981519152816001611398610d06565b6040516113a793929190613710565b60405180910390a150565b336113bb611737565b6001600160a01b0316146113e15760405162461bcd60e51b8152600401610ef690613873565b610d01601383836131a3565b60006001600160a01b038216611416576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152601960205260409020546001600160401b031690565b33611444611737565b6001600160a01b03161461146a5760405162461bcd60e51b8152600401610ef690613873565b61147460006128d7565b565b3361147f611737565b6001600160a01b0316146114a55760405162461bcd60e51b8152600401610ef690613873565b6002805492151563010000000263ff0000001990931692909217909155600655565b606060006114d4836113ed565b9050806114f55760408051600080825260208201909252905b509392505050565b6000816001600160401b0381111561150f5761150f613a37565b604051908082528060200260200182016040528015611538578160200160208202803683370190505b50905060005b828110156114ed576115508582610dcb565b82828151811061156257611562613a21565b602090810291909101015280611577816139b0565b91505061153e565b50919050565b600e8054610d329061397b565b3361159b611737565b6001600160a01b0316146115c15760405162461bcd60e51b8152600401610ef690613873565b600c546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156115fa573d6000803e3d6000fd5b50565b33611606611737565b6001600160a01b03161461162c5760405162461bcd60e51b8152600401610ef690613873565b600b546116cb826116c5600960009054906101000a90046001600160a01b03166001600160a01b031663d7c719906040518163ffffffff1660e01b815260040160206040518083038186803b15801561168457600080fd5b505afa158015611698573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116bc919061352e565b600854906128a6565b906128a6565b11156116e95760405162461bcd60e51b8152600401610ef6906137d0565b6008546116f690826128a6565b60085561170382826128b9565b600080516020613a72833981519152828261171c610d06565b60405161172b93929190613710565b60405180910390a15050565b6014546001600160a01b031690565b3361174f611737565b6001600160a01b0316146117755760405162461bcd60e51b8152600401610ef690613873565b600a55565b606060178054610bb19061397b565b33611792611737565b6001600160a01b0316146117b85760405162461bcd60e51b8152600401610ef690613873565b600b55565b6001600160a01b0382163314156117e75760405163b06307db60e01b815260040160405180910390fd5b336000818152601b602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3361185c611737565b6001600160a01b0316146118825760405162461bcd60e51b8152600401610ef690613873565b610d01600f83836131a3565b60025462010000900460ff1615156001146118fc5760405162461bcd60e51b815260206004820152602860248201527f43616e2774206d696e74202d20574c206d696e74207068617365206861736e276044820152677420656e61626c6560c01b6064820152608401610ef6565b6005544210156119605760405162461bcd60e51b815260206004820152602960248201527f43616e2774206d696e74202d20574c206d696e74207068617365206861736e276044820152681d081cdd185c9d195960ba1b6064820152608401610ef6565b32331461197f5760405162461bcd60e51b8152600401610ef6906138a8565b61198a838383611f7e565b6119a65760405162461bcd60e51b8152600401610ef69061383c565b600b546119fe856116c5600960009054906101000a90046001600160a01b03166001600160a01b031663d7c719906040518163ffffffff1660e01b815260040160206040518083038186803b15801561168457600080fd5b1115611a1c5760405162461bcd60e51b8152600401610ef6906137d0565b600084118015611a465750336000908152600160205260409020548390611a4390866128a6565b11155b611a625760405162461bcd60e51b8152600401610ef690613788565b600a54611a6f9085612929565b3414611a8d5760405162461bcd60e51b8152600401610ef690613805565b33600090815260016020526040902054611aa790856128a6565b33600090815260016020526040902055600854611ac490856128a6565b600855611ad133856128b9565b600080516020613a728339815191523385611aea610d06565b604051611af993929190613710565b60405180910390a150505050565b33611b10611737565b6001600160a01b031614611b365760405162461bcd60e51b8152600401610ef690613873565b610d01600e83836131a3565b60025460ff610100909104161515600114611bb65760405162461bcd60e51b815260206004820152602e60248201527f43616e277420636c61696d202d205075626c696320636c61696d20706861736560448201526d206861736e277420656e61626c6560901b6064820152608401610ef6565b600454421015611c205760405162461bcd60e51b815260206004820152602f60248201527f43616e277420636c61696d202d205075626c696320636c61696d20706861736560448201526e081a185cdb89dd081cdd185c9d1959608a1b6064820152608401610ef6565b323314611c3f5760405162461bcd60e51b8152600401610ef6906138a8565b600b54611c97826116c5600960009054906101000a90046001600160a01b03166001600160a01b031663d7c719906040518163ffffffff1660e01b815260040160206040518083038186803b15801561168457600080fd5b1115611cb55760405162461bcd60e51b8152600401610ef6906137d0565b600854611cc290826128a6565b600855611ccf33826128b9565b600080516020613a728339815191523382611398610d06565b60025460ff161515600114611d525760405162461bcd60e51b815260206004820152602a60248201527f43616e277420636c61696d202d20574c20636c61696d207068617365206861736044820152696e277420656e61626c6560b01b6064820152608401610ef6565b600354421015611db85760405162461bcd60e51b815260206004820152602b60248201527f43616e277420636c61696d202d20574c20636c61696d2070686173652068617360448201526a1b89dd081cdd185c9d195960aa1b6064820152608401610ef6565b323314611dd75760405162461bcd60e51b8152600401610ef6906138a8565b611de28383836124a3565b611dfe5760405162461bcd60e51b8152600401610ef69061383c565b600b54611e56856116c5600960009054906101000a90046001600160a01b03166001600160a01b031663d7c719906040518163ffffffff1660e01b815260040160206040518083038186803b15801561168457600080fd5b1115611e745760405162461bcd60e51b8152600401610ef6906137d0565b600084118015611e9e5750336000908152600160205260409020548390611e9b90866128a6565b11155b611a8d5760405162461bcd60e51b8152600401610ef690613788565b611ec5848484612565565b611ed184848484612935565b611eee576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b33611efd611737565b6001600160a01b031614611f235760405162461bcd60e51b8152600401610ef690613873565b610d01601083836131a3565b33611f38611737565b6001600160a01b031614611f5e5760405162461bcd60e51b8152600401610ef690613873565b60028054921515620100000262ff00001990931692909217909155600555565b600080612026611fea7fbf63fa1fbbb60bf509e9062543b315c78bf15491856a42a9d2c849cbd683e3fc335b6040805160208101939093526001600160a01b03909116908201526060810188905260800160405160208183030381529060405280519060200120612a43565b85858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612a9192505050565b9050806001600160a01b031661203a611737565b6001600160a01b03161495945050505050565b6060612058826124d3565b61209a5760405162461bcd60e51b8152602060048201526013602482015272151bdad95b88191bd95cdb89dd08195e1a5cdd606a1b6044820152606401610ef6565b600d6120a583612aad565b6040516020016120b692919061362c565b6040516020818303038152906040529050919050565b336120d5611737565b6001600160a01b0316146120fb5760405162461bcd60e51b8152600401610ef690613873565b610d01601283836131a3565b6002546301000000900460ff16151560011461217a5760405162461bcd60e51b815260206004820152602c60248201527f43616e2774206d696e74202d205075626c6963206d696e74207068617365206860448201526b61736e277420656e61626c6560a01b6064820152608401610ef6565b6006544210156121e25760405162461bcd60e51b815260206004820152602d60248201527f43616e2774206d696e74202d205075626c6963206d696e74207068617365206860448201526c185cdb89dd081cdd185c9d1959609a1b6064820152608401610ef6565b3233146122015760405162461bcd60e51b8152600401610ef6906138a8565b600b54612259826116c5600960009054906101000a90046001600160a01b03166001600160a01b031663d7c719906040518163ffffffff1660e01b815260040160206040518083038186803b15801561168457600080fd5b11156122775760405162461bcd60e51b8152600401610ef6906137d0565b600a546122849082612929565b3414611cb55760405162461bcd60e51b8152600401610ef690613805565b600d8054610d329061397b565b600080600960009054906101000a90046001600160a01b03166001600160a01b031663d7c719906040518163ffffffff1660e01b815260040160206040518083038186803b15801561230057600080fd5b505afa158015612314573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612338919061352e565b600854909150600061234a83836128a6565b949350505050565b60108054610d329061397b565b33612368611737565b6001600160a01b03161461238e5760405162461bcd60e51b8152600401610ef690613873565b6001600160a01b0381166123e45760405162461bcd60e51b815260206004820152601e60248201527f496e76616c69642061646472657373202d205a65726f206164647265737300006044820152606401610ef6565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b3361240f611737565b6001600160a01b0316146124355760405162461bcd60e51b8152600401610ef690613873565b6001600160a01b03811661249a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ef6565b6115fa816128d7565b600080612026611fea7f5565e8c1d34d9553f04426fc80d1a66739bbe93fa61a164158557f6dd6ee1c9b33611faa565b6015546000906001600160801b031682108015610b9c575050600090815260186020526040902054600160e01b900460ff161590565b6000828152601a602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061257082612782565b80519091506000906001600160a01b0316336001600160a01b0316148061259e5750815161259e9033610a86565b806125b95750336125ae84610c34565b6001600160a01b0316145b9050806125d957604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b03161461260e5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661263557604051633a954ecd60e21b815260040160405180910390fd5b6126456000848460000151612509565b6001600160a01b038581166000908152601960209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652601890945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116612738576015546001600160801b031681101561273857825160008281526018602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b604080516060810182526000808252602082018190529181019190915260155482906001600160801b031681101561288d57600081815260186020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615159181018290529061288b5780516001600160a01b031615612822579392505050565b5060001901600081815260186020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215612886579392505050565b612822565b505b604051636f96cda160e11b815260040160405180910390fd5b60006128b282846138ed565b9392505050565b6128d3828260405180602001604052806000815250612baa565b5050565b601480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006128b28284613919565b60006001600160a01b0384163b15612a3857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906129799033908990889088906004016136d3565b602060405180830381600087803b15801561299357600080fd5b505af19250505080156129c3575060408051601f3d908101601f191682019092526129c0918101906134b7565b60015b612a1e573d8080156129f1576040519150601f19603f3d011682016040523d82523d6000602084013e6129f6565b606091505b508051612a16576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061234a565b506001949350505050565b6000610b9c612a50612bb7565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000612aa08585612cde565b915091506114ed81612d4e565b606081612ad15750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612afb5780612ae5816139b0565b9150612af49050600a83613905565b9150612ad5565b6000816001600160401b03811115612b1557612b15613a37565b6040519080825280601f01601f191660200182016040528015612b3f576020820181803683370190505b5090505b841561234a57612b54600183613938565b9150612b61600a866139cb565b612b6c9060306138ed565b60f81b818381518110612b8157612b81613a21565b60200101906001600160f81b031916908160001a905350612ba3600a86613905565b9450612b43565b610d018383836001612f04565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015612c1057507f000000000000000000000000000000000000000000000000000000000000000046145b15612c3a57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b600080825160411415612d155760208301516040840151606085015160001a612d0987828585613087565b94509450505050612d47565b825160401415612d3f5760208301516040840151612d3486838361316a565b935093505050612d47565b506000905060025b9250929050565b6000816004811115612d6257612d62613a0b565b1415612d6b5750565b6001816004811115612d7f57612d7f613a0b565b1415612dc85760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610ef6565b6002816004811115612ddc57612ddc613a0b565b1415612e2a5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610ef6565b6003816004811115612e3e57612e3e613a0b565b1415612e975760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610ef6565b6004816004811115612eab57612eab613a0b565b14156115fa5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610ef6565b6015546001600160801b03166001600160a01b038516612f3657604051622e076360e81b815260040160405180910390fd5b83612f545760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260196020908152604080832080546001600160801b031981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c018116909202179091558584526018909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b858110156130615760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a483801561303757506130356000888488612935565b155b15613055576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101612fe0565b50601580546001600160801b0319166001600160801b039290921691909117905561277b565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b038311156130b45750600090506003613161565b8460ff16601b141580156130cc57508460ff16601c14155b156130dd5750600090506004613161565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613131573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661315a57600060019250925050613161565b9150600090505b94509492505050565b6000806001600160ff1b0383168161318760ff86901c601b6138ed565b905061319587828885613087565b935093505050935093915050565b8280546131af9061397b565b90600052602060002090601f0160209004810192826131d15760008555613217565b82601f106131ea5782800160ff19823516178555613217565b82800160010185558215613217579182015b828111156132175782358255916020019190600101906131fc565b50613223929150613227565b5090565b5b808211156132235760008155600101613228565b80356001600160a01b038116811461325357600080fd5b919050565b60008083601f84011261326a57600080fd5b5081356001600160401b0381111561328157600080fd5b602083019150836020828501011115612d4757600080fd5b6000602082840312156132ab57600080fd5b6128b28261323c565b600080604083850312156132c757600080fd5b6132d08361323c565b91506132de6020840161323c565b90509250929050565b6000806000606084860312156132fc57600080fd5b6133058461323c565b92506133136020850161323c565b9150604084013590509250925092565b6000806000806080858703121561333957600080fd5b6133428561323c565b93506133506020860161323c565b92506040850135915060608501356001600160401b038082111561337357600080fd5b818701915087601f83011261338757600080fd5b81358181111561339957613399613a37565b604051601f8201601f19908116603f011681019083821181831017156133c1576133c1613a37565b816040528281528a60208487010111156133da57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561341157600080fd5b61341a8361323c565b9150602083013561342a81613a4d565b809150509250929050565b6000806040838503121561344857600080fd5b6134518361323c565b946020939093013593505050565b60006020828403121561347157600080fd5b81516128b281613a4d565b6000806040838503121561348f57600080fd5b823561345181613a4d565b6000602082840312156134ac57600080fd5b81356128b281613a5b565b6000602082840312156134c957600080fd5b81516128b281613a5b565b600080602083850312156134e757600080fd5b82356001600160401b038111156134fd57600080fd5b61350985828601613258565b90969095509350505050565b60006020828403121561352757600080fd5b5035919050565b60006020828403121561354057600080fd5b5051919050565b60008060006040848603121561355c57600080fd5b8335925060208401356001600160401b0381111561357957600080fd5b61358586828701613258565b9497909650939450505050565b600080600080606085870312156135a857600080fd5b843593506020850135925060408501356001600160401b038111156135cc57600080fd5b6135d887828801613258565b95989497509550505050565b600081518084526135fc81602086016020860161394f565b601f01601f19169290920160200192915050565b6000815161362281856020860161394f565b9290920192915050565b600080845481600182811c91508083168061364857607f831692505b602080841082141561366857634e487b7160e01b86526022600452602486fd5b81801561367c576001811461368d576136ba565b60ff198616895284890196506136ba565b60008b81526020902060005b868110156136b25781548b820152908501908301613699565b505084890196505b5050505050506136ca8185613610565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613706908301846135e4565b9695505050505050565b6001600160a01b039390931683526020830191909152604082015260600190565b6020808252825182820181905260009190848201906040850190845b818110156137695783518352928401929184019160010161374d565b50909695505050505050565b6020815260006128b260208301846135e4565b60208082526028908201527f457863656564206d6178696d756d206d696e7461626c652077686974656c69736040820152671d08185b5bdd5b9d60c21b606082015260800190565b6020808252818101527f457863656564206d6178696d756d2064696374696f6e61727920616d6f756e74604082015260600190565b6020808252601d908201527f4e6f742074686520726967687420616d6f756e74206f66206574686572000000604082015260600190565b6020808252601a908201527f43616e277420636c61696d202d204e6f7420656c696769626c65000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f496e76616c69642063616c6c6572202d2043616c6c6572206973206120436f6e6040820152641d1c9858dd60da1b606082015260800190565b60008219821115613900576139006139df565b500190565b600082613914576139146139f5565b500490565b6000816000190483118215151615613933576139336139df565b500290565b60008282101561394a5761394a6139df565b500390565b60005b8381101561396a578181015183820152602001613952565b83811115611eee5750506000910152565b600181811c9082168061398f57607f821691505b6020821081141561157f57634e487b7160e01b600052602260045260246000fd5b60006000198214156139c4576139c46139df565b5060010190565b6000826139da576139da6139f5565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146115fa57600080fd5b6001600160e01b0319811681146115fa57600080fdfee643fc8b51369bc4c80249f9d4f3b859e8e2b270549324fb21ff2ef8c8e813d9a2646970667358221220d8c8fbc2f1716a53c38a7664ba434380ca2efa65f42a8fb3d954c917c1a313c664736f6c6343000807003368747470733a2f2f6170692e6d696e7476657273652e776f726c642f64696374696f6e6172792f6d657461646174612f
Deployed Bytecode
0x6080604052600436106103645760003560e01c8063853828b6116101c8578063b88d4fde116100f8578063cbb0ba591161009b578063cbb0ba5914610a19578063d547cfb714610a2c578063d7c7199014610a41578063e13269be14610a56578063e985e9c514610a6b578063f0f4426014610ab4578063f2fde38b14610ad4578063f444fb0114610af4578063fd21c14214610b1457600080fd5b8063b88d4fde14610924578063b9477bfa14610944578063bd70462214610964578063c2a8f7b914610984578063c87b56dd146109a4578063c9ec1bf7146109c4578063ca2863bb146109da578063ca9e9f3f146109f957600080fd5b80639d89c8e31161016b5780639d89c8e31461083f578063a1e8e14c1461085f578063a22cb46514610875578063a27b3acd14610895578063a5dc92b7146108b5578063a6f87eb2146108c8578063aa75f9b1146108e8578063b2baca12146108fb578063b56f74371461090e57600080fd5b8063853828b61461078b57806389ccc343146107935780638c66d75c146107a95780638da5cb5b146107c95780638dfd9270146107de5780638f2d5140146107f457806391ccd6c71461081457806395d89b411461082a57600080fd5b8063434465cb116102a357806367cf2dd31161024657806367cf2dd31461065757806370a0823114610677578063715018a61461069757806375a9246e146106ac5780637caba57b146106cc5780638135fbdf146106ec578063817d9611146107195780638462151c14610749578063849b424f1461077657600080fd5b8063434465cb14610581578063475bcb52146105975780634f6ccce7146105ac57806356b3360c146105cc5780635a7bcf6b146105e257806361d027b3146105f75780636352211e1461061757806365ee626a1461063757600080fd5b80632eeb2f5c1161030b5780632eeb2f5c146104925780632f745c59146104a7578063311f09af146104c757806332559e2e146104e757806339608e0a146105075780633f5d958714610527578063412b7d101461054757806342842e0e1461056157600080fd5b806301ffc9a71461036957806306fdde031461039e578063081812fc146103c0578063095ea7b3146103f857806318160ddd1461041a5780631e9992101461043d57806323b872dd1461045257806328d2e1f514610472575b600080fd5b34801561037557600080fd5b5061038961038436600461349a565b610b35565b60405190151581526020015b60405180910390f35b3480156103aa57600080fd5b506103b3610ba2565b6040516103959190613775565b3480156103cc57600080fd5b506103e06103db366004613515565b610c34565b6040516001600160a01b039091168152602001610395565b34801561040457600080fd5b50610418610413366004613435565b610c78565b005b34801561042657600080fd5b5061042f610d06565b604051908152602001610395565b34801561044957600080fd5b506103b3610d25565b34801561045e57600080fd5b5061041861046d3660046132e7565b610db3565b34801561047e57600080fd5b506009546103e0906001600160a01b031681565b34801561049e57600080fd5b506103b3610dbe565b3480156104b357600080fd5b5061042f6104c2366004613435565b610dcb565b3480156104d357600080fd5b506104186104e23660046134d4565b610ec7565b3480156104f357600080fd5b5061041861050236600461347c565b610f0b565b34801561051357600080fd5b50610418610522366004613299565b610f51565b34801561053357600080fd5b5061041861054236600461347c565b610fa2565b34801561055357600080fd5b506002546103899060ff1681565b34801561056d57600080fd5b5061041861057c3660046132e7565b610fef565b34801561058d57600080fd5b5061042f600b5481565b3480156105a357600080fd5b506103b361100a565b3480156105b857600080fd5b5061042f6105c7366004613515565b611017565b3480156105d857600080fd5b5061042f60045481565b3480156105ee57600080fd5b506103b36110c3565b34801561060357600080fd5b50600c546103e0906001600160a01b031681565b34801561062357600080fd5b506103e0610632366004613515565b6110d0565b34801561064357600080fd5b50610418610652366004613299565b6110e2565b34801561066357600080fd5b506104186106723660046134d4565b6113b2565b34801561068357600080fd5b5061042f610692366004613299565b6113ed565b3480156106a357600080fd5b5061041861143b565b3480156106b857600080fd5b506104186106c736600461347c565b611476565b3480156106d857600080fd5b506002546103899062010000900460ff1681565b3480156106f857600080fd5b5061042f610707366004613299565b60016020526000908152604090205481565b34801561072557600080fd5b50610389610734366004613299565b60006020819052908152604090205460ff1681565b34801561075557600080fd5b50610769610764366004613299565b6114c7565b6040516103959190613731565b34801561078257600080fd5b506103b3611585565b610418611592565b34801561079f57600080fd5b5061042f60065481565b3480156107b557600080fd5b506104186107c4366004613435565b6115fd565b3480156107d557600080fd5b506103e0611737565b3480156107ea57600080fd5b5061042f60085481565b34801561080057600080fd5b5061041861080f366004613515565b611746565b34801561082057600080fd5b5061042f60075481565b34801561083657600080fd5b506103b361177a565b34801561084b57600080fd5b5061041861085a366004613515565b611789565b34801561086b57600080fd5b5061042f60035481565b34801561088157600080fd5b506104186108903660046133fe565b6117bd565b3480156108a157600080fd5b506104186108b03660046134d4565b611853565b6104186108c3366004613592565b61188e565b3480156108d457600080fd5b506104186108e33660046134d4565b611b07565b6104186108f6366004613515565b611b42565b610418610909366004613592565b611ce8565b34801561091a57600080fd5b5061042f600a5481565b34801561093057600080fd5b5061041861093f366004613323565b611eba565b34801561095057600080fd5b5061041861095f3660046134d4565b611ef4565b34801561097057600080fd5b5061041861097f36600461347c565b611f2f565b34801561099057600080fd5b5061038961099f366004613547565b611f7e565b3480156109b057600080fd5b506103b36109bf366004613515565b61204d565b3480156109d057600080fd5b5061042f60055481565b3480156109e657600080fd5b5060025461038990610100900460ff1681565b348015610a0557600080fd5b50610418610a143660046134d4565b6120cc565b610418610a27366004613515565b612107565b348015610a3857600080fd5b506103b36122a2565b348015610a4d57600080fd5b5061042f6122af565b348015610a6257600080fd5b506103b3612352565b348015610a7757600080fd5b50610389610a863660046132b4565b6001600160a01b039182166000908152601b6020908152604080832093909416825291909152205460ff1690565b348015610ac057600080fd5b50610418610acf366004613299565b61235f565b348015610ae057600080fd5b50610418610aef366004613299565b612406565b348015610b0057600080fd5b50610389610b0f366004613547565b6124a3565b348015610b2057600080fd5b50600254610389906301000000900460ff1681565b60006001600160e01b031982166380ac58cd60e01b1480610b6657506001600160e01b03198216635b5e139f60e01b145b80610b8157506001600160e01b0319821663780e9d6360e01b145b80610b9c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060168054610bb19061397b565b80601f0160208091040260200160405190810160405280929190818152602001828054610bdd9061397b565b8015610c2a5780601f10610bff57610100808354040283529160200191610c2a565b820191906000526020600020905b815481529060010190602001808311610c0d57829003601f168201915b5050505050905090565b6000610c3f826124d3565b610c5c576040516333d1c03960e21b815260040160405180910390fd5b506000908152601a60205260409020546001600160a01b031690565b6000610c83826110d0565b9050806001600160a01b0316836001600160a01b03161415610cb85760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610cd85750610cd68133610a86565b155b15610cf6576040516367d9dca160e11b815260040160405180910390fd5b610d01838383612509565b505050565b6015546001600160801b03600160801b82048116918116919091031690565b60128054610d329061397b565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5e9061397b565b8015610dab5780601f10610d8057610100808354040283529160200191610dab565b820191906000526020600020905b815481529060010190602001808311610d8e57829003601f168201915b505050505081565b610d01838383612565565b60118054610d329061397b565b6000610dd6836113ed565b8210610df5576040516306ed618760e11b815260040160405180910390fd5b6015546001600160801b0316600080805b83811015610ec157600081815260186020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161580159282019290925290610e6d5750610eb9565b80516001600160a01b031615610e8257805192505b876001600160a01b0316836001600160a01b03161415610eb75786841415610eb057509350610b9c92505050565b6001909301925b505b600101610e06565b50600080fd5b33610ed0611737565b6001600160a01b031614610eff5760405162461bcd60e51b8152600401610ef690613873565b60405180910390fd5b610d01601183836131a3565b33610f14611737565b6001600160a01b031614610f3a5760405162461bcd60e51b8152600401610ef690613873565b6002805460ff191692151592909217909155600355565b33610f5a611737565b6001600160a01b031614610f805760405162461bcd60e51b8152600401610ef690613873565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b33610fab611737565b6001600160a01b031614610fd15760405162461bcd60e51b8152600401610ef690613873565b600280549215156101000261ff001990931692909217909155600455565b610d0183838360405180602001604052806000815250611eba565b60138054610d329061397b565b6015546000906001600160801b031681805b828110156110a957600081815260186020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906110a057858314156110995750949350505050565b6001909201915b50600101611029565b506040516329c8c00760e21b815260040160405180910390fd5b600f8054610d329061397b565b60006110db82612782565b5192915050565b336110eb611737565b6001600160a01b0316146111115760405162461bcd60e51b8152600401610ef690613873565b6001600160a01b03811660009081526020819052604090205460ff161561116f5760405162461bcd60e51b8152602060048201526012602482015271105b1c9958591e48185a5c991c9bdc1c195960721b6044820152606401610ef6565b600960009054906101000a90046001600160a01b03166001600160a01b031663d7c719906040518163ffffffff1660e01b815260040160206040518083038186803b1580156111bd57600080fd5b505afa1580156111d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f5919061352e565b6007546112039060016128a6565b11156112605760405162461bcd60e51b815260206004820152602660248201527f457863656564206d6178696d756d2064696374696f6e617279206164646f6e20604482015265185b5bdd5b9d60d21b6064820152608401610ef6565b60095460405163492cfed960e11b81526001600160a01b03838116600483015290911690639259fdb29060240160206040518083038186803b1580156112a557600080fd5b505afa1580156112b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112dd919061345f565b151560011461133e5760405162461bcd60e51b815260206004820152602760248201527f496e76616c69642061697264726f70202d204469646e27742070757263686173604482015266329030b23237b760c91b6064820152608401610ef6565b6001600160a01b0381166000908152602081905260409020805460ff19166001908117909155600754611370916128a6565b60075561137e8160016128b9565b600080516020613a72833981519152816001611398610d06565b6040516113a793929190613710565b60405180910390a150565b336113bb611737565b6001600160a01b0316146113e15760405162461bcd60e51b8152600401610ef690613873565b610d01601383836131a3565b60006001600160a01b038216611416576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152601960205260409020546001600160401b031690565b33611444611737565b6001600160a01b03161461146a5760405162461bcd60e51b8152600401610ef690613873565b61147460006128d7565b565b3361147f611737565b6001600160a01b0316146114a55760405162461bcd60e51b8152600401610ef690613873565b6002805492151563010000000263ff0000001990931692909217909155600655565b606060006114d4836113ed565b9050806114f55760408051600080825260208201909252905b509392505050565b6000816001600160401b0381111561150f5761150f613a37565b604051908082528060200260200182016040528015611538578160200160208202803683370190505b50905060005b828110156114ed576115508582610dcb565b82828151811061156257611562613a21565b602090810291909101015280611577816139b0565b91505061153e565b50919050565b600e8054610d329061397b565b3361159b611737565b6001600160a01b0316146115c15760405162461bcd60e51b8152600401610ef690613873565b600c546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156115fa573d6000803e3d6000fd5b50565b33611606611737565b6001600160a01b03161461162c5760405162461bcd60e51b8152600401610ef690613873565b600b546116cb826116c5600960009054906101000a90046001600160a01b03166001600160a01b031663d7c719906040518163ffffffff1660e01b815260040160206040518083038186803b15801561168457600080fd5b505afa158015611698573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116bc919061352e565b600854906128a6565b906128a6565b11156116e95760405162461bcd60e51b8152600401610ef6906137d0565b6008546116f690826128a6565b60085561170382826128b9565b600080516020613a72833981519152828261171c610d06565b60405161172b93929190613710565b60405180910390a15050565b6014546001600160a01b031690565b3361174f611737565b6001600160a01b0316146117755760405162461bcd60e51b8152600401610ef690613873565b600a55565b606060178054610bb19061397b565b33611792611737565b6001600160a01b0316146117b85760405162461bcd60e51b8152600401610ef690613873565b600b55565b6001600160a01b0382163314156117e75760405163b06307db60e01b815260040160405180910390fd5b336000818152601b602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3361185c611737565b6001600160a01b0316146118825760405162461bcd60e51b8152600401610ef690613873565b610d01600f83836131a3565b60025462010000900460ff1615156001146118fc5760405162461bcd60e51b815260206004820152602860248201527f43616e2774206d696e74202d20574c206d696e74207068617365206861736e276044820152677420656e61626c6560c01b6064820152608401610ef6565b6005544210156119605760405162461bcd60e51b815260206004820152602960248201527f43616e2774206d696e74202d20574c206d696e74207068617365206861736e276044820152681d081cdd185c9d195960ba1b6064820152608401610ef6565b32331461197f5760405162461bcd60e51b8152600401610ef6906138a8565b61198a838383611f7e565b6119a65760405162461bcd60e51b8152600401610ef69061383c565b600b546119fe856116c5600960009054906101000a90046001600160a01b03166001600160a01b031663d7c719906040518163ffffffff1660e01b815260040160206040518083038186803b15801561168457600080fd5b1115611a1c5760405162461bcd60e51b8152600401610ef6906137d0565b600084118015611a465750336000908152600160205260409020548390611a4390866128a6565b11155b611a625760405162461bcd60e51b8152600401610ef690613788565b600a54611a6f9085612929565b3414611a8d5760405162461bcd60e51b8152600401610ef690613805565b33600090815260016020526040902054611aa790856128a6565b33600090815260016020526040902055600854611ac490856128a6565b600855611ad133856128b9565b600080516020613a728339815191523385611aea610d06565b604051611af993929190613710565b60405180910390a150505050565b33611b10611737565b6001600160a01b031614611b365760405162461bcd60e51b8152600401610ef690613873565b610d01600e83836131a3565b60025460ff610100909104161515600114611bb65760405162461bcd60e51b815260206004820152602e60248201527f43616e277420636c61696d202d205075626c696320636c61696d20706861736560448201526d206861736e277420656e61626c6560901b6064820152608401610ef6565b600454421015611c205760405162461bcd60e51b815260206004820152602f60248201527f43616e277420636c61696d202d205075626c696320636c61696d20706861736560448201526e081a185cdb89dd081cdd185c9d1959608a1b6064820152608401610ef6565b323314611c3f5760405162461bcd60e51b8152600401610ef6906138a8565b600b54611c97826116c5600960009054906101000a90046001600160a01b03166001600160a01b031663d7c719906040518163ffffffff1660e01b815260040160206040518083038186803b15801561168457600080fd5b1115611cb55760405162461bcd60e51b8152600401610ef6906137d0565b600854611cc290826128a6565b600855611ccf33826128b9565b600080516020613a728339815191523382611398610d06565b60025460ff161515600114611d525760405162461bcd60e51b815260206004820152602a60248201527f43616e277420636c61696d202d20574c20636c61696d207068617365206861736044820152696e277420656e61626c6560b01b6064820152608401610ef6565b600354421015611db85760405162461bcd60e51b815260206004820152602b60248201527f43616e277420636c61696d202d20574c20636c61696d2070686173652068617360448201526a1b89dd081cdd185c9d195960aa1b6064820152608401610ef6565b323314611dd75760405162461bcd60e51b8152600401610ef6906138a8565b611de28383836124a3565b611dfe5760405162461bcd60e51b8152600401610ef69061383c565b600b54611e56856116c5600960009054906101000a90046001600160a01b03166001600160a01b031663d7c719906040518163ffffffff1660e01b815260040160206040518083038186803b15801561168457600080fd5b1115611e745760405162461bcd60e51b8152600401610ef6906137d0565b600084118015611e9e5750336000908152600160205260409020548390611e9b90866128a6565b11155b611a8d5760405162461bcd60e51b8152600401610ef690613788565b611ec5848484612565565b611ed184848484612935565b611eee576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b33611efd611737565b6001600160a01b031614611f235760405162461bcd60e51b8152600401610ef690613873565b610d01601083836131a3565b33611f38611737565b6001600160a01b031614611f5e5760405162461bcd60e51b8152600401610ef690613873565b60028054921515620100000262ff00001990931692909217909155600555565b600080612026611fea7fbf63fa1fbbb60bf509e9062543b315c78bf15491856a42a9d2c849cbd683e3fc335b6040805160208101939093526001600160a01b03909116908201526060810188905260800160405160208183030381529060405280519060200120612a43565b85858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612a9192505050565b9050806001600160a01b031661203a611737565b6001600160a01b03161495945050505050565b6060612058826124d3565b61209a5760405162461bcd60e51b8152602060048201526013602482015272151bdad95b88191bd95cdb89dd08195e1a5cdd606a1b6044820152606401610ef6565b600d6120a583612aad565b6040516020016120b692919061362c565b6040516020818303038152906040529050919050565b336120d5611737565b6001600160a01b0316146120fb5760405162461bcd60e51b8152600401610ef690613873565b610d01601283836131a3565b6002546301000000900460ff16151560011461217a5760405162461bcd60e51b815260206004820152602c60248201527f43616e2774206d696e74202d205075626c6963206d696e74207068617365206860448201526b61736e277420656e61626c6560a01b6064820152608401610ef6565b6006544210156121e25760405162461bcd60e51b815260206004820152602d60248201527f43616e2774206d696e74202d205075626c6963206d696e74207068617365206860448201526c185cdb89dd081cdd185c9d1959609a1b6064820152608401610ef6565b3233146122015760405162461bcd60e51b8152600401610ef6906138a8565b600b54612259826116c5600960009054906101000a90046001600160a01b03166001600160a01b031663d7c719906040518163ffffffff1660e01b815260040160206040518083038186803b15801561168457600080fd5b11156122775760405162461bcd60e51b8152600401610ef6906137d0565b600a546122849082612929565b3414611cb55760405162461bcd60e51b8152600401610ef690613805565b600d8054610d329061397b565b600080600960009054906101000a90046001600160a01b03166001600160a01b031663d7c719906040518163ffffffff1660e01b815260040160206040518083038186803b15801561230057600080fd5b505afa158015612314573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612338919061352e565b600854909150600061234a83836128a6565b949350505050565b60108054610d329061397b565b33612368611737565b6001600160a01b03161461238e5760405162461bcd60e51b8152600401610ef690613873565b6001600160a01b0381166123e45760405162461bcd60e51b815260206004820152601e60248201527f496e76616c69642061646472657373202d205a65726f206164647265737300006044820152606401610ef6565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b3361240f611737565b6001600160a01b0316146124355760405162461bcd60e51b8152600401610ef690613873565b6001600160a01b03811661249a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ef6565b6115fa816128d7565b600080612026611fea7f5565e8c1d34d9553f04426fc80d1a66739bbe93fa61a164158557f6dd6ee1c9b33611faa565b6015546000906001600160801b031682108015610b9c575050600090815260186020526040902054600160e01b900460ff161590565b6000828152601a602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061257082612782565b80519091506000906001600160a01b0316336001600160a01b0316148061259e5750815161259e9033610a86565b806125b95750336125ae84610c34565b6001600160a01b0316145b9050806125d957604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b03161461260e5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661263557604051633a954ecd60e21b815260040160405180910390fd5b6126456000848460000151612509565b6001600160a01b038581166000908152601960209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652601890945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116612738576015546001600160801b031681101561273857825160008281526018602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b604080516060810182526000808252602082018190529181019190915260155482906001600160801b031681101561288d57600081815260186020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615159181018290529061288b5780516001600160a01b031615612822579392505050565b5060001901600081815260186020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215612886579392505050565b612822565b505b604051636f96cda160e11b815260040160405180910390fd5b60006128b282846138ed565b9392505050565b6128d3828260405180602001604052806000815250612baa565b5050565b601480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006128b28284613919565b60006001600160a01b0384163b15612a3857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906129799033908990889088906004016136d3565b602060405180830381600087803b15801561299357600080fd5b505af19250505080156129c3575060408051601f3d908101601f191682019092526129c0918101906134b7565b60015b612a1e573d8080156129f1576040519150601f19603f3d011682016040523d82523d6000602084013e6129f6565b606091505b508051612a16576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061234a565b506001949350505050565b6000610b9c612a50612bb7565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000612aa08585612cde565b915091506114ed81612d4e565b606081612ad15750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612afb5780612ae5816139b0565b9150612af49050600a83613905565b9150612ad5565b6000816001600160401b03811115612b1557612b15613a37565b6040519080825280601f01601f191660200182016040528015612b3f576020820181803683370190505b5090505b841561234a57612b54600183613938565b9150612b61600a866139cb565b612b6c9060306138ed565b60f81b818381518110612b8157612b81613a21565b60200101906001600160f81b031916908160001a905350612ba3600a86613905565b9450612b43565b610d018383836001612f04565b6000306001600160a01b037f000000000000000000000000272edff3514fbfdb8d505fc7c5e0141b1425f2c216148015612c1057507f000000000000000000000000000000000000000000000000000000000000000146145b15612c3a57507fa09fc5dcfe282e8030eb7c368e025df5ff6f8d2511729ed04229ead3c1841dc290565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f90e8ef8922caa99cb5e32435cc542481cc956b3f5b4b8da2dc10efb793b29ddf828401527f06c015bd22b4c69690933c1058878ebdfef31f9aaae40bbe86d8a09fe1b2972c60608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b600080825160411415612d155760208301516040840151606085015160001a612d0987828585613087565b94509450505050612d47565b825160401415612d3f5760208301516040840151612d3486838361316a565b935093505050612d47565b506000905060025b9250929050565b6000816004811115612d6257612d62613a0b565b1415612d6b5750565b6001816004811115612d7f57612d7f613a0b565b1415612dc85760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610ef6565b6002816004811115612ddc57612ddc613a0b565b1415612e2a5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610ef6565b6003816004811115612e3e57612e3e613a0b565b1415612e975760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610ef6565b6004816004811115612eab57612eab613a0b565b14156115fa5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610ef6565b6015546001600160801b03166001600160a01b038516612f3657604051622e076360e81b815260040160405180910390fd5b83612f545760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260196020908152604080832080546001600160801b031981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c018116909202179091558584526018909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b858110156130615760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a483801561303757506130356000888488612935565b155b15613055576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101612fe0565b50601580546001600160801b0319166001600160801b039290921691909117905561277b565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b038311156130b45750600090506003613161565b8460ff16601b141580156130cc57508460ff16601c14155b156130dd5750600090506004613161565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613131573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661315a57600060019250925050613161565b9150600090505b94509492505050565b6000806001600160ff1b0383168161318760ff86901c601b6138ed565b905061319587828885613087565b935093505050935093915050565b8280546131af9061397b565b90600052602060002090601f0160209004810192826131d15760008555613217565b82601f106131ea5782800160ff19823516178555613217565b82800160010185558215613217579182015b828111156132175782358255916020019190600101906131fc565b50613223929150613227565b5090565b5b808211156132235760008155600101613228565b80356001600160a01b038116811461325357600080fd5b919050565b60008083601f84011261326a57600080fd5b5081356001600160401b0381111561328157600080fd5b602083019150836020828501011115612d4757600080fd5b6000602082840312156132ab57600080fd5b6128b28261323c565b600080604083850312156132c757600080fd5b6132d08361323c565b91506132de6020840161323c565b90509250929050565b6000806000606084860312156132fc57600080fd5b6133058461323c565b92506133136020850161323c565b9150604084013590509250925092565b6000806000806080858703121561333957600080fd5b6133428561323c565b93506133506020860161323c565b92506040850135915060608501356001600160401b038082111561337357600080fd5b818701915087601f83011261338757600080fd5b81358181111561339957613399613a37565b604051601f8201601f19908116603f011681019083821181831017156133c1576133c1613a37565b816040528281528a60208487010111156133da57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561341157600080fd5b61341a8361323c565b9150602083013561342a81613a4d565b809150509250929050565b6000806040838503121561344857600080fd5b6134518361323c565b946020939093013593505050565b60006020828403121561347157600080fd5b81516128b281613a4d565b6000806040838503121561348f57600080fd5b823561345181613a4d565b6000602082840312156134ac57600080fd5b81356128b281613a5b565b6000602082840312156134c957600080fd5b81516128b281613a5b565b600080602083850312156134e757600080fd5b82356001600160401b038111156134fd57600080fd5b61350985828601613258565b90969095509350505050565b60006020828403121561352757600080fd5b5035919050565b60006020828403121561354057600080fd5b5051919050565b60008060006040848603121561355c57600080fd5b8335925060208401356001600160401b0381111561357957600080fd5b61358586828701613258565b9497909650939450505050565b600080600080606085870312156135a857600080fd5b843593506020850135925060408501356001600160401b038111156135cc57600080fd5b6135d887828801613258565b95989497509550505050565b600081518084526135fc81602086016020860161394f565b601f01601f19169290920160200192915050565b6000815161362281856020860161394f565b9290920192915050565b600080845481600182811c91508083168061364857607f831692505b602080841082141561366857634e487b7160e01b86526022600452602486fd5b81801561367c576001811461368d576136ba565b60ff198616895284890196506136ba565b60008b81526020902060005b868110156136b25781548b820152908501908301613699565b505084890196505b5050505050506136ca8185613610565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613706908301846135e4565b9695505050505050565b6001600160a01b039390931683526020830191909152604082015260600190565b6020808252825182820181905260009190848201906040850190845b818110156137695783518352928401929184019160010161374d565b50909695505050505050565b6020815260006128b260208301846135e4565b60208082526028908201527f457863656564206d6178696d756d206d696e7461626c652077686974656c69736040820152671d08185b5bdd5b9d60c21b606082015260800190565b6020808252818101527f457863656564206d6178696d756d2064696374696f6e61727920616d6f756e74604082015260600190565b6020808252601d908201527f4e6f742074686520726967687420616d6f756e74206f66206574686572000000604082015260600190565b6020808252601a908201527f43616e277420636c61696d202d204e6f7420656c696769626c65000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f496e76616c69642063616c6c6572202d2043616c6c6572206973206120436f6e6040820152641d1c9858dd60da1b606082015260800190565b60008219821115613900576139006139df565b500190565b600082613914576139146139f5565b500490565b6000816000190483118215151615613933576139336139df565b500290565b60008282101561394a5761394a6139df565b500390565b60005b8381101561396a578181015183820152602001613952565b83811115611eee5750506000910152565b600181811c9082168061398f57607f821691505b6020821081141561157f57634e487b7160e01b600052602260045260246000fd5b60006000198214156139c4576139c46139df565b5060010190565b6000826139da576139da6139f5565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146115fa57600080fd5b6001600160e01b0319811681146115fa57600080fdfee643fc8b51369bc4c80249f9d4f3b859e8e2b270549324fb21ff2ef8c8e813d9a2646970667358221220d8c8fbc2f1716a53c38a7664ba434380ca2efa65f42a8fb3d954c917c1a313c664736f6c63430008070033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$603.98
Net Worth in ETH
0.300215
Token Allocations
ETH
100.00%
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $2,013.28 | 0.3 | $603.98 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.