ERC-721
Overview
Max Total Supply
1,417 BOX
Holders
881
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BOXLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
PowerMysteryBox
Compiler Version
v0.8.11+commit.d7f03943
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-03-18 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.11; 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); } } 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); } } } } 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); } 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); } abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } 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; } 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); } abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } 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); } } interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); 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 extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 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**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { 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; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 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_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * 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 (_startTokenId() <= curr && 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 virtual 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 (to.isContract() && !_checkContractOnERC721Received(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 _startTokenId() <= tokenId && 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 > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 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; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = 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); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.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; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.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; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, 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 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { 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)) } } } } /** * @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 {} } contract PowerMysteryBox is ERC721A, Ownable { constructor() ERC721A("Power Mystery Box", "BOX") {} string public _contractBaseURI; bool public isClaimActive; mapping(uint256 => bool) public claimedNFT; /* * Function toggleClaim activate/desactivate claim option */ function toggleClaim() external onlyOwner { isClaimActive = !isClaimActive; } /* * Function to set Base URI */ function setURI(string memory _URI) external onlyOwner { _contractBaseURI = _URI; } /* * Function to mint all NFTs for giveaway */ function giveawayMint(address[] memory _to) external onlyOwner { for(uint256 i = 0; i < _to.length; i++){ _safeMint(_to[i], 1); } } /* * Function to claim giveaway a NFT */ function claimGiveaway(uint256 _tokenId) external { require(isClaimActive, "Claim is not active"); require(ownerOf(_tokenId) == msg.sender, "You are not the owner of this NFT"); require(!claimedNFT[_tokenId], "Giveaway already claimed"); claimedNFT[_tokenId] = true; } function _baseURI() internal view override returns (string memory) { return _contractBaseURI; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","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"},{"inputs":[],"name":"_contractBaseURI","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":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"claimGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimedNFT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"}],"name":"giveawayMint","outputs":[],"stateMutability":"nonpayable","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":"isClaimActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_URI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060408051808201825260118152700a0deeecae4409af2e6e8cae4f24084def607b1b6020808301918252835180850190945260038452620849eb60eb1b9084015281519192916200006691600291620000e6565b5080516200007c906003906020840190620000e6565b505060008055506200008e3362000094565b620001c9565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620000f4906200018c565b90600052602060002090601f01602090048101928262000118576000855562000163565b82601f106200013357805160ff191683800117855562000163565b8280016001018555821562000163579182015b828111156200016357825182559160200191906001019062000146565b506200017192915062000175565b5090565b5b8082111562000171576000815560010162000176565b600181811c90821680620001a157607f821691505b60208210811415620001c357634e487b7160e01b600052602260045260246000fd5b50919050565b6118b380620001d96000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063a22cb4651161007c578063a22cb465146102ce578063b88d4fde146102e1578063c87b56dd146102f4578063d112974514610307578063e985e9c51461030f578063f2fde38b1461034b57600080fd5b806370a08231146102855780637101ebca14610298578063715018a6146102a05780637fc27803146102a85780638da5cb5b146102b557806395d89b41146102c657600080fd5b806318160ddd1161011557806318160ddd1461020057806323b872dd146102165780633ae3c52c1461022957806342842e0e1461023c5780636352211e1461024f578063649b7e591461026257600080fd5b806301ffc9a71461015d57806302fe530514610185578063053a24d61461019a57806306fdde03146101ad578063081812fc146101c2578063095ea7b3146101ed575b600080fd5b61017061016b366004611312565b61035e565b60405190151581526020015b60405180910390f35b6101986101933660046113ce565b6103b0565b005b6101986101a8366004611433565b6103fa565b6101b5610466565b60405161017c9190611538565b6101d56101d036600461154b565b6104f8565b6040516001600160a01b03909116815260200161017c565b6101986101fb366004611564565b61053c565b600154600054035b60405190815260200161017c565b61019861022436600461158e565b6105ca565b61019861023736600461154b565b6105d5565b61019861024a36600461158e565b610701565b6101d561025d36600461154b565b61071c565b61017061027036600461154b565b600b6020526000908152604090205460ff1681565b6102086102933660046115ca565b61072e565b6101b561077d565b61019861080b565b600a546101709060ff1681565b6008546001600160a01b03166101d5565b6101b5610841565b6101986102dc3660046115e5565b610850565b6101986102ef366004611621565b6108e6565b6101b561030236600461154b565b610937565b6101986109bc565b61017061031d36600461169d565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101986103593660046115ca565b6109fa565b60006001600160e01b031982166380ac58cd60e01b148061038f57506001600160e01b03198216635b5e139f60e01b145b806103aa57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b031633146103e35760405162461bcd60e51b81526004016103da906116d0565b60405180910390fd5b80516103f6906009906020840190611263565b5050565b6008546001600160a01b031633146104245760405162461bcd60e51b81526004016103da906116d0565b60005b81518110156103f65761045482828151811061044557610445611705565b60200260200101516001610a95565b8061045e81611731565b915050610427565b6060600280546104759061174c565b80601f01602080910402602001604051908101604052809291908181526020018280546104a19061174c565b80156104ee5780601f106104c3576101008083540402835291602001916104ee565b820191906000526020600020905b8154815290600101906020018083116104d157829003601f168201915b5050505050905090565b600061050382610aaf565b610520576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105478261071c565b9050806001600160a01b0316836001600160a01b0316141561057c5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061059c575061059a813361031d565b155b156105ba576040516367d9dca160e11b815260040160405180910390fd5b6105c5838383610ada565b505050565b6105c5838383610b36565b600a5460ff1661061d5760405162461bcd60e51b8152602060048201526013602482015272436c61696d206973206e6f742061637469766560681b60448201526064016103da565b336106278261071c565b6001600160a01b0316146106875760405162461bcd60e51b815260206004820152602160248201527f596f7520617265206e6f7420746865206f776e6572206f662074686973204e466044820152601560fa1b60648201526084016103da565b6000818152600b602052604090205460ff16156106e65760405162461bcd60e51b815260206004820152601860248201527f476976656177617920616c726561647920636c61696d6564000000000000000060448201526064016103da565b6000908152600b60205260409020805460ff19166001179055565b6105c5838383604051806020016040528060008152506108e6565b600061072782610d26565b5192915050565b60006001600160a01b038216610757576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6009805461078a9061174c565b80601f01602080910402602001604051908101604052809291908181526020018280546107b69061174c565b80156108035780601f106107d857610100808354040283529160200191610803565b820191906000526020600020905b8154815290600101906020018083116107e657829003601f168201915b505050505081565b6008546001600160a01b031633146108355760405162461bcd60e51b81526004016103da906116d0565b61083f6000610e42565b565b6060600380546104759061174c565b6001600160a01b03821633141561087a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6108f1848484610b36565b6001600160a01b0383163b15158015610913575061091184848484610e94565b155b15610931576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061094282610aaf565b61095f57604051630a14c4b560e41b815260040160405180910390fd5b6000610969610f7d565b905080516000141561098a57604051806020016040528060008152506109b5565b8061099484610f8c565b6040516020016109a5929190611787565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146109e65760405162461bcd60e51b81526004016103da906116d0565b600a805460ff19811660ff90911615179055565b6008546001600160a01b03163314610a245760405162461bcd60e51b81526004016103da906116d0565b6001600160a01b038116610a895760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103da565b610a9281610e42565b50565b6103f682826040518060200160405280600081525061108a565b60008054821080156103aa575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610b4182610d26565b9050836001600160a01b031681600001516001600160a01b031614610b785760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610b965750610b96853361031d565b80610bb1575033610ba6846104f8565b6001600160a01b0316145b905080610bd157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610bf857604051633a954ecd60e21b815260040160405180910390fd5b610c0460008487610ada565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610cda576000548214610cda578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b604080516060810182526000808252602082018190529181019190915281600054811015610e2957600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610e275780516001600160a01b031615610dbd579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215610e22579392505050565b610dbd565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610ec99033908990889088906004016117b6565b6020604051808303816000875af1925050508015610f04575060408051601f3d908101601f19168201909252610f01918101906117f3565b60015b610f5f573d808015610f32576040519150601f19603f3d011682016040523d82523d6000602084013e610f37565b606091505b508051610f57576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600980546104759061174c565b606081610fb05750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610fda5780610fc481611731565b9150610fd39050600a83611826565b9150610fb4565b60008167ffffffffffffffff811115610ff557610ff561132f565b6040519080825280601f01601f19166020018201604052801561101f576020820181803683370190505b5090505b8415610f755761103460018361183a565b9150611041600a86611851565b61104c906030611865565b60f81b81838151811061106157611061611705565b60200101906001600160f81b031916908160001a905350611083600a86611826565b9450611023565b6105c583838360016000546001600160a01b0385166110bb57604051622e076360e81b815260040160405180910390fd5b836110d95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561118b57506001600160a01b0387163b15155b15611214575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46111dc6000888480600101955088610e94565b6111f9576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561119157826000541461120f57600080fd5b61125a565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611215575b50600055610d1f565b82805461126f9061174c565b90600052602060002090601f01602090048101928261129157600085556112d7565b82601f106112aa57805160ff19168380011785556112d7565b828001600101855582156112d7579182015b828111156112d75782518255916020019190600101906112bc565b506112e39291506112e7565b5090565b5b808211156112e357600081556001016112e8565b6001600160e01b031981168114610a9257600080fd5b60006020828403121561132457600080fd5b81356109b5816112fc565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561136e5761136e61132f565b604052919050565b600067ffffffffffffffff8311156113905761139061132f565b6113a3601f8401601f1916602001611345565b90508281528383830111156113b757600080fd5b828260208301376000602084830101529392505050565b6000602082840312156113e057600080fd5b813567ffffffffffffffff8111156113f757600080fd5b8201601f8101841361140857600080fd5b610f7584823560208401611376565b80356001600160a01b038116811461142e57600080fd5b919050565b6000602080838503121561144657600080fd5b823567ffffffffffffffff8082111561145e57600080fd5b818501915085601f83011261147257600080fd5b8135818111156114845761148461132f565b8060051b9150611495848301611345565b81815291830184019184810190888411156114af57600080fd5b938501935b838510156114d4576114c585611417565b825293850193908501906114b4565b98975050505050505050565b60005b838110156114fb5781810151838201526020016114e3565b838111156109315750506000910152565b600081518084526115248160208601602086016114e0565b601f01601f19169290920160200192915050565b6020815260006109b5602083018461150c565b60006020828403121561155d57600080fd5b5035919050565b6000806040838503121561157757600080fd5b61158083611417565b946020939093013593505050565b6000806000606084860312156115a357600080fd5b6115ac84611417565b92506115ba60208501611417565b9150604084013590509250925092565b6000602082840312156115dc57600080fd5b6109b582611417565b600080604083850312156115f857600080fd5b61160183611417565b91506020830135801515811461161657600080fd5b809150509250929050565b6000806000806080858703121561163757600080fd5b61164085611417565b935061164e60208601611417565b925060408501359150606085013567ffffffffffffffff81111561167157600080fd5b8501601f8101871361168257600080fd5b61169187823560208401611376565b91505092959194509250565b600080604083850312156116b057600080fd5b6116b983611417565b91506116c760208401611417565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156117455761174561171b565b5060010190565b600181811c9082168061176057607f821691505b6020821081141561178157634e487b7160e01b600052602260045260246000fd5b50919050565b600083516117998184602088016114e0565b8351908301906117ad8183602088016114e0565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906117e99083018461150c565b9695505050505050565b60006020828403121561180557600080fd5b81516109b5816112fc565b634e487b7160e01b600052601260045260246000fd5b60008261183557611835611810565b500490565b60008282101561184c5761184c61171b565b500390565b60008261186057611860611810565b500690565b600082198211156118785761187861171b565b50019056fea264697066735822122060e8e06e9f5af36cc0e1a4bd6c438e3f49e934876f2349a25b80de3782de0a2564736f6c634300080b0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063a22cb4651161007c578063a22cb465146102ce578063b88d4fde146102e1578063c87b56dd146102f4578063d112974514610307578063e985e9c51461030f578063f2fde38b1461034b57600080fd5b806370a08231146102855780637101ebca14610298578063715018a6146102a05780637fc27803146102a85780638da5cb5b146102b557806395d89b41146102c657600080fd5b806318160ddd1161011557806318160ddd1461020057806323b872dd146102165780633ae3c52c1461022957806342842e0e1461023c5780636352211e1461024f578063649b7e591461026257600080fd5b806301ffc9a71461015d57806302fe530514610185578063053a24d61461019a57806306fdde03146101ad578063081812fc146101c2578063095ea7b3146101ed575b600080fd5b61017061016b366004611312565b61035e565b60405190151581526020015b60405180910390f35b6101986101933660046113ce565b6103b0565b005b6101986101a8366004611433565b6103fa565b6101b5610466565b60405161017c9190611538565b6101d56101d036600461154b565b6104f8565b6040516001600160a01b03909116815260200161017c565b6101986101fb366004611564565b61053c565b600154600054035b60405190815260200161017c565b61019861022436600461158e565b6105ca565b61019861023736600461154b565b6105d5565b61019861024a36600461158e565b610701565b6101d561025d36600461154b565b61071c565b61017061027036600461154b565b600b6020526000908152604090205460ff1681565b6102086102933660046115ca565b61072e565b6101b561077d565b61019861080b565b600a546101709060ff1681565b6008546001600160a01b03166101d5565b6101b5610841565b6101986102dc3660046115e5565b610850565b6101986102ef366004611621565b6108e6565b6101b561030236600461154b565b610937565b6101986109bc565b61017061031d36600461169d565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101986103593660046115ca565b6109fa565b60006001600160e01b031982166380ac58cd60e01b148061038f57506001600160e01b03198216635b5e139f60e01b145b806103aa57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b031633146103e35760405162461bcd60e51b81526004016103da906116d0565b60405180910390fd5b80516103f6906009906020840190611263565b5050565b6008546001600160a01b031633146104245760405162461bcd60e51b81526004016103da906116d0565b60005b81518110156103f65761045482828151811061044557610445611705565b60200260200101516001610a95565b8061045e81611731565b915050610427565b6060600280546104759061174c565b80601f01602080910402602001604051908101604052809291908181526020018280546104a19061174c565b80156104ee5780601f106104c3576101008083540402835291602001916104ee565b820191906000526020600020905b8154815290600101906020018083116104d157829003601f168201915b5050505050905090565b600061050382610aaf565b610520576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105478261071c565b9050806001600160a01b0316836001600160a01b0316141561057c5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061059c575061059a813361031d565b155b156105ba576040516367d9dca160e11b815260040160405180910390fd5b6105c5838383610ada565b505050565b6105c5838383610b36565b600a5460ff1661061d5760405162461bcd60e51b8152602060048201526013602482015272436c61696d206973206e6f742061637469766560681b60448201526064016103da565b336106278261071c565b6001600160a01b0316146106875760405162461bcd60e51b815260206004820152602160248201527f596f7520617265206e6f7420746865206f776e6572206f662074686973204e466044820152601560fa1b60648201526084016103da565b6000818152600b602052604090205460ff16156106e65760405162461bcd60e51b815260206004820152601860248201527f476976656177617920616c726561647920636c61696d6564000000000000000060448201526064016103da565b6000908152600b60205260409020805460ff19166001179055565b6105c5838383604051806020016040528060008152506108e6565b600061072782610d26565b5192915050565b60006001600160a01b038216610757576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6009805461078a9061174c565b80601f01602080910402602001604051908101604052809291908181526020018280546107b69061174c565b80156108035780601f106107d857610100808354040283529160200191610803565b820191906000526020600020905b8154815290600101906020018083116107e657829003601f168201915b505050505081565b6008546001600160a01b031633146108355760405162461bcd60e51b81526004016103da906116d0565b61083f6000610e42565b565b6060600380546104759061174c565b6001600160a01b03821633141561087a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6108f1848484610b36565b6001600160a01b0383163b15158015610913575061091184848484610e94565b155b15610931576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061094282610aaf565b61095f57604051630a14c4b560e41b815260040160405180910390fd5b6000610969610f7d565b905080516000141561098a57604051806020016040528060008152506109b5565b8061099484610f8c565b6040516020016109a5929190611787565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146109e65760405162461bcd60e51b81526004016103da906116d0565b600a805460ff19811660ff90911615179055565b6008546001600160a01b03163314610a245760405162461bcd60e51b81526004016103da906116d0565b6001600160a01b038116610a895760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103da565b610a9281610e42565b50565b6103f682826040518060200160405280600081525061108a565b60008054821080156103aa575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610b4182610d26565b9050836001600160a01b031681600001516001600160a01b031614610b785760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610b965750610b96853361031d565b80610bb1575033610ba6846104f8565b6001600160a01b0316145b905080610bd157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610bf857604051633a954ecd60e21b815260040160405180910390fd5b610c0460008487610ada565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610cda576000548214610cda578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b604080516060810182526000808252602082018190529181019190915281600054811015610e2957600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610e275780516001600160a01b031615610dbd579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215610e22579392505050565b610dbd565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610ec99033908990889088906004016117b6565b6020604051808303816000875af1925050508015610f04575060408051601f3d908101601f19168201909252610f01918101906117f3565b60015b610f5f573d808015610f32576040519150601f19603f3d011682016040523d82523d6000602084013e610f37565b606091505b508051610f57576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600980546104759061174c565b606081610fb05750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610fda5780610fc481611731565b9150610fd39050600a83611826565b9150610fb4565b60008167ffffffffffffffff811115610ff557610ff561132f565b6040519080825280601f01601f19166020018201604052801561101f576020820181803683370190505b5090505b8415610f755761103460018361183a565b9150611041600a86611851565b61104c906030611865565b60f81b81838151811061106157611061611705565b60200101906001600160f81b031916908160001a905350611083600a86611826565b9450611023565b6105c583838360016000546001600160a01b0385166110bb57604051622e076360e81b815260040160405180910390fd5b836110d95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561118b57506001600160a01b0387163b15155b15611214575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46111dc6000888480600101955088610e94565b6111f9576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561119157826000541461120f57600080fd5b61125a565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611215575b50600055610d1f565b82805461126f9061174c565b90600052602060002090601f01602090048101928261129157600085556112d7565b82601f106112aa57805160ff19168380011785556112d7565b828001600101855582156112d7579182015b828111156112d75782518255916020019190600101906112bc565b506112e39291506112e7565b5090565b5b808211156112e357600081556001016112e8565b6001600160e01b031981168114610a9257600080fd5b60006020828403121561132457600080fd5b81356109b5816112fc565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561136e5761136e61132f565b604052919050565b600067ffffffffffffffff8311156113905761139061132f565b6113a3601f8401601f1916602001611345565b90508281528383830111156113b757600080fd5b828260208301376000602084830101529392505050565b6000602082840312156113e057600080fd5b813567ffffffffffffffff8111156113f757600080fd5b8201601f8101841361140857600080fd5b610f7584823560208401611376565b80356001600160a01b038116811461142e57600080fd5b919050565b6000602080838503121561144657600080fd5b823567ffffffffffffffff8082111561145e57600080fd5b818501915085601f83011261147257600080fd5b8135818111156114845761148461132f565b8060051b9150611495848301611345565b81815291830184019184810190888411156114af57600080fd5b938501935b838510156114d4576114c585611417565b825293850193908501906114b4565b98975050505050505050565b60005b838110156114fb5781810151838201526020016114e3565b838111156109315750506000910152565b600081518084526115248160208601602086016114e0565b601f01601f19169290920160200192915050565b6020815260006109b5602083018461150c565b60006020828403121561155d57600080fd5b5035919050565b6000806040838503121561157757600080fd5b61158083611417565b946020939093013593505050565b6000806000606084860312156115a357600080fd5b6115ac84611417565b92506115ba60208501611417565b9150604084013590509250925092565b6000602082840312156115dc57600080fd5b6109b582611417565b600080604083850312156115f857600080fd5b61160183611417565b91506020830135801515811461161657600080fd5b809150509250929050565b6000806000806080858703121561163757600080fd5b61164085611417565b935061164e60208601611417565b925060408501359150606085013567ffffffffffffffff81111561167157600080fd5b8501601f8101871361168257600080fd5b61169187823560208401611376565b91505092959194509250565b600080604083850312156116b057600080fd5b6116b983611417565b91506116c760208401611417565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156117455761174561171b565b5060010190565b600181811c9082168061176057607f821691505b6020821081141561178157634e487b7160e01b600052602260045260246000fd5b50919050565b600083516117998184602088016114e0565b8351908301906117ad8183602088016114e0565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906117e99083018461150c565b9695505050505050565b60006020828403121561180557600080fd5b81516109b5816112fc565b634e487b7160e01b600052601260045260246000fd5b60008261183557611835611810565b500490565b60008282101561184c5761184c61171b565b500390565b60008261186057611860611810565b500690565b600082198211156118785761187861171b565b50019056fea264697066735822122060e8e06e9f5af36cc0e1a4bd6c438e3f49e934876f2349a25b80de3782de0a2564736f6c634300080b0033
Deployed Bytecode Sourcemap
41621:1290:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23863:305;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;23863:305:0;;;;;;;;42080:97;;;;;;:::i;:::-;;:::i;:::-;;42248:167;;;;;;:::i;:::-;;:::i;26976:100::-;;;:::i;:::-;;;;;;;:::i;28479:204::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;4107:32:1;;;4089:51;;4077:2;4062:18;28479:204:0;3943:203:1;28042:371:0;;;;;;:::i;:::-;;:::i;23112:303::-;23366:12;;23156:7;23350:13;:28;23112:303;;;4556:25:1;;;4544:2;4529:18;23112:303:0;4410:177:1;29344:170:0;;;;;;:::i;:::-;;:::i;42480:311::-;;;;;;:::i;:::-;;:::i;29585:185::-;;;;;;:::i;:::-;;:::i;26784:125::-;;;;;;:::i;:::-;;:::i;41802:42::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;24232:206;;;;;;:::i;:::-;;:::i;41733:30::-;;;:::i;18152:103::-;;;:::i;41770:25::-;;;;;;;;;17501:87;17574:6;;-1:-1:-1;;;;;17574:6:0;17501:87;;27145:104;;;:::i;28755:287::-;;;;;;:::i;:::-;;:::i;29841:369::-;;;;;;:::i;:::-;;:::i;27320:318::-;;;;;;:::i;:::-;;:::i;41932:91::-;;;:::i;29113:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;29234:25:0;;;29210:4;29234:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;29113:164;18410:201;;;;;;:::i;:::-;;:::i;23863:305::-;23965:4;-1:-1:-1;;;;;;24002:40:0;;-1:-1:-1;;;24002:40:0;;:105;;-1:-1:-1;;;;;;;24059:48:0;;-1:-1:-1;;;24059:48:0;24002:105;:158;;;-1:-1:-1;;;;;;;;;;11669:40:0;;;24124:36;23982:178;23863:305;-1:-1:-1;;23863:305:0:o;42080:97::-;17574:6;;-1:-1:-1;;;;;17574:6:0;16955:10;17721:23;17713:68;;;;-1:-1:-1;;;17713:68:0;;;;;;;:::i;:::-;;;;;;;;;42146:23;;::::1;::::0;:16:::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;:::-;;42080:97:::0;:::o;42248:167::-;17574:6;;-1:-1:-1;;;;;17574:6:0;16955:10;17721:23;17713:68;;;;-1:-1:-1;;;17713:68:0;;;;;;;:::i;:::-;42326:9:::1;42322:86;42345:3;:10;42341:1;:14;42322:86;;;42376:20;42386:3;42390:1;42386:6;;;;;;;;:::i;:::-;;;;;;;42394:1;42376:9;:20::i;:::-;42357:3:::0;::::1;::::0;::::1;:::i;:::-;;;;42322:86;;26976:100:::0;27030:13;27063:5;27056:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26976:100;:::o;28479:204::-;28547:7;28572:16;28580:7;28572;:16::i;:::-;28567:64;;28597:34;;-1:-1:-1;;;28597:34:0;;;;;;;;;;;28567:64;-1:-1:-1;28651:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;28651:24:0;;28479:204::o;28042:371::-;28115:13;28131:24;28147:7;28131:15;:24::i;:::-;28115:40;;28176:5;-1:-1:-1;;;;;28170:11:0;:2;-1:-1:-1;;;;;28170:11:0;;28166:48;;;28190:24;;-1:-1:-1;;;28190:24:0;;;;;;;;;;;28166:48;16955:10;-1:-1:-1;;;;;28231:21:0;;;;;;:63;;-1:-1:-1;28257:37:0;28274:5;16955:10;29113:164;:::i;28257:37::-;28256:38;28231:63;28227:138;;;28318:35;;-1:-1:-1;;;28318:35:0;;;;;;;;;;;28227:138;28377:28;28386:2;28390:7;28399:5;28377:8;:28::i;:::-;28104:309;28042:371;;:::o;29344:170::-;29478:28;29488:4;29494:2;29498:7;29478:9;:28::i;42480:311::-;42549:13;;;;42541:45;;;;-1:-1:-1;;;42541:45:0;;7757:2:1;42541:45:0;;;7739:21:1;7796:2;7776:18;;;7769:30;-1:-1:-1;;;7815:18:1;;;7808:49;7874:18;;42541:45:0;7555:343:1;42541:45:0;42626:10;42605:17;42613:8;42605:7;:17::i;:::-;-1:-1:-1;;;;;42605:31:0;;42597:77;;;;-1:-1:-1;;;42597:77:0;;8105:2:1;42597:77:0;;;8087:21:1;8144:2;8124:18;;;8117:30;8183:34;8163:18;;;8156:62;-1:-1:-1;;;8234:18:1;;;8227:31;8275:19;;42597:77:0;7903:397:1;42597:77:0;42694:20;;;;:10;:20;;;;;;;;42693:21;42685:58;;;;-1:-1:-1;;;42685:58:0;;8507:2:1;42685:58:0;;;8489:21:1;8546:2;8526:18;;;8519:30;8585:26;8565:18;;;8558:54;8629:18;;42685:58:0;8305:348:1;42685:58:0;42756:20;;;;:10;:20;;;;;:27;;-1:-1:-1;;42756:27:0;42779:4;42756:27;;;42480:311::o;29585:185::-;29723:39;29740:4;29746:2;29750:7;29723:39;;;;;;;;;;;;:16;:39::i;26784:125::-;26848:7;26875:21;26888:7;26875:12;:21::i;:::-;:26;;26784:125;-1:-1:-1;;26784:125:0:o;24232:206::-;24296:7;-1:-1:-1;;;;;24320:19:0;;24316:60;;24348:28;;-1:-1:-1;;;24348:28:0;;;;;;;;;;;24316:60;-1:-1:-1;;;;;;24402:19:0;;;;;:12;:19;;;;;:27;;;;24232:206::o;41733:30::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;18152:103::-;17574:6;;-1:-1:-1;;;;;17574:6:0;16955:10;17721:23;17713:68;;;;-1:-1:-1;;;17713:68:0;;;;;;;:::i;:::-;18217:30:::1;18244:1;18217:18;:30::i;:::-;18152:103::o:0;27145:104::-;27201:13;27234:7;27227:14;;;;;:::i;28755:287::-;-1:-1:-1;;;;;28854:24:0;;16955:10;28854:24;28850:54;;;28887:17;;-1:-1:-1;;;28887:17:0;;;;;;;;;;;28850:54;16955:10;28917:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;28917:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;28917:53:0;;;;;;;;;;28986:48;;540:41:1;;;28917:42:0;;16955:10;28986:48;;513:18:1;28986:48:0;;;;;;;28755:287;;:::o;29841:369::-;30008:28;30018:4;30024:2;30028:7;30008:9;:28::i;:::-;-1:-1:-1;;;;;30051:13:0;;3313:19;:23;;30051:76;;;;;30071:56;30102:4;30108:2;30112:7;30121:5;30071:30;:56::i;:::-;30070:57;30051:76;30047:156;;;30151:40;;-1:-1:-1;;;30151:40:0;;;;;;;;;;;30047:156;29841:369;;;;:::o;27320:318::-;27393:13;27424:16;27432:7;27424;:16::i;:::-;27419:59;;27449:29;;-1:-1:-1;;;27449:29:0;;;;;;;;;;;27419:59;27491:21;27515:10;:8;:10::i;:::-;27491:34;;27549:7;27543:21;27568:1;27543:26;;:87;;;;;;;;;;;;;;;;;27596:7;27605:18;:7;:16;:18::i;:::-;27579:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;27543:87;27536:94;27320:318;-1:-1:-1;;;27320:318:0:o;41932:91::-;17574:6;;-1:-1:-1;;;;;17574:6:0;16955:10;17721:23;17713:68;;;;-1:-1:-1;;;17713:68:0;;;;;;;:::i;:::-;42002:13:::1;::::0;;-1:-1:-1;;41985:30:0;::::1;42002:13;::::0;;::::1;42001:14;41985:30;::::0;;41932:91::o;18410:201::-;17574:6;;-1:-1:-1;;;;;17574:6:0;16955:10;17721:23;17713:68;;;;-1:-1:-1;;;17713:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;18499:22:0;::::1;18491:73;;;::::0;-1:-1:-1;;;18491:73:0;;9335:2:1;18491:73:0::1;::::0;::::1;9317:21:1::0;9374:2;9354:18;;;9347:30;9413:34;9393:18;;;9386:62;-1:-1:-1;;;9464:18:1;;;9457:36;9510:19;;18491:73:0::1;9133:402:1::0;18491:73:0::1;18575:28;18594:8;18575:18;:28::i;:::-;18410:201:::0;:::o;30660:104::-;30729:27;30739:2;30743:8;30729:27;;;;;;;;;;;;:9;:27::i;30465:187::-;30522:4;30586:13;;30576:7;:23;30546:98;;;;-1:-1:-1;;30617:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;30617:27:0;;;;30616:28;;30465:187::o;38635:196::-;38750:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;38750:29:0;-1:-1:-1;;;;;38750:29:0;;;;;;;;;38795:28;;38750:24;;38795:28;;;;;;;38635:196;;;:::o;33578:2130::-;33693:35;33731:21;33744:7;33731:12;:21::i;:::-;33693:59;;33791:4;-1:-1:-1;;;;;33769:26:0;:13;:18;;;-1:-1:-1;;;;;33769:26:0;;33765:67;;33804:28;;-1:-1:-1;;;33804:28:0;;;;;;;;;;;33765:67;33845:22;16955:10;-1:-1:-1;;;;;33871:20:0;;;;:73;;-1:-1:-1;33908:36:0;33925:4;16955:10;29113:164;:::i;33908:36::-;33871:126;;;-1:-1:-1;16955:10:0;33961:20;33973:7;33961:11;:20::i;:::-;-1:-1:-1;;;;;33961:36:0;;33871:126;33845:153;;34016:17;34011:66;;34042:35;;-1:-1:-1;;;34042:35:0;;;;;;;;;;;34011:66;-1:-1:-1;;;;;34092:16:0;;34088:52;;34117:23;;-1:-1:-1;;;34117:23:0;;;;;;;;;;;34088:52;34261:35;34278:1;34282:7;34291:4;34261:8;:35::i;:::-;-1:-1:-1;;;;;34592:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;34592:31:0;;;;;;;-1:-1:-1;;34592:31:0;;;;;;;34638:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;34638:29:0;;;;;;;;;;;34718:20;;;:11;:20;;;;;;34753:18;;-1:-1:-1;;;;;;34786:49:0;;;;-1:-1:-1;;;34819:15:0;34786:49;;;;;;;;;;35109:11;;35169:24;;;;;35212:13;;34718:20;;35169:24;;35212:13;35208:384;;35422:13;;35407:11;:28;35403:174;;35460:20;;35529:28;;;;35503:54;;-1:-1:-1;;;35503:54:0;-1:-1:-1;;;;;;35503:54:0;;;-1:-1:-1;;;;;35460:20:0;;35503:54;;;;35403:174;34567:1036;;;35639:7;35635:2;-1:-1:-1;;;;;35620:27:0;35629:4;-1:-1:-1;;;;;35620:27:0;;;;;;;;;;;35658:42;33682:2026;;33578:2130;;;:::o;25613:1109::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;25724:7:0;25807:13;;25800:4;:20;25769:886;;;25841:31;25875:17;;;:11;:17;;;;;;;;;25841:51;;;;;;;;;-1:-1:-1;;;;;25841:51:0;;;;-1:-1:-1;;;25841:51:0;;;;;;;;;;;-1:-1:-1;;;25841:51:0;;;;;;;;;;;;;;25911:729;;25961:14;;-1:-1:-1;;;;;25961:28:0;;25957:101;;26025:9;25613:1109;-1:-1:-1;;;25613:1109:0:o;25957:101::-;-1:-1:-1;;;26400:6:0;26445:17;;;;:11;:17;;;;;;;;;26433:29;;;;;;;;;-1:-1:-1;;;;;26433:29:0;;;;;-1:-1:-1;;;26433:29:0;;;;;;;;;;;-1:-1:-1;;;26433:29:0;;;;;;;;;;;;;26493:28;26489:109;;26561:9;25613:1109;-1:-1:-1;;;25613:1109:0:o;26489:109::-;26360:261;;;25822:833;25769:886;26683:31;;-1:-1:-1;;;26683:31:0;;;;;;;;;;;18771:191;18864:6;;;-1:-1:-1;;;;;18881:17:0;;;-1:-1:-1;;;;;;18881:17:0;;;;;;;18914:40;;18864:6;;;18881:17;18864:6;;18914:40;;18845:16;;18914:40;18834:128;18771:191;:::o;39323:667::-;39507:72;;-1:-1:-1;;;39507:72:0;;39486:4;;-1:-1:-1;;;;;39507:36:0;;;;;:72;;16955:10;;39558:4;;39564:7;;39573:5;;39507:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39507:72:0;;;;;;;;-1:-1:-1;;39507:72:0;;;;;;;;;;;;:::i;:::-;;;39503:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39741:13:0;;39737:235;;39787:40;;-1:-1:-1;;;39787:40:0;;;;;;;;;;;39737:235;39930:6;39924:13;39915:6;39911:2;39907:15;39900:38;39503:480;-1:-1:-1;;;;;;39626:55:0;-1:-1:-1;;;39626:55:0;;-1:-1:-1;39503:480:0;39323:667;;;;;;:::o;42799:109::-;42851:13;42884:16;42877:23;;;;;:::i;251:723::-;307:13;528:10;524:53;;-1:-1:-1;;555:10:0;;;;;;;;;;;;-1:-1:-1;;;555:10:0;;;;;251:723::o;524:53::-;602:5;587:12;643:78;650:9;;643:78;;676:8;;;;:::i;:::-;;-1:-1:-1;699:10:0;;-1:-1:-1;707:2:0;699:10;;:::i;:::-;;;643:78;;;731:19;763:6;753:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;753:17:0;;731:39;;781:154;788:10;;781:154;;815:11;825:1;815:11;;:::i;:::-;;-1:-1:-1;884:10:0;892:2;884:5;:10;:::i;:::-;871:24;;:2;:24;:::i;:::-;858:39;;841:6;848;841:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;841:56:0;;;;;;;;-1:-1:-1;912:11:0;921:2;912:11;;:::i;:::-;;;781:154;;31127:163;31250:32;31256:2;31260:8;31270:5;31277:4;31688:20;31711:13;-1:-1:-1;;;;;31739:16:0;;31735:48;;31764:19;;-1:-1:-1;;;31764:19:0;;;;;;;;;;;31735:48;31798:13;31794:44;;31820:18;;-1:-1:-1;;;31820:18:0;;;;;;;;;;;31794:44;-1:-1:-1;;;;;32189:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;32248:49:0;;32189:44;;;;;;;;32248:49;;;;-1:-1:-1;;32189:44:0;;;;;;32248:49;;;;;;;;;;;;;;;;32314:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;32364:66:0;;;;-1:-1:-1;;;32414:15:0;32364:66;;;;;;;;;;32314:25;32511:23;;;32555:4;:23;;;;-1:-1:-1;;;;;;32563:13:0;;3313:19;:23;;32563:15;32551:641;;;32599:314;32630:38;;32655:12;;-1:-1:-1;;;;;32630:38:0;;;32647:1;;32630:38;;32647:1;;32630:38;32696:69;32735:1;32739:2;32743:14;;;;;;32759:5;32696:30;:69::i;:::-;32691:174;;32801:40;;-1:-1:-1;;;32801:40:0;;;;;;;;;;;32691:174;32908:3;32892:12;:19;;32599:314;;32994:12;32977:13;;:29;32973:43;;33008:8;;;32973:43;32551:641;;;33057:120;33088:40;;33113:14;;;;;-1:-1:-1;;;;;33088:40:0;;;33105:1;;33088:40;;33105:1;;33088:40;33172:3;33156:12;:19;;33057:120;;32551:641;-1:-1:-1;33206:13:0;:28;33256:60;29841:369;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:127::-;653:10;648:3;644:20;641:1;634:31;684:4;681:1;674:15;708:4;705:1;698:15;724:275;795:2;789:9;860:2;841:13;;-1:-1:-1;;837:27:1;825:40;;895:18;880:34;;916:22;;;877:62;874:88;;;942:18;;:::i;:::-;978:2;971:22;724:275;;-1:-1:-1;724:275:1:o;1004:407::-;1069:5;1103:18;1095:6;1092:30;1089:56;;;1125:18;;:::i;:::-;1163:57;1208:2;1187:15;;-1:-1:-1;;1183:29:1;1214:4;1179:40;1163:57;:::i;:::-;1154:66;;1243:6;1236:5;1229:21;1283:3;1274:6;1269:3;1265:16;1262:25;1259:45;;;1300:1;1297;1290:12;1259:45;1349:6;1344:3;1337:4;1330:5;1326:16;1313:43;1403:1;1396:4;1387:6;1380:5;1376:18;1372:29;1365:40;1004:407;;;;;:::o;1416:451::-;1485:6;1538:2;1526:9;1517:7;1513:23;1509:32;1506:52;;;1554:1;1551;1544:12;1506:52;1594:9;1581:23;1627:18;1619:6;1616:30;1613:50;;;1659:1;1656;1649:12;1613:50;1682:22;;1735:4;1727:13;;1723:27;-1:-1:-1;1713:55:1;;1764:1;1761;1754:12;1713:55;1787:74;1853:7;1848:2;1835:16;1830:2;1826;1822:11;1787:74;:::i;1872:173::-;1940:20;;-1:-1:-1;;;;;1989:31:1;;1979:42;;1969:70;;2035:1;2032;2025:12;1969:70;1872:173;;;:::o;2050:952::-;2134:6;2165:2;2208;2196:9;2187:7;2183:23;2179:32;2176:52;;;2224:1;2221;2214:12;2176:52;2264:9;2251:23;2293:18;2334:2;2326:6;2323:14;2320:34;;;2350:1;2347;2340:12;2320:34;2388:6;2377:9;2373:22;2363:32;;2433:7;2426:4;2422:2;2418:13;2414:27;2404:55;;2455:1;2452;2445:12;2404:55;2491:2;2478:16;2513:2;2509;2506:10;2503:36;;;2519:18;;:::i;:::-;2565:2;2562:1;2558:10;2548:20;;2588:28;2612:2;2608;2604:11;2588:28;:::i;:::-;2650:15;;;2720:11;;;2716:20;;;2681:12;;;;2748:19;;;2745:39;;;2780:1;2777;2770:12;2745:39;2804:11;;;;2824:148;2840:6;2835:3;2832:15;2824:148;;;2906:23;2925:3;2906:23;:::i;:::-;2894:36;;2857:12;;;;2950;;;;2824:148;;;2991:5;2050:952;-1:-1:-1;;;;;;;;2050:952:1:o;3007:258::-;3079:1;3089:113;3103:6;3100:1;3097:13;3089:113;;;3179:11;;;3173:18;3160:11;;;3153:39;3125:2;3118:10;3089:113;;;3220:6;3217:1;3214:13;3211:48;;;-1:-1:-1;;3255:1:1;3237:16;;3230:27;3007:258::o;3270:::-;3312:3;3350:5;3344:12;3377:6;3372:3;3365:19;3393:63;3449:6;3442:4;3437:3;3433:14;3426:4;3419:5;3415:16;3393:63;:::i;:::-;3510:2;3489:15;-1:-1:-1;;3485:29:1;3476:39;;;;3517:4;3472:50;;3270:258;-1:-1:-1;;3270:258:1:o;3533:220::-;3682:2;3671:9;3664:21;3645:4;3702:45;3743:2;3732:9;3728:18;3720:6;3702:45;:::i;3758:180::-;3817:6;3870:2;3858:9;3849:7;3845:23;3841:32;3838:52;;;3886:1;3883;3876:12;3838:52;-1:-1:-1;3909:23:1;;3758:180;-1:-1:-1;3758:180:1:o;4151:254::-;4219:6;4227;4280:2;4268:9;4259:7;4255:23;4251:32;4248:52;;;4296:1;4293;4286:12;4248:52;4319:29;4338:9;4319:29;:::i;:::-;4309:39;4395:2;4380:18;;;;4367:32;;-1:-1:-1;;;4151:254:1:o;4592:328::-;4669:6;4677;4685;4738:2;4726:9;4717:7;4713:23;4709:32;4706:52;;;4754:1;4751;4744:12;4706:52;4777:29;4796:9;4777:29;:::i;:::-;4767:39;;4825:38;4859:2;4848:9;4844:18;4825:38;:::i;:::-;4815:48;;4910:2;4899:9;4895:18;4882:32;4872:42;;4592:328;;;;;:::o;4925:186::-;4984:6;5037:2;5025:9;5016:7;5012:23;5008:32;5005:52;;;5053:1;5050;5043:12;5005:52;5076:29;5095:9;5076:29;:::i;5116:347::-;5181:6;5189;5242:2;5230:9;5221:7;5217:23;5213:32;5210:52;;;5258:1;5255;5248:12;5210:52;5281:29;5300:9;5281:29;:::i;:::-;5271:39;;5360:2;5349:9;5345:18;5332:32;5407:5;5400:13;5393:21;5386:5;5383:32;5373:60;;5429:1;5426;5419:12;5373:60;5452:5;5442:15;;;5116:347;;;;;:::o;5468:667::-;5563:6;5571;5579;5587;5640:3;5628:9;5619:7;5615:23;5611:33;5608:53;;;5657:1;5654;5647:12;5608:53;5680:29;5699:9;5680:29;:::i;:::-;5670:39;;5728:38;5762:2;5751:9;5747:18;5728:38;:::i;:::-;5718:48;;5813:2;5802:9;5798:18;5785:32;5775:42;;5868:2;5857:9;5853:18;5840:32;5895:18;5887:6;5884:30;5881:50;;;5927:1;5924;5917:12;5881:50;5950:22;;6003:4;5995:13;;5991:27;-1:-1:-1;5981:55:1;;6032:1;6029;6022:12;5981:55;6055:74;6121:7;6116:2;6103:16;6098:2;6094;6090:11;6055:74;:::i;:::-;6045:84;;;5468:667;;;;;;;:::o;6140:260::-;6208:6;6216;6269:2;6257:9;6248:7;6244:23;6240:32;6237:52;;;6285:1;6282;6275:12;6237:52;6308:29;6327:9;6308:29;:::i;:::-;6298:39;;6356:38;6390:2;6379:9;6375:18;6356:38;:::i;:::-;6346:48;;6140:260;;;;;:::o;6405:356::-;6607:2;6589:21;;;6626:18;;;6619:30;6685:34;6680:2;6665:18;;6658:62;6752:2;6737:18;;6405:356::o;6766:127::-;6827:10;6822:3;6818:20;6815:1;6808:31;6858:4;6855:1;6848:15;6882:4;6879:1;6872:15;6898:127;6959:10;6954:3;6950:20;6947:1;6940:31;6990:4;6987:1;6980:15;7014:4;7011:1;7004:15;7030:135;7069:3;-1:-1:-1;;7090:17:1;;7087:43;;;7110:18;;:::i;:::-;-1:-1:-1;7157:1:1;7146:13;;7030:135::o;7170:380::-;7249:1;7245:12;;;;7292;;;7313:61;;7367:4;7359:6;7355:17;7345:27;;7313:61;7420:2;7412:6;7409:14;7389:18;7386:38;7383:161;;;7466:10;7461:3;7457:20;7454:1;7447:31;7501:4;7498:1;7491:15;7529:4;7526:1;7519:15;7383:161;;7170:380;;;:::o;8658:470::-;8837:3;8875:6;8869:13;8891:53;8937:6;8932:3;8925:4;8917:6;8913:17;8891:53;:::i;:::-;9007:13;;8966:16;;;;9029:57;9007:13;8966:16;9063:4;9051:17;;9029:57;:::i;:::-;9102:20;;8658:470;-1:-1:-1;;;;8658:470:1:o;9540:489::-;-1:-1:-1;;;;;9809:15:1;;;9791:34;;9861:15;;9856:2;9841:18;;9834:43;9908:2;9893:18;;9886:34;;;9956:3;9951:2;9936:18;;9929:31;;;9734:4;;9977:46;;10003:19;;9995:6;9977:46;:::i;:::-;9969:54;9540:489;-1:-1:-1;;;;;;9540:489:1:o;10034:249::-;10103:6;10156:2;10144:9;10135:7;10131:23;10127:32;10124:52;;;10172:1;10169;10162:12;10124:52;10204:9;10198:16;10223:30;10247:5;10223:30;:::i;10288:127::-;10349:10;10344:3;10340:20;10337:1;10330:31;10380:4;10377:1;10370:15;10404:4;10401:1;10394:15;10420:120;10460:1;10486;10476:35;;10491:18;;:::i;:::-;-1:-1:-1;10525:9:1;;10420:120::o;10545:125::-;10585:4;10613:1;10610;10607:8;10604:34;;;10618:18;;:::i;:::-;-1:-1:-1;10655:9:1;;10545:125::o;10675:112::-;10707:1;10733;10723:35;;10738:18;;:::i;:::-;-1:-1:-1;10772:9:1;;10675:112::o;10792:128::-;10832:3;10863:1;10859:6;10856:1;10853:13;10850:39;;;10869:18;;:::i;:::-;-1:-1:-1;10905:9:1;;10792:128::o
Swarm Source
ipfs://60e8e06e9f5af36cc0e1a4bd6c438e3f49e934876f2349a25b80de3782de0a25
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.