Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 24 from a total of 24 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 13713570 | 1583 days ago | IN | 0 ETH | 0.00374434 | ||||
| Set Approval For... | 13622673 | 1598 days ago | IN | 0 ETH | 0.00854766 | ||||
| Withdraw Earning... | 13595589 | 1602 days ago | IN | 0 ETH | 0.00517527 | ||||
| Set Approval For... | 13555231 | 1608 days ago | IN | 0 ETH | 0.00489515 | ||||
| Set Approval For... | 13545099 | 1610 days ago | IN | 0 ETH | 0.00654342 | ||||
| Buy | 13526829 | 1613 days ago | IN | 0.06 ETH | 0.02887302 | ||||
| Withdraw Earning... | 13488337 | 1619 days ago | IN | 0 ETH | 0.00341302 | ||||
| Buy | 13478788 | 1620 days ago | IN | 0.06 ETH | 0.00766031 | ||||
| Buy | 13478788 | 1620 days ago | IN | 0.06 ETH | 0.00742714 | ||||
| Buy | 13476242 | 1621 days ago | IN | 0.18 ETH | 0.04104027 | ||||
| Buy | 13475968 | 1621 days ago | IN | 0.12 ETH | 0.02074893 | ||||
| Buy | 13475739 | 1621 days ago | IN | 0.06 ETH | 0.00925741 | ||||
| Buy | 13475693 | 1621 days ago | IN | 0.06 ETH | 0.0102637 | ||||
| Buy | 13475670 | 1621 days ago | IN | 0.06 ETH | 0.00964776 | ||||
| Buy | 13475622 | 1621 days ago | IN | 0.06 ETH | 0.01121239 | ||||
| Buy | 13475607 | 1621 days ago | IN | 0.06 ETH | 0.01105485 | ||||
| Buy | 13475592 | 1621 days ago | IN | 0.06 ETH | 0.0101211 | ||||
| Buy | 13475592 | 1621 days ago | IN | 0.06 ETH | 0.0101211 | ||||
| Buy | 13475585 | 1621 days ago | IN | 0.06 ETH | 0.00963316 | ||||
| Buy | 13475584 | 1621 days ago | IN | 0.06 ETH | 0.00933076 | ||||
| Start Minting | 13475479 | 1621 days ago | IN | 0 ETH | 0.00371792 | ||||
| Stop Minting | 13381010 | 1636 days ago | IN | 0 ETH | 0.00318849 | ||||
| Start Minting | 13380844 | 1636 days ago | IN | 0 ETH | 0.0042324 | ||||
| Giveaways Mint | 13368817 | 1638 days ago | IN | 0 ETH | 0.02376402 |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
MoustacheBabys
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
byzantium EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/**
* Moustache Babys is collection is a collection of 1000 babys on the Ethereum Blockchain.
* Each Baby in our collection is unique.
* WEbsite: https://moustachebabys.com/
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
contract MoustacheBabys is ERC721Enumerable, Ownable, ReentrancyGuard {
using Strings for uint256;
uint256 public totalTokensToMint = 1000;
bool public isMintingActive = false;
bool public instantRevealActive = false;
uint256 public tokenIndex = 0;
uint256 public totalGiveaways = 0;
mapping(uint256 => uint256) public claimedPerID;
uint256 public pricePerNFT = 60000000000000000; //0.06 ETH
string private _baseTokenURI = "https://moustachebabys.com/api/";
string private _contractURI = "ipfs://QmQzbvbg6B7EM4Vs3P7DisJxNkMcB8ydJcnMBKWiT2DgKA";
constructor() ERC721("Moustache Babys", "MB") {}
function buy(uint256 amount) public payable nonReentrant {
require(amount <= 10, "max 10 tokens");
require(amount > 0, "minimum 1 token");
require(amount <= totalTokensToMint - tokenIndex, "greater than max supply");
require(isMintingActive, "minting is not active");
require(pricePerNFT * amount == msg.value, "exact value in ETH needed");
for (uint256 i = 0; i < amount; i++) {
_mintToken(_msgSender());
}
}
function giveawaysMint(uint256 amount, address _to) public onlyOwner {
totalGiveaways = totalGiveaways + amount;
require(amount <= totalTokensToMint - tokenIndex, "amount is greater than the token available");
require(totalGiveaways <= 100, "giveaways is finished");
for (uint256 i = 0; i < amount; i++) {
_mintToken(_to);
}
}
function _mintToken(address _to) private {
tokenIndex++;
require(!_exists(tokenIndex), "Token already exist.");
_safeMint(_to, tokenIndex);
}
function tokensOfOwner(
address _owner,
uint256 _start,
uint256 _limit
) external view returns (uint256[] memory) {
uint256 tokenCount = balanceOf(_owner);
if (tokenCount == 0) {
return new uint256[](0);
} else {
uint256[] memory result = new uint256[](tokenCount);
uint256 index;
for (index = _start; index < _limit; index++) {
result[index] = tokenOfOwnerByIndex(_owner, index);
}
return result;
}
}
function burn(uint256 tokenId) public virtual {
require(_isApprovedOrOwner(_msgSender(), tokenId), "caller is not owner nor approved");
_burn(tokenId);
}
function exists(uint256 _tokenId) external view returns (bool) {
return _exists(_tokenId);
}
function isApprovedOrOwner(address _spender, uint256 _tokenId) external view returns (bool) {
return _isApprovedOrOwner(_spender, _tokenId);
}
function contractURI() public view returns (string memory) {
return _contractURI;
}
//@dev toggle instant Reveal
function stopInstantReveal() external onlyOwner {
instantRevealActive = false;
}
function startInstantReveal() external onlyOwner {
instantRevealActive = true;
}
//toggle minting
function stopMinting() external onlyOwner {
isMintingActive = false;
}
//toggle minting
function startMinting() external onlyOwner {
isMintingActive = true;
}
function tokenURI(uint256 _tokenId) public view override returns (string memory) {
require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token");
return string(abi.encodePacked(_baseTokenURI, _tokenId.toString()));
}
function setBaseURI(string memory newBaseURI) public onlyOwner {
_baseTokenURI = newBaseURI;
}
function setContractURI(string memory newuri) public onlyOwner {
_contractURI = newuri;
}
//used by admin to lower the total supply [only owner]
function lowerTotalSupply(uint256 _newTotalSupply) public onlyOwner {
require(_newTotalSupply < totalTokensToMint, "you can only lower it");
totalTokensToMint = _newTotalSupply;
}
function setPricePerNFT(uint256 _pricePerNFT) public onlyOwner {
pricePerNFT = _pricePerNFT;
}
// [only owner]
function withdrawEarnings() public onlyOwner {
payable(msg.sender).transfer(address(this).balance);
}
// [only owner]
function reclaimERC20(IERC20 erc20Token) public onlyOwner {
erc20Token.transfer(msg.sender, erc20Token.balanceOf(address(this)));
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
assembly {
size := extcodesize(account)
}
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Enumerable is IERC721 {
/**
* @dev Returns the total amount of tokens stored by the contract.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns a token ID owned by `owner` at a given `index` of its token list.
* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);
/**
* @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
* Use along with {totalSupply} to enumerate all tokens.
*/
function tokenByIndex(uint256 index) external view returns (uint256);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../ERC721.sol";
import "./IERC721Enumerable.sol";
/**
* @dev This implements an optional extension of {ERC721} defined in the EIP that adds
* enumerability of all the token ids in the contract as well as all token ids owned by each
* account.
*/
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
// Mapping from owner to list of owned token IDs
mapping(address => mapping(uint256 => uint256)) private _ownedTokens;
// Mapping from token ID to index of the owner tokens list
mapping(uint256 => uint256) private _ownedTokensIndex;
// Array with all token ids, used for enumeration
uint256[] private _allTokens;
// Mapping from token id to position in the allTokens array
mapping(uint256 => uint256) private _allTokensIndex;
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
return _ownedTokens[owner][index];
}
/**
* @dev See {IERC721Enumerable-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _allTokens.length;
}
/**
* @dev See {IERC721Enumerable-tokenByIndex}.
*/
function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
return _allTokens[index];
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual override {
super._beforeTokenTransfer(from, to, tokenId);
if (from == address(0)) {
_addTokenToAllTokensEnumeration(tokenId);
} else if (from != to) {
_removeTokenFromOwnerEnumeration(from, tokenId);
}
if (to == address(0)) {
_removeTokenFromAllTokensEnumeration(tokenId);
} else if (to != from) {
_addTokenToOwnerEnumeration(to, tokenId);
}
}
/**
* @dev Private function to add a token to this extension's ownership-tracking data structures.
* @param to address representing the new owner of the given token ID
* @param tokenId uint256 ID of the token to be added to the tokens list of the given address
*/
function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
uint256 length = ERC721.balanceOf(to);
_ownedTokens[to][length] = tokenId;
_ownedTokensIndex[tokenId] = length;
}
/**
* @dev Private function to add a token to this extension's token tracking data structures.
* @param tokenId uint256 ID of the token to be added to the tokens list
*/
function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
_allTokensIndex[tokenId] = _allTokens.length;
_allTokens.push(tokenId);
}
/**
* @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
* while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
* gas optimizations e.g. when performing a transfer operation (avoiding double writes).
* This has O(1) time complexity, but alters the order of the _ownedTokens array.
* @param from address representing the previous owner of the given token ID
* @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
*/
function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
// To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
uint256 tokenIndex = _ownedTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary
if (tokenIndex != lastTokenIndex) {
uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];
_ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
}
// This also deletes the contents at the last position of the array
delete _ownedTokensIndex[tokenId];
delete _ownedTokens[from][lastTokenIndex];
}
/**
* @dev Private function to remove a token from this extension's token tracking data structures.
* This has O(1) time complexity, but alters the order of the _allTokens array.
* @param tokenId uint256 ID of the token to be removed from the tokens list
*/
function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
// To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = _allTokens.length - 1;
uint256 tokenIndex = _allTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
// rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
// an 'if' statement (like in _removeTokenFromOwnerEnumeration)
uint256 lastTokenId = _allTokens[lastTokenIndex];
_allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
// This also deletes the contents at the last position of the array
delete _allTokensIndex[tokenId];
_allTokens.pop();
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
mapping(uint256 => address) private _owners;
// Mapping owner address to token count
mapping(address => uint256) private _balances;
// Mapping from token ID to approved address
mapping(uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC721).interfaceId ||
interfaceId == type(IERC721Metadata).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
require(owner != address(0), "ERC721: balance query for the zero address");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _owners[tokenId];
require(owner != address(0), "ERC721: owner query for nonexistent token");
return owner;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overriden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(
_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not owner nor approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
require(_exists(tokenId), "ERC721: approved query for nonexistent token");
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
require(operator != _msgSender(), "ERC721: approve to caller");
_operatorApprovals[_msgSender()][operator] = approved;
emit ApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes memory _data
) public virtual override {
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_safeTransfer(from, to, tokenId, _data);
}
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* `_data` is additional data, it has no specified format and it is sent in call to `to`.
*
* This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
* implement alternative mechanisms to perform token transfer, such as signature-based.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeTransfer(
address from,
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_transfer(from, to, tokenId);
require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
* and stop existing when they are burned (`_burn`).
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return _owners[tokenId] != address(0);
}
/**
* @dev Returns whether `spender` is allowed to manage `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
require(_exists(tokenId), "ERC721: operator query for nonexistent token");
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_mint(to, tokenId);
require(
_checkOnERC721Received(address(0), to, tokenId, _data),
"ERC721: transfer to non ERC721Receiver implementer"
);
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
if (to.isContract()) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver.onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721: transfer to non ERC721Receiver implementer");
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and make it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
// On the first call to nonReentrant, _notEntered will be true
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
_;
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_setOwner(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_setOwner(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_setOwner(newOwner);
}
function _setOwner(address newOwner) private {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}{
"remappings": [],
"optimizer": {
"enabled": false,
"runs": 200
},
"evmVersion": "byzantium",
"libraries": {},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":[{"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":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimedPerID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"exists","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":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"giveawaysMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"instantRevealActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"isApprovedOrOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newTotalSupply","type":"uint256"}],"name":"lowerTotalSupply","outputs":[],"stateMutability":"nonpayable","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":"pricePerNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"erc20Token","type":"address"}],"name":"reclaimERC20","outputs":[],"stateMutability":"nonpayable","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":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pricePerNFT","type":"uint256"}],"name":"setPricePerNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startInstantReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopInstantReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopMinting","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":[],"name":"tokenIndex","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":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_start","type":"uint256"},{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalGiveaways","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokensToMint","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":"withdrawEarnings","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040526103e8600c556000600d60006101000a81548160ff0219169083151502179055506000600d60016101000a81548160ff0219169083151502179055506000600e556000600f5566d529ae9e8600006011556040518060400160405280601f81526020017f68747470733a2f2f6d6f7573746163686562616279732e636f6d2f6170692f0081525060129080519060200190620000a292919062000291565b50604051806060016040528060358152602001620055086035913960139080519060200190620000d492919062000291565b50348015620000e257600080fd5b506040518060400160405280600f81526020017f4d6f7573746163686520426162797300000000000000000000000000000000008152506040518060400160405280600281526020017f4d4200000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200016792919062000291565b5080600190805190602001906200018092919062000291565b505050620001b5620001a0620001c3640100000000026401000000009004565b620001cb640100000000026401000000009004565b6001600b81905550620003a6565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200029f9062000341565b90600052602060002090601f016020900481019282620002c357600085556200030f565b82601f10620002de57805160ff19168380011785556200030f565b828001600101855582156200030f579182015b828111156200030e578251825591602001919060010190620002f1565b5b5090506200031e919062000322565b5090565b5b808211156200033d57600081600090555060010162000323565b5090565b600060028204905060018216806200035a57607f821691505b6020821081141562000371576200037062000377565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61515280620003b66000396000f3fe608060405260043610610279576000357c0100000000000000000000000000000000000000000000000000000000900480636d78fb9f11610161578063b73c6ce9116100d3578063cc9f019411610097578063cc9f0194146108ed578063d55f927314610916578063d96a094a14610941578063e8a3d4851461095d578063e985e9c514610988578063f2fde38b146109c557610279565b8063b73c6ce91461080a578063b88d4fde14610821578063b97020481461084a578063c839fe9414610873578063c87b56dd146108b057610279565b80638da5cb5b116101255780638da5cb5b14610720578063938e3d7b1461074b57806395d89b41146107745780639a65ea261461079f578063a22cb465146107b6578063b0fd2cac146107df57610279565b80636d78fb9f1461066357806370a082311461067a578063715018a6146106b757806380a5b5f5146106ce5780638905fd4f146106f757610279565b80633ddaf8a7116101fa5780634f558e79116101be5780634f558e79146105415780634f6ccce71461057e57806355f804b3146105bb5780636352211e146105e457806367ae3296146106215780636ac437b01461063857610279565b80633ddaf8a71461045e5780633e3e0b121461049b57806342842e0e146104b257806342966c68146104db578063430c20811461050457610279565b806318160ddd1161024157806318160ddd1461037757806323b872dd146103a257806326a5b734146103cb5780632f745c59146103f6578063344e9c461461043357610279565b806301ffc9a71461027e5780630628aa70146102bb57806306fdde03146102e6578063081812fc14610311578063095ea7b31461034e575b600080fd5b34801561028a57600080fd5b506102a560048036038101906102a091906138b6565b6109ee565b6040516102b291906140c1565b60405180910390f35b3480156102c757600080fd5b506102d0610a68565b6040516102dd919061449e565b60405180910390f35b3480156102f257600080fd5b506102fb610a6e565b60405161030891906140dc565b60405180910390f35b34801561031d57600080fd5b5061033860048036038101906103339190613986565b610b00565b604051610345919061400f565b60405180910390f35b34801561035a57600080fd5b50610375600480360381019061037091906137f6565b610b85565b005b34801561038357600080fd5b5061038c610c9d565b604051610399919061449e565b60405180910390f35b3480156103ae57600080fd5b506103c960048036038101906103c491906136e0565b610caa565b005b3480156103d757600080fd5b506103e0610d0a565b6040516103ed91906140c1565b60405180910390f35b34801561040257600080fd5b5061041d600480360381019061041891906137f6565b610d1d565b60405161042a919061449e565b60405180910390f35b34801561043f57600080fd5b50610448610dc2565b604051610455919061449e565b60405180910390f35b34801561046a57600080fd5b5061048560048036038101906104809190613986565b610dc8565b604051610492919061449e565b60405180910390f35b3480156104a757600080fd5b506104b0610de0565b005b3480156104be57600080fd5b506104d960048036038101906104d491906136e0565b610e79565b005b3480156104e757600080fd5b5061050260048036038101906104fd9190613986565b610e99565b005b34801561051057600080fd5b5061052b600480360381019061052691906137f6565b610ef5565b60405161053891906140c1565b60405180910390f35b34801561054d57600080fd5b5061056860048036038101906105639190613986565b610f09565b60405161057591906140c1565b60405180910390f35b34801561058a57600080fd5b506105a560048036038101906105a09190613986565b610f1b565b6040516105b2919061449e565b60405180910390f35b3480156105c757600080fd5b506105e260048036038101906105dd919061393d565b610f8c565b005b3480156105f057600080fd5b5061060b60048036038101906106069190613986565b611022565b604051610618919061400f565b60405180910390f35b34801561062d57600080fd5b506106366110d4565b005b34801561064457600080fd5b5061064d61116d565b60405161065a91906140c1565b60405180910390f35b34801561066f57600080fd5b50610678611180565b005b34801561068657600080fd5b506106a1600480360381019061069c9190613673565b611219565b6040516106ae919061449e565b60405180910390f35b3480156106c357600080fd5b506106cc6112d1565b005b3480156106da57600080fd5b506106f560048036038101906106f091906139e0565b611359565b005b34801561070357600080fd5b5061071e60048036038101906107199190613910565b6114ad565b005b34801561072c57600080fd5b5061073561167a565b604051610742919061400f565b60405180910390f35b34801561075757600080fd5b50610772600480360381019061076d919061393d565b6116a4565b005b34801561078057600080fd5b5061078961173a565b60405161079691906140dc565b60405180910390f35b3480156107ab57600080fd5b506107b46117cc565b005b3480156107c257600080fd5b506107dd60048036038101906107d891906137b6565b611865565b005b3480156107eb57600080fd5b506107f46119e6565b604051610801919061449e565b60405180910390f35b34801561081657600080fd5b5061081f6119ec565b005b34801561082d57600080fd5b5061084860048036038101906108439190613733565b611ac8565b005b34801561085657600080fd5b50610871600480360381019061086c9190613986565b611b2a565b005b34801561087f57600080fd5b5061089a60048036038101906108959190613836565b611bf4565b6040516108a7919061409f565b60405180910390f35b3480156108bc57600080fd5b506108d760048036038101906108d29190613986565b611d03565b6040516108e491906140dc565b60405180910390f35b3480156108f957600080fd5b50610914600480360381019061090f9190613986565b611d7f565b005b34801561092257600080fd5b5061092b611e05565b604051610938919061449e565b60405180910390f35b61095b60048036038101906109569190613986565b611e0b565b005b34801561096957600080fd5b5061097261200a565b60405161097f91906140dc565b60405180910390f35b34801561099457600080fd5b506109af60048036038101906109aa91906136a0565b61209c565b6040516109bc91906140c1565b60405180910390f35b3480156109d157600080fd5b506109ec60048036038101906109e79190613673565b612130565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a615750610a6082612228565b5b9050919050565b60115481565b606060008054610a7d906147ae565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa9906147ae565b8015610af65780601f10610acb57610100808354040283529160200191610af6565b820191906000526020600020905b815481529060010190602001808311610ad957829003601f168201915b5050505050905090565b6000610b0b8261230a565b610b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b41906142de565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b9082611022565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf89061439e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c20612376565b73ffffffffffffffffffffffffffffffffffffffff161480610c4f5750610c4e81610c49612376565b61209c565b5b610c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c859061425e565b60405180910390fd5b610c98838361237e565b505050565b6000600880549050905090565b610cbb610cb5612376565b82612437565b610cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf1906143de565b60405180910390fd5b610d05838383612515565b505050565b600d60019054906101000a900460ff1681565b6000610d2883611219565b8210610d69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d60906140fe565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600c5481565b60106020528060005260406000206000915090505481565b610de8612376565b73ffffffffffffffffffffffffffffffffffffffff16610e0661167a565b73ffffffffffffffffffffffffffffffffffffffff1614610e5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e53906142fe565b60405180910390fd5b6000600d60006101000a81548160ff021916908315150217905550565b610e9483838360405180602001604052806000815250611ac8565b505050565b610eaa610ea4612376565b82612437565b610ee9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee09061435e565b60405180910390fd5b610ef281612771565b50565b6000610f018383612437565b905092915050565b6000610f148261230a565b9050919050565b6000610f25610c9d565b8210610f66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5d9061441e565b60405180910390fd5b60088281548110610f7a57610f79614947565b5b90600052602060002001549050919050565b610f94612376565b73ffffffffffffffffffffffffffffffffffffffff16610fb261167a565b73ffffffffffffffffffffffffffffffffffffffff1614611008576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fff906142fe565b60405180910390fd5b806012908051906020019061101e929190613448565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c29061429e565b60405180910390fd5b80915050919050565b6110dc612376565b73ffffffffffffffffffffffffffffffffffffffff166110fa61167a565b73ffffffffffffffffffffffffffffffffffffffff1614611150576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611147906142fe565b60405180910390fd5b6001600d60016101000a81548160ff021916908315150217905550565b600d60009054906101000a900460ff1681565b611188612376565b73ffffffffffffffffffffffffffffffffffffffff166111a661167a565b73ffffffffffffffffffffffffffffffffffffffff16146111fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f3906142fe565b60405180910390fd5b6000600d60016101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561128a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112819061427e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112d9612376565b73ffffffffffffffffffffffffffffffffffffffff166112f761167a565b73ffffffffffffffffffffffffffffffffffffffff161461134d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611344906142fe565b60405180910390fd5b6113576000612882565b565b611361612376565b73ffffffffffffffffffffffffffffffffffffffff1661137f61167a565b73ffffffffffffffffffffffffffffffffffffffff16146113d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cc906142fe565b60405180910390fd5b81600f546113e391906145d1565b600f81905550600e54600c546113f991906146b2565b82111561143b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114329061445e565b60405180910390fd5b6064600f541115611481576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611478906141de565b60405180910390fd5b60005b828110156114a85761149582612948565b80806114a090614811565b915050611484565b505050565b6114b5612376565b73ffffffffffffffffffffffffffffffffffffffff166114d361167a565b73ffffffffffffffffffffffffffffffffffffffff1614611529576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611520906142fe565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040161159b919061400f565b60206040518083038186803b1580156115b357600080fd5b505afa1580156115c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115eb91906139b3565b6040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611624929190614076565b602060405180830381600087803b15801561163e57600080fd5b505af1158015611652573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116769190613889565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116ac612376565b73ffffffffffffffffffffffffffffffffffffffff166116ca61167a565b73ffffffffffffffffffffffffffffffffffffffff1614611720576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611717906142fe565b60405180910390fd5b8060139080519060200190611736929190613448565b5050565b606060018054611749906147ae565b80601f0160208091040260200160405190810160405280929190818152602001828054611775906147ae565b80156117c25780601f10611797576101008083540402835291602001916117c2565b820191906000526020600020905b8154815290600101906020018083116117a557829003601f168201915b5050505050905090565b6117d4612376565b73ffffffffffffffffffffffffffffffffffffffff166117f261167a565b73ffffffffffffffffffffffffffffffffffffffff1614611848576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183f906142fe565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b61186d612376565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d29061421e565b60405180910390fd5b80600560006118e8612376565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611995612376565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119da91906140c1565b60405180910390a35050565b600f5481565b6119f4612376565b73ffffffffffffffffffffffffffffffffffffffff16611a1261167a565b73ffffffffffffffffffffffffffffffffffffffff1614611a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5f906142fe565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050158015611ac5573d6000803e3d6000fd5b50565b611ad9611ad3612376565b83612437565b611b18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0f906143de565b60405180910390fd5b611b24848484846129ba565b50505050565b611b32612376565b73ffffffffffffffffffffffffffffffffffffffff16611b5061167a565b73ffffffffffffffffffffffffffffffffffffffff1614611ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9d906142fe565b60405180910390fd5b600c548110611bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be1906141be565b60405180910390fd5b80600c8190555050565b60606000611c0185611219565b90506000811415611c5e57600067ffffffffffffffff811115611c2757611c26614976565b5b604051908082528060200260200182016040528015611c555781602001602082028036833780820191505090505b50915050611cfc565b60008167ffffffffffffffff811115611c7a57611c79614976565b5b604051908082528060200260200182016040528015611ca85781602001602082028036833780820191505090505b50905060008590505b84811015611cf557611cc38782610d1d565b828281518110611cd657611cd5614947565b5b6020026020010181815250508080611ced90614811565b915050611cb1565b8193505050505b9392505050565b6060611d0e8261230a565b611d4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d449061433e565b60405180910390fd5b6012611d5883612a16565b604051602001611d69929190613feb565b6040516020818303038152906040529050919050565b611d87612376565b73ffffffffffffffffffffffffffffffffffffffff16611da561167a565b73ffffffffffffffffffffffffffffffffffffffff1614611dfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df2906142fe565b60405180910390fd5b8060118190555050565b600e5481565b6002600b541415611e51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e489061443e565b60405180910390fd5b6002600b81905550600a811115611e9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e949061413e565b60405180910390fd5b60008111611ee0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed79061419e565b60405180910390fd5b600e54600c54611ef091906146b2565b811115611f32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f299061437e565b60405180910390fd5b600d60009054906101000a900460ff16611f81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f789061447e565b60405180910390fd5b3481601154611f909190614658565b14611fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc7906143be565b60405180910390fd5b60005b81811015611ffe57611feb611fe6612376565b612948565b8080611ff690614811565b915050611fd3565b506001600b8190555050565b606060138054612019906147ae565b80601f0160208091040260200160405190810160405280929190818152602001828054612045906147ae565b80156120925780601f1061206757610100808354040283529160200191612092565b820191906000526020600020905b81548152906001019060200180831161207557829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612138612376565b73ffffffffffffffffffffffffffffffffffffffff1661215661167a565b73ffffffffffffffffffffffffffffffffffffffff16146121ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a3906142fe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561221c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122139061415e565b60405180910390fd5b61222581612882565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122f357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612303575061230282612b96565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123f183611022565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006124428261230a565b612481576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124789061423e565b60405180910390fd5b600061248c83611022565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806124fb57508373ffffffffffffffffffffffffffffffffffffffff166124e384610b00565b73ffffffffffffffffffffffffffffffffffffffff16145b8061250c575061250b818561209c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661253582611022565b73ffffffffffffffffffffffffffffffffffffffff161461258b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125829061431e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f2906141fe565b60405180910390fd5b612606838383612c00565b61261160008261237e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461266191906146b2565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126b891906145d1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061277c82611022565b905061278a81600084612c00565b61279560008361237e565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127e591906146b2565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600e600081548092919061295b90614811565b919050555061296b600e5461230a565b156129ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a2906143fe565b60405180910390fd5b6129b781600e54612d14565b50565b6129c5848484612515565b6129d184848484612d32565b612a10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a079061411e565b60405180910390fd5b50505050565b60606000821415612a5e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b91565b600082905060005b60008214612a90578080612a7990614811565b915050600a82612a899190614627565b9150612a66565b60008167ffffffffffffffff811115612aac57612aab614976565b5b6040519080825280601f01601f191660200182016040528015612ade5781602001600182028036833780820191505090505b5090505b60008514612b8a57600182612af791906146b2565b9150600a85612b06919061485a565b6030612b1291906145d1565b7f010000000000000000000000000000000000000000000000000000000000000002818381518110612b4757612b46614947565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b839190614627565b9450612ae2565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612c0b838383612f01565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c4e57612c4981612f06565b612c8d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c8c57612c8b8382612f4f565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cd057612ccb816130bc565b612d0f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612d0e57612d0d828261318d565b5b5b505050565b612d2e82826040518060200160405280600081525061320c565b5050565b6000612d538473ffffffffffffffffffffffffffffffffffffffff16613267565b15612ef4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d7c612376565b8786866040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401612dba949392919061402a565b602060405180830381600087803b158015612dd457600080fd5b505af1925050508015612e0557506040513d601f19601f82011682018060405250810190612e0291906138e3565b60015b612e88573d8060008114612e35576040519150601f19603f3d011682016040523d82523d6000602084013e612e3a565b606091505b50600081511415612e80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e779061411e565b60405180910390fd5b805181602001fd5b63150b7a027c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ef9565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612f5c84611219565b612f6691906146b2565b905060006007600084815260200190815260200160002054905081811461304b576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506130d091906146b2565b9050600060096000848152602001908152602001600020549050600060088381548110613100576130ff614947565b5b90600052602060002001549050806008838154811061312257613121614947565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061317157613170614918565b5b6001900381819060005260206000200160009055905550505050565b600061319883611219565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b613216838361327a565b6132236000848484612d32565b613262576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132599061411e565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e1906142be565b60405180910390fd5b6132f38161230a565b15613333576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332a9061417e565b60405180910390fd5b61333f60008383612c00565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461338f91906145d1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054613454906147ae565b90600052602060002090601f01602090048101928261347657600085556134bd565b82601f1061348f57805160ff19168380011785556134bd565b828001600101855582156134bd579182015b828111156134bc5782518255916020019190600101906134a1565b5b5090506134ca91906134ce565b5090565b5b808211156134e75760008160009055506001016134cf565b5090565b60006134fe6134f9846144de565b6144b9565b90508281526020810184848401111561351a576135196149aa565b5b61352584828561476c565b509392505050565b600061354061353b8461450f565b6144b9565b90508281526020810184848401111561355c5761355b6149aa565b5b61356784828561476c565b509392505050565b60008135905061357e816150a9565b92915050565b600081359050613593816150c0565b92915050565b6000815190506135a8816150c0565b92915050565b6000813590506135bd816150d7565b92915050565b6000815190506135d2816150d7565b92915050565b600082601f8301126135ed576135ec6149a5565b5b81356135fd8482602086016134eb565b91505092915050565b600081359050613615816150ee565b92915050565b600082601f8301126136305761362f6149a5565b5b813561364084826020860161352d565b91505092915050565b60008135905061365881615105565b92915050565b60008151905061366d81615105565b92915050565b600060208284031215613689576136886149b4565b5b60006136978482850161356f565b91505092915050565b600080604083850312156136b7576136b66149b4565b5b60006136c58582860161356f565b92505060206136d68582860161356f565b9150509250929050565b6000806000606084860312156136f9576136f86149b4565b5b60006137078682870161356f565b93505060206137188682870161356f565b925050604061372986828701613649565b9150509250925092565b6000806000806080858703121561374d5761374c6149b4565b5b600061375b8782880161356f565b945050602061376c8782880161356f565b935050604061377d87828801613649565b925050606085013567ffffffffffffffff81111561379e5761379d6149af565b5b6137aa878288016135d8565b91505092959194509250565b600080604083850312156137cd576137cc6149b4565b5b60006137db8582860161356f565b92505060206137ec85828601613584565b9150509250929050565b6000806040838503121561380d5761380c6149b4565b5b600061381b8582860161356f565b925050602061382c85828601613649565b9150509250929050565b60008060006060848603121561384f5761384e6149b4565b5b600061385d8682870161356f565b935050602061386e86828701613649565b925050604061387f86828701613649565b9150509250925092565b60006020828403121561389f5761389e6149b4565b5b60006138ad84828501613599565b91505092915050565b6000602082840312156138cc576138cb6149b4565b5b60006138da848285016135ae565b91505092915050565b6000602082840312156138f9576138f86149b4565b5b6000613907848285016135c3565b91505092915050565b600060208284031215613926576139256149b4565b5b600061393484828501613606565b91505092915050565b600060208284031215613953576139526149b4565b5b600082013567ffffffffffffffff811115613971576139706149af565b5b61397d8482850161361b565b91505092915050565b60006020828403121561399c5761399b6149b4565b5b60006139aa84828501613649565b91505092915050565b6000602082840312156139c9576139c86149b4565b5b60006139d78482850161365e565b91505092915050565b600080604083850312156139f7576139f66149b4565b5b6000613a0585828601613649565b9250506020613a168582860161356f565b9150509250929050565b6000613a2c8383613fcd565b60208301905092915050565b613a41816146e6565b82525050565b6000613a5282614565565b613a5c8185614593565b9350613a6783614540565b8060005b83811015613a98578151613a7f8882613a20565b9750613a8a83614586565b925050600181019050613a6b565b5085935050505092915050565b613aae816146f8565b82525050565b6000613abf82614570565b613ac981856145a4565b9350613ad981856020860161477b565b613ae2816149b9565b840191505092915050565b6000613af88261457b565b613b0281856145b5565b9350613b1281856020860161477b565b613b1b816149b9565b840191505092915050565b6000613b318261457b565b613b3b81856145c6565b9350613b4b81856020860161477b565b80840191505092915050565b60008154613b64816147ae565b613b6e81866145c6565b94506001821660008114613b895760018114613b9a57613bcd565b60ff19831686528186019350613bcd565b613ba385614550565b60005b83811015613bc557815481890152600182019150602081019050613ba6565b838801955050505b50505092915050565b6000613be3602b836145b5565b9150613bee826149ca565b604082019050919050565b6000613c066032836145b5565b9150613c1182614a19565b604082019050919050565b6000613c29600d836145b5565b9150613c3482614a68565b602082019050919050565b6000613c4c6026836145b5565b9150613c5782614a91565b604082019050919050565b6000613c6f601c836145b5565b9150613c7a82614ae0565b602082019050919050565b6000613c92600f836145b5565b9150613c9d82614b09565b602082019050919050565b6000613cb56015836145b5565b9150613cc082614b32565b602082019050919050565b6000613cd86015836145b5565b9150613ce382614b5b565b602082019050919050565b6000613cfb6024836145b5565b9150613d0682614b84565b604082019050919050565b6000613d1e6019836145b5565b9150613d2982614bd3565b602082019050919050565b6000613d41602c836145b5565b9150613d4c82614bfc565b604082019050919050565b6000613d646038836145b5565b9150613d6f82614c4b565b604082019050919050565b6000613d87602a836145b5565b9150613d9282614c9a565b604082019050919050565b6000613daa6029836145b5565b9150613db582614ce9565b604082019050919050565b6000613dcd6020836145b5565b9150613dd882614d38565b602082019050919050565b6000613df0602c836145b5565b9150613dfb82614d61565b604082019050919050565b6000613e136020836145b5565b9150613e1e82614db0565b602082019050919050565b6000613e366029836145b5565b9150613e4182614dd9565b604082019050919050565b6000613e59602f836145b5565b9150613e6482614e28565b604082019050919050565b6000613e7c6020836145b5565b9150613e8782614e77565b602082019050919050565b6000613e9f6017836145b5565b9150613eaa82614ea0565b602082019050919050565b6000613ec26021836145b5565b9150613ecd82614ec9565b604082019050919050565b6000613ee56019836145b5565b9150613ef082614f18565b602082019050919050565b6000613f086031836145b5565b9150613f1382614f41565b604082019050919050565b6000613f2b6014836145b5565b9150613f3682614f90565b602082019050919050565b6000613f4e602c836145b5565b9150613f5982614fb9565b604082019050919050565b6000613f71601f836145b5565b9150613f7c82615008565b602082019050919050565b6000613f94602a836145b5565b9150613f9f82615031565b604082019050919050565b6000613fb76015836145b5565b9150613fc282615080565b602082019050919050565b613fd681614762565b82525050565b613fe581614762565b82525050565b6000613ff78285613b57565b91506140038284613b26565b91508190509392505050565b60006020820190506140246000830184613a38565b92915050565b600060808201905061403f6000830187613a38565b61404c6020830186613a38565b6140596040830185613fdc565b818103606083015261406b8184613ab4565b905095945050505050565b600060408201905061408b6000830185613a38565b6140986020830184613fdc565b9392505050565b600060208201905081810360008301526140b98184613a47565b905092915050565b60006020820190506140d66000830184613aa5565b92915050565b600060208201905081810360008301526140f68184613aed565b905092915050565b6000602082019050818103600083015261411781613bd6565b9050919050565b6000602082019050818103600083015261413781613bf9565b9050919050565b6000602082019050818103600083015261415781613c1c565b9050919050565b6000602082019050818103600083015261417781613c3f565b9050919050565b6000602082019050818103600083015261419781613c62565b9050919050565b600060208201905081810360008301526141b781613c85565b9050919050565b600060208201905081810360008301526141d781613ca8565b9050919050565b600060208201905081810360008301526141f781613ccb565b9050919050565b6000602082019050818103600083015261421781613cee565b9050919050565b6000602082019050818103600083015261423781613d11565b9050919050565b6000602082019050818103600083015261425781613d34565b9050919050565b6000602082019050818103600083015261427781613d57565b9050919050565b6000602082019050818103600083015261429781613d7a565b9050919050565b600060208201905081810360008301526142b781613d9d565b9050919050565b600060208201905081810360008301526142d781613dc0565b9050919050565b600060208201905081810360008301526142f781613de3565b9050919050565b6000602082019050818103600083015261431781613e06565b9050919050565b6000602082019050818103600083015261433781613e29565b9050919050565b6000602082019050818103600083015261435781613e4c565b9050919050565b6000602082019050818103600083015261437781613e6f565b9050919050565b6000602082019050818103600083015261439781613e92565b9050919050565b600060208201905081810360008301526143b781613eb5565b9050919050565b600060208201905081810360008301526143d781613ed8565b9050919050565b600060208201905081810360008301526143f781613efb565b9050919050565b6000602082019050818103600083015261441781613f1e565b9050919050565b6000602082019050818103600083015261443781613f41565b9050919050565b6000602082019050818103600083015261445781613f64565b9050919050565b6000602082019050818103600083015261447781613f87565b9050919050565b6000602082019050818103600083015261449781613faa565b9050919050565b60006020820190506144b36000830184613fdc565b92915050565b60006144c36144d4565b90506144cf82826147e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156144f9576144f8614976565b5b614502826149b9565b9050602081019050919050565b600067ffffffffffffffff82111561452a57614529614976565b5b614533826149b9565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006145dc82614762565b91506145e783614762565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561461c5761461b61488b565b5b828201905092915050565b600061463282614762565b915061463d83614762565b92508261464d5761464c6148ba565b5b828204905092915050565b600061466382614762565b915061466e83614762565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156146a7576146a661488b565b5b828202905092915050565b60006146bd82614762565b91506146c883614762565b9250828210156146db576146da61488b565b5b828203905092915050565b60006146f182614742565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061473b826146e6565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561479957808201518184015260208101905061477e565b838111156147a8576000848401525b50505050565b600060028204905060018216806147c657607f821691505b602082108114156147da576147d96148e9565b5b50919050565b6147e9826149b9565b810181811067ffffffffffffffff8211171561480857614807614976565b5b80604052505050565b600061481c82614762565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561484f5761484e61488b565b5b600182019050919050565b600061486582614762565b915061487083614762565b9250826148805761487f6148ba565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f6d617820313020746f6b656e7300000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f6d696e696d756d203120746f6b656e0000000000000000000000000000000000600082015250565b7f796f752063616e206f6e6c79206c6f7765722069740000000000000000000000600082015250565b7f6769766561776179732069732066696e69736865640000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f63616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564600082015250565b7f67726561746572207468616e206d617820737570706c79000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f65786163742076616c756520696e20455448206e656564656400000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f546f6b656e20616c72656164792065786973742e000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f616d6f756e742069732067726561746572207468616e2074686520746f6b656e60008201527f20617661696c61626c6500000000000000000000000000000000000000000000602082015250565b7f6d696e74696e67206973206e6f74206163746976650000000000000000000000600082015250565b6150b2816146e6565b81146150bd57600080fd5b50565b6150c9816146f8565b81146150d457600080fd5b50565b6150e081614704565b81146150eb57600080fd5b50565b6150f781614730565b811461510257600080fd5b50565b61510e81614762565b811461511957600080fd5b5056fea2646970667358221220249180b09c96ee526514646211439c5361623f3fbfb8946546c4eac972970cfe64736f6c63430008070033697066733a2f2f516d517a62766267364237454d3456733350374469734a784e6b4d63423879644a636e4d424b5769543244674b41
Deployed Bytecode
0x608060405260043610610279576000357c0100000000000000000000000000000000000000000000000000000000900480636d78fb9f11610161578063b73c6ce9116100d3578063cc9f019411610097578063cc9f0194146108ed578063d55f927314610916578063d96a094a14610941578063e8a3d4851461095d578063e985e9c514610988578063f2fde38b146109c557610279565b8063b73c6ce91461080a578063b88d4fde14610821578063b97020481461084a578063c839fe9414610873578063c87b56dd146108b057610279565b80638da5cb5b116101255780638da5cb5b14610720578063938e3d7b1461074b57806395d89b41146107745780639a65ea261461079f578063a22cb465146107b6578063b0fd2cac146107df57610279565b80636d78fb9f1461066357806370a082311461067a578063715018a6146106b757806380a5b5f5146106ce5780638905fd4f146106f757610279565b80633ddaf8a7116101fa5780634f558e79116101be5780634f558e79146105415780634f6ccce71461057e57806355f804b3146105bb5780636352211e146105e457806367ae3296146106215780636ac437b01461063857610279565b80633ddaf8a71461045e5780633e3e0b121461049b57806342842e0e146104b257806342966c68146104db578063430c20811461050457610279565b806318160ddd1161024157806318160ddd1461037757806323b872dd146103a257806326a5b734146103cb5780632f745c59146103f6578063344e9c461461043357610279565b806301ffc9a71461027e5780630628aa70146102bb57806306fdde03146102e6578063081812fc14610311578063095ea7b31461034e575b600080fd5b34801561028a57600080fd5b506102a560048036038101906102a091906138b6565b6109ee565b6040516102b291906140c1565b60405180910390f35b3480156102c757600080fd5b506102d0610a68565b6040516102dd919061449e565b60405180910390f35b3480156102f257600080fd5b506102fb610a6e565b60405161030891906140dc565b60405180910390f35b34801561031d57600080fd5b5061033860048036038101906103339190613986565b610b00565b604051610345919061400f565b60405180910390f35b34801561035a57600080fd5b50610375600480360381019061037091906137f6565b610b85565b005b34801561038357600080fd5b5061038c610c9d565b604051610399919061449e565b60405180910390f35b3480156103ae57600080fd5b506103c960048036038101906103c491906136e0565b610caa565b005b3480156103d757600080fd5b506103e0610d0a565b6040516103ed91906140c1565b60405180910390f35b34801561040257600080fd5b5061041d600480360381019061041891906137f6565b610d1d565b60405161042a919061449e565b60405180910390f35b34801561043f57600080fd5b50610448610dc2565b604051610455919061449e565b60405180910390f35b34801561046a57600080fd5b5061048560048036038101906104809190613986565b610dc8565b604051610492919061449e565b60405180910390f35b3480156104a757600080fd5b506104b0610de0565b005b3480156104be57600080fd5b506104d960048036038101906104d491906136e0565b610e79565b005b3480156104e757600080fd5b5061050260048036038101906104fd9190613986565b610e99565b005b34801561051057600080fd5b5061052b600480360381019061052691906137f6565b610ef5565b60405161053891906140c1565b60405180910390f35b34801561054d57600080fd5b5061056860048036038101906105639190613986565b610f09565b60405161057591906140c1565b60405180910390f35b34801561058a57600080fd5b506105a560048036038101906105a09190613986565b610f1b565b6040516105b2919061449e565b60405180910390f35b3480156105c757600080fd5b506105e260048036038101906105dd919061393d565b610f8c565b005b3480156105f057600080fd5b5061060b60048036038101906106069190613986565b611022565b604051610618919061400f565b60405180910390f35b34801561062d57600080fd5b506106366110d4565b005b34801561064457600080fd5b5061064d61116d565b60405161065a91906140c1565b60405180910390f35b34801561066f57600080fd5b50610678611180565b005b34801561068657600080fd5b506106a1600480360381019061069c9190613673565b611219565b6040516106ae919061449e565b60405180910390f35b3480156106c357600080fd5b506106cc6112d1565b005b3480156106da57600080fd5b506106f560048036038101906106f091906139e0565b611359565b005b34801561070357600080fd5b5061071e60048036038101906107199190613910565b6114ad565b005b34801561072c57600080fd5b5061073561167a565b604051610742919061400f565b60405180910390f35b34801561075757600080fd5b50610772600480360381019061076d919061393d565b6116a4565b005b34801561078057600080fd5b5061078961173a565b60405161079691906140dc565b60405180910390f35b3480156107ab57600080fd5b506107b46117cc565b005b3480156107c257600080fd5b506107dd60048036038101906107d891906137b6565b611865565b005b3480156107eb57600080fd5b506107f46119e6565b604051610801919061449e565b60405180910390f35b34801561081657600080fd5b5061081f6119ec565b005b34801561082d57600080fd5b5061084860048036038101906108439190613733565b611ac8565b005b34801561085657600080fd5b50610871600480360381019061086c9190613986565b611b2a565b005b34801561087f57600080fd5b5061089a60048036038101906108959190613836565b611bf4565b6040516108a7919061409f565b60405180910390f35b3480156108bc57600080fd5b506108d760048036038101906108d29190613986565b611d03565b6040516108e491906140dc565b60405180910390f35b3480156108f957600080fd5b50610914600480360381019061090f9190613986565b611d7f565b005b34801561092257600080fd5b5061092b611e05565b604051610938919061449e565b60405180910390f35b61095b60048036038101906109569190613986565b611e0b565b005b34801561096957600080fd5b5061097261200a565b60405161097f91906140dc565b60405180910390f35b34801561099457600080fd5b506109af60048036038101906109aa91906136a0565b61209c565b6040516109bc91906140c1565b60405180910390f35b3480156109d157600080fd5b506109ec60048036038101906109e79190613673565b612130565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a615750610a6082612228565b5b9050919050565b60115481565b606060008054610a7d906147ae565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa9906147ae565b8015610af65780601f10610acb57610100808354040283529160200191610af6565b820191906000526020600020905b815481529060010190602001808311610ad957829003601f168201915b5050505050905090565b6000610b0b8261230a565b610b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b41906142de565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b9082611022565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf89061439e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c20612376565b73ffffffffffffffffffffffffffffffffffffffff161480610c4f5750610c4e81610c49612376565b61209c565b5b610c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c859061425e565b60405180910390fd5b610c98838361237e565b505050565b6000600880549050905090565b610cbb610cb5612376565b82612437565b610cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf1906143de565b60405180910390fd5b610d05838383612515565b505050565b600d60019054906101000a900460ff1681565b6000610d2883611219565b8210610d69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d60906140fe565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600c5481565b60106020528060005260406000206000915090505481565b610de8612376565b73ffffffffffffffffffffffffffffffffffffffff16610e0661167a565b73ffffffffffffffffffffffffffffffffffffffff1614610e5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e53906142fe565b60405180910390fd5b6000600d60006101000a81548160ff021916908315150217905550565b610e9483838360405180602001604052806000815250611ac8565b505050565b610eaa610ea4612376565b82612437565b610ee9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee09061435e565b60405180910390fd5b610ef281612771565b50565b6000610f018383612437565b905092915050565b6000610f148261230a565b9050919050565b6000610f25610c9d565b8210610f66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5d9061441e565b60405180910390fd5b60088281548110610f7a57610f79614947565b5b90600052602060002001549050919050565b610f94612376565b73ffffffffffffffffffffffffffffffffffffffff16610fb261167a565b73ffffffffffffffffffffffffffffffffffffffff1614611008576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fff906142fe565b60405180910390fd5b806012908051906020019061101e929190613448565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c29061429e565b60405180910390fd5b80915050919050565b6110dc612376565b73ffffffffffffffffffffffffffffffffffffffff166110fa61167a565b73ffffffffffffffffffffffffffffffffffffffff1614611150576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611147906142fe565b60405180910390fd5b6001600d60016101000a81548160ff021916908315150217905550565b600d60009054906101000a900460ff1681565b611188612376565b73ffffffffffffffffffffffffffffffffffffffff166111a661167a565b73ffffffffffffffffffffffffffffffffffffffff16146111fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f3906142fe565b60405180910390fd5b6000600d60016101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561128a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112819061427e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112d9612376565b73ffffffffffffffffffffffffffffffffffffffff166112f761167a565b73ffffffffffffffffffffffffffffffffffffffff161461134d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611344906142fe565b60405180910390fd5b6113576000612882565b565b611361612376565b73ffffffffffffffffffffffffffffffffffffffff1661137f61167a565b73ffffffffffffffffffffffffffffffffffffffff16146113d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cc906142fe565b60405180910390fd5b81600f546113e391906145d1565b600f81905550600e54600c546113f991906146b2565b82111561143b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114329061445e565b60405180910390fd5b6064600f541115611481576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611478906141de565b60405180910390fd5b60005b828110156114a85761149582612948565b80806114a090614811565b915050611484565b505050565b6114b5612376565b73ffffffffffffffffffffffffffffffffffffffff166114d361167a565b73ffffffffffffffffffffffffffffffffffffffff1614611529576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611520906142fe565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040161159b919061400f565b60206040518083038186803b1580156115b357600080fd5b505afa1580156115c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115eb91906139b3565b6040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611624929190614076565b602060405180830381600087803b15801561163e57600080fd5b505af1158015611652573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116769190613889565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116ac612376565b73ffffffffffffffffffffffffffffffffffffffff166116ca61167a565b73ffffffffffffffffffffffffffffffffffffffff1614611720576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611717906142fe565b60405180910390fd5b8060139080519060200190611736929190613448565b5050565b606060018054611749906147ae565b80601f0160208091040260200160405190810160405280929190818152602001828054611775906147ae565b80156117c25780601f10611797576101008083540402835291602001916117c2565b820191906000526020600020905b8154815290600101906020018083116117a557829003601f168201915b5050505050905090565b6117d4612376565b73ffffffffffffffffffffffffffffffffffffffff166117f261167a565b73ffffffffffffffffffffffffffffffffffffffff1614611848576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183f906142fe565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b61186d612376565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d29061421e565b60405180910390fd5b80600560006118e8612376565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611995612376565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119da91906140c1565b60405180910390a35050565b600f5481565b6119f4612376565b73ffffffffffffffffffffffffffffffffffffffff16611a1261167a565b73ffffffffffffffffffffffffffffffffffffffff1614611a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5f906142fe565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050158015611ac5573d6000803e3d6000fd5b50565b611ad9611ad3612376565b83612437565b611b18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0f906143de565b60405180910390fd5b611b24848484846129ba565b50505050565b611b32612376565b73ffffffffffffffffffffffffffffffffffffffff16611b5061167a565b73ffffffffffffffffffffffffffffffffffffffff1614611ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9d906142fe565b60405180910390fd5b600c548110611bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be1906141be565b60405180910390fd5b80600c8190555050565b60606000611c0185611219565b90506000811415611c5e57600067ffffffffffffffff811115611c2757611c26614976565b5b604051908082528060200260200182016040528015611c555781602001602082028036833780820191505090505b50915050611cfc565b60008167ffffffffffffffff811115611c7a57611c79614976565b5b604051908082528060200260200182016040528015611ca85781602001602082028036833780820191505090505b50905060008590505b84811015611cf557611cc38782610d1d565b828281518110611cd657611cd5614947565b5b6020026020010181815250508080611ced90614811565b915050611cb1565b8193505050505b9392505050565b6060611d0e8261230a565b611d4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d449061433e565b60405180910390fd5b6012611d5883612a16565b604051602001611d69929190613feb565b6040516020818303038152906040529050919050565b611d87612376565b73ffffffffffffffffffffffffffffffffffffffff16611da561167a565b73ffffffffffffffffffffffffffffffffffffffff1614611dfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df2906142fe565b60405180910390fd5b8060118190555050565b600e5481565b6002600b541415611e51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e489061443e565b60405180910390fd5b6002600b81905550600a811115611e9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e949061413e565b60405180910390fd5b60008111611ee0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed79061419e565b60405180910390fd5b600e54600c54611ef091906146b2565b811115611f32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f299061437e565b60405180910390fd5b600d60009054906101000a900460ff16611f81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f789061447e565b60405180910390fd5b3481601154611f909190614658565b14611fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc7906143be565b60405180910390fd5b60005b81811015611ffe57611feb611fe6612376565b612948565b8080611ff690614811565b915050611fd3565b506001600b8190555050565b606060138054612019906147ae565b80601f0160208091040260200160405190810160405280929190818152602001828054612045906147ae565b80156120925780601f1061206757610100808354040283529160200191612092565b820191906000526020600020905b81548152906001019060200180831161207557829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612138612376565b73ffffffffffffffffffffffffffffffffffffffff1661215661167a565b73ffffffffffffffffffffffffffffffffffffffff16146121ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a3906142fe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561221c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122139061415e565b60405180910390fd5b61222581612882565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122f357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612303575061230282612b96565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123f183611022565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006124428261230a565b612481576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124789061423e565b60405180910390fd5b600061248c83611022565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806124fb57508373ffffffffffffffffffffffffffffffffffffffff166124e384610b00565b73ffffffffffffffffffffffffffffffffffffffff16145b8061250c575061250b818561209c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661253582611022565b73ffffffffffffffffffffffffffffffffffffffff161461258b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125829061431e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f2906141fe565b60405180910390fd5b612606838383612c00565b61261160008261237e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461266191906146b2565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126b891906145d1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061277c82611022565b905061278a81600084612c00565b61279560008361237e565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127e591906146b2565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600e600081548092919061295b90614811565b919050555061296b600e5461230a565b156129ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a2906143fe565b60405180910390fd5b6129b781600e54612d14565b50565b6129c5848484612515565b6129d184848484612d32565b612a10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a079061411e565b60405180910390fd5b50505050565b60606000821415612a5e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b91565b600082905060005b60008214612a90578080612a7990614811565b915050600a82612a899190614627565b9150612a66565b60008167ffffffffffffffff811115612aac57612aab614976565b5b6040519080825280601f01601f191660200182016040528015612ade5781602001600182028036833780820191505090505b5090505b60008514612b8a57600182612af791906146b2565b9150600a85612b06919061485a565b6030612b1291906145d1565b7f010000000000000000000000000000000000000000000000000000000000000002818381518110612b4757612b46614947565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b839190614627565b9450612ae2565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612c0b838383612f01565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c4e57612c4981612f06565b612c8d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c8c57612c8b8382612f4f565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cd057612ccb816130bc565b612d0f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612d0e57612d0d828261318d565b5b5b505050565b612d2e82826040518060200160405280600081525061320c565b5050565b6000612d538473ffffffffffffffffffffffffffffffffffffffff16613267565b15612ef4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d7c612376565b8786866040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401612dba949392919061402a565b602060405180830381600087803b158015612dd457600080fd5b505af1925050508015612e0557506040513d601f19601f82011682018060405250810190612e0291906138e3565b60015b612e88573d8060008114612e35576040519150601f19603f3d011682016040523d82523d6000602084013e612e3a565b606091505b50600081511415612e80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e779061411e565b60405180910390fd5b805181602001fd5b63150b7a027c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ef9565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612f5c84611219565b612f6691906146b2565b905060006007600084815260200190815260200160002054905081811461304b576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506130d091906146b2565b9050600060096000848152602001908152602001600020549050600060088381548110613100576130ff614947565b5b90600052602060002001549050806008838154811061312257613121614947565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061317157613170614918565b5b6001900381819060005260206000200160009055905550505050565b600061319883611219565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b613216838361327a565b6132236000848484612d32565b613262576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132599061411e565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e1906142be565b60405180910390fd5b6132f38161230a565b15613333576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332a9061417e565b60405180910390fd5b61333f60008383612c00565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461338f91906145d1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054613454906147ae565b90600052602060002090601f01602090048101928261347657600085556134bd565b82601f1061348f57805160ff19168380011785556134bd565b828001600101855582156134bd579182015b828111156134bc5782518255916020019190600101906134a1565b5b5090506134ca91906134ce565b5090565b5b808211156134e75760008160009055506001016134cf565b5090565b60006134fe6134f9846144de565b6144b9565b90508281526020810184848401111561351a576135196149aa565b5b61352584828561476c565b509392505050565b600061354061353b8461450f565b6144b9565b90508281526020810184848401111561355c5761355b6149aa565b5b61356784828561476c565b509392505050565b60008135905061357e816150a9565b92915050565b600081359050613593816150c0565b92915050565b6000815190506135a8816150c0565b92915050565b6000813590506135bd816150d7565b92915050565b6000815190506135d2816150d7565b92915050565b600082601f8301126135ed576135ec6149a5565b5b81356135fd8482602086016134eb565b91505092915050565b600081359050613615816150ee565b92915050565b600082601f8301126136305761362f6149a5565b5b813561364084826020860161352d565b91505092915050565b60008135905061365881615105565b92915050565b60008151905061366d81615105565b92915050565b600060208284031215613689576136886149b4565b5b60006136978482850161356f565b91505092915050565b600080604083850312156136b7576136b66149b4565b5b60006136c58582860161356f565b92505060206136d68582860161356f565b9150509250929050565b6000806000606084860312156136f9576136f86149b4565b5b60006137078682870161356f565b93505060206137188682870161356f565b925050604061372986828701613649565b9150509250925092565b6000806000806080858703121561374d5761374c6149b4565b5b600061375b8782880161356f565b945050602061376c8782880161356f565b935050604061377d87828801613649565b925050606085013567ffffffffffffffff81111561379e5761379d6149af565b5b6137aa878288016135d8565b91505092959194509250565b600080604083850312156137cd576137cc6149b4565b5b60006137db8582860161356f565b92505060206137ec85828601613584565b9150509250929050565b6000806040838503121561380d5761380c6149b4565b5b600061381b8582860161356f565b925050602061382c85828601613649565b9150509250929050565b60008060006060848603121561384f5761384e6149b4565b5b600061385d8682870161356f565b935050602061386e86828701613649565b925050604061387f86828701613649565b9150509250925092565b60006020828403121561389f5761389e6149b4565b5b60006138ad84828501613599565b91505092915050565b6000602082840312156138cc576138cb6149b4565b5b60006138da848285016135ae565b91505092915050565b6000602082840312156138f9576138f86149b4565b5b6000613907848285016135c3565b91505092915050565b600060208284031215613926576139256149b4565b5b600061393484828501613606565b91505092915050565b600060208284031215613953576139526149b4565b5b600082013567ffffffffffffffff811115613971576139706149af565b5b61397d8482850161361b565b91505092915050565b60006020828403121561399c5761399b6149b4565b5b60006139aa84828501613649565b91505092915050565b6000602082840312156139c9576139c86149b4565b5b60006139d78482850161365e565b91505092915050565b600080604083850312156139f7576139f66149b4565b5b6000613a0585828601613649565b9250506020613a168582860161356f565b9150509250929050565b6000613a2c8383613fcd565b60208301905092915050565b613a41816146e6565b82525050565b6000613a5282614565565b613a5c8185614593565b9350613a6783614540565b8060005b83811015613a98578151613a7f8882613a20565b9750613a8a83614586565b925050600181019050613a6b565b5085935050505092915050565b613aae816146f8565b82525050565b6000613abf82614570565b613ac981856145a4565b9350613ad981856020860161477b565b613ae2816149b9565b840191505092915050565b6000613af88261457b565b613b0281856145b5565b9350613b1281856020860161477b565b613b1b816149b9565b840191505092915050565b6000613b318261457b565b613b3b81856145c6565b9350613b4b81856020860161477b565b80840191505092915050565b60008154613b64816147ae565b613b6e81866145c6565b94506001821660008114613b895760018114613b9a57613bcd565b60ff19831686528186019350613bcd565b613ba385614550565b60005b83811015613bc557815481890152600182019150602081019050613ba6565b838801955050505b50505092915050565b6000613be3602b836145b5565b9150613bee826149ca565b604082019050919050565b6000613c066032836145b5565b9150613c1182614a19565b604082019050919050565b6000613c29600d836145b5565b9150613c3482614a68565b602082019050919050565b6000613c4c6026836145b5565b9150613c5782614a91565b604082019050919050565b6000613c6f601c836145b5565b9150613c7a82614ae0565b602082019050919050565b6000613c92600f836145b5565b9150613c9d82614b09565b602082019050919050565b6000613cb56015836145b5565b9150613cc082614b32565b602082019050919050565b6000613cd86015836145b5565b9150613ce382614b5b565b602082019050919050565b6000613cfb6024836145b5565b9150613d0682614b84565b604082019050919050565b6000613d1e6019836145b5565b9150613d2982614bd3565b602082019050919050565b6000613d41602c836145b5565b9150613d4c82614bfc565b604082019050919050565b6000613d646038836145b5565b9150613d6f82614c4b565b604082019050919050565b6000613d87602a836145b5565b9150613d9282614c9a565b604082019050919050565b6000613daa6029836145b5565b9150613db582614ce9565b604082019050919050565b6000613dcd6020836145b5565b9150613dd882614d38565b602082019050919050565b6000613df0602c836145b5565b9150613dfb82614d61565b604082019050919050565b6000613e136020836145b5565b9150613e1e82614db0565b602082019050919050565b6000613e366029836145b5565b9150613e4182614dd9565b604082019050919050565b6000613e59602f836145b5565b9150613e6482614e28565b604082019050919050565b6000613e7c6020836145b5565b9150613e8782614e77565b602082019050919050565b6000613e9f6017836145b5565b9150613eaa82614ea0565b602082019050919050565b6000613ec26021836145b5565b9150613ecd82614ec9565b604082019050919050565b6000613ee56019836145b5565b9150613ef082614f18565b602082019050919050565b6000613f086031836145b5565b9150613f1382614f41565b604082019050919050565b6000613f2b6014836145b5565b9150613f3682614f90565b602082019050919050565b6000613f4e602c836145b5565b9150613f5982614fb9565b604082019050919050565b6000613f71601f836145b5565b9150613f7c82615008565b602082019050919050565b6000613f94602a836145b5565b9150613f9f82615031565b604082019050919050565b6000613fb76015836145b5565b9150613fc282615080565b602082019050919050565b613fd681614762565b82525050565b613fe581614762565b82525050565b6000613ff78285613b57565b91506140038284613b26565b91508190509392505050565b60006020820190506140246000830184613a38565b92915050565b600060808201905061403f6000830187613a38565b61404c6020830186613a38565b6140596040830185613fdc565b818103606083015261406b8184613ab4565b905095945050505050565b600060408201905061408b6000830185613a38565b6140986020830184613fdc565b9392505050565b600060208201905081810360008301526140b98184613a47565b905092915050565b60006020820190506140d66000830184613aa5565b92915050565b600060208201905081810360008301526140f68184613aed565b905092915050565b6000602082019050818103600083015261411781613bd6565b9050919050565b6000602082019050818103600083015261413781613bf9565b9050919050565b6000602082019050818103600083015261415781613c1c565b9050919050565b6000602082019050818103600083015261417781613c3f565b9050919050565b6000602082019050818103600083015261419781613c62565b9050919050565b600060208201905081810360008301526141b781613c85565b9050919050565b600060208201905081810360008301526141d781613ca8565b9050919050565b600060208201905081810360008301526141f781613ccb565b9050919050565b6000602082019050818103600083015261421781613cee565b9050919050565b6000602082019050818103600083015261423781613d11565b9050919050565b6000602082019050818103600083015261425781613d34565b9050919050565b6000602082019050818103600083015261427781613d57565b9050919050565b6000602082019050818103600083015261429781613d7a565b9050919050565b600060208201905081810360008301526142b781613d9d565b9050919050565b600060208201905081810360008301526142d781613dc0565b9050919050565b600060208201905081810360008301526142f781613de3565b9050919050565b6000602082019050818103600083015261431781613e06565b9050919050565b6000602082019050818103600083015261433781613e29565b9050919050565b6000602082019050818103600083015261435781613e4c565b9050919050565b6000602082019050818103600083015261437781613e6f565b9050919050565b6000602082019050818103600083015261439781613e92565b9050919050565b600060208201905081810360008301526143b781613eb5565b9050919050565b600060208201905081810360008301526143d781613ed8565b9050919050565b600060208201905081810360008301526143f781613efb565b9050919050565b6000602082019050818103600083015261441781613f1e565b9050919050565b6000602082019050818103600083015261443781613f41565b9050919050565b6000602082019050818103600083015261445781613f64565b9050919050565b6000602082019050818103600083015261447781613f87565b9050919050565b6000602082019050818103600083015261449781613faa565b9050919050565b60006020820190506144b36000830184613fdc565b92915050565b60006144c36144d4565b90506144cf82826147e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156144f9576144f8614976565b5b614502826149b9565b9050602081019050919050565b600067ffffffffffffffff82111561452a57614529614976565b5b614533826149b9565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006145dc82614762565b91506145e783614762565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561461c5761461b61488b565b5b828201905092915050565b600061463282614762565b915061463d83614762565b92508261464d5761464c6148ba565b5b828204905092915050565b600061466382614762565b915061466e83614762565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156146a7576146a661488b565b5b828202905092915050565b60006146bd82614762565b91506146c883614762565b9250828210156146db576146da61488b565b5b828203905092915050565b60006146f182614742565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061473b826146e6565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561479957808201518184015260208101905061477e565b838111156147a8576000848401525b50505050565b600060028204905060018216806147c657607f821691505b602082108114156147da576147d96148e9565b5b50919050565b6147e9826149b9565b810181811067ffffffffffffffff8211171561480857614807614976565b5b80604052505050565b600061481c82614762565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561484f5761484e61488b565b5b600182019050919050565b600061486582614762565b915061487083614762565b9250826148805761487f6148ba565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f6d617820313020746f6b656e7300000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f6d696e696d756d203120746f6b656e0000000000000000000000000000000000600082015250565b7f796f752063616e206f6e6c79206c6f7765722069740000000000000000000000600082015250565b7f6769766561776179732069732066696e69736865640000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f63616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564600082015250565b7f67726561746572207468616e206d617820737570706c79000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f65786163742076616c756520696e20455448206e656564656400000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f546f6b656e20616c72656164792065786973742e000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f616d6f756e742069732067726561746572207468616e2074686520746f6b656e60008201527f20617661696c61626c6500000000000000000000000000000000000000000000602082015250565b7f6d696e74696e67206973206e6f74206163746976650000000000000000000000600082015250565b6150b2816146e6565b81146150bd57600080fd5b50565b6150c9816146f8565b81146150d457600080fd5b50565b6150e081614704565b81146150eb57600080fd5b50565b6150f781614730565b811461510257600080fd5b50565b61510e81614762565b811461511957600080fd5b5056fea2646970667358221220249180b09c96ee526514646211439c5361623f3fbfb8946546c4eac972970cfe64736f6c63430008070033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
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.